-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pcss7 storybook test #325
Closed
Closed
Pcss7 storybook test #325
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…h reverted postcss version
…n storybook preview.js
…o react components and update jest.config
…r, followed dir pattern from foundation-forms
… imports into components
…css for browser.Only convert when ran on build using cli
…ve package-lock file
…CI error. Relates to storybook depencies for postcss beign out of date postcss8 and webpack5 causing build failures in storybook. Known issue with storybook that's being worked on
…components, switch className prop to quoteLarge variant with tests and css
I'm going to add a few more updates. Will close this and reopen later. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Storybook and react additions
What we've done:
babel.config.js
for react buildscomponent-template
package to help start new react components.component-blockquote
, includes a react component, styles and jest tests.To test:
Start the storybook app
confirm working with stories at
localhost:6006
NOTES:
Storybook react 6.1 > 6.2 has had known issues around its dependencies.
This has caused issues with builds for storybook when using packages like
postcss v8
in your own projects that use storybook. As a temporary measure, we've downgraded the postcss version to 7, until an official patch has been released.Issues and discussions from storybook:
UPDATE: Storybook are currently on beta release of 6.2. With some updates and a additional addon
@storybook/addon-postcss
. We're now able to build without error.I've set up a branch to help track beta to production release here : https://github.com/coopdigital/coop-frontend/tree/storybook-beta-with-postcss8