Skip to content

Commit

Permalink
feat: Requires Storybook@>=6.4
Browse files Browse the repository at this point in the history
#120

To mitigate a deprecation for importing sub directory
(`addon-docs/blocks`). While that import is available from SB@6.3,
shape of `DocsContext` is changed at SB@6.4. Technically we can detect
the shape by checking property, but I decided to drop support SB@6.3 for
simplicity.

BREAKING CHANGE: Projects using SB@6.0<=x<6.4 needs to upgrade SB
version.
  • Loading branch information
pocka committed Jun 14, 2022
1 parent d722371 commit 605f751
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ A [Storybook](https://github.com/storybooks/storybook) addon that embed Figma or

## Requirements

- Storybook@>=6.0.0
- Storybook@>=6.4.0

This addon should work well with any framework: If you find the case the addon not works, please open an issue.

Expand Down
10 changes: 5 additions & 5 deletions packages/storybook-addon-designs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
"typescript": "^4.7.3"
},
"peerDependencies": {
"@storybook/addon-docs": "^6.0.0",
"@storybook/addons": "^6.0.0",
"@storybook/api": "^6.0.0",
"@storybook/components": "^6.0.0",
"@storybook/theming": "^6.0.0"
"@storybook/addon-docs": "^6.4.0",
"@storybook/addons": "^6.4.0",
"@storybook/api": "^6.4.0",
"@storybook/components": "^6.4.0",
"@storybook/theming": "^6.4.0"
},
"scripts": {
"dev": "tsc --watch --preserveWatchOutput",
Expand Down

0 comments on commit 605f751

Please sign in to comment.