Skip to content
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

fix: update storybook addons import for Storybook 7.0 #160

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Aug 8, 2022

In Storybook 7.0, the export from @storybook/addons changed to only contain names exports.
The change in this PR is backwards compatible with 6.5, but necessary in Storybook 7.0, else the addon will not be registered.

@pocka
Copy link
Collaborator

pocka commented Aug 8, 2022

Is this compatible with SB v6.4 as well? I can change the minimum supported SB version because I forgot to make storybook-addon-design@v7 stable, but I'd like to support a broad range of versions if possible.

EDIT: I'll merge this PR anyway, of course!

@yannbf
Copy link
Member Author

yannbf commented Aug 8, 2022

Is this compatible with SB v6.4 as well? I can change the minimum supported SB version because I forgot to make storybook-addon-design@v7 stable, but I'd like to support a broad range of versions if possible.

EDIT: I'll merge this PR anyway, of course!

Yes it is compatible!

@pocka pocka merged commit f51ea24 into storybookjs:master Sep 2, 2022
@pocka
Copy link
Collaborator

pocka commented Oct 18, 2022

v7.0.0-alpha.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants