-
Notifications
You must be signed in to change notification settings - Fork 120
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
Convert all stories to CSF #971
Conversation
60ebece
to
d35b2eb
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.
LGTM
d35b2eb
to
5ae747e
Compare
Codecov Report
@@ Coverage Diff @@
## master #971 +/- ##
==========================================
- Coverage 91.74% 91.33% -0.41%
==========================================
Files 78 78
Lines 1345 1351 +6
Branches 269 269
==========================================
Hits 1234 1234
- Misses 90 96 +6
Partials 21 21
Continue to review full report at Codecov.
|
5ae747e
to
6c56d36
Compare
6c56d36
to
8090f81
Compare
This PR is prep for #970 to make it easier to review. Long story short, the easiest way to add support for TypeScript in the
core
package requires upgrading to Storybook 6 because it provides zero-config TS support. In order to do that, we need to remove usages of the deprecated@storybook/addon-info
, and we do that by replacing those usages withparameters.docs.description.component
in the default export for CSF story files. Obviously, this requires refactoring all stories to CSF, hence this PR.This PR does not upgrade to SB6, it's just prep and will not change any functionality. The docs pages of all stories are still broken.
rush change