From 07649d1bce06ee97acdb512fb4aef31d2a771a3f Mon Sep 17 00:00:00 2001 From: storybook-bot <32066757+storybook-bot@users.noreply.github.com> Date: Wed, 31 Jan 2024 23:23:22 +0000 Subject: [PATCH 1/4] Write changelog for 8.0.0-alpha.17 [skip ci] --- CHANGELOG.prerelease.md | 8 ++++++++ code/package.json | 3 ++- docs/versions/next.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.prerelease.md b/CHANGELOG.prerelease.md index 0ee045065da6..840c5ee3edb8 100644 --- a/CHANGELOG.prerelease.md +++ b/CHANGELOG.prerelease.md @@ -1,3 +1,11 @@ +## 8.0.0-alpha.17 + +- CLI: Fix add command for non monorepo deps - [#25791](https://github.com/storybookjs/storybook/pull/25791), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)! +- Core: Fix `--test` must be passed for `build.test` values to be set. - [#25828](https://github.com/storybookjs/storybook/pull/25828), thanks [@ndelangen](https://github.com/ndelangen)! +- Test: Fix vitest patch to work with portable stories and upgrade testing-library/jest-dom - [#25840](https://github.com/storybookjs/storybook/pull/25840), thanks [@kasperpeulen](https://github.com/kasperpeulen)! +- UI: Fix sidebar top and bottom addons not showing - [#25825](https://github.com/storybookjs/storybook/pull/25825), thanks [@ndelangen](https://github.com/ndelangen)! +- Webpack: Update StorybookConfig import in core-webpack types.ts - [#25740](https://github.com/storybookjs/storybook/pull/25740), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)! + ## 8.0.0-alpha.16 - CLI: Fix `upgrade` detecting the wrong version of existing Storybooks - [#25752](https://github.com/storybookjs/storybook/pull/25752), thanks [@JReinhold](https://github.com/JReinhold)! diff --git a/code/package.json b/code/package.json index 11d7a645835f..54724214567a 100644 --- a/code/package.json +++ b/code/package.json @@ -292,5 +292,6 @@ "Dependency Upgrades" ] ] - } + }, + "deferredNextVersion": "8.0.0-alpha.17" } diff --git a/docs/versions/next.json b/docs/versions/next.json index 5cafa5e5cdea..05542e26f3d1 100644 --- a/docs/versions/next.json +++ b/docs/versions/next.json @@ -1 +1 @@ -{"version":"8.0.0-alpha.16","info":{"plain":"- CLI: Fix `upgrade` detecting the wrong version of existing Storybooks - [#25752](https://github.com/storybookjs/storybook/pull/25752), thanks [@JReinhold](https://github.com/JReinhold)!\n- CLI: Update init for react native v7 - [#25780](https://github.com/storybookjs/storybook/pull/25780), thanks [@dannyhw](https://github.com/dannyhw)!\n- UI: Improve how the addon panel work on mobile - [#25787](https://github.com/storybookjs/storybook/pull/25787), thanks [@cdedreuille](https://github.com/cdedreuille)!"}} +{"version":"8.0.0-alpha.17","info":{"plain":"- CLI: Fix add command for non monorepo deps - [#25791](https://github.com/storybookjs/storybook/pull/25791), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!\n- Core: Fix `--test` must be passed for `build.test` values to be set. - [#25828](https://github.com/storybookjs/storybook/pull/25828), thanks [@ndelangen](https://github.com/ndelangen)!\n- Test: Fix vitest patch to work with portable stories and upgrade testing-library/jest-dom - [#25840](https://github.com/storybookjs/storybook/pull/25840), thanks [@kasperpeulen](https://github.com/kasperpeulen)!\n- UI: Fix sidebar top and bottom addons not showing - [#25825](https://github.com/storybookjs/storybook/pull/25825), thanks [@ndelangen](https://github.com/ndelangen)!\n- Webpack: Update StorybookConfig import in core-webpack types.ts - [#25740](https://github.com/storybookjs/storybook/pull/25740), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!"}} From 2d683f69503394cd0ead33412f3fa848a959ca54 Mon Sep 17 00:00:00 2001 From: storybook-bot <32066757+storybook-bot@users.noreply.github.com> Date: Thu, 1 Feb 2024 03:14:45 +0000 Subject: [PATCH 2/4] Bump version from "8.0.0-alpha.16" to "8.0.0-alpha.17" [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/outline/package.json | 2 +- code/addons/storysource/package.json | 2 +- code/addons/themes/package.json | 2 +- code/addons/toolbars/package.json | 2 +- code/addons/viewport/package.json | 2 +- code/builders/builder-manager/package.json | 2 +- code/builders/builder-vite/package.json | 2 +- code/builders/builder-webpack5/package.json | 2 +- code/frameworks/angular/package.json | 2 +- code/frameworks/ember/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/channels/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/client-logger/package.json | 2 +- code/lib/codemod/package.json | 2 +- code/lib/core-common/package.json | 2 +- code/lib/core-common/src/versions.ts | 158 +++++++++--------- code/lib/core-events/package.json | 2 +- code/lib/core-server/package.json | 2 +- code/lib/core-webpack/package.json | 2 +- code/lib/csf-plugin/package.json | 2 +- code/lib/csf-tools/package.json | 2 +- code/lib/docs-tools/package.json | 2 +- code/lib/instrumenter/package.json | 2 +- code/lib/manager-api/package.json | 2 +- code/lib/manager-api/src/version.ts | 2 +- code/lib/node-logger/package.json | 2 +- code/lib/preview-api/package.json | 2 +- code/lib/preview/package.json | 2 +- code/lib/react-dom-shim/package.json | 2 +- code/lib/router/package.json | 2 +- code/lib/source-loader/package.json | 2 +- code/lib/telemetry/package.json | 2 +- code/lib/test/package.json | 2 +- code/lib/theming/package.json | 2 +- code/lib/types/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 +- code/ui/blocks/package.json | 2 +- code/ui/components/package.json | 2 +- code/ui/manager/package.json | 2 +- 82 files changed, 161 insertions(+), 162 deletions(-) diff --git a/code/addons/a11y/package.json b/code/addons/a11y/package.json index a8ad72034ac0..d415ec8e1740 100644 --- a/code/addons/a11y/package.json +++ b/code/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 38f7850bdb59..c226fbeb66a1 100644 --- a/code/addons/actions/package.json +++ b/code/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 fe96ed8b3ccf..cb0aaa87550b 100644 --- a/code/addons/backgrounds/package.json +++ b/code/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 7a1fe211bc28..7093a7978b35 100644 --- a/code/addons/controls/package.json +++ b/code/addons/controls/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-controls", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 29138ca6ee78..f21e4d520e38 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-docs", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 643fea2719a0..b4cbc9f7ca5f 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-essentials", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 ee3dc9798c2a..7a8b2ddbc899 100644 --- a/code/addons/gfm/package.json +++ b/code/addons/gfm/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-mdx-gfm", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "GitHub Flavored Markdown in Storybook", "keywords": [ "addon", diff --git a/code/addons/highlight/package.json b/code/addons/highlight/package.json index c59398357215..0948688d48b8 100644 --- a/code/addons/highlight/package.json +++ b/code/addons/highlight/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-highlight", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 0d4de3d9b837..978de9bf4c24 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-interactions", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 3ebea532c4cd..f59367de098d 100644 --- a/code/addons/jest/package.json +++ b/code/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 71f1fee7f669..ec84cf9f02fe 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 14853aac95e3..3dcaa5ad7c2f 100644 --- a/code/addons/measure/package.json +++ b/code/addons/measure/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-measure", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Inspect layouts by visualizing the box model", "keywords": [ "storybook-addons", diff --git a/code/addons/outline/package.json b/code/addons/outline/package.json index fcd19d3cf76b..160c1a69a1b7 100644 --- a/code/addons/outline/package.json +++ b/code/addons/outline/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-outline", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 d102b96b4ba1..beaf680331e8 100644 --- a/code/addons/storysource/package.json +++ b/code/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "View a story’s source code to see how it works and paste into your app", "keywords": [ "addon", diff --git a/code/addons/themes/package.json b/code/addons/themes/package.json index 6b8a24779504..5b8edbe9e1f9 100644 --- a/code/addons/themes/package.json +++ b/code/addons/themes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-themes", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 d71c88ede0a6..912148c5e82b 100644 --- a/code/addons/toolbars/package.json +++ b/code/addons/toolbars/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-toolbars", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 4e78026fa82c..03315ce7d262 100644 --- a/code/addons/viewport/package.json +++ b/code/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Build responsive components by adjusting Storybook’s viewport size and orientation", "keywords": [ "addon", diff --git a/code/builders/builder-manager/package.json b/code/builders/builder-manager/package.json index 2e50b786aa1c..d085f2c6e6ed 100644 --- a/code/builders/builder-manager/package.json +++ b/code/builders/builder-manager/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-manager", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook manager builder", "keywords": [ "storybook" diff --git a/code/builders/builder-vite/package.json b/code/builders/builder-vite/package.json index bb1ea32784bb..a9f7f1744fc3 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 9c3c8711668c..65d8c4953cc9 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" diff --git a/code/frameworks/angular/package.json b/code/frameworks/angular/package.json index 207a09c65148..305acd84966c 100644 --- a/code/frameworks/angular/package.json +++ b/code/frameworks/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 5449419c825a..73945a69d1c5 100644 --- a/code/frameworks/ember/package.json +++ b/code/frameworks/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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/html-vite/package.json b/code/frameworks/html-vite/package.json index 8b1b9c301888..1f0c2a5ce246 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 cc95b762b34b..f40c13c4accc 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 7922773e700a..cb36fe3a4092 100644 --- a/code/frameworks/nextjs/package.json +++ b/code/frameworks/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/nextjs", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook for Next.js", "keywords": [ "storybook", diff --git a/code/frameworks/preact-vite/package.json b/code/frameworks/preact-vite/package.json index 4980a400f1c7..2de75b7ed871 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 c59ac6f666b6..7314b2f46c27 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 942e049fbc91..fec32de42c07 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 21e3da26a23e..7e7213d7b2d8 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 7ea776d3a43f..5ae4a23014fd 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 016711055012..be342cbdd806 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 1b847b1871fa..06cd41e6499d 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 99b52eee278d..96443bbf95b2 100644 --- a/code/frameworks/sveltekit/package.json +++ b/code/frameworks/sveltekit/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/sveltekit", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook for SvelteKit", "keywords": [ "storybook", diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json index b482e6734cd5..fd53a1fb71b9 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 0f4a2790ac62..a03850a05c9b 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 dce19399ba37..92fecfe4fbfd 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 75ca0b042ee1..34df2542ab04 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.", "keywords": [ "lit", diff --git a/code/lib/channels/package.json b/code/lib/channels/package.json index c64fbe3487d2..4ffc454688ae 100644 --- a/code/lib/channels/package.json +++ b/code/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "", "keywords": [ "storybook" diff --git a/code/lib/cli-sb/package.json b/code/lib/cli-sb/package.json index 5650a9bdd0ff..ff1994708083 100644 --- a/code/lib/cli-sb/package.json +++ b/code/lib/cli-sb/package.json @@ -1,6 +1,6 @@ { "name": "sb", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook CLI", "keywords": [ "storybook" diff --git a/code/lib/cli-storybook/package.json b/code/lib/cli-storybook/package.json index e7dd270aa25d..9c6b59f1457b 100644 --- a/code/lib/cli-storybook/package.json +++ b/code/lib/cli-storybook/package.json @@ -1,6 +1,6 @@ { "name": "storybook", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook CLI", "keywords": [ "storybook" diff --git a/code/lib/cli/package.json b/code/lib/cli/package.json index b1e10914494f..db640d63fecc 100644 --- a/code/lib/cli/package.json +++ b/code/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook's CLI - install, dev, build, upgrade, and more", "keywords": [ "cli", diff --git a/code/lib/client-logger/package.json b/code/lib/client-logger/package.json index 2db66694ef67..873ab291e7de 100644 --- a/code/lib/client-logger/package.json +++ b/code/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "", "keywords": [ "storybook" diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json index ecfa8ea7d9b8..561f12d94aab 100644 --- a/code/lib/codemod/package.json +++ b/code/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/code/lib/core-common/package.json b/code/lib/core-common/package.json index b1f5c3becf55..e6f4e629bc75 100644 --- a/code/lib/core-common/package.json +++ b/code/lib/core-common/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-common", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" diff --git a/code/lib/core-common/src/versions.ts b/code/lib/core-common/src/versions.ts index 9dc1fd0230e0..e1111f200be6 100644 --- a/code/lib/core-common/src/versions.ts +++ b/code/lib/core-common/src/versions.ts @@ -1,82 +1,82 @@ // auto generated file, do not edit export default { - '@storybook/addon-a11y': '8.0.0-alpha.16', - '@storybook/addon-actions': '8.0.0-alpha.16', - '@storybook/addon-backgrounds': '8.0.0-alpha.16', - '@storybook/addon-controls': '8.0.0-alpha.16', - '@storybook/addon-docs': '8.0.0-alpha.16', - '@storybook/addon-essentials': '8.0.0-alpha.16', - '@storybook/addon-highlight': '8.0.0-alpha.16', - '@storybook/addon-interactions': '8.0.0-alpha.16', - '@storybook/addon-jest': '8.0.0-alpha.16', - '@storybook/addon-links': '8.0.0-alpha.16', - '@storybook/addon-mdx-gfm': '8.0.0-alpha.16', - '@storybook/addon-measure': '8.0.0-alpha.16', - '@storybook/addon-outline': '8.0.0-alpha.16', - '@storybook/addon-storysource': '8.0.0-alpha.16', - '@storybook/addon-themes': '8.0.0-alpha.16', - '@storybook/addon-toolbars': '8.0.0-alpha.16', - '@storybook/addon-viewport': '8.0.0-alpha.16', - '@storybook/angular': '8.0.0-alpha.16', - '@storybook/blocks': '8.0.0-alpha.16', - '@storybook/builder-manager': '8.0.0-alpha.16', - '@storybook/builder-vite': '8.0.0-alpha.16', - '@storybook/builder-webpack5': '8.0.0-alpha.16', - '@storybook/channels': '8.0.0-alpha.16', - '@storybook/cli': '8.0.0-alpha.16', - '@storybook/client-logger': '8.0.0-alpha.16', - '@storybook/codemod': '8.0.0-alpha.16', - '@storybook/components': '8.0.0-alpha.16', - '@storybook/core-common': '8.0.0-alpha.16', - '@storybook/core-events': '8.0.0-alpha.16', - '@storybook/core-server': '8.0.0-alpha.16', - '@storybook/core-webpack': '8.0.0-alpha.16', - '@storybook/csf-plugin': '8.0.0-alpha.16', - '@storybook/csf-tools': '8.0.0-alpha.16', - '@storybook/docs-tools': '8.0.0-alpha.16', - '@storybook/ember': '8.0.0-alpha.16', - '@storybook/html': '8.0.0-alpha.16', - '@storybook/html-vite': '8.0.0-alpha.16', - '@storybook/html-webpack5': '8.0.0-alpha.16', - '@storybook/instrumenter': '8.0.0-alpha.16', - '@storybook/manager': '8.0.0-alpha.16', - '@storybook/manager-api': '8.0.0-alpha.16', - '@storybook/nextjs': '8.0.0-alpha.16', - '@storybook/node-logger': '8.0.0-alpha.16', - '@storybook/preact': '8.0.0-alpha.16', - '@storybook/preact-vite': '8.0.0-alpha.16', - '@storybook/preact-webpack5': '8.0.0-alpha.16', - '@storybook/preset-create-react-app': '8.0.0-alpha.16', - '@storybook/preset-html-webpack': '8.0.0-alpha.16', - '@storybook/preset-preact-webpack': '8.0.0-alpha.16', - '@storybook/preset-react-webpack': '8.0.0-alpha.16', - '@storybook/preset-server-webpack': '8.0.0-alpha.16', - '@storybook/preset-svelte-webpack': '8.0.0-alpha.16', - '@storybook/preset-vue3-webpack': '8.0.0-alpha.16', - '@storybook/preview': '8.0.0-alpha.16', - '@storybook/preview-api': '8.0.0-alpha.16', - '@storybook/react': '8.0.0-alpha.16', - '@storybook/react-dom-shim': '8.0.0-alpha.16', - '@storybook/react-vite': '8.0.0-alpha.16', - '@storybook/react-webpack5': '8.0.0-alpha.16', - '@storybook/router': '8.0.0-alpha.16', - '@storybook/server': '8.0.0-alpha.16', - '@storybook/server-webpack5': '8.0.0-alpha.16', - '@storybook/source-loader': '8.0.0-alpha.16', - '@storybook/svelte': '8.0.0-alpha.16', - '@storybook/svelte-vite': '8.0.0-alpha.16', - '@storybook/svelte-webpack5': '8.0.0-alpha.16', - '@storybook/sveltekit': '8.0.0-alpha.16', - '@storybook/telemetry': '8.0.0-alpha.16', - '@storybook/test': '8.0.0-alpha.16', - '@storybook/theming': '8.0.0-alpha.16', - '@storybook/types': '8.0.0-alpha.16', - '@storybook/vue3': '8.0.0-alpha.16', - '@storybook/vue3-vite': '8.0.0-alpha.16', - '@storybook/vue3-webpack5': '8.0.0-alpha.16', - '@storybook/web-components': '8.0.0-alpha.16', - '@storybook/web-components-vite': '8.0.0-alpha.16', - '@storybook/web-components-webpack5': '8.0.0-alpha.16', - sb: '8.0.0-alpha.16', - storybook: '8.0.0-alpha.16', + '@storybook/addon-a11y': '8.0.0-alpha.17', + '@storybook/addon-actions': '8.0.0-alpha.17', + '@storybook/addon-backgrounds': '8.0.0-alpha.17', + '@storybook/addon-controls': '8.0.0-alpha.17', + '@storybook/addon-docs': '8.0.0-alpha.17', + '@storybook/addon-essentials': '8.0.0-alpha.17', + '@storybook/addon-highlight': '8.0.0-alpha.17', + '@storybook/addon-interactions': '8.0.0-alpha.17', + '@storybook/addon-jest': '8.0.0-alpha.17', + '@storybook/addon-links': '8.0.0-alpha.17', + '@storybook/addon-mdx-gfm': '8.0.0-alpha.17', + '@storybook/addon-measure': '8.0.0-alpha.17', + '@storybook/addon-outline': '8.0.0-alpha.17', + '@storybook/addon-storysource': '8.0.0-alpha.17', + '@storybook/addon-themes': '8.0.0-alpha.17', + '@storybook/addon-toolbars': '8.0.0-alpha.17', + '@storybook/addon-viewport': '8.0.0-alpha.17', + '@storybook/angular': '8.0.0-alpha.17', + '@storybook/blocks': '8.0.0-alpha.17', + '@storybook/builder-manager': '8.0.0-alpha.17', + '@storybook/builder-vite': '8.0.0-alpha.17', + '@storybook/builder-webpack5': '8.0.0-alpha.17', + '@storybook/channels': '8.0.0-alpha.17', + '@storybook/cli': '8.0.0-alpha.17', + '@storybook/client-logger': '8.0.0-alpha.17', + '@storybook/codemod': '8.0.0-alpha.17', + '@storybook/components': '8.0.0-alpha.17', + '@storybook/core-common': '8.0.0-alpha.17', + '@storybook/core-events': '8.0.0-alpha.17', + '@storybook/core-server': '8.0.0-alpha.17', + '@storybook/core-webpack': '8.0.0-alpha.17', + '@storybook/csf-plugin': '8.0.0-alpha.17', + '@storybook/csf-tools': '8.0.0-alpha.17', + '@storybook/docs-tools': '8.0.0-alpha.17', + '@storybook/ember': '8.0.0-alpha.17', + '@storybook/html': '8.0.0-alpha.17', + '@storybook/html-vite': '8.0.0-alpha.17', + '@storybook/html-webpack5': '8.0.0-alpha.17', + '@storybook/instrumenter': '8.0.0-alpha.17', + '@storybook/manager': '8.0.0-alpha.17', + '@storybook/manager-api': '8.0.0-alpha.17', + '@storybook/nextjs': '8.0.0-alpha.17', + '@storybook/node-logger': '8.0.0-alpha.17', + '@storybook/preact': '8.0.0-alpha.17', + '@storybook/preact-vite': '8.0.0-alpha.17', + '@storybook/preact-webpack5': '8.0.0-alpha.17', + '@storybook/preset-create-react-app': '8.0.0-alpha.17', + '@storybook/preset-html-webpack': '8.0.0-alpha.17', + '@storybook/preset-preact-webpack': '8.0.0-alpha.17', + '@storybook/preset-react-webpack': '8.0.0-alpha.17', + '@storybook/preset-server-webpack': '8.0.0-alpha.17', + '@storybook/preset-svelte-webpack': '8.0.0-alpha.17', + '@storybook/preset-vue3-webpack': '8.0.0-alpha.17', + '@storybook/preview': '8.0.0-alpha.17', + '@storybook/preview-api': '8.0.0-alpha.17', + '@storybook/react': '8.0.0-alpha.17', + '@storybook/react-dom-shim': '8.0.0-alpha.17', + '@storybook/react-vite': '8.0.0-alpha.17', + '@storybook/react-webpack5': '8.0.0-alpha.17', + '@storybook/router': '8.0.0-alpha.17', + '@storybook/server': '8.0.0-alpha.17', + '@storybook/server-webpack5': '8.0.0-alpha.17', + '@storybook/source-loader': '8.0.0-alpha.17', + '@storybook/svelte': '8.0.0-alpha.17', + '@storybook/svelte-vite': '8.0.0-alpha.17', + '@storybook/svelte-webpack5': '8.0.0-alpha.17', + '@storybook/sveltekit': '8.0.0-alpha.17', + '@storybook/telemetry': '8.0.0-alpha.17', + '@storybook/test': '8.0.0-alpha.17', + '@storybook/theming': '8.0.0-alpha.17', + '@storybook/types': '8.0.0-alpha.17', + '@storybook/vue3': '8.0.0-alpha.17', + '@storybook/vue3-vite': '8.0.0-alpha.17', + '@storybook/vue3-webpack5': '8.0.0-alpha.17', + '@storybook/web-components': '8.0.0-alpha.17', + '@storybook/web-components-vite': '8.0.0-alpha.17', + '@storybook/web-components-webpack5': '8.0.0-alpha.17', + sb: '8.0.0-alpha.17', + storybook: '8.0.0-alpha.17', }; diff --git a/code/lib/core-events/package.json b/code/lib/core-events/package.json index a951c6dc0d50..0eefe17f46aa 100644 --- a/code/lib/core-events/package.json +++ b/code/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/code/lib/core-server/package.json b/code/lib/core-server/package.json index 24f88c4bb735..9cff0af2a96f 100644 --- a/code/lib/core-server/package.json +++ b/code/lib/core-server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-server", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" diff --git a/code/lib/core-webpack/package.json b/code/lib/core-webpack/package.json index 19c75efee828..9eb872991fce 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" diff --git a/code/lib/csf-plugin/package.json b/code/lib/csf-plugin/package.json index bf7aa1a53167..4ce9605ac273 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Enrich CSF files via static analysis", "keywords": [ "storybook" diff --git a/code/lib/csf-tools/package.json b/code/lib/csf-tools/package.json index 7d3d8dcfe135..ac056fd90c57 100644 --- a/code/lib/csf-tools/package.json +++ b/code/lib/csf-tools/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/csf-tools", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Parse and manipulate CSF and Storybook config files", "keywords": [ "storybook" diff --git a/code/lib/docs-tools/package.json b/code/lib/docs-tools/package.json index 259ba0d3c20f..f016071dd0e1 100644 --- a/code/lib/docs-tools/package.json +++ b/code/lib/docs-tools/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/docs-tools", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Shared utility functions for frameworks to implement docs", "keywords": [ "storybook" diff --git a/code/lib/instrumenter/package.json b/code/lib/instrumenter/package.json index c2f1085d8e02..b838b5154515 100644 --- a/code/lib/instrumenter/package.json +++ b/code/lib/instrumenter/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/instrumenter", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "", "keywords": [ "storybook" diff --git a/code/lib/manager-api/package.json b/code/lib/manager-api/package.json index 1c342f712a77..a81d419741a6 100644 --- a/code/lib/manager-api/package.json +++ b/code/lib/manager-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/manager-api", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Core Storybook Manager API & Context", "keywords": [ "storybook" diff --git a/code/lib/manager-api/src/version.ts b/code/lib/manager-api/src/version.ts index fdcb66306d83..47c80ae4d286 100644 --- a/code/lib/manager-api/src/version.ts +++ b/code/lib/manager-api/src/version.ts @@ -1 +1 @@ -export const version = '8.0.0-alpha.16'; +export const version = '8.0.0-alpha.17'; diff --git a/code/lib/node-logger/package.json b/code/lib/node-logger/package.json index 0817f0b09f3e..ece616f1a8ef 100644 --- a/code/lib/node-logger/package.json +++ b/code/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "", "keywords": [ "storybook" diff --git a/code/lib/preview-api/package.json b/code/lib/preview-api/package.json index e04cf95d1120..529a0c6742c3 100644 --- a/code/lib/preview-api/package.json +++ b/code/lib/preview-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preview-api", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "", "keywords": [ "storybook" diff --git a/code/lib/preview/package.json b/code/lib/preview/package.json index dc2fee954c5c..f2bc5fb44111 100644 --- a/code/lib/preview/package.json +++ b/code/lib/preview/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preview", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "", "keywords": [ "storybook" diff --git a/code/lib/react-dom-shim/package.json b/code/lib/react-dom-shim/package.json index 03864dc865e5..2ef7c9690da6 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "", "keywords": [ "storybook" diff --git a/code/lib/router/package.json b/code/lib/router/package.json index a2e1d29dfac9..7b09f8c119b6 100644 --- a/code/lib/router/package.json +++ b/code/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Core Storybook Router", "keywords": [ "storybook" diff --git a/code/lib/source-loader/package.json b/code/lib/source-loader/package.json index 5846328c2311..530f6ee8400b 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Source loader", "keywords": [ "lib", diff --git a/code/lib/telemetry/package.json b/code/lib/telemetry/package.json index f08a16f49933..2a664670c9a5 100644 --- a/code/lib/telemetry/package.json +++ b/code/lib/telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/telemetry", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Telemetry logging for crash reports and usage statistics", "keywords": [ "storybook" diff --git a/code/lib/test/package.json b/code/lib/test/package.json index ef71e012cd78..d9bde9ed0ec7 100644 --- a/code/lib/test/package.json +++ b/code/lib/test/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/test", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "", "keywords": [ "storybook" diff --git a/code/lib/theming/package.json b/code/lib/theming/package.json index 2db8901de497..a3e5d1e9e947 100644 --- a/code/lib/theming/package.json +++ b/code/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Core Storybook Components", "keywords": [ "storybook" diff --git a/code/lib/types/package.json b/code/lib/types/package.json index 81450a93fd97..a098c859e24f 100644 --- a/code/lib/types/package.json +++ b/code/lib/types/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/types", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Core Storybook TS Types", "keywords": [ "storybook" diff --git a/code/package.json b/code/package.json index 54724214567a..415410b1cdff 100644 --- a/code/package.json +++ b/code/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/root", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "private": true, "description": "Storybook root", "homepage": "https://storybook.js.org/", @@ -292,6 +292,5 @@ "Dependency Upgrades" ] ] - }, - "deferredNextVersion": "8.0.0-alpha.17" + } } diff --git a/code/presets/create-react-app/package.json b/code/presets/create-react-app/package.json index 9b374ac8a237..42d514786e9a 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 59b1ff8ee632..3cfece140836 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 e096553ffd2e..8c6536a98a27 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 e0c1f31965ad..8606dc343729 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 8ce710a6e84f..b68652c4e502 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 8167e4b24650..e2da349fe795 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 7af09f14a36c..8e9816532e90 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "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 834ad1e3bde5..d7f81ee9af31 100644 --- a/code/renderers/html/package.json +++ b/code/renderers/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook HTML renderer", "keywords": [ "storybook" diff --git a/code/renderers/preact/package.json b/code/renderers/preact/package.json index 04ac8f205f92..b6f6be41ad07 100644 --- a/code/renderers/preact/package.json +++ b/code/renderers/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook Preact renderer", "keywords": [ "storybook" diff --git a/code/renderers/react/package.json b/code/renderers/react/package.json index 9095cb486286..f1459a0a511f 100644 --- a/code/renderers/react/package.json +++ b/code/renderers/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook React renderer", "keywords": [ "storybook" diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index f581a4819e00..66718f159567 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/server", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook Server renderer", "keywords": [ "storybook" diff --git a/code/renderers/svelte/package.json b/code/renderers/svelte/package.json index 09781741ae5e..f39db3aabb48 100644 --- a/code/renderers/svelte/package.json +++ b/code/renderers/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook Svelte renderer", "keywords": [ "storybook" diff --git a/code/renderers/vue3/package.json b/code/renderers/vue3/package.json index 204748b46885..b2f604d491d4 100644 --- a/code/renderers/vue3/package.json +++ b/code/renderers/vue3/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook Vue 3 renderer", "keywords": [ "storybook" diff --git a/code/renderers/web-components/package.json b/code/renderers/web-components/package.json index 986b8a71b7c7..6b3e4df52625 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.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook web-components renderer", "keywords": [ "lit", diff --git a/code/ui/blocks/package.json b/code/ui/blocks/package.json index 300c0914d801..c791b0321446 100644 --- a/code/ui/blocks/package.json +++ b/code/ui/blocks/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/blocks", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Storybook Doc Blocks", "keywords": [ "storybook" diff --git a/code/ui/components/package.json b/code/ui/components/package.json index 7355c184d365..1fee799d9f49 100644 --- a/code/ui/components/package.json +++ b/code/ui/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Core Storybook Components", "keywords": [ "storybook" diff --git a/code/ui/manager/package.json b/code/ui/manager/package.json index 8ebec0e95b0c..4578b6e2d559 100644 --- a/code/ui/manager/package.json +++ b/code/ui/manager/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/manager", - "version": "8.0.0-alpha.16", + "version": "8.0.0-alpha.17", "description": "Core Storybook UI", "keywords": [ "storybook" From 56470f22df4028b9a833c1f3d68b642539f36394 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 1 Feb 2024 09:11:24 +0100 Subject: [PATCH 3/4] move the migration notes --- MIGRATION.md | 84 +++++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 41 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 6cc5bb0377fb..6c4a05c8b8b5 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,7 +1,6 @@

