-
Notifications
You must be signed in to change notification settings - Fork 80
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(IconButton): Adjust IconButton size. Deprecate size="large"
and children
#2576
Conversation
🦋 Changeset detectedLatest commit: 78e7607 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@maxcheremisin In the preview the two sizes are the same. Otherwise this is good to go from my point of view. |
size-limit report 📦
|
21cd4f8
to
8000fc9
Compare
@maxcheremisin In the preview the two sizes are the same. Otherwise this is good to go from my point of view. I didn't touch this part. The Icon is smaller on the second row. But now I changed this example to preview the small IconButton (not only the Icon itself) |
8000fc9
to
a0f8159
Compare
Can i still produce large buttons with icons? or is this considered a breaking change? |
Since it only picks the Yeah, just tried it on the storybook of this branch: https://5fd1dda724cc620021ace8c5-jktwsdgcgl.chromatic.com/?path=/story/components-button-iconbutton--basic&args=variant:secondary;size:large |
Gonna be a breaking change in the next major release. For now it works the same way as @massao mentioned. |
a0f8159
to
78e7607
Compare
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.
Looking good 👍
Purpose of PR
Before:
After: