-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
chore: TypeScript <Label /> #10494
chore: TypeScript <Label /> #10494
Conversation
I believe I've fixed last test... if this gets merged in, remind me to open another PR and use the new |
Codecov Report
@@ Coverage Diff @@
## master #10494 +/- ##
==========================================
- Coverage 63.64% 59.44% -4.21%
==========================================
Files 764 766 +2
Lines 36165 36180 +15
Branches 3438 3441 +3
==========================================
- Hits 23019 21507 -1512
- Misses 13033 14482 +1449
- Partials 113 191 +78
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Ugh... this python pre-commit hook is failing on a random text file. I'm fixing it in this in #10515 |
🏷 storybook |
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.
Up to you if you wanna get the Emotion stuff in, or leave it for a subsequent PR, but this thing seems to be workin' for now.
I was just working with labels and wanted to make some tweaks. Having this in place would make it easy to add more variants |
Default: 'default', | ||
danger: 'danger', | ||
warning: 'warning', | ||
cuccess: 'success', |
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.
cuccess: 'success', | |
success: 'success', |
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.
well that wasn't a success
* chore: TypeScript <Label /> * rebase * chore: TypeScript <Label /> * rebase * A bunch o' test fixes. One more to go! * helper for mountying Emotional components with Enzyme * asf license * fixed last test, some linting * improve the storybook * Adressing comments Co-authored-by: Evan Rusackas <evan@preset.io>
* chore: TypeScript <Label /> * rebase * chore: TypeScript <Label /> * rebase * A bunch o' test fixes. One more to go! * helper for mountying Emotional components with Enzyme * asf license * fixed last test, some linting * improve the storybook * Adressing comments Co-authored-by: Evan Rusackas <evan@preset.io>
Tried @rusackas 's approach of bringing a react-bootstrap component in Storybook just for fun.
One thought is around the fact that labels are used in controls, and that it calls for eventually having to refactor components into its own package that other packages can depend on.