Open thyhmdo opened 2 months ago
2024/10/02
Badge
badge
prop/slot to componentscount
prop of type number
, because the text should be limited to a numberchildren
needed@carbon/styles
will have a new style file/module for Badgepadding
is an example of anticipated "global" style that would be broadly applicable to any component we eventually add support forcontent
from js and content
isn't included in the accessibility tree (won't be read by screenreaders)+
will need to happen in js because text-overflow: <string>
browser support is too slim to take a css approach.@carbon/react
and @carbon/web-components
Estimate is for the creation of the indicator component only. Implementation in other components (notification, treeview, etc) can be tracked in separate issues for those efforts.
Initial support will be buttons only? It should only apply to Ghost icon button.
Storybook implementation
Badge indicator spec