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
It seems that not all parts of Storybook are using the new icons, so the browser console gets many deprecation warnings when older icons are being used such as:
When using addon-interactions and accessing a story that contains a play function. The addon interactions panel seems to be using old icons (check, play).
Scenario 2:
When creating your own toolbar (from official docs), you can define icons via their name like so:
constpreview={//... other properties,globalTypes: {theme: {name: 'Theme',description: 'Theme for the components',defaultValue: 'light',toolbar: {icon: 'circlehollow',items: [{value: 'light',icon: 'circlehollow',title: 'light'},{value: 'dark',icon: 'circle',title: 'dark'},{value: 'side-by-side',icon: 'sidebar',title: 'side by side'},],},},},};exportdefaultpreview;
When clicking on the newly created toolbar button, you will get as many warnings as the amount of icons you create:
Tempted to make this a beta blocker if we can squeeze it in. It's an easy fix and will reduce the noise, allowing us and users to flag other error/warning messages more easily @vanessayuenn
Describe the bug
Project: MealDrop
Version: 8.0.0-alpha.14
Bug/feedback:
It seems that not all parts of Storybook are using the new icons, so the browser console gets many deprecation warnings when older icons are being used such as:
Scenario 1:
When using addon-interactions and accessing a story that contains a play function. The addon interactions panel seems to be using old icons (check, play).
Scenario 2:
When creating your own toolbar (from official docs), you can define icons via their name like so:
When clicking on the newly created toolbar button, you will get as many warnings as the amount of icons you create:
To Reproduce
2.1 Open the
Page - Logged In
story2.2 Click on the circle toolbar
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: