-
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: migrate Heading to TypeScript #594
Conversation
BREAKING CHANGE: The Heading component doesn't export sizes anymore. Instead of writing `size={Heading.GIGA}`, write `size="giga"`. feature/typescript-heading
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/sumup-oss/circuit-ui/h0ishrl20 |
Hey @robinmetral, Thanks! |
Codecov Report
@@ Coverage Diff @@
## alpha #594 +/- ##
==========================================
- Coverage 94.24% 94.22% -0.03%
==========================================
Files 137 137
Lines 2191 2183 -8
Branches 621 622 +1
==========================================
- Hits 2065 2057 -8
Misses 103 103
Partials 23 23
|
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.
Awesome! 💯
feature/typescript-heading
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.
Merge it! 🚀
🎉 This PR is included in version 2.0.0-alpha.20 🎉 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 📦🚀 |
Addresses #516.
Purpose
Migrate the
Heading
component to TypeScript.Approach and changes
Heading.GIGA
). Thesize
prop now expects a union of (lowercased) size strings. Instead of writingsize={Heading.GIGA}
, one would now writesize="giga"
.Definition of done