Migration

- [From version 7.x to 8.0.0](#from-version-7x-to-800) - - [Tab addons are now routed to a query parameter](#tab-addons-are-now-routed-to-a-query-parameter) - [Default keyboard shortcuts changed](#default-keyboard-shortcuts-changed) - [Manager addons are now rendered with React 18](#manager-addons-are-now-rendered-with-react-18) - [Removal of `storiesOf`-API](#removal-of-storiesof-api) @@ -71,6 +70,7 @@ - [`createChannel` from `@storybook/postmessage` and `@storybook/channel-websocket`](#createchannel-from-storybookpostmessage-and-storybookchannel-websocket) - [StoryStore and methods deprecated](#storystore-and-methods-deprecated) - [Addon author changes](#addon-author-changes) + - [Tab addons are now routed to a query parameter](#tab-addons-are-now-routed-to-a-query-parameter) - [Removed `config` preset](#removed-config-preset-1) - [From version 7.5.0 to 7.6.0](#from-version-750-to-760) - [CommonJS with Vite is deprecated](#commonjs-with-vite-is-deprecated) @@ -387,46 +387,6 @@ ## From version 7.x to 8.0.0 -### Tab addons are now routed to a query parameter - -The TAB type addons now should no longer specify the `match` or `route` property. - -Instead storybook will automatically show the addon's rendered content when the query parameter `tab` is set to the addon's ID. - -Example: - -```tsx -import { addons, types } from "@storybook/manager-api"; - -addons.register("my-addon", () => { - addons.add("my-addon/panel", { - type: types.TAB, - title: "My Addon", - render: () =>
Hello World
, - }); -}); -``` - -Tool type addon will now receive the `tabId` property passed to their `match` function. -That way they can chose to show/hide their content based on the current tab. - -When the canvas is shown, the `tabId` will be set to `undefined`. - -Example: - -```tsx -import { addons, types } from "@storybook/manager-api"; - -addons.register("my-addon", () => { - addons.add("my-addon/tool", { - type: types.TOOL, - title: "My Addon", - match: ({ tabId }) => tabId === "my-addon/panel", - render: () =>
👀
, - }); -}); -``` - ### Default keyboard shortcuts changed The default keyboard shortcuts have changed to avoid any conflicts with the browser's default shortcuts or when you are directly typing in the Manager. If you want to get the new default shortcuts, you can reset your shortcuts in the keyboard shortcuts panel by pressing the `Restore default` button. @@ -1091,6 +1051,48 @@ Note that both these methods require initialization, so you should await `previe ### Addon author changes +#### Tab addons are now routed to a query parameter + +The TAB type addons now should no longer specify the `match` or `route` property. + +Instead storybook will automatically show the addon's rendered content when the query parameter `tab` is set to the addon's ID. + +Example: + +```tsx +import { addons, types } from "@storybook/manager-api"; + +addons.register("my-addon", () => { + addons.add("my-addon/panel", { + type: types.TAB, + title: "My Addon", + render: () =>
Hello World
, + }); +}); +``` + +Tool type addon will now receive the `tabId` property passed to their `match` function. +That way they can chose to show/hide their content based on the current tab. + +When the canvas is shown, the `tabId` will be set to `undefined`. + +Example: + +```tsx +import { addons, types } from "@storybook/manager-api"; + +addons.register("my-addon", () => { + addons.add("my-addon/tool", { + type: types.TOOL, + title: "My Addon", + match: ({ tabId }) => tabId === "my-addon/panel", + render: () =>
👀
, + }); +}); +``` + +The URL the tab gets rendered on will be `http://localhost:6006/?path=/story/my-story&tab=my-addon/tab`. + #### Removed `config` preset In Storybook 7.0 we have deprecated the preset field `config` and it has been replaced with `previewAnnotations`. The `config` preset is now completely removed in Storybook 8.0. From 5c5febb7a384545155d3849c97c9e8c9a67296d7 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 1 Feb 2024 10:07:56 +0100 Subject: [PATCH 4/4] add migration note for users about tabId --- MIGRATION.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 6c4a05c8b8b5..3e5989bd7e36 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,6 +1,7 @@

Migration

- [From version 7.x to 8.0.0](#from-version-7x-to-800) + - [Tab addons are now routed to a query parameter](#tab-addons-are-now-routed-to-a-query-parameter) - [Default keyboard shortcuts changed](#default-keyboard-shortcuts-changed) - [Manager addons are now rendered with React 18](#manager-addons-are-now-rendered-with-react-18) - [Removal of `storiesOf`-API](#removal-of-storiesof-api) @@ -70,7 +71,7 @@ - [`createChannel` from `@storybook/postmessage` and `@storybook/channel-websocket`](#createchannel-from-storybookpostmessage-and-storybookchannel-websocket) - [StoryStore and methods deprecated](#storystore-and-methods-deprecated) - [Addon author changes](#addon-author-changes) - - [Tab addons are now routed to a query parameter](#tab-addons-are-now-routed-to-a-query-parameter) + - [Tab addons cannot manually route, Tool addons can filter their visibility via tabId](#tab-addons-cannot-manually-route-tool-addons-can-filter-their-visibility-via-tabid) - [Removed `config` preset](#removed-config-preset-1) - [From version 7.5.0 to 7.6.0](#from-version-750-to-760) - [CommonJS with Vite is deprecated](#commonjs-with-vite-is-deprecated) @@ -387,6 +388,12 @@ ## From version 7.x to 8.0.0 +### Tab addons are now routed to a query parameter + +The URL of a tab used to be: `http://localhost:6006/?path=/my-addon-tab/my-story`. + +The new URL of a tab is `http://localhost:6006/?path=/story/my-story&tab=my-addon-tab`. + ### Default keyboard shortcuts changed The default keyboard shortcuts have changed to avoid any conflicts with the browser's default shortcuts or when you are directly typing in the Manager. If you want to get the new default shortcuts, you can reset your shortcuts in the keyboard shortcuts panel by pressing the `Restore default` button. @@ -1051,7 +1058,7 @@ Note that both these methods require initialization, so you should await `previe ### Addon author changes -#### Tab addons are now routed to a query parameter +#### Tab addons cannot manually route, Tool addons can filter their visibility via tabId The TAB type addons now should no longer specify the `match` or `route` property. @@ -1091,8 +1098,6 @@ addons.register("my-addon", () => { }); ``` -The URL the tab gets rendered on will be `http://localhost:6006/?path=/story/my-story&tab=my-addon/tab`. - #### Removed `config` preset In Storybook 7.0 we have deprecated the preset field `config` and it has been replaced with `previewAnnotations`. The `config` preset is now completely removed in Storybook 8.0.