From 46e702dc620f7ea5f577f2170ccc111117b5d471 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Thu, 1 Dec 2022 16:36:25 +0100 Subject: [PATCH 01/37] Document next/link component and create stories --- code/frameworks/nextjs/src/config/webpack.ts | 3 + .../Link.stories.jsx | 0 .../stories_default-js/Link.stories.jsx | 74 ++++++++++++++++++ .../Link.stories.module.css | 3 + .../Link.stories.module.css | 3 + .../stories_default-ts/Link.stories.tsx | 77 +++++++++++++++++++ 6 files changed, 160 insertions(+) rename code/frameworks/nextjs/template/{stories => stories_12-js}/Link.stories.jsx (100%) create mode 100644 code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx create mode 100644 code/frameworks/nextjs/template/stories_default-js/Link.stories.module.css create mode 100644 code/frameworks/nextjs/template/stories_default-ts/Link.stories.module.css create mode 100644 code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx diff --git a/code/frameworks/nextjs/src/config/webpack.ts b/code/frameworks/nextjs/src/config/webpack.ts index 799f95a73df0..c96685703a39 100644 --- a/code/frameworks/nextjs/src/config/webpack.ts +++ b/code/frameworks/nextjs/src/config/webpack.ts @@ -42,6 +42,9 @@ const setupRuntimeConfig = (baseConfig: WebpackConfig, nextConfig: NextConfig): * In Next13, the `newNextLinkBehavior` option now defaults to truthy (still * `undefined` in the config), and `next/link` was engineered to opt *out* * of it + * + * TODO: Revisit logic as soon as the changes in https://github.com/vercel/next.js/pull/42623 + * were released in the next version of Next.js */ const newNextLinkBehavior = nextConfig.experimental?.newNextLinkBehavior; if ( diff --git a/code/frameworks/nextjs/template/stories/Link.stories.jsx b/code/frameworks/nextjs/template/stories_12-js/Link.stories.jsx similarity index 100% rename from code/frameworks/nextjs/template/stories/Link.stories.jsx rename to code/frameworks/nextjs/template/stories_12-js/Link.stories.jsx diff --git a/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx b/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx new file mode 100644 index 000000000000..44d8fa69957e --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx @@ -0,0 +1,74 @@ +/* eslint-disable react/prop-types */ +import React from 'react'; +import Link from 'next/link'; + +import style from './Link.stories.module.css'; + +// `onClick`, `href`, and `ref` need to be passed to the DOM element +// for proper handling +const MyButton = React.forwardRef(function Button({ onClick, href, children }, ref) { + return ( + + {children} + + ); +}); + +const Component = () => ( + +); + +export default { + component: Component, +}; + +export const Default = {}; diff --git a/code/frameworks/nextjs/template/stories_default-js/Link.stories.module.css b/code/frameworks/nextjs/template/stories_default-js/Link.stories.module.css new file mode 100644 index 000000000000..9edb616226d0 --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-js/Link.stories.module.css @@ -0,0 +1,3 @@ +.link { + color: green; +} diff --git a/code/frameworks/nextjs/template/stories_default-ts/Link.stories.module.css b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.module.css new file mode 100644 index 000000000000..9edb616226d0 --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.module.css @@ -0,0 +1,3 @@ +.link { + color: green; +} diff --git a/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx new file mode 100644 index 000000000000..651f9fb20211 --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx @@ -0,0 +1,77 @@ +import React from 'react'; +import Link from 'next/link'; +import type { Meta, StoryObj } from '@storybook/react'; + +import style from './Link.stories.module.css'; + +// `onClick`, `href`, and `ref` need to be passed to the DOM element +// for proper handling +const MyButton = React.forwardRef< + HTMLAnchorElement, + React.DetailedHTMLProps, HTMLAnchorElement> +>(function Button({ onClick, href, children }, ref) { + return ( + + {children} + + ); +}); + +const Component = () => ( + +); + +export default { + component: Component, +} as Meta; + +export const Default: StoryObj = {}; From d4d0e81ab154b405a74a677ea84387d1f01401fc Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Thu, 1 Dec 2022 16:36:25 +0100 Subject: [PATCH 02/37] Document next/link component and create stories --- code/frameworks/nextjs/src/config/webpack.ts | 3 + .../Link.stories.jsx | 0 .../stories_default-js/Link.stories.jsx | 74 ++++++++++++++++++ .../Link.stories.module.css | 3 + .../Link.stories.module.css | 3 + .../stories_default-ts/Link.stories.tsx | 77 +++++++++++++++++++ 6 files changed, 160 insertions(+) rename code/frameworks/nextjs/template/{stories => stories_12-js}/Link.stories.jsx (100%) create mode 100644 code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx create mode 100644 code/frameworks/nextjs/template/stories_default-js/Link.stories.module.css create mode 100644 code/frameworks/nextjs/template/stories_default-ts/Link.stories.module.css create mode 100644 code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx diff --git a/code/frameworks/nextjs/src/config/webpack.ts b/code/frameworks/nextjs/src/config/webpack.ts index 799f95a73df0..c96685703a39 100644 --- a/code/frameworks/nextjs/src/config/webpack.ts +++ b/code/frameworks/nextjs/src/config/webpack.ts @@ -42,6 +42,9 @@ const setupRuntimeConfig = (baseConfig: WebpackConfig, nextConfig: NextConfig): * In Next13, the `newNextLinkBehavior` option now defaults to truthy (still * `undefined` in the config), and `next/link` was engineered to opt *out* * of it + * + * TODO: Revisit logic as soon as the changes in https://github.com/vercel/next.js/pull/42623 + * were released in the next version of Next.js */ const newNextLinkBehavior = nextConfig.experimental?.newNextLinkBehavior; if ( diff --git a/code/frameworks/nextjs/template/stories/Link.stories.jsx b/code/frameworks/nextjs/template/stories_12-js/Link.stories.jsx similarity index 100% rename from code/frameworks/nextjs/template/stories/Link.stories.jsx rename to code/frameworks/nextjs/template/stories_12-js/Link.stories.jsx diff --git a/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx b/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx new file mode 100644 index 000000000000..44d8fa69957e --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx @@ -0,0 +1,74 @@ +/* eslint-disable react/prop-types */ +import React from 'react'; +import Link from 'next/link'; + +import style from './Link.stories.module.css'; + +// `onClick`, `href`, and `ref` need to be passed to the DOM element +// for proper handling +const MyButton = React.forwardRef(function Button({ onClick, href, children }, ref) { + return ( + + {children} + + ); +}); + +const Component = () => ( +
    +
  • + Normal Link +
  • +
  • + + With URL Object + +
  • +
  • + + Replace the URL instead of push + +
  • +
  • + + Legacy behavior + +
  • +
  • + + child is a functional component + +
  • +
  • + + Disables scrolling to the top + +
  • +
  • + + No Prefetching + +
  • +
  • + + With style + +
  • +
  • + + With className + +
  • +
+); + +export default { + component: Component, +}; + +export const Default = {}; diff --git a/code/frameworks/nextjs/template/stories_default-js/Link.stories.module.css b/code/frameworks/nextjs/template/stories_default-js/Link.stories.module.css new file mode 100644 index 000000000000..9edb616226d0 --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-js/Link.stories.module.css @@ -0,0 +1,3 @@ +.link { + color: green; +} diff --git a/code/frameworks/nextjs/template/stories_default-ts/Link.stories.module.css b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.module.css new file mode 100644 index 000000000000..9edb616226d0 --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.module.css @@ -0,0 +1,3 @@ +.link { + color: green; +} diff --git a/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx new file mode 100644 index 000000000000..651f9fb20211 --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx @@ -0,0 +1,77 @@ +import React from 'react'; +import Link from 'next/link'; +import type { Meta, StoryObj } from '@storybook/react'; + +import style from './Link.stories.module.css'; + +// `onClick`, `href`, and `ref` need to be passed to the DOM element +// for proper handling +const MyButton = React.forwardRef< + HTMLAnchorElement, + React.DetailedHTMLProps, HTMLAnchorElement> +>(function Button({ onClick, href, children }, ref) { + return ( + + {children} + + ); +}); + +const Component = () => ( +
    +
  • + Normal Link +
  • +
  • + + With URL Object + +
  • +
  • + + Replace the URL instead of push + +
  • +
  • + + Legacy behavior + +
  • +
  • + + child is a functional component + +
  • +
  • + + Disables scrolling to the top + +
  • +
  • + + No Prefetching + +
  • +
  • + + With style + +
  • +
  • + + With className + +
  • +
+); + +export default { + component: Component, +} as Meta; + +export const Default: StoryObj = {}; From 240776b7b583d6662d2fd32b786cf7673fcabca4 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Fri, 2 Dec 2022 13:49:06 +0100 Subject: [PATCH 03/37] Support next/navigation in Next.js v13 --- code/frameworks/nextjs/README.md | 183 ++++++++++++++---- .../nextjs/src/nextImport/webpack.ts | 18 ++ .../src/routing/app-router-provider.tsx | 44 +++++ .../nextjs/src/routing/decorator.tsx | 81 ++++---- .../src/routing/page-router-provider.tsx | 70 +++++++ code/frameworks/nextjs/src/routing/types.tsx | 7 + .../stories_default-js/Link.stories.jsx | 6 + .../stories_default-js/Navigation.stories.jsx | 75 +++++++ .../stories_default-js/Router.stories.jsx | 67 +++++++ .../stories_default-ts/Link.stories.tsx | 6 + .../stories_default-ts/Navigation.stories.tsx | 76 ++++++++ 11 files changed, 554 insertions(+), 79 deletions(-) create mode 100644 code/frameworks/nextjs/src/routing/app-router-provider.tsx create mode 100644 code/frameworks/nextjs/src/routing/page-router-provider.tsx create mode 100644 code/frameworks/nextjs/src/routing/types.tsx create mode 100644 code/frameworks/nextjs/template/stories_default-js/Navigation.stories.jsx create mode 100644 code/frameworks/nextjs/template/stories_default-js/Router.stories.jsx create mode 100644 code/frameworks/nextjs/template/stories_default-ts/Navigation.stories.tsx diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index b6b8ea00c0aa..196d9f2d3e4f 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -14,6 +14,7 @@ - [Remote Images](#remote-images) - [Optimization](#optimization) - [AVIF](#avif) + - [Next.js Navigation](#nextjs-navigation) - [Next.js Routing](#nextjs-routing) - [Overriding defaults](#overriding-defaults) - [Global Defaults](#global-defaults) @@ -38,7 +39,9 @@ 👉 [Next.js's Image Component](#nextjss-image-component) -👉 [Next.js Routing](#nextjs-routing) +👉 [Next.js Routing (next/router)](#nextjs-routing) + +👉 [Next.js Navigation (next/navigation)](#nextjs-navigation) 👉 [Sass/Scss](#sassscss) @@ -58,7 +61,7 @@ ## Requirements -- [Next.js](https://nextjs.org/) >= 9.x +- [Next.js](https://nextjs.org/) >= 12.x - [Storybook](https://storybook.js.org/) >= 7.x ## Getting Started @@ -167,22 +170,137 @@ export default function Home() { } ``` -#### Optimization +#### AVIF -All Next.js `Image`s are automatically [unoptimized](https://nextjs.org/docs/api-reference/next/image#unoptimized) for you. +This format is not supported by this framework yet. Feel free to [open up an issue](https://github.com/storybookjs/storybook/issues) if this is something you want to see. -If [placeholder="blur"](https://nextjs.org/docs/api-reference/next/image#placeholder) is used, the [blurDataURL](https://nextjs.org/docs/api-reference/next/image#blurdataurl) used is the [src](https://nextjs.org/docs/api-reference/next/image#src) of the image (thus effectively disabling the placeholder). +### Next.js Navigation -See [this issue](https://github.com/vercel/next.js/issues/18393) for more discussion on how Next.js `Image`s are handled for Storybook. +Please consider, that [next/navigation](https://beta.nextjs.org/docs/upgrade-guide#step-5-migrating-routing-hooks) can only be used in components/pages of the `app` directory of Next.js v13 or higher. -#### AVIF +#### Set `nextAppDirectory` to `app` -This format is not supported by this framework yet. Feel free to [open up an issue](https://github.com/storybookjs/storybook/issues) if this is something you want to see. +If your story imports components, which uses `next/navigation`, you need to set the parameter `nextAppDirectory` to `app` in your Story: + +```js +// SomeComponentThatUsesTheRouter.stories.js +import SomeComponentThatUsesTheNavigation from './SomeComponentThatUsesTheNavigation'; + +export default { + component: SomeComponentThatUsesTheNavigation, +}; + +// if you have the actions addon +// you can click the links and see the route change events there +export const Example = { + parameters: { + nextAppDirectory: true, + }, +}, +``` + +If your Next.js project doesn't have a `pages` directory, you can set the parameter `nextAppDirectory` to `true` in the [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) file. Then the parameter is not needed in the stories. + +```js +// .storybook/preview.js + +export const parameters = { + nextAppDirectory: true, +}; +``` + +The parameter `nextAppDirectory` defaults to `false` if not set. + +#### Default Navigation Context + +The default values on the stubbed navigation context are as follows (see [globals](https://storybook.js.org/docs/react/essentials/toolbars-and-globals#globals) for more details on how globals work) + +```ts +const defaultNavigationContext = { + push(...args) { + action('nextRouter.push')(...args); + }, + replace(...args) { + action('nextRouter.replace')(...args); + }, + forward(...args) { + action('nextRouter.forward')(...args); + }, + back(...args) { + action('nextRouter.back')(...args); + }, + prefetch(...args) { + action('nextRouter.prefetch')(...args); + }, + refresh: () => { + action('nextRouter.refresh')(); + }, + pathname: '/', + query: {}, +}; +``` + +#### Global Defaults + +Global defaults can be set in [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) and will be shallowly merged with the default router. + +```js +// .storybook/preview.js + +export const parameters = { + nextAppDirectory: true, + nextNavigation: { + pathname: '/some-default-path', + query: { + foo: 'bar', + }, + }, +}; +``` + +#### Actions Integration Caveats + +If you override a function, you lose the automatic action tab integration and have to build it out yourself. + +```js +// .storybook/preview.js + +export const parameters = { + nextAppDirectory: true, + nextNavigation: { + push() { + // The default implementation that logs the action into the action tab is lost + }, + }, +}; +``` + +Doing this yourself looks something like this (make sure you install the `@storybook/addon-actions` package): + +```js +// .storybook/preview.js +import { action } from '@storybook/addon-actions'; + +export const parameters = { + nextAppDirectory: true, + nextNavigation: { + push(...args) { + // custom logic can go here + // this logs to the actions tab + action('nextRouter.push')(...args); + // return whatever you want here + return Promise.resolve(true); + }, + }, +}; +``` ### Next.js Routing [Next.js's router](https://nextjs.org/docs/routing/introduction) is automatically stubbed for you so that when the router is interacted with, all of its interactions are automatically logged to the [Storybook actions tab](https://storybook.js.org/docs/react/essentials/actions) if you have the actions addon. +You should only use `next/router` in the `pages` directory of Next.js v13 or higher. In the `app` directory it is necessary to use `next/navigation`. + #### Overriding defaults Per-story overrides can be done by adding a `nextRouter` property onto the story [parameters](https://storybook.js.org/docs/react/writing-stories/parameters). The framework will shallowly merge whatever you put here into the router. @@ -215,7 +333,7 @@ export const Example = { Global defaults can be set in [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) and will be shallowly merged with the default router. ```js -// .storybook/main.js +// .storybook/preview.js export const parameters = { nextRouter: { @@ -232,44 +350,51 @@ The default values on the stubbed router are as follows (see [globals](https://s ```ts const defaultRouter = { - locale: context?.globals?.locale, - route: '/', - pathname: '/', - query: {}, - asPath: '/', - push(...args: unknown[]) { + push(...args) { action('nextRouter.push')(...args); return Promise.resolve(true); }, - replace(...args: unknown[]) { + replace(...args) { action('nextRouter.replace')(...args); return Promise.resolve(true); }, - reload(...args: unknown[]) { + reload(...args) { action('nextRouter.reload')(...args); }, - back(...args: unknown[]) { + back(...args) { action('nextRouter.back')(...args); }, - prefetch(...args: unknown[]) { + forward() { + action('nextRouter.forward')(); + }, + prefetch(...args) { action('nextRouter.prefetch')(...args); return Promise.resolve(); }, - beforePopState(...args: unknown[]) { + beforePopState(...args) { action('nextRouter.beforePopState')(...args); }, events: { - on(...args: unknown[]) { + on(...args) { action('nextRouter.events.on')(...args); }, - off(...args: unknown[]) { + off(...args) { action('nextRouter.events.off')(...args); }, - emit(...args: unknown[]) { + emit(...args) { action('nextRouter.events.emit')(...args); }, }, + locale: globals?.locale, + asPath: '/', + basePath: '/', isFallback: false, + isLocaleDomain: false, + isReady: true, + isPreview: false, + route: '/', + pathname: '/', + query: {}, }; ``` @@ -278,7 +403,7 @@ const defaultRouter = { If you override a function, you lose the automatic action tab integration and have to build it out yourself. ```js -// .storybook/main.js +// .storybook/preview.js export const parameters = { nextRouter: { @@ -292,7 +417,7 @@ export const parameters = { Doing this yourself looks something like this (make sure you install the `@storybook/addon-actions` package): ```js -// .storybook/main.js +// .storybook/preview.js import { action } from '@storybook/addon-actions'; export const parameters = { @@ -404,14 +529,6 @@ You can use your own babel config too. This is an example of how you can customi } ``` -If you use a monorepo, you may need to add the babel config yourself to your storybook project. Just add a babel config to your storybook project with the following contents to get started. - -```json -{ - "presets": ["next/babel"] -} -``` - ### Postcss Next.js lets you [customize postcss config](https://nextjs.org/docs/advanced-features/customizing-postcss-config#default-behavior). Thus this framework will automatically handle your postcss config for you. diff --git a/code/frameworks/nextjs/src/nextImport/webpack.ts b/code/frameworks/nextjs/src/nextImport/webpack.ts index b0ff1c5175cd..848904c900af 100644 --- a/code/frameworks/nextjs/src/nextImport/webpack.ts +++ b/code/frameworks/nextjs/src/nextImport/webpack.ts @@ -8,6 +8,8 @@ export function configureNextImport(baseConfig: WebpackConfig) { const isNext12 = semver.satisfies(nextJSVersion, '~12'); const isNext13 = semver.satisfies(nextJSVersion, '~13'); + const isNextVersionSmallerThan13 = semver.lt(nextJSVersion, '13.0.0'); + const isNextVersionSmallerThan12 = semver.lt(nextJSVersion, '12.0.0'); baseConfig.plugins = baseConfig.plugins ?? []; @@ -26,4 +28,20 @@ export function configureNextImport(baseConfig: WebpackConfig) { }) ); } + + if (isNextVersionSmallerThan13) { + baseConfig.plugins.push( + new IgnorePlugin({ + resourceRegExp: /next\/dist\/shared\/lib\/hooks-client-context$/, + }) + ); + } + + if (isNextVersionSmallerThan12) { + baseConfig.plugins.push( + new IgnorePlugin({ + resourceRegExp: /next\/dist\/shared\/lib\/app-router-context$/, + }) + ); + } } diff --git a/code/frameworks/nextjs/src/routing/app-router-provider.tsx b/code/frameworks/nextjs/src/routing/app-router-provider.tsx new file mode 100644 index 000000000000..8a17f6a888f6 --- /dev/null +++ b/code/frameworks/nextjs/src/routing/app-router-provider.tsx @@ -0,0 +1,44 @@ +import React from 'react'; +import { AppRouterContext } from 'next/dist/shared/lib/app-router-context'; +import { PathnameContext, SearchParamsContext } from 'next/dist/shared/lib/hooks-client-context'; +import type { RouteParams } from './types'; + +type AppRouterProviderProps = { + action: (name: string) => (...args: any[]) => void; + routeParams: RouteParams; +}; + +const AppRouterProvider: React.FC = ({ children, action, routeParams }) => { + const { pathname, query, ...restRouteParams } = routeParams; + return ( + { + action('nextRouter.refresh')(); + }, + ...restRouteParams, + }} + > + + {children} + + + ); +}; + +export default AppRouterProvider; diff --git a/code/frameworks/nextjs/src/routing/decorator.tsx b/code/frameworks/nextjs/src/routing/decorator.tsx index a9701894cf91..25e675647442 100644 --- a/code/frameworks/nextjs/src/routing/decorator.tsx +++ b/code/frameworks/nextjs/src/routing/decorator.tsx @@ -2,8 +2,17 @@ import * as React from 'react'; // this will be aliased by webpack at runtime (this is just for typing) import type { action as originalAction } from '@storybook/addon-actions'; import type { Addon_StoryContext } from '@storybook/types'; -import { RouterContext } from 'next/dist/shared/lib/router-context'; -import Router from 'next/router'; + +import PageRouterProvider from './page-router-provider'; +import type { RouteParams, NextAppDirectory } from './types'; + +/** + * Dynamic import necessary because otherwise + * older versions of Next.js will throw an error + * because some imports in './app-router-provider' only exists + * in Next.js > v13 + */ +const AppRouterProvider = React.lazy(() => import('./app-router-provider')); let action: typeof originalAction; @@ -13,61 +22,41 @@ try { action = () => () => {}; } -const defaultRouter = { - route: '/', +const defaultRouterParams: RouteParams = { pathname: '/', query: {}, - asPath: '/', - push(...args: unknown[]): Promise { - action('nextRouter.push')(...args); - return Promise.resolve(true); - }, - replace(...args: unknown[]): Promise { - action('nextRouter.replace')(...args); - return Promise.resolve(true); - }, - reload(...args: unknown[]): void { - action('nextRouter.reload')(...args); - }, - back(...args: unknown[]): void { - action('nextRouter.back')(...args); - }, - prefetch(...args: unknown[]): Promise { - action('nextRouter.prefetch')(...args); - return Promise.resolve(); - }, - beforePopState(...args: unknown[]): void { - action('nextRouter.beforePopState')(...args); - }, - events: { - on(...args: unknown[]): void { - action('nextRouter.events.on')(...args); - }, - off(...args: unknown[]): void { - action('nextRouter.events.off')(...args); - }, - emit(...args: unknown[]): void { - action('nextRouter.events.emit')(...args); - }, - }, - isFallback: false, }; export const RouterDecorator = ( Story: React.FC, { globals, parameters }: Addon_StoryContext ): React.ReactNode => { - const nextRouterParams = parameters.nextRouter ?? {}; + const nextAppDirectory = (parameters.nextAppDirectory as NextAppDirectory | undefined) ?? false; - Router.router = { - ...defaultRouter, - locale: globals?.locale, - ...nextRouterParams, - } as NonNullable; + if (nextAppDirectory) { + return ( + + + + ); + } return ( - + - + ); }; diff --git a/code/frameworks/nextjs/src/routing/page-router-provider.tsx b/code/frameworks/nextjs/src/routing/page-router-provider.tsx new file mode 100644 index 000000000000..c882e3bee5b3 --- /dev/null +++ b/code/frameworks/nextjs/src/routing/page-router-provider.tsx @@ -0,0 +1,70 @@ +import type { Globals } from '@storybook/csf'; +import { RouterContext } from 'next/dist/shared/lib/router-context'; +import React from 'react'; +import type { RouteParams } from './types'; + +type PageRouterProviderProps = { + action: (name: string) => (...args: any[]) => void; + routeParams: RouteParams; + globals: Globals; +}; + +const PageRouterProvider: React.FC = ({ + children, + action, + routeParams, + globals, +}) => ( + + {children} + +); + +export default PageRouterProvider; diff --git a/code/frameworks/nextjs/src/routing/types.tsx b/code/frameworks/nextjs/src/routing/types.tsx new file mode 100644 index 000000000000..e80b0413260f --- /dev/null +++ b/code/frameworks/nextjs/src/routing/types.tsx @@ -0,0 +1,7 @@ +export type RouteParams = { + pathname: string; + query: Record; + [key: string]: any; +}; + +export type NextAppDirectory = boolean; diff --git a/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx b/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx index 44d8fa69957e..37a6d3949c65 100644 --- a/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx +++ b/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx @@ -72,3 +72,9 @@ export default { }; export const Default = {}; + +export const InAppDir = { + parameters: { + nextAppDirectory: true, + }, +}; diff --git a/code/frameworks/nextjs/template/stories_default-js/Navigation.stories.jsx b/code/frameworks/nextjs/template/stories_default-js/Navigation.stories.jsx new file mode 100644 index 000000000000..0fa1f53b99d2 --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-js/Navigation.stories.jsx @@ -0,0 +1,75 @@ +import { useRouter, usePathname, useSearchParams } from 'next/navigation'; +import React from 'react'; + +function Component() { + const router = useRouter(); + const pathname = usePathname(); + const searchParams = useSearchParams(); + + const searchParamsList = Array.from(searchParams.entries()); + + const routerActions = [ + { + cb: () => router.back(), + name: 'Go back', + }, + { + cb: () => router.forward(), + name: 'Go forward', + }, + { + cb: () => router.prefetch('/prefetched-html'), + name: 'Prefetch', + }, + { + cb: () => router.push('/push-html', { forceOptimisticNavigation: true }), + name: 'Push HTML', + }, + { + cb: () => router.refresh(), + name: 'Refresh', + }, + { + cb: () => router.replace('/replaced-html', { forceOptimisticNavigation: true }), + name: 'Replace', + }, + ]; + + return ( +
+
pathname: {pathname}
+
+ searchparams:{' '} +
    + {searchParamsList.map(([key, value]) => ( +
  • + {key}: {value} +
  • + ))} +
+
+ {routerActions.map(({ cb, name }) => ( +
+ +
+ ))} +
+ ); +} + +export default { + component: Component, + parameters: { + nextAppDirectory: true, + nextNavigation: { + pathname: '/hello', + query: { + foo: 'bar', + }, + }, + }, +}; + +export const Default = {}; diff --git a/code/frameworks/nextjs/template/stories_default-js/Router.stories.jsx b/code/frameworks/nextjs/template/stories_default-js/Router.stories.jsx new file mode 100644 index 000000000000..c0733e21e584 --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-js/Router.stories.jsx @@ -0,0 +1,67 @@ +import { useRouter } from 'next/router'; +import React from 'react'; + +function Component() { + const router = useRouter(); + const searchParams = router.query; + + const routerActions = [ + { + cb: () => router.back(), + name: 'Go back', + }, + { + cb: () => router.forward(), + name: 'Go forward', + }, + { + cb: () => router.prefetch('/prefetched-html'), + name: 'Prefetch', + }, + { + cb: () => router.push('/push-html', { forceOptimisticNavigation: true }), + name: 'Push HTML', + }, + { + cb: () => router.replace('/replaced-html', { forceOptimisticNavigation: true }), + name: 'Replace', + }, + ]; + + return ( +
+
pathname: {router.pathname}
+
+ searchparams:{' '} +
    + {Object.entries(searchParams).map(([key, value]) => ( +
  • + {key}: {value} +
  • + ))} +
+
+ {routerActions.map(({ cb, name }) => ( +
+ +
+ ))} +
+ ); +} + +export default { + component: Component, + parameters: { + nextRouter: { + pathname: '/hello', + query: { + foo: 'bar', + }, + }, + }, +}; + +export const Default = {}; diff --git a/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx index 651f9fb20211..dad960906778 100644 --- a/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx +++ b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx @@ -75,3 +75,9 @@ export default { } as Meta; export const Default: StoryObj = {}; + +export const InAppDir: StoryObj = { + parameters: { + nextAppDirectory: true, + }, +}; diff --git a/code/frameworks/nextjs/template/stories_default-ts/Navigation.stories.tsx b/code/frameworks/nextjs/template/stories_default-ts/Navigation.stories.tsx new file mode 100644 index 000000000000..6d971e45778e --- /dev/null +++ b/code/frameworks/nextjs/template/stories_default-ts/Navigation.stories.tsx @@ -0,0 +1,76 @@ +import { useRouter, usePathname, useSearchParams } from 'next/navigation'; +import React from 'react'; +import type { Meta, StoryObj } from '@storybook/react'; + +function Component() { + const router = useRouter(); + const pathname = usePathname(); + const searchParams = useSearchParams(); + + const searchParamsList = Array.from(searchParams.entries()); + + const routerActions = [ + { + cb: () => router.back(), + name: 'Go back', + }, + { + cb: () => router.forward(), + name: 'Go forward', + }, + { + cb: () => router.prefetch('/prefetched-html'), + name: 'Prefetch', + }, + { + cb: () => router.push('/push-html', { forceOptimisticNavigation: true }), + name: 'Push HTML', + }, + { + cb: () => router.refresh(), + name: 'Refresh', + }, + { + cb: () => router.replace('/replaced-html', { forceOptimisticNavigation: true }), + name: 'Replace', + }, + ]; + + return ( +
+
pathname: {pathname}
+
+ searchparams:{' '} +
    + {searchParamsList.map(([key, value]) => ( +
  • + {key}: {value} +
  • + ))} +
+
+ {routerActions.map(({ cb, name }) => ( +
+ +
+ ))} +
+ ); +} + +export default { + component: Component, + parameters: { + nextAppDirectory: true, + nextNavigation: { + pathname: '/hello', + query: { + foo: 'bar', + }, + }, + }, +} as Meta; + +export const Default: StoryObj = {}; From 417dd1c1df705fd5e7130efe42c1f5dd21f62404 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Fri, 2 Dec 2022 19:09:53 +0100 Subject: [PATCH 04/37] Update code/frameworks/nextjs/README.md Co-authored-by: Kyle Gach --- code/frameworks/nextjs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index 196d9f2d3e4f..4504c28807cf 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -199,7 +199,7 @@ export const Example = { }, ``` -If your Next.js project doesn't have a `pages` directory, you can set the parameter `nextAppDirectory` to `true` in the [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) file. Then the parameter is not needed in the stories. +If your Next.js project uses the `app` directory for every page (in other words, it does not have a `pages` directory), you can set the parameter `nextAppDirectory` to `true` in the [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) file to apply it to all stories. ```js // .storybook/preview.js From 1ed89f7a2e979a20046b317b1a5de3f2c112387d Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Fri, 2 Dec 2022 19:10:00 +0100 Subject: [PATCH 05/37] Update code/frameworks/nextjs/README.md Co-authored-by: Kyle Gach --- code/frameworks/nextjs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index 4504c28807cf..fe5cda56d807 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -180,7 +180,7 @@ Please consider, that [next/navigation](https://beta.nextjs.org/docs/upgrade-gui #### Set `nextAppDirectory` to `app` -If your story imports components, which uses `next/navigation`, you need to set the parameter `nextAppDirectory` to `app` in your Story: +If your story imports components, which uses `next/navigation`, you need to set the parameter `nextAppDirectory` to `true` in your Story: ```js // SomeComponentThatUsesTheRouter.stories.js From 51c4e8312437a829375d3b74f9f928de142457c3 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Fri, 2 Dec 2022 19:10:07 +0100 Subject: [PATCH 06/37] Update code/frameworks/nextjs/README.md Co-authored-by: Kyle Gach --- code/frameworks/nextjs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index fe5cda56d807..6ef511d2ee6d 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -299,7 +299,7 @@ export const parameters = { [Next.js's router](https://nextjs.org/docs/routing/introduction) is automatically stubbed for you so that when the router is interacted with, all of its interactions are automatically logged to the [Storybook actions tab](https://storybook.js.org/docs/react/essentials/actions) if you have the actions addon. -You should only use `next/router` in the `pages` directory of Next.js v13 or higher. In the `app` directory it is necessary to use `next/navigation`. +You should only use `next/router` in the `pages` directory of Next.js v13 or higher. In the `app` directory, it is necessary to use `next/navigation`. #### Overriding defaults From 15bb8f2d8dbed7b160e175c017b7afcb8f6914a3 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Fri, 2 Dec 2022 14:52:31 +0100 Subject: [PATCH 07/37] Document next/dynamic --- .../stories/DynamicImport.stories.jsx | 20 +++++++++++++++++++ .../template/stories/dynamic-component.js | 5 +++++ 2 files changed, 25 insertions(+) create mode 100644 code/frameworks/nextjs/template/stories/DynamicImport.stories.jsx create mode 100644 code/frameworks/nextjs/template/stories/dynamic-component.js diff --git a/code/frameworks/nextjs/template/stories/DynamicImport.stories.jsx b/code/frameworks/nextjs/template/stories/DynamicImport.stories.jsx new file mode 100644 index 000000000000..3c177d670737 --- /dev/null +++ b/code/frameworks/nextjs/template/stories/DynamicImport.stories.jsx @@ -0,0 +1,20 @@ +import dynamic from 'next/dynamic'; +import React, { Suspense } from 'react'; + +const DynamicComponent = dynamic(() => import('./dynamic-component'), { + ssr: false, +}); + +function Component() { + return ( + + + + ); +} + +export default { + component: Component, +}; + +export const Default = {}; diff --git a/code/frameworks/nextjs/template/stories/dynamic-component.js b/code/frameworks/nextjs/template/stories/dynamic-component.js new file mode 100644 index 000000000000..4863633033f3 --- /dev/null +++ b/code/frameworks/nextjs/template/stories/dynamic-component.js @@ -0,0 +1,5 @@ +import React from 'react'; + +export default function DynamicComponent() { + return
I am a dynamically loaded component
; +} From 66f99457b77479d81d56c8f8110ab660a27e32c5 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Sat, 3 Dec 2022 10:03:29 +0100 Subject: [PATCH 08/37] Update code/frameworks/nextjs/README.md Co-authored-by: Michael Shilman --- code/frameworks/nextjs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index 6ef511d2ee6d..d19a240a1393 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -180,7 +180,7 @@ Please consider, that [next/navigation](https://beta.nextjs.org/docs/upgrade-gui #### Set `nextAppDirectory` to `app` -If your story imports components, which uses `next/navigation`, you need to set the parameter `nextAppDirectory` to `true` in your Story: +If your story imports components that use `next/navigation`, you need to set the parameter `nextAppDirectory` to `true` in your Story: ```js // SomeComponentThatUsesTheRouter.stories.js From 79c00afe6a3238a81c52f1b0480b01d8272d8f72 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 6 Dec 2022 09:23:57 +0100 Subject: [PATCH 09/37] Add E2E tests --- code/e2e-tests/framework-nextjs.spec.ts | 90 +++++++++++++++++++ code/frameworks/nextjs/README.md | 14 +-- .../src/routing/app-router-provider.tsx | 12 +-- 3 files changed, 103 insertions(+), 13 deletions(-) create mode 100644 code/e2e-tests/framework-nextjs.spec.ts diff --git a/code/e2e-tests/framework-nextjs.spec.ts b/code/e2e-tests/framework-nextjs.spec.ts new file mode 100644 index 000000000000..5c151df749be --- /dev/null +++ b/code/e2e-tests/framework-nextjs.spec.ts @@ -0,0 +1,90 @@ +/* eslint-disable jest/no-disabled-tests */ +import type { Locator } from '@playwright/test'; +import { test, expect } from '@playwright/test'; +import process from 'process'; +import { SbPage } from './util'; + +const storybookUrl = process.env.STORYBOOK_URL || 'http://localhost:6006'; +const templateName = process.env.STORYBOOK_TEMPLATE_NAME || 'nextjs/default-js'; + +test.describe('Next.js', () => { + test.beforeEach(async ({ page }) => { + await page.goto(storybookUrl); + await new SbPage(page).waitUntilLoaded(); + }); + + test.describe('next/navigation', () => { + test.skip( + // eslint-disable-next-line jest/valid-title + !templateName.includes('nextjs/default-js'), + 'Only run this test for the Frameworks that support next/navigation' + ); + + let root: Locator; + let sbPage: SbPage; + + function testRoutingBehaviour(buttonText: string, action: string) { + test(`should trigger ${action} action`, async ({ page }) => { + const button = root.locator('button', { hasText: buttonText }); + await button.click(); + + await sbPage.viewAddonPanel('Actions'); + const logItem = await page.locator('#storybook-panel-root #panel-tab-content', { + hasText: `nextNavigation.${action}`, + }); + await expect(logItem).toBeVisible(); + }); + } + + test.beforeEach(async ({ page }) => { + sbPage = new SbPage(page); + + await sbPage.navigateToStory('frameworks/nextjs_default-js/Navigation', 'default'); + root = sbPage.previewRoot(); + }); + + testRoutingBehaviour('Go back', 'back'); + testRoutingBehaviour('Go forward', 'forward'); + testRoutingBehaviour('Prefetch', 'prefetch'); + testRoutingBehaviour('Push HTML', 'push'); + testRoutingBehaviour('Refresh', 'refresh'); + testRoutingBehaviour('Replace', 'replace'); + }); + + test.describe('next/router', () => { + test.skip( + // eslint-disable-next-line jest/valid-title + !templateName.includes('nextjs'), + 'Only run this test for the Frameworks that support next/router' + ); + + let root: Locator; + let sbPage: SbPage; + + function testRoutingBehaviour(buttonText: string, action: string) { + test(`should trigger ${action} action`, async ({ page }) => { + const button = root.locator('button', { hasText: buttonText }); + await button.click(); + + await sbPage.viewAddonPanel('Actions'); + const logItem = await page.locator('#storybook-panel-root #panel-tab-content', { + hasText: `nextRouter.${action}`, + }); + await expect(logItem).toBeVisible(); + }); + } + + test.beforeEach(async ({ page }) => { + sbPage = new SbPage(page); + + await sbPage.navigateToStory('frameworks/nextjs_default-js/Router', 'default'); + root = sbPage.previewRoot(); + }); + + testRoutingBehaviour('Go back', 'back'); + testRoutingBehaviour('Go forward', 'forward'); + testRoutingBehaviour('Prefetch', 'prefetch'); + testRoutingBehaviour('Push HTML', 'push'); + testRoutingBehaviour('Replace', 'replace'); + }); +}); diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index d19a240a1393..257fd9dd26c4 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -218,22 +218,22 @@ The default values on the stubbed navigation context are as follows (see [global ```ts const defaultNavigationContext = { push(...args) { - action('nextRouter.push')(...args); + action('nextNavigation.push')(...args); }, replace(...args) { - action('nextRouter.replace')(...args); + action('nextNavigation.replace')(...args); }, forward(...args) { - action('nextRouter.forward')(...args); + action('nextNavigation.forward')(...args); }, back(...args) { - action('nextRouter.back')(...args); + action('nextNavigation.back')(...args); }, prefetch(...args) { - action('nextRouter.prefetch')(...args); + action('nextNavigation.prefetch')(...args); }, refresh: () => { - action('nextRouter.refresh')(); + action('nextNavigation.refresh')(); }, pathname: '/', query: {}, @@ -287,7 +287,7 @@ export const parameters = { push(...args) { // custom logic can go here // this logs to the actions tab - action('nextRouter.push')(...args); + action('nextNavigation.push')(...args); // return whatever you want here return Promise.resolve(true); }, diff --git a/code/frameworks/nextjs/src/routing/app-router-provider.tsx b/code/frameworks/nextjs/src/routing/app-router-provider.tsx index 8a17f6a888f6..ec1a1e023c48 100644 --- a/code/frameworks/nextjs/src/routing/app-router-provider.tsx +++ b/code/frameworks/nextjs/src/routing/app-router-provider.tsx @@ -14,22 +14,22 @@ const AppRouterProvider: React.FC = ({ children, action, { - action('nextRouter.refresh')(); + action('nextNavigation.refresh')(); }, ...restRouteParams, }} From 6ad0975fd5ebd9ad0125ddebaeaa6c0781286cf3 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 6 Dec 2022 10:41:52 +0100 Subject: [PATCH 10/37] Update code/e2e-tests/framework-nextjs.spec.ts Co-authored-by: Yann Braga --- code/e2e-tests/framework-nextjs.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/e2e-tests/framework-nextjs.spec.ts b/code/e2e-tests/framework-nextjs.spec.ts index 5c151df749be..a40765842fe4 100644 --- a/code/e2e-tests/framework-nextjs.spec.ts +++ b/code/e2e-tests/framework-nextjs.spec.ts @@ -5,7 +5,7 @@ import process from 'process'; import { SbPage } from './util'; const storybookUrl = process.env.STORYBOOK_URL || 'http://localhost:6006'; -const templateName = process.env.STORYBOOK_TEMPLATE_NAME || 'nextjs/default-js'; +const templateName = process.env.STORYBOOK_TEMPLATE_NAME; test.describe('Next.js', () => { test.beforeEach(async ({ page }) => { From 8443031abc629d2625e4eee9858127719a403a95 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Dec 2022 11:23:26 +0100 Subject: [PATCH 11/37] add more linting config to vs-code settings.json --- .vscode/settings.json | 42 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 76f0dbb6511f..b600f07551c2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,4 @@ { - "eslint.workingDirectories": ["./code", "./scripts"], - "typescript.tsdk": "./code/node_modules/typescript/lib", "[javascript]": { "editor.defaultFormatter": "dbaeumer.vscode-eslint", "editor.formatOnSave": true @@ -17,5 +15,41 @@ "editor.defaultFormatter": "dbaeumer.vscode-eslint", "editor.formatOnSave": true }, - "prettier.ignorePath": "./code/.prettierignore" -} + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + }, + "editor.tabSize": 2, + "editor.formatOnSave": true, + "eslint.format.enable": true, + "eslint.options": { + "cache": true, + "cacheLocation": ".cache/eslint", + "extensions": [ + ".js", + ".jsx", + ".mjs", + ".json", + ".ts", + ".tsx" + ] + }, + "eslint.packageManager": "yarn", + "eslint.useESLintClass": true, + "eslint.validate": [ + "json", + "javascript", + "javascriptreact", + "html", + "typescript", + "typescriptreact" + ], + "eslint.workingDirectories": [ + "./code", + "./scripts" + ], + "files.associations": { + "*.js": "javascriptreact" + }, + "prettier.ignorePath": "./code/.prettierignore", + "typescript.tsdk": "./code/node_modules/typescript/lib" +} \ No newline at end of file From 8eebfc9c5a2f09c1674308c4d38c0c91bc34be4d Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Dec 2022 11:28:28 +0100 Subject: [PATCH 12/37] add recommended addons --- .vscode/extensions.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .vscode/extensions.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000000..0ff975ec7f5b --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "dbaeumer.vscode-eslint", + "unifiedjs.vscode-mdx", + "yzhang.markdown-all-in-one" + ] +} \ No newline at end of file From db814f270fbad246ae471de602ea40978c264a1b Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 6 Dec 2022 12:20:42 +0100 Subject: [PATCH 13/37] Adjust newNextLinkBehavior to consider latest Next.js v13.0.6 release --- code/frameworks/nextjs/src/config/webpack.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/code/frameworks/nextjs/src/config/webpack.ts b/code/frameworks/nextjs/src/config/webpack.ts index c96685703a39..e2ee693723ed 100644 --- a/code/frameworks/nextjs/src/config/webpack.ts +++ b/code/frameworks/nextjs/src/config/webpack.ts @@ -35,20 +35,22 @@ const setupRuntimeConfig = (baseConfig: WebpackConfig, nextConfig: NextConfig): }; /** - * In Next12.2, the `newNextLinkBehavior` option was introduced, defaulted to + * In Next 12.2, the `newNextLinkBehavior` option was introduced, defaulted to * falsy in the Next app (`undefined` in the config itself), and `next/link` * was engineered to opt *in* to it * - * In Next13, the `newNextLinkBehavior` option now defaults to truthy (still + * In Next 13.0.0, the `newNextLinkBehavior` option now defaults to truthy (still * `undefined` in the config), and `next/link` was engineered to opt *out* * of it * - * TODO: Revisit logic as soon as the changes in https://github.com/vercel/next.js/pull/42623 - * were released in the next version of Next.js + * In Next 13.0.6 the `next/link` updated the default newNextLinkBehavior condition check + * to be `true` if the `newNextLinkBehavior` is not `false` */ const newNextLinkBehavior = nextConfig.experimental?.newNextLinkBehavior; if ( - (semver.gte(version, '13.0.0') && newNextLinkBehavior !== false) || + (semver.gte(version, '13.0.0') && + semver.lt(version, '13.0.6') && + newNextLinkBehavior !== false) || (semver.gte(version, '12.2.0') && newNextLinkBehavior) ) { definePluginConfig['process.env.__NEXT_NEW_LINK_BEHAVIOR'] = true; From 6613e778cc4452ce1626fbeac799ca1f5d7e89a2 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 6 Dec 2022 12:28:35 +0100 Subject: [PATCH 14/37] Adjust newNextLinkBehavior to consider latest Next.js v13.0.6 release --- code/frameworks/nextjs/src/config/webpack.ts | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/code/frameworks/nextjs/src/config/webpack.ts b/code/frameworks/nextjs/src/config/webpack.ts index e2ee693723ed..60c095219cd9 100644 --- a/code/frameworks/nextjs/src/config/webpack.ts +++ b/code/frameworks/nextjs/src/config/webpack.ts @@ -34,26 +34,22 @@ const setupRuntimeConfig = (baseConfig: WebpackConfig, nextConfig: NextConfig): }), }; + const newNextLinkBehavior = nextConfig.experimental?.newNextLinkBehavior; + /** - * In Next 12.2, the `newNextLinkBehavior` option was introduced, defaulted to - * falsy in the Next app (`undefined` in the config itself), and `next/link` - * was engineered to opt *in* to it - * - * In Next 13.0.0, the `newNextLinkBehavior` option now defaults to truthy (still + * In Next 13.0.0 - 13.0.6, the `newNextLinkBehavior` option now defaults to truthy (still * `undefined` in the config), and `next/link` was engineered to opt *out* * of it * - * In Next 13.0.6 the `next/link` updated the default newNextLinkBehavior condition check - * to be `true` if the `newNextLinkBehavior` is not `false` */ - const newNextLinkBehavior = nextConfig.experimental?.newNextLinkBehavior; if ( - (semver.gte(version, '13.0.0') && - semver.lt(version, '13.0.6') && - newNextLinkBehavior !== false) || - (semver.gte(version, '12.2.0') && newNextLinkBehavior) + semver.gte(version, '13.0.0') && + semver.lt(version, '13.0.6') && + newNextLinkBehavior !== false ) { definePluginConfig['process.env.__NEXT_NEW_LINK_BEHAVIOR'] = true; + } else { + definePluginConfig['process.env.__NEXT_NEW_LINK_BEHAVIOR'] = newNextLinkBehavior; } baseConfig.plugins?.push(new DefinePlugin(definePluginConfig)); From ab9e80361ae0728a9bb54ed8c7e194f15a9ee3e6 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 6 Dec 2022 16:13:33 +0100 Subject: [PATCH 15/37] Update code/frameworks/nextjs/README.md Co-authored-by: Michael Shilman --- code/frameworks/nextjs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index 257fd9dd26c4..bcb7a432b04e 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -176,7 +176,7 @@ This format is not supported by this framework yet. Feel free to [open up an iss ### Next.js Navigation -Please consider, that [next/navigation](https://beta.nextjs.org/docs/upgrade-guide#step-5-migrating-routing-hooks) can only be used in components/pages of the `app` directory of Next.js v13 or higher. +Please note that [next/navigation](https://beta.nextjs.org/docs/upgrade-guide#step-5-migrating-routing-hooks) can only be used in components/pages of the `app` directory of Next.js v13 or higher. #### Set `nextAppDirectory` to `app` From dad2cbc1287494212cf4880485058cd23416a797 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 6 Dec 2022 16:49:56 +0100 Subject: [PATCH 16/37] Remove peer deps from core-common --- code/lib/core-common/package.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/code/lib/core-common/package.json b/code/lib/core-common/package.json index f79aa7dc39ec..7b67a22dc062 100644 --- a/code/lib/core-common/package.json +++ b/code/lib/core-common/package.json @@ -77,10 +77,6 @@ "type-fest": "^2.19.0", "typescript": "~4.9.3" }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, "peerDependenciesMeta": { "typescript": { "optional": true From 912ac0b58f6f96b64b8bf13ff3083b0f5dcb8cff Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 6 Dec 2022 16:51:33 +0100 Subject: [PATCH 17/37] Update code/frameworks/nextjs/src/config/webpack.ts Co-authored-by: Kyle Gach --- code/frameworks/nextjs/src/config/webpack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frameworks/nextjs/src/config/webpack.ts b/code/frameworks/nextjs/src/config/webpack.ts index 60c095219cd9..a5f99fd51864 100644 --- a/code/frameworks/nextjs/src/config/webpack.ts +++ b/code/frameworks/nextjs/src/config/webpack.ts @@ -37,7 +37,7 @@ const setupRuntimeConfig = (baseConfig: WebpackConfig, nextConfig: NextConfig): const newNextLinkBehavior = nextConfig.experimental?.newNextLinkBehavior; /** - * In Next 13.0.0 - 13.0.6, the `newNextLinkBehavior` option now defaults to truthy (still + * In Next 13.0.0 - 13.0.5, the `newNextLinkBehavior` option now defaults to truthy (still * `undefined` in the config), and `next/link` was engineered to opt *out* * of it * From eefe9ae99e7a5462c79f59b570a2303125273332 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Dec 2022 16:58:31 +0100 Subject: [PATCH 18/37] overhaul --- MIGRATION.md | 12 ++ code/addons/docs/package.json | 20 +-- code/addons/docs/src/preset.ts | 10 +- code/addons/docs/src/shims/mdx-react-shim.ts | 1 + code/addons/essentials/package.json | 10 +- .../essentials/src/docs/mdx-react-shim.ts | 1 + code/addons/essentials/src/docs/preset.ts | 6 + code/addons/interactions/package.json | 2 +- .../src/components/MethodCall.tsx | 1 + code/frameworks/angular/package.json | 4 +- code/frameworks/ember/package.json | 6 +- code/frameworks/html-webpack5/package.json | 8 +- code/frameworks/preact-webpack5/package.json | 8 +- code/frameworks/server-webpack5/package.json | 8 +- code/frameworks/svelte-vite/package.json | 4 +- code/frameworks/svelte-webpack5/package.json | 6 +- code/frameworks/vue-vite/package.json | 2 + code/frameworks/vue-webpack5/package.json | 6 +- code/frameworks/vue3-vite/package.json | 4 + code/frameworks/vue3-webpack5/package.json | 6 +- .../web-components-vite/package.json | 4 + .../web-components-webpack5/package.json | 8 +- code/lib/builder-vite/package.json | 2 + .../src/automigrate/fixes/add-react.test.ts | 60 +++++++ .../cli/src/automigrate/fixes/add-react.ts | 69 +++++++ code/lib/cli/src/automigrate/fixes/index.ts | 4 +- .../cli/src/automigrate/fixes/npm7.test.ts | 47 ----- code/lib/cli/src/automigrate/fixes/npm7.ts | 41 ----- code/lib/cli/src/generators/baseGenerator.ts | 9 + code/presets/html-webpack/package.json | 2 - code/presets/preact-webpack/package.json | 4 +- code/presets/server-webpack/package.json | 2 - code/presets/svelte-webpack/package.json | 2 - code/presets/vue-webpack/package.json | 2 - code/presets/vue3-webpack/package.json | 2 - .../web-components-webpack/package.json | 4 +- code/renderers/html/package.json | 2 - code/renderers/preact/package.json | 2 - .../preact/template/stories/React.js | 1 + code/renderers/server/package.json | 2 - code/renderers/svelte/package.json | 2 - code/renderers/vue/package.json | 2 - code/renderers/vue3/package.json | 9 - code/renderers/web-components/package.json | 2 - code/yarn.lock | 168 ++++++++---------- 45 files changed, 307 insertions(+), 270 deletions(-) create mode 100644 code/addons/docs/src/shims/mdx-react-shim.ts create mode 100644 code/addons/essentials/src/docs/mdx-react-shim.ts create mode 100644 code/lib/cli/src/automigrate/fixes/add-react.test.ts create mode 100644 code/lib/cli/src/automigrate/fixes/add-react.ts delete mode 100644 code/lib/cli/src/automigrate/fixes/npm7.test.ts delete mode 100644 code/lib/cli/src/automigrate/fixes/npm7.ts diff --git a/MIGRATION.md b/MIGRATION.md index b88645785f01..74a789b8289a 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -3,6 +3,7 @@ - [From version 6.5.x to 7.0.0](#from-version-65x-to-700) - [Alpha release notes](#alpha-release-notes) - [7.0 breaking changes](#70-breaking-changes) + - [React peer dependencies required](#react-peer-dependencies-required) - [Postcss removed](#postcss-removed) - [Vue3 replaced app export with setup](#vue3-replaced-app-export-with-setup) - [removed auto injection of @storybook/addon-actions decorator](#removed-auto-injection-of-storybookaddon-actions-decorator) @@ -264,6 +265,17 @@ In the meantime, these migration notes are the best available documentation on t ### 7.0 breaking changes +#### React peer dependencies required + +Starting in 7.0, `react` and `react-dom` are now required peer dependencies of Storybook. + +Storybook uses `react` in a variety of packages. In the past, we've done various trickery hide this from non-React users. However, with stricter peer dependency handling by `npm8`, `npm`, and `yarn pnp` those tricks have started to cause problems for those users. Rather than resorting to even more complicated tricks, we are making `react` and `react-dom` required peer dependencies. + +To upgrade manually, add any version of `react` and `react-dom` as devDependencies using your package manager of choice, e.g. + +``` +npm add react react-dom --dev +``` #### Postcss removed Storybook 6.x installed postcss by default. In 7.0 built-in support has been removed. IF you need it, you can add it back using [`@storybook/addon-postcss`](https://github.com/storybookjs/addon-postcss). diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index ac99634d3603..12ac1b591454 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -51,6 +51,11 @@ "import": "./dist/preset.mjs", "types": "./dist/preset.d.ts" }, + "./mdx-react-shim": { + "require": "./dist/shims/mdx-react-shim.js", + "import": "./dist/shims/mdx-react-shim.mjs", + "types": "./dist/shims/mdx-react-shim.d.ts" + }, "./svelte/HOC.svelte": "./svelte/HOC.svelte", "./ember": "./ember/index.js", "./ember/index.js": "./ember/index.js", @@ -85,6 +90,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { + "@babel/core": "^7.20.2", "@babel/plugin-transform-react-jsx": "^7.19.0", "@jest/transform": "^29.3.1", "@mdx-js/react": "^2.1.5", @@ -105,21 +111,14 @@ "ts-dedent": "^2.0.0" }, "devDependencies": { - "@babel/core": "^7.20.2", + "react": "^16.14.0", + "react-dom": "^16.8.0", "typescript": "~4.9.3" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, - "peerDependenciesMeta": { - "react": { - "optional": true - }, - "react-dom": { - "optional": true - } - }, "publishConfig": { "access": "public" }, @@ -127,7 +126,8 @@ "entries": [ "./src/index.ts", "./src/preset.ts", - "./src/preview.ts" + "./src/preview.ts", + "./src/shims/mdx-react-shim.ts" ] }, "gitHead": "c7f8e3e8486ab5caf3da0ef016acfd2065f0dc05", diff --git a/code/addons/docs/src/preset.ts b/code/addons/docs/src/preset.ts index 2d7005868398..6908afe4a036 100644 --- a/code/addons/docs/src/preset.ts +++ b/code/addons/docs/src/preset.ts @@ -65,11 +65,13 @@ async function webpack( transcludeMarkdown = false, } = options; - const mdxLoaderOptions = { - // whether to skip storybook files, useful for docs only mdx or md files + const mdxLoaderOptions = await options.presets.apply('mdxLoaderOptions', { skipCsf: true, - remarkPlugins: [remarkSlug, remarkExternalLinks], - }; + mdxCompileOptions: { + providerImportSource: '@storybook/addon-docs/mdx-react-shim', + remarkPlugins: [remarkSlug, remarkExternalLinks], + }, + }); if (sourceLoaderOptions) { throw new Error(dedent` diff --git a/code/addons/docs/src/shims/mdx-react-shim.ts b/code/addons/docs/src/shims/mdx-react-shim.ts new file mode 100644 index 000000000000..c30b52ef0db8 --- /dev/null +++ b/code/addons/docs/src/shims/mdx-react-shim.ts @@ -0,0 +1 @@ +export * from '@mdx-js/react'; diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json index 63bf3fe2a307..0bf1605240ad 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -62,6 +62,11 @@ "import": "./dist/docs/preset.mjs", "types": "./dist/docs/preset.d.ts" }, + "./docs/mdx-react-shim": { + "require": "./dist/docs/mdx-react-shim.js", + "import": "./dist/docs/mdx-react-shim.mjs", + "types": "./dist/docs/mdx-react-shim.d.ts" + }, "./highlight/preview": { "require": "./dist/highlight/preview.js", "import": "./dist/highlight/preview.mjs", @@ -127,12 +132,12 @@ "ts-dedent": "^2.0.0" }, "devDependencies": { - "@babel/core": "^7.20.2", "@storybook/vue": "7.0.0-alpha.58", "typescript": "^4.9.3" }, "peerDependencies": { - "@babel/core": "^7.9.6" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "publishConfig": { "access": "public" @@ -147,6 +152,7 @@ "./src/controls/manager.ts", "./src/docs/preview.ts", "./src/docs/preset.ts", + "./src/docs/mdx-react-shim.ts", "./src/highlight/preview.ts", "./src/measure/preview.ts", "./src/measure/manager.ts", diff --git a/code/addons/essentials/src/docs/mdx-react-shim.ts b/code/addons/essentials/src/docs/mdx-react-shim.ts new file mode 100644 index 000000000000..cd32a7670059 --- /dev/null +++ b/code/addons/essentials/src/docs/mdx-react-shim.ts @@ -0,0 +1 @@ +export * from '@storybook/addon-docs/dist/shims/mdx-react-shim'; diff --git a/code/addons/essentials/src/docs/preset.ts b/code/addons/essentials/src/docs/preset.ts index dca808a37dd7..4dc5ec306b66 100644 --- a/code/addons/essentials/src/docs/preset.ts +++ b/code/addons/essentials/src/docs/preset.ts @@ -1,2 +1,8 @@ /* eslint-disable import/export */ export * from '@storybook/addon-docs/dist/preset'; + +export const mdxLoaderOptions = async (config: any) => { + // eslint-disable-next-line no-param-reassign + config.mdxCompileOptions.providerImportSource = '@storybook/addon-essential/docs/mdx-react-shim'; + return config; +}; diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json index 5ced2e6fbbee..3a7bb090f420 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -71,7 +71,6 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@devtools-ds/object-inspector": "^1.1.2", "@storybook/client-logger": "7.0.0-alpha.58", "@storybook/components": "7.0.0-alpha.58", "@storybook/core-common": "7.0.0-alpha.58", @@ -87,6 +86,7 @@ "ts-dedent": "^2.2.0" }, "devDependencies": { + "@devtools-ds/object-inspector": "^1.1.2", "@storybook/jest": "^0.0.10", "@storybook/testing-library": "0.0.14-next.0", "@types/node": "^16.0.0", diff --git a/code/addons/interactions/src/components/MethodCall.tsx b/code/addons/interactions/src/components/MethodCall.tsx index 7bb2f6503916..fd110e30e12c 100644 --- a/code/addons/interactions/src/components/MethodCall.tsx +++ b/code/addons/interactions/src/components/MethodCall.tsx @@ -1,3 +1,4 @@ +// eslint-disable-next-line import/no-extraneous-dependencies import { ObjectInspector } from '@devtools-ds/object-inspector'; import type { Call, CallRef, ElementRef } from '@storybook/instrumenter'; import { useTheme } from '@storybook/theming'; diff --git a/code/frameworks/angular/package.json b/code/frameworks/angular/package.json index c51b73c72613..1b2eb2060e43 100644 --- a/code/frameworks/angular/package.json +++ b/code/frameworks/angular/package.json @@ -54,8 +54,6 @@ "core-js": "^3.8.2", "find-up": "^5.0.0", "global": "^4.4.0", - "react": "^16.14.0", - "react-dom": "^16.14.0", "read-pkg-up": "^7.0.1", "semver": "^7.3.7", "telejson": "^7.0.3", @@ -103,6 +101,8 @@ "@angular/platform-browser-dynamic": ">=13.0.0", "@babel/core": "*", "@nrwl/workspace": "14.6.1", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "rxjs": "^6.0.0 || ^7.4.0", "typescript": "^4.0.0", "zone.js": "^0.8.29 || ^0.9.0 || ^0.10.0 || ^0.11.0" diff --git a/code/frameworks/ember/package.json b/code/frameworks/ember/package.json index 25169d743d46..b4701d68a462 100644 --- a/code/frameworks/ember/package.json +++ b/code/frameworks/ember/package.json @@ -37,8 +37,6 @@ "@storybook/preview-api": "7.0.0-alpha.58", "@storybook/types": "7.0.0-alpha.58", "global": "^4.4.0", - "react": "16.14.0", - "react-dom": "16.14.0", "read-pkg-up": "^7.0.1", "ts-dedent": "^2.0.0" }, @@ -51,7 +49,9 @@ "@types/ember__component": "4.0.8", "babel-plugin-ember-modules-api-polyfill": "^2.12.0", "babel-plugin-htmlbars-inline-precompile": "2 || 3", - "ember-source": "~3.28.1" + "ember-source": "~3.28.1", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "engines": { "node": ">=10.13.0" diff --git a/code/frameworks/html-webpack5/package.json b/code/frameworks/html-webpack5/package.json index 7276e121a779..6cdc77f0fcbc 100644 --- a/code/frameworks/html-webpack5/package.json +++ b/code/frameworks/html-webpack5/package.json @@ -55,15 +55,15 @@ "@storybook/html": "7.0.0-alpha.58", "@storybook/preset-html-webpack": "7.0.0-alpha.58", "@types/node": "^16.0.0", - "global": "^4.4.0", - "react": "16.14.0", - "react-dom": "16.14.0" + "global": "^4.4.0" }, "devDependencies": { "typescript": "~4.9.3" }, "peerDependencies": { - "@babel/core": "*" + "@babel/core": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "engines": { "node": ">=10.13.0" diff --git a/code/frameworks/preact-webpack5/package.json b/code/frameworks/preact-webpack5/package.json index c930e77a242f..7046e347d812 100644 --- a/code/frameworks/preact-webpack5/package.json +++ b/code/frameworks/preact-webpack5/package.json @@ -54,9 +54,7 @@ "@storybook/core-common": "7.0.0-alpha.58", "@storybook/preact": "7.0.0-alpha.58", "@storybook/preset-preact-webpack": "7.0.0-alpha.58", - "@types/node": "^16.0.0", - "react": "16.14.0", - "react-dom": "16.14.0" + "@types/node": "^16.0.0" }, "devDependencies": { "preact": "^10.5.13", @@ -64,7 +62,9 @@ }, "peerDependencies": { "@babel/core": "*", - "preact": "^8.0.0||^10.0.0" + "preact": "^8.0.0||^10.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "engines": { "node": ">=10.13.0" diff --git a/code/frameworks/server-webpack5/package.json b/code/frameworks/server-webpack5/package.json index 3f2166c64eb9..17fab3c9c541 100644 --- a/code/frameworks/server-webpack5/package.json +++ b/code/frameworks/server-webpack5/package.json @@ -54,13 +54,15 @@ "@storybook/core-common": "7.0.0-alpha.58", "@storybook/preset-server-webpack": "7.0.0-alpha.58", "@storybook/server": "7.0.0-alpha.58", - "@types/node": "^16.0.0", - "react": "16.14.0", - "react-dom": "16.14.0" + "@types/node": "^16.0.0" }, "devDependencies": { "typescript": "~4.9.3" }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, "engines": { "node": ">=10.13.0" }, diff --git a/code/frameworks/svelte-vite/package.json b/code/frameworks/svelte-vite/package.json index d1640e748b8b..3057c409d6c5 100644 --- a/code/frameworks/svelte-vite/package.json +++ b/code/frameworks/svelte-vite/package.json @@ -67,7 +67,9 @@ "vite": "^3.1.3" }, "peerDependencies": { - "@storybook/addon-svelte-csf": "^2.0.0" + "@storybook/addon-svelte-csf": "^2.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "peerDependenciesMeta": { "@storybook/addon-svelte-csf": { diff --git a/code/frameworks/svelte-webpack5/package.json b/code/frameworks/svelte-webpack5/package.json index 1ac9fbea029c..f26328a5bc73 100644 --- a/code/frameworks/svelte-webpack5/package.json +++ b/code/frameworks/svelte-webpack5/package.json @@ -54,9 +54,7 @@ "@storybook/builder-webpack5": "7.0.0-alpha.58", "@storybook/core-common": "7.0.0-alpha.58", "@storybook/preset-svelte-webpack": "7.0.0-alpha.58", - "@storybook/svelte": "7.0.0-alpha.58", - "react": "16.14.0", - "react-dom": "16.14.0" + "@storybook/svelte": "7.0.0-alpha.58" }, "devDependencies": { "svelte": "^3.48.0", @@ -65,6 +63,8 @@ }, "peerDependencies": { "@babel/core": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "svelte": "^3.48.0", "svelte-loader": "*" }, diff --git a/code/frameworks/vue-vite/package.json b/code/frameworks/vue-vite/package.json index 8ee90d5e5944..54b49e8d866f 100644 --- a/code/frameworks/vue-vite/package.json +++ b/code/frameworks/vue-vite/package.json @@ -63,6 +63,8 @@ "vue": "^2.7.10" }, "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "vue": "^2.7.0" }, "engines": { diff --git a/code/frameworks/vue-webpack5/package.json b/code/frameworks/vue-webpack5/package.json index 620d457d5388..0a528942f9f5 100644 --- a/code/frameworks/vue-webpack5/package.json +++ b/code/frameworks/vue-webpack5/package.json @@ -54,9 +54,7 @@ "@storybook/core-common": "7.0.0-alpha.58", "@storybook/preset-vue-webpack": "7.0.0-alpha.58", "@storybook/vue": "7.0.0-alpha.58", - "@types/node": "^16.0.0", - "react": "16.14.0", - "react-dom": "16.14.0" + "@types/node": "^16.0.0" }, "devDependencies": { "typescript": "~4.9.3", @@ -68,6 +66,8 @@ "@babel/core": "*", "babel-loader": "^7.0.0 || ^8.0.0 || ^9.0.0", "css-loader": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "vue": "^2.6.8", "vue-loader": "^15.7.0", "vue-template-compiler": "^2.6.8" diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json index 0a5c17ee5e8f..6bd69197727f 100644 --- a/code/frameworks/vue3-vite/package.json +++ b/code/frameworks/vue3-vite/package.json @@ -64,6 +64,10 @@ "typescript": "~4.9.3", "vite": "^3.1.3" }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, "engines": { "node": "^14.18 || >=16" }, diff --git a/code/frameworks/vue3-webpack5/package.json b/code/frameworks/vue3-webpack5/package.json index 15bd96900d00..bc6d25068c95 100644 --- a/code/frameworks/vue3-webpack5/package.json +++ b/code/frameworks/vue3-webpack5/package.json @@ -54,9 +54,7 @@ "@storybook/core-common": "7.0.0-alpha.58", "@storybook/preset-vue3-webpack": "7.0.0-alpha.58", "@storybook/vue3": "7.0.0-alpha.58", - "@types/node": "^16.0.0", - "react": "16.14.0", - "react-dom": "16.14.0" + "@types/node": "^16.0.0" }, "devDependencies": { "@vue/compiler-sfc": "3.0.0", @@ -67,6 +65,8 @@ "@babel/core": "*", "@vue/compiler-sfc": "^3.0.0", "babel-loader": "^7.0.0 || ^8.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "vue": "^3.0.0" }, "engines": { diff --git a/code/frameworks/web-components-vite/package.json b/code/frameworks/web-components-vite/package.json index 6946b294b88c..35b3430161ed 100644 --- a/code/frameworks/web-components-vite/package.json +++ b/code/frameworks/web-components-vite/package.json @@ -63,6 +63,10 @@ "typescript": "~4.9.3", "vite": "^3.1.0" }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, "engines": { "node": "^14.18 || >=16" }, diff --git a/code/frameworks/web-components-webpack5/package.json b/code/frameworks/web-components-webpack5/package.json index 7a8b20653214..514bfb850c6f 100644 --- a/code/frameworks/web-components-webpack5/package.json +++ b/code/frameworks/web-components-webpack5/package.json @@ -57,16 +57,16 @@ "@storybook/core-common": "7.0.0-alpha.58", "@storybook/preset-web-components-webpack": "7.0.0-alpha.58", "@storybook/web-components": "7.0.0-alpha.58", - "@types/node": "^16.0.0", - "react": "16.14.0", - "react-dom": "16.14.0" + "@types/node": "^16.0.0" }, "devDependencies": { "lit-html": "2.0.2", "typescript": "~4.9.3" }, "peerDependencies": { - "lit-html": "^1.4.1 || ^2.0.0" + "lit-html": "^1.4.1 || ^2.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "engines": { "node": ">=10.13.0" diff --git a/code/lib/builder-vite/package.json b/code/lib/builder-vite/package.json index f9af21499942..adafcab852b5 100644 --- a/code/lib/builder-vite/package.json +++ b/code/lib/builder-vite/package.json @@ -58,6 +58,7 @@ "glob": "^7.2.0", "glob-promise": "^4.2.0", "magic-string": "^0.26.1", + "rollup": "^2.25.0 || ^3.3.0", "rollup-plugin-external-globals": "^0.7.1", "slash": "^3.0.0", "vite": "^3.1.3" @@ -65,6 +66,7 @@ "devDependencies": { "@types/express": "^4.17.13", "@types/node": "^16.0.0", + "rollup": "^3.0.0", "typescript": "~4.9.3", "vite": "^3.1.3" }, diff --git a/code/lib/cli/src/automigrate/fixes/add-react.test.ts b/code/lib/cli/src/automigrate/fixes/add-react.test.ts new file mode 100644 index 000000000000..f497f4013016 --- /dev/null +++ b/code/lib/cli/src/automigrate/fixes/add-react.test.ts @@ -0,0 +1,60 @@ +import type { JsPackageManager, PackageJson } from '../../js-package-manager'; +import { addReact } from './add-react'; + +const checkAddReact = async (packageJson: PackageJson) => { + const packageManager = { + retrievePackageJson: () => ({ dependencies: {}, devDependencies: {}, ...packageJson }), + } as JsPackageManager; + return addReact.check({ packageManager }); +}; + +describe('addReact fix', () => { + it('should no-op when not using docs or essentials', async () => { + await expect(checkAddReact({ dependencies: {} })).resolves.toBeFalsy(); + }); + + it('should no-op when react/react-dom are already installed', async () => { + await expect( + checkAddReact({ + dependencies: { react: '*' }, + devDependencies: { '@storybook/addon-docs': '*', 'react-dom': '*' }, + }) + ).resolves.toBeFalsy(); + }); + + it('should add react when it is missing', async () => { + await expect( + checkAddReact({ + dependencies: {}, + devDependencies: { '@storybook/addon-docs': '*', 'react-dom': '*' }, + }) + ).resolves.toMatchInlineSnapshot(` + Object { + "additionalDependencies": Array [ + "react", + ], + "dependents": Array [ + "@storybook/addon-docs", + ], + } + `); + }); + + it('should add reac-dom when it is missing', async () => { + await expect( + checkAddReact({ + dependencies: {}, + devDependencies: { '@storybook/addon-essentials': '*', react: '*' }, + }) + ).resolves.toMatchInlineSnapshot(` + Object { + "additionalDependencies": Array [ + "react-dom", + ], + "dependents": Array [ + "@storybook/addon-essentials", + ], + } + `); + }); +}); diff --git a/code/lib/cli/src/automigrate/fixes/add-react.ts b/code/lib/cli/src/automigrate/fixes/add-react.ts new file mode 100644 index 000000000000..df3fe6f51c3a --- /dev/null +++ b/code/lib/cli/src/automigrate/fixes/add-react.ts @@ -0,0 +1,69 @@ +import chalk from 'chalk'; +import { dedent } from 'ts-dedent'; +import type { Fix } from '../types'; + +interface AddReactOptions { + dependents: string[]; + additionalDependencies: string[]; +} + +/** + * is the user missing a dependency on react? + */ +export const addReact: Fix = { + id: 'addReact', + + async check({ packageManager }) { + const packageJson = packageManager.retrievePackageJson(); + const installedDependencies = new Set( + Object.keys({ ...packageJson.dependencies, ...packageJson.devDependencies }) + ); + + const dependents = ['@storybook/addon-essentials', '@storybook/addon-docs'].filter((pkg) => + installedDependencies.has(pkg) + ); + const additionalDependencies = []; + if (dependents.length > 0) { + if (!installedDependencies.has('react')) { + // we add these here because they are required by addon-essentials > addon-docs + additionalDependencies.push('react'); + } + if (!installedDependencies.has('react-dom')) { + // we add these here because they are required by addon-essentials > addon-docs + additionalDependencies.push('react-dom'); + } + } + + if (additionalDependencies.length > 0) { + return { dependents, additionalDependencies }; + } + return null; + }, + + prompt({ dependents, additionalDependencies }) { + const dependentsFormatted = dependents.map((pkg) => chalk.cyan(pkg)).join(' & '); + const additionalDependenciesFormatted = additionalDependencies + .map((pkg) => `- ${chalk.cyan(pkg)}`) + .join('\n'); + + return dedent` + We've detected that you're using ${dependentsFormatted}. + + Starting in Storybook 7 we now require the following peer dependencies: + + ${additionalDependenciesFormatted} + + We can add these for you automatically. + + More info: ${chalk.yellow( + 'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react-peer-dependencies-required' + )} + `; + }, + + async run({ packageManager, result: { additionalDependencies }, dryRun }) { + if (!dryRun) { + packageManager.addDependencies({ installAsDevDependencies: true }, additionalDependencies); + } + }, +}; diff --git a/code/lib/cli/src/automigrate/fixes/index.ts b/code/lib/cli/src/automigrate/fixes/index.ts index ba60564eb49d..2ed72676b065 100644 --- a/code/lib/cli/src/automigrate/fixes/index.ts +++ b/code/lib/cli/src/automigrate/fixes/index.ts @@ -7,12 +7,12 @@ import { vue3 } from './vue3'; import { mainjsFramework } from './mainjsFramework'; import { eslintPlugin } from './eslint-plugin'; import { builderVite } from './builder-vite'; -import { npm7 } from './npm7'; import { sbScripts } from './sb-scripts'; import { newFrameworks } from './new-frameworks'; import { removedGlobalClientAPIs } from './remove-global-client-apis'; import { mdx1to2 } from './mdx-1-to-2'; import { docsPageAutomatic } from './docsPage-automatic'; +import { addReact } from './add-react'; export * from '../types'; @@ -24,10 +24,10 @@ export const fixes: Fix[] = [ mainjsFramework, eslintPlugin, builderVite, - npm7, sbScripts, newFrameworks, removedGlobalClientAPIs, mdx1to2, docsPageAutomatic, + addReact, ]; diff --git a/code/lib/cli/src/automigrate/fixes/npm7.test.ts b/code/lib/cli/src/automigrate/fixes/npm7.test.ts deleted file mode 100644 index 4ed22b8aa18e..000000000000 --- a/code/lib/cli/src/automigrate/fixes/npm7.test.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { NPMProxy } from '../../js-package-manager/NPMProxy'; -import { npm7 } from './npm7'; - -const mockExecuteCommand = jest.fn(); -class MockedNPMProxy extends NPMProxy { - executeCommand(...args: Parameters) { - return mockExecuteCommand(...args); - } -} - -function mockExecuteResults(map: Record) { - mockExecuteCommand.mockImplementation((command, args) => { - const commandString = `${command} ${args.join(' ')}`; - if (map[commandString]) return map[commandString]; - - throw new Error(`Unexpected execution of '${commandString}'`); - }); -} - -describe('npm7 fix', () => { - describe('npm < 7', () => { - it('does not match', async () => { - mockExecuteResults({ 'npm --version': '6.0.0' }); - expect(await npm7.check({ packageManager: new MockedNPMProxy() })).toEqual(null); - }); - }); - - describe('npm 7+', () => { - it('matches if config is not installed', async () => { - mockExecuteResults({ - 'npm --version': '7.0.0', - 'npm config get legacy-peer-deps --location=project': 'false', - }); - expect(await npm7.check({ packageManager: new MockedNPMProxy() })).toEqual({ - npmVersion: '7.0.0', - }); - }); - - it('does not match if config is installed', async () => { - mockExecuteResults({ - 'npm --version': '7.0.0', - 'npm config get legacy-peer-deps --location=project': 'true', - }); - expect(await npm7.check({ packageManager: new MockedNPMProxy() })).toEqual(null); - }); - }); -}); diff --git a/code/lib/cli/src/automigrate/fixes/npm7.ts b/code/lib/cli/src/automigrate/fixes/npm7.ts deleted file mode 100644 index 91f22108a7f9..000000000000 --- a/code/lib/cli/src/automigrate/fixes/npm7.ts +++ /dev/null @@ -1,41 +0,0 @@ -import chalk from 'chalk'; -import { dedent } from 'ts-dedent'; -import type { Fix } from '../types'; -import type { NPMProxy } from '../../js-package-manager/NPMProxy'; - -interface Npm7RunOptions { - npmVersion: string; -} - -/** - * Is the user using npm7+? If so create a .npmrc with legacy-peer-deps=true - */ -export const npm7: Fix = { - id: 'npm7', - - async check({ packageManager }) { - if (packageManager.type !== 'npm') return null; - - const npmVersion = (packageManager as NPMProxy).getNpmVersion(); - if ((packageManager as NPMProxy).needsLegacyPeerDeps(npmVersion)) { - return { npmVersion }; - } - return null; - }, - - prompt({ npmVersion }) { - const npmFormatted = chalk.cyan(`npm ${npmVersion}`); - return dedent` - We've detected you are running ${npmFormatted} which has peer dependency semantics which Storybook is incompatible with. - - In order to work with Storybook's package structure, you'll need to run \`npm\` with the - \`--legacy-peer-deps=true\` flag. We can generate an \`.npmrc\` which will do that automatically. - - More info: ${chalk.yellow('https://github.com/storybookjs/storybook/issues/18298')} - `; - }, - - async run({ packageManager }) { - (packageManager as NPMProxy).setLegacyPeerDeps(); - }, -}; diff --git a/code/lib/cli/src/generators/baseGenerator.ts b/code/lib/cli/src/generators/baseGenerator.ts index 7124076ed228..b05d4696d9c2 100644 --- a/code/lib/cli/src/generators/baseGenerator.ts +++ b/code/lib/cli/src/generators/baseGenerator.ts @@ -161,6 +161,15 @@ export async function baseGenerator( Object.keys({ ...packageJson.dependencies, ...packageJson.devDependencies }) ); + if (!installedDependencies.has('react')) { + // we add these here because they are required by addon-essentials > addon-docs + addonPackages.push('react'); + } + if (!installedDependencies.has('react-dom')) { + // we add these here because they are required by addon-essentials > addon-docs + addonPackages.push('react-dom'); + } + // TODO: We need to start supporting this at some point if (type === 'renderer') { throw new Error( diff --git a/code/presets/html-webpack/package.json b/code/presets/html-webpack/package.json index d2a17b9dcb11..95f0fbb3aee2 100644 --- a/code/presets/html-webpack/package.json +++ b/code/presets/html-webpack/package.json @@ -53,8 +53,6 @@ "@storybook/core-webpack": "7.0.0-alpha.58", "@types/node": "^16.0.0", "html-loader": "^3.1.0", - "react": "16.14.0", - "react-dom": "16.14.0", "webpack": "5" }, "devDependencies": { diff --git a/code/presets/preact-webpack/package.json b/code/presets/preact-webpack/package.json index 3e5aa652e706..a3e94fcdcab5 100644 --- a/code/presets/preact-webpack/package.json +++ b/code/presets/preact-webpack/package.json @@ -52,9 +52,7 @@ "dependencies": { "@babel/plugin-transform-react-jsx": "^7.19.0", "@storybook/core-webpack": "7.0.0-alpha.58", - "@types/node": "^16.0.0", - "react": "16.14.0", - "react-dom": "16.14.0" + "@types/node": "^16.0.0" }, "devDependencies": { "preact": "^10.5.13", diff --git a/code/presets/server-webpack/package.json b/code/presets/server-webpack/package.json index b85d3f168be5..266d6a073a93 100644 --- a/code/presets/server-webpack/package.json +++ b/code/presets/server-webpack/package.json @@ -60,8 +60,6 @@ "@storybook/server": "7.0.0-alpha.58", "@types/node": "^16.0.0", "global": "^4.4.0", - "react": "16.14.0", - "react-dom": "16.14.0", "safe-identifier": "^0.4.1", "ts-dedent": "^2.0.0", "yaml-loader": "^0.8.0" diff --git a/code/presets/svelte-webpack/package.json b/code/presets/svelte-webpack/package.json index 8591523e856c..1c4c47b9c2c7 100644 --- a/code/presets/svelte-webpack/package.json +++ b/code/presets/svelte-webpack/package.json @@ -67,8 +67,6 @@ "dependencies": { "@storybook/core-webpack": "7.0.0-alpha.58", "@storybook/node-logger": "7.0.0-alpha.58", - "react": "16.14.0", - "react-dom": "16.14.0", "sveltedoc-parser": "^4.2.1", "ts-dedent": "^2.0.0" }, diff --git a/code/presets/vue-webpack/package.json b/code/presets/vue-webpack/package.json index 02085fb2428a..50912ba4b9f8 100644 --- a/code/presets/vue-webpack/package.json +++ b/code/presets/vue-webpack/package.json @@ -63,8 +63,6 @@ "@storybook/core-webpack": "7.0.0-alpha.58", "@storybook/docs-tools": "7.0.0-alpha.58", "@types/node": "^16.0.0", - "react": "16.14.0", - "react-dom": "16.14.0", "ts-loader": "^9.2.8", "vue-docgen-api": "^4.44.23", "vue-docgen-loader": "^1.5.1", diff --git a/code/presets/vue3-webpack/package.json b/code/presets/vue3-webpack/package.json index df27ddb0fa55..6ac4ab547015 100644 --- a/code/presets/vue3-webpack/package.json +++ b/code/presets/vue3-webpack/package.json @@ -63,8 +63,6 @@ "@storybook/core-webpack": "7.0.0-alpha.58", "@storybook/docs-tools": "7.0.0-alpha.58", "@types/node": "^16.0.0", - "react": "16.14.0", - "react-dom": "16.14.0", "ts-loader": "^9.2.8", "vue-docgen-api": "^4.46.0", "vue-docgen-loader": "^1.5.1", diff --git a/code/presets/web-components-webpack/package.json b/code/presets/web-components-webpack/package.json index 41e5224d0abd..8f3d885b42d4 100644 --- a/code/presets/web-components-webpack/package.json +++ b/code/presets/web-components-webpack/package.json @@ -58,9 +58,7 @@ "@storybook/core-webpack": "7.0.0-alpha.58", "@types/node": "^16.0.0", "babel-loader": "^7.0.0 || ^8.0.0", - "babel-plugin-bundled-import-meta": "^0.3.1", - "react": "16.14.0", - "react-dom": "16.14.0" + "babel-plugin-bundled-import-meta": "^0.3.1" }, "devDependencies": { "lit-html": "2.0.2", diff --git a/code/renderers/html/package.json b/code/renderers/html/package.json index 902cf9226ad4..8407bea0eb90 100644 --- a/code/renderers/html/package.json +++ b/code/renderers/html/package.json @@ -56,8 +56,6 @@ "@storybook/preview-api": "7.0.0-alpha.58", "@storybook/types": "7.0.0-alpha.58", "global": "^4.4.0", - "react": "16.14.0", - "react-dom": "16.14.0", "ts-dedent": "^2.0.0" }, "devDependencies": { diff --git a/code/renderers/preact/package.json b/code/renderers/preact/package.json index 1be046bb64ae..f785e04a4782 100644 --- a/code/renderers/preact/package.json +++ b/code/renderers/preact/package.json @@ -55,8 +55,6 @@ "@storybook/preview-api": "7.0.0-alpha.58", "@storybook/types": "7.0.0-alpha.58", "global": "^4.4.0", - "react": "16.14.0", - "react-dom": "16.14.0", "ts-dedent": "^2.0.0" }, "devDependencies": { diff --git a/code/renderers/preact/template/stories/React.js b/code/renderers/preact/template/stories/React.js index 95a07db5aade..0c72668ebe74 100644 --- a/code/renderers/preact/template/stories/React.js +++ b/code/renderers/preact/template/stories/React.js @@ -1,3 +1,4 @@ +// eslint-disable-next-line import/no-extraneous-dependencies import React from 'react'; // eslint-disable-next-line import/no-extraneous-dependencies import PropTypes from 'prop-types'; diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index 45fb3aa19869..1c9b72541f09 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -55,8 +55,6 @@ "@storybook/preview-api": "7.0.0-alpha.58", "@storybook/types": "7.0.0-alpha.58", "global": "^4.4.0", - "react": "16.14.0", - "react-dom": "16.14.0", "ts-dedent": "^2.0.0" }, "devDependencies": { diff --git a/code/renderers/svelte/package.json b/code/renderers/svelte/package.json index 2b6d34787f39..b59645f20b7b 100644 --- a/code/renderers/svelte/package.json +++ b/code/renderers/svelte/package.json @@ -61,8 +61,6 @@ "@storybook/preview-api": "7.0.0-alpha.58", "@storybook/types": "7.0.0-alpha.58", "global": "^4.4.0", - "react": "16.14.0", - "react-dom": "16.14.0", "sveltedoc-parser": "^4.2.1", "type-fest": "2.19.0" }, diff --git a/code/renderers/vue/package.json b/code/renderers/vue/package.json index 7ac705669799..f5fe02284ee5 100644 --- a/code/renderers/vue/package.json +++ b/code/renderers/vue/package.json @@ -57,8 +57,6 @@ "@storybook/preview-api": "7.0.0-alpha.58", "@storybook/types": "7.0.0-alpha.58", "global": "^4.4.0", - "react": "16.14.0", - "react-dom": "16.14.0", "ts-dedent": "^2.0.0", "type-fest": "2.19.0" }, diff --git a/code/renderers/vue3/package.json b/code/renderers/vue3/package.json index 916dd6f13688..eb9e7daa72d4 100644 --- a/code/renderers/vue3/package.json +++ b/code/renderers/vue3/package.json @@ -56,8 +56,6 @@ "@storybook/preview-api": "7.0.0-alpha.58", "@storybook/types": "7.0.0-alpha.58", "global": "^4.4.0", - "react": "16.14.0", - "react-dom": "16.14.0", "ts-dedent": "^2.0.0", "type-fest": "2.19.0" }, @@ -69,15 +67,8 @@ "vue-tsc": "^1.0.8" }, "peerDependencies": { - "@babel/core": "*", - "babel-loader": "^7.0.0 || ^8.0.0", "vue": "^3.0.0" }, - "peerDependenciesMeta": { - "babel-loader": { - "optional": true - } - }, "engines": { "node": ">=10.13.0" }, diff --git a/code/renderers/web-components/package.json b/code/renderers/web-components/package.json index 26364e2959a9..46cd55e42cfa 100644 --- a/code/renderers/web-components/package.json +++ b/code/renderers/web-components/package.json @@ -60,8 +60,6 @@ "@storybook/preview-api": "7.0.0-alpha.58", "@storybook/types": "7.0.0-alpha.58", "global": "^4.4.0", - "react": "16.14.0", - "react-dom": "16.14.0", "ts-dedent": "^2.0.0" }, "devDependencies": { diff --git a/code/yarn.lock b/code/yarn.lock index b9ee5c21e38a..524ff8bb0c0f 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -5270,6 +5270,8 @@ __metadata: "@storybook/types": 7.0.0-alpha.58 fs-extra: ^9.0.1 global: ^4.4.0 + react: ^16.14.0 + react-dom: ^16.8.0 remark-external-links: ^8.0.0 remark-slug: ^6.0.0 ts-dedent: ^2.0.0 @@ -5277,11 +5279,6 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true languageName: unknown linkType: soft @@ -5289,7 +5286,6 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-essentials@workspace:addons/essentials" dependencies: - "@babel/core": ^7.20.2 "@storybook/addon-actions": 7.0.0-alpha.58 "@storybook/addon-backgrounds": 7.0.0-alpha.58 "@storybook/addon-controls": 7.0.0-alpha.58 @@ -5307,7 +5303,8 @@ __metadata: ts-dedent: ^2.0.0 typescript: ^4.9.3 peerDependencies: - "@babel/core": ^7.9.6 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 languageName: unknown linkType: soft @@ -5731,8 +5728,6 @@ __metadata: jest: ^29.3.1 jest-preset-angular: ^12.0.0 jest-specific-snapshot: ^7.0.0 - react: ^16.14.0 - react-dom: ^16.14.0 read-pkg-up: ^7.0.1 rimraf: ^3.0.2 semver: ^7.3.7 @@ -5758,6 +5753,8 @@ __metadata: "@angular/platform-browser-dynamic": ">=13.0.0" "@babel/core": "*" "@nrwl/workspace": 14.6.1 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 rxjs: ^6.0.0 || ^7.4.0 typescript: ^4.0.0 zone.js: ^0.8.29 || ^0.9.0 || ^0.10.0 || ^0.11.0 @@ -5892,6 +5889,7 @@ __metadata: glob: ^7.2.0 glob-promise: ^4.2.0 magic-string: ^0.26.1 + rollup: ^3.0.0 rollup-plugin-external-globals: ^0.7.1 slash: ^3.0.0 typescript: ~4.9.3 @@ -6384,8 +6382,6 @@ __metadata: "@storybook/types": 7.0.0-alpha.58 ember-source: ~3.28.1 global: ^4.4.0 - react: 16.14.0 - react-dom: 16.14.0 read-pkg-up: ^7.0.1 ts-dedent: ^2.0.0 typescript: ~4.9.3 @@ -6395,6 +6391,8 @@ __metadata: babel-plugin-ember-modules-api-polyfill: ^2.12.0 babel-plugin-htmlbars-inline-precompile: 2 || 3 ember-source: ~3.28.1 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 languageName: unknown linkType: soft @@ -6446,11 +6444,11 @@ __metadata: "@storybook/preset-html-webpack": 7.0.0-alpha.58 "@types/node": ^16.0.0 global: ^4.4.0 - react: 16.14.0 - react-dom: 16.14.0 typescript: ~4.9.3 peerDependencies: "@babel/core": "*" + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 languageName: unknown linkType: soft @@ -6463,8 +6461,6 @@ __metadata: "@storybook/preview-api": 7.0.0-alpha.58 "@storybook/types": 7.0.0-alpha.58 global: ^4.4.0 - react: 16.14.0 - react-dom: 16.14.0 ts-dedent: ^2.0.0 typescript: ~4.9.3 peerDependencies: @@ -6641,11 +6637,11 @@ __metadata: linkType: soft "@storybook/mdx2-csf@npm:next": - version: 0.1.0-next.6 - resolution: "@storybook/mdx2-csf@npm:0.1.0-next.6" + version: 0.1.0-next.7 + resolution: "@storybook/mdx2-csf@npm:0.1.0-next.7" dependencies: loader-utils: ^2.0.4 - checksum: b3a3f0321824ca45f42524dce56d94eaab978d9f000318da4300d9448c5c7693aad70b70f6cffc39494b39c4bc6772f5765639810dfd77a18a58715b498b5e5c + checksum: c0d3b6c5d2261079ac8db0e2bb8e773ab11f6f363c60f4d4b76332c1361c981d5abffd49ea6f2e1b67f5d1fbdfc121e207044fe52b8be1e8322cacc42e41f747 languageName: node linkType: hard @@ -6727,12 +6723,12 @@ __metadata: "@storybook/preset-preact-webpack": 7.0.0-alpha.58 "@types/node": ^16.0.0 preact: ^10.5.13 - react: 16.14.0 - react-dom: 16.14.0 typescript: ~4.9.3 peerDependencies: "@babel/core": "*" preact: ^8.0.0||^10.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 languageName: unknown linkType: soft @@ -6745,8 +6741,6 @@ __metadata: "@storybook/types": 7.0.0-alpha.58 global: ^4.4.0 preact: ^10.5.13 - react: 16.14.0 - react-dom: 16.14.0 ts-dedent: ^2.0.0 typescript: ~4.9.3 peerDependencies: @@ -6761,8 +6755,6 @@ __metadata: "@storybook/core-webpack": 7.0.0-alpha.58 "@types/node": ^16.0.0 html-loader: ^3.1.0 - react: 16.14.0 - react-dom: 16.14.0 typescript: ~4.9.3 webpack: 5 peerDependencies: @@ -6778,8 +6770,6 @@ __metadata: "@storybook/core-webpack": 7.0.0-alpha.58 "@types/node": ^16.0.0 preact: ^10.5.13 - react: 16.14.0 - react-dom: 16.14.0 typescript: ~4.9.3 peerDependencies: "@babel/core": "*" @@ -6834,8 +6824,6 @@ __metadata: fs-extra: ^9.0.1 global: ^4.4.0 jest-specific-snapshot: ^7.0.0 - react: 16.14.0 - react-dom: 16.14.0 safe-identifier: ^0.4.1 ts-dedent: ^2.0.0 typescript: ~4.9.3 @@ -6850,8 +6838,6 @@ __metadata: dependencies: "@storybook/core-webpack": 7.0.0-alpha.58 "@storybook/node-logger": 7.0.0-alpha.58 - react: 16.14.0 - react-dom: 16.14.0 svelte: ^3.31.2 svelte-loader: ^3.1.2 sveltedoc-parser: ^4.2.1 @@ -6871,8 +6857,6 @@ __metadata: "@storybook/core-webpack": 7.0.0-alpha.58 "@storybook/docs-tools": 7.0.0-alpha.58 "@types/node": ^16.0.0 - react: 16.14.0 - react-dom: 16.14.0 ts-loader: ^9.2.8 typescript: ~4.9.3 vue: ^2.6.12 @@ -6899,8 +6883,6 @@ __metadata: "@storybook/docs-tools": 7.0.0-alpha.58 "@types/node": ^16.0.0 "@vue/compiler-sfc": ^3.2.33 - react: 16.14.0 - react-dom: 16.14.0 ts-loader: ^9.2.8 typescript: ~4.9.3 vue: ^3.2.33 @@ -6928,8 +6910,6 @@ __metadata: babel-loader: ^7.0.0 || ^8.0.0 babel-plugin-bundled-import-meta: ^0.3.1 lit-html: 2.0.2 - react: 16.14.0 - react-dom: 16.14.0 typescript: ~4.9.3 peerDependencies: lit-html: ^1.4.1 || ^2.0.0 @@ -7407,9 +7387,10 @@ __metadata: "@storybook/preset-server-webpack": 7.0.0-alpha.58 "@storybook/server": 7.0.0-alpha.58 "@types/node": ^16.0.0 - react: 16.14.0 - react-dom: 16.14.0 typescript: ~4.9.3 + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 languageName: unknown linkType: soft @@ -7421,8 +7402,6 @@ __metadata: "@storybook/preview-api": 7.0.0-alpha.58 "@storybook/types": 7.0.0-alpha.58 global: ^4.4.0 - react: 16.14.0 - react-dom: 16.14.0 ts-dedent: ^2.0.0 typescript: ~4.9.3 languageName: unknown @@ -7471,6 +7450,8 @@ __metadata: vite: ^3.1.3 peerDependencies: "@storybook/addon-svelte-csf": ^2.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: "@storybook/addon-svelte-csf": optional: true @@ -7485,13 +7466,13 @@ __metadata: "@storybook/core-common": 7.0.0-alpha.58 "@storybook/preset-svelte-webpack": 7.0.0-alpha.58 "@storybook/svelte": 7.0.0-alpha.58 - react: 16.14.0 - react-dom: 16.14.0 svelte: ^3.48.0 svelte-loader: ^3.1.2 typescript: ~4.9.3 peerDependencies: "@babel/core": "*" + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 svelte: ^3.48.0 svelte-loader: "*" languageName: unknown @@ -7508,8 +7489,6 @@ __metadata: "@storybook/types": 7.0.0-alpha.58 expect-type: ^0.14.2 global: ^4.4.0 - react: 16.14.0 - react-dom: 16.14.0 svelte: ^3.31.2 svelte-check: ^2.9.2 sveltedoc-parser: ^4.2.1 @@ -7638,6 +7617,8 @@ __metadata: vue: ^2.7.10 vue-docgen-api: ^4.40.0 peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 vue: ^2.7.0 languageName: unknown linkType: soft @@ -7651,8 +7632,6 @@ __metadata: "@storybook/preset-vue-webpack": 7.0.0-alpha.58 "@storybook/vue": 7.0.0-alpha.58 "@types/node": ^16.0.0 - react: 16.14.0 - react-dom: 16.14.0 typescript: ~4.9.3 vue: ^2.6.12 vue-loader: ^15.7.0 @@ -7661,6 +7640,8 @@ __metadata: "@babel/core": "*" babel-loader: ^7.0.0 || ^8.0.0 || ^9.0.0 css-loader: "*" + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 vue: ^2.6.8 vue-loader: ^15.7.0 vue-template-compiler: ^2.6.8 @@ -7680,6 +7661,9 @@ __metadata: typescript: ~4.9.3 vite: ^3.1.3 vue-docgen-api: ^4.40.0 + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 languageName: unknown linkType: soft @@ -7693,14 +7677,14 @@ __metadata: "@storybook/vue3": 7.0.0-alpha.58 "@types/node": ^16.0.0 "@vue/compiler-sfc": 3.0.0 - react: 16.14.0 - react-dom: 16.14.0 typescript: ~4.9.3 vue: 3.0.0 peerDependencies: "@babel/core": "*" "@vue/compiler-sfc": ^3.0.0 babel-loader: ^7.0.0 || ^8.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 vue: ^3.0.0 languageName: unknown linkType: soft @@ -7716,20 +7700,13 @@ __metadata: "@storybook/types": 7.0.0-alpha.58 "@vue/vue3-jest": 29 global: ^4.4.0 - react: 16.14.0 - react-dom: 16.14.0 ts-dedent: ^2.0.0 type-fest: 2.19.0 typescript: ~4.9.3 vue: ^3.2.41 vue-tsc: ^1.0.8 peerDependencies: - "@babel/core": "*" - babel-loader: ^7.0.0 || ^8.0.0 vue: ^3.0.0 - peerDependenciesMeta: - babel-loader: - optional: true languageName: unknown linkType: soft @@ -7743,8 +7720,6 @@ __metadata: "@storybook/preview-api": 7.0.0-alpha.58 "@storybook/types": 7.0.0-alpha.58 global: ^4.4.0 - react: 16.14.0 - react-dom: 16.14.0 ts-dedent: ^2.0.0 type-fest: 2.19.0 typescript: ~4.9.3 @@ -7773,6 +7748,9 @@ __metadata: magic-string: ^0.26.1 typescript: ~4.9.3 vite: ^3.1.0 + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 languageName: unknown linkType: soft @@ -7787,11 +7765,11 @@ __metadata: "@storybook/web-components": 7.0.0-alpha.58 "@types/node": ^16.0.0 lit-html: 2.0.2 - react: 16.14.0 - react-dom: 16.14.0 typescript: ~4.9.3 peerDependencies: lit-html: ^1.4.1 || ^2.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 languageName: unknown linkType: soft @@ -7808,8 +7786,6 @@ __metadata: global: ^4.4.0 lit: 2.3.1 lit-html: 2.0.2 - react: 16.14.0 - react-dom: 16.14.0 ts-dedent: ^2.0.0 typescript: ~4.9.3 peerDependencies: @@ -8415,9 +8391,9 @@ __metadata: linkType: hard "@types/lodash@npm:^4.14.167": - version: 4.14.190 - resolution: "@types/lodash@npm:4.14.190" - checksum: 512ce560e96bf1090c80bacfcb1b472311a549283efd6009b96c7b9284d8cfaed3950489d0e6ea136930d590dcef65869fe4e9ea94437b2753502fa77fcfd2e6 + version: 4.14.191 + resolution: "@types/lodash@npm:4.14.191" + checksum: cca0bc3b5f1193a50a39a9c6e14892e7cf57ab81ca05985e1ccee0d732dd3b22a8d669fa87560757051c6d73f4f63a2e2248ce9a7d9c159d0d5e3f331baf6a62 languageName: node linkType: hard @@ -8499,16 +8475,16 @@ __metadata: linkType: hard "@types/node@npm:*, @types/node@npm:>= 8, @types/node@npm:^18.7.20": - version: 18.11.9 - resolution: "@types/node@npm:18.11.9" - checksum: aeaa925406f841c41679b32def9391a9892171e977105e025050e9f66e2830b4c50d0d974a1af0077ead3337a1f3bdf49ee7e7f402ebf2e034a3f97d9d240dba + version: 18.11.10 + resolution: "@types/node@npm:18.11.10" + checksum: 29fcbfa60c7fd32c36eb444f419e4eae391fb7a7e383c6fd7f9dac8ac5a11b0e2aa810b945a05b83daaaa2db11b3f3bdec61984962315959e5b5cd93b35f724b languageName: node linkType: hard "@types/node@npm:^16.0.0": - version: 16.18.3 - resolution: "@types/node@npm:16.18.3" - checksum: 058ddd61a3d39f517bc9c30b82b9d6257d903e84c42ba66aae63bd13203b6deb2acf7f7e14caefd5d7cebadbe8c90604c04f9851cd41cd6a1bc2fc4dcec85f01 + version: 16.18.4 + resolution: "@types/node@npm:16.18.4" + checksum: ab6d44e3715b3cdf32d6bf3f0c77001dcaf85d79a7de294a978bd9c8f433e0a93558b12f2407f8bb5f436408c5ea25f060b51b4995e6fb093a8c5a22420bd1c4 languageName: node linkType: hard @@ -13561,12 +13537,12 @@ __metadata: linkType: hard "css-tree@npm:^2.0.1": - version: 2.2.1 - resolution: "css-tree@npm:2.2.1" + version: 2.3.0 + resolution: "css-tree@npm:2.3.0" dependencies: - mdn-data: 2.0.28 + mdn-data: 2.0.30 source-map-js: ^1.0.1 - checksum: 47e87b0f02f8ac22f57eceb65c58011dd142d2158128882a0bf963cf2eabb81a4ebbc2e3790c8289be7919fa8b83750c7b69272bd66772c708143b772ba3c186 + checksum: 330555bdb51ca547a1d5a1f07a054af11ba70f782a9641c9a9ddc4f1063cbd10bda19dcb7077bbcb122ba69de270666c1232ed5ed933a393285c7723576498bb languageName: node linkType: hard @@ -14900,8 +14876,8 @@ __metadata: linkType: hard "ember-source@npm:~3.28.1": - version: 3.28.10 - resolution: "ember-source@npm:3.28.10" + version: 3.28.11 + resolution: "ember-source@npm:3.28.11" dependencies: "@babel/helper-module-imports": ^7.8.3 "@babel/plugin-transform-block-scoping": ^7.8.3 @@ -14929,7 +14905,7 @@ __metadata: resolve: ^1.17.0 semver: ^7.3.4 silent-error: ^1.1.1 - checksum: 5dc9fa1d16084fc6b2c3b4210a26246ba8d8d6ae21e381b4d2d3810ed397e06bc699f2d5c7d86abfe5426e9ba808b350e5a244c1e2c81d8beabe63b81b2b2f92 + checksum: 232ed27d63e01a4f02928f07beca37b5d97a2370165040681327671d0714e6221986db07ea643af251a2434bd530272d96fabbdd5f6d956acc35bc53b0d4e519 languageName: node linkType: hard @@ -23389,10 +23365,10 @@ __metadata: languageName: node linkType: hard -"mdn-data@npm:2.0.28": - version: 2.0.28 - resolution: "mdn-data@npm:2.0.28" - checksum: 20000932bc4cd1cde9cba4e23f08cc4f816398af4c15ec81040ed25421d6bf07b5cf6b17095972577fb498988f40f4cb589e3169b9357bb436a12d8e07e5ea7b +"mdn-data@npm:2.0.30": + version: 2.0.30 + resolution: "mdn-data@npm:2.0.30" + checksum: a2c472ea16cee3911ae742593715aa4c634eb3d4b9f1e6ada0902aa90df13dcbb7285d19435f3ff213ebaa3b2e0c0265c1eb0e3fb278fda7f8919f046a410cd9 languageName: node linkType: hard @@ -27528,7 +27504,7 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:16.14.0, react-dom@npm:^16.14.0, react-dom@npm:^16.8.0": +"react-dom@npm:^16.8.0": version: 16.14.0 resolution: "react-dom@npm:16.14.0" dependencies: @@ -27763,7 +27739,7 @@ __metadata: languageName: node linkType: hard -"react@npm:16.14.0, react@npm:^16.14.0": +"react@npm:^16.14.0": version: 16.14.0 resolution: "react@npm:16.14.0" dependencies: @@ -29198,9 +29174,9 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^3.2.5": - version: 3.5.0 - resolution: "rollup@npm:3.5.0" +"rollup@npm:^3.0.0, rollup@npm:^3.2.5": + version: 3.5.1 + resolution: "rollup@npm:3.5.1" dependencies: fsevents: ~2.3.2 dependenciesMeta: @@ -29208,7 +29184,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 15ac1b50c436c90d690f606dc0004eb80ff172ae38469a45494dd13e45723ebe9ec56f6122c0e834f2e51b092706b89e02ab5dc59dc42ff1f289bec558b68ab0 + checksum: 6e9621f169e79df96e6c22780a579c274f5be2b8fee3d5bffe29dda989263b6800ec8b276939ce6feab46aa0f5980a71505e1f80b2552fb90c848669c61907a7 languageName: node linkType: hard @@ -31384,11 +31360,11 @@ __metadata: linkType: hard "telejson@npm:^7.0.3": - version: 7.0.3 - resolution: "telejson@npm:7.0.3" + version: 7.0.4 + resolution: "telejson@npm:7.0.4" dependencies: memoizerific: ^1.11.3 - checksum: b62fc7bd405d8fecb26fed6af104b1bbf41ae52b458a4ca4c1ed9d99ee01ea23a7c24b33d711969a30ca13281e03453369c2872727d88b289c402a15276035f6 + checksum: c23c2b6baf3f1c195f7c0b0c34e8c53b490e42324cde06fab52a8de9216ef0b59af81d396b882a47cbe8c0cebc9563e45a3d52a50a5e0b45cddfbf2bab94ce86 languageName: node linkType: hard @@ -31965,8 +31941,8 @@ __metadata: linkType: hard "ts-loader@npm:^9.2.8": - version: 9.4.1 - resolution: "ts-loader@npm:9.4.1" + version: 9.4.2 + resolution: "ts-loader@npm:9.4.2" dependencies: chalk: ^4.1.0 enhanced-resolve: ^5.0.0 @@ -31975,7 +31951,7 @@ __metadata: peerDependencies: typescript: "*" webpack: ^5.0.0 - checksum: df0969a2167fa8ab04f86b87aeb521525b749b14f65e22894889cbbb7c9053b1a277a700a98bdd62df76de08260bb1ed13d0ad676849312b3c280c3ceba39859 + checksum: d5a9ecf5440c82724d78b20e08965eebf4b23fcdf644d215e089144794faaaf955564c83b13954728a6f10c7bef292d3990905870152275191779c8661385c77 languageName: node linkType: hard @@ -32075,13 +32051,13 @@ __metadata: linkType: hard "tsconfig-paths@npm:^4.0.0": - version: 4.1.0 - resolution: "tsconfig-paths@npm:4.1.0" + version: 4.1.1 + resolution: "tsconfig-paths@npm:4.1.1" dependencies: json5: ^2.2.1 minimist: ^1.2.6 strip-bom: ^3.0.0 - checksum: cadfd6a856c1e6cb96336b2802a3f3d064baee31b5d4ecaeb8bb4397cdc1e9fc5f2f085cc753042a8c8552323ad8ff7a3c98686567e1148a77acc3092ab7b328 + checksum: 1076aeea08a613b3e36b465b17bebbf2b2aa88300f940ec689294e78b451bf99e0994d7467689e5ecb3c4912b69e45f190e468137efc21fee760259fa50471fe languageName: node linkType: hard From 1dbaac55216821e920e07f7e87d7872e9a9a7ea3 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 6 Dec 2022 17:03:15 +0100 Subject: [PATCH 19/37] Rework nextjs parameters --- code/frameworks/nextjs/README.md | 104 +++++++++++------- .../nextjs/src/routing/decorator.tsx | 7 +- .../stories_default-js/Link.stories.jsx | 4 +- .../stories_default-js/Navigation.stories.jsx | 12 +- .../stories_default-js/Router.stories.jsx | 10 +- .../stories_default-ts/Link.stories.tsx | 4 +- .../stories_default-ts/Navigation.stories.tsx | 12 +- 7 files changed, 92 insertions(+), 61 deletions(-) diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index bcb7a432b04e..c2369cbc7d11 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -178,9 +178,9 @@ This format is not supported by this framework yet. Feel free to [open up an iss Please note that [next/navigation](https://beta.nextjs.org/docs/upgrade-guide#step-5-migrating-routing-hooks) can only be used in components/pages of the `app` directory of Next.js v13 or higher. -#### Set `nextAppDirectory` to `app` +#### Set `nextjs.appDirectory` to `app` -If your story imports components that use `next/navigation`, you need to set the parameter `nextAppDirectory` to `true` in your Story: +If your story imports components that use `next/navigation`, you need to set the parameter `nextjs.appDirectory` to `true` in your Story: ```js // SomeComponentThatUsesTheRouter.stories.js @@ -194,22 +194,28 @@ export default { // you can click the links and see the route change events there export const Example = { parameters: { - nextAppDirectory: true, + nextjs: { + appDirectory: true, + }, }, }, ``` -If your Next.js project uses the `app` directory for every page (in other words, it does not have a `pages` directory), you can set the parameter `nextAppDirectory` to `true` in the [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) file to apply it to all stories. +If your Next.js project uses the `app` directory for every page (in other words, it does not have a `pages` directory), you can set the parameter `nextjs.appDirectory` to `true` in the [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) file to apply it to all stories. ```js // .storybook/preview.js export const parameters = { - nextAppDirectory: true, + nextjs: { + appDirectory: true, + }, }; ``` -The parameter `nextAppDirectory` defaults to `false` if not set. +The parameter `nextjs.appDirectory` defaults to `false` if not set. + +Please consider, that parameters are not deep merged. If you set `nextjs.appDirectory` to `true` in the [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) file, you need to set it as well in your story, as soon as you want to set other options on the nextjs parameter. #### Default Navigation Context @@ -248,11 +254,13 @@ Global defaults can be set in [preview.js](https://storybook.js.org/docs/react/c // .storybook/preview.js export const parameters = { - nextAppDirectory: true, - nextNavigation: { - pathname: '/some-default-path', - query: { - foo: 'bar', + nextjs: { + appDirectory: true, + navigation: { + pathname: '/some-default-path', + query: { + foo: 'bar', + }, }, }, }; @@ -266,10 +274,12 @@ If you override a function, you lose the automatic action tab integration and ha // .storybook/preview.js export const parameters = { - nextAppDirectory: true, - nextNavigation: { - push() { - // The default implementation that logs the action into the action tab is lost + nextjs: { + appDirectory: true, + navigation: { + push() { + // The default implementation that logs the action into the action tab is lost + }, }, }, }; @@ -282,14 +292,16 @@ Doing this yourself looks something like this (make sure you install the `@story import { action } from '@storybook/addon-actions'; export const parameters = { - nextAppDirectory: true, - nextNavigation: { - push(...args) { - // custom logic can go here - // this logs to the actions tab - action('nextNavigation.push')(...args); - // return whatever you want here - return Promise.resolve(true); + nextjs: { + appDirectory: true, + navigation: { + push(...args) { + // custom logic can go here + // this logs to the actions tab + action('nextNavigation.push')(...args); + // return whatever you want here + return Promise.resolve(true); + }, }, }, }; @@ -317,11 +329,13 @@ export default { // you can click the links and see the route change events there export const Example = { parameters: { - nextRouter: { - path: '/profile/[id]', - asPath: '/profile/ryanclementshax', - query: { - id: 'ryanclementshax', + nextjs: { + router: { + path: '/profile/[id]', + asPath: '/profile/ryanclementshax', + query: { + id: 'ryanclementshax', + }, }, }, }, @@ -336,10 +350,12 @@ Global defaults can be set in [preview.js](https://storybook.js.org/docs/react/c // .storybook/preview.js export const parameters = { - nextRouter: { - path: '/some-default-path', - asPath: '/some-default-path', - query: {}, + nextjs: { + router: { + path: '/some-default-path', + asPath: '/some-default-path', + query: {}, + }, }, }; ``` @@ -406,9 +422,11 @@ If you override a function, you lose the automatic action tab integration and ha // .storybook/preview.js export const parameters = { - nextRouter: { - push() { - // The default implementation that logs the action into the action tab is lost + nextjs: { + router: { + push() { + // The default implementation that logs the action into the action tab is lost + }, }, }, }; @@ -421,13 +439,15 @@ Doing this yourself looks something like this (make sure you install the `@story import { action } from '@storybook/addon-actions'; export const parameters = { - nextRouter: { - push(...args) { - // custom logic can go here - // this logs to the actions tab - action('nextRouter.push')(...args); - // return whatever you want here - return Promise.resolve(true); + nextjs: { + router: { + push(...args) { + // custom logic can go here + // this logs to the actions tab + action('nextRouter.push')(...args); + // return whatever you want here + return Promise.resolve(true); + }, }, }, }; diff --git a/code/frameworks/nextjs/src/routing/decorator.tsx b/code/frameworks/nextjs/src/routing/decorator.tsx index 25e675647442..4e5d9e2390e5 100644 --- a/code/frameworks/nextjs/src/routing/decorator.tsx +++ b/code/frameworks/nextjs/src/routing/decorator.tsx @@ -31,7 +31,8 @@ export const RouterDecorator = ( Story: React.FC, { globals, parameters }: Addon_StoryContext ): React.ReactNode => { - const nextAppDirectory = (parameters.nextAppDirectory as NextAppDirectory | undefined) ?? false; + const nextAppDirectory = + (parameters.nextjs?.appDirectory as NextAppDirectory | undefined) ?? false; if (nextAppDirectory) { return ( @@ -39,7 +40,7 @@ export const RouterDecorator = ( action={action} routeParams={{ ...defaultRouterParams, - ...parameters.nextNavigation, + ...parameters.nextjs?.navigation, }} > @@ -53,7 +54,7 @@ export const RouterDecorator = ( globals={globals} routeParams={{ ...defaultRouterParams, - ...parameters.nextRouter, + ...parameters.nextjs?.router, }} > diff --git a/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx b/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx index 37a6d3949c65..f9fcb28b6253 100644 --- a/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx +++ b/code/frameworks/nextjs/template/stories_default-js/Link.stories.jsx @@ -75,6 +75,8 @@ export const Default = {}; export const InAppDir = { parameters: { - nextAppDirectory: true, + nextjs: { + appDirectory: true, + }, }, }; diff --git a/code/frameworks/nextjs/template/stories_default-js/Navigation.stories.jsx b/code/frameworks/nextjs/template/stories_default-js/Navigation.stories.jsx index 0fa1f53b99d2..5335fa098ae6 100644 --- a/code/frameworks/nextjs/template/stories_default-js/Navigation.stories.jsx +++ b/code/frameworks/nextjs/template/stories_default-js/Navigation.stories.jsx @@ -62,11 +62,13 @@ function Component() { export default { component: Component, parameters: { - nextAppDirectory: true, - nextNavigation: { - pathname: '/hello', - query: { - foo: 'bar', + nextjs: { + appDirectory: true, + navigation: { + pathname: '/hello', + query: { + foo: 'bar', + }, }, }, }, diff --git a/code/frameworks/nextjs/template/stories_default-js/Router.stories.jsx b/code/frameworks/nextjs/template/stories_default-js/Router.stories.jsx index c0733e21e584..2ea7511a2f4e 100644 --- a/code/frameworks/nextjs/template/stories_default-js/Router.stories.jsx +++ b/code/frameworks/nextjs/template/stories_default-js/Router.stories.jsx @@ -55,10 +55,12 @@ function Component() { export default { component: Component, parameters: { - nextRouter: { - pathname: '/hello', - query: { - foo: 'bar', + nextjs: { + router: { + pathname: '/hello', + query: { + foo: 'bar', + }, }, }, }, diff --git a/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx index dad960906778..1bc99d187e3d 100644 --- a/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx +++ b/code/frameworks/nextjs/template/stories_default-ts/Link.stories.tsx @@ -78,6 +78,8 @@ export const Default: StoryObj = {}; export const InAppDir: StoryObj = { parameters: { - nextAppDirectory: true, + nextjs: { + appDirectory: true, + }, }, }; diff --git a/code/frameworks/nextjs/template/stories_default-ts/Navigation.stories.tsx b/code/frameworks/nextjs/template/stories_default-ts/Navigation.stories.tsx index 6d971e45778e..a4c2f2d27758 100644 --- a/code/frameworks/nextjs/template/stories_default-ts/Navigation.stories.tsx +++ b/code/frameworks/nextjs/template/stories_default-ts/Navigation.stories.tsx @@ -63,11 +63,13 @@ function Component() { export default { component: Component, parameters: { - nextAppDirectory: true, - nextNavigation: { - pathname: '/hello', - query: { - foo: 'bar', + nextjs: { + appDirectory: true, + navigation: { + pathname: '/hello', + query: { + foo: 'bar', + }, }, }, }, From a376841ecc38f812868e5241e208d606b03c4f59 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 6 Dec 2022 17:07:05 +0100 Subject: [PATCH 20/37] Edit Readme --- code/frameworks/nextjs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index c2369cbc7d11..6b1004ce5edc 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -219,7 +219,7 @@ Please consider, that parameters are not deep merged. If you set `nextjs.appDire #### Default Navigation Context -The default values on the stubbed navigation context are as follows (see [globals](https://storybook.js.org/docs/react/essentials/toolbars-and-globals#globals) for more details on how globals work) +The default values on the stubbed navigation context are as follows: ```ts const defaultNavigationContext = { @@ -248,7 +248,7 @@ const defaultNavigationContext = { #### Global Defaults -Global defaults can be set in [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) and will be shallowly merged with the default router. +Global defaults can be set in [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) and will be shallowly merged with the default navigation context. ```js // .storybook/preview.js From 540f325135c7b06541b30c7049971abbcc179f2a Mon Sep 17 00:00:00 2001 From: Rubens Mariuzzo Date: Tue, 6 Dec 2022 12:24:27 -0400 Subject: [PATCH 21/37] Add whitespace. --- docs/configure/images-and-assets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configure/images-and-assets.md b/docs/configure/images-and-assets.md index 43eeb003a01b..9237bd4402b9 100644 --- a/docs/configure/images-and-assets.md +++ b/docs/configure/images-and-assets.md @@ -33,7 +33,7 @@ Afterward, you can use any asset in your stories: We recommend serving static files via Storybook to ensure that your components always have the assets they need to load. We recommend this technique for assets that your components often use, like logos, fonts, and icons. -Configure a directory (or a list of directories) where your assets live when starting Storybook. Use the`staticDirs` configuration element in your main Storybook configuration file (i.e., `.storybook/main.js`) to specify the directories: +Configure a directory (or a list of directories) where your assets live when starting Storybook. Use the `staticDirs` configuration element in your main Storybook configuration file (i.e., `.storybook/main.js`) to specify the directories: From a363f4937754f10f7564dbf62e2e05f3b46419cc Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Dec 2022 17:32:09 +0100 Subject: [PATCH 22/37] change path to export, the export map isn't taken into account by node, looks like.. --- code/addons/essentials/package.json | 2 +- code/addons/essentials/src/docs/preset.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json index 0bf1605240ad..c3b97965155e 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -62,7 +62,7 @@ "import": "./dist/docs/preset.mjs", "types": "./dist/docs/preset.d.ts" }, - "./docs/mdx-react-shim": { + "./dist/docs/mdx-react-shim": { "require": "./dist/docs/mdx-react-shim.js", "import": "./dist/docs/mdx-react-shim.mjs", "types": "./dist/docs/mdx-react-shim.d.ts" diff --git a/code/addons/essentials/src/docs/preset.ts b/code/addons/essentials/src/docs/preset.ts index 4dc5ec306b66..98b6418fe58a 100644 --- a/code/addons/essentials/src/docs/preset.ts +++ b/code/addons/essentials/src/docs/preset.ts @@ -3,6 +3,7 @@ export * from '@storybook/addon-docs/dist/preset'; export const mdxLoaderOptions = async (config: any) => { // eslint-disable-next-line no-param-reassign - config.mdxCompileOptions.providerImportSource = '@storybook/addon-essential/docs/mdx-react-shim'; + config.mdxCompileOptions.providerImportSource = + '@storybook/addon-essential/dist/docs/mdx-react-shim'; return config; }; From e8d1c08eb91fb0369bae4b48e162cabda42006ad Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Dec 2022 18:20:31 +0100 Subject: [PATCH 23/37] fix typo --- code/addons/essentials/package.json | 2 +- code/addons/essentials/src/docs/preset.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json index c3b97965155e..0bf1605240ad 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -62,7 +62,7 @@ "import": "./dist/docs/preset.mjs", "types": "./dist/docs/preset.d.ts" }, - "./dist/docs/mdx-react-shim": { + "./docs/mdx-react-shim": { "require": "./dist/docs/mdx-react-shim.js", "import": "./dist/docs/mdx-react-shim.mjs", "types": "./dist/docs/mdx-react-shim.d.ts" diff --git a/code/addons/essentials/src/docs/preset.ts b/code/addons/essentials/src/docs/preset.ts index 98b6418fe58a..af022cfece92 100644 --- a/code/addons/essentials/src/docs/preset.ts +++ b/code/addons/essentials/src/docs/preset.ts @@ -3,7 +3,6 @@ export * from '@storybook/addon-docs/dist/preset'; export const mdxLoaderOptions = async (config: any) => { // eslint-disable-next-line no-param-reassign - config.mdxCompileOptions.providerImportSource = - '@storybook/addon-essential/dist/docs/mdx-react-shim'; + config.mdxCompileOptions.providerImportSource = '@storybook/addon-essentials/docs/mdx-react-shim'; return config; }; From 7c96a908b9a691eaad34dae448a6943989bed01d Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Dec 2022 18:38:19 +0100 Subject: [PATCH 24/37] add an extra export Co-authored-by: Yann Braga --- code/addons/docs/package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index 12ac1b591454..9a162a805028 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -51,6 +51,11 @@ "import": "./dist/preset.mjs", "types": "./dist/preset.d.ts" }, + "./dist/mdx-react-shim": { + "require": "./dist/shims/mdx-react-shim.js", + "import": "./dist/shims/mdx-react-shim.mjs", + "types": "./dist/shims/mdx-react-shim.d.ts" + }, "./mdx-react-shim": { "require": "./dist/shims/mdx-react-shim.js", "import": "./dist/shims/mdx-react-shim.mjs", From 9a54fc018272820e9a59a6ba4d9f02ac585bf9b2 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 6 Dec 2022 18:40:38 +0100 Subject: [PATCH 25/37] Update code/frameworks/nextjs/README.md Co-authored-by: Kyle Gach --- code/frameworks/nextjs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index 6b1004ce5edc..b0fd332c5926 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -178,7 +178,7 @@ This format is not supported by this framework yet. Feel free to [open up an iss Please note that [next/navigation](https://beta.nextjs.org/docs/upgrade-guide#step-5-migrating-routing-hooks) can only be used in components/pages of the `app` directory of Next.js v13 or higher. -#### Set `nextjs.appDirectory` to `app` +#### Set `nextjs.appDirectory` to `true` If your story imports components that use `next/navigation`, you need to set the parameter `nextjs.appDirectory` to `true` in your Story: From c415909850e6a8cd2526d5a29ab45f70a5f007db Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Dec 2022 18:47:59 +0100 Subject: [PATCH 26/37] fix lockfile --- code/yarn.lock | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/yarn.lock b/code/yarn.lock index b9ee5c21e38a..295a603943e9 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -6188,9 +6188,6 @@ __metadata: ts-dedent: ^2.0.0 type-fest: ^2.19.0 typescript: ~4.9.3 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: typescript: optional: true From 41f6a54bde5a1ccec29d602e768a6794b570f9f7 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Dec 2022 18:55:26 +0100 Subject: [PATCH 27/37] make it work --- code/addons/docs/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index 9a162a805028..0e75dd1270ab 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -51,7 +51,7 @@ "import": "./dist/preset.mjs", "types": "./dist/preset.d.ts" }, - "./dist/mdx-react-shim": { + "./dist/shims/mdx-react-shim": { "require": "./dist/shims/mdx-react-shim.js", "import": "./dist/shims/mdx-react-shim.mjs", "types": "./dist/shims/mdx-react-shim.d.ts" From c6d966eb641c84eb832a04f39784b9ef975aa93f Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Wed, 7 Dec 2022 12:18:44 +1100 Subject: [PATCH 28/37] Deal with a lot of different edge cases for git URLs --- code/lib/telemetry/src/anonymous-id.test.ts | 75 +++++++++++++++++++++ code/lib/telemetry/src/anonymous-id.ts | 17 ++++- 2 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 code/lib/telemetry/src/anonymous-id.test.ts diff --git a/code/lib/telemetry/src/anonymous-id.test.ts b/code/lib/telemetry/src/anonymous-id.test.ts new file mode 100644 index 000000000000..1e776dce841f --- /dev/null +++ b/code/lib/telemetry/src/anonymous-id.test.ts @@ -0,0 +1,75 @@ +import { normalizeGitUrl } from './anonymous-id'; + +describe('normalizeGitUrl', () => { + it('trims off https://', () => { + expect(normalizeGitUrl('https://github.com/storybookjs/storybook.git')).toEqual( + 'github.com/storybookjs/storybook.git' + ); + }); + + it('trims off http://', () => { + expect(normalizeGitUrl('http://github.com/storybookjs/storybook.git')).toEqual( + 'github.com/storybookjs/storybook.git' + ); + }); + + it('trims off git+https://', () => { + expect(normalizeGitUrl('git+https://github.com/storybookjs/storybook.git')).toEqual( + 'github.com/storybookjs/storybook.git' + ); + }); + + it('trims off https://username@', () => { + expect(normalizeGitUrl('https://username@github.com/storybookjs/storybook.git')).toEqual( + 'github.com/storybookjs/storybook.git' + ); + }); + + it('trims off http://username@', () => { + expect(normalizeGitUrl('http://username@github.com/storybookjs/storybook.git')).toEqual( + 'github.com/storybookjs/storybook.git' + ); + }); + + it('trims off https://username:password@', () => { + expect( + normalizeGitUrl('https://username:password@github.com/storybookjs/storybook.git') + ).toEqual('github.com/storybookjs/storybook.git'); + }); + + it('trims off http://username:password@', () => { + expect( + normalizeGitUrl('http://username:password@github.com/storybookjs/storybook.git') + ).toEqual('github.com/storybookjs/storybook.git'); + }); + + it('trims off git://', () => { + expect(normalizeGitUrl('git://github.com/storybookjs/storybook.git')).toEqual( + 'github.com/storybookjs/storybook.git' + ); + }); + + it('trims off git@', () => { + expect(normalizeGitUrl('git@github.com:storybookjs/storybook.git')).toEqual( + 'github.com/storybookjs/storybook.git' + ); + }); + + it('trims off git+ssh://git@', () => { + expect(normalizeGitUrl('git+ssh://git@github.com:storybookjs/storybook.git')).toEqual( + 'github.com/storybookjs/storybook.git' + ); + }); + + it('trims off ssh://git@', () => { + expect(normalizeGitUrl('ssh://git@github.com:storybookjs/storybook.git')).toEqual( + 'github.com/storybookjs/storybook.git' + ); + }); + + it('trims off #hash', () => { + expect(normalizeGitUrl('https://github.com/storybookjs/storybook.git#next')).toEqual( + 'github.com/storybookjs/storybook.git' + ); + }); +}); diff --git a/code/lib/telemetry/src/anonymous-id.ts b/code/lib/telemetry/src/anonymous-id.ts index aa3c07cb318d..2584e067237f 100644 --- a/code/lib/telemetry/src/anonymous-id.ts +++ b/code/lib/telemetry/src/anonymous-id.ts @@ -1,8 +1,23 @@ import path from 'path'; import { execSync } from 'child_process'; import { getProjectRoot } from '@storybook/core-common'; + import { oneWayHash } from './one-way-hash'; +const USERNAME_REGEXP = /^.*@(.*:?)/; +export function normalizeGitUrl(rawUrl: string) { + // I don't *think* its possible to set a hash on a origin URL, but just in case + const urlWithoutHash = rawUrl.replace(/#.*$/, ''); + + // Strip anything ahead of an @ + const urlWithoutUser = urlWithoutHash.replace(/^.*@/, ''); + + // Now strip off scheme + const urlWithoutScheme = urlWithoutUser.replace(/^.*\/\//, ''); + + return urlWithoutScheme.replace(':', '/'); +} + let anonymousProjectId: string; export const getAnonymousProjectId = () => { if (anonymousProjectId) { @@ -22,7 +37,7 @@ export const getAnonymousProjectId = () => { // we use a combination of remoteUrl and working directory // to separate multiple storybooks from the same project (e.g. monorepo) - unhashedProjectId = `${String(originBuffer).trim()}${projectRootPath}`; + unhashedProjectId = `${normalizeGitUrl(String(originBuffer))}${projectRootPath}`; anonymousProjectId = oneWayHash(unhashedProjectId); } catch (_) { From 7fd5ec25bf982cc8e899bbca398423488969a51d Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Wed, 7 Dec 2022 12:54:42 +1100 Subject: [PATCH 29/37] Removed unused code --- code/lib/telemetry/src/anonymous-id.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/code/lib/telemetry/src/anonymous-id.ts b/code/lib/telemetry/src/anonymous-id.ts index 2584e067237f..4f12cf19e5c9 100644 --- a/code/lib/telemetry/src/anonymous-id.ts +++ b/code/lib/telemetry/src/anonymous-id.ts @@ -4,7 +4,6 @@ import { getProjectRoot } from '@storybook/core-common'; import { oneWayHash } from './one-way-hash'; -const USERNAME_REGEXP = /^.*@(.*:?)/; export function normalizeGitUrl(rawUrl: string) { // I don't *think* its possible to set a hash on a origin URL, but just in case const urlWithoutHash = rawUrl.replace(/#.*$/, ''); From 8d2ebf51becbd97fc667ce7bc65fa13708064616 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 7 Dec 2022 11:31:23 +0800 Subject: [PATCH 30/37] Clean up babelModeV7 migration and code --- MIGRATION.md | 23 ++++++++----------- code/lib/core-server/src/dev-server.ts | 1 - .../core-server/src/presets/common-preset.ts | 1 - code/lib/types/src/modules/core-common.ts | 5 ---- .../external-docs/.storybook/main.cjs | 1 - 5 files changed, 9 insertions(+), 22 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 74a789b8289a..eef9f812750c 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -15,12 +15,11 @@ - [start-storybook / build-storybook binaries removed](#start-storybook--build-storybook-binaries-removed) - [storyStoreV7 enabled by default](#storystorev7-enabled-by-default) - [Webpack4 support discontinued](#webpack4-support-discontinued) - - [Modern ESM / IE11 support discontinued](#modern-esm--ie11-support-discontinued) - [Framework field mandatory](#framework-field-mandatory) - [frameworkOptions renamed](#frameworkoptions-renamed) - [Framework standalone build moved](#framework-standalone-build-moved) - [Docs modern inline rendering by default](#docs-modern-inline-rendering-by-default) - - [Babel mode v7 by default](#babel-mode-v7-by-default) + - [Babel mode v7 exclusively](#babel-mode-v7-exclusively) - [7.0 feature flags removed](#70-feature-flags-removed) - [CLI option `--use-npm` deprecated](#cli-option---use-npm-deprecated) - [Vite builder uses vite config automatically](#vite-builder-uses-vite-config-automatically) @@ -474,10 +473,6 @@ To upgrade: During the 7.0 dev cycle we will be updating this section with useful resources as we run across them. -#### Modern ESM / IE11 support discontinued - -SB7.0 compiles to modern ESM, meaning that IE11 is no longer supported. Over the course of the 7.0 dev cycle we will create recommendations for users who still require IE support. - #### Framework field mandatory In 6.4 we introduced a new `main.js` field called [`framework`](#mainjs-framework-field). Starting in 7.0, this field is mandatory. @@ -550,18 +545,18 @@ module.exports = { }; ``` -#### Babel mode v7 by default +#### Babel mode v7 exclusively -Storybook now uses your project babel configuration differently as [described below in Babel Mode v7](#babel-mode-v7). This is now the default. To opt-out: +Storybook now uses [Babel mode v7](#babel-mode-v7) exclusively. In 6.x, Storybook provided its own babel settings out of the box. Now, Storybook's uses your project's babel settings (`.babelrc`, `babel.config.js`, etc.) instead. -```js -module.exports = { - features: { - babelModeV7: false, - }, -}; +In the new mode, Storybook expects you to provide a configuration file. If you want a configuration file that's equivalent to the 6.x default, you can run the following command in your project directory: + +```sh +npx sb@next babelrc ``` +This will create a `.babelrc.json` file. This file includes a bunch of babel plugins, so you may need to add new package devDependencies accordingly. + #### 7.0 feature flags removed Storybook uses temporary feature flags to opt-in to future breaking changes or opt-in to legacy behaviors. For example: diff --git a/code/lib/core-server/src/dev-server.ts b/code/lib/core-server/src/dev-server.ts index da57ef80980f..41e17717a2a3 100644 --- a/code/lib/core-server/src/dev-server.ts +++ b/code/lib/core-server/src/dev-server.ts @@ -178,7 +178,6 @@ async function getStoryIndexGenerator( storyStoreV7?: boolean; breakingChangesV7?: boolean; interactionsDebugger?: boolean; - babelModeV7?: boolean; argTypeTargetsV7?: boolean; warnOnLegacyHierarchySeparator?: boolean; }, diff --git a/code/lib/core-server/src/presets/common-preset.ts b/code/lib/core-server/src/presets/common-preset.ts index 01b3a18eabae..aa9a2f06c9b9 100644 --- a/code/lib/core-server/src/presets/common-preset.ts +++ b/code/lib/core-server/src/presets/common-preset.ts @@ -99,7 +99,6 @@ export const features = async ( storyStoreV7: true, breakingChangesV7: true, interactionsDebugger: false, - babelModeV7: true, argTypeTargetsV7: true, }); diff --git a/code/lib/types/src/modules/core-common.ts b/code/lib/types/src/modules/core-common.ts index 4ab30555e9d8..94fa3b310c0e 100644 --- a/code/lib/types/src/modules/core-common.ts +++ b/code/lib/types/src/modules/core-common.ts @@ -309,11 +309,6 @@ export interface StorybookConfig { */ interactionsDebugger?: boolean; - /** - * Use Storybook 7.0 babel config scheme - */ - babelModeV7?: boolean; - /** * Filter args with a "target" on the type from the render function (EXPERIMENTAL) */ diff --git a/test-storybooks/external-docs/.storybook/main.cjs b/test-storybooks/external-docs/.storybook/main.cjs index 486b1de2e1b1..fbe15b8582ac 100644 --- a/test-storybooks/external-docs/.storybook/main.cjs +++ b/test-storybooks/external-docs/.storybook/main.cjs @@ -22,7 +22,6 @@ const config = { features: { storyStoreV7: !global.navigator?.userAgent?.match?.('jsdom'), buildStoriesJson: true, - babelModeV7: true, warnOnLegacyHierarchySeparator: false, previewMdx2: true, }, From 63fd52ced31a7f96aa2a98949da9906243b2ae9e Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 7 Dec 2022 12:15:02 +0800 Subject: [PATCH 31/37] 7.0.0-alpha.60 changelog --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24f0a1fb24ed..60ee15445035 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## 7.0.0-alpha.60 (December 7, 2022) + +#### Bug Fixes + +- Deal with a lot of different edge cases for git URLs [#20115](https://github.com/storybooks/storybook/pull/20115) + +#### Maintenance + +- Clean up babelModeV7 migration and code [#20117](https://github.com/storybooks/storybook/pull/20117) +- Fix peer dependencies for npm8/pnpm/yarn pnp [#20110](https://github.com/storybooks/storybook/pull/20110) +- Remove peer deps from core-common [#20109](https://github.com/storybooks/storybook/pull/20109) + +#### Build + +- Add more linting config to vs-code settings.json [#20101](https://github.com/storybooks/storybook/pull/20101) + ## 7.0.0-alpha.59 (December 6, 2022) #### Features From 0c7318392431c0b76d4cff4215a328564b5535f9 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 7 Dec 2022 12:15:10 +0800 Subject: [PATCH 32/37] Update root, peer deps, version.ts/json to 7.0.0-alpha.60 [ci skip] --- .../storyshots-puppeteer/package.json | 2 +- code/lib/cli/src/versions.ts | 172 +++++++++--------- code/lib/manager-api/src/version.ts | 2 +- code/package.json | 2 +- 4 files changed, 89 insertions(+), 89 deletions(-) diff --git a/code/addons/storyshots/storyshots-puppeteer/package.json b/code/addons/storyshots/storyshots-puppeteer/package.json index ad743f6a2f3e..b05d4a59fdbc 100644 --- a/code/addons/storyshots/storyshots-puppeteer/package.json +++ b/code/addons/storyshots/storyshots-puppeteer/package.json @@ -45,7 +45,7 @@ "puppeteer": "^2.0.0 || ^3.0.0" }, "peerDependencies": { - "@storybook/addon-storyshots": "7.0.0-alpha.59", + "@storybook/addon-storyshots": "7.0.0-alpha.60", "puppeteer": ">=2.0.0" }, "peerDependenciesMeta": { diff --git a/code/lib/cli/src/versions.ts b/code/lib/cli/src/versions.ts index 1d8c734844d4..c971bc5c48d2 100644 --- a/code/lib/cli/src/versions.ts +++ b/code/lib/cli/src/versions.ts @@ -1,89 +1,89 @@ // auto generated file, do not edit export default { - '@storybook/addon-a11y': '7.0.0-alpha.59', - '@storybook/addon-actions': '7.0.0-alpha.59', - '@storybook/addon-backgrounds': '7.0.0-alpha.59', - '@storybook/addon-controls': '7.0.0-alpha.59', - '@storybook/addon-docs': '7.0.0-alpha.59', - '@storybook/addon-essentials': '7.0.0-alpha.59', - '@storybook/addon-highlight': '7.0.0-alpha.59', - '@storybook/addon-interactions': '7.0.0-alpha.59', - '@storybook/addon-jest': '7.0.0-alpha.59', - '@storybook/addon-links': '7.0.0-alpha.59', - '@storybook/addon-measure': '7.0.0-alpha.59', - '@storybook/addon-outline': '7.0.0-alpha.59', - '@storybook/addon-storyshots': '7.0.0-alpha.59', - '@storybook/addon-storyshots-puppeteer': '7.0.0-alpha.59', - '@storybook/addon-storysource': '7.0.0-alpha.59', - '@storybook/addon-toolbars': '7.0.0-alpha.59', - '@storybook/addon-viewport': '7.0.0-alpha.59', - '@storybook/addons': '7.0.0-alpha.59', - '@storybook/angular': '7.0.0-alpha.59', - '@storybook/manager-api': '7.0.0-alpha.59', - '@storybook/blocks': '7.0.0-alpha.59', - '@storybook/builder-manager': '7.0.0-alpha.59', - '@storybook/builder-vite': '7.0.0-alpha.59', - '@storybook/builder-webpack5': '7.0.0-alpha.59', - '@storybook/channel-postmessage': '7.0.0-alpha.59', - '@storybook/channel-websocket': '7.0.0-alpha.59', - '@storybook/channels': '7.0.0-alpha.59', - '@storybook/cli': '7.0.0-alpha.59', - '@storybook/client-api': '7.0.0-alpha.59', - '@storybook/client-logger': '7.0.0-alpha.59', - '@storybook/codemod': '7.0.0-alpha.59', - '@storybook/components': '7.0.0-alpha.59', - '@storybook/core-client': '7.0.0-alpha.59', - '@storybook/core-common': '7.0.0-alpha.59', - '@storybook/core-events': '7.0.0-alpha.59', - '@storybook/core-server': '7.0.0-alpha.59', - '@storybook/core-webpack': '7.0.0-alpha.59', - '@storybook/csf-tools': '7.0.0-alpha.59', - '@storybook/docs-tools': '7.0.0-alpha.59', - '@storybook/ember': '7.0.0-alpha.59', - '@storybook/html': '7.0.0-alpha.59', - '@storybook/html-webpack5': '7.0.0-alpha.59', - '@storybook/html-vite': '7.0.0-alpha.59', - '@storybook/instrumenter': '7.0.0-alpha.59', - '@storybook/nextjs': '7.0.0-alpha.59', - '@storybook/node-logger': '7.0.0-alpha.59', - '@storybook/postinstall': '7.0.0-alpha.59', - '@storybook/preact': '7.0.0-alpha.59', - '@storybook/preact-webpack5': '7.0.0-alpha.59', - '@storybook/preset-html-webpack': '7.0.0-alpha.59', - '@storybook/preset-preact-webpack': '7.0.0-alpha.59', - '@storybook/preset-react-webpack': '7.0.0-alpha.59', - '@storybook/preset-server-webpack': '7.0.0-alpha.59', - '@storybook/preset-svelte-webpack': '7.0.0-alpha.59', - '@storybook/preset-vue-webpack': '7.0.0-alpha.59', - '@storybook/preset-vue3-webpack': '7.0.0-alpha.59', - '@storybook/preset-web-components-webpack': '7.0.0-alpha.59', - '@storybook/preview': '7.0.0-alpha.59', - '@storybook/preview-api': '7.0.0-alpha.59', - '@storybook/preview-web': '7.0.0-alpha.59', - '@storybook/react': '7.0.0-alpha.59', - '@storybook/react-vite': '7.0.0-alpha.59', - '@storybook/react-webpack5': '7.0.0-alpha.59', - '@storybook/router': '7.0.0-alpha.59', - '@storybook/server': '7.0.0-alpha.59', - '@storybook/server-webpack5': '7.0.0-alpha.59', - '@storybook/source-loader': '7.0.0-alpha.59', - '@storybook/store': '7.0.0-alpha.59', - '@storybook/svelte': '7.0.0-alpha.59', - '@storybook/sveltekit': '7.0.0-alpha.59', - '@storybook/svelte-vite': '7.0.0-alpha.59', - '@storybook/svelte-webpack5': '7.0.0-alpha.59', - '@storybook/telemetry': '7.0.0-alpha.59', - '@storybook/theming': '7.0.0-alpha.59', - '@storybook/manager': '7.0.0-alpha.59', - '@storybook/vue': '7.0.0-alpha.59', - '@storybook/vue-vite': '7.0.0-alpha.59', - '@storybook/vue-webpack5': '7.0.0-alpha.59', - '@storybook/vue3': '7.0.0-alpha.59', - '@storybook/vue3-vite': '7.0.0-alpha.59', - '@storybook/vue3-webpack5': '7.0.0-alpha.59', - '@storybook/web-components': '7.0.0-alpha.59', - '@storybook/web-components-webpack5': '7.0.0-alpha.59', - '@storybook/web-components-vite': '7.0.0-alpha.59', - sb: '7.0.0-alpha.59', - storybook: '7.0.0-alpha.59', + '@storybook/addon-a11y': '7.0.0-alpha.60', + '@storybook/addon-actions': '7.0.0-alpha.60', + '@storybook/addon-backgrounds': '7.0.0-alpha.60', + '@storybook/addon-controls': '7.0.0-alpha.60', + '@storybook/addon-docs': '7.0.0-alpha.60', + '@storybook/addon-essentials': '7.0.0-alpha.60', + '@storybook/addon-highlight': '7.0.0-alpha.60', + '@storybook/addon-interactions': '7.0.0-alpha.60', + '@storybook/addon-jest': '7.0.0-alpha.60', + '@storybook/addon-links': '7.0.0-alpha.60', + '@storybook/addon-measure': '7.0.0-alpha.60', + '@storybook/addon-outline': '7.0.0-alpha.60', + '@storybook/addon-storyshots': '7.0.0-alpha.60', + '@storybook/addon-storyshots-puppeteer': '7.0.0-alpha.60', + '@storybook/addon-storysource': '7.0.0-alpha.60', + '@storybook/addon-toolbars': '7.0.0-alpha.60', + '@storybook/addon-viewport': '7.0.0-alpha.60', + '@storybook/addons': '7.0.0-alpha.60', + '@storybook/angular': '7.0.0-alpha.60', + '@storybook/manager-api': '7.0.0-alpha.60', + '@storybook/blocks': '7.0.0-alpha.60', + '@storybook/builder-manager': '7.0.0-alpha.60', + '@storybook/builder-vite': '7.0.0-alpha.60', + '@storybook/builder-webpack5': '7.0.0-alpha.60', + '@storybook/channel-postmessage': '7.0.0-alpha.60', + '@storybook/channel-websocket': '7.0.0-alpha.60', + '@storybook/channels': '7.0.0-alpha.60', + '@storybook/cli': '7.0.0-alpha.60', + '@storybook/client-api': '7.0.0-alpha.60', + '@storybook/client-logger': '7.0.0-alpha.60', + '@storybook/codemod': '7.0.0-alpha.60', + '@storybook/components': '7.0.0-alpha.60', + '@storybook/core-client': '7.0.0-alpha.60', + '@storybook/core-common': '7.0.0-alpha.60', + '@storybook/core-events': '7.0.0-alpha.60', + '@storybook/core-server': '7.0.0-alpha.60', + '@storybook/core-webpack': '7.0.0-alpha.60', + '@storybook/csf-tools': '7.0.0-alpha.60', + '@storybook/docs-tools': '7.0.0-alpha.60', + '@storybook/ember': '7.0.0-alpha.60', + '@storybook/html': '7.0.0-alpha.60', + '@storybook/html-webpack5': '7.0.0-alpha.60', + '@storybook/html-vite': '7.0.0-alpha.60', + '@storybook/instrumenter': '7.0.0-alpha.60', + '@storybook/nextjs': '7.0.0-alpha.60', + '@storybook/node-logger': '7.0.0-alpha.60', + '@storybook/postinstall': '7.0.0-alpha.60', + '@storybook/preact': '7.0.0-alpha.60', + '@storybook/preact-webpack5': '7.0.0-alpha.60', + '@storybook/preset-html-webpack': '7.0.0-alpha.60', + '@storybook/preset-preact-webpack': '7.0.0-alpha.60', + '@storybook/preset-react-webpack': '7.0.0-alpha.60', + '@storybook/preset-server-webpack': '7.0.0-alpha.60', + '@storybook/preset-svelte-webpack': '7.0.0-alpha.60', + '@storybook/preset-vue-webpack': '7.0.0-alpha.60', + '@storybook/preset-vue3-webpack': '7.0.0-alpha.60', + '@storybook/preset-web-components-webpack': '7.0.0-alpha.60', + '@storybook/preview': '7.0.0-alpha.60', + '@storybook/preview-api': '7.0.0-alpha.60', + '@storybook/preview-web': '7.0.0-alpha.60', + '@storybook/react': '7.0.0-alpha.60', + '@storybook/react-vite': '7.0.0-alpha.60', + '@storybook/react-webpack5': '7.0.0-alpha.60', + '@storybook/router': '7.0.0-alpha.60', + '@storybook/server': '7.0.0-alpha.60', + '@storybook/server-webpack5': '7.0.0-alpha.60', + '@storybook/source-loader': '7.0.0-alpha.60', + '@storybook/store': '7.0.0-alpha.60', + '@storybook/svelte': '7.0.0-alpha.60', + '@storybook/sveltekit': '7.0.0-alpha.60', + '@storybook/svelte-vite': '7.0.0-alpha.60', + '@storybook/svelte-webpack5': '7.0.0-alpha.60', + '@storybook/telemetry': '7.0.0-alpha.60', + '@storybook/theming': '7.0.0-alpha.60', + '@storybook/manager': '7.0.0-alpha.60', + '@storybook/vue': '7.0.0-alpha.60', + '@storybook/vue-vite': '7.0.0-alpha.60', + '@storybook/vue-webpack5': '7.0.0-alpha.60', + '@storybook/vue3': '7.0.0-alpha.60', + '@storybook/vue3-vite': '7.0.0-alpha.60', + '@storybook/vue3-webpack5': '7.0.0-alpha.60', + '@storybook/web-components': '7.0.0-alpha.60', + '@storybook/web-components-webpack5': '7.0.0-alpha.60', + '@storybook/web-components-vite': '7.0.0-alpha.60', + sb: '7.0.0-alpha.60', + storybook: '7.0.0-alpha.60', }; diff --git a/code/lib/manager-api/src/version.ts b/code/lib/manager-api/src/version.ts index 55851ffa722e..091922206249 100644 --- a/code/lib/manager-api/src/version.ts +++ b/code/lib/manager-api/src/version.ts @@ -1 +1 @@ -export const version = '7.0.0-alpha.59'; +export const version = '7.0.0-alpha.60'; diff --git a/code/package.json b/code/package.json index 6e6ff208d6cc..27fbb478fbca 100644 --- a/code/package.json +++ b/code/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/root", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "private": true, "description": "Storybook is an open source tool for developing UI components in isolation for React, Vue and Angular. It makes building stunning UIs organized and efficient.", "keywords": [ From 2b38f15a169d191e68f01abae0b109920d89fb39 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 7 Dec 2022 12:24:15 +0800 Subject: [PATCH 33/37] v7.0.0-alpha.60 --- code/addons/a11y/package.json | 20 +++++----- code/addons/actions/package.json | 16 ++++---- code/addons/backgrounds/package.json | 16 ++++---- code/addons/controls/package.json | 20 +++++----- code/addons/docs/package.json | 20 +++++----- code/addons/essentials/package.json | 30 +++++++-------- code/addons/highlight/package.json | 6 +-- code/addons/interactions/package.json | 20 +++++----- code/addons/jest/package.json | 14 +++---- code/addons/links/package.json | 14 +++---- code/addons/measure/package.json | 14 +++---- code/addons/outline/package.json | 14 +++---- .../storyshots/storyshots-core/package.json | 22 +++++------ .../storyshots-puppeteer/package.json | 6 +-- code/addons/storysource/package.json | 16 ++++---- code/addons/toolbars/package.json | 12 +++--- code/addons/viewport/package.json | 14 +++---- code/frameworks/angular/package.json | 26 ++++++------- code/frameworks/ember/package.json | 12 +++--- code/frameworks/html-vite/package.json | 20 +++++----- code/frameworks/html-webpack5/package.json | 10 ++--- code/frameworks/nextjs/package.json | 16 ++++---- code/frameworks/preact-webpack5/package.json | 10 ++--- code/frameworks/react-vite/package.json | 6 +-- code/frameworks/react-webpack5/package.json | 8 ++-- code/frameworks/server-webpack5/package.json | 10 ++--- code/frameworks/svelte-vite/package.json | 8 ++-- code/frameworks/svelte-webpack5/package.json | 10 ++--- code/frameworks/sveltekit/package.json | 6 +-- code/frameworks/vue-vite/package.json | 10 ++--- code/frameworks/vue-webpack5/package.json | 10 ++--- code/frameworks/vue3-vite/package.json | 8 ++-- code/frameworks/vue3-webpack5/package.json | 10 ++--- .../web-components-vite/package.json | 10 ++--- .../web-components-webpack5/package.json | 10 ++--- code/lerna.json | 2 +- code/lib/addons/package.json | 8 ++-- code/lib/builder-manager/package.json | 8 ++-- code/lib/builder-vite/package.json | 16 ++++---- code/lib/builder-webpack5/package.json | 38 +++++++++---------- code/lib/channel-postmessage/package.json | 8 ++-- code/lib/channel-websocket/package.json | 6 +-- code/lib/channels/package.json | 2 +- code/lib/cli-sb/package.json | 4 +- code/lib/cli-storybook/package.json | 4 +- code/lib/cli/package.json | 18 ++++----- code/lib/client-api/package.json | 6 +-- code/lib/client-logger/package.json | 2 +- code/lib/codemod/package.json | 8 ++-- code/lib/core-client/package.json | 6 +-- code/lib/core-common/package.json | 6 +-- code/lib/core-events/package.json | 2 +- code/lib/core-server/package.json | 20 +++++----- code/lib/core-webpack/package.json | 8 ++-- code/lib/csf-plugin/package.json | 4 +- code/lib/csf-tools/package.json | 4 +- code/lib/docs-tools/package.json | 8 ++-- code/lib/instrumenter/package.json | 10 ++--- code/lib/manager-api-shim/package.json | 6 +-- code/lib/manager-api/package.json | 14 +++---- code/lib/node-logger/package.json | 2 +- code/lib/postinstall/package.json | 2 +- code/lib/preview-api/package.json | 14 +++---- code/lib/preview-web/package.json | 6 +-- code/lib/preview/package.json | 14 +++---- code/lib/router/package.json | 4 +- code/lib/source-loader/package.json | 4 +- code/lib/store/package.json | 6 +-- code/lib/telemetry/package.json | 6 +-- code/lib/theming/package.json | 4 +- code/lib/types/package.json | 4 +- code/presets/html-webpack/package.json | 4 +- code/presets/preact-webpack/package.json | 4 +- code/presets/react-webpack/package.json | 10 ++--- code/presets/server-webpack/package.json | 8 ++-- code/presets/svelte-webpack/package.json | 6 +-- code/presets/vue-webpack/package.json | 6 +-- code/presets/vue3-webpack/package.json | 6 +-- .../web-components-webpack/package.json | 4 +- code/renderers/html/package.json | 10 ++--- code/renderers/preact/package.json | 8 ++-- code/renderers/react/package.json | 12 +++--- code/renderers/server/package.json | 8 ++-- code/renderers/svelte/package.json | 12 +++--- code/renderers/vue/package.json | 12 +++--- code/renderers/vue3/package.json | 10 ++--- code/renderers/web-components/package.json | 14 +++---- code/ui/blocks/package.json | 22 +++++------ code/ui/components/package.json | 8 ++-- code/ui/manager/package.json | 26 ++++++------- 90 files changed, 474 insertions(+), 474 deletions(-) diff --git a/code/addons/a11y/package.json b/code/addons/a11y/package.json index 889c1a94a025..9c5c18007ca0 100644 --- a/code/addons/a11y/package.json +++ b/code/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Test component compliance with web accessibility standards", "keywords": [ "a11y", @@ -62,15 +62,15 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addon-highlight": "7.0.0-alpha.59", - "@storybook/channels": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/addon-highlight": "7.0.0-alpha.60", + "@storybook/channels": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "axe-core": "^4.2.0", "global": "^4.4.0", "lodash": "^4.17.21", diff --git a/code/addons/actions/package.json b/code/addons/actions/package.json index 6764608fb59f..1b11aff002bf 100644 --- a/code/addons/actions/package.json +++ b/code/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Get UI feedback when an action is performed on an interactive element", "keywords": [ "storybook", @@ -76,13 +76,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "dequal": "^2.0.2", "global": "^4.4.0", "lodash": "^4.17.21", diff --git a/code/addons/backgrounds/package.json b/code/addons/backgrounds/package.json index e01f78731be9..4a4546f11079 100644 --- a/code/addons/backgrounds/package.json +++ b/code/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Switch backgrounds to view components in different settings", "keywords": [ "addon", @@ -75,13 +75,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "memoizerific": "^1.11.3", "ts-dedent": "^2.0.0" diff --git a/code/addons/controls/package.json b/code/addons/controls/package.json index 433b65e00ff8..6565b27c7adf 100644 --- a/code/addons/controls/package.json +++ b/code/addons/controls/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-controls", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Interact with component inputs dynamically in the Storybook UI", "keywords": [ "addon", @@ -67,15 +67,15 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/blocks": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/blocks": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "lodash": "^4.17.21", "ts-dedent": "^2.0.0" }, diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index b56d7aed1d12..19cf64533342 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-docs", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Document component usage and properties in Markdown", "keywords": [ "addon", @@ -99,16 +99,16 @@ "@babel/plugin-transform-react-jsx": "^7.19.0", "@jest/transform": "^29.3.1", "@mdx-js/react": "^2.1.5", - "@storybook/blocks": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/csf-plugin": "7.0.0-alpha.59", - "@storybook/csf-tools": "7.0.0-alpha.59", + "@storybook/blocks": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/csf-plugin": "7.0.0-alpha.60", + "@storybook/csf-tools": "7.0.0-alpha.60", "@storybook/mdx2-csf": "next", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/postinstall": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/postinstall": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "fs-extra": "^9.0.1", "global": "^4.4.0", "remark-external-links": "^8.0.0", diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json index 97f7a3e8227d..15a9cee49c03 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-essentials", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Curated addons to bring out the best of Storybook", "keywords": [ "addon", @@ -116,23 +116,23 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addon-actions": "7.0.0-alpha.59", - "@storybook/addon-backgrounds": "7.0.0-alpha.59", - "@storybook/addon-controls": "7.0.0-alpha.59", - "@storybook/addon-docs": "7.0.0-alpha.59", - "@storybook/addon-highlight": "7.0.0-alpha.59", - "@storybook/addon-measure": "7.0.0-alpha.59", - "@storybook/addon-outline": "7.0.0-alpha.59", - "@storybook/addon-toolbars": "7.0.0-alpha.59", - "@storybook/addon-viewport": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", + "@storybook/addon-actions": "7.0.0-alpha.60", + "@storybook/addon-backgrounds": "7.0.0-alpha.60", + "@storybook/addon-controls": "7.0.0-alpha.60", + "@storybook/addon-docs": "7.0.0-alpha.60", + "@storybook/addon-highlight": "7.0.0-alpha.60", + "@storybook/addon-measure": "7.0.0-alpha.60", + "@storybook/addon-outline": "7.0.0-alpha.60", + "@storybook/addon-toolbars": "7.0.0-alpha.60", + "@storybook/addon-viewport": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", "ts-dedent": "^2.0.0" }, "devDependencies": { - "@storybook/vue": "7.0.0-alpha.59", + "@storybook/vue": "7.0.0-alpha.60", "typescript": "^4.9.3" }, "peerDependencies": { diff --git a/code/addons/highlight/package.json b/code/addons/highlight/package.json index 3b749a3ba558..2e29cc55faee 100644 --- a/code/addons/highlight/package.json +++ b/code/addons/highlight/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-highlight", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Highlight DOM nodes within your stories", "keywords": [ "storybook-addons", @@ -60,8 +60,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", "global": "^4.4.0" }, "devDependencies": { diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json index 0ea346ff2360..d61f28ff6828 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-interactions", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Automate, test and debug user interactions", "keywords": [ "storybook-addons", @@ -71,15 +71,15 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/instrumenter": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/instrumenter": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "jest-mock": "^27.0.6", "polished": "^4.2.2", diff --git a/code/addons/jest/package.json b/code/addons/jest/package.json index 5aa18317e567..67ce188144ff 100644 --- a/code/addons/jest/package.json +++ b/code/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -69,12 +69,12 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", "global": "^4.4.0", "react-sizeme": "^3.0.1", "upath": "^1.2.0" diff --git a/code/addons/links/package.json b/code/addons/links/package.json index 89efde136a0e..85efa3540a1d 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Link stories together to build demos and prototypes with your UI components", "keywords": [ "addon", @@ -76,13 +76,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", "@storybook/csf": "next", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/router": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/router": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "prop-types": "^15.7.2", "ts-dedent": "^2.0.0" diff --git a/code/addons/measure/package.json b/code/addons/measure/package.json index 3a561eee5494..8c5024d1be1c 100644 --- a/code/addons/measure/package.json +++ b/code/addons/measure/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-measure", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Inspect layouts by visualizing the box model", "keywords": [ "storybook-addons", @@ -74,12 +74,12 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0" }, "devDependencies": { diff --git a/code/addons/outline/package.json b/code/addons/outline/package.json index 6ac7ceee0da7..c80d0fe7e946 100644 --- a/code/addons/outline/package.json +++ b/code/addons/outline/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-outline", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Outline all elements with CSS to help with layout placement and alignment", "keywords": [ "storybook-addons", @@ -77,12 +77,12 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "ts-dedent": "^2.0.0" }, diff --git a/code/addons/storyshots/storyshots-core/package.json b/code/addons/storyshots/storyshots-core/package.json index 23585fef5500..87d46c7327ff 100644 --- a/code/addons/storyshots/storyshots-core/package.json +++ b/code/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Take a code snapshot of every story automatically with Jest", "keywords": [ "addon", @@ -39,11 +39,11 @@ "dependencies": { "@jest/transform": "^29.3.1", "@storybook/babel-plugin-require-context-hook": "1.0.1", - "@storybook/client-api": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/core-webpack": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/client-api": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/core-webpack": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@types/glob": "^7.1.3", "@types/jest-specific-snapshot": "^0.5.6", "core-js": "^3.8.2", @@ -60,11 +60,11 @@ "@angular/core": "^13.3.6", "@angular/platform-browser-dynamic": "^13.3.6", "@emotion/jest": "^11.8.0", - "@storybook/addon-docs": "7.0.0-alpha.59", - "@storybook/angular": "7.0.0-alpha.59", - "@storybook/react": "7.0.0-alpha.59", - "@storybook/vue": "7.0.0-alpha.59", - "@storybook/vue3": "7.0.0-alpha.59", + "@storybook/addon-docs": "7.0.0-alpha.60", + "@storybook/angular": "7.0.0-alpha.60", + "@storybook/react": "7.0.0-alpha.60", + "@storybook/vue": "7.0.0-alpha.60", + "@storybook/vue3": "7.0.0-alpha.60", "babel-loader": "^8.3.0", "enzyme": "^3.11.0", "enzyme-to-json": "^3.6.1", diff --git a/code/addons/storyshots/storyshots-puppeteer/package.json b/code/addons/storyshots/storyshots-puppeteer/package.json index b05d4a59fdbc..dabd340ae320 100644 --- a/code/addons/storyshots/storyshots-puppeteer/package.json +++ b/code/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Image snapshots addition to StoryShots based on puppeteer", "keywords": [ "addon", @@ -35,8 +35,8 @@ "dependencies": { "@axe-core/puppeteer": "^4.2.0", "@storybook/csf": "next", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@types/jest-image-snapshot": "^5.1.0", "jest-image-snapshot": "^6.0.0" }, diff --git a/code/addons/storysource/package.json b/code/addons/storysource/package.json index 5175645c0174..ae079834e907 100644 --- a/code/addons/storysource/package.json +++ b/code/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "View a story’s source code to see how it works and paste into your app", "keywords": [ "addon", @@ -53,13 +53,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/router": "7.0.0-alpha.59", - "@storybook/source-loader": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/router": "7.0.0-alpha.60", + "@storybook/source-loader": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", "estraverse": "^5.2.0", "prop-types": "^15.7.2", "react-syntax-highlighter": "^15.5.0" diff --git a/code/addons/toolbars/package.json b/code/addons/toolbars/package.json index fff676984827..174753748df2 100644 --- a/code/addons/toolbars/package.json +++ b/code/addons/toolbars/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-toolbars", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Create your own toolbar items that control story rendering", "keywords": [ "addon", @@ -67,11 +67,11 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59" + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60" }, "devDependencies": { "typescript": "~4.9.3" diff --git a/code/addons/viewport/package.json b/code/addons/viewport/package.json index b7936550f13a..d3510853f7b4 100644 --- a/code/addons/viewport/package.json +++ b/code/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Build responsive components by adjusting Storybook’s viewport size and orientation", "keywords": [ "addon", @@ -72,12 +72,12 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", "global": "^4.4.0", "memoizerific": "^1.11.3", "prop-types": "^15.7.2" diff --git a/code/frameworks/angular/package.json b/code/frameworks/angular/package.json index 0809a670d8cb..c4d4598e6198 100644 --- a/code/frameworks/angular/package.json +++ b/code/frameworks/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.", "keywords": [ "storybook", @@ -34,18 +34,18 @@ "prep": "rimraf dist && ../../../scripts/node_modules/.bin/tsc --project tsconfig.build.json && echo \"Preventing passing flags to tsc\"" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-client": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/core-server": "7.0.0-alpha.59", - "@storybook/core-webpack": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-client": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/core-server": "7.0.0-alpha.60", + "@storybook/core-webpack": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@types/node": "^16.0.0", "@types/react": "^16.14.34", "@types/react-dom": "^16.9.14", diff --git a/code/frameworks/ember/package.json b/code/frameworks/ember/package.json index 96b69be83db5..33206f82a752 100644 --- a/code/frameworks/ember/package.json +++ b/code/frameworks/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybookjs/storybook/tree/main/frameworks/ember", "bugs": { @@ -31,11 +31,11 @@ "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "read-pkg-up": "^7.0.1", "ts-dedent": "^2.0.0" diff --git a/code/frameworks/html-vite/package.json b/code/frameworks/html-vite/package.json index e1dbf0b53e3b..f2fd3e55e97a 100644 --- a/code/frameworks/html-vite/package.json +++ b/code/frameworks/html-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html-vite", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for HTML and Vite: Develop HTML in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -51,15 +51,15 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.59", - "@storybook/builder-vite": "7.0.0-alpha.59", - "@storybook/channel-postmessage": "7.0.0-alpha.59", - "@storybook/channel-websocket": "7.0.0-alpha.59", - "@storybook/client-api": "7.0.0-alpha.59", - "@storybook/core-server": "7.0.0-alpha.59", - "@storybook/html": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/preview-web": "7.0.0-alpha.59", + "@storybook/addons": "7.0.0-alpha.60", + "@storybook/builder-vite": "7.0.0-alpha.60", + "@storybook/channel-postmessage": "7.0.0-alpha.60", + "@storybook/channel-websocket": "7.0.0-alpha.60", + "@storybook/client-api": "7.0.0-alpha.60", + "@storybook/core-server": "7.0.0-alpha.60", + "@storybook/html": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/preview-web": "7.0.0-alpha.60", "magic-string": "^0.26.1", "vite": "3" }, diff --git a/code/frameworks/html-webpack5/package.json b/code/frameworks/html-webpack5/package.json index 6f62449f96e1..93376d2bca65 100644 --- a/code/frameworks/html-webpack5/package.json +++ b/code/frameworks/html-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html-webpack5", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -50,10 +50,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/html": "7.0.0-alpha.59", - "@storybook/preset-html-webpack": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/html": "7.0.0-alpha.60", + "@storybook/preset-html-webpack": "7.0.0-alpha.60", "@types/node": "^16.0.0", "global": "^4.4.0" }, diff --git a/code/frameworks/nextjs/package.json b/code/frameworks/nextjs/package.json index 4bf607238e7e..a9151a909a10 100644 --- a/code/frameworks/nextjs/package.json +++ b/code/frameworks/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/nextjs", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Next.js", "keywords": [ "storybook", @@ -59,12 +59,12 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/preset-react-webpack": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/react": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/preset-react-webpack": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/react": "7.0.0-alpha.60", "@types/node": "^16.0.0", "find-up": "^5.0.0", "fs-extra": "^9.0.1", @@ -80,7 +80,7 @@ "tsconfig-paths-webpack-plugin": "^3.5.2" }, "devDependencies": { - "@storybook/addon-actions": "7.0.0-alpha.59", + "@storybook/addon-actions": "7.0.0-alpha.60", "next": "^13.0.5", "typescript": "^4.9.3", "webpack": "^5.65.0" diff --git a/code/frameworks/preact-webpack5/package.json b/code/frameworks/preact-webpack5/package.json index 154b2b5047a1..a9302778eb31 100644 --- a/code/frameworks/preact-webpack5/package.json +++ b/code/frameworks/preact-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact-webpack5", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -50,10 +50,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/preact": "7.0.0-alpha.59", - "@storybook/preset-preact-webpack": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/preact": "7.0.0-alpha.60", + "@storybook/preset-preact-webpack": "7.0.0-alpha.60", "@types/node": "^16.0.0" }, "devDependencies": { diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json index f57fd344ecb6..3e8fff97756b 100644 --- a/code/frameworks/react-vite/package.json +++ b/code/frameworks/react-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-vite", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -53,8 +53,8 @@ "dependencies": { "@joshwooding/vite-plugin-react-docgen-typescript": "^0.0.5", "@rollup/pluginutils": "^4.2.0", - "@storybook/builder-vite": "7.0.0-alpha.59", - "@storybook/react": "7.0.0-alpha.59", + "@storybook/builder-vite": "7.0.0-alpha.60", + "@storybook/react": "7.0.0-alpha.60", "@vitejs/plugin-react": "^2.0.0", "ast-types": "^0.14.2", "magic-string": "^0.26.1", diff --git a/code/frameworks/react-webpack5/package.json b/code/frameworks/react-webpack5/package.json index 0ebd89f56d15..e59b65f59e41 100644 --- a/code/frameworks/react-webpack5/package.json +++ b/code/frameworks/react-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-webpack5", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -51,9 +51,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/preset-react-webpack": "7.0.0-alpha.59", - "@storybook/react": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/preset-react-webpack": "7.0.0-alpha.60", + "@storybook/react": "7.0.0-alpha.60", "@types/node": "^16.0.0" }, "devDependencies": { diff --git a/code/frameworks/server-webpack5/package.json b/code/frameworks/server-webpack5/package.json index 0afabdc7df9a..83f9e9532969 100644 --- a/code/frameworks/server-webpack5/package.json +++ b/code/frameworks/server-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/server-webpack5", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -50,10 +50,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/preset-server-webpack": "7.0.0-alpha.59", - "@storybook/server": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/preset-server-webpack": "7.0.0-alpha.60", + "@storybook/server": "7.0.0-alpha.60", "@types/node": "^16.0.0" }, "devDependencies": { diff --git a/code/frameworks/svelte-vite/package.json b/code/frameworks/svelte-vite/package.json index 4acbb1d9e66f..c795c8b9749c 100644 --- a/code/frameworks/svelte-vite/package.json +++ b/code/frameworks/svelte-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte-vite", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Svelte and Vite: Develop Svelte components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -52,9 +52,9 @@ }, "dependencies": { "@storybook/addon-svelte-csf": "^2.0.0", - "@storybook/builder-vite": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/svelte": "7.0.0-alpha.59", + "@storybook/builder-vite": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/svelte": "7.0.0-alpha.60", "@sveltejs/vite-plugin-svelte": "^1.0.0", "magic-string": "^0.26.1", "svelte": "^3.0.0", diff --git a/code/frameworks/svelte-webpack5/package.json b/code/frameworks/svelte-webpack5/package.json index c717daaece70..83bae29b8961 100644 --- a/code/frameworks/svelte-webpack5/package.json +++ b/code/frameworks/svelte-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte-webpack5", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -51,10 +51,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/preset-svelte-webpack": "7.0.0-alpha.59", - "@storybook/svelte": "7.0.0-alpha.59" + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/preset-svelte-webpack": "7.0.0-alpha.60", + "@storybook/svelte": "7.0.0-alpha.60" }, "devDependencies": { "svelte": "^3.48.0", diff --git a/code/frameworks/sveltekit/package.json b/code/frameworks/sveltekit/package.json index d0494525f102..ebb757db511a 100644 --- a/code/frameworks/sveltekit/package.json +++ b/code/frameworks/sveltekit/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/sveltekit", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for SvelteKit", "keywords": [ "storybook", @@ -51,8 +51,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-vite": "7.0.0-alpha.59", - "@storybook/svelte-vite": "7.0.0-alpha.59" + "@storybook/builder-vite": "7.0.0-alpha.60", + "@storybook/svelte-vite": "7.0.0-alpha.60" }, "devDependencies": { "@types/node": "^16.0.0", diff --git a/code/frameworks/vue-vite/package.json b/code/frameworks/vue-vite/package.json index 90ede670ead1..e152e1afdf29 100644 --- a/code/frameworks/vue-vite/package.json +++ b/code/frameworks/vue-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue-vite", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Vue2 and Vite: Develop Vue2 Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -50,10 +50,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-vite": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/core-server": "7.0.0-alpha.59", - "@storybook/vue": "7.0.0-alpha.59", + "@storybook/builder-vite": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/core-server": "7.0.0-alpha.60", + "@storybook/vue": "7.0.0-alpha.60", "magic-string": "^0.26.1", "vite": "^3.1.3", "vue-docgen-api": "^4.40.0" diff --git a/code/frameworks/vue-webpack5/package.json b/code/frameworks/vue-webpack5/package.json index e7c800783657..cc38ab8c2579 100644 --- a/code/frameworks/vue-webpack5/package.json +++ b/code/frameworks/vue-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue-webpack5", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -50,10 +50,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/preset-vue-webpack": "7.0.0-alpha.59", - "@storybook/vue": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/preset-vue-webpack": "7.0.0-alpha.60", + "@storybook/vue": "7.0.0-alpha.60", "@types/node": "^16.0.0" }, "devDependencies": { diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json index 7dfd1f8913e0..e6e91d0c4761 100644 --- a/code/frameworks/vue3-vite/package.json +++ b/code/frameworks/vue3-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3-vite", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Vue3 and Vite: Develop Vue3 components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -51,9 +51,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-vite": "7.0.0-alpha.59", - "@storybook/core-server": "7.0.0-alpha.59", - "@storybook/vue3": "7.0.0-alpha.59", + "@storybook/builder-vite": "7.0.0-alpha.60", + "@storybook/core-server": "7.0.0-alpha.60", + "@storybook/vue3": "7.0.0-alpha.60", "@vitejs/plugin-vue": "^3.0.0", "magic-string": "^0.26.1", "vite": "^3.1.3", diff --git a/code/frameworks/vue3-webpack5/package.json b/code/frameworks/vue3-webpack5/package.json index 852ade8f635c..ca2f0bc09a15 100644 --- a/code/frameworks/vue3-webpack5/package.json +++ b/code/frameworks/vue3-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3-webpack5", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -50,10 +50,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/preset-vue3-webpack": "7.0.0-alpha.59", - "@storybook/vue3": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/preset-vue3-webpack": "7.0.0-alpha.60", + "@storybook/vue3": "7.0.0-alpha.60", "@types/node": "^16.0.0" }, "devDependencies": { diff --git a/code/frameworks/web-components-vite/package.json b/code/frameworks/web-components-vite/package.json index 2788eabe335d..2ab7b051065c 100644 --- a/code/frameworks/web-components-vite/package.json +++ b/code/frameworks/web-components-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/web-components-vite", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for web-components and Vite: Develop Web Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -51,10 +51,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-vite": "7.0.0-alpha.59", - "@storybook/core-server": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/web-components": "7.0.0-alpha.59", + "@storybook/builder-vite": "7.0.0-alpha.60", + "@storybook/core-server": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/web-components": "7.0.0-alpha.60", "magic-string": "^0.26.1", "vite": "3" }, diff --git a/code/frameworks/web-components-webpack5/package.json b/code/frameworks/web-components-webpack5/package.json index d53b20478bb4..0aa1a33e0bd8 100644 --- a/code/frameworks/web-components-webpack5/package.json +++ b/code/frameworks/web-components-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/web-components-webpack5", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.", "keywords": [ "lit-html", @@ -53,10 +53,10 @@ }, "dependencies": { "@babel/preset-env": "^7.20.2", - "@storybook/builder-webpack5": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/preset-web-components-webpack": "7.0.0-alpha.59", - "@storybook/web-components": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/preset-web-components-webpack": "7.0.0-alpha.60", + "@storybook/web-components": "7.0.0-alpha.60", "@types/node": "^16.0.0" }, "devDependencies": { diff --git a/code/lerna.json b/code/lerna.json index b67067856a2d..b6effb2204fc 100644 --- a/code/lerna.json +++ b/code/lerna.json @@ -2,5 +2,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "7.0.0-alpha.59" + "version": "7.0.0-alpha.60" } diff --git a/code/lib/addons/package.json b/code/lib/addons/package.json index 4418a2efad3a..1cf0e17be680 100644 --- a/code/lib/addons/package.json +++ b/code/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook addons store", "keywords": [ "storybook" @@ -42,9 +42,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59" + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", diff --git a/code/lib/builder-manager/package.json b/code/lib/builder-manager/package.json index 639fae371a9f..f196df661aa8 100644 --- a/code/lib/builder-manager/package.json +++ b/code/lib/builder-manager/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-manager", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook manager builder", "keywords": [ "storybook" @@ -42,9 +42,9 @@ }, "dependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/manager": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/manager": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", "@types/ejs": "^3.1.1", "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10", "browser-assert": "^1.2.1", diff --git a/code/lib/builder-vite/package.json b/code/lib/builder-vite/package.json index 60944da3e5ff..3c2ac1e891b3 100644 --- a/code/lib/builder-vite/package.json +++ b/code/lib/builder-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-vite", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "A plugin to run and build Storybooks with Vite", "homepage": "https://github.com/storybookjs/storybook/tree/main/code/lib/builder-vite/#readme", "bugs": { @@ -42,14 +42,14 @@ }, "dependencies": { "@joshwooding/vite-plugin-react-docgen-typescript": "0.0.5", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", "@storybook/mdx2-csf": "next", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/preview": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/source-loader": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/preview": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/source-loader": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@vitejs/plugin-react": "^2.0.0", "browser-assert": "^1.2.1", "es-module-lexer": "^0.9.3", diff --git a/code/lib/builder-webpack5/package.json b/code/lib/builder-webpack5/package.json index a67b4021d1d7..342f6d3e9595 100644 --- a/code/lib/builder-webpack5/package.json +++ b/code/lib/builder-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-webpack5", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -54,24 +54,24 @@ }, "dependencies": { "@babel/core": "^7.12.10", - "@storybook/addons": "7.0.0-alpha.59", - "@storybook/api": "7.0.0-alpha.59", - "@storybook/channel-postmessage": "7.0.0-alpha.59", - "@storybook/channel-websocket": "7.0.0-alpha.59", - "@storybook/channels": "7.0.0-alpha.59", - "@storybook/client-api": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/core-webpack": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/preview": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/router": "7.0.0-alpha.59", - "@storybook/store": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", + "@storybook/addons": "7.0.0-alpha.60", + "@storybook/api": "7.0.0-alpha.60", + "@storybook/channel-postmessage": "7.0.0-alpha.60", + "@storybook/channel-websocket": "7.0.0-alpha.60", + "@storybook/channels": "7.0.0-alpha.60", + "@storybook/client-api": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/core-webpack": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/preview": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/router": "7.0.0-alpha.60", + "@storybook/store": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", "@types/node": "^16.0.0", "@types/semver": "^7.3.4", "babel-loader": "^8.3.0", diff --git a/code/lib/channel-postmessage/package.json b/code/lib/channel-postmessage/package.json index 6ce89a579986..e55c2ba1b9fb 100644 --- a/code/lib/channel-postmessage/package.json +++ b/code/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" @@ -42,9 +42,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", + "@storybook/channels": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", "global": "^4.4.0", "qs": "^6.10.0", "telejson": "^7.0.3" diff --git a/code/lib/channel-websocket/package.json b/code/lib/channel-websocket/package.json index 2f00267c9ebc..c7653c289882 100644 --- a/code/lib/channel-websocket/package.json +++ b/code/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" @@ -42,8 +42,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", + "@storybook/channels": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", "global": "^4.4.0", "telejson": "^7.0.3" }, diff --git a/code/lib/channels/package.json b/code/lib/channels/package.json index 794cc9315b4d..90d6aba104da 100644 --- a/code/lib/channels/package.json +++ b/code/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" diff --git a/code/lib/cli-sb/package.json b/code/lib/cli-sb/package.json index f1db5de9fe3e..fadcd00e6bf1 100644 --- a/code/lib/cli-sb/package.json +++ b/code/lib/cli-sb/package.json @@ -1,6 +1,6 @@ { "name": "sb", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook CLI", "keywords": [ "storybook" @@ -24,7 +24,7 @@ "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/cli": "7.0.0-alpha.59" + "@storybook/cli": "7.0.0-alpha.60" }, "devDependencies": { "typescript": "~4.9.3" diff --git a/code/lib/cli-storybook/package.json b/code/lib/cli-storybook/package.json index a81f77e7ab4f..9e9888ee7fe0 100644 --- a/code/lib/cli-storybook/package.json +++ b/code/lib/cli-storybook/package.json @@ -1,6 +1,6 @@ { "name": "storybook", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook CLI", "keywords": [ "storybook" @@ -27,7 +27,7 @@ "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/cli": "7.0.0-alpha.59" + "@storybook/cli": "7.0.0-alpha.60" }, "devDependencies": { "typescript": "~4.9.3" diff --git a/code/lib/cli/package.json b/code/lib/cli/package.json index 1ac66b04bbdc..81e9acada8be 100644 --- a/code/lib/cli/package.json +++ b/code/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -43,13 +43,13 @@ "dependencies": { "@babel/core": "^7.20.2", "@babel/preset-env": "^7.20.2", - "@storybook/codemod": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/core-server": "7.0.0-alpha.59", - "@storybook/csf-tools": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/telemetry": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/codemod": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/core-server": "7.0.0-alpha.60", + "@storybook/csf-tools": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/telemetry": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@types/semver": "^7.3.4", "boxen": "^5.1.2", "chalk": "^4.1.0", @@ -77,7 +77,7 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { - "@storybook/client-api": "7.0.0-alpha.59", + "@storybook/client-api": "7.0.0-alpha.60", "@types/cross-spawn": "^6.0.2", "@types/prompts": "^2.0.9", "@types/puppeteer-core": "^2.1.0", diff --git a/code/lib/client-api/package.json b/code/lib/client-api/package.json index d3c0ed7742f7..3894029f3a49 100644 --- a/code/lib/client-api/package.json +++ b/code/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook Client API", "keywords": [ "storybook" @@ -42,8 +42,8 @@ "prep": "../../../scripts/prepare/facade.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59" + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60" }, "publishConfig": { "access": "public" diff --git a/code/lib/client-logger/package.json b/code/lib/client-logger/package.json index fa275810851b..9dcd95c8131e 100644 --- a/code/lib/client-logger/package.json +++ b/code/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json index 2edd20a635e6..bce0a31461fb 100644 --- a/code/lib/codemod/package.json +++ b/code/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" @@ -39,9 +39,9 @@ "dependencies": { "@babel/types": "^7.20.2", "@storybook/csf": "next", - "@storybook/csf-tools": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/csf-tools": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "cross-spawn": "^7.0.3", "globby": "^11.0.2", "jscodeshift": "^0.13.1", diff --git a/code/lib/core-client/package.json b/code/lib/core-client/package.json index 3b4ed13e338c..e94a6d42466b 100644 --- a/code/lib/core-client/package.json +++ b/code/lib/core-client/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-client", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -35,8 +35,8 @@ "prep": "../../../scripts/prepare/facade.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59" + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60" }, "publishConfig": { "access": "public" diff --git a/code/lib/core-common/package.json b/code/lib/core-common/package.json index a51979abc671..8c0870dc7893 100644 --- a/code/lib/core-common/package.json +++ b/code/lib/core-common/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-common", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -47,8 +47,8 @@ }, "dependencies": { "@babel/core": "^7.20.2", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@types/babel__core": "^7.1.20", "@types/express": "^4.7.0", "@types/node": "^16.0.0", diff --git a/code/lib/core-events/package.json b/code/lib/core-events/package.json index cba0c8361394..fe677750dad9 100644 --- a/code/lib/core-events/package.json +++ b/code/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "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 c68e7d83579d..dfe0da2c7edc 100644 --- a/code/lib/core-server/package.json +++ b/code/lib/core-server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-server", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -35,16 +35,16 @@ "dependencies": { "@aw-web-design/x-default-browser": "1.4.88", "@discoveryjs/json-ext": "^0.5.3", - "@storybook/builder-manager": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", + "@storybook/builder-manager": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", "@storybook/csf": "next", - "@storybook/csf-tools": "7.0.0-alpha.59", + "@storybook/csf-tools": "7.0.0-alpha.60", "@storybook/docs-mdx": "next", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/telemetry": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/telemetry": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@types/node": "^16.0.0", "@types/node-fetch": "^2.5.7", "@types/pretty-hrtime": "^1.0.0", @@ -76,7 +76,7 @@ "ws": "^8.2.3" }, "devDependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.59", + "@storybook/builder-webpack5": "7.0.0-alpha.60", "@types/compression": "^1.7.0", "@types/ip": "^1.1.0", "@types/serve-favicon": "^2.5.2", diff --git a/code/lib/core-webpack/package.json b/code/lib/core-webpack/package.json index 55f64ee28016..f64393f38158 100644 --- a/code/lib/core-webpack/package.json +++ b/code/lib/core-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-webpack", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -42,9 +42,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@types/node": "^16.0.0", "ts-dedent": "^2.0.0" }, diff --git a/code/lib/csf-plugin/package.json b/code/lib/csf-plugin/package.json index 6fd4bf401188..857b4cf5f356 100644 --- a/code/lib/csf-plugin/package.json +++ b/code/lib/csf-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/csf-plugin", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Enrich CSF files via static analysis", "keywords": [ "storybook" @@ -42,7 +42,7 @@ "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/csf-tools": "7.0.0-alpha.59", + "@storybook/csf-tools": "7.0.0-alpha.60", "unplugin": "^0.10.2" }, "devDependencies": { diff --git a/code/lib/csf-tools/package.json b/code/lib/csf-tools/package.json index ea0d3b42a4a6..50fb832f8d44 100644 --- a/code/lib/csf-tools/package.json +++ b/code/lib/csf-tools/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/csf-tools", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" @@ -44,7 +44,7 @@ "dependencies": { "@babel/types": "^7.20.2", "@storybook/csf": "next", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/types": "7.0.0-alpha.60", "fs-extra": "^9.0.1", "ts-dedent": "^2.0.0" }, diff --git a/code/lib/docs-tools/package.json b/code/lib/docs-tools/package.json index b0a757fac013..c9ca0b1e0e40 100644 --- a/code/lib/docs-tools/package.json +++ b/code/lib/docs-tools/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/docs-tools", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Shared utility functions for frameworks to implement docs", "keywords": [ "storybook" @@ -43,9 +43,9 @@ }, "dependencies": { "@babel/core": "^7.12.10", - "@storybook/core-common": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/core-common": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "doctrine": "^3.0.0", "lodash": "^4.17.21" }, diff --git a/code/lib/instrumenter/package.json b/code/lib/instrumenter/package.json index 7fdb7ec17f3b..7b1b1e61eb57 100644 --- a/code/lib/instrumenter/package.json +++ b/code/lib/instrumenter/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/instrumenter", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" @@ -42,10 +42,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", + "@storybook/channels": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", "core-js": "^3.8.2", "global": "^4.4.0" }, diff --git a/code/lib/manager-api-shim/package.json b/code/lib/manager-api-shim/package.json index c9e098fc9732..14276109629a 100644 --- a/code/lib/manager-api-shim/package.json +++ b/code/lib/manager-api-shim/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/api", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook Manager API (facade)", "keywords": [ "storybook" @@ -42,8 +42,8 @@ "prep": "../../../scripts/prepare/facade.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59" + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60" }, "publishConfig": { "access": "public" diff --git a/code/lib/manager-api/package.json b/code/lib/manager-api/package.json index caaeae19d486..9fd52d64251e 100644 --- a/code/lib/manager-api/package.json +++ b/code/lib/manager-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/manager-api", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Core Storybook API & Context", "keywords": [ "storybook" @@ -41,13 +41,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", + "@storybook/channels": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", "@storybook/csf": "next", - "@storybook/router": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/router": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "dequal": "^2.0.2", "global": "^4.4.0", "lodash": "^4.17.21", diff --git a/code/lib/node-logger/package.json b/code/lib/node-logger/package.json index c2b416782c09..ca90043e5788 100644 --- a/code/lib/node-logger/package.json +++ b/code/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" diff --git a/code/lib/postinstall/package.json b/code/lib/postinstall/package.json index d3f864583b3e..739caa0f01b2 100644 --- a/code/lib/postinstall/package.json +++ b/code/lib/postinstall/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/postinstall", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook addons postinstall utilities", "keywords": [ "api", diff --git a/code/lib/preview-api/package.json b/code/lib/preview-api/package.json index 503dfdbdcefa..bfd11e034841 100644 --- a/code/lib/preview-api/package.json +++ b/code/lib/preview-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preview-api", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" @@ -67,12 +67,12 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channel-postmessage": "7.0.0-alpha.59", - "@storybook/channels": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", + "@storybook/channel-postmessage": "7.0.0-alpha.60", + "@storybook/channels": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", "@storybook/csf": "next", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/types": "7.0.0-alpha.60", "@types/qs": "^6.9.5", "dequal": "^2.0.2", "global": "^4.4.0", @@ -86,7 +86,7 @@ }, "devDependencies": { "@jest/globals": "^26.6.2", - "@storybook/core-common": "7.0.0-alpha.59", + "@storybook/core-common": "7.0.0-alpha.60", "ansi-to-html": "^0.6.11", "react": "^16.14.0" }, diff --git a/code/lib/preview-web/package.json b/code/lib/preview-web/package.json index 06ba4504584d..392a94d55531 100644 --- a/code/lib/preview-web/package.json +++ b/code/lib/preview-web/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preview-web", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" @@ -42,8 +42,8 @@ "prep": "../../../scripts/prepare/facade.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59" + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60" }, "publishConfig": { "access": "public" diff --git a/code/lib/preview/package.json b/code/lib/preview/package.json index 5d65c1dabdc9..93d53266996e 100644 --- a/code/lib/preview/package.json +++ b/code/lib/preview/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preview", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" @@ -57,12 +57,12 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "devDependencies": { - "@storybook/channel-postmessage": "7.0.0-alpha.59", - "@storybook/channel-websocket": "7.0.0-alpha.59", - "@storybook/channels": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", + "@storybook/channel-postmessage": "7.0.0-alpha.60", + "@storybook/channel-websocket": "7.0.0-alpha.60", + "@storybook/channels": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", "typescript": "~4.9.3" }, "publishConfig": { diff --git a/code/lib/router/package.json b/code/lib/router/package.json index 891855d9287c..9d349b358ab9 100644 --- a/code/lib/router/package.json +++ b/code/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -47,7 +47,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", "memoizerific": "^1.11.3", "qs": "^6.10.0" }, diff --git a/code/lib/source-loader/package.json b/code/lib/source-loader/package.json index 57f97647f581..0303feee6d8d 100644 --- a/code/lib/source-loader/package.json +++ b/code/lib/source-loader/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/source-loader", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Source loader", "keywords": [ "lib", @@ -44,7 +44,7 @@ }, "dependencies": { "@storybook/csf": "next", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/types": "7.0.0-alpha.60", "estraverse": "^5.2.0", "lodash": "^4.17.21", "prettier": "^2.8.0" diff --git a/code/lib/store/package.json b/code/lib/store/package.json index e2e7d981ef54..d658f0c1dd10 100644 --- a/code/lib/store/package.json +++ b/code/lib/store/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/store", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "", "keywords": [ "storybook" @@ -42,8 +42,8 @@ "prep": "../../../scripts/prepare/facade.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59" + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60" }, "publishConfig": { "access": "public" diff --git a/code/lib/telemetry/package.json b/code/lib/telemetry/package.json index cce928ffb75c..21607f982733 100644 --- a/code/lib/telemetry/package.json +++ b/code/lib/telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/telemetry", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Telemetry logging for crash reports and usage statistics", "keywords": [ "storybook" @@ -42,8 +42,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-common": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-common": "7.0.0-alpha.60", "chalk": "^4.1.0", "detect-package-manager": "^2.0.1", "fetch-retry": "^5.0.2", diff --git a/code/lib/theming/package.json b/code/lib/theming/package.json index 423a2d9ce78d..31d898ed8e10 100644 --- a/code/lib/theming/package.json +++ b/code/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -49,7 +49,7 @@ }, "dependencies": { "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0", - "@storybook/client-logger": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", "memoizerific": "^1.11.3" }, "devDependencies": { diff --git a/code/lib/types/package.json b/code/lib/types/package.json index a0578a461010..56a0dc9578e2 100644 --- a/code/lib/types/package.json +++ b/code/lib/types/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/types", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Core Storybook Types", "keywords": [ "storybook" @@ -41,7 +41,7 @@ }, "dependencies": { "@babel/core": "^7.12.10", - "@storybook/channels": "7.0.0-alpha.59", + "@storybook/channels": "7.0.0-alpha.60", "@types/babel__core": "^7.0.0", "@types/express": "^4.7.0", "express": "^4.17.1", diff --git a/code/presets/html-webpack/package.json b/code/presets/html-webpack/package.json index d12b5e3a1961..9a7441e931dc 100644 --- a/code/presets/html-webpack/package.json +++ b/code/presets/html-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-html-webpack", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -50,7 +50,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-webpack": "7.0.0-alpha.59", + "@storybook/core-webpack": "7.0.0-alpha.60", "@types/node": "^16.0.0", "html-loader": "^3.1.0", "webpack": "5" diff --git a/code/presets/preact-webpack/package.json b/code/presets/preact-webpack/package.json index d16d2754a8a8..a785aa808304 100644 --- a/code/presets/preact-webpack/package.json +++ b/code/presets/preact-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-preact-webpack", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -51,7 +51,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.19.0", - "@storybook/core-webpack": "7.0.0-alpha.59", + "@storybook/core-webpack": "7.0.0-alpha.60", "@types/node": "^16.0.0" }, "devDependencies": { diff --git a/code/presets/react-webpack/package.json b/code/presets/react-webpack/package.json index 892abcbc4f7b..c88b37b66c69 100644 --- a/code/presets/react-webpack/package.json +++ b/code/presets/react-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-react-webpack", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -74,10 +74,10 @@ "@babel/preset-flow": "^7.18.6", "@babel/preset-react": "^7.18.6", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5", - "@storybook/core-webpack": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", - "@storybook/react": "7.0.0-alpha.59", + "@storybook/core-webpack": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", + "@storybook/react": "7.0.0-alpha.60", "@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0", "@types/node": "^16.0.0", "@types/semver": "^7.3.4", diff --git a/code/presets/server-webpack/package.json b/code/presets/server-webpack/package.json index b019cc913d52..e0cbb34a4e0e 100644 --- a/code/presets/server-webpack/package.json +++ b/code/presets/server-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-server-webpack", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -55,9 +55,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-server": "7.0.0-alpha.59", - "@storybook/core-webpack": "7.0.0-alpha.59", - "@storybook/server": "7.0.0-alpha.59", + "@storybook/core-server": "7.0.0-alpha.60", + "@storybook/core-webpack": "7.0.0-alpha.60", + "@storybook/server": "7.0.0-alpha.60", "@types/node": "^16.0.0", "global": "^4.4.0", "safe-identifier": "^0.4.1", diff --git a/code/presets/svelte-webpack/package.json b/code/presets/svelte-webpack/package.json index 9c778fa77013..2704145c78cc 100644 --- a/code/presets/svelte-webpack/package.json +++ b/code/presets/svelte-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-svelte-webpack", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -65,8 +65,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-webpack": "7.0.0-alpha.59", - "@storybook/node-logger": "7.0.0-alpha.59", + "@storybook/core-webpack": "7.0.0-alpha.60", + "@storybook/node-logger": "7.0.0-alpha.60", "sveltedoc-parser": "^4.2.1", "ts-dedent": "^2.0.0" }, diff --git a/code/presets/vue-webpack/package.json b/code/presets/vue-webpack/package.json index fb159ce0593c..280138a3e471 100644 --- a/code/presets/vue-webpack/package.json +++ b/code/presets/vue-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-vue-webpack", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -60,8 +60,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-webpack": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", + "@storybook/core-webpack": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", "@types/node": "^16.0.0", "ts-loader": "^9.2.8", "vue-docgen-api": "^4.44.23", diff --git a/code/presets/vue3-webpack/package.json b/code/presets/vue3-webpack/package.json index 90eb959e7dfc..059fc9b9fb0f 100644 --- a/code/presets/vue3-webpack/package.json +++ b/code/presets/vue3-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-vue3-webpack", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -60,8 +60,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-webpack": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", + "@storybook/core-webpack": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", "@types/node": "^16.0.0", "ts-loader": "^9.2.8", "vue-docgen-api": "^4.46.0", diff --git a/code/presets/web-components-webpack/package.json b/code/presets/web-components-webpack/package.json index 0c2fc65cc4bd..97c4209265da 100644 --- a/code/presets/web-components-webpack/package.json +++ b/code/presets/web-components-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-web-components-webpack", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.", "keywords": [ "lit-html", @@ -55,7 +55,7 @@ "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/preset-env": "^7.20.2", - "@storybook/core-webpack": "7.0.0-alpha.59", + "@storybook/core-webpack": "7.0.0-alpha.60", "@types/node": "^16.0.0", "babel-loader": "^7.0.0 || ^8.0.0", "babel-plugin-bundled-import-meta": "^0.3.1" diff --git a/code/renderers/html/package.json b/code/renderers/html/package.json index 919d317af37b..82bf578ae675 100644 --- a/code/renderers/html/package.json +++ b/code/renderers/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook HTML renderer", "keywords": [ "storybook" @@ -51,10 +51,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-client": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/core-client": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "ts-dedent": "^2.0.0" }, diff --git a/code/renderers/preact/package.json b/code/renderers/preact/package.json index f479092722f5..3568df6331c9 100644 --- a/code/renderers/preact/package.json +++ b/code/renderers/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook Preact renderer", "keywords": [ "storybook" @@ -51,9 +51,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-client": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/core-client": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "ts-dedent": "^2.0.0" }, diff --git a/code/renderers/react/package.json b/code/renderers/react/package.json index 4f52b74c3f7c..b2cdc7df79fe 100644 --- a/code/renderers/react/package.json +++ b/code/renderers/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook React renderer", "keywords": [ "storybook" @@ -52,11 +52,11 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-client": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-client": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@types/estree": "^0.0.51", "@types/node": "^16.0.0", "acorn": "^7.4.1", diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index 1e6ac956f7c7..39ea839627b7 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/server", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook Server renderer", "keywords": [ "storybook" @@ -51,9 +51,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-client": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/core-client": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "ts-dedent": "^2.0.0" }, diff --git a/code/renderers/svelte/package.json b/code/renderers/svelte/package.json index 4ae8f1b38f68..eada9318d658 100644 --- a/code/renderers/svelte/package.json +++ b/code/renderers/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook Svelte renderer", "keywords": [ "storybook" @@ -55,11 +55,11 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-client": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-client": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "sveltedoc-parser": "^4.2.1", "type-fest": "2.19.0" diff --git a/code/renderers/vue/package.json b/code/renderers/vue/package.json index 0a34bd124f96..5db7be29b953 100644 --- a/code/renderers/vue/package.json +++ b/code/renderers/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook Vue renderer", "keywords": [ "storybook" @@ -51,11 +51,11 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-client": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-client": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "ts-dedent": "^2.0.0", "type-fest": "2.19.0" diff --git a/code/renderers/vue3/package.json b/code/renderers/vue3/package.json index bf25c1ba72bf..15a7ae81dd6c 100644 --- a/code/renderers/vue3/package.json +++ b/code/renderers/vue3/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook Vue 3 renderer", "keywords": [ "storybook" @@ -51,10 +51,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-client": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/core-client": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "ts-dedent": "^2.0.0", "type-fest": "2.19.0" diff --git a/code/renderers/web-components/package.json b/code/renderers/web-components/package.json index cea3390e8a24..56d47a19faf5 100644 --- a/code/renderers/web-components/package.json +++ b/code/renderers/web-components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/web-components", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook web-components renderer", "keywords": [ "lit-html", @@ -53,12 +53,12 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/core-client": "7.0.0-alpha.59", - "@storybook/docs-tools": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/core-client": "7.0.0-alpha.60", + "@storybook/docs-tools": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "global": "^4.4.0", "ts-dedent": "^2.0.0" }, diff --git a/code/ui/blocks/package.json b/code/ui/blocks/package.json index 9aa0e6506ccc..cc9a1b072c5c 100644 --- a/code/ui/blocks/package.json +++ b/code/ui/blocks/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/blocks", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Storybook Doc Blocks", "keywords": [ "storybook" @@ -43,16 +43,16 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", + "@storybook/channels": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", "@storybook/csf": "next", - "@storybook/docs-tools": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/preview-api": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/docs-tools": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/preview-api": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@types/lodash": "^4.14.167", "color-convert": "^2.0.1", "dequal": "^2.0.2", @@ -66,7 +66,7 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { - "@storybook/addon-actions": "7.0.0-alpha.59", + "@storybook/addon-actions": "7.0.0-alpha.60", "@types/color-convert": "^2.0.0" }, "peerDependencies": { diff --git a/code/ui/components/package.json b/code/ui/components/package.json index dc99816d1ba0..60732e3b38b5 100644 --- a/code/ui/components/package.json +++ b/code/ui/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -51,10 +51,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.59", + "@storybook/client-logger": "7.0.0-alpha.60", "@storybook/csf": "next", - "@storybook/theming": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/theming": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "memoizerific": "^1.11.3", "util-deprecate": "^1.0.2" }, diff --git a/code/ui/manager/package.json b/code/ui/manager/package.json index b442583e738c..525073e04e67 100644 --- a/code/ui/manager/package.json +++ b/code/ui/manager/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/manager", - "version": "7.0.0-alpha.59", + "version": "7.0.0-alpha.60", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -53,18 +53,18 @@ }, "devDependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", - "@storybook/addons": "7.0.0-alpha.59", - "@storybook/api": "7.0.0-alpha.59", - "@storybook/channel-postmessage": "7.0.0-alpha.59", - "@storybook/channel-websocket": "7.0.0-alpha.59", - "@storybook/channels": "7.0.0-alpha.59", - "@storybook/client-logger": "7.0.0-alpha.59", - "@storybook/components": "7.0.0-alpha.59", - "@storybook/core-events": "7.0.0-alpha.59", - "@storybook/manager-api": "7.0.0-alpha.59", - "@storybook/router": "7.0.0-alpha.59", - "@storybook/theming": "7.0.0-alpha.59", - "@storybook/types": "7.0.0-alpha.59", + "@storybook/addons": "7.0.0-alpha.60", + "@storybook/api": "7.0.0-alpha.60", + "@storybook/channel-postmessage": "7.0.0-alpha.60", + "@storybook/channel-websocket": "7.0.0-alpha.60", + "@storybook/channels": "7.0.0-alpha.60", + "@storybook/client-logger": "7.0.0-alpha.60", + "@storybook/components": "7.0.0-alpha.60", + "@storybook/core-events": "7.0.0-alpha.60", + "@storybook/manager-api": "7.0.0-alpha.60", + "@storybook/router": "7.0.0-alpha.60", + "@storybook/theming": "7.0.0-alpha.60", + "@storybook/types": "7.0.0-alpha.60", "@testing-library/react": "^11.2.2", "@types/semver": "^7.3.4", "copy-to-clipboard": "^3.3.1", From 606de0f52d6a1a938a47463a37c2bfbd51538f8d Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 7 Dec 2022 12:30:47 +0800 Subject: [PATCH 34/37] Update git head to 7.0.0-alpha.60, update yarn.lock [ci skip] --- 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/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 +- .../storyshots/storyshots-core/package.json | 2 +- .../storyshots-puppeteer/package.json | 2 +- code/addons/storysource/package.json | 2 +- code/addons/toolbars/package.json | 2 +- code/addons/viewport/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-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/vue-vite/package.json | 2 +- code/frameworks/vue-webpack5/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/addons/package.json | 2 +- code/lib/builder-manager/package.json | 2 +- code/lib/builder-vite/package.json | 2 +- code/lib/builder-webpack5/package.json | 2 +- code/lib/channel-postmessage/package.json | 2 +- code/lib/channel-websocket/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-api/package.json | 2 +- code/lib/client-logger/package.json | 2 +- code/lib/codemod/package.json | 2 +- code/lib/core-client/package.json | 2 +- code/lib/core-common/package.json | 2 +- 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-shim/package.json | 2 +- code/lib/manager-api/package.json | 2 +- code/lib/node-logger/package.json | 2 +- code/lib/postinstall/package.json | 2 +- code/lib/preview-api/package.json | 2 +- code/lib/preview-web/package.json | 2 +- code/lib/preview/package.json | 2 +- code/lib/router/package.json | 2 +- code/lib/source-loader/package.json | 2 +- code/lib/store/package.json | 2 +- code/lib/telemetry/package.json | 2 +- code/lib/theming/package.json | 2 +- code/lib/types/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/vue-webpack/package.json | 2 +- code/presets/vue3-webpack/package.json | 2 +- .../web-components-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/vue/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 +- code/yarn.lock | 896 +++++++++--------- 90 files changed, 537 insertions(+), 537 deletions(-) diff --git a/code/addons/a11y/package.json b/code/addons/a11y/package.json index 9c5c18007ca0..8a6d10bdf56c 100644 --- a/code/addons/a11y/package.json +++ b/code/addons/a11y/package.json @@ -102,7 +102,7 @@ "./src/preview.tsx" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Accessibility", "icon": "https://user-images.githubusercontent.com/263385/101991665-47042f80-3c7c-11eb-8f00-64b5a18f498a.png", diff --git a/code/addons/actions/package.json b/code/addons/actions/package.json index 1b11aff002bf..eadfb8625992 100644 --- a/code/addons/actions/package.json +++ b/code/addons/actions/package.json @@ -120,7 +120,7 @@ "./src/preview.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Actions", "unsupportedFrameworks": [ diff --git a/code/addons/backgrounds/package.json b/code/addons/backgrounds/package.json index 4a4546f11079..ce4c0bdb5934 100644 --- a/code/addons/backgrounds/package.json +++ b/code/addons/backgrounds/package.json @@ -111,7 +111,7 @@ "./src/preview.tsx" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Backgrounds", "icon": "https://user-images.githubusercontent.com/263385/101991667-479cc600-3c7c-11eb-96d3-410e936252e7.png", diff --git a/code/addons/controls/package.json b/code/addons/controls/package.json index 6565b27c7adf..fffab81c15d8 100644 --- a/code/addons/controls/package.json +++ b/code/addons/controls/package.json @@ -101,7 +101,7 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Controls", "icon": "https://user-images.githubusercontent.com/263385/101991669-479cc600-3c7c-11eb-93d9-38b67e8371f2.png", diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index 19cf64533342..b6bca57bdfd3 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -135,7 +135,7 @@ "./src/shims/mdx-react-shim.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Docs", "icon": "https://user-images.githubusercontent.com/263385/101991672-48355c80-3c7c-11eb-82d9-95fa12438f64.png", diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json index 15a9cee49c03..b2eff7b59272 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -163,5 +163,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/addons/highlight/package.json b/code/addons/highlight/package.json index 2e29cc55faee..4acfea11ae39 100644 --- a/code/addons/highlight/package.json +++ b/code/addons/highlight/package.json @@ -77,7 +77,7 @@ "./src/preview.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "sbmodern": "dist/modern/index.js", "storybook": { "displayName": "Highlight", diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json index d61f28ff6828..04a6a5cde516 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -117,7 +117,7 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Interactions", "unsupportedFrameworks": [ diff --git a/code/addons/jest/package.json b/code/addons/jest/package.json index 67ce188144ff..27321c2d4ab2 100644 --- a/code/addons/jest/package.json +++ b/code/addons/jest/package.json @@ -104,7 +104,7 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Jest", "icon": "https://pbs.twimg.com/profile_images/821713465245102080/mMtKIMax_400x400.jpg", diff --git a/code/addons/links/package.json b/code/addons/links/package.json index 85efa3540a1d..3c719864e84e 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -113,7 +113,7 @@ "./src/react/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Links", "icon": "https://user-images.githubusercontent.com/263385/101991673-48355c80-3c7c-11eb-9b6e-b627c96a75f6.png", diff --git a/code/addons/measure/package.json b/code/addons/measure/package.json index 8c5024d1be1c..34f7fdd5fcbc 100644 --- a/code/addons/measure/package.json +++ b/code/addons/measure/package.json @@ -107,7 +107,7 @@ "./src/preview.tsx" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Measure", "unsupportedFrameworks": [ diff --git a/code/addons/outline/package.json b/code/addons/outline/package.json index c80d0fe7e946..a12139dd14b7 100644 --- a/code/addons/outline/package.json +++ b/code/addons/outline/package.json @@ -111,7 +111,7 @@ "./src/preview.tsx" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Outline", "unsupportedFrameworks": [ diff --git a/code/addons/storyshots/storyshots-core/package.json b/code/addons/storyshots/storyshots-core/package.json index 87d46c7327ff..90f6a31d890a 100644 --- a/code/addons/storyshots/storyshots-core/package.json +++ b/code/addons/storyshots/storyshots-core/package.json @@ -142,7 +142,7 @@ "publishConfig": { "access": "public" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Storyshots", "icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png", diff --git a/code/addons/storyshots/storyshots-puppeteer/package.json b/code/addons/storyshots/storyshots-puppeteer/package.json index dabd340ae320..a2263100762c 100644 --- a/code/addons/storyshots/storyshots-puppeteer/package.json +++ b/code/addons/storyshots/storyshots-puppeteer/package.json @@ -56,5 +56,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/addons/storysource/package.json b/code/addons/storysource/package.json index ae079834e907..f20348f43260 100644 --- a/code/addons/storysource/package.json +++ b/code/addons/storysource/package.json @@ -91,7 +91,7 @@ "./src/preset.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Storysource", "icon": "https://user-images.githubusercontent.com/263385/101991675-48cdf300-3c7c-11eb-9400-58de5ac6daa7.png", diff --git a/code/addons/toolbars/package.json b/code/addons/toolbars/package.json index 174753748df2..8a738a03b256 100644 --- a/code/addons/toolbars/package.json +++ b/code/addons/toolbars/package.json @@ -98,7 +98,7 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Toolbars", "icon": "https://user-images.githubusercontent.com/263385/101991677-48cdf300-3c7c-11eb-93b4-19b0e3366959.png", diff --git a/code/addons/viewport/package.json b/code/addons/viewport/package.json index d3510853f7b4..9301f65de502 100644 --- a/code/addons/viewport/package.json +++ b/code/addons/viewport/package.json @@ -108,7 +108,7 @@ "./src/preview.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc", + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39", "storybook": { "displayName": "Viewport", "icon": "https://user-images.githubusercontent.com/263385/101991678-48cdf300-3c7c-11eb-9764-f8af293c1b28.png", diff --git a/code/frameworks/angular/package.json b/code/frameworks/angular/package.json index c4d4598e6198..f92e4610c9c8 100644 --- a/code/frameworks/angular/package.json +++ b/code/frameworks/angular/package.json @@ -122,5 +122,5 @@ "access": "public" }, "builders": "dist/builders/builders.json", - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/ember/package.json b/code/frameworks/ember/package.json index 33206f82a752..349406fe1865 100644 --- a/code/frameworks/ember/package.json +++ b/code/frameworks/ember/package.json @@ -59,5 +59,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/html-vite/package.json b/code/frameworks/html-vite/package.json index f2fd3e55e97a..26523a3d76b2 100644 --- a/code/frameworks/html-vite/package.json +++ b/code/frameworks/html-vite/package.json @@ -81,5 +81,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/html-webpack5/package.json b/code/frameworks/html-webpack5/package.json index 93376d2bca65..d641f6b0599b 100644 --- a/code/frameworks/html-webpack5/package.json +++ b/code/frameworks/html-webpack5/package.json @@ -78,5 +78,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/nextjs/package.json b/code/frameworks/nextjs/package.json index a9151a909a10..cf0a7d7c5c23 100644 --- a/code/frameworks/nextjs/package.json +++ b/code/frameworks/nextjs/package.json @@ -119,5 +119,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/preact-webpack5/package.json b/code/frameworks/preact-webpack5/package.json index a9302778eb31..73e236b21d06 100644 --- a/code/frameworks/preact-webpack5/package.json +++ b/code/frameworks/preact-webpack5/package.json @@ -79,5 +79,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json index 3e8fff97756b..f98f718e84fe 100644 --- a/code/frameworks/react-vite/package.json +++ b/code/frameworks/react-vite/package.json @@ -83,5 +83,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/react-webpack5/package.json b/code/frameworks/react-webpack5/package.json index e59b65f59e41..0b6426f8ae88 100644 --- a/code/frameworks/react-webpack5/package.json +++ b/code/frameworks/react-webpack5/package.json @@ -86,5 +86,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/server-webpack5/package.json b/code/frameworks/server-webpack5/package.json index 83f9e9532969..a40755e631d7 100644 --- a/code/frameworks/server-webpack5/package.json +++ b/code/frameworks/server-webpack5/package.json @@ -76,5 +76,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/svelte-vite/package.json b/code/frameworks/svelte-vite/package.json index c795c8b9749c..ccea46e001cd 100644 --- a/code/frameworks/svelte-vite/package.json +++ b/code/frameworks/svelte-vite/package.json @@ -89,5 +89,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/svelte-webpack5/package.json b/code/frameworks/svelte-webpack5/package.json index 83bae29b8961..f8ba0990a6b4 100644 --- a/code/frameworks/svelte-webpack5/package.json +++ b/code/frameworks/svelte-webpack5/package.json @@ -81,5 +81,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/sveltekit/package.json b/code/frameworks/sveltekit/package.json index ebb757db511a..96c69256aada 100644 --- a/code/frameworks/sveltekit/package.json +++ b/code/frameworks/sveltekit/package.json @@ -80,5 +80,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/vue-vite/package.json b/code/frameworks/vue-vite/package.json index e152e1afdf29..c61690213175 100644 --- a/code/frameworks/vue-vite/package.json +++ b/code/frameworks/vue-vite/package.json @@ -80,5 +80,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/vue-webpack5/package.json b/code/frameworks/vue-webpack5/package.json index cc38ab8c2579..f8125da6686c 100644 --- a/code/frameworks/vue-webpack5/package.json +++ b/code/frameworks/vue-webpack5/package.json @@ -85,5 +85,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json index e6e91d0c4761..9ce8b09b1fef 100644 --- a/code/frameworks/vue3-vite/package.json +++ b/code/frameworks/vue3-vite/package.json @@ -81,5 +81,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/vue3-webpack5/package.json b/code/frameworks/vue3-webpack5/package.json index ca2f0bc09a15..d92cae33984c 100644 --- a/code/frameworks/vue3-webpack5/package.json +++ b/code/frameworks/vue3-webpack5/package.json @@ -82,5 +82,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/web-components-vite/package.json b/code/frameworks/web-components-vite/package.json index 2ab7b051065c..2806014c7772 100644 --- a/code/frameworks/web-components-vite/package.json +++ b/code/frameworks/web-components-vite/package.json @@ -80,5 +80,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/frameworks/web-components-webpack5/package.json b/code/frameworks/web-components-webpack5/package.json index 0aa1a33e0bd8..d392cb9f45c5 100644 --- a/code/frameworks/web-components-webpack5/package.json +++ b/code/frameworks/web-components-webpack5/package.json @@ -81,5 +81,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/addons/package.json b/code/lib/addons/package.json index 1cf0e17be680..41f74af07604 100644 --- a/code/lib/addons/package.json +++ b/code/lib/addons/package.json @@ -58,5 +58,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/builder-manager/package.json b/code/lib/builder-manager/package.json index f196df661aa8..3b0a56696b61 100644 --- a/code/lib/builder-manager/package.json +++ b/code/lib/builder-manager/package.json @@ -69,5 +69,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/builder-vite/package.json b/code/lib/builder-vite/package.json index 3c2ac1e891b3..9e76ad0be312 100644 --- a/code/lib/builder-vite/package.json +++ b/code/lib/builder-vite/package.json @@ -91,5 +91,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/builder-webpack5/package.json b/code/lib/builder-webpack5/package.json index 342f6d3e9595..3820046726f1 100644 --- a/code/lib/builder-webpack5/package.json +++ b/code/lib/builder-webpack5/package.json @@ -126,5 +126,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/channel-postmessage/package.json b/code/lib/channel-postmessage/package.json index e55c2ba1b9fb..334a3600446c 100644 --- a/code/lib/channel-postmessage/package.json +++ b/code/lib/channel-postmessage/package.json @@ -60,5 +60,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/channel-websocket/package.json b/code/lib/channel-websocket/package.json index c7653c289882..cf42df8f127e 100644 --- a/code/lib/channel-websocket/package.json +++ b/code/lib/channel-websocket/package.json @@ -58,5 +58,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/channels/package.json b/code/lib/channels/package.json index 90d6aba104da..3f44fbf276e5 100644 --- a/code/lib/channels/package.json +++ b/code/lib/channels/package.json @@ -52,5 +52,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/cli-sb/package.json b/code/lib/cli-sb/package.json index fadcd00e6bf1..76fdbb0e0d3a 100644 --- a/code/lib/cli-sb/package.json +++ b/code/lib/cli-sb/package.json @@ -32,5 +32,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/cli-storybook/package.json b/code/lib/cli-storybook/package.json index 9e9888ee7fe0..3336ce76257e 100644 --- a/code/lib/cli-storybook/package.json +++ b/code/lib/cli-storybook/package.json @@ -35,5 +35,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/cli/package.json b/code/lib/cli/package.json index 81e9acada8be..48fb32eaf3b8 100644 --- a/code/lib/cli/package.json +++ b/code/lib/cli/package.json @@ -98,5 +98,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/client-api/package.json b/code/lib/client-api/package.json index 3894029f3a49..e360aaeb12fe 100644 --- a/code/lib/client-api/package.json +++ b/code/lib/client-api/package.json @@ -54,5 +54,5 @@ ], "shim": "@storybook/preview-api/dist/client-api" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/client-logger/package.json b/code/lib/client-logger/package.json index 9dcd95c8131e..7102b0f3cdad 100644 --- a/code/lib/client-logger/package.json +++ b/code/lib/client-logger/package.json @@ -55,5 +55,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json index bce0a31461fb..bdde12ec45bc 100644 --- a/code/lib/codemod/package.json +++ b/code/lib/codemod/package.json @@ -64,5 +64,5 @@ "./src/index.js" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/core-client/package.json b/code/lib/core-client/package.json index e94a6d42466b..c8796ebf18fe 100644 --- a/code/lib/core-client/package.json +++ b/code/lib/core-client/package.json @@ -47,5 +47,5 @@ ], "shim": "@storybook/preview-api/dist/core-client" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/core-common/package.json b/code/lib/core-common/package.json index 8c0870dc7893..972beace8d28 100644 --- a/code/lib/core-common/package.json +++ b/code/lib/core-common/package.json @@ -91,5 +91,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/core-events/package.json b/code/lib/core-events/package.json index fe677750dad9..7bc80d01b9e6 100644 --- a/code/lib/core-events/package.json +++ b/code/lib/core-events/package.json @@ -52,5 +52,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/core-server/package.json b/code/lib/core-server/package.json index dfe0da2c7edc..88bf78cb46bc 100644 --- a/code/lib/core-server/package.json +++ b/code/lib/core-server/package.json @@ -101,5 +101,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/core-webpack/package.json b/code/lib/core-webpack/package.json index f64393f38158..2720696206fc 100644 --- a/code/lib/core-webpack/package.json +++ b/code/lib/core-webpack/package.json @@ -61,5 +61,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/csf-plugin/package.json b/code/lib/csf-plugin/package.json index 857b4cf5f356..a16e2b4fa96e 100644 --- a/code/lib/csf-plugin/package.json +++ b/code/lib/csf-plugin/package.json @@ -56,5 +56,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/csf-tools/package.json b/code/lib/csf-tools/package.json index 50fb832f8d44..a871ee80948e 100644 --- a/code/lib/csf-tools/package.json +++ b/code/lib/csf-tools/package.json @@ -64,5 +64,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/docs-tools/package.json b/code/lib/docs-tools/package.json index c9ca0b1e0e40..33d169a3a294 100644 --- a/code/lib/docs-tools/package.json +++ b/code/lib/docs-tools/package.json @@ -62,5 +62,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/instrumenter/package.json b/code/lib/instrumenter/package.json index 7b1b1e61eb57..465ad2999485 100644 --- a/code/lib/instrumenter/package.json +++ b/code/lib/instrumenter/package.json @@ -60,5 +60,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/manager-api-shim/package.json b/code/lib/manager-api-shim/package.json index 14276109629a..a5328319643d 100644 --- a/code/lib/manager-api-shim/package.json +++ b/code/lib/manager-api-shim/package.json @@ -54,5 +54,5 @@ ], "shim": "@storybook/manager-api" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/manager-api/package.json b/code/lib/manager-api/package.json index 9fd52d64251e..770523f6ae0d 100644 --- a/code/lib/manager-api/package.json +++ b/code/lib/manager-api/package.json @@ -77,5 +77,5 @@ "./src/index.tsx" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/node-logger/package.json b/code/lib/node-logger/package.json index ca90043e5788..50c794990d63 100644 --- a/code/lib/node-logger/package.json +++ b/code/lib/node-logger/package.json @@ -59,5 +59,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/postinstall/package.json b/code/lib/postinstall/package.json index 739caa0f01b2..e44cba1130ec 100644 --- a/code/lib/postinstall/package.json +++ b/code/lib/postinstall/package.json @@ -56,5 +56,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/preview-api/package.json b/code/lib/preview-api/package.json index bfd11e034841..09909fd2f76a 100644 --- a/code/lib/preview-api/package.json +++ b/code/lib/preview-api/package.json @@ -103,5 +103,5 @@ "./src/store.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/preview-web/package.json b/code/lib/preview-web/package.json index 392a94d55531..f4338f85f26b 100644 --- a/code/lib/preview-web/package.json +++ b/code/lib/preview-web/package.json @@ -54,5 +54,5 @@ ], "shim": "@storybook/preview-api/dist/preview-web" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/preview/package.json b/code/lib/preview/package.json index 93d53266996e..c046825bb86a 100644 --- a/code/lib/preview/package.json +++ b/code/lib/preview/package.json @@ -74,5 +74,5 @@ "./src/globals.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/router/package.json b/code/lib/router/package.json index 9d349b358ab9..9b958996d20e 100644 --- a/code/lib/router/package.json +++ b/code/lib/router/package.json @@ -74,5 +74,5 @@ "./src/utils.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/source-loader/package.json b/code/lib/source-loader/package.json index 0303feee6d8d..c0e03edd0463 100644 --- a/code/lib/source-loader/package.json +++ b/code/lib/source-loader/package.json @@ -66,5 +66,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/store/package.json b/code/lib/store/package.json index d658f0c1dd10..545e00b271ad 100644 --- a/code/lib/store/package.json +++ b/code/lib/store/package.json @@ -55,5 +55,5 @@ "platform": "node", "shim": "@storybook/preview-api/dist/store" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/telemetry/package.json b/code/lib/telemetry/package.json index 21607f982733..b7bbfc206b3c 100644 --- a/code/lib/telemetry/package.json +++ b/code/lib/telemetry/package.json @@ -64,5 +64,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/theming/package.json b/code/lib/theming/package.json index 31d898ed8e10..aca74c399a80 100644 --- a/code/lib/theming/package.json +++ b/code/lib/theming/package.json @@ -80,5 +80,5 @@ ], "post": "./scripts/fix-theme-type-export.ts" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/lib/types/package.json b/code/lib/types/package.json index 56a0dc9578e2..f31edb2cb37f 100644 --- a/code/lib/types/package.json +++ b/code/lib/types/package.json @@ -60,5 +60,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/presets/html-webpack/package.json b/code/presets/html-webpack/package.json index 9a7441e931dc..e178086e71e6 100644 --- a/code/presets/html-webpack/package.json +++ b/code/presets/html-webpack/package.json @@ -73,5 +73,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/presets/preact-webpack/package.json b/code/presets/preact-webpack/package.json index a785aa808304..965eec4be9e6 100644 --- a/code/presets/preact-webpack/package.json +++ b/code/presets/preact-webpack/package.json @@ -74,5 +74,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/presets/react-webpack/package.json b/code/presets/react-webpack/package.json index c88b37b66c69..242903d1bca6 100644 --- a/code/presets/react-webpack/package.json +++ b/code/presets/react-webpack/package.json @@ -123,5 +123,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/presets/server-webpack/package.json b/code/presets/server-webpack/package.json index e0cbb34a4e0e..00c8dd7123b9 100644 --- a/code/presets/server-webpack/package.json +++ b/code/presets/server-webpack/package.json @@ -83,5 +83,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/presets/svelte-webpack/package.json b/code/presets/svelte-webpack/package.json index 2704145c78cc..a62118975e09 100644 --- a/code/presets/svelte-webpack/package.json +++ b/code/presets/svelte-webpack/package.json @@ -95,5 +95,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/presets/vue-webpack/package.json b/code/presets/vue-webpack/package.json index 280138a3e471..cf5f0e53bc6c 100644 --- a/code/presets/vue-webpack/package.json +++ b/code/presets/vue-webpack/package.json @@ -97,5 +97,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/presets/vue3-webpack/package.json b/code/presets/vue3-webpack/package.json index 059fc9b9fb0f..2cdbe5e544e2 100644 --- a/code/presets/vue3-webpack/package.json +++ b/code/presets/vue3-webpack/package.json @@ -94,5 +94,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/presets/web-components-webpack/package.json b/code/presets/web-components-webpack/package.json index 97c4209265da..6665113bb875 100644 --- a/code/presets/web-components-webpack/package.json +++ b/code/presets/web-components-webpack/package.json @@ -79,5 +79,5 @@ ], "platform": "node" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/renderers/html/package.json b/code/renderers/html/package.json index 82bf578ae675..2b1a741be712 100644 --- a/code/renderers/html/package.json +++ b/code/renderers/html/package.json @@ -77,5 +77,5 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/renderers/preact/package.json b/code/renderers/preact/package.json index 3568df6331c9..d8353078cfa7 100644 --- a/code/renderers/preact/package.json +++ b/code/renderers/preact/package.json @@ -77,5 +77,5 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/renderers/react/package.json b/code/renderers/react/package.json index b2cdc7df79fe..403d4e49b95b 100644 --- a/code/renderers/react/package.json +++ b/code/renderers/react/package.json @@ -102,5 +102,5 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index 39ea839627b7..d77d8c07bcf4 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -73,5 +73,5 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/renderers/svelte/package.json b/code/renderers/svelte/package.json index eada9318d658..6f41155413e6 100644 --- a/code/renderers/svelte/package.json +++ b/code/renderers/svelte/package.json @@ -87,5 +87,5 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/renderers/vue/package.json b/code/renderers/vue/package.json index 5db7be29b953..d884e0ff79d6 100644 --- a/code/renderers/vue/package.json +++ b/code/renderers/vue/package.json @@ -89,5 +89,5 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/renderers/vue3/package.json b/code/renderers/vue3/package.json index 15a7ae81dd6c..0f8c6d97808a 100644 --- a/code/renderers/vue3/package.json +++ b/code/renderers/vue3/package.json @@ -82,5 +82,5 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/renderers/web-components/package.json b/code/renderers/web-components/package.json index 56d47a19faf5..4124ca92a579 100644 --- a/code/renderers/web-components/package.json +++ b/code/renderers/web-components/package.json @@ -83,5 +83,5 @@ ], "platform": "browser" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/ui/blocks/package.json b/code/ui/blocks/package.json index cc9a1b072c5c..f42ce7104c09 100644 --- a/code/ui/blocks/package.json +++ b/code/ui/blocks/package.json @@ -81,5 +81,5 @@ "./src/index.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/ui/components/package.json b/code/ui/components/package.json index 60732e3b38b5..8f94e603987b 100644 --- a/code/ui/components/package.json +++ b/code/ui/components/package.json @@ -87,5 +87,5 @@ ], "platform": "neutral" }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/ui/manager/package.json b/code/ui/manager/package.json index 525073e04e67..279f0c8f2e7e 100644 --- a/code/ui/manager/package.json +++ b/code/ui/manager/package.json @@ -100,5 +100,5 @@ "./src/runtime.ts" ] }, - "gitHead": "8d3068344b96cb740635b6fbb7a9052108a984bc" + "gitHead": "2b38f15a169d191e68f01abae0b109920d89fb39" } diff --git a/code/yarn.lock b/code/yarn.lock index 55fb28f68b8d..a43b04d31808 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -5139,15 +5139,15 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-a11y@workspace:addons/a11y" dependencies: - "@storybook/addon-highlight": 7.0.0-alpha.59 - "@storybook/channels": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/addon-highlight": 7.0.0-alpha.60 + "@storybook/channels": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@testing-library/react": ^11.2.2 axe-core: ^4.2.0 global: ^4.4.0 @@ -5165,17 +5165,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-actions@7.0.0-alpha.59, @storybook/addon-actions@workspace:*, @storybook/addon-actions@workspace:addons/actions": +"@storybook/addon-actions@7.0.0-alpha.60, @storybook/addon-actions@workspace:*, @storybook/addon-actions@workspace:addons/actions": version: 0.0.0-use.local resolution: "@storybook/addon-actions@workspace:addons/actions" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/lodash": ^4.14.167 dequal: ^2.0.2 global: ^4.4.0 @@ -5198,17 +5198,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-backgrounds@7.0.0-alpha.59, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds": +"@storybook/addon-backgrounds@7.0.0-alpha.60, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds": version: 0.0.0-use.local resolution: "@storybook/addon-backgrounds@workspace:addons/backgrounds" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 global: ^4.4.0 memoizerific: ^1.11.3 ts-dedent: ^2.0.0 @@ -5224,19 +5224,19 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-controls@7.0.0-alpha.59, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls": +"@storybook/addon-controls@7.0.0-alpha.60, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls": version: 0.0.0-use.local resolution: "@storybook/addon-controls@workspace:addons/controls" dependencies: - "@storybook/blocks": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/blocks": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 lodash: ^4.17.21 ts-dedent: ^2.0.0 peerDependencies: @@ -5250,7 +5250,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-docs@7.0.0-alpha.59, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs": +"@storybook/addon-docs@7.0.0-alpha.60, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs": version: 0.0.0-use.local resolution: "@storybook/addon-docs@workspace:addons/docs" dependencies: @@ -5258,16 +5258,16 @@ __metadata: "@babel/plugin-transform-react-jsx": ^7.19.0 "@jest/transform": ^29.3.1 "@mdx-js/react": ^2.1.5 - "@storybook/blocks": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/csf-plugin": 7.0.0-alpha.59 - "@storybook/csf-tools": 7.0.0-alpha.59 + "@storybook/blocks": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/csf-plugin": 7.0.0-alpha.60 + "@storybook/csf-tools": 7.0.0-alpha.60 "@storybook/mdx2-csf": next - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/postinstall": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/postinstall": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 fs-extra: ^9.0.1 global: ^4.4.0 react: ^16.14.0 @@ -5286,20 +5286,20 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-essentials@workspace:addons/essentials" dependencies: - "@storybook/addon-actions": 7.0.0-alpha.59 - "@storybook/addon-backgrounds": 7.0.0-alpha.59 - "@storybook/addon-controls": 7.0.0-alpha.59 - "@storybook/addon-docs": 7.0.0-alpha.59 - "@storybook/addon-highlight": 7.0.0-alpha.59 - "@storybook/addon-measure": 7.0.0-alpha.59 - "@storybook/addon-outline": 7.0.0-alpha.59 - "@storybook/addon-toolbars": 7.0.0-alpha.59 - "@storybook/addon-viewport": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/vue": 7.0.0-alpha.59 + "@storybook/addon-actions": 7.0.0-alpha.60 + "@storybook/addon-backgrounds": 7.0.0-alpha.60 + "@storybook/addon-controls": 7.0.0-alpha.60 + "@storybook/addon-docs": 7.0.0-alpha.60 + "@storybook/addon-highlight": 7.0.0-alpha.60 + "@storybook/addon-measure": 7.0.0-alpha.60 + "@storybook/addon-outline": 7.0.0-alpha.60 + "@storybook/addon-toolbars": 7.0.0-alpha.60 + "@storybook/addon-viewport": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/vue": 7.0.0-alpha.60 ts-dedent: ^2.0.0 typescript: ^4.9.3 peerDependencies: @@ -5308,12 +5308,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-highlight@7.0.0-alpha.59, @storybook/addon-highlight@workspace:*, @storybook/addon-highlight@workspace:addons/highlight": +"@storybook/addon-highlight@7.0.0-alpha.60, @storybook/addon-highlight@workspace:*, @storybook/addon-highlight@workspace:addons/highlight": version: 0.0.0-use.local resolution: "@storybook/addon-highlight@workspace:addons/highlight" dependencies: - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 "@types/webpack-env": ^1.16.0 global: ^4.4.0 typescript: ~4.9.3 @@ -5325,17 +5325,17 @@ __metadata: resolution: "@storybook/addon-interactions@workspace:addons/interactions" dependencies: "@devtools-ds/object-inspector": ^1.1.2 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/instrumenter": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/instrumenter": 7.0.0-alpha.60 "@storybook/jest": ^0.0.10 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 "@storybook/testing-library": 0.0.14-next.0 - "@storybook/theming": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/theming": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/node": ^16.0.0 formik: ^2.2.9 global: ^4.4.0 @@ -5358,12 +5358,12 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-jest@workspace:addons/jest" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 global: ^4.4.0 react-sizeme: ^3.0.1 typescript: ~4.9.3 @@ -5383,13 +5383,13 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-links@workspace:addons/links" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 "@storybook/csf": next - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/router": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/router": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 global: ^4.4.0 prop-types: ^15.7.2 ts-dedent: ^2.0.0 @@ -5405,16 +5405,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-measure@7.0.0-alpha.59, @storybook/addon-measure@workspace:*, @storybook/addon-measure@workspace:addons/measure": +"@storybook/addon-measure@7.0.0-alpha.60, @storybook/addon-measure@workspace:*, @storybook/addon-measure@workspace:addons/measure": version: 0.0.0-use.local resolution: "@storybook/addon-measure@workspace:addons/measure" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 global: ^4.4.0 typescript: ~4.9.3 peerDependencies: @@ -5428,16 +5428,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-outline@7.0.0-alpha.59, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline": +"@storybook/addon-outline@7.0.0-alpha.60, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline": version: 0.0.0-use.local resolution: "@storybook/addon-outline@workspace:addons/outline" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 global: ^4.4.0 ts-dedent: ^2.0.0 typescript: ~4.9.3 @@ -5458,14 +5458,14 @@ __metadata: dependencies: "@axe-core/puppeteer": ^4.2.0 "@storybook/csf": next - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/jest-image-snapshot": ^5.1.0 "@types/puppeteer": ^5.4.0 jest-image-snapshot: ^6.0.0 puppeteer: ^2.0.0 || ^3.0.0 peerDependencies: - "@storybook/addon-storyshots": 7.0.0-alpha.59 + "@storybook/addon-storyshots": 7.0.0-alpha.60 puppeteer: ">=2.0.0" peerDependenciesMeta: puppeteer: @@ -5481,17 +5481,17 @@ __metadata: "@angular/platform-browser-dynamic": ^13.3.6 "@emotion/jest": ^11.8.0 "@jest/transform": ^29.3.1 - "@storybook/addon-docs": 7.0.0-alpha.59 - "@storybook/angular": 7.0.0-alpha.59 + "@storybook/addon-docs": 7.0.0-alpha.60 + "@storybook/angular": 7.0.0-alpha.60 "@storybook/babel-plugin-require-context-hook": 1.0.1 - "@storybook/client-api": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/core-webpack": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/react": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 - "@storybook/vue": 7.0.0-alpha.59 - "@storybook/vue3": 7.0.0-alpha.59 + "@storybook/client-api": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/core-webpack": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/react": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 + "@storybook/vue": 7.0.0-alpha.60 + "@storybook/vue3": 7.0.0-alpha.60 "@types/glob": ^7.1.3 "@types/jest-specific-snapshot": ^0.5.6 babel-loader: ^8.3.0 @@ -5565,13 +5565,13 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-storysource@workspace:addons/storysource" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/router": 7.0.0-alpha.59 - "@storybook/source-loader": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/router": 7.0.0-alpha.60 + "@storybook/source-loader": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 "@types/react": ^16.14.34 "@types/react-syntax-highlighter": 11.0.5 estraverse: ^5.2.0 @@ -5605,15 +5605,15 @@ __metadata: languageName: node linkType: hard -"@storybook/addon-toolbars@7.0.0-alpha.59, @storybook/addon-toolbars@workspace:*, @storybook/addon-toolbars@workspace:addons/toolbars": +"@storybook/addon-toolbars@7.0.0-alpha.60, @storybook/addon-toolbars@workspace:*, @storybook/addon-toolbars@workspace:addons/toolbars": version: 0.0.0-use.local resolution: "@storybook/addon-toolbars@workspace:addons/toolbars" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 typescript: ~4.9.3 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5626,16 +5626,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-viewport@7.0.0-alpha.59, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport": +"@storybook/addon-viewport@7.0.0-alpha.60, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport": version: 0.0.0-use.local resolution: "@storybook/addon-viewport@workspace:addons/viewport" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 global: ^4.4.0 memoizerific: ^1.11.3 prop-types: ^15.7.2 @@ -5651,13 +5651,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addons@7.0.0-alpha.59, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons": +"@storybook/addons@7.0.0-alpha.60, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons": version: 0.0.0-use.local resolution: "@storybook/addons@workspace:lib/addons" dependencies: - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5686,7 +5686,7 @@ __metadata: languageName: node linkType: hard -"@storybook/angular@7.0.0-alpha.59, @storybook/angular@workspace:*, @storybook/angular@workspace:frameworks/angular": +"@storybook/angular@7.0.0-alpha.60, @storybook/angular@workspace:*, @storybook/angular@workspace:frameworks/angular": version: 0.0.0-use.local resolution: "@storybook/angular@workspace:frameworks/angular" dependencies: @@ -5702,18 +5702,18 @@ __metadata: "@angular/platform-browser": ^13.3.6 "@angular/platform-browser-dynamic": ^13.3.6 "@nrwl/workspace": 14.6.1 - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-client": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/core-server": 7.0.0-alpha.59 - "@storybook/core-webpack": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-client": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/core-server": 7.0.0-alpha.60 + "@storybook/core-webpack": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/node": ^16.0.0 "@types/react": ^16.14.34 "@types/react-dom": ^16.9.14 @@ -5766,12 +5766,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/api@7.0.0-alpha.59, @storybook/api@workspace:*, @storybook/api@workspace:lib/manager-api-shim": +"@storybook/api@7.0.0-alpha.60, @storybook/api@workspace:*, @storybook/api@workspace:lib/manager-api-shim": version: 0.0.0-use.local resolution: "@storybook/api@workspace:lib/manager-api-shim" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 languageName: unknown linkType: soft @@ -5810,21 +5810,21 @@ __metadata: languageName: node linkType: hard -"@storybook/blocks@7.0.0-alpha.59, @storybook/blocks@workspace:*, @storybook/blocks@workspace:ui/blocks": +"@storybook/blocks@7.0.0-alpha.60, @storybook/blocks@workspace:*, @storybook/blocks@workspace:ui/blocks": version: 0.0.0-use.local resolution: "@storybook/blocks@workspace:ui/blocks" dependencies: - "@storybook/addon-actions": 7.0.0-alpha.59 - "@storybook/channels": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 + "@storybook/addon-actions": 7.0.0-alpha.60 + "@storybook/channels": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 "@storybook/csf": next - "@storybook/docs-tools": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/docs-tools": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/color-convert": ^2.0.0 "@types/lodash": ^4.14.167 color-convert: ^2.0.1 @@ -5843,14 +5843,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/builder-manager@7.0.0-alpha.59, @storybook/builder-manager@workspace:*, @storybook/builder-manager@workspace:lib/builder-manager": +"@storybook/builder-manager@7.0.0-alpha.60, @storybook/builder-manager@workspace:*, @storybook/builder-manager@workspace:lib/builder-manager": version: 0.0.0-use.local resolution: "@storybook/builder-manager@workspace:lib/builder-manager" dependencies: "@fal-works/esbuild-plugin-global-externals": ^2.1.2 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/manager": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/manager": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 "@types/ejs": ^3.1.1 "@yarnpkg/esbuild-plugin-pnp": ^3.0.0-rc.10 browser-assert: ^1.2.1 @@ -5866,19 +5866,19 @@ __metadata: languageName: unknown linkType: soft -"@storybook/builder-vite@7.0.0-alpha.59, @storybook/builder-vite@workspace:*, @storybook/builder-vite@workspace:lib/builder-vite": +"@storybook/builder-vite@7.0.0-alpha.60, @storybook/builder-vite@workspace:*, @storybook/builder-vite@workspace:lib/builder-vite": version: 0.0.0-use.local resolution: "@storybook/builder-vite@workspace:lib/builder-vite" dependencies: "@joshwooding/vite-plugin-react-docgen-typescript": 0.0.5 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 "@storybook/mdx2-csf": next - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/preview": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/source-loader": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/preview": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/source-loader": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/express": ^4.17.13 "@types/node": ^16.0.0 "@vitejs/plugin-react": ^2.0.0 @@ -5905,29 +5905,29 @@ __metadata: languageName: unknown linkType: soft -"@storybook/builder-webpack5@7.0.0-alpha.59, @storybook/builder-webpack5@workspace:*, @storybook/builder-webpack5@workspace:lib/builder-webpack5": +"@storybook/builder-webpack5@7.0.0-alpha.60, @storybook/builder-webpack5@workspace:*, @storybook/builder-webpack5@workspace:lib/builder-webpack5": version: 0.0.0-use.local resolution: "@storybook/builder-webpack5@workspace:lib/builder-webpack5" dependencies: "@babel/core": ^7.12.10 - "@storybook/addons": 7.0.0-alpha.59 - "@storybook/api": 7.0.0-alpha.59 - "@storybook/channel-postmessage": 7.0.0-alpha.59 - "@storybook/channel-websocket": 7.0.0-alpha.59 - "@storybook/channels": 7.0.0-alpha.59 - "@storybook/client-api": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/core-webpack": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/preview": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/router": 7.0.0-alpha.59 - "@storybook/store": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 + "@storybook/addons": 7.0.0-alpha.60 + "@storybook/api": 7.0.0-alpha.60 + "@storybook/channel-postmessage": 7.0.0-alpha.60 + "@storybook/channel-websocket": 7.0.0-alpha.60 + "@storybook/channels": 7.0.0-alpha.60 + "@storybook/client-api": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/core-webpack": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/preview": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/router": 7.0.0-alpha.60 + "@storybook/store": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 "@types/node": ^16.0.0 "@types/pretty-hrtime": ^1.0.0 "@types/semver": ^7.3.4 @@ -5968,13 +5968,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-postmessage@7.0.0-alpha.59, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:lib/channel-postmessage": +"@storybook/channel-postmessage@7.0.0-alpha.60, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:lib/channel-postmessage": version: 0.0.0-use.local resolution: "@storybook/channel-postmessage@workspace:lib/channel-postmessage" dependencies: - "@storybook/channels": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 + "@storybook/channels": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 global: ^4.4.0 qs: ^6.10.0 telejson: ^7.0.3 @@ -5982,19 +5982,19 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-websocket@7.0.0-alpha.59, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket": +"@storybook/channel-websocket@7.0.0-alpha.60, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket": version: 0.0.0-use.local resolution: "@storybook/channel-websocket@workspace:lib/channel-websocket" dependencies: - "@storybook/channels": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 + "@storybook/channels": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 global: ^4.4.0 telejson: ^7.0.3 typescript: ~4.9.3 languageName: unknown linkType: soft -"@storybook/channels@7.0.0-alpha.59, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels": +"@storybook/channels@7.0.0-alpha.60, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels": version: 0.0.0-use.local resolution: "@storybook/channels@workspace:lib/channels" dependencies: @@ -6013,20 +6013,20 @@ __metadata: languageName: node linkType: hard -"@storybook/cli@7.0.0-alpha.59, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli": +"@storybook/cli@7.0.0-alpha.60, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli": version: 0.0.0-use.local resolution: "@storybook/cli@workspace:lib/cli" dependencies: "@babel/core": ^7.20.2 "@babel/preset-env": ^7.20.2 - "@storybook/client-api": 7.0.0-alpha.59 - "@storybook/codemod": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/core-server": 7.0.0-alpha.59 - "@storybook/csf-tools": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/telemetry": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/client-api": 7.0.0-alpha.60 + "@storybook/codemod": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/core-server": 7.0.0-alpha.60 + "@storybook/csf-tools": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/telemetry": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/cross-spawn": ^6.0.2 "@types/prompts": ^2.0.9 "@types/puppeteer-core": ^2.1.0 @@ -6065,16 +6065,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/client-api@7.0.0-alpha.59, @storybook/client-api@workspace:*, @storybook/client-api@workspace:lib/client-api": +"@storybook/client-api@7.0.0-alpha.60, @storybook/client-api@workspace:*, @storybook/client-api@workspace:lib/client-api": version: 0.0.0-use.local resolution: "@storybook/client-api@workspace:lib/client-api" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 languageName: unknown linkType: soft -"@storybook/client-logger@7.0.0-alpha.59, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger": +"@storybook/client-logger@7.0.0-alpha.60, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger": version: 0.0.0-use.local resolution: "@storybook/client-logger@workspace:lib/client-logger" dependencies: @@ -6093,15 +6093,15 @@ __metadata: languageName: node linkType: hard -"@storybook/codemod@7.0.0-alpha.59, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod": +"@storybook/codemod@7.0.0-alpha.60, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod": version: 0.0.0-use.local resolution: "@storybook/codemod@workspace:lib/codemod" dependencies: "@babel/types": ^7.20.2 "@storybook/csf": next - "@storybook/csf-tools": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/csf-tools": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 cross-spawn: ^7.0.3 globby: ^11.0.2 jest: ^29.3.1 @@ -6115,15 +6115,15 @@ __metadata: languageName: unknown linkType: soft -"@storybook/components@7.0.0-alpha.59, @storybook/components@workspace:*, @storybook/components@workspace:ui/components": +"@storybook/components@7.0.0-alpha.60, @storybook/components@workspace:*, @storybook/components@workspace:ui/components": version: 0.0.0-use.local resolution: "@storybook/components@workspace:ui/components" dependencies: "@popperjs/core": ^2.6.0 - "@storybook/client-logger": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 "@storybook/csf": next - "@storybook/theming": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/theming": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/overlayscrollbars": ^1.12.0 "@types/react-syntax-highlighter": 11.0.5 "@types/util-deprecate": ^1.0.0 @@ -6145,22 +6145,22 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-client@7.0.0-alpha.59, @storybook/core-client@workspace:*, @storybook/core-client@workspace:lib/core-client": +"@storybook/core-client@7.0.0-alpha.60, @storybook/core-client@workspace:*, @storybook/core-client@workspace:lib/core-client": version: 0.0.0-use.local resolution: "@storybook/core-client@workspace:lib/core-client" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 languageName: unknown linkType: soft -"@storybook/core-common@7.0.0-alpha.59, @storybook/core-common@workspace:*, @storybook/core-common@workspace:lib/core-common": +"@storybook/core-common@7.0.0-alpha.60, @storybook/core-common@workspace:*, @storybook/core-common@workspace:lib/core-common": version: 0.0.0-use.local resolution: "@storybook/core-common@workspace:lib/core-common" dependencies: "@babel/core": ^7.20.2 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/babel__core": ^7.1.20 "@types/express": ^4.7.0 "@types/mock-fs": ^4.13.1 @@ -6192,7 +6192,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-events@7.0.0-alpha.59, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events": +"@storybook/core-events@7.0.0-alpha.60, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events": version: 0.0.0-use.local resolution: "@storybook/core-events@workspace:lib/core-events" dependencies: @@ -6209,23 +6209,23 @@ __metadata: languageName: node linkType: hard -"@storybook/core-server@7.0.0-alpha.59, @storybook/core-server@workspace:*, @storybook/core-server@workspace:lib/core-server": +"@storybook/core-server@7.0.0-alpha.60, @storybook/core-server@workspace:*, @storybook/core-server@workspace:lib/core-server": version: 0.0.0-use.local resolution: "@storybook/core-server@workspace:lib/core-server" dependencies: "@aw-web-design/x-default-browser": 1.4.88 "@discoveryjs/json-ext": ^0.5.3 - "@storybook/builder-manager": 7.0.0-alpha.59 - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 + "@storybook/builder-manager": 7.0.0-alpha.60 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 "@storybook/csf": next - "@storybook/csf-tools": 7.0.0-alpha.59 + "@storybook/csf-tools": 7.0.0-alpha.60 "@storybook/docs-mdx": next - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/telemetry": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/telemetry": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/compression": ^1.7.0 "@types/ip": ^1.1.0 "@types/node": ^16.0.0 @@ -6274,13 +6274,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-webpack@7.0.0-alpha.59, @storybook/core-webpack@workspace:*, @storybook/core-webpack@workspace:lib/core-webpack": +"@storybook/core-webpack@7.0.0-alpha.60, @storybook/core-webpack@workspace:*, @storybook/core-webpack@workspace:lib/core-webpack": version: 0.0.0-use.local resolution: "@storybook/core-webpack@workspace:lib/core-webpack" dependencies: - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/node": ^16.0.0 ts-dedent: ^2.0.0 typescript: ~4.9.3 @@ -6288,17 +6288,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/csf-plugin@7.0.0-alpha.59, @storybook/csf-plugin@workspace:*, @storybook/csf-plugin@workspace:lib/csf-plugin": +"@storybook/csf-plugin@7.0.0-alpha.60, @storybook/csf-plugin@workspace:*, @storybook/csf-plugin@workspace:lib/csf-plugin": version: 0.0.0-use.local resolution: "@storybook/csf-plugin@workspace:lib/csf-plugin" dependencies: - "@storybook/csf-tools": 7.0.0-alpha.59 + "@storybook/csf-tools": 7.0.0-alpha.60 typescript: ~4.9.3 unplugin: ^0.10.2 languageName: unknown linkType: soft -"@storybook/csf-tools@7.0.0-alpha.59, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools": +"@storybook/csf-tools@7.0.0-alpha.60, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools": version: 0.0.0-use.local resolution: "@storybook/csf-tools@workspace:lib/csf-tools" dependencies: @@ -6307,7 +6307,7 @@ __metadata: "@babel/traverse": ^7.20.1 "@babel/types": ^7.20.2 "@storybook/csf": next - "@storybook/types": 7.0.0-alpha.59 + "@storybook/types": 7.0.0-alpha.60 "@types/fs-extra": ^9.0.6 fs-extra: ^9.0.1 js-yaml: ^3.14.1 @@ -6352,14 +6352,14 @@ __metadata: languageName: node linkType: hard -"@storybook/docs-tools@7.0.0-alpha.59, @storybook/docs-tools@workspace:*, @storybook/docs-tools@workspace:lib/docs-tools": +"@storybook/docs-tools@7.0.0-alpha.60, @storybook/docs-tools@workspace:*, @storybook/docs-tools@workspace:lib/docs-tools": version: 0.0.0-use.local resolution: "@storybook/docs-tools@workspace:lib/docs-tools" dependencies: "@babel/core": ^7.12.10 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 doctrine: ^3.0.0 jest-specific-snapshot: ^7.0.0 lodash: ^4.17.21 @@ -6372,11 +6372,11 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/ember@workspace:frameworks/ember" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 ember-source: ~3.28.1 global: ^4.4.0 read-pkg-up: ^7.0.1 @@ -6415,15 +6415,15 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/html-vite@workspace:frameworks/html-vite" dependencies: - "@storybook/addons": 7.0.0-alpha.59 - "@storybook/builder-vite": 7.0.0-alpha.59 - "@storybook/channel-postmessage": 7.0.0-alpha.59 - "@storybook/channel-websocket": 7.0.0-alpha.59 - "@storybook/client-api": 7.0.0-alpha.59 - "@storybook/core-server": 7.0.0-alpha.59 - "@storybook/html": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/preview-web": 7.0.0-alpha.59 + "@storybook/addons": 7.0.0-alpha.60 + "@storybook/builder-vite": 7.0.0-alpha.60 + "@storybook/channel-postmessage": 7.0.0-alpha.60 + "@storybook/channel-websocket": 7.0.0-alpha.60 + "@storybook/client-api": 7.0.0-alpha.60 + "@storybook/core-server": 7.0.0-alpha.60 + "@storybook/html": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/preview-web": 7.0.0-alpha.60 "@types/node": ^16.0.0 magic-string: ^0.26.1 typescript: ~4.9.3 @@ -6435,10 +6435,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/html-webpack5@workspace:frameworks/html-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/html": 7.0.0-alpha.59 - "@storybook/preset-html-webpack": 7.0.0-alpha.59 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/html": 7.0.0-alpha.60 + "@storybook/preset-html-webpack": 7.0.0-alpha.60 "@types/node": ^16.0.0 global: ^4.4.0 typescript: ~4.9.3 @@ -6449,14 +6449,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/html@7.0.0-alpha.59, @storybook/html@workspace:*, @storybook/html@workspace:renderers/html": +"@storybook/html@7.0.0-alpha.60, @storybook/html@workspace:*, @storybook/html@workspace:renderers/html": version: 0.0.0-use.local resolution: "@storybook/html@workspace:renderers/html" dependencies: - "@storybook/core-client": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/core-client": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 global: ^4.4.0 ts-dedent: ^2.0.0 typescript: ~4.9.3 @@ -6465,14 +6465,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/instrumenter@7.0.0-alpha.59, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter": +"@storybook/instrumenter@7.0.0-alpha.60, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter": version: 0.0.0-use.local resolution: "@storybook/instrumenter@workspace:lib/instrumenter" dependencies: - "@storybook/channels": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 + "@storybook/channels": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 core-js: ^3.8.2 global: ^4.4.0 typescript: ~4.9.3 @@ -6559,18 +6559,18 @@ __metadata: languageName: node linkType: hard -"@storybook/manager-api@7.0.0-alpha.59, @storybook/manager-api@workspace:*, @storybook/manager-api@workspace:lib/manager-api": +"@storybook/manager-api@7.0.0-alpha.60, @storybook/manager-api@workspace:*, @storybook/manager-api@workspace:lib/manager-api": version: 0.0.0-use.local resolution: "@storybook/manager-api@workspace:lib/manager-api" dependencies: "@jest/globals": ^29.3.1 - "@storybook/channels": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 + "@storybook/channels": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 "@storybook/csf": next - "@storybook/router": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/router": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/lodash": ^4.14.167 "@types/qs": ^6 dequal: ^2.0.2 @@ -6590,23 +6590,23 @@ __metadata: languageName: unknown linkType: soft -"@storybook/manager@7.0.0-alpha.59, @storybook/manager@workspace:*, @storybook/manager@workspace:ui/manager": +"@storybook/manager@7.0.0-alpha.60, @storybook/manager@workspace:*, @storybook/manager@workspace:ui/manager": version: 0.0.0-use.local resolution: "@storybook/manager@workspace:ui/manager" dependencies: "@fal-works/esbuild-plugin-global-externals": ^2.1.2 - "@storybook/addons": 7.0.0-alpha.59 - "@storybook/api": 7.0.0-alpha.59 - "@storybook/channel-postmessage": 7.0.0-alpha.59 - "@storybook/channel-websocket": 7.0.0-alpha.59 - "@storybook/channels": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/components": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/router": 7.0.0-alpha.59 - "@storybook/theming": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/addons": 7.0.0-alpha.60 + "@storybook/api": 7.0.0-alpha.60 + "@storybook/channel-postmessage": 7.0.0-alpha.60 + "@storybook/channel-websocket": 7.0.0-alpha.60 + "@storybook/channels": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/components": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/router": 7.0.0-alpha.60 + "@storybook/theming": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@testing-library/react": ^11.2.2 "@types/semver": ^7.3.4 copy-to-clipboard: ^3.3.1 @@ -6646,13 +6646,13 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/nextjs@workspace:frameworks/nextjs" dependencies: - "@storybook/addon-actions": 7.0.0-alpha.59 - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/preset-react-webpack": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/react": 7.0.0-alpha.59 + "@storybook/addon-actions": 7.0.0-alpha.60 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/preset-react-webpack": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/react": 7.0.0-alpha.60 "@types/node": ^16.0.0 find-up: ^5.0.0 fs-extra: ^9.0.1 @@ -6686,7 +6686,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/node-logger@7.0.0-alpha.59, @storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger": +"@storybook/node-logger@7.0.0-alpha.60, @storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger": version: 0.0.0-use.local resolution: "@storybook/node-logger@workspace:lib/node-logger" dependencies: @@ -6699,7 +6699,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/postinstall@7.0.0-alpha.59, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall": +"@storybook/postinstall@7.0.0-alpha.60, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall": version: 0.0.0-use.local resolution: "@storybook/postinstall@workspace:lib/postinstall" dependencies: @@ -6714,10 +6714,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/preact-webpack5@workspace:frameworks/preact-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/preact": 7.0.0-alpha.59 - "@storybook/preset-preact-webpack": 7.0.0-alpha.59 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/preact": 7.0.0-alpha.60 + "@storybook/preset-preact-webpack": 7.0.0-alpha.60 "@types/node": ^16.0.0 preact: ^10.5.13 typescript: ~4.9.3 @@ -6729,13 +6729,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preact@7.0.0-alpha.59, @storybook/preact@workspace:*, @storybook/preact@workspace:renderers/preact": +"@storybook/preact@7.0.0-alpha.60, @storybook/preact@workspace:*, @storybook/preact@workspace:renderers/preact": version: 0.0.0-use.local resolution: "@storybook/preact@workspace:renderers/preact" dependencies: - "@storybook/core-client": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/core-client": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 global: ^4.4.0 preact: ^10.5.13 ts-dedent: ^2.0.0 @@ -6745,11 +6745,11 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-html-webpack@7.0.0-alpha.59, @storybook/preset-html-webpack@workspace:*, @storybook/preset-html-webpack@workspace:presets/html-webpack": +"@storybook/preset-html-webpack@7.0.0-alpha.60, @storybook/preset-html-webpack@workspace:*, @storybook/preset-html-webpack@workspace:presets/html-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-html-webpack@workspace:presets/html-webpack" dependencies: - "@storybook/core-webpack": 7.0.0-alpha.59 + "@storybook/core-webpack": 7.0.0-alpha.60 "@types/node": ^16.0.0 html-loader: ^3.1.0 typescript: ~4.9.3 @@ -6759,12 +6759,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-preact-webpack@7.0.0-alpha.59, @storybook/preset-preact-webpack@workspace:*, @storybook/preset-preact-webpack@workspace:presets/preact-webpack": +"@storybook/preset-preact-webpack@7.0.0-alpha.60, @storybook/preset-preact-webpack@workspace:*, @storybook/preset-preact-webpack@workspace:presets/preact-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-preact-webpack@workspace:presets/preact-webpack" dependencies: "@babel/plugin-transform-react-jsx": ^7.19.0 - "@storybook/core-webpack": 7.0.0-alpha.59 + "@storybook/core-webpack": 7.0.0-alpha.60 "@types/node": ^16.0.0 preact: ^10.5.13 typescript: ~4.9.3 @@ -6774,17 +6774,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-react-webpack@7.0.0-alpha.59, @storybook/preset-react-webpack@workspace:*, @storybook/preset-react-webpack@workspace:presets/react-webpack": +"@storybook/preset-react-webpack@7.0.0-alpha.60, @storybook/preset-react-webpack@workspace:*, @storybook/preset-react-webpack@workspace:presets/react-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-react-webpack@workspace:presets/react-webpack" dependencies: "@babel/preset-flow": ^7.18.6 "@babel/preset-react": ^7.18.6 "@pmmmwh/react-refresh-webpack-plugin": ^0.5.5 - "@storybook/core-webpack": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/react": 7.0.0-alpha.59 + "@storybook/core-webpack": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/react": 7.0.0-alpha.60 "@storybook/react-docgen-typescript-plugin": 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0 "@types/node": ^16.0.0 "@types/semver": ^7.3.4 @@ -6810,13 +6810,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-server-webpack@7.0.0-alpha.59, @storybook/preset-server-webpack@workspace:*, @storybook/preset-server-webpack@workspace:presets/server-webpack": +"@storybook/preset-server-webpack@7.0.0-alpha.60, @storybook/preset-server-webpack@workspace:*, @storybook/preset-server-webpack@workspace:presets/server-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-server-webpack@workspace:presets/server-webpack" dependencies: - "@storybook/core-server": 7.0.0-alpha.59 - "@storybook/core-webpack": 7.0.0-alpha.59 - "@storybook/server": 7.0.0-alpha.59 + "@storybook/core-server": 7.0.0-alpha.60 + "@storybook/core-webpack": 7.0.0-alpha.60 + "@storybook/server": 7.0.0-alpha.60 "@types/node": ^16.0.0 fs-extra: ^9.0.1 global: ^4.4.0 @@ -6829,12 +6829,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-svelte-webpack@7.0.0-alpha.59, @storybook/preset-svelte-webpack@workspace:*, @storybook/preset-svelte-webpack@workspace:presets/svelte-webpack": +"@storybook/preset-svelte-webpack@7.0.0-alpha.60, @storybook/preset-svelte-webpack@workspace:*, @storybook/preset-svelte-webpack@workspace:presets/svelte-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-svelte-webpack@workspace:presets/svelte-webpack" dependencies: - "@storybook/core-webpack": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 + "@storybook/core-webpack": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 svelte: ^3.31.2 svelte-loader: ^3.1.2 sveltedoc-parser: ^4.2.1 @@ -6847,12 +6847,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-vue-webpack@7.0.0-alpha.59, @storybook/preset-vue-webpack@workspace:*, @storybook/preset-vue-webpack@workspace:presets/vue-webpack": +"@storybook/preset-vue-webpack@7.0.0-alpha.60, @storybook/preset-vue-webpack@workspace:*, @storybook/preset-vue-webpack@workspace:presets/vue-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-vue-webpack@workspace:presets/vue-webpack" dependencies: - "@storybook/core-webpack": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 + "@storybook/core-webpack": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 "@types/node": ^16.0.0 ts-loader: ^9.2.8 typescript: ~4.9.3 @@ -6872,12 +6872,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-vue3-webpack@7.0.0-alpha.59, @storybook/preset-vue3-webpack@workspace:*, @storybook/preset-vue3-webpack@workspace:presets/vue3-webpack": +"@storybook/preset-vue3-webpack@7.0.0-alpha.60, @storybook/preset-vue3-webpack@workspace:*, @storybook/preset-vue3-webpack@workspace:presets/vue3-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-vue3-webpack@workspace:presets/vue3-webpack" dependencies: - "@storybook/core-webpack": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 + "@storybook/core-webpack": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 "@types/node": ^16.0.0 "@vue/compiler-sfc": ^3.2.33 ts-loader: ^9.2.8 @@ -6895,14 +6895,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-web-components-webpack@7.0.0-alpha.59, @storybook/preset-web-components-webpack@workspace:*, @storybook/preset-web-components-webpack@workspace:presets/web-components-webpack": +"@storybook/preset-web-components-webpack@7.0.0-alpha.60, @storybook/preset-web-components-webpack@workspace:*, @storybook/preset-web-components-webpack@workspace:presets/web-components-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-web-components-webpack@workspace:presets/web-components-webpack" dependencies: "@babel/plugin-syntax-dynamic-import": ^7.8.3 "@babel/plugin-syntax-import-meta": ^7.10.4 "@babel/preset-env": ^7.20.2 - "@storybook/core-webpack": 7.0.0-alpha.59 + "@storybook/core-webpack": 7.0.0-alpha.60 "@types/node": ^16.0.0 babel-loader: ^7.0.0 || ^8.0.0 babel-plugin-bundled-import-meta: ^0.3.1 @@ -6913,18 +6913,18 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preview-api@7.0.0-alpha.59, @storybook/preview-api@workspace:*, @storybook/preview-api@workspace:lib/preview-api": +"@storybook/preview-api@7.0.0-alpha.60, @storybook/preview-api@workspace:*, @storybook/preview-api@workspace:lib/preview-api": version: 0.0.0-use.local resolution: "@storybook/preview-api@workspace:lib/preview-api" dependencies: "@jest/globals": ^26.6.2 - "@storybook/channel-postmessage": 7.0.0-alpha.59 - "@storybook/channels": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 + "@storybook/channel-postmessage": 7.0.0-alpha.60 + "@storybook/channels": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 "@storybook/csf": next - "@storybook/types": 7.0.0-alpha.59 + "@storybook/types": 7.0.0-alpha.60 "@types/qs": ^6.9.5 ansi-to-html: ^0.6.11 dequal: ^2.0.2 @@ -6940,25 +6940,25 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preview-web@7.0.0-alpha.59, @storybook/preview-web@workspace:*, @storybook/preview-web@workspace:lib/preview-web": +"@storybook/preview-web@7.0.0-alpha.60, @storybook/preview-web@workspace:*, @storybook/preview-web@workspace:lib/preview-web": version: 0.0.0-use.local resolution: "@storybook/preview-web@workspace:lib/preview-web" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 languageName: unknown linkType: soft -"@storybook/preview@7.0.0-alpha.59, @storybook/preview@workspace:*, @storybook/preview@workspace:lib/preview": +"@storybook/preview@7.0.0-alpha.60, @storybook/preview@workspace:*, @storybook/preview@workspace:lib/preview": version: 0.0.0-use.local resolution: "@storybook/preview@workspace:lib/preview" dependencies: - "@storybook/channel-postmessage": 7.0.0-alpha.59 - "@storybook/channel-websocket": 7.0.0-alpha.59 - "@storybook/channels": 7.0.0-alpha.59 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-events": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 + "@storybook/channel-postmessage": 7.0.0-alpha.60 + "@storybook/channel-websocket": 7.0.0-alpha.60 + "@storybook/channels": 7.0.0-alpha.60 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-events": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 typescript: ~4.9.3 languageName: unknown linkType: soft @@ -6987,8 +6987,8 @@ __metadata: dependencies: "@joshwooding/vite-plugin-react-docgen-typescript": ^0.0.5 "@rollup/pluginutils": ^4.2.0 - "@storybook/builder-vite": 7.0.0-alpha.59 - "@storybook/react": 7.0.0-alpha.59 + "@storybook/builder-vite": 7.0.0-alpha.60 + "@storybook/react": 7.0.0-alpha.60 "@types/node": ^16.0.0 "@vitejs/plugin-react": ^2.0.0 ast-types: ^0.14.2 @@ -7006,9 +7006,9 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/react-webpack5@workspace:frameworks/react-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/preset-react-webpack": 7.0.0-alpha.59 - "@storybook/react": 7.0.0-alpha.59 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/preset-react-webpack": 7.0.0-alpha.60 + "@storybook/react": 7.0.0-alpha.60 "@types/node": ^16.0.0 jest-specific-snapshot: ^7.0.0 typescript: ~4.9.3 @@ -7024,16 +7024,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/react@7.0.0-alpha.59, @storybook/react@workspace:*, @storybook/react@workspace:renderers/react": +"@storybook/react@7.0.0-alpha.60, @storybook/react@workspace:*, @storybook/react@workspace:renderers/react": version: 0.0.0-use.local resolution: "@storybook/react@workspace:renderers/react" dependencies: "@babel/core": ^7.20.2 - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-client": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-client": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@types/estree": ^0.0.51 "@types/node": ^16.0.0 "@types/util-deprecate": ^1.0.0 @@ -7327,11 +7327,11 @@ __metadata: languageName: unknown linkType: soft -"@storybook/router@7.0.0-alpha.59, @storybook/router@workspace:*, @storybook/router@workspace:lib/router": +"@storybook/router@7.0.0-alpha.60, @storybook/router@workspace:*, @storybook/router@workspace:lib/router": version: 0.0.0-use.local resolution: "@storybook/router@workspace:lib/router" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 dequal: ^2.0.2 global: ^4.4.0 lodash: ^4.17.21 @@ -7379,10 +7379,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/server-webpack5@workspace:frameworks/server-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/preset-server-webpack": 7.0.0-alpha.59 - "@storybook/server": 7.0.0-alpha.59 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/preset-server-webpack": 7.0.0-alpha.60 + "@storybook/server": 7.0.0-alpha.60 "@types/node": ^16.0.0 typescript: ~4.9.3 peerDependencies: @@ -7391,25 +7391,25 @@ __metadata: languageName: unknown linkType: soft -"@storybook/server@7.0.0-alpha.59, @storybook/server@workspace:*, @storybook/server@workspace:renderers/server": +"@storybook/server@7.0.0-alpha.60, @storybook/server@workspace:*, @storybook/server@workspace:renderers/server": version: 0.0.0-use.local resolution: "@storybook/server@workspace:renderers/server" dependencies: - "@storybook/core-client": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/core-client": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 global: ^4.4.0 ts-dedent: ^2.0.0 typescript: ~4.9.3 languageName: unknown linkType: soft -"@storybook/source-loader@7.0.0-alpha.59, @storybook/source-loader@workspace:*, @storybook/source-loader@workspace:lib/source-loader": +"@storybook/source-loader@7.0.0-alpha.60, @storybook/source-loader@workspace:*, @storybook/source-loader@workspace:lib/source-loader": version: 0.0.0-use.local resolution: "@storybook/source-loader@workspace:lib/source-loader" dependencies: "@storybook/csf": next - "@storybook/types": 7.0.0-alpha.59 + "@storybook/types": 7.0.0-alpha.60 estraverse: ^5.2.0 jest-specific-snapshot: ^7.0.0 lodash: ^4.17.21 @@ -7421,23 +7421,23 @@ __metadata: languageName: unknown linkType: soft -"@storybook/store@7.0.0-alpha.59, @storybook/store@workspace:*, @storybook/store@workspace:lib/store": +"@storybook/store@7.0.0-alpha.60, @storybook/store@workspace:*, @storybook/store@workspace:lib/store": version: 0.0.0-use.local resolution: "@storybook/store@workspace:lib/store" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 languageName: unknown linkType: soft -"@storybook/svelte-vite@7.0.0-alpha.59, @storybook/svelte-vite@workspace:frameworks/svelte-vite": +"@storybook/svelte-vite@7.0.0-alpha.60, @storybook/svelte-vite@workspace:frameworks/svelte-vite": version: 0.0.0-use.local resolution: "@storybook/svelte-vite@workspace:frameworks/svelte-vite" dependencies: "@storybook/addon-svelte-csf": ^2.0.0 - "@storybook/builder-vite": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/svelte": 7.0.0-alpha.59 + "@storybook/builder-vite": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/svelte": 7.0.0-alpha.60 "@sveltejs/vite-plugin-svelte": ^1.0.0 "@types/node": ^16.0.0 magic-string: ^0.26.1 @@ -7459,10 +7459,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/svelte-webpack5@workspace:frameworks/svelte-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/preset-svelte-webpack": 7.0.0-alpha.59 - "@storybook/svelte": 7.0.0-alpha.59 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/preset-svelte-webpack": 7.0.0-alpha.60 + "@storybook/svelte": 7.0.0-alpha.60 svelte: ^3.48.0 svelte-loader: ^3.1.2 typescript: ~4.9.3 @@ -7475,15 +7475,15 @@ __metadata: languageName: unknown linkType: soft -"@storybook/svelte@7.0.0-alpha.59, @storybook/svelte@workspace:*, @storybook/svelte@workspace:renderers/svelte": +"@storybook/svelte@7.0.0-alpha.60, @storybook/svelte@workspace:*, @storybook/svelte@workspace:renderers/svelte": version: 0.0.0-use.local resolution: "@storybook/svelte@workspace:renderers/svelte" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-client": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-client": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 expect-type: ^0.14.2 global: ^4.4.0 svelte: ^3.31.2 @@ -7501,8 +7501,8 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/sveltekit@workspace:frameworks/sveltekit" dependencies: - "@storybook/builder-vite": 7.0.0-alpha.59 - "@storybook/svelte-vite": 7.0.0-alpha.59 + "@storybook/builder-vite": 7.0.0-alpha.60 + "@storybook/svelte-vite": 7.0.0-alpha.60 "@types/node": ^16.0.0 typescript: ^4.9.3 vite: ^3.1.3 @@ -7514,12 +7514,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/telemetry@7.0.0-alpha.59, @storybook/telemetry@workspace:*, @storybook/telemetry@workspace:lib/telemetry": +"@storybook/telemetry@7.0.0-alpha.60, @storybook/telemetry@workspace:*, @storybook/telemetry@workspace:lib/telemetry": version: 0.0.0-use.local resolution: "@storybook/telemetry@workspace:lib/telemetry" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 chalk: ^4.1.0 detect-package-manager: ^2.0.1 fetch-retry: ^5.0.2 @@ -7544,7 +7544,7 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@7.0.0-alpha.59, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming": +"@storybook/theming@7.0.0-alpha.60, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming": version: 0.0.0-use.local resolution: "@storybook/theming@workspace:lib/theming" dependencies: @@ -7553,7 +7553,7 @@ __metadata: "@emotion/react": ^11.10.4 "@emotion/styled": ^11.10.4 "@emotion/use-insertion-effect-with-fallbacks": ^1.0.0 - "@storybook/client-logger": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 "@types/fs-extra": ^9.0.6 "@types/node": ^16.0.0 deep-object-diff: ^1.1.0 @@ -7584,12 +7584,12 @@ __metadata: languageName: node linkType: hard -"@storybook/types@7.0.0-alpha.59, @storybook/types@workspace:*, @storybook/types@workspace:lib/types": +"@storybook/types@7.0.0-alpha.60, @storybook/types@workspace:*, @storybook/types@workspace:lib/types": version: 0.0.0-use.local resolution: "@storybook/types@workspace:lib/types" dependencies: "@babel/core": ^7.12.10 - "@storybook/channels": 7.0.0-alpha.59 + "@storybook/channels": 7.0.0-alpha.60 "@storybook/csf": next "@types/babel__core": ^7.0.0 "@types/express": ^4.7.0 @@ -7604,10 +7604,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/vue-vite@workspace:frameworks/vue-vite" dependencies: - "@storybook/builder-vite": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/core-server": 7.0.0-alpha.59 - "@storybook/vue": 7.0.0-alpha.59 + "@storybook/builder-vite": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/core-server": 7.0.0-alpha.60 + "@storybook/vue": 7.0.0-alpha.60 magic-string: ^0.26.1 typescript: ~4.9.3 vite: ^3.1.3 @@ -7624,10 +7624,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/vue-webpack5@workspace:frameworks/vue-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/preset-vue-webpack": 7.0.0-alpha.59 - "@storybook/vue": 7.0.0-alpha.59 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/preset-vue-webpack": 7.0.0-alpha.60 + "@storybook/vue": 7.0.0-alpha.60 "@types/node": ^16.0.0 typescript: ~4.9.3 vue: ^2.6.12 @@ -7649,9 +7649,9 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/vue3-vite@workspace:frameworks/vue3-vite" dependencies: - "@storybook/builder-vite": 7.0.0-alpha.59 - "@storybook/core-server": 7.0.0-alpha.59 - "@storybook/vue3": 7.0.0-alpha.59 + "@storybook/builder-vite": 7.0.0-alpha.60 + "@storybook/core-server": 7.0.0-alpha.60 + "@storybook/vue3": 7.0.0-alpha.60 "@types/node": ^16.0.0 "@vitejs/plugin-vue": ^3.0.0 magic-string: ^0.26.1 @@ -7668,10 +7668,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/vue3-webpack5@workspace:frameworks/vue3-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/preset-vue3-webpack": 7.0.0-alpha.59 - "@storybook/vue3": 7.0.0-alpha.59 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/preset-vue3-webpack": 7.0.0-alpha.60 + "@storybook/vue3": 7.0.0-alpha.60 "@types/node": ^16.0.0 "@vue/compiler-sfc": 3.0.0 typescript: ~4.9.3 @@ -7686,15 +7686,15 @@ __metadata: languageName: unknown linkType: soft -"@storybook/vue3@7.0.0-alpha.59, @storybook/vue3@workspace:*, @storybook/vue3@workspace:renderers/vue3": +"@storybook/vue3@7.0.0-alpha.60, @storybook/vue3@workspace:*, @storybook/vue3@workspace:renderers/vue3": version: 0.0.0-use.local resolution: "@storybook/vue3@workspace:renderers/vue3" dependencies: "@digitak/esrun": ^3.2.2 - "@storybook/core-client": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/core-client": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 "@vue/vue3-jest": 29 global: ^4.4.0 ts-dedent: ^2.0.0 @@ -7707,15 +7707,15 @@ __metadata: languageName: unknown linkType: soft -"@storybook/vue@7.0.0-alpha.59, @storybook/vue@workspace:*, @storybook/vue@workspace:renderers/vue": +"@storybook/vue@7.0.0-alpha.60, @storybook/vue@workspace:*, @storybook/vue@workspace:renderers/vue": version: 0.0.0-use.local resolution: "@storybook/vue@workspace:renderers/vue" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-client": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-client": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 global: ^4.4.0 ts-dedent: ^2.0.0 type-fest: 2.19.0 @@ -7737,10 +7737,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/web-components-vite@workspace:frameworks/web-components-vite" dependencies: - "@storybook/builder-vite": 7.0.0-alpha.59 - "@storybook/core-server": 7.0.0-alpha.59 - "@storybook/node-logger": 7.0.0-alpha.59 - "@storybook/web-components": 7.0.0-alpha.59 + "@storybook/builder-vite": 7.0.0-alpha.60 + "@storybook/core-server": 7.0.0-alpha.60 + "@storybook/node-logger": 7.0.0-alpha.60 + "@storybook/web-components": 7.0.0-alpha.60 "@types/node": ^16.0.0 magic-string: ^0.26.1 typescript: ~4.9.3 @@ -7756,10 +7756,10 @@ __metadata: resolution: "@storybook/web-components-webpack5@workspace:frameworks/web-components-webpack5" dependencies: "@babel/preset-env": ^7.20.2 - "@storybook/builder-webpack5": 7.0.0-alpha.59 - "@storybook/core-common": 7.0.0-alpha.59 - "@storybook/preset-web-components-webpack": 7.0.0-alpha.59 - "@storybook/web-components": 7.0.0-alpha.59 + "@storybook/builder-webpack5": 7.0.0-alpha.60 + "@storybook/core-common": 7.0.0-alpha.60 + "@storybook/preset-web-components-webpack": 7.0.0-alpha.60 + "@storybook/web-components": 7.0.0-alpha.60 "@types/node": ^16.0.0 lit-html: 2.0.2 typescript: ~4.9.3 @@ -7770,16 +7770,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/web-components@7.0.0-alpha.59, @storybook/web-components@workspace:*, @storybook/web-components@workspace:renderers/web-components": +"@storybook/web-components@7.0.0-alpha.60, @storybook/web-components@workspace:*, @storybook/web-components@workspace:renderers/web-components": version: 0.0.0-use.local resolution: "@storybook/web-components@workspace:renderers/web-components" dependencies: - "@storybook/client-logger": 7.0.0-alpha.59 - "@storybook/core-client": 7.0.0-alpha.59 - "@storybook/docs-tools": 7.0.0-alpha.59 - "@storybook/manager-api": 7.0.0-alpha.59 - "@storybook/preview-api": 7.0.0-alpha.59 - "@storybook/types": 7.0.0-alpha.59 + "@storybook/client-logger": 7.0.0-alpha.60 + "@storybook/core-client": 7.0.0-alpha.60 + "@storybook/docs-tools": 7.0.0-alpha.60 + "@storybook/manager-api": 7.0.0-alpha.60 + "@storybook/preview-api": 7.0.0-alpha.60 + "@storybook/types": 7.0.0-alpha.60 global: ^4.4.0 lit: 2.3.1 lit-html: 2.0.2 @@ -29440,7 +29440,7 @@ __metadata: version: 0.0.0-use.local resolution: "sb@workspace:lib/cli-sb" dependencies: - "@storybook/cli": 7.0.0-alpha.59 + "@storybook/cli": 7.0.0-alpha.60 typescript: ~4.9.3 bin: sb: ./index.js @@ -30549,7 +30549,7 @@ __metadata: version: 0.0.0-use.local resolution: "storybook@workspace:lib/cli-storybook" dependencies: - "@storybook/cli": 7.0.0-alpha.59 + "@storybook/cli": 7.0.0-alpha.60 typescript: ~4.9.3 bin: sb: ./index.js From 670f512793e1f4074d1617fbe3c2d94e4ae2ab1c Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 7 Dec 2022 12:37:01 +0800 Subject: [PATCH 35/37] 7.0.0-alpha.60 next.json version file [skip ci] --- docs/versions/next.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/versions/next.json b/docs/versions/next.json index cf0f75e93445..0feedf64506f 100644 --- a/docs/versions/next.json +++ b/docs/versions/next.json @@ -1 +1 @@ -{"version":"7.0.0-alpha.59","info":{"plain":"#### Features\n\n- CSF: Add satisfies support to csf-tools [#20088](https://github.com/storybooks/storybook/pull/20088)\n\n#### Bug Fixes\n\n- Next.js: only set next/future/image mocks from version 12.2 [#20098](https://github.com/storybooks/storybook/pull/20098)\n- Core: Batch the loading of CSF files for `extract()` etc [#20055](https://github.com/storybooks/storybook/pull/20055)\n- Fix SSR in external docs via `node` exports [#20083](https://github.com/storybooks/storybook/pull/20083)\n- CLI: Improve sb-scripts automigration logic [#20035](https://github.com/storybooks/storybook/pull/20035)\n\n#### Maintenance\n\n- Revert \"Telemetry: Add precedingUpgrade data to dev/build events\" [#20105](https://github.com/storybooks/storybook/pull/20105)\n- Telemetry: Instrument init event [#20097](https://github.com/storybooks/storybook/pull/20097)\n\n#### Build\n\n- Fix next [#20106](https://github.com/storybooks/storybook/pull/20106)\n- Build: Run sb init locally in sandbox creation [#20100](https://github.com/storybooks/storybook/pull/20100)\n- Build: Add missing dependencies to manager, unify TS to ~4.9.3 [#20021](https://github.com/storybooks/storybook/pull/20021)\n\n#### Dependency Upgrades\n\n- Bump store2 to 2.14.2 license clarification [#19899](https://github.com/storybooks/storybook/pull/19899)"}} \ No newline at end of file +{"version":"7.0.0-alpha.60","info":{"plain":"#### Bug Fixes\n\n- Deal with a lot of different edge cases for git URLs [#20115](https://github.com/storybooks/storybook/pull/20115)\n\n#### Maintenance\n\n- Clean up babelModeV7 migration and code [#20117](https://github.com/storybooks/storybook/pull/20117)\n- Fix peer dependencies for npm8/pnpm/yarn pnp [#20110](https://github.com/storybooks/storybook/pull/20110)\n- Remove peer deps from core-common [#20109](https://github.com/storybooks/storybook/pull/20109)\n\n#### Build\n\n- Add more linting config to vs-code settings.json [#20101](https://github.com/storybooks/storybook/pull/20101)"}} \ No newline at end of file From 56e0fd4244f5de30f1df35b9cf0d03cfe0db26b4 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Wed, 7 Dec 2022 08:18:43 +0100 Subject: [PATCH 36/37] Edit Readme --- code/frameworks/nextjs/README.md | 70 +++++++++++++++++++++++--------- 1 file changed, 50 insertions(+), 20 deletions(-) diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index b0fd332c5926..874431683d33 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -217,6 +217,55 @@ The parameter `nextjs.appDirectory` defaults to `false` if not set. Please consider, that parameters are not deep merged. If you set `nextjs.appDirectory` to `true` in the [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) file, you need to set it as well in your story, as soon as you want to set other options on the nextjs parameter. +#### Overriding defaults + +Per-story overrides can be done by adding a `nextjs.navigation` property onto the story [parameters](https://storybook.js.org/docs/react/writing-stories/parameters). The framework will shallowly merge whatever you put here into the router. + +```js +// SomeComponentThatUsesTheNavigation.stories.js +import SomeComponentThatUsesTheNavigation from './SomeComponentThatUsesTheNavigation'; + +export default { + component: SomeComponentThatUsesTheNavigation, +}; + +// if you have the actions addon +// you can click the links and see the route change events there +export const Example = { + parameters: { + nextjs: { + appDirectory: true, + navigation: { + pathname: '/some-default-path', + query: { + foo: 'bar', + }, + }, + }, + }, +}; +``` + +#### Global Defaults + +Global defaults can be set in [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) and will be shallowly merged with the default router. + +```js +// .storybook/preview.js + +export const parameters = { + nextjs: { + appDirectory: true, + navigation: { + pathname: '/some-default-path', + query: { + foo: 'bar', + }, + }, + }, +}; +``` + #### Default Navigation Context The default values on the stubbed navigation context are as follows: @@ -246,26 +295,6 @@ const defaultNavigationContext = { }; ``` -#### Global Defaults - -Global defaults can be set in [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) and will be shallowly merged with the default navigation context. - -```js -// .storybook/preview.js - -export const parameters = { - nextjs: { - appDirectory: true, - navigation: { - pathname: '/some-default-path', - query: { - foo: 'bar', - }, - }, - }, -}; -``` - #### Actions Integration Caveats If you override a function, you lose the automatic action tab integration and have to build it out yourself. @@ -401,6 +430,7 @@ const defaultRouter = { action('nextRouter.events.emit')(...args); }, }, + // The locale should be configured [globally](https://storybook.js.org/docs/react/essentials/toolbars-and-globals#globals) locale: globals?.locale, asPath: '/', basePath: '/', From e456d042be82aad3820b003f75b2e046b8f6add4 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Wed, 7 Dec 2022 08:37:49 +0100 Subject: [PATCH 37/37] Edit Readme --- code/frameworks/nextjs/README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/frameworks/nextjs/README.md b/code/frameworks/nextjs/README.md index 874431683d33..38f532ed3127 100644 --- a/code/frameworks/nextjs/README.md +++ b/code/frameworks/nextjs/README.md @@ -215,8 +215,6 @@ export const parameters = { The parameter `nextjs.appDirectory` defaults to `false` if not set. -Please consider, that parameters are not deep merged. If you set `nextjs.appDirectory` to `true` in the [preview.js](https://storybook.js.org/docs/react/configure/overview#configure-story-rendering) file, you need to set it as well in your story, as soon as you want to set other options on the nextjs parameter. - #### Overriding defaults Per-story overrides can be done by adding a `nextjs.navigation` property onto the story [parameters](https://storybook.js.org/docs/react/writing-stories/parameters). The framework will shallowly merge whatever you put here into the router.