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
{{ message }}
Repository navigation
Commit 94e19e2
Browse filesBrowse the repository at this point in the historyBrowse files
| data-role | string \| undefined | No |||| Identifier used for testing purposes, applied to the root element of the component. ||
48
47
| aria-label | string \| undefined | No |||| Prop to specify an aria-label for the component ||
49
48
| boxShadow | BoxShadowsType \| undefined | No | boxShadow100 \| boxShadow150 \| boxShadow200 \| boxShadow300 \| boxShadow400 \| boxShadow010 \| boxShadow050 \| boxShadow075 \| boxShadow090 \| boxShadow091 | Yes | Design token for custom Box Shadow. Note: please check that the box shadow design token you are using is compatible with the Card component. |||
49
+
| draggable | boolean \| undefined | No || Yes | The `draggable` props is deprecated, place Card inside a DraggableItem instead. Flag to indicate if card is draggable |||
50
50
| hoverBoxShadow | BoxShadowsType \| undefined | No | boxShadow100 \| boxShadow150 \| boxShadow200 \| boxShadow300 \| boxShadow400 \| boxShadow010 \| boxShadow050 \| boxShadow075 \| boxShadow090 \| boxShadow091 | Yes | Design token for custom Box Shadow on hover. One of `onClick` or `href` props must be true. Note: please check that the box shadow design token you are using is compatible with the Card component. |||
Copy file name to clipboardExpand all lines: skills/carbon-react/components/list-item.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@ You can use the `as` prop on Typography to inherit list styling while using Typo
68
68
| wordWrap | string \| undefined | No |||| Override the word-wrap ||
69
69
| data-element | string \| undefined | No |||| Identifier used for testing purposes, applied to the root element of the component. ||
70
70
| data-role | string \| undefined | No |||| Identifier used for testing purposes, applied to the root element of the component. ||
71
+
| aria-atomic | (boolean \| "true" \| "false") \| undefined | No |||| Whether assistive technologies announce the entire live region when it changes. ||
71
72
| aria-live | "off" \| "assertive" \| "polite" \| undefined | No | off \| assertive \| polite ||| Make the element an aria-live region ||
72
73
| backgroundColor | string \| undefined | No || Yes | This prop no longer has any effect. This prop will eventually be removed. Override the backgroundColor style |||
73
74
| bg | string \| undefined | No || Yes | This prop no longer has any effect. This prop will eventually be removed. Override the bg value shorthand for backgroundColor |||
Copy file name to clipboardExpand all lines: skills/carbon-react/components/list.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,7 @@ Example migration:
89
89
| wordWrap | string \| undefined | No |||| Override the word-wrap ||
90
90
| data-element | string \| undefined | No |||| Identifier used for testing purposes, applied to the root element of the component. ||
91
91
| data-role | string \| undefined | No |||| Identifier used for testing purposes, applied to the root element of the component. ||
92
+
| aria-atomic | (boolean \| "true" \| "false") \| undefined | No |||| Whether assistive technologies announce the entire live region when it changes. ||
92
93
| aria-live | "off" \| "assertive" \| "polite" \| undefined | No | off \| assertive \| polite ||| Make the element an aria-live region ||
93
94
| backgroundColor | string \| undefined | No || Yes | This prop no longer has any effect. This prop will eventually be removed. Override the backgroundColor style |||
94
95
| bg | string \| undefined | No || Yes | This prop no longer has any effect. This prop will eventually be removed. Override the bg value shorthand for backgroundColor |||
| pt | ResponsiveValue<TVal, ThemeType> \| undefined | No |||| Padding on top ||
48
48
| px | ResponsiveValue<TVal, ThemeType> \| undefined | No |||| Padding on left and right ||
49
49
| py | ResponsiveValue<TVal, ThemeType> \| undefined | No |||| Padding on top and bottom ||
50
+
| rightChildren | React.ReactNode | No |||| Content displayed opposite the drag handle when inside a DraggableItem. Use this slot for controls that let users reorder items without dragging. ||
50
51
| roundness | Roundness \| LegacyRoundness \| undefined | No | small \| large \| default \| moderate \| curved ||| Sets the level of roundness of the corners. Values can be `"curved"` or `"moderate"`. **Deprecated**: legacy values `"default"`, `"large"`, and `"small"` are deprecated and should not be used. | "curved" |
51
52
| statusKeyline | string \| undefined | No |||| Sets the status keyline to indicate the status of the content within the tile ||
52
53
| variant | TileVariants \| DeprecatedTileVariants \| undefined | No | standard \| alt \| transparent \| grey \| negative \| positive \| tile \| unavailable \| active ||| Sets the theme of the tile | "standard" |
0 commit comments