hipstersmoothie / storybook-dark-mode

A storybook addon that lets your users toggle between dark and light mode.
MIT License
428 stars 56 forks source link

fix: switch to @storybook/manager-api #246

Closed stevensacks closed 7 months ago

stevensacks commented 8 months ago

Updates the addon to use @storybook/manager-api.

Currently, if you use composeStory from @storybook/react, you get spam in the logs when you run unit tests. The same output for every single story that is imported. It's really bad.

Please merge this.

importing from @storybook/api is deprecated and will be removed in 8.0, please import manager related modules from @storybook/manager-api

stderr | unknown test
importing from @storybook/api is deprecated and will be removed in 8.0, please import manager related modules from @storybook/manager-api

stderr | unknown test
importing from @storybook/api is deprecated and will be removed in 8.0, please import manager related modules from @storybook/manager-api

stderr | unknown test
importing from @storybook/api is deprecated and will be removed in 8.0, please import manager related modules from @storybook/manager-api

stderr | unknown test
importing from @storybook/api is deprecated and will be removed in 8.0, please import manager related modules from @storybook/manager-api

stderr | unknown test
importing from @storybook/api is deprecated and will be removed in 8.0, please import manager related modules from @storybook/manager-api

stderr | unknown test
importing from @storybook/api is deprecated and will be removed in 8.0, please import manager related modules from @storybook/manager-api

stderr | unknown test
importing from @storybook/api is deprecated and will be removed in 8.0, please import manager related modules from @storybook/manager-api

stderr | unknown test
importing from @storybook/api is deprecated and will be removed in 8.0, please import manager related modules from @storybook/manager-api

stderr | unknown test
importing from @storybook/api is deprecated and will be removed in 8.0, please import manager related modules from @storybook/manager-api
stevensacks commented 8 months ago

Will resolve https://github.com/hipstersmoothie/storybook-dark-mode/issues/244

github-actions[bot] commented 7 months ago

:rocket: PR was released in v3.0.3 :rocket: