You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Motivation
As suggested by @peterpeterparker in
#686 (review),
we add a prefix to all the default values of test IDs, to avoid possible
conflicts with the consumers.
|`role`| The semantic role that will be rendered in the DOM when using this component. |`button` or `checkbox``undefined`|`undefined`|
26
-
|`ariaLabel`| An accessible label for the card. |`string` or `undefined`|`undefined`|
27
-
|`selected`| Display the surface as `selected`. Useful if used as a on/off call to action. |`boolean`|`false`|
28
-
|`disabled`| Disable clickable events. |`boolean` or `undefined`|`undefined`|
29
-
|`testId`| Add a `data-tid` attribute to the DOM, useful for test purpose. |`string`|`card`|
30
-
|`theme`| Display a particular theme for surface of the card. |`highlighted` or `transparent` or `framed` or `undefined`|`undefined`|
31
-
|`icon`| Render an icon / call to action next within the card on the right side. |`expand` or `check` or `undefined`|`undefined`|
32
-
|`href`| If the card is intended to function as a link, you can use this property to specify the URL of the linked resource. |`string` or `undefined`|`undefined`|
33
-
|`noPadding`| Remove the default padding inside the card. Useful to catch onhover event with CSS from the content. |`boolean`|`false`|
|`role`| The semantic role that will be rendered in the DOM when using this component. |`button` or `checkbox``undefined`|`undefined`|
26
+
|`ariaLabel`| An accessible label for the card. |`string` or `undefined`|`undefined`|
27
+
|`selected`| Display the surface as `selected`. Useful if used as a on/off call to action. |`boolean`|`false`|
28
+
|`disabled`| Disable clickable events. |`boolean` or `undefined`|`undefined`|
29
+
|`testId`| Add a `data-tid` attribute to the DOM, useful for test purpose. |`string`|`gix-cmp-card`|
30
+
|`theme`| Display a particular theme for surface of the card. |`highlighted` or `transparent` or `framed` or `undefined`|`undefined`|
31
+
|`icon`| Render an icon / call to action next within the card on the right side. |`expand` or `check` or `undefined`|`undefined`|
32
+
|`href`| If the card is intended to function as a link, you can use this property to specify the URL of the linked resource. |`string` or `undefined`|`undefined`|
33
+
|`noPadding`| Remove the default padding inside the card. Useful to catch onhover event with CSS from the content. |`boolean`|`false`|
0 commit comments