From 615b74ce25fdea94f96953315139137a2d0477f3 Mon Sep 17 00:00:00 2001 From: storybook-bot <32066757+storybook-bot@users.noreply.github.com> Date: Thu, 5 Sep 2024 10:57:50 +0000 Subject: [PATCH 1/5] Write changelog for 8.3.0-beta.3 [skip ci] --- CHANGELOG.prerelease.md | 7 +++++++ code/package.json | 3 ++- docs/versions/next.json | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.prerelease.md b/CHANGELOG.prerelease.md index 7b7e15e5fb6..46ccccaafa3 100644 --- a/CHANGELOG.prerelease.md +++ b/CHANGELOG.prerelease.md @@ -1,3 +1,10 @@ +## 8.3.0-beta.3 + +- Addon Test: Improve messages and post install script handling - [#29036](https://github.com/storybookjs/storybook/pull/29036), thanks @yannbf! +- Next.js-Vite: Fix vite plugin exports - [#29046](https://github.com/storybookjs/storybook/pull/29046), thanks @valentinpalkovic! +- Next.js: Update dependencies - [#29052](https://github.com/storybookjs/storybook/pull/29052), thanks @valentinpalkovic! +- UI: Fix conditional hooks usage in sidebar - [#28979](https://github.com/storybookjs/storybook/pull/28979), thanks @JReinhold! + ## 8.3.0-beta.2 - Addon Vitest: Fix indentation of 'vitePluginNext' in generated Vitest config file - [#29011](https://github.com/storybookjs/storybook/pull/29011), thanks @ghengeveld! diff --git a/code/package.json b/code/package.json index 40355bc18e1..ee0e082db90 100644 --- a/code/package.json +++ b/code/package.json @@ -295,5 +295,6 @@ "Dependency Upgrades" ] ] - } + }, + "deferredNextVersion": "8.3.0-beta.3" } diff --git a/docs/versions/next.json b/docs/versions/next.json index cee5922cb22..fb27aaa8217 100644 --- a/docs/versions/next.json +++ b/docs/versions/next.json @@ -1 +1 @@ -{"version":"8.3.0-beta.2","info":{"plain":"- Addon Vitest: Fix indentation of 'vitePluginNext' in generated Vitest config file - [#29011](https://github.com/storybookjs/storybook/pull/29011), thanks @ghengeveld!\n- Backgrounds/Viewports: Make defaults overridable in `StoryGlobals`-mode - [#29025](https://github.com/storybookjs/storybook/pull/29025), thanks @JReinhold!\n- CLI: Handle Yarn PnP wrapper scenario when adding an addon - [#29027](https://github.com/storybookjs/storybook/pull/29027), thanks @yannbf!\n- Maintenance: Rename addon-vitest to addon-test - [#29014](https://github.com/storybookjs/storybook/pull/29014), thanks @yannbf!\n- Nextjs-Vite: Re-export vite-plugin-storybook-nextjs - [#29012](https://github.com/storybookjs/storybook/pull/29012), thanks @valentinpalkovic!\n- SvelteKit/Vue3: Refactor plugin export paths - [#29016](https://github.com/storybookjs/storybook/pull/29016), thanks @yannbf!"}} +{"version":"8.3.0-beta.3","info":{"plain":"- Addon Test: Improve messages and post install script handling - [#29036](https://github.com/storybookjs/storybook/pull/29036), thanks @yannbf!\n- Next.js-Vite: Fix vite plugin exports - [#29046](https://github.com/storybookjs/storybook/pull/29046), thanks @valentinpalkovic!\n- Next.js: Update dependencies - [#29052](https://github.com/storybookjs/storybook/pull/29052), thanks @valentinpalkovic!\n- UI: Fix conditional hooks usage in sidebar - [#28979](https://github.com/storybookjs/storybook/pull/28979), thanks @JReinhold!"}} From daf615930c88106b37aaed95e5c34936c5e340d0 Mon Sep 17 00:00:00 2001 From: storybook-bot <32066757+storybook-bot@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:30:05 +0000 Subject: [PATCH 2/5] Bump version from "8.3.0-beta.2" to "8.3.0-beta.3" [skip ci] --- code/addons/a11y/package.json | 2 +- code/addons/actions/package.json | 2 +- code/addons/backgrounds/package.json | 2 +- code/addons/controls/package.json | 2 +- code/addons/docs/package.json | 2 +- code/addons/essentials/package.json | 2 +- code/addons/gfm/package.json | 2 +- code/addons/highlight/package.json | 2 +- code/addons/interactions/package.json | 2 +- code/addons/jest/package.json | 2 +- code/addons/links/package.json | 2 +- code/addons/measure/package.json | 2 +- code/addons/onboarding/package.json | 2 +- code/addons/outline/package.json | 2 +- code/addons/storysource/package.json | 2 +- code/addons/test/package.json | 2 +- code/addons/themes/package.json | 2 +- code/addons/toolbars/package.json | 2 +- code/addons/viewport/package.json | 2 +- code/builders/builder-vite/package.json | 2 +- code/builders/builder-webpack5/package.json | 2 +- code/core/package.json | 2 +- code/core/src/common/versions.ts | 168 +++++++++--------- code/core/src/manager-api/version.ts | 2 +- code/deprecated/builder-manager/package.json | 2 +- code/deprecated/channels/package.json | 2 +- code/deprecated/client-logger/package.json | 2 +- code/deprecated/components/package.json | 2 +- code/deprecated/core-common/package.json | 2 +- code/deprecated/core-events/package.json | 2 +- code/deprecated/core-server/package.json | 2 +- code/deprecated/csf-tools/package.json | 2 +- code/deprecated/docs-tools/package.json | 2 +- code/deprecated/manager-api/package.json | 2 +- code/deprecated/manager/package.json | 2 +- code/deprecated/node-logger/package.json | 2 +- code/deprecated/preview-api/package.json | 2 +- code/deprecated/preview/package.json | 2 +- code/deprecated/router/package.json | 2 +- code/deprecated/telemetry/package.json | 2 +- code/deprecated/theming/package.json | 2 +- code/deprecated/types/package.json | 2 +- code/frameworks/angular/package.json | 2 +- code/frameworks/ember/package.json | 2 +- .../experimental-nextjs-vite/package.json | 2 +- code/frameworks/html-vite/package.json | 2 +- code/frameworks/html-webpack5/package.json | 2 +- code/frameworks/nextjs/package.json | 2 +- code/frameworks/preact-vite/package.json | 2 +- code/frameworks/preact-webpack5/package.json | 2 +- code/frameworks/react-vite/package.json | 2 +- code/frameworks/react-webpack5/package.json | 2 +- code/frameworks/server-webpack5/package.json | 2 +- code/frameworks/svelte-vite/package.json | 2 +- code/frameworks/svelte-webpack5/package.json | 2 +- code/frameworks/sveltekit/package.json | 2 +- code/frameworks/vue3-vite/package.json | 2 +- code/frameworks/vue3-webpack5/package.json | 2 +- .../web-components-vite/package.json | 2 +- .../web-components-webpack5/package.json | 2 +- code/lib/blocks/package.json | 2 +- code/lib/cli-sb/package.json | 2 +- code/lib/cli-storybook/package.json | 2 +- code/lib/cli/package.json | 2 +- code/lib/codemod/package.json | 2 +- code/lib/core-webpack/package.json | 2 +- code/lib/create-storybook/package.json | 2 +- code/lib/csf-plugin/package.json | 2 +- code/lib/instrumenter/package.json | 2 +- code/lib/react-dom-shim/package.json | 2 +- code/lib/source-loader/package.json | 2 +- code/lib/test/package.json | 2 +- code/package.json | 5 +- code/presets/create-react-app/package.json | 2 +- code/presets/html-webpack/package.json | 2 +- code/presets/preact-webpack/package.json | 2 +- code/presets/react-webpack/package.json | 2 +- code/presets/server-webpack/package.json | 2 +- code/presets/svelte-webpack/package.json | 2 +- code/presets/vue3-webpack/package.json | 2 +- code/renderers/html/package.json | 2 +- code/renderers/preact/package.json | 2 +- code/renderers/react/package.json | 2 +- code/renderers/server/package.json | 2 +- code/renderers/svelte/package.json | 2 +- code/renderers/vue3/package.json | 2 +- code/renderers/web-components/package.json | 2 +- 87 files changed, 171 insertions(+), 172 deletions(-) diff --git a/code/addons/a11y/package.json b/code/addons/a11y/package.json index 60ba058410a..d4acf391269 100644 --- a/code/addons/a11y/package.json +++ b/code/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Test component compliance with web accessibility standards", "keywords": [ "a11y", diff --git a/code/addons/actions/package.json b/code/addons/actions/package.json index a05611d7272..78ce56731b5 100644 --- a/code/addons/actions/package.json +++ b/code/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Get UI feedback when an action is performed on an interactive element", "keywords": [ "storybook", diff --git a/code/addons/backgrounds/package.json b/code/addons/backgrounds/package.json index 7c17f586fc1..00dbd839d84 100644 --- a/code/addons/backgrounds/package.json +++ b/code/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Switch backgrounds to view components in different settings", "keywords": [ "addon", diff --git a/code/addons/controls/package.json b/code/addons/controls/package.json index 1816d8a01f0..a6ee4ae8121 100644 --- a/code/addons/controls/package.json +++ b/code/addons/controls/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-controls", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Interact with component inputs dynamically in the Storybook UI", "keywords": [ "addon", diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index 988fc2f46ff..89cb686f98f 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-docs", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Document component usage and properties in Markdown", "keywords": [ "addon", diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json index 0f81ea09a07..cb56e7d9aab 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-essentials", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Curated addons to bring out the best of Storybook", "keywords": [ "addon", diff --git a/code/addons/gfm/package.json b/code/addons/gfm/package.json index 4ed57e74d8e..ea294b92319 100644 --- a/code/addons/gfm/package.json +++ b/code/addons/gfm/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-mdx-gfm", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "GitHub Flavored Markdown in Storybook", "keywords": [ "addon", diff --git a/code/addons/highlight/package.json b/code/addons/highlight/package.json index 9efbaf79cac..ce4f519437a 100644 --- a/code/addons/highlight/package.json +++ b/code/addons/highlight/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-highlight", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Highlight DOM nodes within your stories", "keywords": [ "storybook-addons", diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json index 7c34de8fced..cc3a9293413 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-interactions", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Automate, test and debug user interactions", "keywords": [ "storybook-addons", diff --git a/code/addons/jest/package.json b/code/addons/jest/package.json index 12f07c40afe..4ea3ee8cc65 100644 --- a/code/addons/jest/package.json +++ b/code/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "React storybook addon that show component jest report", "keywords": [ "addon", diff --git a/code/addons/links/package.json b/code/addons/links/package.json index 2f18775b323..576dd2df0f1 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Link stories together to build demos and prototypes with your UI components", "keywords": [ "addon", diff --git a/code/addons/measure/package.json b/code/addons/measure/package.json index 9a644ad74dd..7eb6fcbf3c4 100644 --- a/code/addons/measure/package.json +++ b/code/addons/measure/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-measure", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Inspect layouts by visualizing the box model", "keywords": [ "storybook-addons", diff --git a/code/addons/onboarding/package.json b/code/addons/onboarding/package.json index 7b71519ec59..4c7ed01b9c3 100644 --- a/code/addons/onboarding/package.json +++ b/code/addons/onboarding/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-onboarding", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook Addon Onboarding - Introduces a new onboarding experience", "keywords": [ "storybook-addons", diff --git a/code/addons/outline/package.json b/code/addons/outline/package.json index 4fdc7d4a712..1982415e0e3 100644 --- a/code/addons/outline/package.json +++ b/code/addons/outline/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-outline", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Outline all elements with CSS to help with layout placement and alignment", "keywords": [ "storybook-addons", diff --git a/code/addons/storysource/package.json b/code/addons/storysource/package.json index 970c8fe207b..df657b1619a 100644 --- a/code/addons/storysource/package.json +++ b/code/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "View a story’s source code to see how it works and paste into your app", "keywords": [ "addon", diff --git a/code/addons/test/package.json b/code/addons/test/package.json index 153695d1296..559808a2ebc 100644 --- a/code/addons/test/package.json +++ b/code/addons/test/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/experimental-addon-test", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Integrate Vitest with Storybook", "keywords": [ "storybook-addons", diff --git a/code/addons/themes/package.json b/code/addons/themes/package.json index 87e37349f47..3feee917a48 100644 --- a/code/addons/themes/package.json +++ b/code/addons/themes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-themes", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Switch between multiple themes for you components in Storybook", "keywords": [ "css", diff --git a/code/addons/toolbars/package.json b/code/addons/toolbars/package.json index f0fa5b5bf95..4dbbf36250c 100644 --- a/code/addons/toolbars/package.json +++ b/code/addons/toolbars/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-toolbars", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Create your own toolbar items that control story rendering", "keywords": [ "addon", diff --git a/code/addons/viewport/package.json b/code/addons/viewport/package.json index 72471830373..681184a91f8 100644 --- a/code/addons/viewport/package.json +++ b/code/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Build responsive components by adjusting Storybook’s viewport size and orientation", "keywords": [ "addon", diff --git a/code/builders/builder-vite/package.json b/code/builders/builder-vite/package.json index fc4dbf92ce2..0b9dea3a81d 100644 --- a/code/builders/builder-vite/package.json +++ b/code/builders/builder-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-vite", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "A plugin to run and build Storybooks with Vite", "homepage": "https://github.com/storybookjs/storybook/tree/next/code/builders/builder-vite/#readme", "bugs": { diff --git a/code/builders/builder-webpack5/package.json b/code/builders/builder-webpack5/package.json index ad223680d6e..fff5131fab0 100644 --- a/code/builders/builder-webpack5/package.json +++ b/code/builders/builder-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-webpack5", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" diff --git a/code/core/package.json b/code/core/package.json index 2da448ffa6e..02e9b4911c4 100644 --- a/code/core/package.json +++ b/code/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" diff --git a/code/core/src/common/versions.ts b/code/core/src/common/versions.ts index efad4705e14..a672db4c5c6 100644 --- a/code/core/src/common/versions.ts +++ b/code/core/src/common/versions.ts @@ -1,87 +1,87 @@ // auto generated file, do not edit export default { - '@storybook/addon-a11y': '8.3.0-beta.2', - '@storybook/addon-actions': '8.3.0-beta.2', - '@storybook/addon-backgrounds': '8.3.0-beta.2', - '@storybook/addon-controls': '8.3.0-beta.2', - '@storybook/addon-docs': '8.3.0-beta.2', - '@storybook/addon-essentials': '8.3.0-beta.2', - '@storybook/addon-mdx-gfm': '8.3.0-beta.2', - '@storybook/addon-highlight': '8.3.0-beta.2', - '@storybook/addon-interactions': '8.3.0-beta.2', - '@storybook/addon-jest': '8.3.0-beta.2', - '@storybook/addon-links': '8.3.0-beta.2', - '@storybook/addon-measure': '8.3.0-beta.2', - '@storybook/addon-onboarding': '8.3.0-beta.2', - '@storybook/addon-outline': '8.3.0-beta.2', - '@storybook/addon-storysource': '8.3.0-beta.2', - '@storybook/experimental-addon-test': '8.3.0-beta.2', - '@storybook/addon-themes': '8.3.0-beta.2', - '@storybook/addon-toolbars': '8.3.0-beta.2', - '@storybook/addon-viewport': '8.3.0-beta.2', - '@storybook/builder-vite': '8.3.0-beta.2', - '@storybook/builder-webpack5': '8.3.0-beta.2', - '@storybook/core': '8.3.0-beta.2', - '@storybook/builder-manager': '8.3.0-beta.2', - '@storybook/channels': '8.3.0-beta.2', - '@storybook/client-logger': '8.3.0-beta.2', - '@storybook/components': '8.3.0-beta.2', - '@storybook/core-common': '8.3.0-beta.2', - '@storybook/core-events': '8.3.0-beta.2', - '@storybook/core-server': '8.3.0-beta.2', - '@storybook/csf-tools': '8.3.0-beta.2', - '@storybook/docs-tools': '8.3.0-beta.2', - '@storybook/manager': '8.3.0-beta.2', - '@storybook/manager-api': '8.3.0-beta.2', - '@storybook/node-logger': '8.3.0-beta.2', - '@storybook/preview': '8.3.0-beta.2', - '@storybook/preview-api': '8.3.0-beta.2', - '@storybook/router': '8.3.0-beta.2', - '@storybook/telemetry': '8.3.0-beta.2', - '@storybook/theming': '8.3.0-beta.2', - '@storybook/types': '8.3.0-beta.2', - '@storybook/angular': '8.3.0-beta.2', - '@storybook/ember': '8.3.0-beta.2', - '@storybook/experimental-nextjs-vite': '8.3.0-beta.2', - '@storybook/html-vite': '8.3.0-beta.2', - '@storybook/html-webpack5': '8.3.0-beta.2', - '@storybook/nextjs': '8.3.0-beta.2', - '@storybook/preact-vite': '8.3.0-beta.2', - '@storybook/preact-webpack5': '8.3.0-beta.2', - '@storybook/react-vite': '8.3.0-beta.2', - '@storybook/react-webpack5': '8.3.0-beta.2', - '@storybook/server-webpack5': '8.3.0-beta.2', - '@storybook/svelte-vite': '8.3.0-beta.2', - '@storybook/svelte-webpack5': '8.3.0-beta.2', - '@storybook/sveltekit': '8.3.0-beta.2', - '@storybook/vue3-vite': '8.3.0-beta.2', - '@storybook/vue3-webpack5': '8.3.0-beta.2', - '@storybook/web-components-vite': '8.3.0-beta.2', - '@storybook/web-components-webpack5': '8.3.0-beta.2', - '@storybook/blocks': '8.3.0-beta.2', - storybook: '8.3.0-beta.2', - sb: '8.3.0-beta.2', - '@storybook/cli': '8.3.0-beta.2', - '@storybook/codemod': '8.3.0-beta.2', - '@storybook/core-webpack': '8.3.0-beta.2', - 'create-storybook': '8.3.0-beta.2', - '@storybook/csf-plugin': '8.3.0-beta.2', - '@storybook/instrumenter': '8.3.0-beta.2', - '@storybook/react-dom-shim': '8.3.0-beta.2', - '@storybook/source-loader': '8.3.0-beta.2', - '@storybook/test': '8.3.0-beta.2', - '@storybook/preset-create-react-app': '8.3.0-beta.2', - '@storybook/preset-html-webpack': '8.3.0-beta.2', - '@storybook/preset-preact-webpack': '8.3.0-beta.2', - '@storybook/preset-react-webpack': '8.3.0-beta.2', - '@storybook/preset-server-webpack': '8.3.0-beta.2', - '@storybook/preset-svelte-webpack': '8.3.0-beta.2', - '@storybook/preset-vue3-webpack': '8.3.0-beta.2', - '@storybook/html': '8.3.0-beta.2', - '@storybook/preact': '8.3.0-beta.2', - '@storybook/react': '8.3.0-beta.2', - '@storybook/server': '8.3.0-beta.2', - '@storybook/svelte': '8.3.0-beta.2', - '@storybook/vue3': '8.3.0-beta.2', - '@storybook/web-components': '8.3.0-beta.2', + '@storybook/addon-a11y': '8.3.0-beta.3', + '@storybook/addon-actions': '8.3.0-beta.3', + '@storybook/addon-backgrounds': '8.3.0-beta.3', + '@storybook/addon-controls': '8.3.0-beta.3', + '@storybook/addon-docs': '8.3.0-beta.3', + '@storybook/addon-essentials': '8.3.0-beta.3', + '@storybook/addon-mdx-gfm': '8.3.0-beta.3', + '@storybook/addon-highlight': '8.3.0-beta.3', + '@storybook/addon-interactions': '8.3.0-beta.3', + '@storybook/addon-jest': '8.3.0-beta.3', + '@storybook/addon-links': '8.3.0-beta.3', + '@storybook/addon-measure': '8.3.0-beta.3', + '@storybook/addon-onboarding': '8.3.0-beta.3', + '@storybook/addon-outline': '8.3.0-beta.3', + '@storybook/addon-storysource': '8.3.0-beta.3', + '@storybook/experimental-addon-test': '8.3.0-beta.3', + '@storybook/addon-themes': '8.3.0-beta.3', + '@storybook/addon-toolbars': '8.3.0-beta.3', + '@storybook/addon-viewport': '8.3.0-beta.3', + '@storybook/builder-vite': '8.3.0-beta.3', + '@storybook/builder-webpack5': '8.3.0-beta.3', + '@storybook/core': '8.3.0-beta.3', + '@storybook/builder-manager': '8.3.0-beta.3', + '@storybook/channels': '8.3.0-beta.3', + '@storybook/client-logger': '8.3.0-beta.3', + '@storybook/components': '8.3.0-beta.3', + '@storybook/core-common': '8.3.0-beta.3', + '@storybook/core-events': '8.3.0-beta.3', + '@storybook/core-server': '8.3.0-beta.3', + '@storybook/csf-tools': '8.3.0-beta.3', + '@storybook/docs-tools': '8.3.0-beta.3', + '@storybook/manager': '8.3.0-beta.3', + '@storybook/manager-api': '8.3.0-beta.3', + '@storybook/node-logger': '8.3.0-beta.3', + '@storybook/preview': '8.3.0-beta.3', + '@storybook/preview-api': '8.3.0-beta.3', + '@storybook/router': '8.3.0-beta.3', + '@storybook/telemetry': '8.3.0-beta.3', + '@storybook/theming': '8.3.0-beta.3', + '@storybook/types': '8.3.0-beta.3', + '@storybook/angular': '8.3.0-beta.3', + '@storybook/ember': '8.3.0-beta.3', + '@storybook/experimental-nextjs-vite': '8.3.0-beta.3', + '@storybook/html-vite': '8.3.0-beta.3', + '@storybook/html-webpack5': '8.3.0-beta.3', + '@storybook/nextjs': '8.3.0-beta.3', + '@storybook/preact-vite': '8.3.0-beta.3', + '@storybook/preact-webpack5': '8.3.0-beta.3', + '@storybook/react-vite': '8.3.0-beta.3', + '@storybook/react-webpack5': '8.3.0-beta.3', + '@storybook/server-webpack5': '8.3.0-beta.3', + '@storybook/svelte-vite': '8.3.0-beta.3', + '@storybook/svelte-webpack5': '8.3.0-beta.3', + '@storybook/sveltekit': '8.3.0-beta.3', + '@storybook/vue3-vite': '8.3.0-beta.3', + '@storybook/vue3-webpack5': '8.3.0-beta.3', + '@storybook/web-components-vite': '8.3.0-beta.3', + '@storybook/web-components-webpack5': '8.3.0-beta.3', + '@storybook/blocks': '8.3.0-beta.3', + storybook: '8.3.0-beta.3', + sb: '8.3.0-beta.3', + '@storybook/cli': '8.3.0-beta.3', + '@storybook/codemod': '8.3.0-beta.3', + '@storybook/core-webpack': '8.3.0-beta.3', + 'create-storybook': '8.3.0-beta.3', + '@storybook/csf-plugin': '8.3.0-beta.3', + '@storybook/instrumenter': '8.3.0-beta.3', + '@storybook/react-dom-shim': '8.3.0-beta.3', + '@storybook/source-loader': '8.3.0-beta.3', + '@storybook/test': '8.3.0-beta.3', + '@storybook/preset-create-react-app': '8.3.0-beta.3', + '@storybook/preset-html-webpack': '8.3.0-beta.3', + '@storybook/preset-preact-webpack': '8.3.0-beta.3', + '@storybook/preset-react-webpack': '8.3.0-beta.3', + '@storybook/preset-server-webpack': '8.3.0-beta.3', + '@storybook/preset-svelte-webpack': '8.3.0-beta.3', + '@storybook/preset-vue3-webpack': '8.3.0-beta.3', + '@storybook/html': '8.3.0-beta.3', + '@storybook/preact': '8.3.0-beta.3', + '@storybook/react': '8.3.0-beta.3', + '@storybook/server': '8.3.0-beta.3', + '@storybook/svelte': '8.3.0-beta.3', + '@storybook/vue3': '8.3.0-beta.3', + '@storybook/web-components': '8.3.0-beta.3', }; diff --git a/code/core/src/manager-api/version.ts b/code/core/src/manager-api/version.ts index 0661e8936b6..323856a5a1b 100644 --- a/code/core/src/manager-api/version.ts +++ b/code/core/src/manager-api/version.ts @@ -1 +1 @@ -export const version = '8.3.0-beta.2'; +export const version = '8.3.0-beta.3'; diff --git a/code/deprecated/builder-manager/package.json b/code/deprecated/builder-manager/package.json index 1767ebae20c..4dae3627019 100644 --- a/code/deprecated/builder-manager/package.json +++ b/code/deprecated/builder-manager/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-manager", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook manager builder", "keywords": [ "storybook" diff --git a/code/deprecated/channels/package.json b/code/deprecated/channels/package.json index 6df04e8b899..fbe805b0f27 100644 --- a/code/deprecated/channels/package.json +++ b/code/deprecated/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "", "keywords": [ "storybook" diff --git a/code/deprecated/client-logger/package.json b/code/deprecated/client-logger/package.json index 2a944a19a73..7f2e934ddcb 100644 --- a/code/deprecated/client-logger/package.json +++ b/code/deprecated/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "", "keywords": [ "storybook" diff --git a/code/deprecated/components/package.json b/code/deprecated/components/package.json index f10f19ffb50..728dc6ffd7c 100644 --- a/code/deprecated/components/package.json +++ b/code/deprecated/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Core Storybook Components", "keywords": [ "storybook" diff --git a/code/deprecated/core-common/package.json b/code/deprecated/core-common/package.json index 7027b8ad40e..0d6c6316f4a 100644 --- a/code/deprecated/core-common/package.json +++ b/code/deprecated/core-common/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-common", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" diff --git a/code/deprecated/core-events/package.json b/code/deprecated/core-events/package.json index 64f3ddb887b..6bf20cfff56 100644 --- a/code/deprecated/core-events/package.json +++ b/code/deprecated/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/code/deprecated/core-server/package.json b/code/deprecated/core-server/package.json index 5fea92edc86..26e6dd83daa 100644 --- a/code/deprecated/core-server/package.json +++ b/code/deprecated/core-server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-server", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" diff --git a/code/deprecated/csf-tools/package.json b/code/deprecated/csf-tools/package.json index e9166328f53..4fba69675bc 100644 --- a/code/deprecated/csf-tools/package.json +++ b/code/deprecated/csf-tools/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/csf-tools", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Parse and manipulate CSF and Storybook config files", "keywords": [ "storybook" diff --git a/code/deprecated/docs-tools/package.json b/code/deprecated/docs-tools/package.json index 0883fea9ac8..c418563ab75 100644 --- a/code/deprecated/docs-tools/package.json +++ b/code/deprecated/docs-tools/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/docs-tools", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Shared utility functions for frameworks to implement docs", "keywords": [ "storybook" diff --git a/code/deprecated/manager-api/package.json b/code/deprecated/manager-api/package.json index 8afc5897a48..4e105e90c8d 100644 --- a/code/deprecated/manager-api/package.json +++ b/code/deprecated/manager-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/manager-api", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Core Storybook Manager API & Context", "keywords": [ "storybook" diff --git a/code/deprecated/manager/package.json b/code/deprecated/manager/package.json index 02aa2fb8b31..edf08bf1876 100644 --- a/code/deprecated/manager/package.json +++ b/code/deprecated/manager/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/manager", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Core Storybook UI", "keywords": [ "storybook" diff --git a/code/deprecated/node-logger/package.json b/code/deprecated/node-logger/package.json index 1bb83d43db2..f29308de72e 100644 --- a/code/deprecated/node-logger/package.json +++ b/code/deprecated/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "", "keywords": [ "storybook" diff --git a/code/deprecated/preview-api/package.json b/code/deprecated/preview-api/package.json index 9eb08df8dc4..05535cbb0b6 100644 --- a/code/deprecated/preview-api/package.json +++ b/code/deprecated/preview-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preview-api", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "", "keywords": [ "storybook" diff --git a/code/deprecated/preview/package.json b/code/deprecated/preview/package.json index 0aaf64218c4..4322f785a2b 100644 --- a/code/deprecated/preview/package.json +++ b/code/deprecated/preview/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preview", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "", "keywords": [ "storybook" diff --git a/code/deprecated/router/package.json b/code/deprecated/router/package.json index 0db062a08bc..e97368a6670 100644 --- a/code/deprecated/router/package.json +++ b/code/deprecated/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Core Storybook Router", "keywords": [ "storybook" diff --git a/code/deprecated/telemetry/package.json b/code/deprecated/telemetry/package.json index 5b5893077b9..71ca3df1840 100644 --- a/code/deprecated/telemetry/package.json +++ b/code/deprecated/telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/telemetry", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Telemetry logging for crash reports and usage statistics", "keywords": [ "storybook" diff --git a/code/deprecated/theming/package.json b/code/deprecated/theming/package.json index b30b2131bf0..7712ccb3677 100644 --- a/code/deprecated/theming/package.json +++ b/code/deprecated/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Core Storybook Components", "keywords": [ "storybook" diff --git a/code/deprecated/types/package.json b/code/deprecated/types/package.json index d06b79c15a5..7a4a9d272f7 100644 --- a/code/deprecated/types/package.json +++ b/code/deprecated/types/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/types", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Core Storybook TS Types", "keywords": [ "storybook" diff --git a/code/frameworks/angular/package.json b/code/frameworks/angular/package.json index 4289c3d1c24..4c38857b7f6 100644 --- a/code/frameworks/angular/package.json +++ b/code/frameworks/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.", "keywords": [ "storybook", diff --git a/code/frameworks/ember/package.json b/code/frameworks/ember/package.json index b5bbca75432..68415ce049a 100644 --- a/code/frameworks/ember/package.json +++ b/code/frameworks/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybookjs/storybook/tree/next/code/frameworks/ember", "bugs": { diff --git a/code/frameworks/experimental-nextjs-vite/package.json b/code/frameworks/experimental-nextjs-vite/package.json index c0a70eaecff..e5073f6746d 100644 --- a/code/frameworks/experimental-nextjs-vite/package.json +++ b/code/frameworks/experimental-nextjs-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/experimental-nextjs-vite", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Next.js and Vite", "keywords": [ "storybook", diff --git a/code/frameworks/html-vite/package.json b/code/frameworks/html-vite/package.json index 521a19650f0..2dd8d60d673 100644 --- a/code/frameworks/html-vite/package.json +++ b/code/frameworks/html-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html-vite", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for HTML and Vite: Develop HTML in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/html-webpack5/package.json b/code/frameworks/html-webpack5/package.json index 9a4e471c097..116bc637097 100644 --- a/code/frameworks/html-webpack5/package.json +++ b/code/frameworks/html-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html-webpack5", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/nextjs/package.json b/code/frameworks/nextjs/package.json index 155f1034411..9d1efe0ea12 100644 --- a/code/frameworks/nextjs/package.json +++ b/code/frameworks/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/nextjs", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Next.js", "keywords": [ "storybook", diff --git a/code/frameworks/preact-vite/package.json b/code/frameworks/preact-vite/package.json index ded9f46d52b..8f476e188ff 100644 --- a/code/frameworks/preact-vite/package.json +++ b/code/frameworks/preact-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact-vite", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/preact-webpack5/package.json b/code/frameworks/preact-webpack5/package.json index e76d151efdc..6a9e8bcf3f2 100644 --- a/code/frameworks/preact-webpack5/package.json +++ b/code/frameworks/preact-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact-webpack5", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json index 97f10e09e62..092a327eee9 100644 --- a/code/frameworks/react-vite/package.json +++ b/code/frameworks/react-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-vite", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/react-webpack5/package.json b/code/frameworks/react-webpack5/package.json index b788f45179b..f507d9bb383 100644 --- a/code/frameworks/react-webpack5/package.json +++ b/code/frameworks/react-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-webpack5", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/server-webpack5/package.json b/code/frameworks/server-webpack5/package.json index 66ba7158031..bad839375ac 100644 --- a/code/frameworks/server-webpack5/package.json +++ b/code/frameworks/server-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/server-webpack5", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/svelte-vite/package.json b/code/frameworks/svelte-vite/package.json index 9a31cf72157..82dffe7f9da 100644 --- a/code/frameworks/svelte-vite/package.json +++ b/code/frameworks/svelte-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte-vite", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Svelte and Vite: Develop Svelte components in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/svelte-webpack5/package.json b/code/frameworks/svelte-webpack5/package.json index beb9fefba0a..4862dca849d 100644 --- a/code/frameworks/svelte-webpack5/package.json +++ b/code/frameworks/svelte-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte-webpack5", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/sveltekit/package.json b/code/frameworks/sveltekit/package.json index 9ce67b30dee..8290e28c2a4 100644 --- a/code/frameworks/sveltekit/package.json +++ b/code/frameworks/sveltekit/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/sveltekit", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for SvelteKit", "keywords": [ "storybook", diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json index e5b461e3258..9b52ae1c168 100644 --- a/code/frameworks/vue3-vite/package.json +++ b/code/frameworks/vue3-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3-vite", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Vue3 and Vite: Develop Vue3 components in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/vue3-webpack5/package.json b/code/frameworks/vue3-webpack5/package.json index f7d845209dc..df27747bc87 100644 --- a/code/frameworks/vue3-webpack5/package.json +++ b/code/frameworks/vue3-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3-webpack5", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/web-components-vite/package.json b/code/frameworks/web-components-vite/package.json index 95aeff84378..8001e6ab453 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": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for web-components and Vite: Develop Web Components in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/frameworks/web-components-webpack5/package.json b/code/frameworks/web-components-webpack5/package.json index 2606ad0ff2c..41e6b0e6ed3 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": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.", "keywords": [ "lit", diff --git a/code/lib/blocks/package.json b/code/lib/blocks/package.json index ac86c5f6c80..10a508b2efc 100644 --- a/code/lib/blocks/package.json +++ b/code/lib/blocks/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/blocks", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook Doc Blocks", "keywords": [ "storybook" diff --git a/code/lib/cli-sb/package.json b/code/lib/cli-sb/package.json index 5743737b83f..0d1f6524523 100644 --- a/code/lib/cli-sb/package.json +++ b/code/lib/cli-sb/package.json @@ -1,6 +1,6 @@ { "name": "sb", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook CLI", "keywords": [ "storybook" diff --git a/code/lib/cli-storybook/package.json b/code/lib/cli-storybook/package.json index 19a5d4e3804..6106d1e47b5 100644 --- a/code/lib/cli-storybook/package.json +++ b/code/lib/cli-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook CLI", "keywords": [ "storybook" diff --git a/code/lib/cli/package.json b/code/lib/cli/package.json index 9731af8d21c..b26bcdee94d 100644 --- a/code/lib/cli/package.json +++ b/code/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "storybook", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook's CLI - install, dev, build, upgrade, and more", "keywords": [ "cli", diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json index 35d467ad3d4..19cdb9240e7 100644 --- a/code/lib/codemod/package.json +++ b/code/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/code/lib/core-webpack/package.json b/code/lib/core-webpack/package.json index 28bc9a4e524..478d420684c 100644 --- a/code/lib/core-webpack/package.json +++ b/code/lib/core-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-webpack", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" diff --git a/code/lib/create-storybook/package.json b/code/lib/create-storybook/package.json index 9c24463ffe5..686973889e3 100644 --- a/code/lib/create-storybook/package.json +++ b/code/lib/create-storybook/package.json @@ -1,6 +1,6 @@ { "name": "create-storybook", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Initialize Storybook into your project", "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/create-storybook", "bugs": { diff --git a/code/lib/csf-plugin/package.json b/code/lib/csf-plugin/package.json index ec96de04c62..2c4c89d42fa 100644 --- a/code/lib/csf-plugin/package.json +++ b/code/lib/csf-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/csf-plugin", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Enrich CSF files via static analysis", "keywords": [ "storybook" diff --git a/code/lib/instrumenter/package.json b/code/lib/instrumenter/package.json index 58577b4ae4a..3fdc4aae779 100644 --- a/code/lib/instrumenter/package.json +++ b/code/lib/instrumenter/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/instrumenter", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "", "keywords": [ "storybook" diff --git a/code/lib/react-dom-shim/package.json b/code/lib/react-dom-shim/package.json index 8fac8f7d9cb..14961e1f255 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": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "", "keywords": [ "storybook" diff --git a/code/lib/source-loader/package.json b/code/lib/source-loader/package.json index 3389ba2820d..66cc8fa9b5a 100644 --- a/code/lib/source-loader/package.json +++ b/code/lib/source-loader/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/source-loader", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Source loader", "keywords": [ "lib", diff --git a/code/lib/test/package.json b/code/lib/test/package.json index af353c83061..69065822ceb 100644 --- a/code/lib/test/package.json +++ b/code/lib/test/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/test", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "", "keywords": [ "storybook" diff --git a/code/package.json b/code/package.json index ee0e082db90..0b05b3a9965 100644 --- a/code/package.json +++ b/code/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/root", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "private": true, "description": "Storybook root", "homepage": "https://storybook.js.org/", @@ -295,6 +295,5 @@ "Dependency Upgrades" ] ] - }, - "deferredNextVersion": "8.3.0-beta.3" + } } diff --git a/code/presets/create-react-app/package.json b/code/presets/create-react-app/package.json index ed2930f3e86..fa615b26287 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": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Create React App preset", "keywords": [ "storybook" diff --git a/code/presets/html-webpack/package.json b/code/presets/html-webpack/package.json index f219c4644ed..da48b1f7a50 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": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/presets/preact-webpack/package.json b/code/presets/preact-webpack/package.json index 88a8b657e5c..588f24f0e9b 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": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" diff --git a/code/presets/react-webpack/package.json b/code/presets/react-webpack/package.json index 846947ba5b6..b92dfc6bb99 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": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading", "keywords": [ "storybook" diff --git a/code/presets/server-webpack/package.json b/code/presets/server-webpack/package.json index a17df076379..ee6758f70ad 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": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/presets/svelte-webpack/package.json b/code/presets/svelte-webpack/package.json index 520a8c6157d..61ccd7a5420 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": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/presets/vue3-webpack/package.json b/code/presets/vue3-webpack/package.json index 66d1532f4f1..b4ecb5513e7 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": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.", "keywords": [ "storybook" diff --git a/code/renderers/html/package.json b/code/renderers/html/package.json index ae3682b70ad..3ff41a812fe 100644 --- a/code/renderers/html/package.json +++ b/code/renderers/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook HTML renderer", "keywords": [ "storybook" diff --git a/code/renderers/preact/package.json b/code/renderers/preact/package.json index 01d2a9de0e7..0cbf353261e 100644 --- a/code/renderers/preact/package.json +++ b/code/renderers/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook Preact renderer", "keywords": [ "storybook" diff --git a/code/renderers/react/package.json b/code/renderers/react/package.json index 03c7daee660..1b803593b61 100644 --- a/code/renderers/react/package.json +++ b/code/renderers/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook React renderer", "keywords": [ "storybook" diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index 5f4dd895c93..dabfb542c5a 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/server", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook Server renderer", "keywords": [ "storybook" diff --git a/code/renderers/svelte/package.json b/code/renderers/svelte/package.json index 9858889861e..d56e30eed62 100644 --- a/code/renderers/svelte/package.json +++ b/code/renderers/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook Svelte renderer", "keywords": [ "storybook" diff --git a/code/renderers/vue3/package.json b/code/renderers/vue3/package.json index bf7d142a789..98d85028e45 100644 --- a/code/renderers/vue3/package.json +++ b/code/renderers/vue3/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook Vue 3 renderer", "keywords": [ "storybook" diff --git a/code/renderers/web-components/package.json b/code/renderers/web-components/package.json index 033d7c1bab4..7beb520b280 100644 --- a/code/renderers/web-components/package.json +++ b/code/renderers/web-components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/web-components", - "version": "8.3.0-beta.2", + "version": "8.3.0-beta.3", "description": "Storybook web-components renderer", "keywords": [ "lit", From 67fcef2bc4a6bc3bec0c2042e3aee1edbbb55e7f Mon Sep 17 00:00:00 2001 From: Jeppe Reinhold Date: Thu, 5 Sep 2024 19:41:00 +0200 Subject: [PATCH 3/5] upgrade @radix-ui/react-scroll-area --- code/core/package.json | 2 +- code/yarn.lock | 168 +++++++++++++++++++++++++++++++++-------- 2 files changed, 139 insertions(+), 31 deletions(-) diff --git a/code/core/package.json b/code/core/package.json index 02e9b4911c4..6817d132d59 100644 --- a/code/core/package.json +++ b/code/core/package.json @@ -307,7 +307,7 @@ "@ndelangen/get-tarball": "^3.0.7", "@popperjs/core": "^2.6.0", "@radix-ui/react-dialog": "^1.0.5", - "@radix-ui/react-scroll-area": "^1.0.5", + "@radix-ui/react-scroll-area": "1.2.0-rc.7", "@radix-ui/react-slot": "^1.0.2", "@storybook/docs-mdx": "4.0.0-next.1", "@storybook/global": "^5.0.0", diff --git a/code/yarn.lock b/code/yarn.lock index 6892fd9eb5b..80ebe411b34 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -4670,12 +4670,10 @@ __metadata: languageName: node linkType: hard -"@radix-ui/number@npm:1.0.1": - version: 1.0.1 - resolution: "@radix-ui/number@npm:1.0.1" - dependencies: - "@babel/runtime": "npm:^7.13.10" - checksum: 10c0/42e4870cd14459da6da03e43c7507dc4c807ed787a87bda52912a0d1d6d5013326b697c18c9625fc6a2cf0af2b45d9c86747985b45358fd92ab646b983978e3c +"@radix-ui/number@npm:1.1.0": + version: 1.1.0 + resolution: "@radix-ui/number@npm:1.1.0" + checksum: 10c0/a48e34d5ff1484de1b7cf5d7317fefc831d49e96a2229f300fd37b657bd8cfb59c922830c00ec02838ab21de3b299a523474592e4f30882153412ed47edce6a4 languageName: node linkType: hard @@ -4688,6 +4686,13 @@ __metadata: languageName: node linkType: hard +"@radix-ui/primitive@npm:1.1.0": + version: 1.1.0 + resolution: "@radix-ui/primitive@npm:1.1.0" + checksum: 10c0/1dcc8b5401799416ff8bdb15c7189b4536c193220ad8fd348a48b88f804ee38cec7bd03e2b9641f7da24610e2f61f23a306911ce883af92c4e8c1abac634cb61 + languageName: node + linkType: hard + "@radix-ui/react-compose-refs@npm:1.0.1": version: 1.0.1 resolution: "@radix-ui/react-compose-refs@npm:1.0.1" @@ -4703,6 +4708,19 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-compose-refs@npm:1.1.0": + version: 1.1.0 + resolution: "@radix-ui/react-compose-refs@npm:1.1.0" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 10c0/7e18706084397d9458ca3473d8565b10691da06f6499a78edbcc4bd72cde08f62e91120658d17d58c19fc39d6b1dffe0133cc4535c8f5fce470abd478f6107e5 + languageName: node + linkType: hard + "@radix-ui/react-context@npm:1.0.1": version: 1.0.1 resolution: "@radix-ui/react-context@npm:1.0.1" @@ -4718,6 +4736,19 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-context@npm:1.1.0": + version: 1.1.0 + resolution: "@radix-ui/react-context@npm:1.1.0" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 10c0/c843980f568cc61b512708863ec84c42a02e0f88359b22ad1c0e290cea3e6d7618eccbd2cd37bd974fadaa7636cbed5bda27553722e61197eb53852eaa34f1bb + languageName: node + linkType: hard + "@radix-ui/react-dialog@npm:^1.0.5": version: 1.0.5 resolution: "@radix-ui/react-dialog@npm:1.0.5" @@ -4751,18 +4782,16 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-direction@npm:1.0.1": - version: 1.0.1 - resolution: "@radix-ui/react-direction@npm:1.0.1" - dependencies: - "@babel/runtime": "npm:^7.13.10" +"@radix-ui/react-direction@npm:1.1.0": + version: 1.1.0 + resolution: "@radix-ui/react-direction@npm:1.1.0" peerDependencies: "@types/react": "*" - react: ^16.8 || ^17.0 || ^18.0 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: "@types/react": optional: true - checksum: 10c0/b1a45b4d1d5070ca3b5864b920f6c6210c962bdb519abb62b38b1baef9d06737dc3d8ecdb61860b7504a735235a539652f5977c7299ec021da84e6b0f64d988a + checksum: 10c0/eb07d8cc3ae2388b824e0a11ae0e3b71fb0c49972b506e249cec9f27a5b7ef4305ee668c98b674833c92e842163549a83beb0a197dec1ec65774bdeeb61f932c languageName: node linkType: hard @@ -4884,6 +4913,26 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-presence@npm:1.1.0": + version: 1.1.0 + resolution: "@radix-ui/react-presence@npm:1.1.0" + dependencies: + "@radix-ui/react-compose-refs": "npm:1.1.0" + "@radix-ui/react-use-layout-effect": "npm:1.1.0" + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 10c0/58acb658b15b72991ad7a234ea90995902c470b3a182aa90ad03145cbbeaa40f211700c444bfa14cf47537cbb6b732e1359bc5396182de839bd680843c11bf31 + languageName: node + linkType: hard + "@radix-ui/react-primitive@npm:1.0.3": version: 1.0.3 resolution: "@radix-ui/react-primitive@npm:1.0.3" @@ -4904,31 +4953,49 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-scroll-area@npm:^1.0.5": - version: 1.0.5 - resolution: "@radix-ui/react-scroll-area@npm:1.0.5" +"@radix-ui/react-primitive@npm:2.0.0": + version: 2.0.0 + resolution: "@radix-ui/react-primitive@npm:2.0.0" dependencies: - "@babel/runtime": "npm:^7.13.10" - "@radix-ui/number": "npm:1.0.1" - "@radix-ui/primitive": "npm:1.0.1" - "@radix-ui/react-compose-refs": "npm:1.0.1" - "@radix-ui/react-context": "npm:1.0.1" - "@radix-ui/react-direction": "npm:1.0.1" - "@radix-ui/react-presence": "npm:1.0.1" - "@radix-ui/react-primitive": "npm:1.0.3" - "@radix-ui/react-use-callback-ref": "npm:1.0.1" - "@radix-ui/react-use-layout-effect": "npm:1.0.1" + "@radix-ui/react-slot": "npm:1.1.0" peerDependencies: "@types/react": "*" "@types/react-dom": "*" - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 10c0/00cb6ca499252ca848c299212ba6976171cea7608b10b3f9a9639d6732dea2df1197ba0d97c001a4fdb29313c3e7fc2a490f6245dd3579617a0ffd85ae964fdd + languageName: node + linkType: hard + +"@radix-ui/react-scroll-area@npm:1.2.0-rc.7": + version: 1.2.0-rc.7 + resolution: "@radix-ui/react-scroll-area@npm:1.2.0-rc.7" + dependencies: + "@radix-ui/number": "npm:1.1.0" + "@radix-ui/primitive": "npm:1.1.0" + "@radix-ui/react-compose-refs": "npm:1.1.0" + "@radix-ui/react-context": "npm:1.1.0" + "@radix-ui/react-direction": "npm:1.1.0" + "@radix-ui/react-presence": "npm:1.1.0" + "@radix-ui/react-primitive": "npm:2.0.0" + "@radix-ui/react-use-callback-ref": "npm:1.1.0" + "@radix-ui/react-use-layout-effect": "npm:1.1.0" + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: "@types/react": optional: true "@types/react-dom": optional: true - checksum: 10c0/a08818aeeb15920a02e708699a8bdc85c26eab0579ab741129b464a799b5d9a04f81810a2d200f1cf4aef03452067770e87b0f81593a689350fcd7e51819e4cb + checksum: 10c0/61bc26101508d9956ed07e7464cd90a37439b9d2fec2c4ee4f4383d10a8e19d34b7be4dafaa04ded05b46a3519168fa5898328bd814fed73da06c1bcbd2b884e languageName: node linkType: hard @@ -4948,6 +5015,21 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-slot@npm:1.1.0": + version: 1.1.0 + resolution: "@radix-ui/react-slot@npm:1.1.0" + dependencies: + "@radix-ui/react-compose-refs": "npm:1.1.0" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 10c0/a2e8bfb70c440506dd84a1a274f9a8bc433cca37ceae275e53552c9122612e3837744d7fc6f113d6ef1a11491aa914f4add71d76de41cb6d4db72547a8e261ae + languageName: node + linkType: hard + "@radix-ui/react-use-callback-ref@npm:1.0.1": version: 1.0.1 resolution: "@radix-ui/react-use-callback-ref@npm:1.0.1" @@ -4963,6 +5045,19 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-use-callback-ref@npm:1.1.0": + version: 1.1.0 + resolution: "@radix-ui/react-use-callback-ref@npm:1.1.0" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 10c0/e954863f3baa151faf89ac052a5468b42650efca924417470efd1bd254b411a94c69c30de2fdbb90187b38cb984795978e12e30423dc41e4309d93d53b66d819 + languageName: node + linkType: hard + "@radix-ui/react-use-controllable-state@npm:1.0.1": version: 1.0.1 resolution: "@radix-ui/react-use-controllable-state@npm:1.0.1" @@ -5010,6 +5105,19 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-use-layout-effect@npm:1.1.0": + version: 1.1.0 + resolution: "@radix-ui/react-use-layout-effect@npm:1.1.0" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 10c0/9bf87ece1845c038ed95863cfccf9d75f557c2400d606343bab0ab3192b9806b9840e6aa0a0333fdf3e83cf9982632852192f3e68d7d8367bc8c788dfdf8e62b + languageName: node + linkType: hard + "@rollup/pluginutils@npm:^5.0.2, @rollup/pluginutils@npm:^5.1.0": version: 5.1.0 resolution: "@rollup/pluginutils@npm:5.1.0" @@ -5915,7 +6023,7 @@ __metadata: "@ndelangen/get-tarball": "npm:^3.0.7" "@popperjs/core": "npm:^2.6.0" "@radix-ui/react-dialog": "npm:^1.0.5" - "@radix-ui/react-scroll-area": "npm:^1.0.5" + "@radix-ui/react-scroll-area": "npm:1.2.0-rc.7" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/csf": "npm:^0.1.11" "@storybook/docs-mdx": "npm:4.0.0-next.1" From d5d5f6838f8030a122c7e67454e696e44b12230b Mon Sep 17 00:00:00 2001 From: Jeppe Reinhold Date: Thu, 5 Sep 2024 21:06:38 +0200 Subject: [PATCH 4/5] add narrow story to Sidebar --- .../components/sidebar/Sidebar.stories.tsx | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/code/core/src/manager/components/sidebar/Sidebar.stories.tsx b/code/core/src/manager/components/sidebar/Sidebar.stories.tsx index b682ba95983..972606b7959 100644 --- a/code/core/src/manager/components/sidebar/Sidebar.stories.tsx +++ b/code/core/src/manager/components/sidebar/Sidebar.stories.tsx @@ -143,6 +143,42 @@ export const WithRefs: Story = { }, }; +export const WithRefsNarrow: Story = { + args: { + refs: { + wide: { + ...refs.optimized, + title: 'This is a ref with a very long title', + }, + }, + }, + parameters: { + viewport: { + options: { + narrow: { + name: 'narrow', + styles: { + width: '400px', + height: '800px', + }, + }, + }, + }, + chromatic: { + modes: { + narrow: { + viewport: 400, + }, + }, + }, + }, + globals: { + viewport: { + value: 'narrow', + }, + }, +}; + export const LoadingWithRefs: Story = { args: { ...Loading.args, From 236e51e49d6038bd24dbdadfe40aecc58a8c17b0 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Fri, 6 Sep 2024 22:42:36 +0200 Subject: [PATCH 5/5] rename vitest plugin entrypoint --- code/.storybook/vitest.config.ts | 2 +- code/addons/test/package.json | 32 +++++++++---------- code/addons/test/src/index.ts | 4 +-- code/addons/test/src/postinstall.ts | 4 +-- .../{plugin => vitest-plugin}/global-setup.ts | 0 .../src/{plugin => vitest-plugin}/index.ts | 0 .../setup-file.test.ts | 0 .../{plugin => vitest-plugin}/setup-file.ts | 0 .../{plugin => vitest-plugin}/test-utils.ts | 0 .../src/{plugin => vitest-plugin}/types.ts | 0 .../viewports.test.ts | 0 .../{plugin => vitest-plugin}/viewports.ts | 0 scripts/tasks/sandbox-parts.ts | 2 +- 13 files changed, 22 insertions(+), 22 deletions(-) rename code/addons/test/src/{plugin => vitest-plugin}/global-setup.ts (100%) rename code/addons/test/src/{plugin => vitest-plugin}/index.ts (100%) rename code/addons/test/src/{plugin => vitest-plugin}/setup-file.test.ts (100%) rename code/addons/test/src/{plugin => vitest-plugin}/setup-file.ts (100%) rename code/addons/test/src/{plugin => vitest-plugin}/test-utils.ts (100%) rename code/addons/test/src/{plugin => vitest-plugin}/types.ts (100%) rename code/addons/test/src/{plugin => vitest-plugin}/viewports.test.ts (100%) rename code/addons/test/src/{plugin => vitest-plugin}/viewports.ts (100%) diff --git a/code/.storybook/vitest.config.ts b/code/.storybook/vitest.config.ts index a6120deed89..25a83b4396e 100644 --- a/code/.storybook/vitest.config.ts +++ b/code/.storybook/vitest.config.ts @@ -21,7 +21,7 @@ export default mergeConfig( vitestCommonConfig, defineProject({ plugins: [ - import('@storybook/experimental-addon-test/vite-plugin').then(({ storybookTest }) => + import('@storybook/experimental-addon-test/vitest-plugin').then(({ storybookTest }) => storybookTest({ configDir: process.cwd(), }) diff --git a/code/addons/test/package.json b/code/addons/test/package.json index 559808a2ebc..fcea742e5a5 100644 --- a/code/addons/test/package.json +++ b/code/addons/test/package.json @@ -29,24 +29,24 @@ "import": "./dist/index.js", "require": "./dist/index.cjs" }, - "./vite-plugin": { - "types": "./dist/plugin/index.d.ts", - "import": "./dist/plugin/index.js", - "require": "./dist/plugin/index.cjs" + "./vitest-plugin": { + "types": "./dist/vitest-plugin/index.d.ts", + "import": "./dist/vitest-plugin/index.js", + "require": "./dist/vitest-plugin/index.cjs" }, "./internal/global-setup": { - "types": "./dist/plugin/global-setup.d.ts", - "import": "./dist/plugin/global-setup.js", - "require": "./dist/plugin/global-setup.cjs" + "types": "./dist/vitest-plugin/global-setup.d.ts", + "import": "./dist/vitest-plugin/global-setup.js", + "require": "./dist/vitest-plugin/global-setup.cjs" }, "./internal/setup-file": { - "types": "./dist/plugin/setup-file.d.ts", - "import": "./dist/plugin/setup-file.js" + "types": "./dist/vitest-plugin/setup-file.d.ts", + "import": "./dist/vitest-plugin/setup-file.js" }, "./internal/test-utils": { - "types": "./dist/plugin/test-utils.d.ts", - "import": "./dist/plugin/test-utils.js", - "require": "./dist/plugin/test-utils.cjs" + "types": "./dist/vitest-plugin/test-utils.d.ts", + "import": "./dist/vitest-plugin/test-utils.js", + "require": "./dist/vitest-plugin/test-utils.cjs" }, "./manager": "./dist/manager.js", "./preset": "./dist/preset.cjs", @@ -93,16 +93,16 @@ "bundler": { "exportEntries": [ "./src/index.ts", - "./src/plugin/test-utils.ts", - "./src/plugin/setup-file.ts" + "./src/vitest-plugin/test-utils.ts", + "./src/vitest-plugin/setup-file.ts" ], "managerEntries": [ "./src/manager.tsx" ], "nodeEntries": [ "./src/preset.ts", - "./src/plugin/index.ts", - "./src/plugin/global-setup.ts", + "./src/vitest-plugin/index.ts", + "./src/vitest-plugin/global-setup.ts", "./src/postinstall.ts" ] } diff --git a/code/addons/test/src/index.ts b/code/addons/test/src/index.ts index 9a3583d228c..db487be1169 100644 --- a/code/addons/test/src/index.ts +++ b/code/addons/test/src/index.ts @@ -1,9 +1,9 @@ -import type { storybookTest as storybookTestImport } from './plugin'; +import type { storybookTest as storybookTestImport } from './vitest-plugin'; // make it work with --isolatedModules export default {}; // @ts-expect-error - this is a hack to make the module's sub-path augmentable -declare module '@storybook/experimental-addon-test/vite-plugin' { +declare module '@storybook/experimental-addon-test/vitest-plugin' { export const storybookTest: typeof storybookTestImport; } diff --git a/code/addons/test/src/postinstall.ts b/code/addons/test/src/postinstall.ts index c1d8cf54709..a868330b94e 100644 --- a/code/addons/test/src/postinstall.ts +++ b/code/addons/test/src/postinstall.ts @@ -286,7 +286,7 @@ export default async function postInstall(options: PostinstallOptions) { browserWorkspaceFile, dedent` import { defineWorkspace } from 'vitest/config'; - import { storybookTest } from '@storybook/experimental-addon-test/vite-plugin';${vitestInfo.frameworkPluginImport} + import { storybookTest } from '@storybook/experimental-addon-test/vitest-plugin';${vitestInfo.frameworkPluginImport} // More info at: https://storybook.js.org/docs/writing-tests/test-runner-with-vitest export default defineWorkspace([ @@ -325,7 +325,7 @@ export default async function postInstall(options: PostinstallOptions) { newVitestConfigFile, dedent` import { defineConfig } from 'vitest/config'; - import { storybookTest } from '@storybook/experimental-addon-test/vite-plugin';${vitestInfo.frameworkPluginImport} + import { storybookTest } from '@storybook/experimental-addon-test/vitest-plugin';${vitestInfo.frameworkPluginImport} // More info at: https://storybook.js.org/docs/writing-tests/test-runner-with-vitest export default defineConfig({ diff --git a/code/addons/test/src/plugin/global-setup.ts b/code/addons/test/src/vitest-plugin/global-setup.ts similarity index 100% rename from code/addons/test/src/plugin/global-setup.ts rename to code/addons/test/src/vitest-plugin/global-setup.ts diff --git a/code/addons/test/src/plugin/index.ts b/code/addons/test/src/vitest-plugin/index.ts similarity index 100% rename from code/addons/test/src/plugin/index.ts rename to code/addons/test/src/vitest-plugin/index.ts diff --git a/code/addons/test/src/plugin/setup-file.test.ts b/code/addons/test/src/vitest-plugin/setup-file.test.ts similarity index 100% rename from code/addons/test/src/plugin/setup-file.test.ts rename to code/addons/test/src/vitest-plugin/setup-file.test.ts diff --git a/code/addons/test/src/plugin/setup-file.ts b/code/addons/test/src/vitest-plugin/setup-file.ts similarity index 100% rename from code/addons/test/src/plugin/setup-file.ts rename to code/addons/test/src/vitest-plugin/setup-file.ts diff --git a/code/addons/test/src/plugin/test-utils.ts b/code/addons/test/src/vitest-plugin/test-utils.ts similarity index 100% rename from code/addons/test/src/plugin/test-utils.ts rename to code/addons/test/src/vitest-plugin/test-utils.ts diff --git a/code/addons/test/src/plugin/types.ts b/code/addons/test/src/vitest-plugin/types.ts similarity index 100% rename from code/addons/test/src/plugin/types.ts rename to code/addons/test/src/vitest-plugin/types.ts diff --git a/code/addons/test/src/plugin/viewports.test.ts b/code/addons/test/src/vitest-plugin/viewports.test.ts similarity index 100% rename from code/addons/test/src/plugin/viewports.test.ts rename to code/addons/test/src/vitest-plugin/viewports.test.ts diff --git a/code/addons/test/src/plugin/viewports.ts b/code/addons/test/src/vitest-plugin/viewports.ts similarity index 100% rename from code/addons/test/src/plugin/viewports.ts rename to code/addons/test/src/vitest-plugin/viewports.ts diff --git a/scripts/tasks/sandbox-parts.ts b/scripts/tasks/sandbox-parts.ts index 971bcb7e27c..07c518a9986 100644 --- a/scripts/tasks/sandbox-parts.ts +++ b/scripts/tasks/sandbox-parts.ts @@ -437,7 +437,7 @@ export async function setupVitest(details: TemplateDetails, options: PassedOptio join(sandboxDir, 'vitest.workspace.ts'), dedent` import { defineWorkspace, defaultExclude } from "vitest/config"; - import { storybookTest } from "@storybook/experimental-addon-test/vite-plugin"; + import { storybookTest } from "@storybook/experimental-addon-test/vitest-plugin"; ${frameworkPluginImport} export default defineWorkspace([