-
Notifications
You must be signed in to change notification settings - Fork 130
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(components): polish Button components #605
Conversation
The previous default Button style matches the new secondary variant most, so to avoid a breaking change, I've made it the default variant.
feature/polish-v2
To our knowledge, this size was never used. In order to reduce the API surface, we're removing it. BREAKING CHANGE: The Button's `giga` size has been removed. Use the `mega` size (default) instead.
feature/polish-button
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/sumup-oss/circuit-ui/98mxwx7xz |
feature/polish-button
Codecov Report
@@ Coverage Diff @@
## alpha #605 +/- ##
==========================================
- Coverage 94.26% 94.26% -0.01%
==========================================
Files 136 136
Lines 2198 2196 -2
Branches 631 631
==========================================
- Hits 2072 2070 -2
Misses 103 103
Partials 23 23
|
feature/polish-button
🎉 This PR is included in version 2.0.0-alpha.23 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.0.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Purpose
These changes are an outcome of my conversation with Giao-Chung. The changes reduce the component API surface and make the default styles more consistent.
Approach and changes
secondary
: The previous default Button style matches the newsecondary
variant most, so to avoid a breaking change, I've made it the default variant.giga
size: To our knowledge, this size was never used. In order to reduce the API surface, we're removing it.Definition of done