chromaui / storybook-addon-pseudo-states

CSS pseudo-classes for Storybook
MIT License
88 stars 28 forks source link

Breaking Chakra on storybook 7 build #63

Open wladpaiva opened 1 year ago

wladpaiva commented 1 year ago

If you install this plugin with the @next to support storybook 7, the components that rely on chakra stop rendering correctly after build-storybook.

I've created a reproduction repo https://github.com/wladiston/chakra-sb7-bug-repro

Just execute storybook dev mod and build + preview to see the differences. If you comment the line that adds storybook-addon-pseudo-states on main.ts you will git it built correctly.