-
Notifications
You must be signed in to change notification settings - Fork 10
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(Badge): deprecate some props and new UpdateBadge and StatusBadge components #1258
Conversation
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.
Good job 👍
I left some minor comments and also have a suggestion to group the default badge files in the storybook as well - in the similar style as StatusBadge and UpdateBadge. So the Badge title probably should be smth like this: title: 'Components/Badge/Badge',
&--3XS { | ||
@include size(4px); | ||
|
||
border-width: 1px; |
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'd suggest including border-width into the size mixin and make it as a second parameter
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.
👍
Resolves: #1232
Description
Changes in
Badge
component:kind
-secondary
is deprecated (added information)size
-large
is deprecated (added information)type
-dot
is deprecated (added information)Added new
UpdateBadge
andStatusBadge
components with stories related to theBadge
component.Storybook
https://feature-1232--613a8e945a5665003a05113b.chromatic.com
Checklist
Obligatory: