Skip to content

fix(storybook): update devtools toolbar for storybook 7#14179

Merged
kodiakhq[bot] merged 3 commits into
carbon-design-system:mainfrom
janhassel:storybook7-toolbar-fix
Jul 11, 2023
Merged

fix(storybook): update devtools toolbar for storybook 7#14179
kodiakhq[bot] merged 3 commits into
carbon-design-system:mainfrom
janhassel:storybook7-toolbar-fix

Conversation

@janhassel

Copy link
Copy Markdown
Member

With the update to Storybook 7, the items in the development version of the storybook aren't rendering properly anymore due to API changes.
image

This PR updates the dev toolbar items to use the storybook 7 API.

Testing / Reviewing

In the development version of the react storybook, the two items "unstable__Layout size" and "unstable__Layout density" should appear correctly.
image

As before, in the built storybook these items should remain hidden.

@janhassel janhassel requested a review from a team as a code owner July 11, 2023 08:04
@netlify

netlify Bot commented Jul 11, 2023

Copy link
Copy Markdown

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f23cfbb
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/64ad87f15e10d600082ce718
😎 Deploy Preview https://deploy-preview-14179--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify

netlify Bot commented Jul 11, 2023

Copy link
Copy Markdown

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit f23cfbb
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/64ad87f118d77c000812976c
😎 Deploy Preview https://deploy-preview-14179--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@francinelucca francinelucca left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@kodiakhq kodiakhq Bot merged commit a72388e into carbon-design-system:main Jul 11, 2023
@janhassel janhassel deleted the storybook7-toolbar-fix branch July 12, 2023 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants