Fix issues #222 , #117 . Does not include Style Library CSS updates.
Updates to Storybook version 8 and brings all other dependencies up to their most current versions. Changes include:
Remove Babel - a new storybook webpack5 compiler is being used now (SWC)
Replace the deprecated @storybook/preset-scss with @storybook/addon-styling-webpack to handle our Sass color variable :export that is used in the Colors story.
Remove stylelint-a11y because it was not supported by stylelint version above v13, and wasn't doing much for us anyway.
Other changes:
Remove font weight 800 from typography story, because we don't use it.
Fix minimap story bug that wasn't displaying different minimap widths correctly.
Add attribution to sass-boilerplate repo in our readme
Update test syntax
I also checked out Chromatic as a way to do visual regression testing in Storybook (since it is now supported by Storybook 8), but we determined it wasn't that useful currently for our Storybook use - visual regression in specific sites, as we do with BackstopJS, is more helpful for our use cases.
Fix issues #222 , #117 . Does not include Style Library CSS updates.
Updates to Storybook version 8 and brings all other dependencies up to their most current versions. Changes include:
Update to Sass 1.77.8, supported by updating to Stylelint 16.9.0 (along with updated stylelint configs):
Other changes:
I also checked out Chromatic as a way to do visual regression testing in Storybook (since it is now supported by Storybook 8), but we determined it wasn't that useful currently for our Storybook use - visual regression in specific sites, as we do with BackstopJS, is more helpful for our use cases.