-
Notifications
You must be signed in to change notification settings - Fork 129
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): migrate Text to TypeScript #581
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/sumup-oss/circuit-ui/ho8s60jpz |
Codecov Report
@@ Coverage Diff @@
## feature/typescript-jest #581 +/- ##
===========================================================
- Coverage 93.42% 93.37% -0.05%
===========================================================
Files 151 152 +1
Lines 2433 2431 -2
Branches 682 683 +1
===========================================================
- Hits 2273 2270 -3
- Misses 132 133 +1
Partials 28 28
|
* test(configs): fix Jest config for TypeScript feature/typescript-jest feature/typescript-jest * docs: update test command feature/typescript-jest
feature/typescript-text
feature/typescript-text
feature/typescript-text feature/typescript-text
3b90057
to
3d2b9f3
Compare
🎉 This PR is included in version 2.0.0-alpha.13 🎉 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
I was testing #580 using the Text component.
Approach and changes
styled
instance to type thetheme
as described in the Emotion docsText.KILO
,Text.MEGA
,Text.GIGA
) since they're no longer needed with TypeScript and I couldn't figure out how to add types for themDefinition of done