You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've tried upgrading the our Storybook version from 6.5.16 to 7 using the npx storybook@next upgrade --prerelease command. We have a custom written addon that uses the ColorControl component to display a colorpicker as follows:
After upgrading to Storybook 7, however, I get the error that this ColorControl component isn't exported from @storybook/components. Exact error message:
'No matching export in "global-externals:@storybook/components" for import "ColorControl"'
To Reproduce
https://github.com/Danielvandervelden/storybook-issue
(Obviously can't deploy on Chromatic because of this issue)
In Storybook 7.0, components like ColorControl, ColorPalette, ArgsTable, ArgRow, TabbedArgsTable, SectionRow, Source, Code were moved into a new package. In Storybook 7.0, they should be imported from @storybook/blocks instead. Please give it a try!
Describe the bug
We've tried upgrading the our Storybook version from 6.5.16 to 7 using the
npx storybook@next upgrade --prerelease
command. We have a custom written addon that uses theColorControl
component to display a colorpicker as follows:After upgrading to Storybook 7, however, I get the error that this
ColorControl
component isn't exported from@storybook/components
. Exact error message:'No matching export in "global-externals:@storybook/components" for import "ColorControl"'
To Reproduce
https://github.com/Danielvandervelden/storybook-issue (Obviously can't deploy on Chromatic because of this issue)
System
Additional context
Repo with issue (simply checkout,
yarn install
andyarn storybook
to see the error)https://github.com/Danielvandervelden/storybook-issue
No response
The text was updated successfully, but these errors were encountered: