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

Remove deprecated decorators and loaders #9951

Merged

Conversation

jonspalmer
Copy link
Contributor

What I did

Removed a bunch of legacy deprecated code


export const decorators = [withA11Y];
export const decorators = [withA11y];
Copy link
Contributor Author

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...

@jonspalmer jonspalmer mentioned this pull request Feb 25, 2020
@jonspalmer jonspalmer added this to the 6.0.0 milestone Feb 25, 2020
@@ -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
Copy link
Member

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.

Copy link
Member

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

@shilman shilman modified the milestones: 6.0.0, 6.0 breaking changes Mar 10, 2020
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM! ❤️

@shilman shilman merged commit a209fc2 into storybookjs:next Mar 12, 2020
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