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

Add project initialGlobals & component/story globals, deprecate project globals #92

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

shilman
Copy link
Contributor

@shilman shilman commented Jun 3, 2024

CSF updates to implement Story globals per storybookjs/storybook#23347 (comment)

  • Add preview.js initialGlobals to replace globals
  • Deprecate preview.js globals
  • Add globals to component/story annotations
📦 Published PR as canary version: 0.1.8--canary.92.6fb63cd.0

✨ Test out this PR locally via:

npm install @storybook/[email protected]
# or 
yarn add @storybook/[email protected]

Version

Published prerelease version: v0.1.8-next.0

Changelog

🐛 Bug Fix

  • Add project initialGlobals & component/story globals, deprecate project globals #92 (@shilman)

Authors: 1

@shilman shilman changed the title Add project initialGlobals and deprecate globals Deprecate project globals, add project initialGlobals & component/story globals Jun 3, 2024
@shilman shilman changed the title Deprecate project globals, add project initialGlobals & component/story globals Add project initialGlobals & component/story globals, deprecate project globals Jun 3, 2024
@shilman shilman added enhancement New feature or request patch Increment the patch version when merged labels Jun 3, 2024
@shilman shilman merged commit fa77c25 into next Jun 3, 2024
2 checks passed
@shilman shilman deleted the shilman/initial-globals branch June 3, 2024 09:46
@shilman
Copy link
Contributor Author

shilman commented Jun 3, 2024

🚀 PR was released in v0.1.8 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request patch Increment the patch version when merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants