diff --git a/.circleci/config.yml b/.circleci/config.yml
index 590f6ba9a71f..ba7d9e3e5397 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -701,22 +701,22 @@ workflows:
requires:
- build
- create-sandboxes:
- parallelism: 30
+ parallelism: 31
requires:
- build
# - smoke-test-sandboxes: # disabled for now
# requires:
# - create-sandboxes
- build-sandboxes:
- parallelism: 30
+ parallelism: 31
requires:
- create-sandboxes
- chromatic-sandboxes:
- parallelism: 30
+ parallelism: 31
requires:
- build-sandboxes
- e2e-production:
- parallelism: 30
+ parallelism: 31
requires:
- build-sandboxes
- e2e-dev:
@@ -724,7 +724,7 @@ workflows:
requires:
- create-sandboxes
- test-runner-production:
- parallelism: 30
+ parallelism: 31
requires:
- build-sandboxes
# TODO: reenable once we find out the source of flakyness
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index a7422347a2be..f19ff982f638 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -19,18 +19,17 @@ body:
attributes:
label: To Reproduce
description: >-
- Please create a reproduction by running `npx sb@next sandbox` and
+ Please create a reproduction using [storybook.new](https://storybook.new), or by running `npx sb@next sandbox` and
following the instructions. Read our
[documentation](https://storybook.js.org/docs/react/contribute/how-to-reproduce)
to learn more about creating reproductions.
placeholder: >-
- Paste your repository and deployed reproduction here. We prioritize
- issues with reproductions over those without.
+ Paste a link to your reproduction here. We prioritize issues with reproductions over those without.
- type: textarea
id: system
attributes:
label: System
- description: Please paste the results of `npx sb@next info` here.
+ description: Please paste the results of `npx storybook@latest info` here.
render: shell
- type: textarea
id: context
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bea818f9392b..f6327ac323e9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,31 @@
+## 7.1.0-alpha.0 (April 5, 2023)
+
+#### Bug Fixes
+
+- Angular: Fix components disappearing on docs page on property change [#21944](https://github.com/storybooks/storybook/pull/21944)
+- React: Don't show decorators in JSX snippets [#21907](https://github.com/storybooks/storybook/pull/21907)
+- Docs: Include decorators by default in source decorators [#21902](https://github.com/storybooks/storybook/pull/21902)
+- CLI: Fix npm list command [#21947](https://github.com/storybooks/storybook/pull/21947)
+- Core: Revert Emotion `:first-child` (etc) workarounds [#21213](https://github.com/storybooks/storybook/pull/21213)
+- Addon-actions: Fix non-included type file [#21922](https://github.com/storybooks/storybook/pull/21922)
+- Addon GFM: Fix node-logger dependency [#21938](https://github.com/storybooks/storybook/pull/21938)
+
+#### Build
+
+- Build: Update trigger circle ci workflow to include main [#21888](https://github.com/storybooks/storybook/pull/21888)
+- Build: Update dangerfile temporarily to check for patch label [#21945](https://github.com/storybooks/storybook/pull/21945)
+- Build: Re-enable Vue2 Vite sandbox [#21940](https://github.com/storybooks/storybook/pull/21940)
+- Build: Fix release badge on repros [#21923](https://github.com/storybooks/storybook/pull/21923)
+- Build: fix the workflows to generate sandboxes [#21912](https://github.com/storybooks/storybook/pull/21912)
+- Build: bump the node version in CI [#21917](https://github.com/storybooks/storybook/pull/21917)
+- Build: no `pnp.cjs` in the root, regen lockfiles [#21908](https://github.com/storybooks/storybook/pull/21908)
+- Build: remove pnp sandbox template [#21913](https://github.com/storybooks/storybook/pull/21913)
+- Build: make the CI config ready for 7.0 release [#21808](https://github.com/storybooks/storybook/pull/21808)
+
+#### Dependency Upgrades
+
+- Update `@emotion/cache` version [#21941](https://github.com/storybooks/storybook/pull/21941)
+
## 7.0.2 (April 3, 2023)
Storybook 7.0 is here! 🎉
diff --git a/MIGRATION.md b/MIGRATION.md
index 048849f31dac..e65b163f7b52 100644
--- a/MIGRATION.md
+++ b/MIGRATION.md
@@ -8,9 +8,6 @@
- [Modern browser support](#modern-browser-support)
- [React peer dependencies required](#react-peer-dependencies-required)
- [start-storybook / build-storybook binaries removed](#start-storybook--build-storybook-binaries-removed)
- - [New Addons API](#new-addons-api)
- - [Specific instructions for addon creators](#specific-instructions-for-addon-creators)
- - [Specific instructions for addon users](#specific-instructions-for-addon-users)
- [New Framework API](#new-framework-api)
- [Available framework packages](#available-framework-packages)
- [Framework field mandatory](#framework-field-mandatory)
@@ -35,7 +32,7 @@
- [Addon-interactions: Interactions debugger is now default](#addon-interactions-interactions-debugger-is-now-default)
- [7.0 Vite changes](#70-vite-changes)
- [Vite builder uses Vite config automatically](#vite-builder-uses-vite-config-automatically)
- - [Vite cache moved to node_modules/.cache/.vite-storybook](#vite-cache-moved-to-node_modulescachevite-storybook)
+ - [Vite cache moved to node\_modules/.cache/.vite-storybook](#vite-cache-moved-to-node_modulescachevite-storybook)
- [7.0 Webpack changes](#70-webpack-changes)
- [Webpack4 support discontinued](#webpack4-support-discontinued)
- [Babel mode v7 exclusively](#babel-mode-v7-exclusively)
@@ -54,6 +51,9 @@
- [Create React App: dropped CRA4 support](#create-react-app-dropped-cra4-support)
- [HTML: No longer auto-dedents source code](#html-no-longer-auto-dedents-source-code)
- [7.0 Addon authors changes](#70-addon-authors-changes)
+ - [New Addons API](#new-addons-api)
+ - [Specific instructions for addon creators](#specific-instructions-for-addon-creators)
+ - [Specific instructions for addon users](#specific-instructions-for-addon-users)
- [register.js removed](#registerjs-removed)
- [No more default export from `@storybook/addons`](#no-more-default-export-from-storybookaddons)
- [No more configuration for manager](#no-more-configuration-for-manager)
@@ -82,8 +82,7 @@
- [Dropped addon-docs manual babel configuration](#dropped-addon-docs-manual-babel-configuration)
- [Dropped addon-docs manual configuration](#dropped-addon-docs-manual-configuration)
- [Autoplay in docs](#autoplay-in-docs)
- - [Removed STORYBOOK_REACT_CLASSES global](#removed-storybook_react_classes-global)
- - [parameters.docs.source.excludeDecorators defaults to true](#parametersdocssourceexcludedecorators-defaults-to-true)
+ - [Removed STORYBOOK\_REACT\_CLASSES global](#removed-storybook_react_classes-global)
- [7.0 Deprecations and default changes](#70-deprecations-and-default-changes)
- [storyStoreV7 enabled by default](#storystorev7-enabled-by-default)
- [`Story` type deprecated](#story-type-deprecated)
@@ -297,7 +296,7 @@
## From version 6.5.x to 7.0.0
-A number of these changes can be made automatically by the Storybook CLI. To take advantage of these "automigrations", run `npx storybook@next upgrade --prerelease` or `pnpx storybook@next upgrade --prerelease`.
+A number of these changes can be made automatically by the Storybook CLI. To take advantage of these "automigrations", run `npx storybook@latest upgrade --prerelease` or `pnpx dlx storybook@latest upgrade --prerelease`.
### 7.0 breaking changes
@@ -499,110 +498,6 @@ The new CLI commands remove the following flags:
| -------- | --------------------------------------------------------------------------------------------- |
| --modern | No migration needed. [All ESM code is modern in SB7](#modern-esm--ie11-support-discontinued). |
-#### New Addons API
-
-Storybook 7 adds 2 new packages for addon authors to use: `@storybook/preview-api` and `@storybook/manager-api`.
-These 2 packages replace `@storybook/addons`.
-
-When adding addons to storybook, you can (for example) add panels:
-
-```js
-import { addons } from '@storybook/manager-api';
-
-addons.addPanel('my-panel', {
- title: 'My Panel',
- render: ({ active, key }) =>
My Panel
,
-});
-```
-
-Note that this before would import `addons` from `@storybook/addons`, but now it imports `{ addons }` from `@storybook/manager-api`.
-The `addons` export is now a named export only, there's no default export anymore, so make sure to update this usage.
-
-The package `@storybook/addons` is still available, but it's only for backwards compatibility. It's not recommended to use it anymore.
-
-It's also been used by addon creators to gain access to a few APIs like `makeDecorator`.
-These APIs are now available in `@storybook/preview-api`.
-
-Storybook users have had access to a few storybook-lifecycle hooks such as `useChannel`, `useParameter`, `useStorybookState`;
-when these hooks are used in panels, they should be imported from `@storybook/manager-api`.
-When these hooks are used in decorators/stories, they should be imported from `@storybook/preview-api`.
-
-Storybook 7 includes `@storybook/addons` shim package that provides the old API and calls the new API under the hood.
-This backwards compatibility will be removed in a future release of storybook.
-
-Here's an example of using the new API:
-The `@storybook/preview-api` is used here, because the `useEffect` hook is used in a decorator.
-
-```js
-import { useEffect, makeDecorator } from '@storybook/preview-api';
-
-export const withMyAddon = makeDecorator({
- name: 'withMyAddon',
- parameterName: 'myAddon',
- wrapper: (getStory) => {
- useEffect(() => {
- // do something with the options
- }, []);
- return getStory(context);
- },
-});
-```
-
-##### Specific instructions for addon creators
-
-If you're an addon creator, you'll have to update your addon to use the new APIs.
-
-That means you'll have to release a breaking release of your addon to make it compatible with Storybook 7.
-It should no longer depend on `@storybook/addons`, but instead on `@storybook/preview-api` and/or `@storybook/manager-api`.
-
-You might also depend (and use) these packages in your addon's decorators: `@storybook/store`, `@storybook/preview-web`, `@storybook/core-client`, `@storybook/client-api`; these have all been consolidated into `@storybook/preview-api`.
-So if you use any of these packages, please import what you need from `@storybook/preview-api` instead.
-
-
-Storybook 7 will prepare manager-code for the browser using ESbuild (before it was using a combination of webpack + babel).
-This is a very important change, though it will not affect most addons.
-It means that when creating custom addons, particularly custom addons within the repo in which they are consumed,
-you will need to be aware that this code is not passed though babel, and thus will not use your babel config.
-This can result in errors if you are using experimental JS features in your addon code, not supported yet by ESbuild,
-or using babel dependent features such as Component selectors in Emotion.
-
-ESbuild also places some constraints on things you can import into your addon's manager code: only woff2 files are supported, and not all image file types are supported.
-Here's the list of supported file types:
-https://github.com/storybookjs/storybook/blob/4a37372f649e85e7a0c35b0493da016dbb5dee17/code/lib/builder-manager/src/index.ts#L54-L64
-This is not configurable.
-
-If this is a problem for your addon, you need to pre-compile your addon's manager code to ensure it works.
-
-If you addon also introduces preview code (such a decorators) it will be passed though whatever builder + config the user has configured for their project; this hasn't changed.
-
-In both the preview and manager code it's good to remember [Storybook now targets modern browser only](#modern-browser-support).
-
-The package `@storybook/components` contain a lot of components useful for building addons.
-Some of these addons have been moved to a new package `@storybook/blocks`.
-These components were moved: `ColorControl`, `ColorPalette`, `ArgsTable`, `ArgRow`, `TabbedArgsTable`, `SectionRow`, `Source`, `Code`.
-
-##### Specific instructions for addon users
-
-All of storybook's core addons have been updated and are ready to use with Storybook 7.
-
-We're working with the community to update the most popular addons.
-But if you're using an addon that hasn't been updated yet, it might not work.
-
-It's possible for example for older addons to use APIs that are no longer available in Storybook 7.
-Your addon might not show upside of the storybook (manager) UI, or storybook might fail to start entirely.
-
-When this happens to you please open an issue on the addon's repo, and ask the addon author to update their addon to be compatible with Storybook 7.
-It's also useful for the storybook team to know which addons are not yet compatible, so please open an issue on the storybook repo as well; particularly if the addon is popular and causes a critical failure.
-
-Here's a list of popular addons that are known not to be compatible with Storybook 7 yet:
-- [ ] [storybook-addon-jsx](https://github.com/storybookjs/addon-jsx)
-- [ ] [storybook-addon-dark-mode](https://github.com/hipstersmoothie/storybook-dark-mode)
-
-Though storybook should de-duplicate storybook packages, storybook CLI's `upgrade` command will warn you when you have multiple storybook-dependencies, because it is a possibility that this causes addons/storybook to not work, so when running into issues, please run this:
-```
-npx sb upgrade
-```
-
#### New Framework API
_Has automigration_
@@ -610,7 +505,7 @@ _Has automigration_
Storybook 7 introduces the concept of `frameworks`, which abstracts configuration for `renderers` (e.g. React, Vue), `builders` (e.g. Webpack, Vite) and defaults to make integrations easier. This requires quite a few changes, depending on what your project is using. **We recommend you to use the automigrations**, but in case the command fails or you'd like to do the changes manually, here's a guide:
> Note:
-> All of the following changes can be done automatically either via `npx storybook@next upgrade --prerelease` or via the `npx storybook@next automigrate` command. It's highly recommended to use these commands, which will tell you exactly what to do.
+> All of the following changes can be done automatically either via `npx storybook@latest upgrade --prerelease` or via the `npx storybook@latest automigrate` command. It's highly recommended to use these commands, which will tell you exactly what to do.
##### Available framework packages
@@ -1032,7 +927,7 @@ Storybook now uses [Babel mode v7](#babel-mode-v7) exclusively. In 6.x, Storyboo
In the new mode, Storybook expects you to provide a configuration file. Depending on the complexity your project, Storybook will fail to run without a babel configuration. If you want a configuration file that's equivalent to the 6.x default, you can run the following command in your project directory:
```sh
-npx storybook@next babelrc
+npx storybook@latest babelrc
```
This command will create a `.babelrc.json` file in your project, containing a few babel plugins which will be installed as dev dependencies.
@@ -1183,6 +1078,110 @@ You can get the same result by setting [the parameter `parameters.docs.source.fo
### 7.0 Addon authors changes
+#### New Addons API
+
+Storybook 7 adds 2 new packages for addon authors to use: `@storybook/preview-api` and `@storybook/manager-api`.
+These 2 packages replace `@storybook/addons`.
+
+When adding addons to storybook, you can (for example) add panels:
+
+```js
+import { addons } from '@storybook/manager-api';
+
+addons.addPanel('my-panel', {
+ title: 'My Panel',
+ render: ({ active, key }) => My Panel
,
+});
+```
+
+Note that this before would import `addons` from `@storybook/addons`, but now it imports `{ addons }` from `@storybook/manager-api`.
+The `addons` export is now a named export only, there's no default export anymore, so make sure to update this usage.
+
+The package `@storybook/addons` is still available, but it's only for backwards compatibility. It's not recommended to use it anymore.
+
+It's also been used by addon creators to gain access to a few APIs like `makeDecorator`.
+These APIs are now available in `@storybook/preview-api`.
+
+Storybook users have had access to a few storybook-lifecycle hooks such as `useChannel`, `useParameter`, `useStorybookState`;
+when these hooks are used in panels, they should be imported from `@storybook/manager-api`.
+When these hooks are used in decorators/stories, they should be imported from `@storybook/preview-api`.
+
+Storybook 7 includes `@storybook/addons` shim package that provides the old API and calls the new API under the hood.
+This backwards compatibility will be removed in a future release of storybook.
+
+Here's an example of using the new API:
+The `@storybook/preview-api` is used here, because the `useEffect` hook is used in a decorator.
+
+```js
+import { useEffect, makeDecorator } from '@storybook/preview-api';
+
+export const withMyAddon = makeDecorator({
+ name: 'withMyAddon',
+ parameterName: 'myAddon',
+ wrapper: (getStory) => {
+ useEffect(() => {
+ // do something with the options
+ }, []);
+ return getStory(context);
+ },
+});
+```
+
+##### Specific instructions for addon creators
+
+If you're an addon creator, you'll have to update your addon to use the new APIs.
+
+That means you'll have to release a breaking release of your addon to make it compatible with Storybook 7.
+It should no longer depend on `@storybook/addons`, but instead on `@storybook/preview-api` and/or `@storybook/manager-api`.
+
+You might also depend (and use) these packages in your addon's decorators: `@storybook/store`, `@storybook/preview-web`, `@storybook/core-client`, `@storybook/client-api`; these have all been consolidated into `@storybook/preview-api`.
+So if you use any of these packages, please import what you need from `@storybook/preview-api` instead.
+
+
+Storybook 7 will prepare manager-code for the browser using ESbuild (before it was using a combination of webpack + babel).
+This is a very important change, though it will not affect most addons.
+It means that when creating custom addons, particularly custom addons within the repo in which they are consumed,
+you will need to be aware that this code is not passed though babel, and thus will not use your babel config.
+This can result in errors if you are using experimental JS features in your addon code, not supported yet by ESbuild,
+or using babel dependent features such as Component selectors in Emotion.
+
+ESbuild also places some constraints on things you can import into your addon's manager code: only woff2 files are supported, and not all image file types are supported.
+Here's the list of supported file types:
+https://github.com/storybookjs/storybook/blob/4a37372f649e85e7a0c35b0493da016dbb5dee17/code/lib/builder-manager/src/index.ts#L54-L64
+This is not configurable.
+
+If this is a problem for your addon, you need to pre-compile your addon's manager code to ensure it works.
+
+If you addon also introduces preview code (such a decorators) it will be passed though whatever builder + config the user has configured for their project; this hasn't changed.
+
+In both the preview and manager code it's good to remember [Storybook now targets modern browser only](#modern-browser-support).
+
+The package `@storybook/components` contain a lot of components useful for building addons.
+Some of these addons have been moved to a new package `@storybook/blocks`.
+These components were moved: `ColorControl`, `ColorPalette`, `ArgsTable`, `ArgRow`, `TabbedArgsTable`, `SectionRow`, `Source`, `Code`.
+
+##### Specific instructions for addon users
+
+All of storybook's core addons have been updated and are ready to use with Storybook 7.
+
+We're working with the community to update the most popular addons.
+But if you're using an addon that hasn't been updated yet, it might not work.
+
+It's possible for example for older addons to use APIs that are no longer available in Storybook 7.
+Your addon might not show upside of the storybook (manager) UI, or storybook might fail to start entirely.
+
+When this happens to you please open an issue on the addon's repo, and ask the addon author to update their addon to be compatible with Storybook 7.
+It's also useful for the storybook team to know which addons are not yet compatible, so please open an issue on the storybook repo as well; particularly if the addon is popular and causes a critical failure.
+
+Here's a list of popular addons that are known not to be compatible with Storybook 7 yet:
+- [ ] [storybook-addon-jsx](https://github.com/storybookjs/addon-jsx)
+- [ ] [storybook-addon-dark-mode](https://github.com/hipstersmoothie/storybook-dark-mode)
+
+Though storybook should de-duplicate storybook packages, storybook CLI's `upgrade` command will warn you when you have multiple storybook-dependencies, because it is a possibility that this causes addons/storybook to not work, so when running into issues, please run this:
+```
+npx sb upgrade
+```
+
#### register.js removed
In SB 6.x and earlier, addons exported a `register.js` entry point by convention, and users would import this in `.storybook/manager.js`. This was [deprecated in SB 6.5](#deprecated-registerjs)
@@ -1510,7 +1509,7 @@ If you get stuck with the [MDX2 upgrade](#mdx2-upgrade), we also provide opt-in
To process your `.stories.mdx` files with MDX1, first install the `@storybook/mdx1-csf` package in your project:
```
-yarn add -D @storybook/mdx1-csf@next
+yarn add -D @storybook/mdx1-csf@latest
```
Then enable the `legacyMdx1` feature flag in your `.storybook/main.js` file:
@@ -1618,10 +1617,6 @@ If your story depends on a play function to render correctly, _and_ you are conf
This was a legacy global variable from the early days of react docgen. If you were using this variable, you can instead use docgen information which is added directly to components using `.__docgenInfo`.
-#### parameters.docs.source.excludeDecorators defaults to true
-
-By default we don't render decorators in the Source/Canvas blocks. If you want to render decorators, you can set the parameter to `false`.
-
### 7.0 Deprecations and default changes
#### storyStoreV7 enabled by default
@@ -1946,7 +1941,7 @@ You can run the existing suite of automigrations to see which ones apply to your
```
-npx sb@next automigrate
+npx sb@latest automigrate
```
@@ -1958,7 +1953,7 @@ Storybook 6.3 supports CRA5 out of the box when you install it fresh. However, i
```
-npx sb@next automigrate
+npx sb@latest automigrate
```
@@ -2212,7 +2207,7 @@ module.exports = {
In the new mode, Storybook expects you to provide a configuration file. If you want a configuration file that's equivalent to the 6.x default, you can run the following command in your project directory:
```sh
-npx sb@next babelrc
+npx sb@latest babelrc
```
This will create a `.babelrc.json` file. This file includes a bunch of babel plugins, so you may need to add new package devDependencies accordingly.
@@ -2796,7 +2791,7 @@ Basic.decorators = [ ... ];
To help you upgrade your stories, we've created a codemod:
```
-npx @storybook/cli@next migrate csf-hoist-story-annotations --glob="**/*.stories.js"
+npx @storybook/cli@latest migrate csf-hoist-story-annotations --glob="**/*.stories.js"
```
For more information, [see the documentation](https://github.com/storybookjs/storybook/blob/next/lib/codemod/README.md#csf-hoist-story-annotations).
@@ -3090,7 +3085,7 @@ We've removed the ability to specify the hierarchy separators (how you control t
If you are currently using custom separators, we encourage you to migrate to using `/` as the sole separator. If you are using `|` or `.` as a separator currently, we provide a codemod, [`upgrade-hierarchy-separators`](https://github.com/storybookjs/storybook/blob/next/lib/codemod/README.md#upgrade-hierarchy-separators), that can be used to rename your components. **Note: the codemod will not work for `.mdx` components, you will need to make the changes by hand.**
```
-npx sb@next migrate upgrade-hierarchy-separators --glob="*/**/*.stories.@(tsx|jsx|ts|js)"
+npx sb@latest migrate upgrade-hierarchy-separators --glob="*/**/*.stories.@(tsx|jsx|ts|js)"
```
We also now default to showing "roots", which are non-expandable groupings in the sidebar for the top-level groups. If you'd like to disable this, set the `showRoots` option in `.storybook/manager.js`:
@@ -4210,7 +4205,7 @@ Storybook now uses Babel 7. There's a couple of cases when it can break with you
- If you aren't using Babel yourself, and don't have .babelrc, install following dependencies:
```
- npm i -D @babel/core babel-loader@next
+ npm i -D @babel/core babel-loader@latest
```
- If you're using Babel 6, make sure that you have direct dependencies on `babel-core@6` and `babel-loader@7` and that you have a `.babelrc` in your project directory.
diff --git a/code/addons/a11y/package.json b/code/addons/a11y/package.json
index 94e4cb9999e5..8c4c87c0ab8e 100644
--- a/code/addons/a11y/package.json
+++ b/code/addons/a11y/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Test component compliance with web accessibility standards",
"keywords": [
"a11y",
@@ -63,16 +63,16 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/addon-highlight": "7.0.2",
- "@storybook/channels": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/addon-highlight": "7.1.0-alpha.0",
+ "@storybook/channels": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/theming": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"axe-core": "^4.2.0",
"lodash": "^4.17.21",
"react-resize-detector": "^7.1.2"
@@ -104,7 +104,7 @@
"./src/preview.tsx"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Accessibility",
"icon": "https://user-images.githubusercontent.com/263385/101991665-47042f80-3c7c-11eb-8f00-64b5a18f498a.png",
diff --git a/code/addons/actions/package.json b/code/addons/actions/package.json
index e6c7dac0a572..f77d1cdb677a 100644
--- a/code/addons/actions/package.json
+++ b/code/addons/actions/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Get UI feedback when an action is performed on an interactive element",
"keywords": [
"storybook",
@@ -61,6 +61,9 @@
"manager": [
"dist/manager.d.ts"
],
+ "decorator": [
+ "dist/decorator.d.ts"
+ ],
"preview": [
"dist/preview.d.ts"
]
@@ -77,14 +80,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/theming": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"dequal": "^2.0.2",
"lodash": "^4.17.21",
"polished": "^4.2.2",
@@ -121,7 +124,7 @@
"./src/preview.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Actions",
"unsupportedFrameworks": [
diff --git a/code/addons/backgrounds/package.json b/code/addons/backgrounds/package.json
index e96aabb105a8..ffbf5ffc109d 100644
--- a/code/addons/backgrounds/package.json
+++ b/code/addons/backgrounds/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Switch backgrounds to view components in different settings",
"keywords": [
"addon",
@@ -76,14 +76,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/theming": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"memoizerific": "^1.11.3",
"ts-dedent": "^2.0.0"
},
@@ -112,7 +112,7 @@
"./src/preview.tsx"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Backgrounds",
"icon": "https://user-images.githubusercontent.com/263385/101991667-479cc600-3c7c-11eb-96d3-410e936252e7.png",
diff --git a/code/addons/controls/package.json b/code/addons/controls/package.json
index 00ff59beb8b4..c6b90940e3b0 100644
--- a/code/addons/controls/package.json
+++ b/code/addons/controls/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-controls",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Interact with component inputs dynamically in the Storybook UI",
"keywords": [
"addon",
@@ -68,15 +68,15 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/blocks": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/manager-api": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/theming": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/blocks": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"lodash": "^4.17.21",
"ts-dedent": "^2.0.0"
},
@@ -102,7 +102,7 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Controls",
"icon": "https://user-images.githubusercontent.com/263385/101991669-479cc600-3c7c-11eb-93d9-38b67e8371f2.png",
diff --git a/code/addons/docs/README.md b/code/addons/docs/README.md
index 96cb01bc5a18..02c97503b313 100644
--- a/code/addons/docs/README.md
+++ b/code/addons/docs/README.md
@@ -110,7 +110,7 @@ export default {
};
```
-If using in conjunction with the [storyshots add-on](https://github.com/storybookjs/storybook/blob/next/code/addons/storyshots/storyshots-core/README.md), you will need to
+If using in conjunction with the [storyshots add-on](https://github.com/storybookjs/storybook/blob/next/code/addons/storyshots-core/README.md), you will need to
configure Jest to transform MDX stories into something Storyshots can understand:
Add the following to your Jest configuration:
diff --git a/code/addons/docs/angular/README.md b/code/addons/docs/angular/README.md
index f36e613bf874..a3bad52693aa 100644
--- a/code/addons/docs/angular/README.md
+++ b/code/addons/docs/angular/README.md
@@ -25,7 +25,7 @@ To learn more about Storybook Docs, read the [general documentation](../README.m
First add the package. Make sure that the versions for your `@storybook/*` packages match:
```sh
-yarn add -D @storybook/addon-docs@next
+yarn add -D @storybook/addon-docs
```
Then add the following to your `.storybook/main.js` exports:
diff --git a/code/addons/docs/common/README.md b/code/addons/docs/common/README.md
index ae232074aea1..1195d287d444 100644
--- a/code/addons/docs/common/README.md
+++ b/code/addons/docs/common/README.md
@@ -15,7 +15,7 @@ Popular frameworks like [React](../react/README.md)/[Vue](../vue/README.md)/[Ang
First add the package. Make sure that the versions for your `@storybook/*` packages match:
```sh
-yarn add -D @storybook/addon-docs@next
+yarn add -D @storybook/addon-docs
```
Then add the following to your `.storybook/main.js` addons:
diff --git a/code/addons/docs/ember/README.md b/code/addons/docs/ember/README.md
index 487c621b1fe9..29af33a3b433 100644
--- a/code/addons/docs/ember/README.md
+++ b/code/addons/docs/ember/README.md
@@ -18,7 +18,7 @@ To learn more about Storybook Docs, read the [general documentation](../README.m
First add the package. Make sure that the versions for your `@storybook/*` packages match:
```sh
-yarn add -D @storybook/addon-docs@next
+yarn add -D @storybook/addon-docs
```
Then add the following to your `.storybook/main.js` addons:
diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json
index 869c240624f8..de6129b5cecc 100644
--- a/code/addons/docs/package.json
+++ b/code/addons/docs/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-docs",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Document component usage and properties in Markdown",
"keywords": [
"addon",
@@ -103,19 +103,19 @@
"@babel/plugin-transform-react-jsx": "^7.19.0",
"@jest/transform": "^29.3.1",
"@mdx-js/react": "^2.1.5",
- "@storybook/blocks": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/csf-plugin": "7.0.2",
- "@storybook/csf-tools": "7.0.2",
+ "@storybook/blocks": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/csf-plugin": "7.1.0-alpha.0",
+ "@storybook/csf-tools": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
"@storybook/mdx2-csf": "^1.0.0",
- "@storybook/node-logger": "7.0.2",
- "@storybook/postinstall": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/react-dom-shim": "7.0.2",
- "@storybook/theming": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/postinstall": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/react-dom-shim": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"fs-extra": "^11.1.0",
"remark-external-links": "^8.0.0",
"remark-slug": "^6.0.0",
@@ -148,7 +148,7 @@
"./src/shims/mdx-react-shim.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Docs",
"icon": "https://user-images.githubusercontent.com/263385/101991672-48355c80-3c7c-11eb-82d9-95fa12438f64.png",
diff --git a/code/addons/docs/react/README.md b/code/addons/docs/react/README.md
index 5200fea3bd2b..1ef7daf97bb5 100644
--- a/code/addons/docs/react/README.md
+++ b/code/addons/docs/react/README.md
@@ -23,7 +23,7 @@ To learn more about Storybook Docs, read the [general documentation](../README.m
First add the package. Make sure that the versions for your `@storybook/*` packages match:
```sh
-yarn add -D @storybook/addon-docs@next
+yarn add -D @storybook/addon-docs
```
Then add the following to your `.storybook/main.js` list of `addons`:
diff --git a/code/addons/docs/src/preview.ts b/code/addons/docs/src/preview.ts
index 22712de48159..0d1183bd0cf1 100644
--- a/code/addons/docs/src/preview.ts
+++ b/code/addons/docs/src/preview.ts
@@ -4,8 +4,5 @@ export const parameters: any = {
const { DocsRenderer } = (await import('./DocsRenderer')) as any;
return new DocsRenderer();
},
- source: {
- excludeDecorators: true,
- },
},
};
diff --git a/code/addons/docs/vue/README.md b/code/addons/docs/vue/README.md
index fa7c3d22d67c..17156db24017 100644
--- a/code/addons/docs/vue/README.md
+++ b/code/addons/docs/vue/README.md
@@ -23,7 +23,7 @@ To learn more about Storybook Docs, read the [general documentation](../README.m
First add the package. Make sure that the versions for your `@storybook/*` packages match:
```sh
-yarn add -D @storybook/addon-docs@next
+yarn add -D @storybook/addon-docs
```
Then add the following to your `.storybook/main.js` addons:
diff --git a/code/addons/docs/vue3/README.md b/code/addons/docs/vue3/README.md
index 539d6b066c03..4d79d29fad1d 100644
--- a/code/addons/docs/vue3/README.md
+++ b/code/addons/docs/vue3/README.md
@@ -23,7 +23,7 @@ To learn more about Storybook Docs, read the [general documentation](../README.m
First add the package. Make sure that the versions for your `@storybook/*` packages match:
```sh
-yarn add -D @storybook/addon-docs@next
+yarn add -D @storybook/addon-docs
```
Then add the following to your `.storybook/main.js` addons:
diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json
index 2da9a81c11ee..512cb6e1f0f9 100644
--- a/code/addons/essentials/package.json
+++ b/code/addons/essentials/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-essentials",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Curated addons to bring out the best of Storybook",
"keywords": [
"addon",
@@ -119,23 +119,23 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/addon-actions": "7.0.2",
- "@storybook/addon-backgrounds": "7.0.2",
- "@storybook/addon-controls": "7.0.2",
- "@storybook/addon-docs": "7.0.2",
- "@storybook/addon-highlight": "7.0.2",
- "@storybook/addon-measure": "7.0.2",
- "@storybook/addon-outline": "7.0.2",
- "@storybook/addon-toolbars": "7.0.2",
- "@storybook/addon-viewport": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/manager-api": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/preview-api": "7.0.2",
+ "@storybook/addon-actions": "7.1.0-alpha.0",
+ "@storybook/addon-backgrounds": "7.1.0-alpha.0",
+ "@storybook/addon-controls": "7.1.0-alpha.0",
+ "@storybook/addon-docs": "7.1.0-alpha.0",
+ "@storybook/addon-highlight": "7.1.0-alpha.0",
+ "@storybook/addon-measure": "7.1.0-alpha.0",
+ "@storybook/addon-outline": "7.1.0-alpha.0",
+ "@storybook/addon-toolbars": "7.1.0-alpha.0",
+ "@storybook/addon-viewport": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
- "@storybook/vue": "7.0.2",
+ "@storybook/vue": "7.1.0-alpha.0",
"typescript": "^4.9.3"
},
"peerDependencies": {
@@ -166,5 +166,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/addons/gfm/package.json b/code/addons/gfm/package.json
index 52cc337e7cef..7e1a737a2b9a 100644
--- a/code/addons/gfm/package.json
+++ b/code/addons/gfm/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-mdx-gfm",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "GitHub Flavored Markdown in Storybook",
"keywords": [
"addon",
@@ -51,7 +51,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/node-logger": "7.0.0-beta.52",
+ "@storybook/node-logger": "7.1.0-alpha.0",
"remark-gfm": "^3.0.1",
"ts-dedent": "^2.0.0"
},
@@ -69,5 +69,5 @@
"cjs"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/addons/gfm/src/index.ts b/code/addons/gfm/src/index.ts
index 76981b982a1b..ecfc725fc231 100644
--- a/code/addons/gfm/src/index.ts
+++ b/code/addons/gfm/src/index.ts
@@ -13,7 +13,7 @@ export const mdxLoaderOptions = async (config: any) => {
deprecate(dedent`
The "@storybook/addon-mdx-gfm" addon is meant as a migration assistant for Storybook 7.0; and will likely be removed in a future version.
It's recommended you read this document:
- https://storybook.js.org/docs/7.0/react/writing-docs/mdx#lack-of-github-flavored-markdown-gfm
+ https://storybook.js.org/docs/react/writing-docs/mdx#lack-of-github-flavored-markdown-gfm
Once you've made the necessary changes, you can remove the addon from your package.json and storybook config.
`);
diff --git a/code/addons/highlight/package.json b/code/addons/highlight/package.json
index 9124c8e79f84..70bdffbf21d4 100644
--- a/code/addons/highlight/package.json
+++ b/code/addons/highlight/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-highlight",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Highlight DOM nodes within your stories",
"keywords": [
"storybook-addons",
@@ -61,9 +61,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-events": "7.0.2",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2"
+ "@storybook/preview-api": "7.1.0-alpha.0"
},
"devDependencies": {
"@types/webpack-env": "^1.16.0",
@@ -78,7 +78,7 @@
"./src/preview.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Highlight",
diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json
index 32f170928bdb..38e933ae427b 100644
--- a/code/addons/interactions/package.json
+++ b/code/addons/interactions/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-interactions",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Automate, test and debug user interactions",
"keywords": [
"storybook-addons",
@@ -72,16 +72,16 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/instrumenter": "7.0.2",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/theming": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/instrumenter": "7.1.0-alpha.0",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"jest-mock": "^27.0.6",
"polished": "^4.2.2",
"ts-dedent": "^2.2.0"
@@ -118,7 +118,7 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Interactions",
"unsupportedFrameworks": [
diff --git a/code/addons/jest/package.json b/code/addons/jest/package.json
index a012f8036ab6..db9c28aaa9e2 100644
--- a/code/addons/jest/package.json
+++ b/code/addons/jest/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
@@ -70,13 +70,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/theming": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
"react-resize-detector": "^7.1.2",
"upath": "^1.2.0"
},
@@ -105,7 +105,7 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Jest",
"icon": "https://pbs.twimg.com/profile_images/821713465245102080/mMtKIMax_400x400.jpg",
diff --git a/code/addons/links/package.json b/code/addons/links/package.json
index 534f9f66b7c4..7136898807b8 100644
--- a/code/addons/links/package.json
+++ b/code/addons/links/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-links",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Link stories together to build demos and prototypes with your UI components",
"keywords": [
"addon",
@@ -80,14 +80,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/csf": "^0.1.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/router": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/router": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"prop-types": "^15.7.2",
"ts-dedent": "^2.0.0"
},
@@ -119,7 +119,7 @@
],
"post": "./scripts/fix-preview-api-reference.ts"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Links",
"icon": "https://user-images.githubusercontent.com/263385/101991673-48355c80-3c7c-11eb-9b6e-b627c96a75f6.png",
diff --git a/code/addons/measure/package.json b/code/addons/measure/package.json
index a74864a8b5e6..f9cbb8329499 100644
--- a/code/addons/measure/package.json
+++ b/code/addons/measure/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-measure",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Inspect layouts by visualizing the box model",
"keywords": [
"storybook-addons",
@@ -75,13 +75,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2"
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0"
},
"devDependencies": {
"typescript": "~4.9.3"
@@ -108,7 +108,7 @@
"./src/preview.tsx"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Measure",
"unsupportedFrameworks": [
diff --git a/code/addons/outline/package.json b/code/addons/outline/package.json
index 7577cc956c1f..cde33cd3151f 100644
--- a/code/addons/outline/package.json
+++ b/code/addons/outline/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-outline",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Outline all elements with CSS to help with layout placement and alignment",
"keywords": [
"storybook-addons",
@@ -78,13 +78,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@@ -112,7 +112,7 @@
"./src/preview.tsx"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Outline",
"unsupportedFrameworks": [
diff --git a/code/addons/storyshots-core/package.json b/code/addons/storyshots-core/package.json
index b987914190ed..88b6f0d95a2c 100644
--- a/code/addons/storyshots-core/package.json
+++ b/code/addons/storyshots-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Take a code snapshot of every story automatically with Jest",
"keywords": [
"addon",
@@ -37,12 +37,12 @@
"dependencies": {
"@jest/transform": "^29.3.1",
"@storybook/babel-plugin-require-context-hook": "1.0.1",
- "@storybook/client-api": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/core-webpack": "7.0.2",
+ "@storybook/client-api": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/glob": "^7.1.3",
"@types/jest-specific-snapshot": "^0.5.6",
"glob": "^8.1.0",
@@ -57,11 +57,11 @@
"@angular/core": "^13.3.6",
"@angular/platform-browser-dynamic": "^13.3.6",
"@emotion/jest": "^11.8.0",
- "@storybook/addon-docs": "7.0.2",
- "@storybook/angular": "7.0.2",
- "@storybook/react": "7.0.2",
- "@storybook/vue": "7.0.2",
- "@storybook/vue3": "7.0.2",
+ "@storybook/addon-docs": "7.1.0-alpha.0",
+ "@storybook/angular": "7.1.0-alpha.0",
+ "@storybook/react": "7.1.0-alpha.0",
+ "@storybook/vue": "7.1.0-alpha.0",
+ "@storybook/vue3": "7.1.0-alpha.0",
"babel-loader": "^9.1.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
@@ -142,7 +142,7 @@
"access": "public"
},
"bundler": {},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Storyshots",
"icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png",
diff --git a/code/addons/storyshots-puppeteer/package.json b/code/addons/storyshots-puppeteer/package.json
index 04886767221a..cf602f45a0b9 100644
--- a/code/addons/storyshots-puppeteer/package.json
+++ b/code/addons/storyshots-puppeteer/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots-puppeteer",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Image snapshots addition to StoryShots based on puppeteer",
"keywords": [
"addon",
@@ -36,8 +36,8 @@
"dependencies": {
"@axe-core/puppeteer": "^4.2.0",
"@storybook/csf": "^0.1.0",
- "@storybook/node-logger": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/jest-image-snapshot": "^5.1.0",
"jest-image-snapshot": "^6.0.0"
},
@@ -49,7 +49,7 @@
"rimraf": "^3.0.2"
},
"peerDependencies": {
- "@storybook/addon-storyshots": "7.0.2",
+ "@storybook/addon-storyshots": "7.1.0-alpha.0",
"puppeteer": ">=2.0.0"
},
"peerDependenciesMeta": {
@@ -61,5 +61,5 @@
"access": "public"
},
"bundler": {},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/addons/storysource/package.json b/code/addons/storysource/package.json
index 5773438e9b5a..f9a07e655a10 100644
--- a/code/addons/storysource/package.json
+++ b/code/addons/storysource/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storysource",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "View a story’s source code to see how it works and paste into your app",
"keywords": [
"addon",
@@ -54,13 +54,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/router": "7.0.2",
- "@storybook/source-loader": "7.0.2",
- "@storybook/theming": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/router": "7.1.0-alpha.0",
+ "@storybook/source-loader": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
"estraverse": "^5.2.0",
"prop-types": "^15.7.2",
"react-syntax-highlighter": "^15.5.0"
@@ -92,7 +92,7 @@
"./src/preset.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Storysource",
"icon": "https://user-images.githubusercontent.com/263385/101991675-48cdf300-3c7c-11eb-9400-58de5ac6daa7.png",
diff --git a/code/addons/toolbars/package.json b/code/addons/toolbars/package.json
index 355c3c0aa721..23a02b68d076 100644
--- a/code/addons/toolbars/package.json
+++ b/code/addons/toolbars/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-toolbars",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Create your own toolbar items that control story rendering",
"keywords": [
"addon",
@@ -68,11 +68,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/theming": "7.0.2"
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0"
},
"devDependencies": {
"typescript": "~4.9.3"
@@ -99,7 +99,7 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Toolbars",
"icon": "https://user-images.githubusercontent.com/263385/101991677-48cdf300-3c7c-11eb-93b4-19b0e3366959.png",
diff --git a/code/addons/viewport/package.json b/code/addons/viewport/package.json
index 35982d8c6cc9..b95dacc16068 100644
--- a/code/addons/viewport/package.json
+++ b/code/addons/viewport/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-viewport",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Build responsive components by adjusting Storybook’s viewport size and orientation",
"keywords": [
"addon",
@@ -73,13 +73,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/theming": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
"memoizerific": "^1.11.3",
"prop-types": "^15.7.2"
},
@@ -109,7 +109,7 @@
"./src/preview.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a",
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4",
"storybook": {
"displayName": "Viewport",
"icon": "https://user-images.githubusercontent.com/263385/101991678-48cdf300-3c7c-11eb-9764-f8af293c1b28.png",
diff --git a/code/addons/viewport/src/Tool.tsx b/code/addons/viewport/src/Tool.tsx
index bb7f5f0b81e0..615878d2cc28 100644
--- a/code/addons/viewport/src/Tool.tsx
+++ b/code/addons/viewport/src/Tool.tsx
@@ -155,9 +155,9 @@ export const ViewportTool: FC = memo(
setState({
selected:
defaultViewport || (viewports[state.selected] ? state.selected : responsiveViewport.id),
- isRotated: state.isRotated,
+ isRotated: defaultOrientation === 'landscape',
});
- }, [defaultViewport]);
+ }, [defaultOrientation, defaultViewport]);
const { selected, isRotated } = state;
const item =
diff --git a/code/addons/viewport/template/stories/parameters.stories.ts b/code/addons/viewport/template/stories/parameters.stories.ts
index 8ea3a1bbc4dc..4aba0bd2970a 100644
--- a/code/addons/viewport/template/stories/parameters.stories.ts
+++ b/code/addons/viewport/template/stories/parameters.stories.ts
@@ -26,6 +26,15 @@ export const Selected = {
},
};
+export const Orientation = {
+ parameters: {
+ viewport: {
+ defaultViewport: Object.keys(MINIMAL_VIEWPORTS)[0],
+ defaultOrientation: 'landscape',
+ },
+ },
+};
+
export const Custom = {
parameters: {
viewport: {
diff --git a/code/frameworks/angular/README.md b/code/frameworks/angular/README.md
index 623d18c47441..3158060f3f9a 100644
--- a/code/frameworks/angular/README.md
+++ b/code/frameworks/angular/README.md
@@ -27,12 +27,12 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-angular-app
-npx storybook init
+npx storybook@latest init
```
## Setup Storybook for your Angular projects
-Storybook supports Angular multi-project workspace. You can setup Storybook for each project in the workspace. When running `npx storybook init` you will be asked for which project Storybook should be set up. Essentially, during initialization, the `.storybook` folder will be created and the `angular.json` will be edited to add the Storybook configuration for the selected project. The configuration looks approximately like this:
+Storybook supports Angular multi-project workspace. You can setup Storybook for each project in the workspace. When running `npx storybook@latest init` you will be asked for which project Storybook should be set up. Essentially, during initialization, the `.storybook` folder will be created and the `angular.json` will be edited to add the Storybook configuration for the selected project. The configuration looks approximately like this:
```json
// angular.json
diff --git a/code/frameworks/angular/package.json b/code/frameworks/angular/package.json
index 909c211f732d..92110bef6045 100644
--- a/code/frameworks/angular/package.json
+++ b/code/frameworks/angular/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/angular",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
"keywords": [
"storybook",
@@ -36,20 +36,20 @@
"prep": "../../../scripts/prepare/tsc.ts"
},
"dependencies": {
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/cli": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-client": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/core-events": "7.0.2",
- "@storybook/core-server": "7.0.2",
- "@storybook/core-webpack": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/cli": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-client": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
+ "@storybook/core-server": "7.1.0-alpha.0",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"@types/react": "^16.14.34",
"@types/react-dom": "^16.9.14",
@@ -123,5 +123,5 @@
"bundler": {
"tsConfig": "tsconfig.build.json"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/angular/src/client/angular-beta/AbstractRenderer.ts b/code/frameworks/angular/src/client/angular-beta/AbstractRenderer.ts
index 029de1cd02e6..d3aa188aff5d 100644
--- a/code/frameworks/angular/src/client/angular-beta/AbstractRenderer.ts
+++ b/code/frameworks/angular/src/client/angular-beta/AbstractRenderer.ts
@@ -1,4 +1,4 @@
-import { ApplicationRef, enableProdMode, importProvidersFrom, NgModule } from '@angular/core';
+import { ApplicationRef, enableProdMode, NgModule } from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import { BehaviorSubject, Subject } from 'rxjs';
@@ -14,16 +14,16 @@ type StoryRenderInfo = {
moduleMetadataSnapshot: string;
};
-const applicationRefs = new Set();
+const applicationRefs = new Map();
export abstract class AbstractRenderer {
/**
* Wait and destroy the platform
*/
- public static resetApplications() {
+ public static resetApplications(domNode?: HTMLElement) {
componentNgModules.clear();
- applicationRefs.forEach((appRef) => {
- if (!appRef.destroyed) {
+ applicationRefs.forEach((appRef, appDOMNode) => {
+ if (!appRef.destroyed && (!domNode || appDOMNode === domNode)) {
appRef.destroy();
}
});
@@ -50,7 +50,7 @@ export abstract class AbstractRenderer {
}
};
- protected previousStoryRenderInfo: StoryRenderInfo;
+ protected previousStoryRenderInfo = new Map();
// Observable to change the properties dynamically without reloading angular module&component
protected storyProps$: Subject;
@@ -67,7 +67,7 @@ export abstract class AbstractRenderer {
}
}
- protected abstract beforeFullRender(): Promise;
+ protected abstract beforeFullRender(domNode?: HTMLElement): Promise;
protected abstract afterFullRender(): Promise;
@@ -100,6 +100,7 @@ export abstract class AbstractRenderer {
if (
!this.fullRendererRequired({
+ targetDOMNode,
storyFnAngular,
moduleMetadata: {
...storyFnAngular.moduleMetadata,
@@ -112,7 +113,7 @@ export abstract class AbstractRenderer {
return;
}
- await this.beforeFullRender();
+ await this.beforeFullRender(targetDOMNode);
// Complete last BehaviorSubject and set a new one for the current module
if (this.storyProps$) {
@@ -140,7 +141,7 @@ export abstract class AbstractRenderer {
],
});
- applicationRefs.add(applicationRef);
+ applicationRefs.set(targetDOMNode, applicationRef);
await this.afterFullRender();
}
@@ -171,22 +172,24 @@ export abstract class AbstractRenderer {
}
private fullRendererRequired({
+ targetDOMNode,
storyFnAngular,
moduleMetadata,
forced,
}: {
+ targetDOMNode: HTMLElement;
storyFnAngular: StoryFnAngularReturnType;
moduleMetadata: NgModule;
forced: boolean;
}) {
- const { previousStoryRenderInfo } = this;
+ const previousStoryRenderInfo = this.previousStoryRenderInfo.get(targetDOMNode);
const currentStoryRender = {
storyFnAngular,
moduleMetadataSnapshot: stringify(moduleMetadata),
};
- this.previousStoryRenderInfo = currentStoryRender;
+ this.previousStoryRenderInfo.set(targetDOMNode, currentStoryRender);
if (
// check `forceRender` of story RenderContext
diff --git a/code/frameworks/angular/src/client/angular-beta/DocsRenderer.ts b/code/frameworks/angular/src/client/angular-beta/DocsRenderer.ts
index 945881088b82..d51573376fcb 100644
--- a/code/frameworks/angular/src/client/angular-beta/DocsRenderer.ts
+++ b/code/frameworks/angular/src/client/angular-beta/DocsRenderer.ts
@@ -38,8 +38,8 @@ export class DocsRenderer extends AbstractRenderer {
await super.render({ ...options, forced: false });
}
- async beforeFullRender(): Promise {
- DocsRenderer.resetApplications();
+ async beforeFullRender(domNode?: HTMLElement): Promise {
+ DocsRenderer.resetApplications(domNode);
}
async afterFullRender(): Promise {
diff --git a/code/frameworks/angular/template/cli/Button.stories.ts b/code/frameworks/angular/template/cli/Button.stories.ts
index 85ce82c88270..8f280fb0c763 100644
--- a/code/frameworks/angular/template/cli/Button.stories.ts
+++ b/code/frameworks/angular/template/cli/Button.stories.ts
@@ -1,7 +1,7 @@
import type { Meta, StoryObj } from '@storybook/angular';
import Button from './button.component';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/angular/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/angular/writing-stories/introduction
const meta: Meta = {
title: 'Example/Button',
component: Button,
@@ -22,7 +22,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/7.0/angular/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/angular/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/frameworks/angular/template/cli/Header.stories.ts b/code/frameworks/angular/template/cli/Header.stories.ts
index a4be511312bc..b7dba18630af 100644
--- a/code/frameworks/angular/template/cli/Header.stories.ts
+++ b/code/frameworks/angular/template/cli/Header.stories.ts
@@ -8,7 +8,7 @@ import Header from './header.component';
const meta: Meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/angular/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/angular/writing-docs/autodocs
tags: ['autodocs'],
render: (args) => ({ props: args }),
decorators: [
@@ -18,7 +18,7 @@ const meta: Meta = {
}),
],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/angular/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/angular/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/frameworks/angular/template/cli/Page.stories.ts b/code/frameworks/angular/template/cli/Page.stories.ts
index 4ae8d3bbb0fd..e7f3c0e9a3b6 100644
--- a/code/frameworks/angular/template/cli/Page.stories.ts
+++ b/code/frameworks/angular/template/cli/Page.stories.ts
@@ -11,7 +11,7 @@ const meta: Meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/angular/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/angular/configure/story-layout
layout: 'fullscreen',
},
decorators: [
@@ -31,7 +31,7 @@ export const LoggedOut: Story = {
}),
};
-// More on interaction testing: https://storybook.js.org/docs/7.0/angular/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/angular/writing-tests/interaction-testing
export const LoggedIn: Story = {
render: (args: Page) => ({
props: args,
diff --git a/code/frameworks/ember/README.md b/code/frameworks/ember/README.md
index 7f623c163d45..f1ed9be67304 100644
--- a/code/frameworks/ember/README.md
+++ b/code/frameworks/ember/README.md
@@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-ember-app
-npx storybook init
+npx storybook@latest init
```
For more information visit: [storybook.js.org](https://storybook.js.org)
diff --git a/code/frameworks/ember/package.json b/code/frameworks/ember/package.json
index 3ceeab527446..f6de1a319b74 100644
--- a/code/frameworks/ember/package.json
+++ b/code/frameworks/ember/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/ember",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybookjs/storybook/tree/main/frameworks/ember",
"bugs": {
@@ -31,12 +31,12 @@
"prep": "../../../scripts/prepare/tsc.ts"
},
"dependencies": {
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@@ -59,5 +59,5 @@
"access": "public"
},
"bundler": {},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/ember/template/cli/Button.stories.js b/code/frameworks/ember/template/cli/Button.stories.js
index 00b73d23e627..bfb6bd756b1f 100644
--- a/code/frameworks/ember/template/cli/Button.stories.js
+++ b/code/frameworks/ember/template/cli/Button.stories.js
@@ -2,7 +2,7 @@ import { hbs } from 'ember-cli-htmlbars';
import { action } from '@storybook/addon-actions';
import { linkTo } from '@storybook/addon-links';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/ember/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/ember/writing-stories/introduction
export default {
title: 'Example/Button',
render: (args) => ({
@@ -12,11 +12,11 @@ export default {
argTypes: {
label: { control: 'text' },
},
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
};
-// More on writing stories with args: https://storybook.js.org/docs/7.0/ember/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/ember/writing-stories/args
export const Text = {
args: {
label: 'Button',
diff --git a/code/frameworks/html-vite/package.json b/code/frameworks/html-vite/package.json
index ad439c0f7f76..a448dab62157 100644
--- a/code/frameworks/html-vite/package.json
+++ b/code/frameworks/html-vite/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/html-vite",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for HTML and Vite: Develop HTML in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,15 +48,15 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/addons": "7.0.2",
- "@storybook/builder-vite": "7.0.2",
- "@storybook/channel-postmessage": "7.0.2",
- "@storybook/channel-websocket": "7.0.2",
- "@storybook/client-api": "7.0.2",
- "@storybook/core-server": "7.0.2",
- "@storybook/html": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/preview-web": "7.0.2",
+ "@storybook/addons": "7.1.0-alpha.0",
+ "@storybook/builder-vite": "7.1.0-alpha.0",
+ "@storybook/channel-postmessage": "7.1.0-alpha.0",
+ "@storybook/channel-websocket": "7.1.0-alpha.0",
+ "@storybook/client-api": "7.1.0-alpha.0",
+ "@storybook/core-server": "7.1.0-alpha.0",
+ "@storybook/html": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/preview-web": "7.1.0-alpha.0",
"magic-string": "^0.27.0"
},
"devDependencies": {
@@ -76,5 +76,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/html-webpack5/README.md b/code/frameworks/html-webpack5/README.md
index d18efbcb9829..5814bced713b 100644
--- a/code/frameworks/html-webpack5/README.md
+++ b/code/frameworks/html-webpack5/README.md
@@ -14,7 +14,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-app
-npx storybook init -t html
+npx storybook@latest init -t html
```
For more information visit: [storybook.js.org](https://storybook.js.org)
diff --git a/code/frameworks/html-webpack5/package.json b/code/frameworks/html-webpack5/package.json
index 7945eb3cca76..acb25a132c2c 100644
--- a/code/frameworks/html-webpack5/package.json
+++ b/code/frameworks/html-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/html-webpack5",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,11 +48,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/core-common": "7.0.2",
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/html": "7.0.2",
- "@storybook/preset-html-webpack": "7.0.2",
+ "@storybook/html": "7.1.0-alpha.0",
+ "@storybook/preset-html-webpack": "7.1.0-alpha.0",
"@types/node": "^16.0.0"
},
"devDependencies": {
@@ -76,5 +76,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md
index 497b8ec9ddfb..b491cf2205f1 100644
--- a/code/frameworks/nextjs/README.md
+++ b/code/frameworks/nextjs/README.md
@@ -88,7 +88,7 @@
Follow the prompts after running this command in your Next.js project's root directory:
```bash
-npx storybook@next init
+npx storybook@latest init
```
[More on getting started with Storybook](https://storybook.js.org/docs/react/get-started/install)
@@ -98,7 +98,7 @@ npx storybook@next init
This framework is designed to work with Storybook 7. If you’re not already using v7, upgrade with this command:
```bash
-npx storybook@next upgrade --prerelease
+npx storybook@latest upgrade --prerelease
```
#### Automatic migration
@@ -110,7 +110,7 @@ When running the `upgrade` command above, you should get a prompt asking you to
Install the framework:
```bash
-yarn add --dev @storybook/nextjs@next
+yarn add --dev @storybook/nextjs
```
Update your `main.js` to change the framework property:
diff --git a/code/frameworks/nextjs/package.json b/code/frameworks/nextjs/package.json
index e3eb52b2be00..33bda5bd6dfb 100644
--- a/code/frameworks/nextjs/package.json
+++ b/code/frameworks/nextjs/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/nextjs",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Next.js",
"keywords": [
"storybook",
@@ -71,13 +71,13 @@
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@babel/runtime": "^7.21.0",
- "@storybook/addon-actions": "7.0.2",
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/preset-react-webpack": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/react": "7.0.2",
+ "@storybook/addon-actions": "7.1.0-alpha.0",
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/preset-react-webpack": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/react": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"css-loader": "^6.7.3",
"find-up": "^5.0.0",
@@ -147,5 +147,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/nextjs/template/cli/js/Button.stories.js b/code/frameworks/nextjs/template/cli/js/Button.stories.js
index 116ce20366a9..3bf4ad07b75d 100644
--- a/code/frameworks/nextjs/template/cli/js/Button.stories.js
+++ b/code/frameworks/nextjs/template/cli/js/Button.stories.js
@@ -1,6 +1,6 @@
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/react/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
export default {
title: 'Example/Button',
component: Button,
@@ -12,7 +12,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/7.0/react/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/frameworks/nextjs/template/cli/js/Header.stories.js b/code/frameworks/nextjs/template/cli/js/Header.stories.js
index d34acd2e7405..704a8c699534 100644
--- a/code/frameworks/nextjs/template/cli/js/Header.stories.js
+++ b/code/frameworks/nextjs/template/cli/js/Header.stories.js
@@ -3,10 +3,10 @@ import { Header } from './Header';
export default {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/frameworks/nextjs/template/cli/js/Page.stories.js b/code/frameworks/nextjs/template/cli/js/Page.stories.js
index 40b25af0a1e6..5bd1d6eba765 100644
--- a/code/frameworks/nextjs/template/cli/js/Page.stories.js
+++ b/code/frameworks/nextjs/template/cli/js/Page.stories.js
@@ -5,14 +5,14 @@ export default {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/frameworks/nextjs/template/cli/ts-3-8/Button.stories.ts b/code/frameworks/nextjs/template/cli/ts-3-8/Button.stories.ts
index 382a9ae49a1f..eeb81284b442 100644
--- a/code/frameworks/nextjs/template/cli/ts-3-8/Button.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts-3-8/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/react/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Example/Button',
component: Button,
@@ -17,7 +17,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/7.0/react/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/frameworks/nextjs/template/cli/ts-3-8/Header.stories.ts b/code/frameworks/nextjs/template/cli/ts-3-8/Header.stories.ts
index a31fea43f119..448685eab0eb 100644
--- a/code/frameworks/nextjs/template/cli/ts-3-8/Header.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts-3-8/Header.stories.ts
@@ -4,10 +4,10 @@ import { Header } from './Header';
const meta: Meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/frameworks/nextjs/template/cli/ts-3-8/Page.stories.ts b/code/frameworks/nextjs/template/cli/ts-3-8/Page.stories.ts
index 357a46f74d91..0e48941ab149 100644
--- a/code/frameworks/nextjs/template/cli/ts-3-8/Page.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts-3-8/Page.stories.ts
@@ -7,7 +7,7 @@ const meta: Meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
};
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/frameworks/nextjs/template/cli/ts/Button.stories.ts b/code/frameworks/nextjs/template/cli/ts/Button.stories.ts
index 382a9ae49a1f..eeb81284b442 100644
--- a/code/frameworks/nextjs/template/cli/ts/Button.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/react/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Example/Button',
component: Button,
@@ -17,7 +17,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/7.0/react/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/frameworks/nextjs/template/cli/ts/Header.stories.ts b/code/frameworks/nextjs/template/cli/ts/Header.stories.ts
index a31fea43f119..448685eab0eb 100644
--- a/code/frameworks/nextjs/template/cli/ts/Header.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts/Header.stories.ts
@@ -4,10 +4,10 @@ import { Header } from './Header';
const meta: Meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/frameworks/nextjs/template/cli/ts/Page.stories.ts b/code/frameworks/nextjs/template/cli/ts/Page.stories.ts
index 357a46f74d91..0e48941ab149 100644
--- a/code/frameworks/nextjs/template/cli/ts/Page.stories.ts
+++ b/code/frameworks/nextjs/template/cli/ts/Page.stories.ts
@@ -7,7 +7,7 @@ const meta: Meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
};
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/frameworks/preact-vite/README.md b/code/frameworks/preact-vite/README.md
index e6dae7bcfdd4..e418166a3b54 100644
--- a/code/frameworks/preact-vite/README.md
+++ b/code/frameworks/preact-vite/README.md
@@ -12,7 +12,7 @@
Follow the prompts after running this command in your Preact project's root directory:
```bash
-npx storybook@next init
+npx storybook@latest init
```
[More on getting started with Storybook](https://storybook.js.org/docs/preact/get-started/install)
@@ -22,7 +22,7 @@ npx storybook@next init
This framework is designed to work with Storybook 7. If you’re not already using v7, upgrade with this command:
```bash
-npx storybook@next upgrade --prerelease
+npx storybook@latest upgrade --prerelease
```
#### Manual migration
@@ -30,7 +30,7 @@ npx storybook@next upgrade --prerelease
Install the framework:
```bash
-yarn add --dev @storybook/preact-vite@next
+yarn add --dev @storybook/preact-vite
```
Update your `main.js` to change the framework property:
diff --git a/code/frameworks/preact-vite/package.json b/code/frameworks/preact-vite/package.json
index bd37af715666..7317edcd4bf2 100644
--- a/code/frameworks/preact-vite/package.json
+++ b/code/frameworks/preact-vite/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preact-vite",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,8 +48,8 @@
},
"dependencies": {
"@preact/preset-vite": "^2.0.0",
- "@storybook/builder-vite": "7.0.2",
- "@storybook/preact": "7.0.2"
+ "@storybook/builder-vite": "7.1.0-alpha.0",
+ "@storybook/preact": "7.1.0-alpha.0"
},
"devDependencies": {
"@types/node": "^16.0.0",
@@ -73,5 +73,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/preact-webpack5/README.md b/code/frameworks/preact-webpack5/README.md
index 60b338b400b2..0402d392c40b 100644
--- a/code/frameworks/preact-webpack5/README.md
+++ b/code/frameworks/preact-webpack5/README.md
@@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-preact-app
-npx storybook init
+npx storybook@latest init
```
For more information visit: [storybook.js.org](https://storybook.js.org)
diff --git a/code/frameworks/preact-webpack5/package.json b/code/frameworks/preact-webpack5/package.json
index 20c11dde379c..2dc79f070d05 100644
--- a/code/frameworks/preact-webpack5/package.json
+++ b/code/frameworks/preact-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preact-webpack5",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [
"storybook"
@@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/preact": "7.0.2",
- "@storybook/preset-preact-webpack": "7.0.2",
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/preact": "7.1.0-alpha.0",
+ "@storybook/preset-preact-webpack": "7.1.0-alpha.0",
"@types/node": "^16.0.0"
},
"devDependencies": {
@@ -77,5 +77,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json
index b0fa0475a1ea..012a36d6239a 100644
--- a/code/frameworks/react-vite/package.json
+++ b/code/frameworks/react-vite/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/react-vite",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -50,8 +50,8 @@
"dependencies": {
"@joshwooding/vite-plugin-react-docgen-typescript": "^0.2.1",
"@rollup/pluginutils": "^4.2.0",
- "@storybook/builder-vite": "7.0.2",
- "@storybook/react": "7.0.2",
+ "@storybook/builder-vite": "7.1.0-alpha.0",
+ "@storybook/react": "7.1.0-alpha.0",
"@vitejs/plugin-react": "^3.0.1",
"ast-types": "^0.14.2",
"magic-string": "^0.27.0",
@@ -80,5 +80,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/react-webpack5/README.md b/code/frameworks/react-webpack5/README.md
index 6aee8981736d..68e2ff7255c4 100644
--- a/code/frameworks/react-webpack5/README.md
+++ b/code/frameworks/react-webpack5/README.md
@@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-react-app
-npx storybook init
+npx storybook@latest init
```
For more information visit: [storybook.js.org](https://storybook.js.org)
diff --git a/code/frameworks/react-webpack5/package.json b/code/frameworks/react-webpack5/package.json
index cda277081ca6..0cc69a25763e 100644
--- a/code/frameworks/react-webpack5/package.json
+++ b/code/frameworks/react-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/react-webpack5",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,9 +48,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/preset-react-webpack": "7.0.2",
- "@storybook/react": "7.0.2",
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/preset-react-webpack": "7.1.0-alpha.0",
+ "@storybook/react": "7.1.0-alpha.0",
"@types/node": "^16.0.0"
},
"devDependencies": {
@@ -83,5 +83,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/server-webpack5/README.md b/code/frameworks/server-webpack5/README.md
index e8178180cc9b..0afe86f1fef0 100644
--- a/code/frameworks/server-webpack5/README.md
+++ b/code/frameworks/server-webpack5/README.md
@@ -14,7 +14,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-app
-npx storybook init -t server
+npx storybook@latest init -t server
```
To configure the server that Storybook will connect to, export a global parameter `parameters.server.url` in `.storybook/preview.js`:
diff --git a/code/frameworks/server-webpack5/package.json b/code/frameworks/server-webpack5/package.json
index a217e409fa66..8f28f18769f1 100644
--- a/code/frameworks/server-webpack5/package.json
+++ b/code/frameworks/server-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/server-webpack5",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/preset-server-webpack": "7.0.2",
- "@storybook/server": "7.0.2",
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/preset-server-webpack": "7.1.0-alpha.0",
+ "@storybook/server": "7.1.0-alpha.0",
"@types/node": "^16.0.0"
},
"devDependencies": {
@@ -74,5 +74,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/svelte-vite/package.json b/code/frameworks/svelte-vite/package.json
index a99b5253d118..7bfaf19f64d3 100644
--- a/code/frameworks/svelte-vite/package.json
+++ b/code/frameworks/svelte-vite/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/svelte-vite",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Svelte and Vite: Develop Svelte components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,9 +48,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-vite": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/svelte": "7.0.2",
+ "@storybook/builder-vite": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/svelte": "7.1.0-alpha.0",
"@sveltejs/vite-plugin-svelte": "^2.0.0",
"magic-string": "^0.27.0",
"svelte": "^3.0.0",
@@ -80,5 +80,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/svelte-webpack5/README.md b/code/frameworks/svelte-webpack5/README.md
index 2c1279392720..6a6202a960e3 100644
--- a/code/frameworks/svelte-webpack5/README.md
+++ b/code/frameworks/svelte-webpack5/README.md
@@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-svelte-app
-npx storybook init
+npx storybook@latest init
```
For more information visit: [storybook.js.org](https://storybook.js.org)
diff --git a/code/frameworks/svelte-webpack5/package.json b/code/frameworks/svelte-webpack5/package.json
index c508cac5835c..bc13aadfa8e6 100644
--- a/code/frameworks/svelte-webpack5/package.json
+++ b/code/frameworks/svelte-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/svelte-webpack5",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/preset-svelte-webpack": "7.0.2",
- "@storybook/svelte": "7.0.2"
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/preset-svelte-webpack": "7.1.0-alpha.0",
+ "@storybook/svelte": "7.1.0-alpha.0"
},
"devDependencies": {
"svelte": "^3.48.0",
@@ -78,5 +78,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/sveltekit/README.md b/code/frameworks/sveltekit/README.md
index 4b0951c57574..0777e8fe9ed5 100644
--- a/code/frameworks/sveltekit/README.md
+++ b/code/frameworks/sveltekit/README.md
@@ -52,7 +52,7 @@ This is just the beginning. We're close to adding basic support for many of the
Run the following command in your SvelteKit project's root directory, and follow the prompts:
```bash
-npx storybook@next init
+npx storybook@latest init
```
[More on getting started with Storybook](https://storybook.js.org/docs/svelte/get-started/install)
@@ -62,7 +62,7 @@ npx storybook@next init
This framework is designed to work with Storybook 7. If you’re not already using v7, upgrade with this command:
```bash
-npx storybook@next upgrade --prerelease
+npx storybook@latest upgrade --prerelease
```
#### Automatic migration
@@ -76,7 +76,7 @@ Storybook 7.0 automatically loads your Vite config, and by extension your Svelte
Install the framework:
```bash
-yarn add -D @storybook/sveltekit@next
+yarn add -D @storybook/sveltekit
```
Update your `main.js` to change the framework property:
diff --git a/code/frameworks/sveltekit/package.json b/code/frameworks/sveltekit/package.json
index c12584252caf..7ab8f6d8c8e8 100644
--- a/code/frameworks/sveltekit/package.json
+++ b/code/frameworks/sveltekit/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/sveltekit",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for SvelteKit",
"keywords": [
"storybook",
@@ -51,9 +51,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-vite": "7.0.2",
- "@storybook/svelte": "7.0.2",
- "@storybook/svelte-vite": "7.0.2"
+ "@storybook/builder-vite": "7.1.0-alpha.0",
+ "@storybook/svelte": "7.1.0-alpha.0",
+ "@storybook/svelte-vite": "7.1.0-alpha.0"
},
"devDependencies": {
"@types/node": "^16.0.0",
@@ -76,5 +76,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/vue-vite/README.md b/code/frameworks/vue-vite/README.md
index 1d4c9cb9addb..f19ebc711b42 100644
--- a/code/frameworks/vue-vite/README.md
+++ b/code/frameworks/vue-vite/README.md
@@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-vue-app
-npx storybook init
+npx storybook@latest init
```
For more information visit: [storybook.js.org](https://storybook.js.org)
diff --git a/code/frameworks/vue-vite/package.json b/code/frameworks/vue-vite/package.json
index 8ebc8a4cea28..f94893f9e7e1 100644
--- a/code/frameworks/vue-vite/package.json
+++ b/code/frameworks/vue-vite/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/vue-vite",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Vue2 and Vite: Develop Vue2 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-vite": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/core-server": "7.0.2",
- "@storybook/vue": "7.0.2",
+ "@storybook/builder-vite": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/core-server": "7.1.0-alpha.0",
+ "@storybook/vue": "7.1.0-alpha.0",
"magic-string": "^0.27.0",
"vue-docgen-api": "^4.40.0"
},
@@ -79,5 +79,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/vue-webpack5/README.md b/code/frameworks/vue-webpack5/README.md
index 38ea1a0f762f..9af5a6d0512f 100644
--- a/code/frameworks/vue-webpack5/README.md
+++ b/code/frameworks/vue-webpack5/README.md
@@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-vue-app
-npx storybook init
+npx storybook@latest init
```
For more information visit: [storybook.js.org](https://storybook.js.org)
diff --git a/code/frameworks/vue-webpack5/package.json b/code/frameworks/vue-webpack5/package.json
index 6ab2da4e5ffd..7860f21582c5 100644
--- a/code/frameworks/vue-webpack5/package.json
+++ b/code/frameworks/vue-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/vue-webpack5",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/preset-vue-webpack": "7.0.2",
- "@storybook/vue": "7.0.2",
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/preset-vue-webpack": "7.1.0-alpha.0",
+ "@storybook/vue": "7.1.0-alpha.0",
"@types/node": "^16.0.0"
},
"devDependencies": {
@@ -83,5 +83,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/vue3-vite/README.md b/code/frameworks/vue3-vite/README.md
index 645c1aa64549..1eadfa5c7b7a 100644
--- a/code/frameworks/vue3-vite/README.md
+++ b/code/frameworks/vue3-vite/README.md
@@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-vue3-app
-npx storybook init
+npx storybook@latest init
```
For more information visit: [storybook.js.org](https://storybook.js.org)
diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json
index 32717a6e6fe9..20ce16700e5c 100644
--- a/code/frameworks/vue3-vite/package.json
+++ b/code/frameworks/vue3-vite/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/vue3-vite",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Vue3 and Vite: Develop Vue3 components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,9 +48,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-vite": "7.0.2",
- "@storybook/core-server": "7.0.2",
- "@storybook/vue3": "7.0.2",
+ "@storybook/builder-vite": "7.1.0-alpha.0",
+ "@storybook/core-server": "7.1.0-alpha.0",
+ "@storybook/vue3": "7.1.0-alpha.0",
"@vitejs/plugin-vue": "^4.0.0",
"magic-string": "^0.27.0",
"vue-docgen-api": "^4.40.0"
@@ -78,5 +78,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/vue3-webpack5/README.md b/code/frameworks/vue3-webpack5/README.md
index 7c2d6e699548..3795b03d961f 100644
--- a/code/frameworks/vue3-webpack5/README.md
+++ b/code/frameworks/vue3-webpack5/README.md
@@ -12,7 +12,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-vue3-app
-npx storybook init
+npx storybook@latest init
```
For more information visit: [storybook.js.org](https://storybook.js.org)
diff --git a/code/frameworks/vue3-webpack5/package.json b/code/frameworks/vue3-webpack5/package.json
index b6e14e21ee65..ba2513520ea3 100644
--- a/code/frameworks/vue3-webpack5/package.json
+++ b/code/frameworks/vue3-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/vue3-webpack5",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/preset-vue3-webpack": "7.0.2",
- "@storybook/vue3": "7.0.2",
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/preset-vue3-webpack": "7.1.0-alpha.0",
+ "@storybook/vue3": "7.1.0-alpha.0",
"@types/node": "^16.0.0"
},
"devDependencies": {
@@ -80,5 +80,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/web-components-vite/package.json b/code/frameworks/web-components-vite/package.json
index 096bc926d06e..b73ecae4a4c0 100644
--- a/code/frameworks/web-components-vite/package.json
+++ b/code/frameworks/web-components-vite/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/web-components-vite",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for web-components and Vite: Develop Web Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/builder-vite": "7.0.2",
- "@storybook/core-server": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/web-components": "7.0.2",
+ "@storybook/builder-vite": "7.1.0-alpha.0",
+ "@storybook/core-server": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/web-components": "7.1.0-alpha.0",
"magic-string": "^0.27.0"
},
"devDependencies": {
@@ -75,5 +75,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/frameworks/web-components-webpack5/README.md b/code/frameworks/web-components-webpack5/README.md
index d06f383fc9a9..4562b5dc35ee 100644
--- a/code/frameworks/web-components-webpack5/README.md
+++ b/code/frameworks/web-components-webpack5/README.md
@@ -14,7 +14,7 @@ So you can develop UI components in isolation without worrying about app specifi
```sh
cd my-app
-npx storybook init -t web_components
+npx storybook@latest init -t web_components
```
For more information visit: [storybook.js.org](https://storybook.js.org)
diff --git a/code/frameworks/web-components-webpack5/package.json b/code/frameworks/web-components-webpack5/package.json
index 24a63ee618f7..82eda0352345 100644
--- a/code/frameworks/web-components-webpack5/package.json
+++ b/code/frameworks/web-components-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/web-components-webpack5",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
"keywords": [
"lit",
@@ -52,10 +52,10 @@
},
"dependencies": {
"@babel/preset-env": "^7.20.2",
- "@storybook/builder-webpack5": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/preset-web-components-webpack": "7.0.2",
- "@storybook/web-components": "7.0.2",
+ "@storybook/builder-webpack5": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/preset-web-components-webpack": "7.1.0-alpha.0",
+ "@storybook/web-components": "7.1.0-alpha.0",
"@types/node": "^16.0.0"
},
"devDependencies": {
@@ -80,5 +80,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lerna.json b/code/lerna.json
index 953c8bfc156f..e4feb09d40ae 100644
--- a/code/lerna.json
+++ b/code/lerna.json
@@ -2,5 +2,5 @@
"npmClient": "yarn",
"useWorkspaces": true,
"registry": "https://registry.npmjs.org",
- "version": "7.0.2"
+ "version": "7.1.0-alpha.0"
}
diff --git a/code/lib/addons/package.json b/code/lib/addons/package.json
index 3ef8ef744ce4..a675f8a196c1 100644
--- a/code/lib/addons/package.json
+++ b/code/lib/addons/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addons",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook addons store",
"keywords": [
"storybook"
@@ -44,9 +44,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2"
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@@ -60,5 +60,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/builder-manager/package.json b/code/lib/builder-manager/package.json
index c64555e452d5..51411188aad8 100644
--- a/code/lib/builder-manager/package.json
+++ b/code/lib/builder-manager/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/builder-manager",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook manager builder",
"keywords": [
"storybook"
@@ -44,9 +44,9 @@
},
"dependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/manager": "7.0.2",
- "@storybook/node-logger": "7.0.2",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/manager": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
"@types/ejs": "^3.1.1",
"@types/find-cache-dir": "^3.2.1",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10",
@@ -73,5 +73,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/builder-vite/README.md b/code/lib/builder-vite/README.md
index 15b4f8a48425..ce675ab3f580 100644
--- a/code/lib/builder-vite/README.md
+++ b/code/lib/builder-vite/README.md
@@ -39,7 +39,7 @@ See https://vitejs.dev/guide/#scaffolding-your-first-vite-project,
```
npm create vite@latest # follow the prompts
-npx sb@next init --builder vite && npm run storybook
+npx storybook@latest init --builder vite && npm run storybook
```
### Migration from webpack / CRA
diff --git a/code/lib/builder-vite/package.json b/code/lib/builder-vite/package.json
index 9df6d3442b29..1e87124dc0e4 100644
--- a/code/lib/builder-vite/package.json
+++ b/code/lib/builder-vite/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/builder-vite",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "A plugin to run and build Storybooks with Vite",
"homepage": "https://github.com/storybookjs/storybook/tree/main/code/lib/builder-vite/#readme",
"bugs": {
@@ -42,16 +42,16 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/channel-postmessage": "7.0.2",
- "@storybook/channel-websocket": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/csf-plugin": "7.0.2",
+ "@storybook/channel-postmessage": "7.1.0-alpha.0",
+ "@storybook/channel-websocket": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/csf-plugin": "7.1.0-alpha.0",
"@storybook/mdx2-csf": "^1.0.0",
- "@storybook/node-logger": "7.0.2",
- "@storybook/preview": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/preview": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"browser-assert": "^1.2.1",
"es-module-lexer": "^0.9.3",
"express": "^4.17.3",
@@ -102,5 +102,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/builder-webpack5/package.json b/code/lib/builder-webpack5/package.json
index 0cb2323ba42d..9b2643dd2836 100644
--- a/code/lib/builder-webpack5/package.json
+++ b/code/lib/builder-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/builder-webpack5",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -58,25 +58,25 @@
},
"dependencies": {
"@babel/core": "^7.12.10",
- "@storybook/addons": "7.0.2",
- "@storybook/api": "7.0.2",
- "@storybook/channel-postmessage": "7.0.2",
- "@storybook/channel-websocket": "7.0.2",
- "@storybook/channels": "7.0.2",
- "@storybook/client-api": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/core-events": "7.0.2",
- "@storybook/core-webpack": "7.0.2",
+ "@storybook/addons": "7.1.0-alpha.0",
+ "@storybook/api": "7.1.0-alpha.0",
+ "@storybook/channel-postmessage": "7.1.0-alpha.0",
+ "@storybook/channel-websocket": "7.1.0-alpha.0",
+ "@storybook/channels": "7.1.0-alpha.0",
+ "@storybook/client-api": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/preview": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/router": "7.0.2",
- "@storybook/store": "7.0.2",
- "@storybook/theming": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/preview": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/router": "7.1.0-alpha.0",
+ "@storybook/store": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.4",
"babel-loader": "^9.0.0",
@@ -131,5 +131,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/channel-postmessage/package.json b/code/lib/channel-postmessage/package.json
index 273533da844a..5f514a41db11 100644
--- a/code/lib/channel-postmessage/package.json
+++ b/code/lib/channel-postmessage/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/channel-postmessage",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -43,9 +43,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/channels": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/channels": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
"qs": "^6.10.0",
"telejson": "^7.0.3"
@@ -61,5 +61,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/channel-websocket/package.json b/code/lib/channel-websocket/package.json
index f9dad414e1ee..889f8609d5ac 100644
--- a/code/lib/channel-websocket/package.json
+++ b/code/lib/channel-websocket/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/channel-websocket",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -43,8 +43,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/channels": "7.0.2",
- "@storybook/client-logger": "7.0.2",
+ "@storybook/channels": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
"telejson": "^7.0.3"
},
@@ -59,5 +59,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/channels/package.json b/code/lib/channels/package.json
index 1c2862ccb8be..9f1daafef4a8 100644
--- a/code/lib/channels/package.json
+++ b/code/lib/channels/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -53,5 +53,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/cli-sb/package.json b/code/lib/cli-sb/package.json
index 2a229e1a5307..5f10c0d28ae3 100644
--- a/code/lib/cli-sb/package.json
+++ b/code/lib/cli-sb/package.json
@@ -1,6 +1,6 @@
{
"name": "sb",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook CLI",
"keywords": [
"storybook"
@@ -21,10 +21,10 @@
"license": "MIT",
"bin": "./index.js",
"dependencies": {
- "@storybook/cli": "7.0.2"
+ "@storybook/cli": "7.1.0-alpha.0"
},
"publishConfig": {
"access": "public"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/cli-storybook/package.json b/code/lib/cli-storybook/package.json
index b9a51475df6d..2b86f02071eb 100644
--- a/code/lib/cli-storybook/package.json
+++ b/code/lib/cli-storybook/package.json
@@ -1,6 +1,6 @@
{
"name": "storybook",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook CLI",
"keywords": [
"storybook"
@@ -24,10 +24,10 @@
"storybook": "./index.js"
},
"dependencies": {
- "@storybook/cli": "7.0.2"
+ "@storybook/cli": "7.1.0-alpha.0"
},
"publishConfig": {
"access": "public"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/cli/package.json b/code/lib/cli/package.json
index 29d545c5f701..df0d078fa01b 100644
--- a/code/lib/cli/package.json
+++ b/code/lib/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/cli",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [
"cli",
@@ -57,13 +57,13 @@
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@ndelangen/get-tarball": "^3.0.7",
- "@storybook/codemod": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/core-server": "7.0.2",
- "@storybook/csf-tools": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/telemetry": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/codemod": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/core-server": "7.1.0-alpha.0",
+ "@storybook/csf-tools": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/telemetry": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/semver": "^7.3.4",
"boxen": "^5.1.2",
"chalk": "^4.1.0",
@@ -94,7 +94,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
- "@storybook/client-api": "7.0.2",
+ "@storybook/client-api": "7.1.0-alpha.0",
"@types/cross-spawn": "^6.0.2",
"@types/prompts": "^2.0.9",
"@types/puppeteer-core": "^2.1.0",
@@ -114,5 +114,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts b/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts
index 6ac45d8c2b89..97e6b3f65e47 100644
--- a/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts
+++ b/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts
@@ -51,7 +51,7 @@ export const mdxgfm: Fix = {
Storybook 7.0 uses MDX2 for compiling MDX, and thus no longer supports GFM out of the box.
Because of this you need to explicitly add the GFM plugin in the addon-docs options:
- https://storybook.js.org/docs/7.0/react/writing-docs/mdx#lack-of-github-flavored-markdown-gfm
+ https://storybook.js.org/docs/react/writing-docs/mdx#lack-of-github-flavored-markdown-gfm
We recommend you follow the guide on the link above, however we can add a temporary storybook addon that helps make this migration easier.
We'll install the addon and add it to your storybook config.
diff --git a/code/lib/cli/src/automigrate/fixes/sb-scripts.ts b/code/lib/cli/src/automigrate/fixes/sb-scripts.ts
index 478a5b8c33ce..9c84d7b75062 100644
--- a/code/lib/cli/src/automigrate/fixes/sb-scripts.ts
+++ b/code/lib/cli/src/automigrate/fixes/sb-scripts.ts
@@ -35,7 +35,8 @@ export const getStorybookScripts = (allScripts: Record) => {
// in case people have scripts like `yarn start-storybook`
const isPrependedByPkgManager =
- previousWord && ['npx', 'run', 'yarn', 'pnpx'].some((cmd) => previousWord.includes(cmd));
+ previousWord &&
+ ['npx', 'run', 'yarn', 'pnpx', 'pnpm dlx'].some((cmd) => previousWord.includes(cmd));
if (isSbBinary && !isPrependedByPkgManager) {
isStorybookScript = true;
diff --git a/code/lib/cli/src/js-package-manager/NPMProxy.ts b/code/lib/cli/src/js-package-manager/NPMProxy.ts
index db79d2b3f320..709b6703eef8 100644
--- a/code/lib/cli/src/js-package-manager/NPMProxy.ts
+++ b/code/lib/cli/src/js-package-manager/NPMProxy.ts
@@ -1,4 +1,5 @@
import sort from 'semver/functions/sort';
+import { platform } from 'os';
import { JsPackageManager } from './JsPackageManager';
import type { PackageJson } from './PackageJson';
import type { InstallationMetadata, PackageMetadata } from './types';
@@ -51,7 +52,8 @@ export class NPMProxy extends JsPackageManager {
}
public findInstallations() {
- const commandResult = this.executeCommand('npm', ['ls', '--json', '--depth=99']);
+ const pipeToNull = platform() === 'win32' ? '2>NUL' : '2>/dev/null';
+ const commandResult = this.executeCommand('npm', ['ls', '--json', '--depth=99', pipeToNull]);
try {
const parsedOutput = JSON.parse(commandResult);
diff --git a/code/lib/cli/src/sandbox-templates.ts b/code/lib/cli/src/sandbox-templates.ts
index 7ef486d507aa..0d5c99661d16 100644
--- a/code/lib/cli/src/sandbox-templates.ts
+++ b/code/lib/cli/src/sandbox-templates.ts
@@ -205,8 +205,6 @@ const baseTemplates = {
'vue2-vite/2.7-js': {
name: 'Vue2 Vite (vue 2.7 JS)',
script: 'npx create-vue@2 {{beforeDir}} --default',
- // TODO: reenable this once sandbox is available
- inDevelopment: true,
expected: {
framework: '@storybook/vue-vite',
renderer: '@storybook/vue',
diff --git a/code/lib/cli/src/versions.ts b/code/lib/cli/src/versions.ts
index 373c8e8f97d9..75284ca034d9 100644
--- a/code/lib/cli/src/versions.ts
+++ b/code/lib/cli/src/versions.ts
@@ -1,96 +1,96 @@
// auto generated file, do not edit
export default {
- '@storybook/addon-a11y': '7.0.2',
- '@storybook/addon-actions': '7.0.2',
- '@storybook/addon-backgrounds': '7.0.2',
- '@storybook/addon-controls': '7.0.2',
- '@storybook/addon-docs': '7.0.2',
- '@storybook/addon-essentials': '7.0.2',
- '@storybook/addon-highlight': '7.0.2',
- '@storybook/addon-interactions': '7.0.2',
- '@storybook/addon-jest': '7.0.2',
- '@storybook/addon-links': '7.0.2',
- '@storybook/addon-mdx-gfm': '7.0.2',
- '@storybook/addon-measure': '7.0.2',
- '@storybook/addon-outline': '7.0.2',
- '@storybook/addon-storyshots': '7.0.2',
- '@storybook/addon-storyshots-puppeteer': '7.0.2',
- '@storybook/addon-storysource': '7.0.2',
- '@storybook/addon-toolbars': '7.0.2',
- '@storybook/addon-viewport': '7.0.2',
- '@storybook/addons': '7.0.2',
- '@storybook/angular': '7.0.2',
- '@storybook/api': '7.0.2',
- '@storybook/blocks': '7.0.2',
- '@storybook/builder-manager': '7.0.2',
- '@storybook/builder-vite': '7.0.2',
- '@storybook/builder-webpack5': '7.0.2',
- '@storybook/channel-postmessage': '7.0.2',
- '@storybook/channel-websocket': '7.0.2',
- '@storybook/channels': '7.0.2',
- '@storybook/cli': '7.0.2',
- '@storybook/client-api': '7.0.2',
- '@storybook/client-logger': '7.0.2',
- '@storybook/codemod': '7.0.2',
- '@storybook/components': '7.0.2',
- '@storybook/core-client': '7.0.2',
- '@storybook/core-common': '7.0.2',
- '@storybook/core-events': '7.0.2',
- '@storybook/core-server': '7.0.2',
- '@storybook/core-webpack': '7.0.2',
- '@storybook/csf-plugin': '7.0.2',
- '@storybook/csf-tools': '7.0.2',
- '@storybook/docs-tools': '7.0.2',
- '@storybook/ember': '7.0.2',
- '@storybook/html': '7.0.2',
- '@storybook/html-vite': '7.0.2',
- '@storybook/html-webpack5': '7.0.2',
- '@storybook/instrumenter': '7.0.2',
- '@storybook/manager': '7.0.2',
- '@storybook/manager-api': '7.0.2',
- '@storybook/nextjs': '7.0.2',
- '@storybook/node-logger': '7.0.2',
- '@storybook/postinstall': '7.0.2',
- '@storybook/preact': '7.0.2',
- '@storybook/preact-vite': '7.0.2',
- '@storybook/preact-webpack5': '7.0.2',
- '@storybook/preset-create-react-app': '7.0.2',
- '@storybook/preset-html-webpack': '7.0.2',
- '@storybook/preset-preact-webpack': '7.0.2',
- '@storybook/preset-react-webpack': '7.0.2',
- '@storybook/preset-server-webpack': '7.0.2',
- '@storybook/preset-svelte-webpack': '7.0.2',
- '@storybook/preset-vue-webpack': '7.0.2',
- '@storybook/preset-vue3-webpack': '7.0.2',
- '@storybook/preset-web-components-webpack': '7.0.2',
- '@storybook/preview': '7.0.2',
- '@storybook/preview-api': '7.0.2',
- '@storybook/preview-web': '7.0.2',
- '@storybook/react': '7.0.2',
- '@storybook/react-dom-shim': '7.0.2',
- '@storybook/react-vite': '7.0.2',
- '@storybook/react-webpack5': '7.0.2',
- '@storybook/router': '7.0.2',
- '@storybook/server': '7.0.2',
- '@storybook/server-webpack5': '7.0.2',
- '@storybook/source-loader': '7.0.2',
- '@storybook/store': '7.0.2',
- '@storybook/svelte': '7.0.2',
- '@storybook/svelte-vite': '7.0.2',
- '@storybook/svelte-webpack5': '7.0.2',
- '@storybook/sveltekit': '7.0.2',
- '@storybook/telemetry': '7.0.2',
- '@storybook/theming': '7.0.2',
- '@storybook/types': '7.0.2',
- '@storybook/vue': '7.0.2',
- '@storybook/vue-vite': '7.0.2',
- '@storybook/vue-webpack5': '7.0.2',
- '@storybook/vue3': '7.0.2',
- '@storybook/vue3-vite': '7.0.2',
- '@storybook/vue3-webpack5': '7.0.2',
- '@storybook/web-components': '7.0.2',
- '@storybook/web-components-vite': '7.0.2',
- '@storybook/web-components-webpack5': '7.0.2',
- sb: '7.0.2',
- storybook: '7.0.2',
+ '@storybook/addon-a11y': '7.1.0-alpha.0',
+ '@storybook/addon-actions': '7.1.0-alpha.0',
+ '@storybook/addon-backgrounds': '7.1.0-alpha.0',
+ '@storybook/addon-controls': '7.1.0-alpha.0',
+ '@storybook/addon-docs': '7.1.0-alpha.0',
+ '@storybook/addon-essentials': '7.1.0-alpha.0',
+ '@storybook/addon-highlight': '7.1.0-alpha.0',
+ '@storybook/addon-interactions': '7.1.0-alpha.0',
+ '@storybook/addon-jest': '7.1.0-alpha.0',
+ '@storybook/addon-links': '7.1.0-alpha.0',
+ '@storybook/addon-mdx-gfm': '7.1.0-alpha.0',
+ '@storybook/addon-measure': '7.1.0-alpha.0',
+ '@storybook/addon-outline': '7.1.0-alpha.0',
+ '@storybook/addon-storyshots': '7.1.0-alpha.0',
+ '@storybook/addon-storyshots-puppeteer': '7.1.0-alpha.0',
+ '@storybook/addon-storysource': '7.1.0-alpha.0',
+ '@storybook/addon-toolbars': '7.1.0-alpha.0',
+ '@storybook/addon-viewport': '7.1.0-alpha.0',
+ '@storybook/addons': '7.1.0-alpha.0',
+ '@storybook/angular': '7.1.0-alpha.0',
+ '@storybook/api': '7.1.0-alpha.0',
+ '@storybook/blocks': '7.1.0-alpha.0',
+ '@storybook/builder-manager': '7.1.0-alpha.0',
+ '@storybook/builder-vite': '7.1.0-alpha.0',
+ '@storybook/builder-webpack5': '7.1.0-alpha.0',
+ '@storybook/channel-postmessage': '7.1.0-alpha.0',
+ '@storybook/channel-websocket': '7.1.0-alpha.0',
+ '@storybook/channels': '7.1.0-alpha.0',
+ '@storybook/cli': '7.1.0-alpha.0',
+ '@storybook/client-api': '7.1.0-alpha.0',
+ '@storybook/client-logger': '7.1.0-alpha.0',
+ '@storybook/codemod': '7.1.0-alpha.0',
+ '@storybook/components': '7.1.0-alpha.0',
+ '@storybook/core-client': '7.1.0-alpha.0',
+ '@storybook/core-common': '7.1.0-alpha.0',
+ '@storybook/core-events': '7.1.0-alpha.0',
+ '@storybook/core-server': '7.1.0-alpha.0',
+ '@storybook/core-webpack': '7.1.0-alpha.0',
+ '@storybook/csf-plugin': '7.1.0-alpha.0',
+ '@storybook/csf-tools': '7.1.0-alpha.0',
+ '@storybook/docs-tools': '7.1.0-alpha.0',
+ '@storybook/ember': '7.1.0-alpha.0',
+ '@storybook/html': '7.1.0-alpha.0',
+ '@storybook/html-vite': '7.1.0-alpha.0',
+ '@storybook/html-webpack5': '7.1.0-alpha.0',
+ '@storybook/instrumenter': '7.1.0-alpha.0',
+ '@storybook/manager': '7.1.0-alpha.0',
+ '@storybook/manager-api': '7.1.0-alpha.0',
+ '@storybook/nextjs': '7.1.0-alpha.0',
+ '@storybook/node-logger': '7.1.0-alpha.0',
+ '@storybook/postinstall': '7.1.0-alpha.0',
+ '@storybook/preact': '7.1.0-alpha.0',
+ '@storybook/preact-vite': '7.1.0-alpha.0',
+ '@storybook/preact-webpack5': '7.1.0-alpha.0',
+ '@storybook/preset-create-react-app': '7.1.0-alpha.0',
+ '@storybook/preset-html-webpack': '7.1.0-alpha.0',
+ '@storybook/preset-preact-webpack': '7.1.0-alpha.0',
+ '@storybook/preset-react-webpack': '7.1.0-alpha.0',
+ '@storybook/preset-server-webpack': '7.1.0-alpha.0',
+ '@storybook/preset-svelte-webpack': '7.1.0-alpha.0',
+ '@storybook/preset-vue-webpack': '7.1.0-alpha.0',
+ '@storybook/preset-vue3-webpack': '7.1.0-alpha.0',
+ '@storybook/preset-web-components-webpack': '7.1.0-alpha.0',
+ '@storybook/preview': '7.1.0-alpha.0',
+ '@storybook/preview-api': '7.1.0-alpha.0',
+ '@storybook/preview-web': '7.1.0-alpha.0',
+ '@storybook/react': '7.1.0-alpha.0',
+ '@storybook/react-dom-shim': '7.1.0-alpha.0',
+ '@storybook/react-vite': '7.1.0-alpha.0',
+ '@storybook/react-webpack5': '7.1.0-alpha.0',
+ '@storybook/router': '7.1.0-alpha.0',
+ '@storybook/server': '7.1.0-alpha.0',
+ '@storybook/server-webpack5': '7.1.0-alpha.0',
+ '@storybook/source-loader': '7.1.0-alpha.0',
+ '@storybook/store': '7.1.0-alpha.0',
+ '@storybook/svelte': '7.1.0-alpha.0',
+ '@storybook/svelte-vite': '7.1.0-alpha.0',
+ '@storybook/svelte-webpack5': '7.1.0-alpha.0',
+ '@storybook/sveltekit': '7.1.0-alpha.0',
+ '@storybook/telemetry': '7.1.0-alpha.0',
+ '@storybook/theming': '7.1.0-alpha.0',
+ '@storybook/types': '7.1.0-alpha.0',
+ '@storybook/vue': '7.1.0-alpha.0',
+ '@storybook/vue-vite': '7.1.0-alpha.0',
+ '@storybook/vue-webpack5': '7.1.0-alpha.0',
+ '@storybook/vue3': '7.1.0-alpha.0',
+ '@storybook/vue3-vite': '7.1.0-alpha.0',
+ '@storybook/vue3-webpack5': '7.1.0-alpha.0',
+ '@storybook/web-components': '7.1.0-alpha.0',
+ '@storybook/web-components-vite': '7.1.0-alpha.0',
+ '@storybook/web-components-webpack5': '7.1.0-alpha.0',
+ sb: '7.1.0-alpha.0',
+ storybook: '7.1.0-alpha.0',
};
diff --git a/code/lib/client-api/package.json b/code/lib/client-api/package.json
index 44f8bb09d50d..81485a5d56bd 100644
--- a/code/lib/client-api/package.json
+++ b/code/lib/client-api/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/client-api",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook Client API",
"keywords": [
"storybook"
@@ -42,8 +42,8 @@
"prep": "../../../scripts/prepare/facade.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/preview-api": "7.0.2"
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0"
},
"publishConfig": {
"access": "public"
@@ -54,5 +54,5 @@
],
"shim": "@storybook/preview-api/dist/client-api"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/client-logger/package.json b/code/lib/client-logger/package.json
index deac8a82545f..98f5f42f43fa 100644
--- a/code/lib/client-logger/package.json
+++ b/code/lib/client-logger/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -56,5 +56,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json
index 97fb116f0169..d93d49691b44 100644
--- a/code/lib/codemod/package.json
+++ b/code/lib/codemod/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/codemod",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "A collection of codemod scripts written with JSCodeshift",
"keywords": [
"storybook"
@@ -49,9 +49,9 @@
"@babel/preset-env": "~7.21.0",
"@babel/types": "~7.21.2",
"@storybook/csf": "^0.1.0",
- "@storybook/csf-tools": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/csf-tools": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"cross-spawn": "^7.0.3",
"globby": "^11.0.2",
"jscodeshift": "^0.14.0",
@@ -97,5 +97,5 @@
"cjs"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/core-client/package.json b/code/lib/core-client/package.json
index 7a2baf270234..7fad4ae25579 100644
--- a/code/lib/core-client/package.json
+++ b/code/lib/core-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/core-client",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -35,8 +35,8 @@
"prep": "../../../scripts/prepare/facade.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/preview-api": "7.0.2"
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0"
},
"publishConfig": {
"access": "public"
@@ -47,5 +47,5 @@
],
"shim": "@storybook/preview-api/dist/core-client"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/core-common/package.json b/code/lib/core-common/package.json
index 71b94ade4cff..6fcc63a9395d 100644
--- a/code/lib/core-common/package.json
+++ b/code/lib/core-common/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/core-common",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -43,8 +43,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/node-logger": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"@types/pretty-hrtime": "^1.0.0",
"chalk": "^4.1.0",
@@ -80,5 +80,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/core-events/package.json b/code/lib/core-events/package.json
index 177167a0e432..46687ab4d081 100644
--- a/code/lib/core-events/package.json
+++ b/code/lib/core-events/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/core-events",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Event names used in storybook core",
"keywords": [
"storybook"
@@ -53,5 +53,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/core-server/package.json b/code/lib/core-server/package.json
index 7074fe5fb968..c82571ff0c39 100644
--- a/code/lib/core-server/package.json
+++ b/code/lib/core-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/core-server",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -58,18 +58,18 @@
"dependencies": {
"@aw-web-design/x-default-browser": "1.4.88",
"@discoveryjs/json-ext": "^0.5.3",
- "@storybook/builder-manager": "7.0.2",
- "@storybook/core-common": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/builder-manager": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/csf": "^0.1.0",
- "@storybook/csf-tools": "7.0.2",
+ "@storybook/csf-tools": "7.1.0-alpha.0",
"@storybook/docs-mdx": "^0.1.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/telemetry": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/manager": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/telemetry": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/detect-port": "^1.3.0",
"@types/node": "^16.0.0",
"@types/node-fetch": "^2.5.7",
@@ -120,5 +120,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/core-webpack/package.json b/code/lib/core-webpack/package.json
index 5c05bfaaa7f5..8b5b99a0001d 100644
--- a/code/lib/core-webpack/package.json
+++ b/code/lib/core-webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/core-webpack",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -43,9 +43,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-common": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"ts-dedent": "^2.0.0"
},
@@ -62,5 +62,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/csf-plugin/package.json b/code/lib/csf-plugin/package.json
index a5760e7f17c0..eb603afb1567 100644
--- a/code/lib/csf-plugin/package.json
+++ b/code/lib/csf-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/csf-plugin",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Enrich CSF files via static analysis",
"keywords": [
"storybook"
@@ -43,7 +43,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/csf-tools": "7.0.2",
+ "@storybook/csf-tools": "7.1.0-alpha.0",
"unplugin": "^0.10.2"
},
"devDependencies": {
@@ -64,5 +64,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/csf-tools/package.json b/code/lib/csf-tools/package.json
index bd4fc9da78fa..9bf32bba85eb 100644
--- a/code/lib/csf-tools/package.json
+++ b/code/lib/csf-tools/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/csf-tools",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Parse and manipulate CSF and Storybook config files",
"keywords": [
"storybook"
@@ -46,7 +46,7 @@
"@babel/traverse": "~7.21.2",
"@babel/types": "~7.21.2",
"@storybook/csf": "^0.1.0",
- "@storybook/types": "7.0.2",
+ "@storybook/types": "7.1.0-alpha.0",
"fs-extra": "^11.1.0",
"recast": "^0.23.1",
"ts-dedent": "^2.0.0"
@@ -68,5 +68,5 @@
"cjs"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/docs-tools/package.json b/code/lib/docs-tools/package.json
index d02276a56642..8eb06b681a8f 100644
--- a/code/lib/docs-tools/package.json
+++ b/code/lib/docs-tools/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/docs-tools",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Shared utility functions for frameworks to implement docs",
"keywords": [
"storybook"
@@ -44,9 +44,9 @@
},
"dependencies": {
"@babel/core": "^7.12.10",
- "@storybook/core-common": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/core-common": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/doctrine": "^0.0.3",
"doctrine": "^3.0.0",
"lodash": "^4.17.21"
@@ -64,5 +64,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/instrumenter/package.json b/code/lib/instrumenter/package.json
index a4a1c5a18272..93858d03e1e2 100644
--- a/code/lib/instrumenter/package.json
+++ b/code/lib/instrumenter/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/instrumenter",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -43,11 +43,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/channels": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/channels": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2"
+ "@storybook/preview-api": "7.1.0-alpha.0"
},
"devDependencies": {
"typescript": "~4.9.3"
@@ -60,5 +60,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/manager-api-shim/package.json b/code/lib/manager-api-shim/package.json
index c6de6097dc5d..43a36edd35a2 100644
--- a/code/lib/manager-api-shim/package.json
+++ b/code/lib/manager-api-shim/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/api",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook Manager API (facade)",
"keywords": [
"storybook"
@@ -42,8 +42,8 @@
"prep": "../../../scripts/prepare/facade.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/manager-api": "7.0.2"
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/manager-api": "7.1.0-alpha.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@@ -66,5 +66,5 @@
],
"shim": "@storybook/manager-api"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/manager-api/package.json b/code/lib/manager-api/package.json
index 99f0d5b784f0..d50610458ef0 100644
--- a/code/lib/manager-api/package.json
+++ b/code/lib/manager-api/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/manager-api",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Core Storybook Manager API & Context",
"keywords": [
"storybook"
@@ -42,14 +42,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/channels": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/channels": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/csf": "^0.1.0",
"@storybook/global": "^5.0.0",
- "@storybook/router": "7.0.2",
- "@storybook/theming": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/router": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"dequal": "^2.0.2",
"lodash": "^4.17.21",
"memoizerific": "^1.11.3",
@@ -78,5 +78,5 @@
"./src/index.tsx"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/manager-api/src/index.tsx b/code/lib/manager-api/src/index.tsx
index baa84f691776..ef5107c01ef6 100644
--- a/code/lib/manager-api/src/index.tsx
+++ b/code/lib/manager-api/src/index.tsx
@@ -486,7 +486,7 @@ export function useArgs(): [Args, (newArgs: Args) => void, (argNames?: string[])
const { getCurrentStoryData, updateStoryArgs, resetStoryArgs } = useStorybookApi();
const data = getCurrentStoryData();
- const args = data.type === 'story' ? data.args : {};
+ const args = data?.type === 'story' ? data.args : {};
const updateArgs = useCallback(
(newArgs: Args) => updateStoryArgs(data as API_StoryEntry, newArgs),
[data, updateStoryArgs]
diff --git a/code/lib/manager-api/src/version.ts b/code/lib/manager-api/src/version.ts
index 20b8fbfd793c..dc336a86b334 100644
--- a/code/lib/manager-api/src/version.ts
+++ b/code/lib/manager-api/src/version.ts
@@ -1 +1 @@
-export const version = '7.0.2';
+export const version = '7.1.0-alpha.0';
diff --git a/code/lib/node-logger/package.json b/code/lib/node-logger/package.json
index cc42e1d2e1a1..069f6fa864a1 100644
--- a/code/lib/node-logger/package.json
+++ b/code/lib/node-logger/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/node-logger",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -60,5 +60,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/postinstall/package.json b/code/lib/postinstall/package.json
index f46f16197674..323049e7b889 100644
--- a/code/lib/postinstall/package.json
+++ b/code/lib/postinstall/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/postinstall",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook addons postinstall utilities",
"keywords": [
"api",
@@ -57,5 +57,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/preview-api/package.json b/code/lib/preview-api/package.json
index f9ac1ad6cbfb..e672f898e905 100644
--- a/code/lib/preview-api/package.json
+++ b/code/lib/preview-api/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preview-api",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -67,13 +67,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/channel-postmessage": "7.0.2",
- "@storybook/channels": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/channel-postmessage": "7.1.0-alpha.0",
+ "@storybook/channels": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/csf": "^0.1.0",
"@storybook/global": "^5.0.0",
- "@storybook/types": "7.0.2",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/qs": "^6.9.5",
"dequal": "^2.0.2",
"lodash": "^4.17.21",
@@ -85,7 +85,7 @@
},
"devDependencies": {
"@jest/globals": "^26.6.2",
- "@storybook/core-common": "7.0.2",
+ "@storybook/core-common": "7.1.0-alpha.0",
"ansi-to-html": "^0.6.11",
"react": "^16.14.0",
"slash": "^5.0.0"
@@ -103,5 +103,5 @@
"./src/store.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/preview-api/src/modules/addons/hooks.ts b/code/lib/preview-api/src/modules/addons/hooks.ts
index c5f5acb3eec3..e695938a444d 100644
--- a/code/lib/preview-api/src/modules/addons/hooks.ts
+++ b/code/lib/preview-api/src/modules/addons/hooks.ts
@@ -134,7 +134,7 @@ function hookify(
decorator: DecoratorFunction
): DecoratorFunction;
function hookify(fn: AbstractFunction) {
- return (...args: any[]) => {
+ const hookified = (...args: any[]) => {
const { hooks }: { hooks: HooksContext } =
typeof args[0] === 'function' ? args[1] : args[0];
@@ -172,6 +172,9 @@ function hookify(fn: AbstractFunction) {
hooks.currentDecoratorName = prevDecoratorName;
return result;
};
+
+ hookified.originalFn = fn;
+ return hookified;
}
// Counter to prevent infinite loops.
diff --git a/code/lib/preview-web/package.json b/code/lib/preview-web/package.json
index 5cebd78bb4be..0ef64dbea9e2 100644
--- a/code/lib/preview-web/package.json
+++ b/code/lib/preview-web/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preview-web",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -42,8 +42,8 @@
"prep": "../../../scripts/prepare/facade.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/preview-api": "7.0.2"
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0"
},
"publishConfig": {
"access": "public"
@@ -54,5 +54,5 @@
],
"shim": "@storybook/preview-api/dist/preview-web"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/preview/package.json b/code/lib/preview/package.json
index c7859cc5ed31..6aa21dc7c3be 100644
--- a/code/lib/preview/package.json
+++ b/code/lib/preview/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preview",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -57,12 +57,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"devDependencies": {
- "@storybook/channel-postmessage": "7.0.2",
- "@storybook/channel-websocket": "7.0.2",
- "@storybook/channels": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-events": "7.0.2",
- "@storybook/preview-api": "7.0.2",
+ "@storybook/channel-postmessage": "7.1.0-alpha.0",
+ "@storybook/channel-websocket": "7.1.0-alpha.0",
+ "@storybook/channels": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
"typescript": "~4.9.3"
},
"publishConfig": {
@@ -74,5 +74,5 @@
"./src/globals.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/react-dom-shim/package.json b/code/lib/react-dom-shim/package.json
index 9400b1ef436a..5be7921937c4 100644
--- a/code/lib/react-dom-shim/package.json
+++ b/code/lib/react-dom-shim/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/react-dom-shim",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -54,7 +54,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"devDependencies": {
- "@storybook/types": "7.0.2",
+ "@storybook/types": "7.1.0-alpha.0",
"typescript": "~4.9.3"
},
"peerDependencies": {
@@ -71,5 +71,5 @@
"./src/react-18.tsx"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/router/package.json b/code/lib/router/package.json
index bd120f3d4543..3c1fe88a29ed 100644
--- a/code/lib/router/package.json
+++ b/code/lib/router/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/router",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Core Storybook Router",
"keywords": [
"storybook"
@@ -48,7 +48,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
"memoizerific": "^1.11.3",
"qs": "^6.10.0"
},
@@ -74,5 +74,5 @@
"./src/utils.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/source-loader/package.json b/code/lib/source-loader/package.json
index dd44e3fbff72..4bf3dc5fdf9f 100644
--- a/code/lib/source-loader/package.json
+++ b/code/lib/source-loader/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/source-loader",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Source loader",
"keywords": [
"lib",
@@ -45,7 +45,7 @@
},
"dependencies": {
"@storybook/csf": "^0.1.0",
- "@storybook/types": "7.0.2",
+ "@storybook/types": "7.1.0-alpha.0",
"estraverse": "^5.2.0",
"lodash": "^4.17.21",
"prettier": "^2.8.0"
@@ -67,5 +67,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/store/package.json b/code/lib/store/package.json
index 5c881e046d74..d0fb378c2887 100644
--- a/code/lib/store/package.json
+++ b/code/lib/store/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/store",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "",
"keywords": [
"storybook"
@@ -42,8 +42,8 @@
"prep": "../../../scripts/prepare/facade.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/preview-api": "7.0.2"
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0"
},
"publishConfig": {
"access": "public"
@@ -55,5 +55,5 @@
"platform": "node",
"shim": "@storybook/preview-api/dist/store"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/telemetry/package.json b/code/lib/telemetry/package.json
index df004dfe18c3..6163007e8f6c 100644
--- a/code/lib/telemetry/package.json
+++ b/code/lib/telemetry/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/telemetry",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Telemetry logging for crash reports and usage statistics",
"keywords": [
"storybook"
@@ -43,8 +43,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-common": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-common": "7.1.0-alpha.0",
"chalk": "^4.1.0",
"detect-package-manager": "^2.0.1",
"fetch-retry": "^5.0.2",
@@ -65,5 +65,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/theming/package.json b/code/lib/theming/package.json
index 785f754a719b..f0a1c1832921 100644
--- a/code/lib/theming/package.json
+++ b/code/lib/theming/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/theming",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@@ -49,12 +49,12 @@
},
"dependencies": {
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
- "@storybook/client-logger": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
"memoizerific": "^1.11.3"
},
"devDependencies": {
- "@emotion/cache": "^11.10.3",
+ "@emotion/cache": "^11.10.7",
"@emotion/is-prop-valid": "^1.2.0",
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
@@ -80,5 +80,5 @@
],
"post": "./scripts/fix-theme-type-export.ts"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/lib/types/package.json b/code/lib/types/package.json
index d9f63425a25f..1f344ab444e6 100644
--- a/code/lib/types/package.json
+++ b/code/lib/types/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/types",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Core Storybook TS Types",
"keywords": [
"storybook"
@@ -43,7 +43,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/channels": "7.0.2",
+ "@storybook/channels": "7.1.0-alpha.0",
"@types/babel__core": "^7.0.0",
"@types/express": "^4.7.0",
"file-system-cache": "^2.0.0"
@@ -61,5 +61,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/package.json b/code/package.json
index b75ce6cf4912..96a1a1b27bf1 100644
--- a/code/package.json
+++ b/code/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/root",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"private": true,
"description": "Storybook root",
"homepage": "https://storybook.js.org/",
diff --git a/code/presets/create-react-app/package.json b/code/presets/create-react-app/package.json
index 2c6eb99fa3ea..aae89bd2b4b2 100644
--- a/code/presets/create-react-app/package.json
+++ b/code/presets/create-react-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preset-create-react-app",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Create React App preset",
"keywords": [
"storybook"
@@ -50,14 +50,14 @@
"dependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.630821.0",
- "@storybook/types": "7.0.2",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/babel__core": "^7.1.7",
"babel-plugin-react-docgen": "^4.1.0",
"pnp-webpack-plugin": "^1.7.0",
"semver": "^7.3.5"
},
"devDependencies": {
- "@storybook/node-logger": "7.0.2",
+ "@storybook/node-logger": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.6",
"typescript": "~4.9.3"
@@ -77,5 +77,5 @@
"cjs"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/presets/html-webpack/package.json b/code/presets/html-webpack/package.json
index 4f78ba6d2a26..ba7f0f87b641 100644
--- a/code/presets/html-webpack/package.json
+++ b/code/presets/html-webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preset-html-webpack",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -48,7 +48,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-webpack": "7.0.2",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"html-loader": "^3.1.0",
"webpack": "5"
@@ -71,5 +71,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/presets/preact-webpack/package.json b/code/presets/preact-webpack/package.json
index 526c24e6d465..2a1cc49711cc 100644
--- a/code/presets/preact-webpack/package.json
+++ b/code/presets/preact-webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preset-preact-webpack",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [
"storybook"
@@ -50,7 +50,7 @@
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.21.0",
"@babel/preset-typescript": "^7.21.0",
- "@storybook/core-webpack": "7.0.2",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
"@types/node": "^16.0.0"
},
"devDependencies": {
@@ -73,5 +73,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/presets/react-webpack/package.json b/code/presets/react-webpack/package.json
index 51ef5303a1c8..069832b4d1cf 100644
--- a/code/presets/react-webpack/package.json
+++ b/code/presets/react-webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preset-react-webpack",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading",
"keywords": [
"storybook"
@@ -66,10 +66,10 @@
"@babel/preset-flow": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
- "@storybook/core-webpack": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
- "@storybook/node-logger": "7.0.2",
- "@storybook/react": "7.0.2",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
+ "@storybook/react": "7.1.0-alpha.0",
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.630821.0",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.4",
@@ -111,5 +111,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/presets/server-webpack/package.json b/code/presets/server-webpack/package.json
index 0960ed25fd0e..ffdfbb991ec2 100644
--- a/code/presets/server-webpack/package.json
+++ b/code/presets/server-webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preset-server-webpack",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -53,10 +53,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-server": "7.0.2",
- "@storybook/core-webpack": "7.0.2",
+ "@storybook/core-server": "7.1.0-alpha.0",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/server": "7.0.2",
+ "@storybook/server": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"safe-identifier": "^0.4.1",
"ts-dedent": "^2.0.0",
@@ -81,5 +81,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/presets/svelte-webpack/package.json b/code/presets/svelte-webpack/package.json
index d15333490eb3..43e6ec11e77c 100644
--- a/code/presets/svelte-webpack/package.json
+++ b/code/presets/svelte-webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preset-svelte-webpack",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -63,8 +63,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-webpack": "7.0.2",
- "@storybook/node-logger": "7.0.2",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
+ "@storybook/node-logger": "7.1.0-alpha.0",
"sveltedoc-parser": "^4.2.1",
"ts-dedent": "^2.0.0"
},
@@ -93,5 +93,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/presets/vue-webpack/package.json b/code/presets/vue-webpack/package.json
index ebe877c1fc94..126200c2e68c 100644
--- a/code/presets/vue-webpack/package.json
+++ b/code/presets/vue-webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preset-vue-webpack",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -58,8 +58,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-webpack": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"ts-loader": "^9.2.8",
"vue-docgen-api": "^4.44.23",
@@ -95,5 +95,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/presets/vue3-webpack/package.json b/code/presets/vue3-webpack/package.json
index 815f93d7e75a..f4ccfaaaf37e 100644
--- a/code/presets/vue3-webpack/package.json
+++ b/code/presets/vue3-webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preset-vue3-webpack",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -58,8 +58,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-webpack": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"ts-loader": "^9.2.8",
"vue-docgen-api": "^4.46.0",
@@ -92,5 +92,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/presets/web-components-webpack/package.json b/code/presets/web-components-webpack/package.json
index 13d7378c0c9c..6fe7c14a816a 100644
--- a/code/presets/web-components-webpack/package.json
+++ b/code/presets/web-components-webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preset-web-components-webpack",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
"keywords": [
"lit",
@@ -54,7 +54,7 @@
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.20.2",
- "@storybook/core-webpack": "7.0.2",
+ "@storybook/core-webpack": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"babel-loader": "^7.0.0 || ^8.0.0 || ^9.0.0",
"babel-plugin-bundled-import-meta": "^0.3.1"
@@ -78,5 +78,5 @@
],
"platform": "node"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/renderers/html/package.json b/code/renderers/html/package.json
index 8b9c9678fb00..5db208463bf7 100644
--- a/code/renderers/html/package.json
+++ b/code/renderers/html/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/html",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook HTML renderer",
"keywords": [
"storybook"
@@ -48,11 +48,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-client": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/core-client": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@@ -74,5 +74,5 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/renderers/html/template/cli/js/Button.stories.js b/code/renderers/html/template/cli/js/Button.stories.js
index 7b2348719149..62c96643b7ed 100644
--- a/code/renderers/html/template/cli/js/Button.stories.js
+++ b/code/renderers/html/template/cli/js/Button.stories.js
@@ -1,6 +1,6 @@
import { createButton } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/html/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/html/writing-stories/introduction
export default {
title: 'Example/Button',
tags: ['autodocs'],
@@ -21,7 +21,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/7.0/html/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/html/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/html/template/cli/js/Header.stories.js b/code/renderers/html/template/cli/js/Header.stories.js
index cc92429941a0..e593d18c3c90 100644
--- a/code/renderers/html/template/cli/js/Header.stories.js
+++ b/code/renderers/html/template/cli/js/Header.stories.js
@@ -2,14 +2,14 @@ import { createHeader } from './Header';
export default {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/html/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/html/writing-docs/autodocs
tags: ['autodocs'],
render: (args) => createHeader(args),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
layout: 'fullscreen',
},
- // More on argTypes: https://storybook.js.org/docs/7.0/html/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/html/api/argtypes
argTypes: {
onLogin: { action: 'onLogin' },
onLogout: { action: 'onLogout' },
diff --git a/code/renderers/html/template/cli/js/Page.stories.js b/code/renderers/html/template/cli/js/Page.stories.js
index a74a415ab94d..a80a4c4a9d24 100644
--- a/code/renderers/html/template/cli/js/Page.stories.js
+++ b/code/renderers/html/template/cli/js/Page.stories.js
@@ -5,14 +5,14 @@ export default {
title: 'Example/Page',
render: () => createPage(),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/html/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/html/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/html/template/cli/ts-3-8/Button.stories.ts b/code/renderers/html/template/cli/ts-3-8/Button.stories.ts
index 9cdb809233ea..cd13a8c0c50c 100644
--- a/code/renderers/html/template/cli/ts-3-8/Button.stories.ts
+++ b/code/renderers/html/template/cli/ts-3-8/Button.stories.ts
@@ -26,7 +26,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/7.0/html/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/html/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/html/template/cli/ts-3-8/Header.stories.ts b/code/renderers/html/template/cli/ts-3-8/Header.stories.ts
index 128410f0b62f..d5391bb4a2a9 100644
--- a/code/renderers/html/template/cli/ts-3-8/Header.stories.ts
+++ b/code/renderers/html/template/cli/ts-3-8/Header.stories.ts
@@ -4,14 +4,14 @@ import { createHeader } from './Header';
const meta: Meta = {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/html/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/html/writing-docs/autodocs
tags: ['autodocs'],
render: (args) => createHeader(args),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
layout: 'fullscreen',
},
- // More on argTypes: https://storybook.js.org/docs/7.0/html/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/html/api/argtypes
argTypes: {
onLogin: { action: 'onLogin' },
onLogout: { action: 'onLogout' },
diff --git a/code/renderers/html/template/cli/ts-3-8/Page.stories.ts b/code/renderers/html/template/cli/ts-3-8/Page.stories.ts
index 67407b7b0fae..04b893f795fc 100644
--- a/code/renderers/html/template/cli/ts-3-8/Page.stories.ts
+++ b/code/renderers/html/template/cli/ts-3-8/Page.stories.ts
@@ -6,7 +6,7 @@ const meta: Meta = {
title: 'Example/Page',
render: () => createPage(),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
layout: 'fullscreen',
},
};
@@ -15,7 +15,7 @@ export default meta;
export const LoggedOut: StoryObj = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/html/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/html/writing-tests/interaction-testing
export const LoggedIn: StoryObj = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/html/template/cli/ts-4-9/Button.stories.ts b/code/renderers/html/template/cli/ts-4-9/Button.stories.ts
index 054649acc0a7..d9bb7c93b473 100644
--- a/code/renderers/html/template/cli/ts-4-9/Button.stories.ts
+++ b/code/renderers/html/template/cli/ts-4-9/Button.stories.ts
@@ -26,7 +26,7 @@ const meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/7.0/html/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/html/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/html/template/cli/ts-4-9/Header.stories.ts b/code/renderers/html/template/cli/ts-4-9/Header.stories.ts
index 0b1d10feb6db..930fc0ea2e7c 100644
--- a/code/renderers/html/template/cli/ts-4-9/Header.stories.ts
+++ b/code/renderers/html/template/cli/ts-4-9/Header.stories.ts
@@ -4,14 +4,14 @@ import { createHeader } from './Header';
const meta = {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/html/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/html/writing-docs/autodocs
tags: ['autodocs'],
render: (args) => createHeader(args),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
layout: 'fullscreen',
},
- // More on argTypes: https://storybook.js.org/docs/7.0/html/api/argtypes
+ // More on argTypes: https://storybook.js.org/docs/html/api/argtypes
argTypes: {
onLogin: { action: 'onLogin' },
onLogout: { action: 'onLogout' },
diff --git a/code/renderers/html/template/cli/ts-4-9/Page.stories.ts b/code/renderers/html/template/cli/ts-4-9/Page.stories.ts
index 343f5df39a08..6de6300e49a0 100644
--- a/code/renderers/html/template/cli/ts-4-9/Page.stories.ts
+++ b/code/renderers/html/template/cli/ts-4-9/Page.stories.ts
@@ -6,7 +6,7 @@ const meta = {
title: 'Example/Page',
render: () => createPage(),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/html/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/html/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
@@ -15,7 +15,7 @@ export default meta;
export const LoggedOut: StoryObj = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/html/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/html/writing-tests/interaction-testing
export const LoggedIn: StoryObj = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/preact/package.json b/code/renderers/preact/package.json
index 87331e070b03..956eae79eec9 100644
--- a/code/renderers/preact/package.json
+++ b/code/renderers/preact/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preact",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook Preact renderer",
"keywords": [
"storybook"
@@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-client": "7.0.2",
+ "@storybook/core-client": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@@ -74,5 +74,5 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/renderers/preact/template/cli/Button.stories.jsx b/code/renderers/preact/template/cli/Button.stories.jsx
index 20f34564ffa3..f1e083a02030 100644
--- a/code/renderers/preact/template/cli/Button.stories.jsx
+++ b/code/renderers/preact/template/cli/Button.stories.jsx
@@ -1,6 +1,6 @@
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/preact/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/preact/writing-stories/introduction
export default {
title: 'Example/Button',
component: Button,
@@ -11,7 +11,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/7.0/preact/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/preact/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/preact/template/cli/Header.stories.jsx b/code/renderers/preact/template/cli/Header.stories.jsx
index 9dbdc4479a43..0fb4c57ada40 100644
--- a/code/renderers/preact/template/cli/Header.stories.jsx
+++ b/code/renderers/preact/template/cli/Header.stories.jsx
@@ -3,10 +3,10 @@ import { Header } from './Header';
export default {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/preact/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/preact/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/preact/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/preact/configure/story-layout
layout: 'fullscreen',
},
argTypes: {
diff --git a/code/renderers/preact/template/cli/Page.stories.jsx b/code/renderers/preact/template/cli/Page.stories.jsx
index 772a5f556257..d49ca397aaee 100644
--- a/code/renderers/preact/template/cli/Page.stories.jsx
+++ b/code/renderers/preact/template/cli/Page.stories.jsx
@@ -6,14 +6,14 @@ export default {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/preact/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/preact/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/preact/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/preact/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/react/package.json b/code/renderers/react/package.json
index 9efb56a020a7..cb93b2de0122 100644
--- a/code/renderers/react/package.json
+++ b/code/renderers/react/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/react",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook React renderer",
"keywords": [
"storybook"
@@ -53,13 +53,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-client": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-client": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2",
- "@storybook/react-dom-shim": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/react-dom-shim": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/escodegen": "^0.0.6",
"@types/estree": "^0.0.51",
"@types/node": "^16.0.0",
@@ -106,5 +106,5 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/renderers/react/src/applyDecorators.ts b/code/renderers/react/src/applyDecorators.ts
new file mode 100644
index 000000000000..cf5c44fa5f80
--- /dev/null
+++ b/code/renderers/react/src/applyDecorators.ts
@@ -0,0 +1,19 @@
+import { defaultDecorateStory } from '@storybook/preview-api';
+import type { LegacyStoryFn, DecoratorFunction } from '@storybook/types';
+
+import type { ReactRenderer } from './types';
+import { jsxDecorator } from './docs/jsxDecorator';
+
+export const applyDecorators = (
+ storyFn: LegacyStoryFn,
+ decorators: DecoratorFunction[]
+): LegacyStoryFn => {
+ // @ts-expect-error originalFn is not defined on the type for decorator. This is a temporary fix
+ // that we will remove soon (likely) in favour of a proper concept of "inner" decorators.
+ const jsxIndex = decorators.findIndex((d) => d.originalFn === jsxDecorator);
+
+ const reorderedDecorators =
+ jsxIndex === -1 ? decorators : [...decorators.splice(jsxIndex, 1), ...decorators];
+
+ return defaultDecorateStory(storyFn, reorderedDecorators);
+};
diff --git a/code/renderers/react/src/config.ts b/code/renderers/react/src/config.ts
index 0037cc15d2e2..123b577b5f83 100644
--- a/code/renderers/react/src/config.ts
+++ b/code/renderers/react/src/config.ts
@@ -5,3 +5,5 @@ export const parameters = { renderer: 'react', ...docsParams };
export { decorators, argTypesEnhancers } from './docs/config';
export { render, renderToCanvas } from './render';
+
+export { applyDecorators } from './applyDecorators';
diff --git a/code/renderers/react/template/cli/js/Button.stories.js b/code/renderers/react/template/cli/js/Button.stories.js
index 0f57d469c9bb..e5c48b131329 100644
--- a/code/renderers/react/template/cli/js/Button.stories.js
+++ b/code/renderers/react/template/cli/js/Button.stories.js
@@ -1,6 +1,6 @@
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/react/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
export default {
title: 'Example/Button',
component: Button,
@@ -10,7 +10,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/7.0/react/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/react/template/cli/js/Header.stories.js b/code/renderers/react/template/cli/js/Header.stories.js
index 1c326bc0a8f8..917384a22b58 100644
--- a/code/renderers/react/template/cli/js/Header.stories.js
+++ b/code/renderers/react/template/cli/js/Header.stories.js
@@ -3,10 +3,10 @@ import { Header } from './Header';
export default {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/react/template/cli/js/Page.stories.js b/code/renderers/react/template/cli/js/Page.stories.js
index 3f0a546592e2..7467c98cf48a 100644
--- a/code/renderers/react/template/cli/js/Page.stories.js
+++ b/code/renderers/react/template/cli/js/Page.stories.js
@@ -6,14 +6,14 @@ export default {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/react/template/cli/ts-3-8/Button.stories.ts b/code/renderers/react/template/cli/ts-3-8/Button.stories.ts
index 1d40efc1ce7b..bb3e5c10b1a6 100644
--- a/code/renderers/react/template/cli/ts-3-8/Button.stories.ts
+++ b/code/renderers/react/template/cli/ts-3-8/Button.stories.ts
@@ -6,7 +6,7 @@ import { Button } from './Button';
const meta: Meta = {
title: 'Example/Button',
component: Button,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
// More on argTypes: https://storybook.js.org/docs/react/api/argtypes
argTypes: {
diff --git a/code/renderers/react/template/cli/ts-3-8/Header.stories.ts b/code/renderers/react/template/cli/ts-3-8/Header.stories.ts
index 7d1554e575e8..a68af827aed4 100644
--- a/code/renderers/react/template/cli/ts-3-8/Header.stories.ts
+++ b/code/renderers/react/template/cli/ts-3-8/Header.stories.ts
@@ -4,7 +4,7 @@ import { Header } from './Header';
const meta: Meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
// More on Story layout: https://storybook.js.org/docs/react/configure/story-layout
diff --git a/code/renderers/react/template/cli/ts-4-9/Button.stories.ts b/code/renderers/react/template/cli/ts-4-9/Button.stories.ts
index af4e0c310239..00fabaeb532b 100644
--- a/code/renderers/react/template/cli/ts-4-9/Button.stories.ts
+++ b/code/renderers/react/template/cli/ts-4-9/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/react/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta = {
title: 'Example/Button',
component: Button,
@@ -15,7 +15,7 @@ const meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/7.0/react/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/react/template/cli/ts-4-9/Header.stories.ts b/code/renderers/react/template/cli/ts-4-9/Header.stories.ts
index 919246dbcb06..b0766a5a4839 100644
--- a/code/renderers/react/template/cli/ts-4-9/Header.stories.ts
+++ b/code/renderers/react/template/cli/ts-4-9/Header.stories.ts
@@ -4,10 +4,10 @@ import { Header } from './Header';
const meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
diff --git a/code/renderers/react/template/cli/ts-4-9/Page.stories.ts b/code/renderers/react/template/cli/ts-4-9/Page.stories.ts
index dd421c8a556a..69852a2bdc00 100644
--- a/code/renderers/react/template/cli/ts-4-9/Page.stories.ts
+++ b/code/renderers/react/template/cli/ts-4-9/Page.stories.ts
@@ -7,7 +7,7 @@ const meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/react/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/react/template/stories/decorators.stories.tsx b/code/renderers/react/template/stories/decorators.stories.tsx
index 9fdd9bfb4367..efaf66937289 100644
--- a/code/renderers/react/template/stories/decorators.stories.tsx
+++ b/code/renderers/react/template/stories/decorators.stories.tsx
@@ -1,11 +1,12 @@
import type { FC } from 'react';
-import React from 'react';
+import React, { useContext, createContext } from 'react';
import type { StoryObj, Meta } from '@storybook/react';
const Component: FC = () => Story
;
export default {
component: Component,
+ tags: ['autodocs'],
decorators: [
(Story) => (
<>
@@ -26,3 +27,22 @@ export const All: StoryObj = {
),
],
};
+
+// This story will error if `parameters.docs.source.excludeDecorators` is true:
+// See https://github.com/storybookjs/storybook/issues/21900
+const TestContext = createContext(false);
+export const Context: StoryObj = {
+ // parameters: { docs: { source: { excludeDecorators: true } } },
+ decorators: [
+ (Story) => (
+
+
+
+ ),
+ ],
+ render: function Render(args, context) {
+ const value = useContext(TestContext);
+ if (!value) throw new Error('TestContext not set, decorator did not run!');
+ return Story
;
+ },
+};
diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json
index d3ab34578191..f50c67179a35 100644
--- a/code/renderers/server/package.json
+++ b/code/renderers/server/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/server",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook Server renderer",
"keywords": [
"storybook"
@@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-client": "7.0.2",
+ "@storybook/core-client": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@@ -70,5 +70,5 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/renderers/svelte/package.json b/code/renderers/svelte/package.json
index fd3131e52ffd..209ca3c9b899 100644
--- a/code/renderers/svelte/package.json
+++ b/code/renderers/svelte/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/svelte",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook Svelte renderer",
"keywords": [
"storybook"
@@ -52,13 +52,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-client": "7.0.2",
- "@storybook/core-events": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-client": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"sveltedoc-parser": "^4.2.1",
"type-fest": "2.19.0"
},
@@ -84,5 +84,5 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/renderers/svelte/template/cli/js/Button.stories.js b/code/renderers/svelte/template/cli/js/Button.stories.js
index 8423ae9aa4af..cf6c2e371295 100644
--- a/code/renderers/svelte/template/cli/js/Button.stories.js
+++ b/code/renderers/svelte/template/cli/js/Button.stories.js
@@ -1,6 +1,6 @@
import Button from './Button.svelte';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/svelte/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/svelte/writing-stories/introduction
export default {
title: 'Example/Button',
component: Button,
@@ -14,7 +14,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/7.0/svelte/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/svelte/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/svelte/template/cli/js/Header.stories.js b/code/renderers/svelte/template/cli/js/Header.stories.js
index 619063f7c870..6d6caeb1e7ab 100644
--- a/code/renderers/svelte/template/cli/js/Header.stories.js
+++ b/code/renderers/svelte/template/cli/js/Header.stories.js
@@ -3,10 +3,10 @@ import Header from './Header.svelte';
export default {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/svelte/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/svelte/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/svelte/template/cli/js/Page.stories.js b/code/renderers/svelte/template/cli/js/Page.stories.js
index 78a909566563..9c6008b4c705 100644
--- a/code/renderers/svelte/template/cli/js/Page.stories.js
+++ b/code/renderers/svelte/template/cli/js/Page.stories.js
@@ -6,14 +6,14 @@ export default {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/svelte/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/svelte/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/svelte/template/cli/ts-3-8/Button.stories.ts b/code/renderers/svelte/template/cli/ts-3-8/Button.stories.ts
index ab6e25f73727..5e73d1be9006 100644
--- a/code/renderers/svelte/template/cli/ts-3-8/Button.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-3-8/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/svelte';
import Button from './Button.svelte';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/svelte/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/svelte/writing-stories/introduction
const meta: Meta = {
title: 'Example/Button',
component: Button,
@@ -19,7 +19,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/7.0/svelte/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/svelte/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/svelte/template/cli/ts-3-8/Header.stories.ts b/code/renderers/svelte/template/cli/ts-3-8/Header.stories.ts
index b54497aa803c..9ea90ce8495e 100644
--- a/code/renderers/svelte/template/cli/ts-3-8/Header.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-3-8/Header.stories.ts
@@ -4,10 +4,10 @@ import Header from './Header.svelte';
const meta: Meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/svelte/template/cli/ts-3-8/Page.stories.ts b/code/renderers/svelte/template/cli/ts-3-8/Page.stories.ts
index 3ab9cc7c2ee6..3aba1302bf24 100644
--- a/code/renderers/svelte/template/cli/ts-3-8/Page.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-3-8/Page.stories.ts
@@ -7,7 +7,7 @@ const meta: Meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
layout: 'fullscreen',
},
};
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/svelte/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/svelte/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/svelte/template/cli/ts-4-9/Button.stories.ts b/code/renderers/svelte/template/cli/ts-4-9/Button.stories.ts
index 6145c68d8645..93e3fc8c0aba 100644
--- a/code/renderers/svelte/template/cli/ts-4-9/Button.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-4-9/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/svelte';
import Button from './Button.svelte';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/svelte/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/svelte/writing-stories/introduction
const meta = {
title: 'Example/Button',
component: Button,
@@ -19,7 +19,7 @@ const meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/7.0/svelte/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/svelte/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/svelte/template/cli/ts-4-9/Header.stories.ts b/code/renderers/svelte/template/cli/ts-4-9/Header.stories.ts
index aaa3f5613fb5..c77812ca13ee 100644
--- a/code/renderers/svelte/template/cli/ts-4-9/Header.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-4-9/Header.stories.ts
@@ -4,10 +4,10 @@ import Header from './Header.svelte';
const meta = {
title: 'Example/Header',
component: Header,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/react/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
tags: ['autodocs'],
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
diff --git a/code/renderers/svelte/template/cli/ts-4-9/Page.stories.ts b/code/renderers/svelte/template/cli/ts-4-9/Page.stories.ts
index dcae312dae43..78665a28bfae 100644
--- a/code/renderers/svelte/template/cli/ts-4-9/Page.stories.ts
+++ b/code/renderers/svelte/template/cli/ts-4-9/Page.stories.ts
@@ -7,7 +7,7 @@ const meta = {
title: 'Example/Page',
component: Page,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/svelte/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/svelte/configure/story-layout
layout: 'fullscreen',
},
} satisfies Meta;
@@ -17,7 +17,7 @@ type Story = StoryObj;
export const LoggedOut: Story = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/svelte/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/svelte/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/vue/package.json b/code/renderers/vue/package.json
index d63a84393101..e69adda3a2dd 100644
--- a/code/renderers/vue/package.json
+++ b/code/renderers/vue/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/vue",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook Vue renderer",
"keywords": [
"storybook"
@@ -48,12 +48,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-client": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-client": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"ts-dedent": "^2.0.0",
"type-fest": "2.19.0"
},
@@ -86,5 +86,5 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/renderers/vue/template/cli/Button.stories.js b/code/renderers/vue/template/cli/Button.stories.js
index 1c1104fae12a..8863978b1215 100644
--- a/code/renderers/vue/template/cli/Button.stories.js
+++ b/code/renderers/vue/template/cli/Button.stories.js
@@ -1,6 +1,6 @@
import MyButton from './Button.vue';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/vue/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/vue/writing-stories/introduction
export default {
title: 'Example/Button',
component: MyButton,
@@ -19,7 +19,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/7.0/vue/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/vue/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/vue/template/cli/Header.stories.js b/code/renderers/vue/template/cli/Header.stories.js
index 02b8eab08f2a..428f0b087ab9 100644
--- a/code/renderers/vue/template/cli/Header.stories.js
+++ b/code/renderers/vue/template/cli/Header.stories.js
@@ -3,7 +3,7 @@ import MyHeader from './Header.vue';
export default {
title: 'Example/Header',
component: MyHeader,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/vue/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
tags: ['autodocs'],
render: (args, { argTypes }) => ({
props: Object.keys(argTypes),
@@ -14,7 +14,7 @@ export default {
' ',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/vue/template/cli/Page.stories.js b/code/renderers/vue/template/cli/Page.stories.js
index 60f587d873e1..8bd022352948 100644
--- a/code/renderers/vue/template/cli/Page.stories.js
+++ b/code/renderers/vue/template/cli/Page.stories.js
@@ -9,13 +9,13 @@ export default {
template: ' ',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/vue/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/vue/writing-tests/interaction-testing
export const LoggedIn = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/vue3/package.json b/code/renderers/vue3/package.json
index d6fcc688fbc8..e31ed1d69f16 100644
--- a/code/renderers/vue3/package.json
+++ b/code/renderers/vue3/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/vue3",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook Vue 3 renderer",
"keywords": [
"storybook"
@@ -48,11 +48,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/core-client": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/core-client": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"ts-dedent": "^2.0.0",
"type-fest": "2.19.0"
},
@@ -80,5 +80,5 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/renderers/vue3/template/cli/js/Button.stories.js b/code/renderers/vue3/template/cli/js/Button.stories.js
index 54073b3901ac..9f43ad58ce83 100644
--- a/code/renderers/vue3/template/cli/js/Button.stories.js
+++ b/code/renderers/vue3/template/cli/js/Button.stories.js
@@ -1,6 +1,6 @@
import MyButton from './Button.vue';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/vue/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/vue/writing-stories/introduction
export default {
title: 'Example/Button',
component: MyButton,
@@ -19,7 +19,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/7.0/vue/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/vue/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/vue3/template/cli/js/Header.stories.js b/code/renderers/vue3/template/cli/js/Header.stories.js
index 3f04f28a2f0c..61e6906ea988 100644
--- a/code/renderers/vue3/template/cli/js/Header.stories.js
+++ b/code/renderers/vue3/template/cli/js/Header.stories.js
@@ -3,7 +3,7 @@ import MyHeader from './Header.vue';
export default {
title: 'Example/Header',
component: MyHeader,
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/vue/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
tags: ['autodocs'],
render: (args) => ({
// Components used in your story `template` are defined in the `components` object
@@ -21,7 +21,7 @@ export default {
template: ' ',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
layout: 'fullscreen',
},
};
diff --git a/code/renderers/vue3/template/cli/js/Page.stories.js b/code/renderers/vue3/template/cli/js/Page.stories.js
index 5f14e2088ca2..f11ff44e5bdf 100644
--- a/code/renderers/vue3/template/cli/js/Page.stories.js
+++ b/code/renderers/vue3/template/cli/js/Page.stories.js
@@ -5,14 +5,14 @@ export default {
title: 'Example/Page',
component: MyPage,
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
layout: 'fullscreen',
},
};
export const LoggedOut = {};
-// More on interaction testing: https://storybook.js.org/docs/7.0/vue/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/vue/writing-tests/interaction-testing
export const LoggedIn = {
render: () => ({
components: {
diff --git a/code/renderers/vue3/template/cli/ts-3-8/Button.stories.ts b/code/renderers/vue3/template/cli/ts-3-8/Button.stories.ts
index 48f550fedd07..f80cb01045db 100644
--- a/code/renderers/vue3/template/cli/ts-3-8/Button.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-3-8/Button.stories.ts
@@ -2,11 +2,11 @@ import type { Meta, StoryObj } from '@storybook/vue3';
import Button from './Button.vue';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/vue/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/vue/writing-stories/introduction
const meta: Meta = {
title: 'Example/Button',
component: Button,
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/vue/writing-docs/docs-page
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
tags: ['autodocs'],
argTypes: {
size: { control: 'select', options: ['small', 'medium', 'large'] },
@@ -20,7 +20,7 @@ export default meta;
type Story = StoryObj;
/*
*👇 Render functions are a framework specific feature to allow you control on how the component renders.
- * See https://storybook.js.org/docs/7.0/vue/api/csf
+ * See https://storybook.js.org/docs/vue/api/csf
* to learn how to use render functions.
*/
export const Primary: Story = {
diff --git a/code/renderers/vue3/template/cli/ts-3-8/Header.stories.ts b/code/renderers/vue3/template/cli/ts-3-8/Header.stories.ts
index 210f7c7a4923..17f2ca4ff6e6 100644
--- a/code/renderers/vue3/template/cli/ts-3-8/Header.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-3-8/Header.stories.ts
@@ -4,7 +4,7 @@ import MyHeader from './Header.vue';
const meta: Meta = {
/* 👇 The title prop is optional.
- * See https://storybook.js.org/docs/7.0/vue/configure/overview#configure-story-loading
+ * See https://storybook.js.org/docs/vue/configure/overview#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Example/Header',
@@ -17,10 +17,10 @@ const meta: Meta = {
template: ' ',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/vue/writing-docs/docs-page
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
tags: ['autodocs'],
};
diff --git a/code/renderers/vue3/template/cli/ts-3-8/Page.stories.ts b/code/renderers/vue3/template/cli/ts-3-8/Page.stories.ts
index dd85d1fea0ab..1ac73cf4433d 100644
--- a/code/renderers/vue3/template/cli/ts-3-8/Page.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-3-8/Page.stories.ts
@@ -10,17 +10,17 @@ const meta: Meta = {
template: ' ',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
layout: 'fullscreen',
},
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/vue/writing-docs/docs-page
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
tags: ['autodocs'],
};
export default meta;
type Story = StoryObj;
-// More on interaction testing: https://storybook.js.org/docs/7.0/vue/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/vue/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }: any) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/vue3/template/cli/ts-4-9/Button.stories.ts b/code/renderers/vue3/template/cli/ts-4-9/Button.stories.ts
index fb8d98102808..c414d4a7b0a6 100644
--- a/code/renderers/vue3/template/cli/ts-4-9/Button.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-4-9/Button.stories.ts
@@ -2,11 +2,11 @@ import type { Meta, StoryObj } from '@storybook/vue3';
import Button from './Button.vue';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/vue/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/vue/writing-stories/introduction
const meta = {
title: 'Example/Button',
component: Button,
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/vue/writing-docs/docs-page
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
tags: ['autodocs'],
argTypes: {
size: { control: 'select', options: ['small', 'medium', 'large'] },
@@ -20,7 +20,7 @@ export default meta;
type Story = StoryObj;
/*
*👇 Render functions are a framework specific feature to allow you control on how the component renders.
- * See https://storybook.js.org/docs/7.0/vue/api/csf
+ * See https://storybook.js.org/docs/vue/api/csf
* to learn how to use render functions.
*/
export const Primary: Story = {
diff --git a/code/renderers/vue3/template/cli/ts-4-9/Header.stories.ts b/code/renderers/vue3/template/cli/ts-4-9/Header.stories.ts
index f29d01110d51..8626c1f529bf 100644
--- a/code/renderers/vue3/template/cli/ts-4-9/Header.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-4-9/Header.stories.ts
@@ -4,7 +4,7 @@ import MyHeader from './Header.vue';
const meta = {
/* 👇 The title prop is optional.
- * See https://storybook.js.org/docs/7.0/vue/configure/overview#configure-story-loading
+ * See https://storybook.js.org/docs/vue/configure/overview#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Example/Header',
@@ -17,10 +17,10 @@ const meta = {
template: ' ',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/react/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/react/configure/story-layout
layout: 'fullscreen',
},
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/vue/writing-docs/docs-page
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
tags: ['autodocs'],
} satisfies Meta;
diff --git a/code/renderers/vue3/template/cli/ts-4-9/Page.stories.ts b/code/renderers/vue3/template/cli/ts-4-9/Page.stories.ts
index 33c6c1118cf0..e9988015819d 100644
--- a/code/renderers/vue3/template/cli/ts-4-9/Page.stories.ts
+++ b/code/renderers/vue3/template/cli/ts-4-9/Page.stories.ts
@@ -10,17 +10,17 @@ const meta = {
template: ' ',
}),
parameters: {
- // More on how to position stories at: https://storybook.js.org/docs/7.0/vue/configure/story-layout
+ // More on how to position stories at: https://storybook.js.org/docs/vue/configure/story-layout
layout: 'fullscreen',
},
- // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/7.0/vue/writing-docs/docs-page
+ // This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/vue/writing-docs/autodocs
tags: ['autodocs'],
} satisfies Meta;
export default meta;
type Story = StoryObj;
-// More on interaction testing: https://storybook.js.org/docs/7.0/vue/writing-tests/interaction-testing
+// More on interaction testing: https://storybook.js.org/docs/vue/writing-tests/interaction-testing
export const LoggedIn: Story = {
play: async ({ canvasElement }: any) => {
const canvas = within(canvasElement);
diff --git a/code/renderers/web-components/package.json b/code/renderers/web-components/package.json
index c506e715f0f8..930f58944500 100644
--- a/code/renderers/web-components/package.json
+++ b/code/renderers/web-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/web-components",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook web-components renderer",
"keywords": [
"lit",
@@ -51,13 +51,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
- "@storybook/core-client": "7.0.2",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/core-client": "7.1.0-alpha.0",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@@ -84,5 +84,5 @@
],
"platform": "browser"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/renderers/web-components/template/cli/js/Button.stories.js b/code/renderers/web-components/template/cli/js/Button.stories.js
index 9cb2ebf8a2f3..7ee384b7ce4c 100644
--- a/code/renderers/web-components/template/cli/js/Button.stories.js
+++ b/code/renderers/web-components/template/cli/js/Button.stories.js
@@ -1,6 +1,6 @@
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/web-components/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
export default {
title: 'Example/Button',
tags: ['autodocs'],
@@ -15,7 +15,7 @@ export default {
},
};
-// More on writing stories with args: https://storybook.js.org/docs/7.0/web-components/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/web-components/writing-stories/args
export const Primary = {
args: {
primary: true,
diff --git a/code/renderers/web-components/template/cli/js/Header.stories.js b/code/renderers/web-components/template/cli/js/Header.stories.js
index 1f56d163da64..d399cb869950 100644
--- a/code/renderers/web-components/template/cli/js/Header.stories.js
+++ b/code/renderers/web-components/template/cli/js/Header.stories.js
@@ -2,7 +2,7 @@ import { Header } from './Header';
export default {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/web-components/vue/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/web-components/vue/writing-docs/autodocs
tags: ['autodocs'],
render: (args) => Header(args),
};
diff --git a/code/renderers/web-components/template/cli/js/Page.stories.js b/code/renderers/web-components/template/cli/js/Page.stories.js
index 61f16d6573cc..91cc0239c73e 100644
--- a/code/renderers/web-components/template/cli/js/Page.stories.js
+++ b/code/renderers/web-components/template/cli/js/Page.stories.js
@@ -8,7 +8,7 @@ export default {
export const LoggedIn = {
args: {
- // More on composing args: https://storybook.js.org/docs/7.0/web-components/writing-stories/args#args-composition
+ // More on composing args: https://storybook.js.org/docs/web-components/writing-stories/args#args-composition
...HeaderStories.LoggedIn.args,
},
};
diff --git a/code/renderers/web-components/template/cli/ts-3-8/Button.stories.ts b/code/renderers/web-components/template/cli/ts-3-8/Button.stories.ts
index c31f535a18a4..1308c5384b88 100644
--- a/code/renderers/web-components/template/cli/ts-3-8/Button.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-3-8/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/web-components';
import type { ButtonProps } from './Button';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/web-components/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
const meta: Meta = {
title: 'Example/Button',
tags: ['autodocs'],
@@ -20,7 +20,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/7.0/web-components/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/web-components/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/web-components/template/cli/ts-3-8/Header.stories.ts b/code/renderers/web-components/template/cli/ts-3-8/Header.stories.ts
index d99a750322a6..441a70d4ed41 100644
--- a/code/renderers/web-components/template/cli/ts-3-8/Header.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-3-8/Header.stories.ts
@@ -4,7 +4,7 @@ import { Header } from './Header';
const meta: Meta = {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/web-components/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/web-components/writing-docs/autodocs
tags: ['autodocs'],
render: (args: HeaderProps) => Header(args),
};
diff --git a/code/renderers/web-components/template/cli/ts-3-8/Page.stories.ts b/code/renderers/web-components/template/cli/ts-3-8/Page.stories.ts
index 4a4dfcc54112..43ecfdccf450 100644
--- a/code/renderers/web-components/template/cli/ts-3-8/Page.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-3-8/Page.stories.ts
@@ -14,7 +14,7 @@ type Story = StoryObj;
export const LoggedIn: Story = {
args: {
- // More on composing args: https://storybook.js.org/docs/7.0/web-components/writing-stories/args#args-composition
+ // More on composing args: https://storybook.js.org/docs/web-components/writing-stories/args#args-composition
...HeaderStories.LoggedIn.args,
},
};
diff --git a/code/renderers/web-components/template/cli/ts-4-9/Button.stories.ts b/code/renderers/web-components/template/cli/ts-4-9/Button.stories.ts
index f97328589b89..985def53f1b2 100644
--- a/code/renderers/web-components/template/cli/ts-4-9/Button.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-4-9/Button.stories.ts
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/web-components';
import type { ButtonProps } from './Button';
import { Button } from './Button';
-// More on how to set up stories at: https://storybook.js.org/docs/7.0/web-components/writing-stories/introduction
+// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
const meta = {
title: 'Example/Button',
tags: ['autodocs'],
@@ -20,7 +20,7 @@ const meta = {
export default meta;
type Story = StoryObj;
-// More on writing stories with args: https://storybook.js.org/docs/7.0/web-components/writing-stories/args
+// More on writing stories with args: https://storybook.js.org/docs/web-components/writing-stories/args
export const Primary: Story = {
args: {
primary: true,
diff --git a/code/renderers/web-components/template/cli/ts-4-9/Header.stories.ts b/code/renderers/web-components/template/cli/ts-4-9/Header.stories.ts
index 822eb60716fb..066b097f56dc 100644
--- a/code/renderers/web-components/template/cli/ts-4-9/Header.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-4-9/Header.stories.ts
@@ -4,7 +4,7 @@ import { Header } from './Header';
const meta = {
title: 'Example/Header',
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/7.0/web-components/writing-docs/docs-page
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/web-components/writing-docs/autodocs
tags: ['autodocs'],
render: (args: HeaderProps) => Header(args),
} satisfies Meta;
diff --git a/code/renderers/web-components/template/cli/ts-4-9/Page.stories.ts b/code/renderers/web-components/template/cli/ts-4-9/Page.stories.ts
index 4a5b01b92a0d..aa29295eeb28 100644
--- a/code/renderers/web-components/template/cli/ts-4-9/Page.stories.ts
+++ b/code/renderers/web-components/template/cli/ts-4-9/Page.stories.ts
@@ -14,7 +14,7 @@ type Story = StoryObj;
export const LoggedIn: Story = {
args: {
- // More on composing args: https://storybook.js.org/docs/7.0/web-components/writing-stories/args#args-composition
+ // More on composing args: https://storybook.js.org/docs/web-components/writing-stories/args#args-composition
...HeaderStories.LoggedIn.args,
},
};
diff --git a/code/ui/blocks/package.json b/code/ui/blocks/package.json
index c00183dfa4f6..812072b1fcbc 100644
--- a/code/ui/blocks/package.json
+++ b/code/ui/blocks/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/blocks",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Storybook Doc Blocks",
"keywords": [
"storybook"
@@ -43,17 +43,17 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/channels": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/channels": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/csf": "^0.1.0",
- "@storybook/docs-tools": "7.0.2",
+ "@storybook/docs-tools": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/preview-api": "7.0.2",
- "@storybook/theming": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/preview-api": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@types/lodash": "^4.14.167",
"color-convert": "^2.0.1",
"dequal": "^2.0.2",
@@ -67,7 +67,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
- "@storybook/addon-actions": "7.0.2",
+ "@storybook/addon-actions": "7.1.0-alpha.0",
"@types/color-convert": "^2.0.0"
},
"peerDependencies": {
@@ -82,5 +82,5 @@
"./src/index.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/ui/blocks/src/components/Source.tsx b/code/ui/blocks/src/components/Source.tsx
index 94d3df6b9ef9..4d72f2f45aed 100644
--- a/code/ui/blocks/src/components/Source.tsx
+++ b/code/ui/blocks/src/components/Source.tsx
@@ -1,6 +1,6 @@
import type { ComponentProps, FunctionComponent } from 'react';
import React from 'react';
-import { styled, ThemeProvider, convert, themes } from '@storybook/theming';
+import { styled, ThemeProvider, convert, themes, ignoreSsrWarning } from '@storybook/theming';
import { SyntaxHighlighter } from '@storybook/components';
import { EmptyBlock } from './EmptyBlock';
@@ -69,7 +69,7 @@ const SourceSkeletonPlaceholder = styled.div(({ theme }) => ({
marginTop: 1,
width: '60%',
- [`&:first-child`]: {
+ [`&:first-child${ignoreSsrWarning}`]: {
margin: 0,
},
}));
diff --git a/code/ui/components/package.json b/code/ui/components/package.json
index cc8503b555b7..0c3d0d688593 100644
--- a/code/ui/components/package.json
+++ b/code/ui/components/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/components",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@@ -48,11 +48,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "7.0.2",
+ "@storybook/client-logger": "7.1.0-alpha.0",
"@storybook/csf": "^0.1.0",
"@storybook/global": "^5.0.0",
- "@storybook/theming": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/theming": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"memoizerific": "^1.11.3",
"use-resize-observer": "^9.1.0",
"util-deprecate": "^1.0.2"
@@ -85,5 +85,5 @@
],
"platform": "neutral"
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/ui/components/src/spaced/Spaced.tsx b/code/ui/components/src/spaced/Spaced.tsx
index 2fdb767fed08..52f0ecf9d7c1 100644
--- a/code/ui/components/src/spaced/Spaced.tsx
+++ b/code/ui/components/src/spaced/Spaced.tsx
@@ -1,6 +1,6 @@
import type { FC } from 'react';
import React from 'react';
-import { styled } from '@storybook/theming';
+import { styled, ignoreSsrWarning } from '@storybook/theming';
const toNumber = (input: any) => (typeof input === 'number' ? input : Number(input));
@@ -20,7 +20,7 @@ const Container = styled.div(
marginLeft: col * theme.layoutMargin,
verticalAlign: 'inherit',
},
- [`& > *:first-child`]: {
+ [`& > *:first-child${ignoreSsrWarning}`]: {
marginLeft: 0,
},
}
@@ -28,7 +28,7 @@ const Container = styled.div(
'& > *': {
marginTop: row * theme.layoutMargin,
},
- [`& > *:first-child`]: {
+ [`& > *:first-child${ignoreSsrWarning}`]: {
marginTop: 0,
},
},
diff --git a/code/ui/components/src/tabs/tabs.tsx b/code/ui/components/src/tabs/tabs.tsx
index 89d95a11baec..454a92376d83 100644
--- a/code/ui/components/src/tabs/tabs.tsx
+++ b/code/ui/components/src/tabs/tabs.tsx
@@ -10,6 +10,9 @@ import type { ChildrenList } from './tabs.helpers';
import { childrenToList, VisuallyHidden } from './tabs.helpers';
import { useList } from './tabs.hooks';
+const ignoreSsrWarning =
+ '/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */';
+
export interface WrapperProps {
bordered?: boolean;
absolute?: boolean;
@@ -84,7 +87,7 @@ const Content = styled.div(
bottom: 0 + (bordered ? 1 : 0),
top: 40 + (bordered ? 1 : 0),
overflow: 'auto',
- [`& > *:first-child`]: {
+ [`& > *:first-child${ignoreSsrWarning}`]: {
position: 'absolute',
left: 0 + (bordered ? 1 : 0),
right: 0 + (bordered ? 1 : 0),
diff --git a/code/ui/manager/package.json b/code/ui/manager/package.json
index 393bdfb2fa21..223543873702 100644
--- a/code/ui/manager/package.json
+++ b/code/ui/manager/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/manager",
- "version": "7.0.2",
+ "version": "7.1.0-alpha.0",
"description": "Core Storybook UI",
"keywords": [
"storybook"
@@ -55,19 +55,19 @@
},
"devDependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
- "@storybook/addons": "7.0.2",
- "@storybook/api": "7.0.2",
- "@storybook/channel-postmessage": "7.0.2",
- "@storybook/channel-websocket": "7.0.2",
- "@storybook/channels": "7.0.2",
- "@storybook/client-logger": "7.0.2",
- "@storybook/components": "7.0.2",
- "@storybook/core-events": "7.0.2",
+ "@storybook/addons": "7.1.0-alpha.0",
+ "@storybook/api": "7.1.0-alpha.0",
+ "@storybook/channel-postmessage": "7.1.0-alpha.0",
+ "@storybook/channel-websocket": "7.1.0-alpha.0",
+ "@storybook/channels": "7.1.0-alpha.0",
+ "@storybook/client-logger": "7.1.0-alpha.0",
+ "@storybook/components": "7.1.0-alpha.0",
+ "@storybook/core-events": "7.1.0-alpha.0",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.0.2",
- "@storybook/router": "7.0.2",
- "@storybook/theming": "7.0.2",
- "@storybook/types": "7.0.2",
+ "@storybook/manager-api": "7.1.0-alpha.0",
+ "@storybook/router": "7.1.0-alpha.0",
+ "@storybook/theming": "7.1.0-alpha.0",
+ "@storybook/types": "7.1.0-alpha.0",
"@testing-library/react": "^11.2.2",
"@types/semver": "^7.3.4",
"copy-to-clipboard": "^3.3.1",
@@ -101,5 +101,5 @@
"./src/runtime.ts"
]
},
- "gitHead": "96b498debee8b89d0c4050c13172a5a818c9997a"
+ "gitHead": "8ff2938f8ac0c2d524ae653cd89251e5cd4721a4"
}
diff --git a/code/ui/manager/src/index.tsx b/code/ui/manager/src/index.tsx
index 0660ababc796..9f843d0069e5 100644
--- a/code/ui/manager/src/index.tsx
+++ b/code/ui/manager/src/index.tsx
@@ -6,21 +6,14 @@ import ReactDOM from 'react-dom';
import { Location, LocationProvider, useNavigate } from '@storybook/router';
import { Provider as ManagerProvider } from '@storybook/manager-api';
import type { Combo } from '@storybook/manager-api';
-import {
- ThemeProvider,
- ensure as ensureTheme,
- CacheProvider,
- createCache,
-} from '@storybook/theming';
+import { ThemeProvider, ensure as ensureTheme } from '@storybook/theming';
+
import { HelmetProvider } from 'react-helmet-async';
import App from './app';
import Provider from './provider';
-const emotionCache = createCache({ key: 'sto' });
-emotionCache.compat = true;
-
// @ts-expect-error (Converted from ts-ignore)
ThemeProvider.displayName = 'ThemeProvider';
// @ts-expect-error (Converted from ts-ignore)
@@ -59,16 +52,14 @@ const Main: FC<{ provider: Provider }> = ({ provider }) => {
: !state.previewInitialized;
return (
-
-
-
-
-
+
+
+
);
}}
diff --git a/code/yarn.lock b/code/yarn.lock
index 1202b4bc30e3..9161a163c709 100644
--- a/code/yarn.lock
+++ b/code/yarn.lock
@@ -2373,16 +2373,16 @@ __metadata:
languageName: node
linkType: hard
-"@emotion/cache@npm:^11.10.3, @emotion/cache@npm:^11.10.5":
- version: 11.10.5
- resolution: "@emotion/cache@npm:11.10.5"
+"@emotion/cache@npm:^11.10.5, @emotion/cache@npm:^11.10.7":
+ version: 11.10.7
+ resolution: "@emotion/cache@npm:11.10.7"
dependencies:
"@emotion/memoize": ^0.8.0
"@emotion/sheet": ^1.2.1
"@emotion/utils": ^1.2.0
"@emotion/weak-memoize": ^0.3.0
stylis: 4.1.3
- checksum: eeb6891ab04cf17ace0e175742550b97c30df777d6c5b145e91c4c9fbd783c29b4dabe12a8c786b78f37176313a8295c9b90c69d875e6caab5f7e4677a18be91
+ checksum: 0175b8be5117342e76e100fca92932a34c3641160c733a34534153eab7f1c1b2cecafee6d9a7a0646acf7be3c52b0654dc34900439316ae473b59a9eb1a1c8f3
languageName: node
linkType: hard
@@ -5075,16 +5075,16 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-a11y@workspace:addons/a11y"
dependencies:
- "@storybook/addon-highlight": 7.0.2
- "@storybook/channels": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/addon-highlight": 7.1.0-alpha.0
+ "@storybook/channels": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/theming": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@testing-library/react": ^11.2.2
axe-core: ^4.2.0
lodash: ^4.17.21
@@ -5102,18 +5102,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-actions@7.0.2, @storybook/addon-actions@workspace:*, @storybook/addon-actions@workspace:addons/actions":
+"@storybook/addon-actions@7.1.0-alpha.0, @storybook/addon-actions@workspace:*, @storybook/addon-actions@workspace:addons/actions":
version: 0.0.0-use.local
resolution: "@storybook/addon-actions@workspace:addons/actions"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/theming": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/lodash": ^4.14.167
dequal: ^2.0.2
lodash: ^4.17.21
@@ -5135,18 +5135,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-backgrounds@7.0.2, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds":
+"@storybook/addon-backgrounds@7.1.0-alpha.0, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds":
version: 0.0.0-use.local
resolution: "@storybook/addon-backgrounds@workspace:addons/backgrounds"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/theming": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
memoizerific: ^1.11.3
ts-dedent: ^2.0.0
typescript: ~4.9.3
@@ -5161,19 +5161,19 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-controls@7.0.2, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls":
+"@storybook/addon-controls@7.1.0-alpha.0, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls":
version: 0.0.0-use.local
resolution: "@storybook/addon-controls@workspace:addons/controls"
dependencies:
- "@storybook/blocks": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/manager-api": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/theming": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/blocks": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
lodash: ^4.17.21
ts-dedent: ^2.0.0
peerDependencies:
@@ -5187,7 +5187,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-docs@7.0.2, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs":
+"@storybook/addon-docs@7.1.0-alpha.0, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs":
version: 0.0.0-use.local
resolution: "@storybook/addon-docs@workspace:addons/docs"
dependencies:
@@ -5195,19 +5195,19 @@ __metadata:
"@babel/plugin-transform-react-jsx": ^7.19.0
"@jest/transform": ^29.3.1
"@mdx-js/react": ^2.1.5
- "@storybook/blocks": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/csf-plugin": 7.0.2
- "@storybook/csf-tools": 7.0.2
+ "@storybook/blocks": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/csf-plugin": 7.1.0-alpha.0
+ "@storybook/csf-tools": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
"@storybook/mdx2-csf": ^1.0.0
- "@storybook/node-logger": 7.0.2
- "@storybook/postinstall": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/react-dom-shim": 7.0.2
- "@storybook/theming": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/postinstall": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/react-dom-shim": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
fs-extra: ^11.1.0
react: ^16.14.0
react-dom: ^16.8.0
@@ -5229,20 +5229,20 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-essentials@workspace:addons/essentials"
dependencies:
- "@storybook/addon-actions": 7.0.2
- "@storybook/addon-backgrounds": 7.0.2
- "@storybook/addon-controls": 7.0.2
- "@storybook/addon-docs": 7.0.2
- "@storybook/addon-highlight": 7.0.2
- "@storybook/addon-measure": 7.0.2
- "@storybook/addon-outline": 7.0.2
- "@storybook/addon-toolbars": 7.0.2
- "@storybook/addon-viewport": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/manager-api": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/vue": 7.0.2
+ "@storybook/addon-actions": 7.1.0-alpha.0
+ "@storybook/addon-backgrounds": 7.1.0-alpha.0
+ "@storybook/addon-controls": 7.1.0-alpha.0
+ "@storybook/addon-docs": 7.1.0-alpha.0
+ "@storybook/addon-highlight": 7.1.0-alpha.0
+ "@storybook/addon-measure": 7.1.0-alpha.0
+ "@storybook/addon-outline": 7.1.0-alpha.0
+ "@storybook/addon-toolbars": 7.1.0-alpha.0
+ "@storybook/addon-viewport": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/vue": 7.1.0-alpha.0
ts-dedent: ^2.0.0
typescript: ^4.9.3
peerDependencies:
@@ -5251,13 +5251,13 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-highlight@7.0.2, @storybook/addon-highlight@workspace:*, @storybook/addon-highlight@workspace:addons/highlight":
+"@storybook/addon-highlight@7.1.0-alpha.0, @storybook/addon-highlight@workspace:*, @storybook/addon-highlight@workspace:addons/highlight":
version: 0.0.0-use.local
resolution: "@storybook/addon-highlight@workspace:addons/highlight"
dependencies:
- "@storybook/core-events": 7.0.2
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/preview-api": 7.0.2
+ "@storybook/preview-api": 7.1.0-alpha.0
"@types/webpack-env": ^1.16.0
typescript: ~4.9.3
languageName: unknown
@@ -5268,18 +5268,18 @@ __metadata:
resolution: "@storybook/addon-interactions@workspace:addons/interactions"
dependencies:
"@devtools-ds/object-inspector": ^1.1.2
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/instrumenter": 7.0.2
+ "@storybook/instrumenter": 7.1.0-alpha.0
"@storybook/jest": ^0.1.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
"@storybook/testing-library": ^0.1.0
- "@storybook/theming": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/theming": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/node": ^16.0.0
formik: ^2.2.9
jest-mock: ^27.0.6
@@ -5301,13 +5301,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-jest@workspace:addons/jest"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/theming": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
react-resize-detector: ^7.1.2
typescript: ~4.9.3
upath: ^1.2.0
@@ -5326,14 +5326,14 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-links@workspace:addons/links"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/csf": ^0.1.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/router": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/router": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
fs-extra: ^11.1.0
prop-types: ^15.7.2
ts-dedent: ^2.0.0
@@ -5353,24 +5353,24 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-mdx-gfm@workspace:addons/gfm"
dependencies:
- "@storybook/node-logger": 7.0.0-beta.52
+ "@storybook/node-logger": 7.1.0-alpha.0
remark-gfm: ^3.0.1
ts-dedent: ^2.0.0
typescript: ~4.9.3
languageName: unknown
linkType: soft
-"@storybook/addon-measure@7.0.2, @storybook/addon-measure@workspace:*, @storybook/addon-measure@workspace:addons/measure":
+"@storybook/addon-measure@7.1.0-alpha.0, @storybook/addon-measure@workspace:*, @storybook/addon-measure@workspace:addons/measure":
version: 0.0.0-use.local
resolution: "@storybook/addon-measure@workspace:addons/measure"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
typescript: ~4.9.3
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -5383,17 +5383,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-outline@7.0.2, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline":
+"@storybook/addon-outline@7.1.0-alpha.0, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline":
version: 0.0.0-use.local
resolution: "@storybook/addon-outline@workspace:addons/outline"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
ts-dedent: ^2.0.0
typescript: ~4.9.3
peerDependencies:
@@ -5413,8 +5413,8 @@ __metadata:
dependencies:
"@axe-core/puppeteer": ^4.2.0
"@storybook/csf": ^0.1.0
- "@storybook/node-logger": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/jest-image-snapshot": ^5.1.0
"@types/puppeteer": ^5.4.0
enzyme: ^3.11.0
@@ -5423,7 +5423,7 @@ __metadata:
puppeteer: ^2.0.0 || ^3.0.0
rimraf: ^3.0.2
peerDependencies:
- "@storybook/addon-storyshots": 7.0.2
+ "@storybook/addon-storyshots": 7.1.0-alpha.0
puppeteer: ">=2.0.0"
peerDependenciesMeta:
puppeteer:
@@ -5439,18 +5439,18 @@ __metadata:
"@angular/platform-browser-dynamic": ^13.3.6
"@emotion/jest": ^11.8.0
"@jest/transform": ^29.3.1
- "@storybook/addon-docs": 7.0.2
- "@storybook/angular": 7.0.2
+ "@storybook/addon-docs": 7.1.0-alpha.0
+ "@storybook/angular": 7.1.0-alpha.0
"@storybook/babel-plugin-require-context-hook": 1.0.1
- "@storybook/client-api": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/core-webpack": 7.0.2
+ "@storybook/client-api": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/core-webpack": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/preview-api": 7.0.2
- "@storybook/react": 7.0.2
- "@storybook/types": 7.0.2
- "@storybook/vue": 7.0.2
- "@storybook/vue3": 7.0.2
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/react": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
+ "@storybook/vue": 7.1.0-alpha.0
+ "@storybook/vue3": 7.1.0-alpha.0
"@types/glob": ^7.1.3
"@types/jest-specific-snapshot": ^0.5.6
babel-loader: ^9.1.2
@@ -5524,13 +5524,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-storysource@workspace:addons/storysource"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/router": 7.0.2
- "@storybook/source-loader": 7.0.2
- "@storybook/theming": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/router": 7.1.0-alpha.0
+ "@storybook/source-loader": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
"@types/react": ^16.14.34
"@types/react-syntax-highlighter": 11.0.5
estraverse: ^5.2.0
@@ -5548,15 +5548,15 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-toolbars@7.0.2, @storybook/addon-toolbars@workspace:*, @storybook/addon-toolbars@workspace:addons/toolbars":
+"@storybook/addon-toolbars@7.1.0-alpha.0, @storybook/addon-toolbars@workspace:*, @storybook/addon-toolbars@workspace:addons/toolbars":
version: 0.0.0-use.local
resolution: "@storybook/addon-toolbars@workspace:addons/toolbars"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/theming": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
typescript: ~4.9.3
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -5569,17 +5569,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-viewport@7.0.2, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport":
+"@storybook/addon-viewport@7.1.0-alpha.0, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport":
version: 0.0.0-use.local
resolution: "@storybook/addon-viewport@workspace:addons/viewport"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/theming": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
memoizerific: ^1.11.3
prop-types: ^15.7.2
typescript: ~4.9.3
@@ -5594,20 +5594,20 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addons@7.0.2, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons":
+"@storybook/addons@7.1.0-alpha.0, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons":
version: 0.0.0-use.local
resolution: "@storybook/addons@workspace:lib/addons"
dependencies:
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
languageName: unknown
linkType: soft
-"@storybook/angular@7.0.2, @storybook/angular@workspace:*, @storybook/angular@workspace:frameworks/angular":
+"@storybook/angular@7.1.0-alpha.0, @storybook/angular@workspace:*, @storybook/angular@workspace:frameworks/angular":
version: 0.0.0-use.local
resolution: "@storybook/angular@workspace:frameworks/angular"
dependencies:
@@ -5623,20 +5623,20 @@ __metadata:
"@angular/forms": ^15.1.1
"@angular/platform-browser": ^15.1.1
"@angular/platform-browser-dynamic": ^15.1.1
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/cli": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/core-client": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/core-events": 7.0.2
- "@storybook/core-server": 7.0.2
- "@storybook/core-webpack": 7.0.2
- "@storybook/docs-tools": 7.0.2
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/cli": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-client": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
+ "@storybook/core-server": 7.1.0-alpha.0
+ "@storybook/core-webpack": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/node": ^16.0.0
"@types/react": ^16.14.34
"@types/react-dom": ^16.9.14
@@ -5684,12 +5684,12 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/api@7.0.2, @storybook/api@workspace:*, @storybook/api@workspace:lib/manager-api-shim":
+"@storybook/api@7.1.0-alpha.0, @storybook/api@workspace:*, @storybook/api@workspace:lib/manager-api-shim":
version: 0.0.0-use.local
resolution: "@storybook/api@workspace:lib/manager-api-shim"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/manager-api": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/manager-api": 7.1.0-alpha.0
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -5733,22 +5733,22 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/blocks@7.0.2, @storybook/blocks@workspace:*, @storybook/blocks@workspace:ui/blocks":
+"@storybook/blocks@7.1.0-alpha.0, @storybook/blocks@workspace:*, @storybook/blocks@workspace:ui/blocks":
version: 0.0.0-use.local
resolution: "@storybook/blocks@workspace:ui/blocks"
dependencies:
- "@storybook/addon-actions": 7.0.2
- "@storybook/channels": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/addon-actions": 7.1.0-alpha.0
+ "@storybook/channels": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/csf": ^0.1.0
- "@storybook/docs-tools": 7.0.2
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/theming": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/color-convert": ^2.0.0
"@types/lodash": ^4.14.167
color-convert: ^2.0.1
@@ -5767,14 +5767,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/builder-manager@7.0.2, @storybook/builder-manager@workspace:*, @storybook/builder-manager@workspace:lib/builder-manager":
+"@storybook/builder-manager@7.1.0-alpha.0, @storybook/builder-manager@workspace:*, @storybook/builder-manager@workspace:lib/builder-manager":
version: 0.0.0-use.local
resolution: "@storybook/builder-manager@workspace:lib/builder-manager"
dependencies:
"@fal-works/esbuild-plugin-global-externals": ^2.1.2
- "@storybook/core-common": 7.0.2
- "@storybook/manager": 7.0.2
- "@storybook/node-logger": 7.0.2
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/manager": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
"@types/ejs": ^3.1.1
"@types/find-cache-dir": ^3.2.1
"@yarnpkg/esbuild-plugin-pnp": ^3.0.0-rc.10
@@ -5792,21 +5792,21 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/builder-vite@7.0.2, @storybook/builder-vite@workspace:*, @storybook/builder-vite@workspace:lib/builder-vite":
+"@storybook/builder-vite@7.1.0-alpha.0, @storybook/builder-vite@workspace:*, @storybook/builder-vite@workspace:lib/builder-vite":
version: 0.0.0-use.local
resolution: "@storybook/builder-vite@workspace:lib/builder-vite"
dependencies:
- "@storybook/channel-postmessage": 7.0.2
- "@storybook/channel-websocket": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/csf-plugin": 7.0.2
+ "@storybook/channel-postmessage": 7.1.0-alpha.0
+ "@storybook/channel-websocket": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/csf-plugin": 7.1.0-alpha.0
"@storybook/mdx1-csf": ">=1.0.0-next.1"
"@storybook/mdx2-csf": ^1.0.0
- "@storybook/node-logger": 7.0.2
- "@storybook/preview": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/preview": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/express": ^4.17.13
"@types/node": ^16.0.0
browser-assert: ^1.2.1
@@ -5840,30 +5840,30 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/builder-webpack5@7.0.2, @storybook/builder-webpack5@workspace:*, @storybook/builder-webpack5@workspace:lib/builder-webpack5":
+"@storybook/builder-webpack5@7.1.0-alpha.0, @storybook/builder-webpack5@workspace:*, @storybook/builder-webpack5@workspace:lib/builder-webpack5":
version: 0.0.0-use.local
resolution: "@storybook/builder-webpack5@workspace:lib/builder-webpack5"
dependencies:
"@babel/core": ^7.12.10
- "@storybook/addons": 7.0.2
- "@storybook/api": 7.0.2
- "@storybook/channel-postmessage": 7.0.2
- "@storybook/channel-websocket": 7.0.2
- "@storybook/channels": 7.0.2
- "@storybook/client-api": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/core-events": 7.0.2
- "@storybook/core-webpack": 7.0.2
+ "@storybook/addons": 7.1.0-alpha.0
+ "@storybook/api": 7.1.0-alpha.0
+ "@storybook/channel-postmessage": 7.1.0-alpha.0
+ "@storybook/channel-websocket": 7.1.0-alpha.0
+ "@storybook/channels": 7.1.0-alpha.0
+ "@storybook/client-api": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
+ "@storybook/core-webpack": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/preview": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/router": 7.0.2
- "@storybook/store": 7.0.2
- "@storybook/theming": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/preview": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/router": 7.1.0-alpha.0
+ "@storybook/store": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
"@types/node": ^16.0.0
"@types/pretty-hrtime": ^1.0.0
"@types/semver": ^7.3.4
@@ -5904,13 +5904,13 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/channel-postmessage@7.0.2, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:lib/channel-postmessage":
+"@storybook/channel-postmessage@7.1.0-alpha.0, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:lib/channel-postmessage":
version: 0.0.0-use.local
resolution: "@storybook/channel-postmessage@workspace:lib/channel-postmessage"
dependencies:
- "@storybook/channels": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/channels": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
qs: ^6.10.0
telejson: ^7.0.3
@@ -5918,19 +5918,33 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/channel-websocket@7.0.2, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket":
- version: 0.0.0-use.local
- resolution: "@storybook/channel-websocket@workspace:lib/channel-websocket"
+"@storybook/channel-postmessage@npm:7.0.2":
+ version: 7.0.2
+ resolution: "@storybook/channel-postmessage@npm:7.0.2"
dependencies:
"@storybook/channels": 7.0.2
"@storybook/client-logger": 7.0.2
+ "@storybook/core-events": 7.0.2
+ "@storybook/global": ^5.0.0
+ qs: ^6.10.0
+ telejson: ^7.0.3
+ checksum: 7d8695d6266bda9ba66bf8d79d0475f5e971f35896d973b4e8ec92afb9b69b65564a262fca2d1d07728ea61f2cf78443f919b7c26fecfa00735ad7db3d9c12a6
+ languageName: node
+ linkType: hard
+
+"@storybook/channel-websocket@7.1.0-alpha.0, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket":
+ version: 0.0.0-use.local
+ resolution: "@storybook/channel-websocket@workspace:lib/channel-websocket"
+ dependencies:
+ "@storybook/channels": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
telejson: ^7.0.3
typescript: ~4.9.3
languageName: unknown
linkType: soft
-"@storybook/channels@7.0.2, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels":
+"@storybook/channels@7.1.0-alpha.0, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels":
version: 0.0.0-use.local
resolution: "@storybook/channels@workspace:lib/channels"
dependencies:
@@ -5938,21 +5952,28 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/cli@7.0.2, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli":
+"@storybook/channels@npm:7.0.2":
+ version: 7.0.2
+ resolution: "@storybook/channels@npm:7.0.2"
+ checksum: 43211d9707126f875bd01d5c850aa86019ccb58bfba888d49cc35027670ddda4d6843540a9ab9a2f6c23933a46ceb77a0d558b01e3695bccb8b7b129eb3b449c
+ languageName: node
+ linkType: hard
+
+"@storybook/cli@7.1.0-alpha.0, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli":
version: 0.0.0-use.local
resolution: "@storybook/cli@workspace:lib/cli"
dependencies:
"@babel/core": ^7.20.2
"@babel/preset-env": ^7.20.2
"@ndelangen/get-tarball": ^3.0.7
- "@storybook/client-api": 7.0.2
- "@storybook/codemod": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/core-server": 7.0.2
- "@storybook/csf-tools": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/telemetry": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/client-api": 7.1.0-alpha.0
+ "@storybook/codemod": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/core-server": 7.1.0-alpha.0
+ "@storybook/csf-tools": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/telemetry": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/cross-spawn": ^6.0.2
"@types/prompts": ^2.0.9
"@types/puppeteer-core": ^2.1.0
@@ -5993,16 +6014,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/client-api@7.0.2, @storybook/client-api@workspace:*, @storybook/client-api@workspace:lib/client-api":
+"@storybook/client-api@7.1.0-alpha.0, @storybook/client-api@workspace:*, @storybook/client-api@workspace:lib/client-api":
version: 0.0.0-use.local
resolution: "@storybook/client-api@workspace:lib/client-api"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/preview-api": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
languageName: unknown
linkType: soft
-"@storybook/client-logger@7.0.2, @storybook/client-logger@^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger":
+"@storybook/client-logger@7.1.0-alpha.0, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger":
version: 0.0.0-use.local
resolution: "@storybook/client-logger@workspace:lib/client-logger"
dependencies:
@@ -6011,7 +6032,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/codemod@7.0.2, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod":
+"@storybook/client-logger@npm:7.0.2, @storybook/client-logger@npm:^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0":
+ version: 7.0.2
+ resolution: "@storybook/client-logger@npm:7.0.2"
+ dependencies:
+ "@storybook/global": ^5.0.0
+ checksum: cdcb204f874d01ff65b91447c59becd9ff0c07c9103b3078a3faa63e66e290eb8820a357fee25e0f99674c56e27fb5be20260f4ffef5841a18ab2ad38d3d8bfd
+ languageName: node
+ linkType: hard
+
+"@storybook/codemod@7.1.0-alpha.0, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod":
version: 0.0.0-use.local
resolution: "@storybook/codemod@workspace:lib/codemod"
dependencies:
@@ -6019,9 +6049,9 @@ __metadata:
"@babel/preset-env": ~7.21.0
"@babel/types": ~7.21.2
"@storybook/csf": ^0.1.0
- "@storybook/csf-tools": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/csf-tools": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/jscodeshift": ^0.11.6
ansi-regex: ^5.0.1
cross-spawn: ^7.0.3
@@ -6046,16 +6076,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/components@7.0.2, @storybook/components@workspace:*, @storybook/components@workspace:ui/components":
+"@storybook/components@7.1.0-alpha.0, @storybook/components@workspace:*, @storybook/components@workspace:ui/components":
version: 0.0.0-use.local
resolution: "@storybook/components@workspace:ui/components"
dependencies:
"@popperjs/core": ^2.6.0
- "@storybook/client-logger": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
"@storybook/csf": ^0.1.0
"@storybook/global": ^5.0.0
- "@storybook/theming": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/theming": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/overlayscrollbars": ^1.12.0
"@types/react-syntax-highlighter": 11.0.5
"@types/util-deprecate": ^1.0.0
@@ -6077,21 +6107,21 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/core-client@7.0.2, @storybook/core-client@workspace:*, @storybook/core-client@workspace:lib/core-client":
+"@storybook/core-client@7.1.0-alpha.0, @storybook/core-client@workspace:*, @storybook/core-client@workspace:lib/core-client":
version: 0.0.0-use.local
resolution: "@storybook/core-client@workspace:lib/core-client"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/preview-api": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
languageName: unknown
linkType: soft
-"@storybook/core-common@7.0.2, @storybook/core-common@workspace:*, @storybook/core-common@workspace:lib/core-common":
+"@storybook/core-common@7.1.0-alpha.0, @storybook/core-common@workspace:*, @storybook/core-common@workspace:lib/core-common":
version: 0.0.0-use.local
resolution: "@storybook/core-common@workspace:lib/core-common"
dependencies:
- "@storybook/node-logger": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/mock-fs": ^4.13.1
"@types/node": ^16.0.0
"@types/picomatch": ^2.3.0
@@ -6118,7 +6148,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/core-events@7.0.2, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events":
+"@storybook/core-events@7.1.0-alpha.0, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events":
version: 0.0.0-use.local
resolution: "@storybook/core-events@workspace:lib/core-events"
dependencies:
@@ -6126,24 +6156,31 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/core-server@7.0.2, @storybook/core-server@workspace:*, @storybook/core-server@workspace:lib/core-server":
+"@storybook/core-events@npm:7.0.2":
+ version: 7.0.2
+ resolution: "@storybook/core-events@npm:7.0.2"
+ checksum: 61d2a854c9fcdac8dd92fae704e721eafe0ce4f7fc0de5b5590af706282d996e05b8efab24adf0cedad7a68fc6be057a8e3213be22855bd2db93dc6fdf06bb3d
+ languageName: node
+ linkType: hard
+
+"@storybook/core-server@7.1.0-alpha.0, @storybook/core-server@workspace:*, @storybook/core-server@workspace:lib/core-server":
version: 0.0.0-use.local
resolution: "@storybook/core-server@workspace:lib/core-server"
dependencies:
"@aw-web-design/x-default-browser": 1.4.88
"@discoveryjs/json-ext": ^0.5.3
- "@storybook/builder-manager": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/builder-manager": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/csf": ^0.1.0
- "@storybook/csf-tools": 7.0.2
+ "@storybook/csf-tools": 7.1.0-alpha.0
"@storybook/docs-mdx": ^0.1.0
"@storybook/global": ^5.0.0
- "@storybook/manager": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/telemetry": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/telemetry": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/compression": ^1.7.0
"@types/detect-port": ^1.3.0
"@types/ip": ^1.1.0
@@ -6183,13 +6220,13 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/core-webpack@7.0.2, @storybook/core-webpack@workspace:*, @storybook/core-webpack@workspace:lib/core-webpack":
+"@storybook/core-webpack@7.1.0-alpha.0, @storybook/core-webpack@workspace:*, @storybook/core-webpack@workspace:lib/core-webpack":
version: 0.0.0-use.local
resolution: "@storybook/core-webpack@workspace:lib/core-webpack"
dependencies:
- "@storybook/core-common": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/node": ^16.0.0
ts-dedent: ^2.0.0
typescript: ~4.9.3
@@ -6197,17 +6234,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/csf-plugin@7.0.2, @storybook/csf-plugin@workspace:*, @storybook/csf-plugin@workspace:lib/csf-plugin":
+"@storybook/csf-plugin@7.1.0-alpha.0, @storybook/csf-plugin@workspace:*, @storybook/csf-plugin@workspace:lib/csf-plugin":
version: 0.0.0-use.local
resolution: "@storybook/csf-plugin@workspace:lib/csf-plugin"
dependencies:
- "@storybook/csf-tools": 7.0.2
+ "@storybook/csf-tools": 7.1.0-alpha.0
typescript: ~4.9.3
unplugin: ^0.10.2
languageName: unknown
linkType: soft
-"@storybook/csf-tools@7.0.2, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools":
+"@storybook/csf-tools@7.1.0-alpha.0, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools":
version: 0.0.0-use.local
resolution: "@storybook/csf-tools@workspace:lib/csf-tools"
dependencies:
@@ -6216,7 +6253,7 @@ __metadata:
"@babel/traverse": ~7.21.2
"@babel/types": ~7.21.2
"@storybook/csf": ^0.1.0
- "@storybook/types": 7.0.2
+ "@storybook/types": 7.1.0-alpha.0
"@types/fs-extra": ^11.0.1
"@types/js-yaml": ^3.12.6
fs-extra: ^11.1.0
@@ -6252,14 +6289,14 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/docs-tools@7.0.2, @storybook/docs-tools@workspace:*, @storybook/docs-tools@workspace:lib/docs-tools":
+"@storybook/docs-tools@7.1.0-alpha.0, @storybook/docs-tools@workspace:*, @storybook/docs-tools@workspace:lib/docs-tools":
version: 0.0.0-use.local
resolution: "@storybook/docs-tools@workspace:lib/docs-tools"
dependencies:
"@babel/core": ^7.12.10
- "@storybook/core-common": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/doctrine": ^0.0.3
doctrine: ^3.0.0
jest-specific-snapshot: ^7.0.0
@@ -6273,12 +6310,12 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/ember@workspace:frameworks/ember"
dependencies:
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/docs-tools": 7.0.2
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
ember-source: ~3.28.1
ts-dedent: ^2.0.0
typescript: ~4.9.3
@@ -6322,15 +6359,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/html-vite@workspace:frameworks/html-vite"
dependencies:
- "@storybook/addons": 7.0.2
- "@storybook/builder-vite": 7.0.2
- "@storybook/channel-postmessage": 7.0.2
- "@storybook/channel-websocket": 7.0.2
- "@storybook/client-api": 7.0.2
- "@storybook/core-server": 7.0.2
- "@storybook/html": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/preview-web": 7.0.2
+ "@storybook/addons": 7.1.0-alpha.0
+ "@storybook/builder-vite": 7.1.0-alpha.0
+ "@storybook/channel-postmessage": 7.1.0-alpha.0
+ "@storybook/channel-websocket": 7.1.0-alpha.0
+ "@storybook/client-api": 7.1.0-alpha.0
+ "@storybook/core-server": 7.1.0-alpha.0
+ "@storybook/html": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/preview-web": 7.1.0-alpha.0
"@types/node": ^16.0.0
magic-string: ^0.27.0
typescript: ~4.9.3
@@ -6341,11 +6378,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/html-webpack5@workspace:frameworks/html-webpack5"
dependencies:
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/core-common": 7.0.2
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/html": 7.0.2
- "@storybook/preset-html-webpack": 7.0.2
+ "@storybook/html": 7.1.0-alpha.0
+ "@storybook/preset-html-webpack": 7.1.0-alpha.0
"@types/node": ^16.0.0
typescript: ~4.9.3
peerDependencies:
@@ -6355,15 +6392,15 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/html@7.0.2, @storybook/html@workspace:*, @storybook/html@workspace:renderers/html":
+"@storybook/html@7.1.0-alpha.0, @storybook/html@workspace:*, @storybook/html@workspace:renderers/html":
version: 0.0.0-use.local
resolution: "@storybook/html@workspace:renderers/html"
dependencies:
- "@storybook/core-client": 7.0.2
- "@storybook/docs-tools": 7.0.2
+ "@storybook/core-client": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
ts-dedent: ^2.0.0
typescript: ~4.9.3
peerDependencies:
@@ -6371,18 +6408,31 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/instrumenter@7.0.2, @storybook/instrumenter@^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter":
+"@storybook/instrumenter@7.1.0-alpha.0, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter":
version: 0.0.0-use.local
resolution: "@storybook/instrumenter@workspace:lib/instrumenter"
+ dependencies:
+ "@storybook/channels": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
+ "@storybook/global": ^5.0.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ typescript: ~4.9.3
+ languageName: unknown
+ linkType: soft
+
+"@storybook/instrumenter@npm:^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0":
+ version: 7.0.2
+ resolution: "@storybook/instrumenter@npm:7.0.2"
dependencies:
"@storybook/channels": 7.0.2
"@storybook/client-logger": 7.0.2
"@storybook/core-events": 7.0.2
"@storybook/global": ^5.0.0
"@storybook/preview-api": 7.0.2
- typescript: ~4.9.3
- languageName: unknown
- linkType: soft
+ checksum: 32d50b35ba1225a210c981e74f35e8c285066d8282218ef3fbfc1b3c39de9902c842029aeceb5df0507805de6b416f2d2610096e74e35fc6e8ff204a85db1a34
+ languageName: node
+ linkType: hard
"@storybook/jest@npm:^0.1.0":
version: 0.1.0
@@ -6423,19 +6473,19 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/manager-api@7.0.2, @storybook/manager-api@workspace:*, @storybook/manager-api@workspace:lib/manager-api":
+"@storybook/manager-api@7.1.0-alpha.0, @storybook/manager-api@workspace:*, @storybook/manager-api@workspace:lib/manager-api":
version: 0.0.0-use.local
resolution: "@storybook/manager-api@workspace:lib/manager-api"
dependencies:
"@jest/globals": ^29.3.1
- "@storybook/channels": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/channels": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/csf": ^0.1.0
"@storybook/global": ^5.0.0
- "@storybook/router": 7.0.2
- "@storybook/theming": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/router": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/lodash": ^4.14.167
"@types/qs": ^6
dequal: ^2.0.2
@@ -6454,24 +6504,24 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/manager@7.0.2, @storybook/manager@workspace:*, @storybook/manager@workspace:ui/manager":
+"@storybook/manager@7.1.0-alpha.0, @storybook/manager@workspace:*, @storybook/manager@workspace:ui/manager":
version: 0.0.0-use.local
resolution: "@storybook/manager@workspace:ui/manager"
dependencies:
"@fal-works/esbuild-plugin-global-externals": ^2.1.2
- "@storybook/addons": 7.0.2
- "@storybook/api": 7.0.2
- "@storybook/channel-postmessage": 7.0.2
- "@storybook/channel-websocket": 7.0.2
- "@storybook/channels": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/components": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/addons": 7.1.0-alpha.0
+ "@storybook/api": 7.1.0-alpha.0
+ "@storybook/channel-postmessage": 7.1.0-alpha.0
+ "@storybook/channel-websocket": 7.1.0-alpha.0
+ "@storybook/channels": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/components": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/router": 7.0.2
- "@storybook/theming": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/router": 7.1.0-alpha.0
+ "@storybook/theming": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@testing-library/react": ^11.2.2
"@types/semver": ^7.3.4
copy-to-clipboard: ^3.3.1
@@ -6531,13 +6581,13 @@ __metadata:
"@babel/preset-typescript": ^7.21.0
"@babel/runtime": ^7.21.0
"@babel/types": ^7.20.5
- "@storybook/addon-actions": 7.0.2
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/preset-react-webpack": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/react": 7.0.2
+ "@storybook/addon-actions": 7.1.0-alpha.0
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/preset-react-webpack": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/react": 7.1.0-alpha.0
"@types/babel__core": ^7
"@types/babel__plugin-transform-runtime": ^7
"@types/babel__preset-env": ^7
@@ -6582,7 +6632,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/node-logger@7.0.2, @storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger":
+"@storybook/node-logger@7.1.0-alpha.0, @storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger":
version: 0.0.0-use.local
resolution: "@storybook/node-logger@workspace:lib/node-logger"
dependencies:
@@ -6595,19 +6645,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/node-logger@npm:7.0.0-beta.52":
- version: 7.0.0-beta.52
- resolution: "@storybook/node-logger@npm:7.0.0-beta.52"
- dependencies:
- "@types/npmlog": ^4.1.2
- chalk: ^4.1.0
- npmlog: ^5.0.1
- pretty-hrtime: ^1.0.3
- checksum: 7a35297fb274bc104c3bc14d798c1d30efad95d4a0bf425958e7497ce6f81a14f3750119ab004fbe2f318071bae19bc2c1ad605612535f02c3c3aacc2b987db6
- languageName: node
- linkType: hard
-
-"@storybook/postinstall@7.0.2, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall":
+"@storybook/postinstall@7.1.0-alpha.0, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall":
version: 0.0.0-use.local
resolution: "@storybook/postinstall@workspace:lib/postinstall"
dependencies:
@@ -6623,8 +6661,8 @@ __metadata:
resolution: "@storybook/preact-vite@workspace:frameworks/preact-vite"
dependencies:
"@preact/preset-vite": ^2.0.0
- "@storybook/builder-vite": 7.0.2
- "@storybook/preact": 7.0.2
+ "@storybook/builder-vite": 7.1.0-alpha.0
+ "@storybook/preact": 7.1.0-alpha.0
"@types/node": ^16.0.0
typescript: ~4.9.3
vite: ^4.0.0
@@ -6638,10 +6676,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/preact-webpack5@workspace:frameworks/preact-webpack5"
dependencies:
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/preact": 7.0.2
- "@storybook/preset-preact-webpack": 7.0.2
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/preact": 7.1.0-alpha.0
+ "@storybook/preset-preact-webpack": 7.1.0-alpha.0
"@types/node": ^16.0.0
preact: ^10.5.13
typescript: ~4.9.3
@@ -6653,14 +6691,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preact@7.0.2, @storybook/preact@workspace:*, @storybook/preact@workspace:renderers/preact":
+"@storybook/preact@7.1.0-alpha.0, @storybook/preact@workspace:*, @storybook/preact@workspace:renderers/preact":
version: 0.0.0-use.local
resolution: "@storybook/preact@workspace:renderers/preact"
dependencies:
- "@storybook/core-client": 7.0.2
+ "@storybook/core-client": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
preact: ^10.5.13
ts-dedent: ^2.0.0
typescript: ~4.9.3
@@ -6674,9 +6712,9 @@ __metadata:
resolution: "@storybook/preset-create-react-app@workspace:presets/create-react-app"
dependencies:
"@pmmmwh/react-refresh-webpack-plugin": ^0.5.1
- "@storybook/node-logger": 7.0.2
+ "@storybook/node-logger": 7.1.0-alpha.0
"@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.630821.0
- "@storybook/types": 7.0.2
+ "@storybook/types": 7.1.0-alpha.0
"@types/babel__core": ^7.1.7
"@types/node": ^16.0.0
"@types/semver": ^7.3.6
@@ -6690,11 +6728,11 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preset-html-webpack@7.0.2, @storybook/preset-html-webpack@workspace:*, @storybook/preset-html-webpack@workspace:presets/html-webpack":
+"@storybook/preset-html-webpack@7.1.0-alpha.0, @storybook/preset-html-webpack@workspace:*, @storybook/preset-html-webpack@workspace:presets/html-webpack":
version: 0.0.0-use.local
resolution: "@storybook/preset-html-webpack@workspace:presets/html-webpack"
dependencies:
- "@storybook/core-webpack": 7.0.2
+ "@storybook/core-webpack": 7.1.0-alpha.0
"@types/node": ^16.0.0
html-loader: ^3.1.0
typescript: ~4.9.3
@@ -6704,13 +6742,13 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preset-preact-webpack@7.0.2, @storybook/preset-preact-webpack@workspace:*, @storybook/preset-preact-webpack@workspace:presets/preact-webpack":
+"@storybook/preset-preact-webpack@7.1.0-alpha.0, @storybook/preset-preact-webpack@workspace:*, @storybook/preset-preact-webpack@workspace:presets/preact-webpack":
version: 0.0.0-use.local
resolution: "@storybook/preset-preact-webpack@workspace:presets/preact-webpack"
dependencies:
"@babel/plugin-transform-react-jsx": ^7.21.0
"@babel/preset-typescript": ^7.21.0
- "@storybook/core-webpack": 7.0.2
+ "@storybook/core-webpack": 7.1.0-alpha.0
"@types/node": ^16.0.0
preact: ^10.5.13
typescript: ~4.9.3
@@ -6720,17 +6758,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preset-react-webpack@7.0.2, @storybook/preset-react-webpack@workspace:*, @storybook/preset-react-webpack@workspace:presets/react-webpack":
+"@storybook/preset-react-webpack@7.1.0-alpha.0, @storybook/preset-react-webpack@workspace:*, @storybook/preset-react-webpack@workspace:presets/react-webpack":
version: 0.0.0-use.local
resolution: "@storybook/preset-react-webpack@workspace:presets/react-webpack"
dependencies:
"@babel/preset-flow": ^7.18.6
"@babel/preset-react": ^7.18.6
"@pmmmwh/react-refresh-webpack-plugin": ^0.5.5
- "@storybook/core-webpack": 7.0.2
- "@storybook/docs-tools": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/react": 7.0.2
+ "@storybook/core-webpack": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/react": 7.1.0-alpha.0
"@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.630821.0
"@types/node": ^16.0.0
"@types/semver": ^7.3.4
@@ -6753,14 +6791,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preset-server-webpack@7.0.2, @storybook/preset-server-webpack@workspace:*, @storybook/preset-server-webpack@workspace:presets/server-webpack":
+"@storybook/preset-server-webpack@7.1.0-alpha.0, @storybook/preset-server-webpack@workspace:*, @storybook/preset-server-webpack@workspace:presets/server-webpack":
version: 0.0.0-use.local
resolution: "@storybook/preset-server-webpack@workspace:presets/server-webpack"
dependencies:
- "@storybook/core-server": 7.0.2
- "@storybook/core-webpack": 7.0.2
+ "@storybook/core-server": 7.1.0-alpha.0
+ "@storybook/core-webpack": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/server": 7.0.2
+ "@storybook/server": 7.1.0-alpha.0
"@types/node": ^16.0.0
fs-extra: ^11.1.0
jest-specific-snapshot: ^7.0.0
@@ -6772,12 +6810,12 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preset-svelte-webpack@7.0.2, @storybook/preset-svelte-webpack@workspace:*, @storybook/preset-svelte-webpack@workspace:presets/svelte-webpack":
+"@storybook/preset-svelte-webpack@7.1.0-alpha.0, @storybook/preset-svelte-webpack@workspace:*, @storybook/preset-svelte-webpack@workspace:presets/svelte-webpack":
version: 0.0.0-use.local
resolution: "@storybook/preset-svelte-webpack@workspace:presets/svelte-webpack"
dependencies:
- "@storybook/core-webpack": 7.0.2
- "@storybook/node-logger": 7.0.2
+ "@storybook/core-webpack": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
svelte: ^3.31.2
svelte-loader: ^3.1.2
sveltedoc-parser: ^4.2.1
@@ -6790,12 +6828,12 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preset-vue-webpack@7.0.2, @storybook/preset-vue-webpack@workspace:*, @storybook/preset-vue-webpack@workspace:presets/vue-webpack":
+"@storybook/preset-vue-webpack@7.1.0-alpha.0, @storybook/preset-vue-webpack@workspace:*, @storybook/preset-vue-webpack@workspace:presets/vue-webpack":
version: 0.0.0-use.local
resolution: "@storybook/preset-vue-webpack@workspace:presets/vue-webpack"
dependencies:
- "@storybook/core-webpack": 7.0.2
- "@storybook/docs-tools": 7.0.2
+ "@storybook/core-webpack": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@types/node": ^16.0.0
ts-loader: ^9.2.8
typescript: ~4.9.3
@@ -6815,12 +6853,12 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preset-vue3-webpack@7.0.2, @storybook/preset-vue3-webpack@workspace:*, @storybook/preset-vue3-webpack@workspace:presets/vue3-webpack":
+"@storybook/preset-vue3-webpack@7.1.0-alpha.0, @storybook/preset-vue3-webpack@workspace:*, @storybook/preset-vue3-webpack@workspace:presets/vue3-webpack":
version: 0.0.0-use.local
resolution: "@storybook/preset-vue3-webpack@workspace:presets/vue3-webpack"
dependencies:
- "@storybook/core-webpack": 7.0.2
- "@storybook/docs-tools": 7.0.2
+ "@storybook/core-webpack": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@types/node": ^16.0.0
"@vue/compiler-sfc": ^3.2.33
ts-loader: ^9.2.8
@@ -6838,14 +6876,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preset-web-components-webpack@7.0.2, @storybook/preset-web-components-webpack@workspace:*, @storybook/preset-web-components-webpack@workspace:presets/web-components-webpack":
+"@storybook/preset-web-components-webpack@7.1.0-alpha.0, @storybook/preset-web-components-webpack@workspace:*, @storybook/preset-web-components-webpack@workspace:presets/web-components-webpack":
version: 0.0.0-use.local
resolution: "@storybook/preset-web-components-webpack@workspace:presets/web-components-webpack"
dependencies:
"@babel/plugin-syntax-dynamic-import": ^7.8.3
"@babel/plugin-syntax-import-meta": ^7.10.4
"@babel/preset-env": ^7.20.2
- "@storybook/core-webpack": 7.0.2
+ "@storybook/core-webpack": 7.1.0-alpha.0
"@types/node": ^16.0.0
babel-loader: ^7.0.0 || ^8.0.0 || ^9.0.0
babel-plugin-bundled-import-meta: ^0.3.1
@@ -6856,19 +6894,19 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preview-api@7.0.2, @storybook/preview-api@workspace:*, @storybook/preview-api@workspace:lib/preview-api":
+"@storybook/preview-api@7.1.0-alpha.0, @storybook/preview-api@workspace:*, @storybook/preview-api@workspace:lib/preview-api":
version: 0.0.0-use.local
resolution: "@storybook/preview-api@workspace:lib/preview-api"
dependencies:
"@jest/globals": ^26.6.2
- "@storybook/channel-postmessage": 7.0.2
- "@storybook/channels": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/core-events": 7.0.2
+ "@storybook/channel-postmessage": 7.1.0-alpha.0
+ "@storybook/channels": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
"@storybook/csf": ^0.1.0
"@storybook/global": ^5.0.0
- "@storybook/types": 7.0.2
+ "@storybook/types": 7.1.0-alpha.0
"@types/qs": ^6.9.5
ansi-to-html: ^0.6.11
dequal: ^2.0.2
@@ -6883,25 +6921,48 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preview-web@7.0.2, @storybook/preview-web@workspace:*, @storybook/preview-web@workspace:lib/preview-web":
+"@storybook/preview-api@npm:7.0.2":
+ version: 7.0.2
+ resolution: "@storybook/preview-api@npm:7.0.2"
+ dependencies:
+ "@storybook/channel-postmessage": 7.0.2
+ "@storybook/channels": 7.0.2
+ "@storybook/client-logger": 7.0.2
+ "@storybook/core-events": 7.0.2
+ "@storybook/csf": ^0.1.0
+ "@storybook/global": ^5.0.0
+ "@storybook/types": 7.0.2
+ "@types/qs": ^6.9.5
+ dequal: ^2.0.2
+ lodash: ^4.17.21
+ memoizerific: ^1.11.3
+ qs: ^6.10.0
+ synchronous-promise: ^2.0.15
+ ts-dedent: ^2.0.0
+ util-deprecate: ^1.0.2
+ checksum: facf922e737a2efe9026b7a3be8968cb1deac78b4ea28572830d2e6f2802b2f8842cb97536f624e7c726451309641fe61c25c6590adb383829f68ac5071e229b
+ languageName: node
+ linkType: hard
+
+"@storybook/preview-web@7.1.0-alpha.0, @storybook/preview-web@workspace:*, @storybook/preview-web@workspace:lib/preview-web":
version: 0.0.0-use.local
resolution: "@storybook/preview-web@workspace:lib/preview-web"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/preview-api": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
languageName: unknown
linkType: soft
-"@storybook/preview@7.0.2, @storybook/preview@workspace:*, @storybook/preview@workspace:lib/preview":
+"@storybook/preview@7.1.0-alpha.0, @storybook/preview@workspace:*, @storybook/preview@workspace:lib/preview":
version: 0.0.0-use.local
resolution: "@storybook/preview@workspace:lib/preview"
dependencies:
- "@storybook/channel-postmessage": 7.0.2
- "@storybook/channel-websocket": 7.0.2
- "@storybook/channels": 7.0.2
- "@storybook/client-logger": 7.0.2
- "@storybook/core-events": 7.0.2
- "@storybook/preview-api": 7.0.2
+ "@storybook/channel-postmessage": 7.1.0-alpha.0
+ "@storybook/channel-websocket": 7.1.0-alpha.0
+ "@storybook/channels": 7.1.0-alpha.0
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
typescript: ~4.9.3
languageName: unknown
linkType: soft
@@ -6924,11 +6985,11 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/react-dom-shim@7.0.2, @storybook/react-dom-shim@workspace:lib/react-dom-shim":
+"@storybook/react-dom-shim@7.1.0-alpha.0, @storybook/react-dom-shim@workspace:lib/react-dom-shim":
version: 0.0.0-use.local
resolution: "@storybook/react-dom-shim@workspace:lib/react-dom-shim"
dependencies:
- "@storybook/types": 7.0.2
+ "@storybook/types": 7.1.0-alpha.0
typescript: ~4.9.3
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -6942,8 +7003,8 @@ __metadata:
dependencies:
"@joshwooding/vite-plugin-react-docgen-typescript": ^0.2.1
"@rollup/pluginutils": ^4.2.0
- "@storybook/builder-vite": 7.0.2
- "@storybook/react": 7.0.2
+ "@storybook/builder-vite": 7.1.0-alpha.0
+ "@storybook/react": 7.1.0-alpha.0
"@types/node": ^16.0.0
"@vitejs/plugin-react": ^3.0.1
ast-types: ^0.14.2
@@ -6962,9 +7023,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/react-webpack5@workspace:frameworks/react-webpack5"
dependencies:
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/preset-react-webpack": 7.0.2
- "@storybook/react": 7.0.2
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/preset-react-webpack": 7.1.0-alpha.0
+ "@storybook/react": 7.1.0-alpha.0
"@types/node": ^16.0.0
jest-specific-snapshot: ^7.0.0
typescript: ~4.9.3
@@ -6980,18 +7041,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/react@7.0.2, @storybook/react@workspace:*, @storybook/react@workspace:renderers/react":
+"@storybook/react@7.1.0-alpha.0, @storybook/react@workspace:*, @storybook/react@workspace:renderers/react":
version: 0.0.0-use.local
resolution: "@storybook/react@workspace:renderers/react"
dependencies:
"@babel/core": ^7.20.2
- "@storybook/client-logger": 7.0.2
- "@storybook/core-client": 7.0.2
- "@storybook/docs-tools": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-client": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/preview-api": 7.0.2
- "@storybook/react-dom-shim": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/react-dom-shim": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/escodegen": ^0.0.6
"@types/estree": ^0.0.51
"@types/node": ^16.0.0
@@ -7215,11 +7276,11 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/router@7.0.2, @storybook/router@workspace:*, @storybook/router@workspace:lib/router":
+"@storybook/router@7.1.0-alpha.0, @storybook/router@workspace:*, @storybook/router@workspace:lib/router":
version: 0.0.0-use.local
resolution: "@storybook/router@workspace:lib/router"
dependencies:
- "@storybook/client-logger": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
dequal: ^2.0.2
lodash: ^4.17.21
@@ -7238,10 +7299,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/server-webpack5@workspace:frameworks/server-webpack5"
dependencies:
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/preset-server-webpack": 7.0.2
- "@storybook/server": 7.0.2
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/preset-server-webpack": 7.1.0-alpha.0
+ "@storybook/server": 7.1.0-alpha.0
"@types/node": ^16.0.0
typescript: ~4.9.3
peerDependencies:
@@ -7250,25 +7311,25 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/server@7.0.2, @storybook/server@workspace:*, @storybook/server@workspace:renderers/server":
+"@storybook/server@7.1.0-alpha.0, @storybook/server@workspace:*, @storybook/server@workspace:renderers/server":
version: 0.0.0-use.local
resolution: "@storybook/server@workspace:renderers/server"
dependencies:
- "@storybook/core-client": 7.0.2
+ "@storybook/core-client": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
ts-dedent: ^2.0.0
typescript: ~4.9.3
languageName: unknown
linkType: soft
-"@storybook/source-loader@7.0.2, @storybook/source-loader@workspace:*, @storybook/source-loader@workspace:lib/source-loader":
+"@storybook/source-loader@7.1.0-alpha.0, @storybook/source-loader@workspace:*, @storybook/source-loader@workspace:lib/source-loader":
version: 0.0.0-use.local
resolution: "@storybook/source-loader@workspace:lib/source-loader"
dependencies:
"@storybook/csf": ^0.1.0
- "@storybook/types": 7.0.2
+ "@storybook/types": 7.1.0-alpha.0
estraverse: ^5.2.0
jest-specific-snapshot: ^7.0.0
lodash: ^4.17.21
@@ -7280,22 +7341,22 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/store@7.0.2, @storybook/store@workspace:*, @storybook/store@workspace:lib/store":
+"@storybook/store@7.1.0-alpha.0, @storybook/store@workspace:*, @storybook/store@workspace:lib/store":
version: 0.0.0-use.local
resolution: "@storybook/store@workspace:lib/store"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/preview-api": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
languageName: unknown
linkType: soft
-"@storybook/svelte-vite@7.0.2, @storybook/svelte-vite@workspace:frameworks/svelte-vite":
+"@storybook/svelte-vite@7.1.0-alpha.0, @storybook/svelte-vite@workspace:frameworks/svelte-vite":
version: 0.0.0-use.local
resolution: "@storybook/svelte-vite@workspace:frameworks/svelte-vite"
dependencies:
- "@storybook/builder-vite": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/svelte": 7.0.2
+ "@storybook/builder-vite": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/svelte": 7.1.0-alpha.0
"@sveltejs/vite-plugin-svelte": ^2.0.0
"@types/node": ^16.0.0
magic-string: ^0.27.0
@@ -7315,10 +7376,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/svelte-webpack5@workspace:frameworks/svelte-webpack5"
dependencies:
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/preset-svelte-webpack": 7.0.2
- "@storybook/svelte": 7.0.2
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/preset-svelte-webpack": 7.1.0-alpha.0
+ "@storybook/svelte": 7.1.0-alpha.0
svelte: ^3.48.0
svelte-loader: ^3.1.2
typescript: ~4.9.3
@@ -7331,17 +7392,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/svelte@7.0.2, @storybook/svelte@workspace:*, @storybook/svelte@workspace:renderers/svelte":
+"@storybook/svelte@7.1.0-alpha.0, @storybook/svelte@workspace:*, @storybook/svelte@workspace:renderers/svelte":
version: 0.0.0-use.local
resolution: "@storybook/svelte@workspace:renderers/svelte"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/core-client": 7.0.2
- "@storybook/core-events": 7.0.2
- "@storybook/docs-tools": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-client": 7.1.0-alpha.0
+ "@storybook/core-events": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
expect-type: ^0.14.2
svelte: ^3.31.2
svelte-check: ^2.9.2
@@ -7357,9 +7418,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/sveltekit@workspace:frameworks/sveltekit"
dependencies:
- "@storybook/builder-vite": 7.0.2
- "@storybook/svelte": 7.0.2
- "@storybook/svelte-vite": 7.0.2
+ "@storybook/builder-vite": 7.1.0-alpha.0
+ "@storybook/svelte": 7.1.0-alpha.0
+ "@storybook/svelte-vite": 7.1.0-alpha.0
"@types/node": ^16.0.0
typescript: ^4.9.3
vite: ^4.0.0
@@ -7368,12 +7429,12 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/telemetry@7.0.2, @storybook/telemetry@workspace:*, @storybook/telemetry@workspace:lib/telemetry":
+"@storybook/telemetry@7.1.0-alpha.0, @storybook/telemetry@workspace:*, @storybook/telemetry@workspace:lib/telemetry":
version: 0.0.0-use.local
resolution: "@storybook/telemetry@workspace:lib/telemetry"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/core-common": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
chalk: ^4.1.0
detect-package-manager: ^2.0.1
fetch-retry: ^5.0.2
@@ -7398,16 +7459,16 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/theming@7.0.2, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming":
+"@storybook/theming@7.1.0-alpha.0, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming":
version: 0.0.0-use.local
resolution: "@storybook/theming@workspace:lib/theming"
dependencies:
- "@emotion/cache": ^11.10.3
+ "@emotion/cache": ^11.10.7
"@emotion/is-prop-valid": ^1.2.0
"@emotion/react": ^11.10.4
"@emotion/styled": ^11.10.4
"@emotion/use-insertion-effect-with-fallbacks": ^1.0.0
- "@storybook/client-logger": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
"@types/fs-extra": ^11.0.1
"@types/node": ^16.0.0
@@ -7423,11 +7484,11 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/types@7.0.2, @storybook/types@workspace:*, @storybook/types@workspace:lib/types":
+"@storybook/types@7.1.0-alpha.0, @storybook/types@workspace:*, @storybook/types@workspace:lib/types":
version: 0.0.0-use.local
resolution: "@storybook/types@workspace:lib/types"
dependencies:
- "@storybook/channels": 7.0.2
+ "@storybook/channels": 7.1.0-alpha.0
"@storybook/csf": ^0.1.0
"@types/babel__core": ^7.0.0
"@types/express": ^4.7.0
@@ -7437,14 +7498,26 @@ __metadata:
languageName: unknown
linkType: soft
+"@storybook/types@npm:7.0.2":
+ version: 7.0.2
+ resolution: "@storybook/types@npm:7.0.2"
+ dependencies:
+ "@storybook/channels": 7.0.2
+ "@types/babel__core": ^7.0.0
+ "@types/express": ^4.7.0
+ file-system-cache: ^2.0.0
+ checksum: c3ac627ef7aafc53850a6a920538886a55bd07c3e201f76c5b75987a0d03f7786623b5bb89f42a6838ce6688525967601d108e42facf4dd7ae0cf99899ba9072
+ languageName: node
+ linkType: hard
+
"@storybook/vue-vite@workspace:frameworks/vue-vite":
version: 0.0.0-use.local
resolution: "@storybook/vue-vite@workspace:frameworks/vue-vite"
dependencies:
- "@storybook/builder-vite": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/core-server": 7.0.2
- "@storybook/vue": 7.0.2
+ "@storybook/builder-vite": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/core-server": 7.1.0-alpha.0
+ "@storybook/vue": 7.1.0-alpha.0
magic-string: ^0.27.0
typescript: ~4.9.3
vite: ^4.0.0
@@ -7462,10 +7535,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/vue-webpack5@workspace:frameworks/vue-webpack5"
dependencies:
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/preset-vue-webpack": 7.0.2
- "@storybook/vue": 7.0.2
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/preset-vue-webpack": 7.1.0-alpha.0
+ "@storybook/vue": 7.1.0-alpha.0
"@types/node": ^16.0.0
typescript: ~4.9.3
vue: ^2.6.12
@@ -7487,9 +7560,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/vue3-vite@workspace:frameworks/vue3-vite"
dependencies:
- "@storybook/builder-vite": 7.0.2
- "@storybook/core-server": 7.0.2
- "@storybook/vue3": 7.0.2
+ "@storybook/builder-vite": 7.1.0-alpha.0
+ "@storybook/core-server": 7.1.0-alpha.0
+ "@storybook/vue3": 7.1.0-alpha.0
"@types/node": ^16.0.0
"@vitejs/plugin-vue": ^4.0.0
magic-string: ^0.27.0
@@ -7507,10 +7580,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/vue3-webpack5@workspace:frameworks/vue3-webpack5"
dependencies:
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/preset-vue3-webpack": 7.0.2
- "@storybook/vue3": 7.0.2
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/preset-vue3-webpack": 7.1.0-alpha.0
+ "@storybook/vue3": 7.1.0-alpha.0
"@types/node": ^16.0.0
"@vue/compiler-sfc": 3.0.0
typescript: ~4.9.3
@@ -7525,16 +7598,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/vue3@7.0.2, @storybook/vue3@workspace:*, @storybook/vue3@workspace:renderers/vue3":
+"@storybook/vue3@7.1.0-alpha.0, @storybook/vue3@workspace:*, @storybook/vue3@workspace:renderers/vue3":
version: 0.0.0-use.local
resolution: "@storybook/vue3@workspace:renderers/vue3"
dependencies:
"@digitak/esrun": ^3.2.2
- "@storybook/core-client": 7.0.2
- "@storybook/docs-tools": 7.0.2
+ "@storybook/core-client": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/prettier": 2.7.2
"@vue/vue3-jest": 29
ts-dedent: ^2.0.0
@@ -7547,16 +7620,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/vue@7.0.2, @storybook/vue@workspace:*, @storybook/vue@workspace:renderers/vue":
+"@storybook/vue@7.1.0-alpha.0, @storybook/vue@workspace:*, @storybook/vue@workspace:renderers/vue":
version: 0.0.0-use.local
resolution: "@storybook/vue@workspace:renderers/vue"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/core-client": 7.0.2
- "@storybook/docs-tools": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-client": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
ts-dedent: ^2.0.0
type-fest: 2.19.0
typescript: ~4.9.3
@@ -7577,10 +7650,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/web-components-vite@workspace:frameworks/web-components-vite"
dependencies:
- "@storybook/builder-vite": 7.0.2
- "@storybook/core-server": 7.0.2
- "@storybook/node-logger": 7.0.2
- "@storybook/web-components": 7.0.2
+ "@storybook/builder-vite": 7.1.0-alpha.0
+ "@storybook/core-server": 7.1.0-alpha.0
+ "@storybook/node-logger": 7.1.0-alpha.0
+ "@storybook/web-components": 7.1.0-alpha.0
"@types/node": ^16.0.0
magic-string: ^0.27.0
typescript: ~4.9.3
@@ -7595,10 +7668,10 @@ __metadata:
resolution: "@storybook/web-components-webpack5@workspace:frameworks/web-components-webpack5"
dependencies:
"@babel/preset-env": ^7.20.2
- "@storybook/builder-webpack5": 7.0.2
- "@storybook/core-common": 7.0.2
- "@storybook/preset-web-components-webpack": 7.0.2
- "@storybook/web-components": 7.0.2
+ "@storybook/builder-webpack5": 7.1.0-alpha.0
+ "@storybook/core-common": 7.1.0-alpha.0
+ "@storybook/preset-web-components-webpack": 7.1.0-alpha.0
+ "@storybook/web-components": 7.1.0-alpha.0
"@types/node": ^16.0.0
lit: 2.3.1
typescript: ~4.9.3
@@ -7609,17 +7682,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/web-components@7.0.2, @storybook/web-components@workspace:*, @storybook/web-components@workspace:renderers/web-components":
+"@storybook/web-components@7.1.0-alpha.0, @storybook/web-components@workspace:*, @storybook/web-components@workspace:renderers/web-components":
version: 0.0.0-use.local
resolution: "@storybook/web-components@workspace:renderers/web-components"
dependencies:
- "@storybook/client-logger": 7.0.2
- "@storybook/core-client": 7.0.2
- "@storybook/docs-tools": 7.0.2
+ "@storybook/client-logger": 7.1.0-alpha.0
+ "@storybook/core-client": 7.1.0-alpha.0
+ "@storybook/docs-tools": 7.1.0-alpha.0
"@storybook/global": ^5.0.0
- "@storybook/manager-api": 7.0.2
- "@storybook/preview-api": 7.0.2
- "@storybook/types": 7.0.2
+ "@storybook/manager-api": 7.1.0-alpha.0
+ "@storybook/preview-api": 7.1.0-alpha.0
+ "@storybook/types": 7.1.0-alpha.0
"@types/cross-spawn": ^6.0.2
"@types/node": ^16.0.0
cross-spawn: ^7.0.3
@@ -27022,7 +27095,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "sb@workspace:lib/cli-sb"
dependencies:
- "@storybook/cli": 7.0.2
+ "@storybook/cli": 7.1.0-alpha.0
bin:
sb: ./index.js
languageName: unknown
@@ -27947,7 +28020,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "storybook@workspace:lib/cli-storybook"
dependencies:
- "@storybook/cli": 7.0.2
+ "@storybook/cli": 7.1.0-alpha.0
bin:
sb: ./index.js
storybook: ./index.js
diff --git a/docs/addons/addon-migration-guide.md b/docs/addons/addon-migration-guide.md
new file mode 100644
index 000000000000..f3e8b78a4812
--- /dev/null
+++ b/docs/addons/addon-migration-guide.md
@@ -0,0 +1,78 @@
+---
+title: Addon migration guide for Storybook 7.0
+---
+
+Storybook 7 is our first major release in over two years. While Storybook’s addon API has not changed much in the past couple of years, addons require several changes for compatibility with Storybook 7. This guide will walk you through the upgrade process.
+
+
+
+As we gather feedback from the community, we’ll update this page. We also have a general [Storybook migration guide](../migration-guide.md) if you’re looking for that.
+
+
+
+## Dependencies
+
+The first thing to do is upgrade any Storybook dependencies in your project. We release the next version of all our packages on the `next` npm tag, so the easiest thing is to reference that in your `package.json`:
+
+```json
+{
+ "dependencies": {
+ "@storybook/client-logger": "next"
+ }
+}
+```
+
+If you'd rather depend on the latest version of Storybook, you can use the `latest` tag:
+
+```json
+{
+ "dependencies": {
+ "@storybook/client-logger": "latest"
+ }
+}
+```
+
+Or use a version specifier:
+
+```json
+{
+ "dependencies": {
+ "@storybook/client-logger": "^7.0.0"
+ }
+}
+```
+
+## Breaking changes
+
+### `@storybook/addons` has been split into `@storybook/manager-api` and `@storybook/preview-api`
+
+The default export from `@storybook/addons` can now be used via named imports from `@storybook/manager-api` and `@storybook/preview-api`, depending on which environment you need the API from. The manager is the Storybook UI and includes your addon's Addon Panel. While the preview is used to render stories and includes your addon's decorators.
+
+You might also depend (and use) these packages in your addon's decorators: `@storybook/store`, `@storybook/preview-web`, `@storybook/core-client`, `@storybook/client-api`. These have all been consolidated into `@storybook/preview-api`. If you use any of these packages, please import what you need from `@storybook/preview-api` instead.
+
+### Some components were moved from `@storybook/components` to a new package `@storybook/blocks`
+
+Components like `ColorControl`, `ColorPalette`, `ArgsTable`, `ArgRow`, `TabbedArgsTable`, `SectionRow`, `Source`, AND `Code` were moved into a new package. In Storybook 7.0, they should be imported from `@storybook/blocks` instead.
+
+```js
+// import { ColorControl } from '@storybook/components';
+import { ColorControl } from '@storybook/blocks';
+```
+
+## Deprecations and detailed migrations
+
+We’ve also deprecated a few packages and APIs in 7.0. After you’ve made your addon working with 7.0, make sure to check the browser console in a Storybook running your addon. If you’re using deprecated packages, you should see warnings that link to migration instructions.
+
+There are more technical details available in the [migration notes for addon authors](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#specific-instructions-for-addon-creators).
+
+Finally, for an exhaustive list of noteworthy changes in 7.0, check [the full migration notes](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#from-version-65x-to-700).
+
+## Releasing
+
+You should release a new major version of this addon that supports Storybook 7. If you want to continue making changes that support Storybook 6, you should release a minor or a patch of the previous major version.
+
+We also recommend releasing your own addon using the `next` tag to test it out in projects.
+
+## Support
+
+If you’ve followed this guide and your addon is still not working, please reach out on the [Storybook Discord](https://discord.gg/storybook) in the `#addons` channel and we’ll help you get to the bottom of it and upgrade the guide accordingly.
diff --git a/docs/addons/install-addons.md b/docs/addons/install-addons.md
index f5741b3eb625..853ca0873c14 100644
--- a/docs/addons/install-addons.md
+++ b/docs/addons/install-addons.md
@@ -22,12 +22,6 @@ For example, to include accessibility testing in Storybook, run the following co
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
Next, update [`.storybook/main.js|ts`](../configure/overview.md#configure-story-rendering) to the following:
diff --git a/docs/addons/writing-addons.md b/docs/addons/writing-addons.md
index bdd9da935227..d4a0f1dce2d0 100644
--- a/docs/addons/writing-addons.md
+++ b/docs/addons/writing-addons.md
@@ -66,7 +66,7 @@ We'll need to add the necessary dependencies and make some adjustments. Run the
Initialize a local Storybook instance to allow you to test your addon.
```shell
-npx storybook init
+npx storybook@latest init
```
diff --git a/docs/builders/builder-api.md b/docs/builders/builder-api.md
index d580843e8c7d..d21444883388 100644
--- a/docs/builders/builder-api.md
+++ b/docs/builders/builder-api.md
@@ -23,12 +23,6 @@ To opt into a builder, the user must add it as a dependency and then edit their
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
+npx storybook@latest init --builder
```
## Manual setup
diff --git a/docs/builders/vite.md b/docs/builders/vite.md
index f209088bdebd..bdc3798bbdbe 100644
--- a/docs/builders/vite.md
+++ b/docs/builders/vite.md
@@ -9,7 +9,7 @@ Storybook Vite builder bundles your components and stories with [Vite](https://v
## Setup
-If you ran `npx storybook init` to include Storybook in your Vite application, the builder is already installed and configured for you. If you want, you can also opt into it manually.
+If you ran `npx storybook@latest init` to include Storybook in your Vite application, the builder is already installed and configured for you. If you want, you can also opt into it manually.
Run the following command to install the builder.
@@ -24,12 +24,6 @@ Run the following command to install the builder.
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
Update your Storybook configuration (in `.storybook/main.js|ts`) to include the builder.
diff --git a/docs/configure/babel.md b/docs/configure/babel.md
index c5641689c141..f27a81b32f78 100644
--- a/docs/configure/babel.md
+++ b/docs/configure/babel.md
@@ -81,7 +81,7 @@ For detailed instructions on migrating from `V6` mode, please see [MIGRATION.md]
If your app does not include a babelrc file, and you need one, you can create it by running the following command in your project directory:
```sh
-npx storybook@next babelrc
+npx storybook@latest babelrc
```
Once the command completes, you should have a `.babelrc.json` file created in the root directory of your project, similar to the following example:
diff --git a/docs/configure/overview.md b/docs/configure/overview.md
index 0d1856078dcb..f7fe1787541e 100644
--- a/docs/configure/overview.md
+++ b/docs/configure/overview.md
@@ -51,11 +51,11 @@ Storybook's main configuration (i.e., the `main.js|ts`) defines your Storybook p
Additionally, you can also provide additional feature flags to your Storybook configuration. Below is an abridged list of available features that are currently available.
-| Configuration element | Description |
-| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `storyStoreV7` | Configures Storybook to load stories [on demand](#on-demand-story-loading), rather than during boot up `features: { storyStoreV7: true }` |
-| `buildStoriesJson` | Generates a `stories.json` file to help story loading with the on-demand mode `features: { buildStoriesJson: true }` |
-| `legacyMdx1` | Enables support for MDX version 1 as a fallback. Requires [`@storybook/mdx1-csf@next`](https://github.com/storybookjs/mdx1-csf) `features: { legacyMdx1: true }` |
+| Configuration element | Description |
+| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `storyStoreV7` | Configures Storybook to load stories [on demand](#on-demand-story-loading), rather than during boot up `features: { storyStoreV7: true }` |
+| `buildStoriesJson` | Generates a `stories.json` file to help story loading with the on-demand mode `features: { buildStoriesJson: true }` |
+| `legacyMdx1` | Enables support for MDX version 1 as a fallback. Requires [`@storybook/mdx1-csf`](https://github.com/storybookjs/mdx1-csf) `features: { legacyMdx1: true }` |
## Configure story loading
diff --git a/docs/configure/theming.md b/docs/configure/theming.md
index 607717bcf3f7..e272c530b28d 100644
--- a/docs/configure/theming.md
+++ b/docs/configure/theming.md
@@ -24,12 +24,6 @@ Make sure you have installed [`@storybook/manager-api`](https://www.npmjs.com/pa
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
As an example, you can tell Storybook to use the "dark" theme by modifying [`.storybook/manager.js`](./overview.md#configure-story-rendering):
diff --git a/docs/configure/upgrading.md b/docs/configure/upgrading.md
index 56be45f5dea3..5dc2d5f83022 100644
--- a/docs/configure/upgrading.md
+++ b/docs/configure/upgrading.md
@@ -10,9 +10,16 @@ The most common upgrade is Storybook itself. [Storybook releases](https://storyb
To help ease the pain of keeping Storybook up-to-date, we provide a command-line script:
-```sh
-npx storybook upgrade
-```
+
+
+
+
+
This upgrades all of the Storybook packages in your project to the latest stable version, perform confidence checks of your package versions, and checks for opportunities to run [automigrations](#automigrate) to update your configuration automatically.
@@ -27,7 +34,7 @@ In addition to running the command, we also recommend checking the [MIGRATION.md
Storybook upgrades are not the only thing to consider: changes in the ecosystem also present challenges. For example, lots of frameworks ([Angular 12](https://angular.io/guide/updating-to-version-12#breaking-changes-in-angular-version-12), [Create React App v5](https://github.com/facebook/create-react-app/pull/11201), [NextJS](https://nextjs.org/docs/upgrading#webpack-5)) have recently migrated from [Webpack 4 to Webpack 5](https://webpack.js.org/migrate/5/), so even if you don't upgrade your Storybook version, you might need to update your configuration accordingly. That's what Automigrate is for:
```
-npx storybook@next automigrate
+npx storybook@latest automigrate
```
It runs a set of standard configuration checks, explains what is potentially out-of-date, and offers to fix it for you automatically. It also points to the relevant documentation so you can learn more. It runs automatically as part of [`storybook upgrade`](#upgrade-script) command, but it's also available on its own if you don't want to upgrade Storybook.
diff --git a/docs/essentials/interactions.md b/docs/essentials/interactions.md
index 74396a0465e4..a8c212b15c12 100644
--- a/docs/essentials/interactions.md
+++ b/docs/essentials/interactions.md
@@ -32,12 +32,6 @@ Run the following command to install the interactions addon and related dependen
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
Next, update [`.storybook/main.js|ts`](../configure/overview.md#configure-story-rendering) to the following:
diff --git a/docs/essentials/introduction.md b/docs/essentials/introduction.md
index 862a6c995eaa..80627282735a 100644
--- a/docs/essentials/introduction.md
+++ b/docs/essentials/introduction.md
@@ -31,12 +31,6 @@ If you're upgrading from a previous Storybook version, you'll need to run the fo
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
Update your Storybook configuration (in [`.storybook/main.js`](../configure/overview.md#configure-story-rendering)) to include the Essentials addon.
@@ -68,12 +62,6 @@ If you need to reconfigure any of the [individual Essentials addons](https://sto
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
@@ -166,7 +166,7 @@ We published a [detailed post about CSF3](https://storybook.js.org/blog/storyboo
If you want to just skip to the migration, we provide a codemod for your convenience which should automatically make the code changes for you (make sure to update the glob to fit your files):
```sh
-npx storybook@next migrate csf-2-to-3 --glob="src/**/*.stories.js"
+npx storybook@latest migrate csf-2-to-3 --glob="src/**/*.stories.js"
```
### storiesOf to CSF
@@ -174,7 +174,7 @@ npx storybook@next migrate csf-2-to-3 --glob="src/**/*.stories.js"
Storybook 7's architecture is focused on performance and needs code that is statically analyzable. For that reason, it does not work with `storiesOf`. We provide a codemod which, in most cases, should automatically make the code changes for you (make sure to update the glob to fit your files):
```sh
-npx storybook@next migrate storiesof-to-csf --glob="src/**/*.stories.tsx"
+npx storybook@latest migrate storiesof-to-csf --glob="src/**/*.stories.tsx"
```
### .stories.mdx to MDX+CSF
@@ -182,7 +182,7 @@ npx storybook@next migrate storiesof-to-csf --glob="src/**/*.stories.tsx"
Storybook 7 provides a cleaner [docs](./writing-docs/introduction.md) that defines manual documentation in pure MDX and stories in CSF, rather than the previous `.stories.mdx` hybrid approach, which is now deprecated. You can automatically convert your files using the following codemod (make sure to update the glob to fit your files):
```sh
-npx storybook@next migrate mdx-to-csf --glob "src/**/*.stories.mdx"
+npx storybook@latest migrate mdx-to-csf --glob "src/**/*.stories.mdx"
```
You’ll also need to update your `stories` glob in `.storybook/main.js` to include the newly created `.mdx` and `.stories.js` files if it doesn’t already.
diff --git a/docs/snippets/common/init-command.npx.js.mdx b/docs/snippets/common/init-command.npx.js.mdx
index 97177a2cfd64..af75533f78c8 100644
--- a/docs/snippets/common/init-command.npx.js.mdx
+++ b/docs/snippets/common/init-command.npx.js.mdx
@@ -1,3 +1,3 @@
```shell
-npx storybook init
+npx storybook@latest init
```
diff --git a/docs/snippets/common/init-command.pnpm.js.mdx b/docs/snippets/common/init-command.pnpm.js.mdx
index ea6bc0bf1bcc..f515170706cf 100644
--- a/docs/snippets/common/init-command.pnpm.js.mdx
+++ b/docs/snippets/common/init-command.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpm dlx storybook init
+pnpm dlx storybook@latest init
```
diff --git a/docs/snippets/common/preview-storybook-production-mode.pnpm.js.mdx b/docs/snippets/common/preview-storybook-production-mode.pnpm.js.mdx
index 61d73769f476..fd1f1512f9f1 100644
--- a/docs/snippets/common/preview-storybook-production-mode.pnpm.js.mdx
+++ b/docs/snippets/common/preview-storybook-production-mode.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpx http-server ./path/to/build
+pnpm dlx http-server ./path/to/build
```
diff --git a/docs/snippets/common/storybook-a11y-install.npm.js.mdx b/docs/snippets/common/storybook-a11y-install.npm.js.mdx
index 4925e5e2af5f..1b0efba575d8 100644
--- a/docs/snippets/common/storybook-a11y-install.npm.js.mdx
+++ b/docs/snippets/common/storybook-a11y-install.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npm install @storybook/addon-a11y@next --save-dev
+npm install @storybook/addon-a11y --save-dev
```
diff --git a/docs/snippets/common/storybook-a11y-install.pnpm.js.mdx b/docs/snippets/common/storybook-a11y-install.pnpm.js.mdx
index e5ce052d85f4..931f30fa02d0 100644
--- a/docs/snippets/common/storybook-a11y-install.pnpm.js.mdx
+++ b/docs/snippets/common/storybook-a11y-install.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpm add --save-dev @storybook/addon-a11y@next
+pnpm add --save-dev @storybook/addon-a11y
```
diff --git a/docs/snippets/common/storybook-a11y-install.yarn.js.mdx b/docs/snippets/common/storybook-a11y-install.yarn.js.mdx
index 0d9989444a53..9cbc6f96cfe3 100644
--- a/docs/snippets/common/storybook-a11y-install.yarn.js.mdx
+++ b/docs/snippets/common/storybook-a11y-install.yarn.js.mdx
@@ -1,3 +1,3 @@
```shell
-yarn add --dev @storybook/addon-a11y@next
+yarn add --dev @storybook/addon-a11y
```
diff --git a/docs/snippets/common/storybook-addon-actions-install.npm.js.mdx b/docs/snippets/common/storybook-addon-actions-install.npm.js.mdx
index 476e2a3ad38a..a85c6b802746 100644
--- a/docs/snippets/common/storybook-addon-actions-install.npm.js.mdx
+++ b/docs/snippets/common/storybook-addon-actions-install.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npm install @storybook/addon-actions@next --save-dev
+npm install @storybook/addon-actions --save-dev
```
diff --git a/docs/snippets/common/storybook-addon-actions-install.pnpm.js.mdx b/docs/snippets/common/storybook-addon-actions-install.pnpm.js.mdx
index 39108d39210d..e892af1211b0 100644
--- a/docs/snippets/common/storybook-addon-actions-install.pnpm.js.mdx
+++ b/docs/snippets/common/storybook-addon-actions-install.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpm add --save-dev @storybook/addon-actions@next
+pnpm add --save-dev @storybook/addon-actions
```
diff --git a/docs/snippets/common/storybook-addon-actions-install.yarn.js.mdx b/docs/snippets/common/storybook-addon-actions-install.yarn.js.mdx
index b76af09bf133..8b12b253b314 100644
--- a/docs/snippets/common/storybook-addon-actions-install.yarn.js.mdx
+++ b/docs/snippets/common/storybook-addon-actions-install.yarn.js.mdx
@@ -1,3 +1,3 @@
```shell
-yarn add --dev @storybook/addon-actions@next
+yarn add --dev @storybook/addon-actions
```
diff --git a/docs/snippets/common/storybook-addon-essentials-install.npm.js.mdx b/docs/snippets/common/storybook-addon-essentials-install.npm.js.mdx
index 1d41aff48f42..f1cf79da64a3 100644
--- a/docs/snippets/common/storybook-addon-essentials-install.npm.js.mdx
+++ b/docs/snippets/common/storybook-addon-essentials-install.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npm install @storybook/addon-essentials@next --save-dev
+npm install @storybook/addon-essentials --save-dev
```
diff --git a/docs/snippets/common/storybook-addon-essentials-install.pnpm.js.mdx b/docs/snippets/common/storybook-addon-essentials-install.pnpm.js.mdx
index daff5ce52ecf..2e25c06db593 100644
--- a/docs/snippets/common/storybook-addon-essentials-install.pnpm.js.mdx
+++ b/docs/snippets/common/storybook-addon-essentials-install.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpm add --save-dev @storybook/addon-essentials@next
+pnpm add --save-dev @storybook/addon-essentials
```
diff --git a/docs/snippets/common/storybook-addon-essentials-install.yarn.js.mdx b/docs/snippets/common/storybook-addon-essentials-install.yarn.js.mdx
index b4791e04be0f..753c71bfaca1 100644
--- a/docs/snippets/common/storybook-addon-essentials-install.yarn.js.mdx
+++ b/docs/snippets/common/storybook-addon-essentials-install.yarn.js.mdx
@@ -1,3 +1,3 @@
```shell
-yarn add --dev @storybook/addon-essentials@next
+yarn add --dev @storybook/addon-essentials
```
diff --git a/docs/snippets/common/storybook-addon-interactions-addon-full-install.npm.js.mdx b/docs/snippets/common/storybook-addon-interactions-addon-full-install.npm.js.mdx
index 6835f193256f..1873a790d226 100644
--- a/docs/snippets/common/storybook-addon-interactions-addon-full-install.npm.js.mdx
+++ b/docs/snippets/common/storybook-addon-interactions-addon-full-install.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npm install @storybook/testing-library@next @storybook/jest@next @storybook/addon-interactions@next --save-dev
+npm install @storybook/testing-library @storybook/jest @storybook/addon-interactions --save-dev
```
diff --git a/docs/snippets/common/storybook-addon-interactions-addon-full-install.pnpm.js.mdx b/docs/snippets/common/storybook-addon-interactions-addon-full-install.pnpm.js.mdx
index d2b7909e2374..2c9bb23c0210 100644
--- a/docs/snippets/common/storybook-addon-interactions-addon-full-install.pnpm.js.mdx
+++ b/docs/snippets/common/storybook-addon-interactions-addon-full-install.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpm add --save-dev @storybook/testing-library@next @storybook/jest@next @storybook/addon-interactions@next
+pnpm add --save-dev @storybook/testing-library @storybook/jest @storybook/addon-interactions
```
diff --git a/docs/snippets/common/storybook-addon-interactions-addon-full-install.yarn.js.mdx b/docs/snippets/common/storybook-addon-interactions-addon-full-install.yarn.js.mdx
index e73809161bb7..17130966f499 100644
--- a/docs/snippets/common/storybook-addon-interactions-addon-full-install.yarn.js.mdx
+++ b/docs/snippets/common/storybook-addon-interactions-addon-full-install.yarn.js.mdx
@@ -1,3 +1,3 @@
```shell
-yarn add --dev @storybook/testing-library@next @storybook/jest@next @storybook/addon-interactions@next
+yarn add --dev @storybook/testing-library @storybook/jest @storybook/addon-interactions
```
diff --git a/docs/snippets/common/storybook-coverage-addon-install.npm.js.mdx b/docs/snippets/common/storybook-coverage-addon-install.npm.js.mdx
index 34a6f4a2ada7..26de5e24dae7 100644
--- a/docs/snippets/common/storybook-coverage-addon-install.npm.js.mdx
+++ b/docs/snippets/common/storybook-coverage-addon-install.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npm install @storybook/addon-coverage@next --save-dev
+npm install @storybook/addon-coverage --save-dev
```
diff --git a/docs/snippets/common/storybook-coverage-addon-install.pnpm.js.mdx b/docs/snippets/common/storybook-coverage-addon-install.pnpm.js.mdx
index aa748f811c4e..12a1db30b3ef 100644
--- a/docs/snippets/common/storybook-coverage-addon-install.pnpm.js.mdx
+++ b/docs/snippets/common/storybook-coverage-addon-install.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpm add --save-dev @storybook/addon-coverage@next
+pnpm add --save-dev @storybook/addon-coverage
```
diff --git a/docs/snippets/common/storybook-coverage-addon-install.yarn.js.mdx b/docs/snippets/common/storybook-coverage-addon-install.yarn.js.mdx
index 6a5a59405740..eeadbb49e99d 100644
--- a/docs/snippets/common/storybook-coverage-addon-install.yarn.js.mdx
+++ b/docs/snippets/common/storybook-coverage-addon-install.yarn.js.mdx
@@ -1,3 +1,3 @@
```shell
-yarn add --dev @storybook/addon-coverage@next
+yarn add --dev @storybook/addon-coverage
```
diff --git a/docs/snippets/common/storybook-fallback-mdx-install.npm.js.mdx b/docs/snippets/common/storybook-fallback-mdx-install.npm.js.mdx
index 069380978198..bb7ce17277ed 100644
--- a/docs/snippets/common/storybook-fallback-mdx-install.npm.js.mdx
+++ b/docs/snippets/common/storybook-fallback-mdx-install.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npm install @storybook/mdx1-csf@next --save-dev
+npm install @storybook/mdx1-csf --save-dev
```
diff --git a/docs/snippets/common/storybook-fallback-mdx-install.pnpm.js.mdx b/docs/snippets/common/storybook-fallback-mdx-install.pnpm.js.mdx
index 8b2679bf137e..624f84077d48 100644
--- a/docs/snippets/common/storybook-fallback-mdx-install.pnpm.js.mdx
+++ b/docs/snippets/common/storybook-fallback-mdx-install.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpm add --save-dev @storybook/mdx1-csf@next
+pnpm add --save-dev @storybook/mdx1-csf
```
diff --git a/docs/snippets/common/storybook-fallback-mdx-install.yarn.js.mdx b/docs/snippets/common/storybook-fallback-mdx-install.yarn.js.mdx
index f13d9c322b8a..02fadab47356 100644
--- a/docs/snippets/common/storybook-fallback-mdx-install.yarn.js.mdx
+++ b/docs/snippets/common/storybook-fallback-mdx-install.yarn.js.mdx
@@ -1,3 +1,3 @@
```shell
-yarn add --dev @storybook/mdx1-csf@next
+yarn add --dev @storybook/mdx1-csf
```
diff --git a/docs/snippets/common/storybook-msw-generate.msw-pnpm.js.mdx b/docs/snippets/common/storybook-msw-generate.msw-pnpm.js.mdx
index daec2bb6da32..a8e0c77e483a 100644
--- a/docs/snippets/common/storybook-msw-generate.msw-pnpm.js.mdx
+++ b/docs/snippets/common/storybook-msw-generate.msw-pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpx msw init public/
+pnpm dlx msw init public/
```
diff --git a/docs/snippets/common/storybook-test-runner-install.npm.js.mdx b/docs/snippets/common/storybook-test-runner-install.npm.js.mdx
index 5383e29b58a7..3d0adeb617dd 100644
--- a/docs/snippets/common/storybook-test-runner-install.npm.js.mdx
+++ b/docs/snippets/common/storybook-test-runner-install.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npm install @storybook/test-runner@next --save-dev
+npm install @storybook/test-runner --save-dev
```
diff --git a/docs/snippets/common/storybook-test-runner-install.pnpm.js.mdx b/docs/snippets/common/storybook-test-runner-install.pnpm.js.mdx
index 061547811834..8129240a7741 100644
--- a/docs/snippets/common/storybook-test-runner-install.pnpm.js.mdx
+++ b/docs/snippets/common/storybook-test-runner-install.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpm add --save-dev @storybook/test-runner@next
+pnpm add --save-dev @storybook/test-runner
```
diff --git a/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx b/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx
index c3d47d1a44e5..21e4620e8113 100644
--- a/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx
+++ b/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx
@@ -1,3 +1,3 @@
```shell
-yarn add --dev @storybook/test-runner@next
+yarn add --dev @storybook/test-runner
```
diff --git a/docs/snippets/common/storybook-testing-addon-install.npm.js.mdx b/docs/snippets/common/storybook-testing-addon-install.npm.js.mdx
index 33f87a42b10d..59206715f039 100644
--- a/docs/snippets/common/storybook-testing-addon-install.npm.js.mdx
+++ b/docs/snippets/common/storybook-testing-addon-install.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npm install --save-dev @storybook/testing-( react | vue | vue3 | angular)@next
+npm install --save-dev @storybook/testing-( react | vue | vue3 | angular)
```
diff --git a/docs/snippets/common/storybook-testing-addon-install.yarn.js.mdx b/docs/snippets/common/storybook-testing-addon-install.yarn.js.mdx
index b560ba982069..ab3abc41ea12 100644
--- a/docs/snippets/common/storybook-testing-addon-install.yarn.js.mdx
+++ b/docs/snippets/common/storybook-testing-addon-install.yarn.js.mdx
@@ -1,3 +1,3 @@
```shell
-yarn add --dev @storybook/testing-( react | vue | vue3 | angular )@next
+yarn add --dev @storybook/testing-( react | vue | vue3 | angular )
```
diff --git a/docs/snippets/common/storybook-theming-packages-install.npm.js.mdx b/docs/snippets/common/storybook-theming-packages-install.npm.js.mdx
index 69fdf948673d..d92511b02c0a 100644
--- a/docs/snippets/common/storybook-theming-packages-install.npm.js.mdx
+++ b/docs/snippets/common/storybook-theming-packages-install.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npm install --save-dev @storybook/manager-api@next @storybook/theming@next
+npm install --save-dev @storybook/manager-api @storybook/theming
```
diff --git a/docs/snippets/common/storybook-theming-packages-install.pnpm.js.mdx b/docs/snippets/common/storybook-theming-packages-install.pnpm.js.mdx
index a825bba6c118..f076e92feccd 100644
--- a/docs/snippets/common/storybook-theming-packages-install.pnpm.js.mdx
+++ b/docs/snippets/common/storybook-theming-packages-install.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpm add --save-dev @storybook/manager-api@next @storybook/theming@next
+pnpm add --save-dev @storybook/manager-api @storybook/theming
```
diff --git a/docs/snippets/common/storybook-theming-packages-install.yarn.js.mdx b/docs/snippets/common/storybook-theming-packages-install.yarn.js.mdx
index ef910469a963..c5ad61d41946 100644
--- a/docs/snippets/common/storybook-theming-packages-install.yarn.js.mdx
+++ b/docs/snippets/common/storybook-theming-packages-install.yarn.js.mdx
@@ -1,3 +1,3 @@
```shell
-yarn add --dev @storybook/manager-api@next @storybook/theming@next
+yarn add --dev @storybook/manager-api @storybook/theming
```
diff --git a/docs/snippets/common/storybook-upgrade-prerelease.npm.js.mdx b/docs/snippets/common/storybook-upgrade-prerelease.npm.js.mdx
index 9e625c3977b9..58a5cb6dd40c 100644
--- a/docs/snippets/common/storybook-upgrade-prerelease.npm.js.mdx
+++ b/docs/snippets/common/storybook-upgrade-prerelease.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npx storybook@next upgrade --prerelease
+npx storybook@latest upgrade --prerelease
```
diff --git a/docs/snippets/common/storybook-upgrade-prerelease.pnpm.js.mdx b/docs/snippets/common/storybook-upgrade-prerelease.pnpm.js.mdx
index 47d087049d14..1e7199a4b8c3 100644
--- a/docs/snippets/common/storybook-upgrade-prerelease.pnpm.js.mdx
+++ b/docs/snippets/common/storybook-upgrade-prerelease.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpx storybook@next upgrade --prerelease
+pnpm dlx storybook@latest upgrade --prerelease
```
diff --git a/docs/snippets/common/storybook-upgrade.npm.js.mdx b/docs/snippets/common/storybook-upgrade.npm.js.mdx
index 6f1f9f5f1157..1778af1b3968 100644
--- a/docs/snippets/common/storybook-upgrade.npm.js.mdx
+++ b/docs/snippets/common/storybook-upgrade.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npx storybook upgrade
+npx storybook@latest upgrade
```
diff --git a/docs/snippets/common/storybook-upgrade.pnpm.js.mdx b/docs/snippets/common/storybook-upgrade.pnpm.js.mdx
index 67ab5ab4bc78..0490b332dcb7 100644
--- a/docs/snippets/common/storybook-upgrade.pnpm.js.mdx
+++ b/docs/snippets/common/storybook-upgrade.pnpm.js.mdx
@@ -1,3 +1,3 @@
```shell
-pnpx storybook upgrade
+pnpm dlx storybook@latest upgrade
```
diff --git a/docs/snippets/common/storybook-vite-builder-install.npm.js.mdx b/docs/snippets/common/storybook-vite-builder-install.npm.js.mdx
index 6fde170b059c..957029319197 100644
--- a/docs/snippets/common/storybook-vite-builder-install.npm.js.mdx
+++ b/docs/snippets/common/storybook-vite-builder-install.npm.js.mdx
@@ -1,3 +1,3 @@
```shell
-npm install @storybook/builder-vite@next --save-dev
+npm install @storybook/builder-vite --save-dev
```
diff --git a/docs/snippets/common/storybook-vite-builder-install.yarn.js.mdx b/docs/snippets/common/storybook-vite-builder-install.yarn.js.mdx
index 2ac56b25b51d..db7837fda8f0 100644
--- a/docs/snippets/common/storybook-vite-builder-install.yarn.js.mdx
+++ b/docs/snippets/common/storybook-vite-builder-install.yarn.js.mdx
@@ -1,3 +1,3 @@
```shell
-yarn add --dev @storybook/builder-vite@next
+yarn add --dev @storybook/builder-vite
```
diff --git a/docs/toc.js b/docs/toc.js
index d85ffa270a97..9ec7e473709d 100644
--- a/docs/toc.js
+++ b/docs/toc.js
@@ -304,6 +304,11 @@ module.exports = {
title: 'Addon API',
type: 'link',
},
+ {
+ pathSegment: 'addon-migration-guide',
+ title: 'Migrate addons to 7.0',
+ type: 'link',
+ },
],
},
{
diff --git a/docs/writing-docs/mdx.md b/docs/writing-docs/mdx.md
index 2da1dc4fb067..ab1cea62b7fb 100644
--- a/docs/writing-docs/mdx.md
+++ b/docs/writing-docs/mdx.md
@@ -209,7 +209,7 @@ paths={[
To help you transition to the new version, we've created a migration helper in our CLI. We recommend using it and reaching out to the maintainers using the default communication channels (e.g., [Discord server](https://discord.com/channels/486522875931656193/570426522528382976), [GitHub issues](https://github.com/storybookjs/storybook/issues)) for problems you encounter.
```shell
-npx storybook@next automigrate mdx1to2
+npx storybook@latest automigrate mdx1to2
```
## Setup custom documentation
diff --git a/docs/writing-stories/decorators.md b/docs/writing-stories/decorators.md
index fd1ee7524354..4142e9480fa0 100644
--- a/docs/writing-stories/decorators.md
+++ b/docs/writing-stories/decorators.md
@@ -2,6 +2,8 @@
title: 'Decorators'
---
+
+
A decorator is a way to wrap a story in extra “rendering” functionality. Many addons define decorators to augment your stories with extra rendering or gather details about how your story renders.
When writing stories, decorators are typically used to wrap stories with extra markup or context mocking.
diff --git a/docs/writing-stories/play-function.md b/docs/writing-stories/play-function.md
index 685301b3b985..a511792ffdd3 100644
--- a/docs/writing-stories/play-function.md
+++ b/docs/writing-stories/play-function.md
@@ -24,12 +24,6 @@ Run the following command to install the addon and the required dependencies.
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
Update your Storybook configuration (in `.storybook/main.js|ts`) to include the interactions addon.
diff --git a/docs/writing-tests/accessibility-testing.md b/docs/writing-tests/accessibility-testing.md
index 0384aef73513..630196b797cf 100644
--- a/docs/writing-tests/accessibility-testing.md
+++ b/docs/writing-tests/accessibility-testing.md
@@ -37,12 +37,6 @@ Run the following command to install the addon.
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
Update your Storybook configuration (in `.storybook/main.js|ts`) to include the accessibility addon.
diff --git a/docs/writing-tests/importing-stories-in-tests.md b/docs/writing-tests/importing-stories-in-tests.md
index 1e9982f5df20..933e13db6fd2 100644
--- a/docs/writing-tests/importing-stories-in-tests.md
+++ b/docs/writing-tests/importing-stories-in-tests.md
@@ -32,12 +32,6 @@ Run the following command to add Storybook's testing addon into your environment
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk. Additionally, don't forget to select **only** your framework.
-
-
-
### Optional configuration
If you've set up global decorators or parameters and you need to use them in your tests, add the following to your test configuration file:
diff --git a/docs/writing-tests/interaction-testing.md b/docs/writing-tests/interaction-testing.md
index 4d0777ada035..45832202934b 100644
--- a/docs/writing-tests/interaction-testing.md
+++ b/docs/writing-tests/interaction-testing.md
@@ -42,12 +42,6 @@ Run the following command to install the interactions addon and related dependen
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
Update your Storybook configuration (in `.storybook/main.js|ts`) to include the interactions addon.
diff --git a/docs/writing-tests/test-coverage.md b/docs/writing-tests/test-coverage.md
index 6ef0d7a0c3bc..62d868d0f935 100644
--- a/docs/writing-tests/test-coverage.md
+++ b/docs/writing-tests/test-coverage.md
@@ -37,12 +37,6 @@ Run the following command to install the addon.
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
Update your Storybook configuration (in `.storybook/main.js|ts`) to include the coverage addon.
diff --git a/docs/writing-tests/test-runner.md b/docs/writing-tests/test-runner.md
index c22db77e55c1..b4ca1507b36d 100644
--- a/docs/writing-tests/test-runner.md
+++ b/docs/writing-tests/test-runner.md
@@ -27,12 +27,6 @@ Run the following command to install it.
-
-
-ℹ️ Installing the package with `@next` will install the cutting-edge version of it. Be advised prerelease versions are subject to breaking changes and are not recommended for production use. Use at your own risk.
-
-
-
Update your `package.json` scripts and enable the test runner.
```json
diff --git a/scripts/dangerfile.ts b/scripts/dangerfile.ts
index 8d04e2c28472..ee47ecb0eb77 100644
--- a/scripts/dangerfile.ts
+++ b/scripts/dangerfile.ts
@@ -2,11 +2,12 @@
import { fail, danger } from 'danger';
import { execSync } from 'child_process';
-execSync('npm install lodash');
+execSync('npm install lodash ts-dedent');
const flatten = require('lodash/flatten.js');
const intersection = require('lodash/intersection.js');
const isEmpty = require('lodash/isEmpty.js');
+const { dedent } = require('ts-dedent');
const pkg = require('../code/package.json'); // eslint-disable-line import/newline-after-import
const prLogConfig = pkg['pr-log'];
@@ -20,6 +21,23 @@ const Versions = {
const branchVersion = Versions.MINOR;
const checkRequiredLabels = (labels: string[]) => {
+ if (!labels.includes('patch')) {
+ fail(dedent`
+ A 'patch' label is required to merge during stabilization.
+
+ Patch PRs are small bug fixes, build updates, and documentation changes.
+ They do not include new features or more disruptive bugfixes.
+
+ These changes will be first released on 7.1-alpha, then patched back to 'main'
+ after they have been verified to be correct and released as 7.0.x patch releases.
+
+ After the stabilization period ends (ETA 2023-04-12), the 'patch' label
+ will no longer be required to merge into next, and we will merge ALL accepted
+ PRs to 'next' and release them on 7.1-alpha. Patch PRs will be
+ patched back to 'main' and released in 7.0.x patch releases.
+ `);
+ }
+
const forbiddenLabels = flatten([
'ci: do not merge',
'in progress',
diff --git a/scripts/sandbox/publish.ts b/scripts/sandbox/publish.ts
index 4d0d418c35ef..b0f123119af6 100755
--- a/scripts/sandbox/publish.ts
+++ b/scripts/sandbox/publish.ts
@@ -23,7 +23,7 @@ const publish = async (options: PublishOptions & { tmpFolder: string }) => {
const scriptPath = __dirname;
const branch = inputBranch || 'next';
- const templatesData = await getTemplatesData();
+ const templatesData = await getTemplatesData(branch === 'main' ? 'main' : 'next');
logger.log(`👯‍♂️ Cloning the repository ${remote} in branch ${branch}`);
await execaCommand(`git clone ${remote} .`, { cwd: tmpFolder });
@@ -45,7 +45,7 @@ const publish = async (options: PublishOptions & { tmpFolder: string }) => {
logger.log(`đźšš Moving template files into the repository`);
const templatePath = join(scriptPath, 'templates', 'root.ejs');
- const templateData = { data: templatesData, version: branch };
+ const templateData = { data: templatesData, version: branch === 'main' ? 'latest' : 'next' };
const output = await renderTemplate(templatePath, templateData);
diff --git a/scripts/sandbox/utils/template.ts b/scripts/sandbox/utils/template.ts
index 8bc8fe04e8b8..b5c75dcf1104 100644
--- a/scripts/sandbox/utils/template.ts
+++ b/scripts/sandbox/utils/template.ts
@@ -17,7 +17,7 @@ export const getStackblitzUrl = (path: string, branch = 'next') => {
return `https://stackblitz.com/github/storybookjs/sandboxes/tree/${branch}/${path}/after-storybook?preset=node`;
};
-export async function getTemplatesData() {
+export async function getTemplatesData(branch: string) {
type TemplatesData = Record<
string,
Record<
@@ -37,7 +37,7 @@ export async function getTemplatesData() {
acc[groupName] = acc[groupName] || {};
acc[groupName][templateName] = {
...generatorData,
- stackblitzUrl: getStackblitzUrl(curr),
+ stackblitzUrl: getStackblitzUrl(curr, branch),
};
return acc;
},