-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Remove deprecated decorators and loaders #9951
Remove deprecated decorators and loaders #9951
Conversation
|
||
export const decorators = [withA11Y]; | ||
export const decorators = [withA11y]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made me giggle that the preset was using the deprecated version...
@@ -750,6 +763,25 @@ Furthermore, the decorator `checkA11y` has been deprecated and renamed to `withA | |||
|
|||
See the [a11y addon README](https://github.com/storybookjs/storybook/blob/master/addons/a11y/README.md) for more information. | |||
|
|||
### Addon centered decorator deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a parameter called layout
and it and 1 of it's possible values is center
.
This automatically centers the component.
It also supports fullscreen
and padded
.
I think we could drop addon-centered entirely in 6.0.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, let's please move it to the deprecated addons repo, pretty please 🙏
We can merge this first and follow up separately: #10118
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! ❤️
What I did
Removed a bunch of legacy deprecated code