-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(tagset): support for size on overflow tag #6065
feat(tagset): support for size on overflow tag #6065
Conversation
✅ Deploy Preview for carbon-for-ibm-products ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have 1 small code comment and 1 small request. can you include this change in a story to demonstrate the functionality?
@@ -124,6 +124,8 @@ $block-class-modal: #{$_block-class}-modal; | |||
} | |||
|
|||
.#{$block-class-overflow}__popover-trigger { | |||
/* stylelint-disable-next-line declaration-no-important */ | |||
border: none !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird. i don't see this change showing up in the deploy preview. what is this doing? just curious because of the important
usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @davidmenendez,
The OperationalTag
from Carbon has a default border, so I have added this override to match our design.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ba29c09
Closes #5923
adds support to add sizes on overflow tag, and changes the
TagSetOverflow
to useOperationalTag
.now the overflow tag takes the size of the last tag. if the size is not passed to the the tags, it will default to
md
What did you change?
packages/ibm-products/src/components/TagSet/TagSet.tsx
packages/ibm-products/src/components/TagSet/TagSetOverflow.tsx
How did you test and verify your work?
storybook