diff --git a/MIGRATION.md b/MIGRATION.md index 4fab1b7e3c50..0290335c2201 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,5 +1,7 @@

Migration

+- [From version 8.1.x to 8.2.x](#from-version-81x-to-82x) + - [Preview.js globals renamed to initialGlobals](#previewjs-globals-renamed-to-initialglobals) - [From version 8.0.x to 8.1.x](#from-version-80x-to-81x) - [Portable stories](#portable-stories) - [@storybook/nextjs requires specific path aliases to be setup](#storybooknextjs-requires-specific-path-aliases-to-be-setup) @@ -411,6 +413,20 @@ - [Packages renaming](#packages-renaming) - [Deprecated embedded addons](#deprecated-embedded-addons) +## From version 8.1.x to 8.2.x + +### Preview.js globals renamed to initialGlobals + +Starting in 8.2 `preview.js` `globals` are deprecated and have been renamed to `initialGlobals`. We will remove `preview.js` `globals` in 9.0. + +```diff +// .storybook/preview.js +export default { +- globals: [ a: 1, b: 2 ], ++ initiaGlobals: [ a: 1, b: 2 ], +} +``` + ## From version 8.0.x to 8.1.x ### Portable stories diff --git a/code/addons/backgrounds/src/preview.tsx b/code/addons/backgrounds/src/preview.tsx index 139575e7f259..57649aac1f2a 100644 --- a/code/addons/backgrounds/src/preview.tsx +++ b/code/addons/backgrounds/src/preview.tsx @@ -18,6 +18,6 @@ export const parameters = { }, }; -export const globals = { +export const initialGlobals = { [PARAM_KEY]: null as any, }; diff --git a/code/addons/links/package.json b/code/addons/links/package.json index eed63ca4acbd..8023934ae1b4 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -67,7 +67,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts" }, "dependencies": { - "@storybook/csf": "^0.1.7", + "@storybook/csf": "^0.1.8", "@storybook/global": "^5.0.0", "ts-dedent": "^2.0.0" }, diff --git a/code/addons/measure/src/preview.tsx b/code/addons/measure/src/preview.tsx index 7f19a8ed973a..fc715035e742 100644 --- a/code/addons/measure/src/preview.tsx +++ b/code/addons/measure/src/preview.tsx @@ -4,6 +4,6 @@ import { PARAM_KEY } from './constants'; export const decorators: Addon_DecoratorFunction[] = [withMeasure]; -export const globals = { +export const initialGlobals = { [PARAM_KEY]: false, }; diff --git a/code/addons/outline/src/preview.tsx b/code/addons/outline/src/preview.tsx index b1d09e1a4920..28b187cbea4f 100644 --- a/code/addons/outline/src/preview.tsx +++ b/code/addons/outline/src/preview.tsx @@ -4,6 +4,6 @@ import { PARAM_KEY } from './constants'; export const decorators: Addon_DecoratorFunction[] = [withOutline]; -export const globals = { +export const initialGlobals = { [PARAM_KEY]: false, }; diff --git a/code/addons/viewport/src/preview.ts b/code/addons/viewport/src/preview.ts index afe0f1b5f0b4..a429414748df 100644 --- a/code/addons/viewport/src/preview.ts +++ b/code/addons/viewport/src/preview.ts @@ -1 +1 @@ -export const globals = { viewport: 'reset', viewportRotated: false }; +export const initialGlobals = { viewport: 'reset', viewportRotated: false }; diff --git a/code/addons/viewport/src/shortcuts.ts b/code/addons/viewport/src/shortcuts.ts index 974abe477d6d..17fd17dfdc66 100644 --- a/code/addons/viewport/src/shortcuts.ts +++ b/code/addons/viewport/src/shortcuts.ts @@ -1,6 +1,6 @@ import { type API } from '@storybook/manager-api'; import { ADDON_ID } from './constants'; -import { globals as defaultGlobals } from './preview'; +import { initialGlobals as defaultGlobals } from './preview'; const getCurrentViewportIndex = (viewportsKeys: string[], current: string): number => viewportsKeys.indexOf(current); diff --git a/code/lib/cli/src/automigrate/fixes/index.ts b/code/lib/cli/src/automigrate/fixes/index.ts index 1c12a596fb24..3d68c5eec7c7 100644 --- a/code/lib/cli/src/automigrate/fixes/index.ts +++ b/code/lib/cli/src/automigrate/fixes/index.ts @@ -29,6 +29,7 @@ import { addonPostCSS } from './addon-postcss'; import { vta } from './vta'; import { upgradeStorybookRelatedDependencies } from './upgrade-storybook-related-dependencies'; import { autodocsTags } from './autodocs-tags'; +import { initialGlobals } from './initial-globals'; export * from '../types'; @@ -62,6 +63,7 @@ export const allFixes: Fix[] = [ upgradeStorybookRelatedDependencies, vta, autodocsTags, + initialGlobals, ]; export const initFixes: Fix[] = [eslintPlugin]; diff --git a/code/lib/cli/src/automigrate/fixes/initial-globals.test.ts b/code/lib/cli/src/automigrate/fixes/initial-globals.test.ts new file mode 100644 index 000000000000..6bd1204492a0 --- /dev/null +++ b/code/lib/cli/src/automigrate/fixes/initial-globals.test.ts @@ -0,0 +1,33 @@ +/* eslint-disable no-underscore-dangle */ +import { vi, expect, it } from 'vitest'; +import path from 'path'; +import * as fsExtra from 'fs-extra'; +import { initialGlobals } from './initial-globals'; + +vi.mock('fs-extra', async () => import('../../../../../__mocks__/fs-extra')); + +const previewConfigPath = path.join('.storybook', 'preview.js'); +const check = async (previewContents: string) => { + vi.mocked(fsExtra as any).__setMockFiles({ + [previewConfigPath]: previewContents, + }); + return initialGlobals.check({ + packageManager: {} as any, + configDir: '', + mainConfig: {} as any, + storybookVersion: '8.0', + previewConfigPath, + }); +}; + +it('no globals setting', async () => { + await expect(check(`export default { tags: ['a', 'b']}`)).resolves.toBeFalsy(); +}); + +it('initialGlobals setting', async () => { + await expect(check(`export default { initialGlobals: { a: 1 } }`)).resolves.toBeFalsy(); +}); + +it('globals setting', async () => { + await expect(check(`export default { globals: { a: 1 } }`)).resolves.toBeTruthy(); +}); diff --git a/code/lib/cli/src/automigrate/fixes/initial-globals.ts b/code/lib/cli/src/automigrate/fixes/initial-globals.ts new file mode 100644 index 000000000000..c9fac6d4cdbf --- /dev/null +++ b/code/lib/cli/src/automigrate/fixes/initial-globals.ts @@ -0,0 +1,52 @@ +import { dedent } from 'ts-dedent'; +import chalk from 'chalk'; +import { readFile, writeFile } from 'fs-extra'; +import type { Expression } from '@babel/types'; +import type { ConfigFile } from '@storybook/csf-tools'; +import { loadConfig, formatConfig } from '@storybook/csf-tools'; +import type { Fix } from '../types'; + +const MIGRATION = + 'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals'; + +interface Options { + previewConfig: ConfigFile; + previewConfigPath: string; + globals: Expression; +} + +/** + * Rename preview.js globals to initialGlobals + */ +export const initialGlobals: Fix = { + id: 'initial-globals', + versionRange: ['*.*.*', '>=8.0.*'], + async check({ previewConfigPath }) { + if (!previewConfigPath) return null; + + const previewConfig = loadConfig((await readFile(previewConfigPath)).toString()).parse(); + const globals = previewConfig.getFieldNode(['globals']) as Expression; + if (!globals) return null; + + return { globals, previewConfig, previewConfigPath }; + }, + + prompt({ previewConfigPath }) { + return dedent` + The ${chalk.cyan('globals')} setting in ${chalk.cyan(previewConfigPath)} is deprecated + and has been renamed to ${chalk.cyan('initialGlobals')}. + + Learn more: ${chalk.yellow(MIGRATION)} + + Rename ${chalk.cyan('globals')} to ${chalk.cyan('initalGlobals')}? + `; + }, + + async run({ dryRun, result }) { + result.previewConfig.removeField(['globals']); + result.previewConfig.setFieldNode(['initialGlobals'], result.globals); + if (!dryRun) { + await writeFile(result.previewConfigPath, formatConfig(result.previewConfig)); + } + }, +}; diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json index 67610061e152..b8c39daadc0e 100644 --- a/code/lib/codemod/package.json +++ b/code/lib/codemod/package.json @@ -57,7 +57,7 @@ "@babel/core": "^7.24.4", "@babel/preset-env": "^7.24.4", "@babel/types": "^7.24.0", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "^0.1.8", "@storybook/csf-tools": "workspace:*", "@storybook/node-logger": "workspace:*", "@storybook/types": "workspace:*", diff --git a/code/lib/core-events/package.json b/code/lib/core-events/package.json index 048badc7d036..56bf1ea65453 100644 --- a/code/lib/core-events/package.json +++ b/code/lib/core-events/package.json @@ -78,7 +78,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/csf": "^0.1.7", + "@storybook/csf": "^0.1.8", "ts-dedent": "^2.0.0" }, "devDependencies": { diff --git a/code/lib/core-server/package.json b/code/lib/core-server/package.json index aded7a6dc53a..8875ae38dc4d 100644 --- a/code/lib/core-server/package.json +++ b/code/lib/core-server/package.json @@ -63,7 +63,7 @@ "@storybook/channels": "workspace:*", "@storybook/core-common": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "^0.1.8", "@storybook/csf-tools": "workspace:*", "@storybook/docs-mdx": "3.1.0-next.0", "@storybook/global": "^5.0.0", diff --git a/code/lib/csf-tools/package.json b/code/lib/csf-tools/package.json index c8e887d047bb..3254a7efea58 100644 --- a/code/lib/csf-tools/package.json +++ b/code/lib/csf-tools/package.json @@ -46,7 +46,7 @@ "@babel/parser": "^7.24.4", "@babel/traverse": "^7.24.1", "@babel/types": "^7.24.0", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "^0.1.8", "@storybook/types": "workspace:*", "fs-extra": "^11.1.0", "recast": "^0.23.5", diff --git a/code/lib/csf-tools/src/ConfigFile.test.ts b/code/lib/csf-tools/src/ConfigFile.test.ts index bc176b79825d..b43e98c93d53 100644 --- a/code/lib/csf-tools/src/ConfigFile.test.ts +++ b/code/lib/csf-tools/src/ConfigFile.test.ts @@ -756,6 +756,42 @@ describe('ConfigFile', () => { }; `); }); + it('root globals as variable', () => { + expect( + removeField( + ['globals'], + dedent` + const preview = { globals: { a: 1 }, bar: { a: 1 } }; + export default preview; + ` + ) + ).toMatchInlineSnapshot(` + const preview = { + bar: { a: 1 } + }; + export default preview; + `); + }); + + it('root globals satsifies as variable', () => { + expect( + removeField( + ['globals'], + dedent` + const preview = { + globals: { a: 1 }, + bar: { a: 1 } + } satisfies Foo; + export default preview; + ` + ) + ).toMatchInlineSnapshot(` + const preview = { + bar: { a: 1 } + } satisfies Foo; + export default preview; + `); + }); }); describe('quotes', () => { diff --git a/code/lib/csf-tools/src/ConfigFile.ts b/code/lib/csf-tools/src/ConfigFile.ts index 9a7f68c08ef3..3aaa4810b2da 100644 --- a/code/lib/csf-tools/src/ConfigFile.ts +++ b/code/lib/csf-tools/src/ConfigFile.ts @@ -493,10 +493,19 @@ export class ConfigFile { } } // default export - if (t.isExportDefaultDeclaration(node) && t.isObjectExpression(node.declaration)) { - const properties = node.declaration.properties as t.ObjectProperty[]; - removeProperty(properties, path[0]); - removedRootProperty = true; + if (t.isExportDefaultDeclaration(node)) { + let decl: t.Expression | undefined | null = node.declaration as t.Expression; + if (t.isIdentifier(decl)) { + decl = _findVarInitialization(decl.name, this._ast.program); + } + if (t.isTSAsExpression(decl) || t.isTSSatisfiesExpression(decl)) { + decl = decl.expression; + } + if (t.isObjectExpression(decl)) { + const properties = decl.properties as t.ObjectProperty[]; + removeProperty(properties, path[0]); + removedRootProperty = true; + } } // module.exports if ( diff --git a/code/lib/manager-api/package.json b/code/lib/manager-api/package.json index a02e6141458c..4191faf65873 100644 --- a/code/lib/manager-api/package.json +++ b/code/lib/manager-api/package.json @@ -47,7 +47,7 @@ "@storybook/channels": "workspace:*", "@storybook/client-logger": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "^0.1.8", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/router": "workspace:*", diff --git a/code/lib/preview-api/package.json b/code/lib/preview-api/package.json index 559ccbaab90f..df165eb3d060 100644 --- a/code/lib/preview-api/package.json +++ b/code/lib/preview-api/package.json @@ -47,7 +47,7 @@ "@storybook/channels": "workspace:*", "@storybook/client-logger": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "^0.1.8", "@storybook/global": "^5.0.0", "@storybook/types": "workspace:*", "@types/qs": "^6.9.5", diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts index d2a7f884730d..ded5833ed667 100644 --- a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts +++ b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts @@ -66,7 +66,7 @@ export const docsRenderer = { }; export const teardownrenderToCanvas: Mock<[TeardownRenderToCanvas]> = vi.fn(); export const projectAnnotations = { - globals: { a: 'b' }, + initialGlobals: { a: 'b' }, globalTypes: {}, decorators: [vi.fn((s) => s())], render: vi.fn(), diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts index 60110bc4686b..9bd3449d8bc2 100644 --- a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts +++ b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts @@ -3353,7 +3353,7 @@ describe('PreviewWeb', () => { return { ...projectAnnotations, args: { global: 'added' }, - globals: { a: 'edited' }, + initialGlobals: { a: 'edited' }, decorators: [newGlobalDecorator], }; }; diff --git a/code/lib/preview-api/src/modules/store/StoryStore.ts b/code/lib/preview-api/src/modules/store/StoryStore.ts index ebfe582cdfe2..8e2c6e444f80 100644 --- a/code/lib/preview-api/src/modules/store/StoryStore.ts +++ b/code/lib/preview-api/src/modules/store/StoryStore.ts @@ -77,10 +77,10 @@ export class StoryStore { this.storyIndex = new StoryIndexStore(storyIndex); this.projectAnnotations = normalizeProjectAnnotations(projectAnnotations); - const { globals, globalTypes } = projectAnnotations; + const { initialGlobals, globalTypes } = this.projectAnnotations; this.args = new ArgsStore(); - this.globals = new GlobalsStore({ globals, globalTypes }); + this.globals = new GlobalsStore({ globals: initialGlobals, globalTypes }); this.hooks = {}; this.cleanupCallbacks = {}; @@ -95,8 +95,8 @@ export class StoryStore { setProjectAnnotations(projectAnnotations: ProjectAnnotations) { // By changing `this.projectAnnotations, we implicitly invalidate the `prepareStoryWithCache` this.projectAnnotations = normalizeProjectAnnotations(projectAnnotations); - const { globals, globalTypes } = projectAnnotations; - this.globals.set({ globals, globalTypes }); + const { initialGlobals, globalTypes } = projectAnnotations; + this.globals.set({ globals: initialGlobals, globalTypes }); } // This means that one of the CSF files has changed. diff --git a/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts b/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts index ba9ead34d119..4e55cff4a669 100644 --- a/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts +++ b/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts @@ -19,6 +19,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: [], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], @@ -45,6 +46,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: [], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], @@ -75,6 +77,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: [], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], @@ -111,6 +114,7 @@ describe('composeConfigs', () => { argTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, argTypesEnhancers: [], globals: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, + initialGlobals: {}, globalTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, loaders: [], beforeEach: [], @@ -150,6 +154,7 @@ describe('composeConfigs', () => { argTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, argTypesEnhancers: [], globals: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, + initialGlobals: {}, globalTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, loaders: [], beforeEach: [], @@ -180,6 +185,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: ['1', '2', '3', '4'], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: ['1', '2', '3', '4'], beforeEach: [], @@ -210,6 +216,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: ['1', '2', '3'], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: ['1', '2', '3'], beforeEach: [], @@ -236,6 +243,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: [], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], @@ -263,6 +271,7 @@ describe('composeConfigs', () => { { a: '4', secondPass: true }, ], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], @@ -293,6 +302,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: [], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], diff --git a/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts b/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts index 9c943e14f1c1..b6ed3ecd7551 100644 --- a/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts +++ b/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts @@ -56,6 +56,7 @@ export function composeConfigs( ...allArgTypeEnhancers.filter((e) => e.secondPass), ], globals: getObjectField(moduleExportList, 'globals'), + initialGlobals: getObjectField(moduleExportList, 'initialGlobals'), globalTypes: getObjectField(moduleExportList, 'globalTypes'), loaders: getArrayField(moduleExportList, 'loaders'), beforeEach: getArrayField(moduleExportList, 'beforeEach'), diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.test.ts b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.test.ts new file mode 100644 index 000000000000..a6aa1a2f7a83 --- /dev/null +++ b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.test.ts @@ -0,0 +1,33 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest'; + +import { normalizeProjectAnnotations } from './normalizeProjectAnnotations'; + +describe('normalizeProjectAnnotations', () => { + describe('blah', () => { + beforeEach(() => { + const warnThatThrows = vi.mocked(console.warn).getMockImplementation(); + vi.mocked(console.warn).mockImplementation(() => {}); + return () => { + vi.mocked(console.warn).mockImplementation(warnThatThrows!); + }; + }); + it('normalizes globals to initialGlobals', () => { + expect( + normalizeProjectAnnotations({ + globals: { a: 'b' }, + }) + ).toMatchObject({ + initialGlobals: { a: 'b' }, + }); + }); + }); + it('passes through initialGlobals', () => { + expect( + normalizeProjectAnnotations({ + initialGlobals: { a: 'b' }, + }) + ).toMatchObject({ + initialGlobals: { a: 'b' }, + }); + }); +}); diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts index 60cca0023352..52ce9f31ab22 100644 --- a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts +++ b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts @@ -4,11 +4,14 @@ import type { ProjectAnnotations, NormalizedProjectAnnotations, } from '@storybook/types'; +import { deprecate } from '@storybook/client-logger'; +import { dedent } from 'ts-dedent'; import { inferArgTypes } from '../inferArgTypes'; import { inferControls } from '../inferControls'; import { normalizeInputTypes } from './normalizeInputTypes'; import { normalizeArrays } from './normalizeArrays'; +import { combineParameters } from '../parameters'; export function normalizeProjectAnnotations({ argTypes, @@ -17,8 +20,18 @@ export function normalizeProjectAnnotations({ decorators, loaders, beforeEach, + globals, + initialGlobals, ...annotations }: ProjectAnnotations): NormalizedProjectAnnotations { + if (globals && Object.keys(globals).length > 0) { + deprecate(dedent` + The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. + Please use 'initialGlobals' instead. Learn more: + + https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals + `); + } return { ...(argTypes && { argTypes: normalizeInputTypes(argTypes as ArgTypes) }), ...(globalTypes && { globalTypes: normalizeInputTypes(globalTypes) }), @@ -34,6 +47,7 @@ export function normalizeProjectAnnotations({ // compatibility reasons, we will leave this in the store until 7.0 inferControls, ], + initialGlobals: combineParameters(initialGlobals, globals), ...annotations, }; } diff --git a/code/lib/preview-api/src/modules/store/csf/portable-stories.ts b/code/lib/preview-api/src/modules/store/csf/portable-stories.ts index 987240ecab66..75e8d16cce33 100644 --- a/code/lib/preview-api/src/modules/store/csf/portable-stories.ts +++ b/code/lib/preview-api/src/modules/store/csf/portable-stories.ts @@ -99,7 +99,7 @@ export function composeStory { it('renders with custom projectAnnotations via composeStory params', () => { const WithPortugueseText = composeStory(stories.CSF2StoryWithLocale, stories.default, { - globals: { locale: 'pt' }, + initialGlobals: { locale: 'pt' }, }); const { getByText } = render(); const buttonElement = getByText('Olá!'); diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index 1908fab894b2..0851ebdd21d3 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -46,7 +46,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/csf": "^0.1.7", + "@storybook/csf": "^0.1.8", "@storybook/csf-tools": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/preview-api": "workspace:*", diff --git a/code/renderers/svelte/src/__test__/composeStories/portable-stories.test.ts b/code/renderers/svelte/src/__test__/composeStories/portable-stories.test.ts index f678ff522142..f4c2a1be3901 100644 --- a/code/renderers/svelte/src/__test__/composeStories/portable-stories.test.ts +++ b/code/renderers/svelte/src/__test__/composeStories/portable-stories.test.ts @@ -93,7 +93,7 @@ describe('projectAnnotations', () => { it('renders with custom projectAnnotations via composeStory params', () => { const WithPortugueseText = composeStory(stories.CSF2StoryWithLocale, stories.default, { - globals: { locale: 'pt' }, + initialGlobals: { locale: 'pt' }, }); const { getByText } = render(WithPortugueseText.Component, WithPortugueseText.props); const buttonElement = getByText('Olá!'); diff --git a/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts b/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts index 84e34a189f31..d6f85dc76ec5 100644 --- a/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts +++ b/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts @@ -71,7 +71,7 @@ describe('projectAnnotations', () => { it('renders with custom projectAnnotations via composeStory params', () => { const WithPortugueseText = composeStory(stories.CSF2StoryWithLocale, stories.default, { - globals: { locale: 'pt' }, + initialGlobals: { locale: 'pt' }, }); const { getByText } = render(WithPortugueseText); const buttonElement = getByText('Olá!'); diff --git a/code/ui/blocks/package.json b/code/ui/blocks/package.json index fcd04ff1ada9..3ca77a22563c 100644 --- a/code/ui/blocks/package.json +++ b/code/ui/blocks/package.json @@ -48,7 +48,7 @@ "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "^0.1.8", "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", diff --git a/code/ui/components/package.json b/code/ui/components/package.json index a91be114372d..c49bac8a5af2 100644 --- a/code/ui/components/package.json +++ b/code/ui/components/package.json @@ -62,7 +62,7 @@ "@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-slot": "^1.0.2", "@storybook/client-logger": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "^0.1.8", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/theming": "workspace:*", diff --git a/code/yarn.lock b/code/yarn.lock index 874a7afb563e..2a4bb003e9e6 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -5323,7 +5323,7 @@ __metadata: dependencies: "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/manager-api": "workspace:*" "@storybook/preview-api": "workspace:*" @@ -5591,7 +5591,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -5821,7 +5821,7 @@ __metadata: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -5858,7 +5858,7 @@ __metadata: "@radix-ui/react-scroll-area": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/test": "workspace:*" @@ -5942,7 +5942,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/core-events@workspace:lib/core-events" dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" chalk: "npm:^4.1.0" ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" @@ -5962,7 +5962,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" @@ -6044,7 +6044,7 @@ __metadata: "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" "@types/fs-extra": "npm:^11.0.1" "@types/js-yaml": "npm:^4.0.5" @@ -6065,12 +6065,12 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.7": - version: 0.1.7 - resolution: "@storybook/csf@npm:0.1.7" +"@storybook/csf@npm:^0.1.8": + version: 0.1.8 + resolution: "@storybook/csf@npm:0.1.8" dependencies: type-fest: "npm:^2.19.0" - checksum: 10c0/aaebc9fa5f850cebef1fd9d786d7b5844e2d88e5c8078904ea4571c053f858fab064392960274b854037b9f8693d12c7c45c3c4c9142ec88a08fb498f3f056a5 + checksum: 10c0/4fd08bd65205395aba693f053706d5c880db5102543744c4e13768902a615df9a479ac03f80fe33297bd5457a0d0ef655cd33d41a0e379764dd6f0c6b9a7d88c languageName: node linkType: hard @@ -6243,7 +6243,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -6583,7 +6583,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5" @@ -6770,7 +6770,7 @@ __metadata: "@storybook/core-events": "workspace:*" "@storybook/core-server": "workspace:*" "@storybook/core-webpack": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-plugin": "workspace:*" "@storybook/csf-tools": "workspace:*" "@storybook/docs-tools": "workspace:*" @@ -6925,7 +6925,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/server@workspace:renderers/server" dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/preview-api": "workspace:*" @@ -6942,7 +6942,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/source-loader@workspace:lib/source-loader" dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" estraverse: "npm:^5.2.0" lodash: "npm:^4.17.21" @@ -7113,7 +7113,7 @@ __metadata: resolution: "@storybook/types@workspace:lib/types" dependencies: "@storybook/channels": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@types/express": "npm:^4.17.21" "@types/fs-extra": "npm:^11.0.1" "@types/node": "npm:^18.0.0" diff --git a/test-storybooks/portable-stories-kitchen-sink/nextjs/yarn.lock b/test-storybooks/portable-stories-kitchen-sink/nextjs/yarn.lock index a1ff99ef4ecd..b9f109dd2716 100644 --- a/test-storybooks/portable-stories-kitchen-sink/nextjs/yarn.lock +++ b/test-storybooks/portable-stories-kitchen-sink/nextjs/yarn.lock @@ -2833,7 +2833,7 @@ __metadata: "@storybook/addon-actions@file:../../../code/addons/actions::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-actions@file:../../../code/addons/actions#../../../code/addons/actions::hash=5876f9&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-actions@file:../../../code/addons/actions#../../../code/addons/actions::hash=b3dd41&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/core-events": "workspace:*" "@storybook/global": "npm:^5.0.0" @@ -2841,36 +2841,36 @@ __metadata: dequal: "npm:^2.0.2" polished: "npm:^4.2.2" uuid: "npm:^9.0.0" - checksum: 10/9f743179432e8ea3a148d9a8879d20266b9499175eb6bf355743e4d55dc8499b5ed2b17e29ff1ae797f8e6b7da8b1142f2411c36a36d5275ab8f43ff22a74890 + checksum: 10/819f251fdfcfe060a5d80a3f4226da904deb3858b782b63d613d0a187c34f9f5dd31d00d93661aa8504420d80f8933a8324efe386dc8f6d7ee11bd118e34798d languageName: node linkType: hard "@storybook/addon-backgrounds@file:../../../code/addons/backgrounds::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-backgrounds@file:../../../code/addons/backgrounds#../../../code/addons/backgrounds::hash=7effe1&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-backgrounds@file:../../../code/addons/backgrounds#../../../code/addons/backgrounds::hash=79a8a6&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" memoizerific: "npm:^1.11.3" ts-dedent: "npm:^2.0.0" - checksum: 10/4d1469288f212fa3daaa627bbfebe87d4b130975616bf3c3255f5dcd48e44971c773cdde3b173c4656a1a533f2c7d4afc7b1a9a26943a1c7267d933408540f32 + checksum: 10/1afa16c585bb6a72a18e12948f8c614e7db326e7a9b63a49dc46c604a9c91bfb6122392e6cf57cc7a2310e29f158073427d419275ca0cec7b07d1369eb740b6d languageName: node linkType: hard "@storybook/addon-controls@file:../../../code/addons/controls::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-controls@file:../../../code/addons/controls#../../../code/addons/controls::hash=d65d18&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-controls@file:../../../code/addons/controls#../../../code/addons/controls::hash=b20fef&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/blocks": "workspace:*" dequal: "npm:^2.0.2" lodash: "npm:^4.17.21" ts-dedent: "npm:^2.0.0" - checksum: 10/3bd7e63d7bc4fe8616f8b7714b934eda73f1e5877e9551b1d0c9f452cbfa2d3ce7ff83910d27e77df7ce400069a82d93266568a7a0d0f22120d4ca6916d53520 + checksum: 10/ba7f3dd55a9ca69f50d16aaea9415c003364982dd15f7268fee6e1a95c270f51787f8141374417c56a75260c57f8532e94d94f14706634ae85905259ee116bca languageName: node linkType: hard "@storybook/addon-docs@file:../../../code/addons/docs::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-docs@file:../../../code/addons/docs#../../../code/addons/docs::hash=fa87f3&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-docs@file:../../../code/addons/docs#../../../code/addons/docs::hash=2394df&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@babel/core": "npm:^7.24.4" "@mdx-js/react": "npm:^3.0.0" @@ -2892,13 +2892,13 @@ __metadata: rehype-external-links: "npm:^3.0.0" rehype-slug: "npm:^6.0.0" ts-dedent: "npm:^2.0.0" - checksum: 10/4a9e32cd20dfd59e6e7adf39490d677ec78fef6b70ca9105e356f4146a2663e3c99200ba25b8c61d13bcd29c7aeebe1c07d8bafb6d0a027b8b26a9f626acd063 + checksum: 10/5b557f444b04adeea796017761505d666e0d046f88226a06e7811305b333b7a93fc5c52e78888cb05a22d6b3a5f92d77550f48cc6d8174b4a281622f01483080 languageName: node linkType: hard "@storybook/addon-essentials@file:../../../code/addons/essentials::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-essentials@file:../../../code/addons/essentials#../../../code/addons/essentials::hash=4fd371&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-essentials@file:../../../code/addons/essentials#../../../code/addons/essentials::hash=fca3e7&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/addon-actions": "workspace:*" "@storybook/addon-backgrounds": "workspace:*" @@ -2914,22 +2914,22 @@ __metadata: "@storybook/node-logger": "workspace:*" "@storybook/preview-api": "workspace:*" ts-dedent: "npm:^2.0.0" - checksum: 10/7c2387e169042fb3df27d9093a3ede5457558468e6bc470e9445e10ae91401961ab40a2af1039730e1529ee441bc461db20cdfe95ee0dd426c3189533e378a9e + checksum: 10/0cc3de5fd6d59db6b62e5d2114e22d14325ae50b4f06aadbb7304a8a69ff97c0fe42f4ea36fc6387b4031a1b9108b1f122eb799a9b1ac444afedf1f9b4278fbe languageName: node linkType: hard "@storybook/addon-highlight@file:../../../code/addons/highlight::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-highlight@file:../../../code/addons/highlight#../../../code/addons/highlight::hash=439069&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-highlight@file:../../../code/addons/highlight#../../../code/addons/highlight::hash=907ff1&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" - checksum: 10/13621b32af294253b362f2673343bf9f66e0added8d9efa0dfba655a8f9f4630ae8844e617b65219efad0be4ec29c7e2bd790d0bd7f9cd47dc8b4e8fdbe0b6fd + checksum: 10/0a91b3f12df34c532bd11543e4d4ec0a962783c6ea8faa275ae1ef9432ae0f773b328ab824b5368adf1bdf1f704619a4bfe255285c047ce7ac03874aaa0d3351 languageName: node linkType: hard "@storybook/addon-interactions@file:../../../code/addons/interactions::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-interactions@file:../../../code/addons/interactions#../../../code/addons/interactions::hash=2e5086&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-interactions@file:../../../code/addons/interactions#../../../code/addons/interactions::hash=ceac2d&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" "@storybook/instrumenter": "workspace:*" @@ -2937,55 +2937,55 @@ __metadata: "@storybook/types": "workspace:*" polished: "npm:^4.2.2" ts-dedent: "npm:^2.2.0" - checksum: 10/5301dc4674d410818c3ecb05c808d9970e2d62c599664d4f345ec713e144505713271cfa8e340b69daa7e2bfa57ec2277e45538b3ae768d4fe22cfb041d3ff4b + checksum: 10/8d2df15d07d93fb5d9bff5c3dd08af081946800c4f335f8a82e6527a0b73c139becb77097474d11569415065f6cbec2da9bdd577e6524c6a0e192b5eb9017734 languageName: node linkType: hard "@storybook/addon-measure@file:../../../code/addons/measure::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-measure@file:../../../code/addons/measure#../../../code/addons/measure::hash=f17947&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-measure@file:../../../code/addons/measure#../../../code/addons/measure::hash=193f4e&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" tiny-invariant: "npm:^1.3.1" - checksum: 10/26eb1629c8f3c821a41c73ae181eb7d86db03e48da74ad8f3c8384d52d409b56d53da4e0a220417691567094daaedb55b5b56c5825467e6ac70c27a6e025aa09 + checksum: 10/96c140acdfe782c705d0f6e21f17973186238901b9146c7ccf81fdda6cfc247a8b76a540d6d0aefe9ccb510da2e4bf8e79de8d6f05220625afe858e0abf33bb7 languageName: node linkType: hard "@storybook/addon-outline@file:../../../code/addons/outline::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-outline@file:../../../code/addons/outline#../../../code/addons/outline::hash=822274&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-outline@file:../../../code/addons/outline#../../../code/addons/outline::hash=d9f77c&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" ts-dedent: "npm:^2.0.0" - checksum: 10/fabeb58b6d98ed7db56203b66aa36bbffa411730f80898093c0dceee8184f08d6f3c73a3fe3ca546f788e50ffe326178ca81435b709fe989f79be045302194f6 + checksum: 10/3a7b90e07339f5afcdbc2b7eae85e86201fa507d2f4e8c5825caa38adebe1dd7f56ab84459787a2be72e75b6f757aae836928f35a1d9d68d21c2d0c0a2793f50 languageName: node linkType: hard "@storybook/addon-toolbars@file:../../../code/addons/toolbars::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-toolbars@file:../../../code/addons/toolbars#../../../code/addons/toolbars::hash=ff5940&locator=portable-stories-nextjs%40workspace%3A." - checksum: 10/2932151df9d51b606c52ea46008c821684f5b0070fbc17543bc5ec2ea166a4b06c59636efc986eb9479578c1e446d3fc066dbe7fbccd602b3127e31afdc98af2 + resolution: "@storybook/addon-toolbars@file:../../../code/addons/toolbars#../../../code/addons/toolbars::hash=2e634e&locator=portable-stories-nextjs%40workspace%3A." + checksum: 10/4e14b02a8ed0cb7a7d96b028953ca8693f2997af7e6e1cd1b12142be227a6b6b52045a426b8fefa0f0c3d1a4a0a239496cbdceb9cefceed2885424bb78124358 languageName: node linkType: hard "@storybook/addon-viewport@file:../../../code/addons/viewport::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-viewport@file:../../../code/addons/viewport#../../../code/addons/viewport::hash=22c143&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-viewport@file:../../../code/addons/viewport#../../../code/addons/viewport::hash=5ae3b0&locator=portable-stories-nextjs%40workspace%3A." dependencies: memoizerific: "npm:^1.11.3" - checksum: 10/f027a593d698a6e283117c82e485fbc48f61229108b15186e5e3c9045c937d5056cddf130d753c205e8de302a503b2460f0012ad652aa557f247ecdee1c66190 + checksum: 10/987dfe37926960e874d918bd5da6da087ed1cd91f60208c7c08875385b29c1e4405c76555685cab7073b729c5a8c8e39616c72fa38474ec4ba33041d9b006792 languageName: node linkType: hard "@storybook/blocks@file:../../../code/ui/blocks::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/blocks@file:../../../code/ui/blocks#../../../code/ui/blocks::hash=0d1f97&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/blocks@file:../../../code/ui/blocks#../../../code/ui/blocks::hash=757b4e&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -3013,13 +3013,13 @@ __metadata: optional: true react-dom: optional: true - checksum: 10/fb1ecec87e1dc6487990db4ab78bbf9a3bdab507dafc862ef95b539a99efcbc0055492ad4c0bbff7f137d2f93d9204e8a930bdb802925a709a0186915b1f9b05 + checksum: 10/4e78732ad5e1c2df282830ef431c026cff2459cbd5ab785389bd00b088c0513d38df03576ddd06abab79ec5a1d440f683cee9a958035aae510314cee646ec00f languageName: node linkType: hard "@storybook/builder-manager@file:../../../code/builders/builder-manager::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/builder-manager@file:../../../code/builders/builder-manager#../../../code/builders/builder-manager::hash=ace69f&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/builder-manager@file:../../../code/builders/builder-manager#../../../code/builders/builder-manager::hash=a60c5a&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@fal-works/esbuild-plugin-global-externals": "npm:^2.1.2" "@storybook/core-common": "workspace:*" @@ -3035,13 +3035,13 @@ __metadata: fs-extra: "npm:^11.1.0" process: "npm:^0.11.10" util: "npm:^0.12.4" - checksum: 10/a65315370078ab356824602de9bc0b8da09114ccd07049f03f3e7bf945a11921a932293bff227c84651b3ed6c05d50726a1c33db7934fdf195b52745440248b3 + checksum: 10/341a4b607fece9ea7bc5ef68ffeacb3a5a9fea356fb2fddae1607fdbec5453f08e1389753e2da0dbbd9bcfd4661d5385eefcb47dfceebd23bc443670ffdfdfcb languageName: node linkType: hard "@storybook/builder-webpack5@file:../../../code/builders/builder-webpack5::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/builder-webpack5@file:../../../code/builders/builder-webpack5#../../../code/builders/builder-webpack5::hash=3f855a&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/builder-webpack5@file:../../../code/builders/builder-webpack5#../../../code/builders/builder-webpack5::hash=042e54&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" @@ -3080,26 +3080,26 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/7abcec2a90886d3ab46492a84091daa658d83e76d7d7c515125efb91954b89a13a7f52f39485db13162733276e5f6f2018f7c3c537090addf4d6f9ca164e8eb8 + checksum: 10/3651c6c381a5e0a7d909322c2630f7c736c7f4f573188d25fad61989365879dc1b35410089cd0dac9985f74b54fe57823c10cf39c2e35c15302c2e6382851568 languageName: node linkType: hard "@storybook/channels@file:../../../code/lib/channels::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/channels@file:../../../code/lib/channels#../../../code/lib/channels::hash=62c1d4&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/channels@file:../../../code/lib/channels#../../../code/lib/channels::hash=aaa3cd&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" "@storybook/global": "npm:^5.0.0" telejson: "npm:^7.2.0" tiny-invariant: "npm:^1.3.1" - checksum: 10/147649a5623ef910eb930f910e9ab715d1ec4da7efa9a0a582ff256794fe9406c583df37d781ba79e57bb5c4739c13f1fa11732131b28a4528a8755af0e30588 + checksum: 10/762ff525d5df6f81057ad3fbc8393a258db8276f07ccfb1b36769a88a295fddec505eb2c67ac4d2e05b77bc1461e48e43825606a0fd462ca7981327e2a2037b9 languageName: node linkType: hard "@storybook/cli@file:../../../code/lib/cli::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/cli@file:../../../code/lib/cli#../../../code/lib/cli::hash=ca957d&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/cli@file:../../../code/lib/cli#../../../code/lib/cli::hash=5ac19a&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@babel/core": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" @@ -3140,27 +3140,27 @@ __metadata: bin: getstorybook: ./bin/index.js sb: ./bin/index.js - checksum: 10/a92be0f80b4242f467b279ec26fda7b401068dd3a720387c738a6c1202d49c8228059e0c5b52025b76b11f3cd1f309d08a7b3b09badea702ff95324202e1472a + checksum: 10/af509e8cc8834fbdd8ef8ec210d85c636f94eadee468bfa2801d08bc7637fbe08b632854464a4c3c892f254a908ac645a5929cc393f76a60602e0b9f8a8bf220 languageName: node linkType: hard "@storybook/client-logger@file:../../../code/lib/client-logger::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/client-logger@file:../../../code/lib/client-logger#../../../code/lib/client-logger::hash=29ba30&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/client-logger@file:../../../code/lib/client-logger#../../../code/lib/client-logger::hash=693b46&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" - checksum: 10/aa3fb040168dfb7a315de39323ee81bfabe06bcccdd9289e3a11f6d34e232a73f84bbfd489710e245a5f4609681d8bf3b0aaa776cab36c225989a8e0652e4692 + checksum: 10/95d36525f22c9351bcbfe0afb8403b9a0fc0d58e1573a90c9885219af3d27e8f34bbb6e842317b653625a1fe9998d8f1a72dba131976bde9a932253e838af783 languageName: node linkType: hard "@storybook/codemod@file:../../../code/lib/codemod::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/codemod@file:../../../code/lib/codemod#../../../code/lib/codemod::hash=35c1a1&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/codemod@file:../../../code/lib/codemod#../../../code/lib/codemod::hash=1ffa44&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -3172,18 +3172,18 @@ __metadata: prettier: "npm:^3.1.1" recast: "npm:^0.23.5" tiny-invariant: "npm:^1.3.1" - checksum: 10/6ee5d16e89a55785172f4f05fbd96e4097d05eae969a6bdc11000d720de93a2bce201bb4ab6bcf79b12fbfcd9bb45168af045d6ab43b3bd37d5e31e1a36a1a2a + checksum: 10/9c4bea6484529aef3ea8ebd3c1a1f928253ea55ff5c74165515fdfbf8857771b32cfa177a9674b169c3051edb2585d2b5e24f50db50d8f79d5f1144ca4189e21 languageName: node linkType: hard "@storybook/components@file:../../../code/ui/components::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/components@file:../../../code/ui/components#../../../code/ui/components::hash=882239&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/components@file:../../../code/ui/components#../../../code/ui/components::hash=edefaf&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@radix-ui/react-dialog": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/theming": "workspace:*" @@ -3193,13 +3193,13 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - checksum: 10/fa82b0e491dd4738b6c8431f37708762f1c72173e8675d35e07b595aaa87a9a494bb7769c46c8e0d2f6ad8c0fcbc7294767785e8ce9c86ea5e407d90c093301d + checksum: 10/b19a7796dacdf19e7a5fc48244bd4ef24a4b8792c87dc71490811d33c2dc12bd717079159822fe37b2f197b0e75adac6e20587535bc772869737ccc27c4dca97 languageName: node linkType: hard "@storybook/core-common@file:../../../code/lib/core-common::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/core-common@file:../../../code/lib/core-common#../../../code/lib/core-common::hash=67ea6d&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/core-common@file:../../../code/lib/core-common#../../../code/lib/core-common::hash=92eb3d&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/core-events": "workspace:*" "@storybook/csf-tools": "workspace:*" @@ -3235,23 +3235,23 @@ __metadata: peerDependenciesMeta: prettier: optional: true - checksum: 10/6e70b0bd8d2c4af73fe50e347d0a1eb15f9989ec36e6d7e0b3a5094c07cdc1b1a3257a31067b039872f4e70e04e19ed1303d6d3b655018110b3ecd0c99c9926b + checksum: 10/dbb6cb4494c2351a22477137839076002493a177725202ebbb183152f04bf0590071c91353596a85403812261f0009a179473e556f849f1243937d088e0cd40e languageName: node linkType: hard "@storybook/core-events@file:../../../code/lib/core-events::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/core-events@file:../../../code/lib/core-events#../../../code/lib/core-events::hash=d3e754&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/core-events@file:../../../code/lib/core-events#../../../code/lib/core-events::hash=636bd9&locator=portable-stories-nextjs%40workspace%3A." dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" ts-dedent: "npm:^2.0.0" - checksum: 10/625133990de99b506ce578213ccd5113500277140fb35e859fc5b439a6ac99ca76bca5f1e8be03ecea729a2fb7e4f1dc87a90d62d04ea9978ccdd3d6d9b56415 + checksum: 10/93ff4e7e48bdadae27c3e8fbd9f99b37ced2cf1815528f9e46b4ab18b29a9a7d55cdafbea2ecfbe233da7800d6f0dc7948ec4e4bb7298243eecf682813af3256 languageName: node linkType: hard "@storybook/core-server@file:../../../code/lib/core-server::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/core-server@file:../../../code/lib/core-server#../../../code/lib/core-server::hash=793357&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/core-server@file:../../../code/lib/core-server#../../../code/lib/core-server::hash=f196f1&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@aw-web-design/x-default-browser": "npm:1.4.126" "@babel/core": "npm:^7.24.4" @@ -3261,7 +3261,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" @@ -3299,47 +3299,47 @@ __metadata: util-deprecate: "npm:^1.0.2" watchpack: "npm:^2.2.0" ws: "npm:^8.2.3" - checksum: 10/98a28e2f267718ab793638f77f998091510c7e208abe055aef87bcdffc9b03a4a7a41ea878550e7f011f34c2205e865bbd86c800fdf9492423cd7b9234ceeebb + checksum: 10/942e366fcf6e5c6ce17c0a9a8c8824825bb14d23a0f065cac2cd756c7dd13ddda56364bba6753c466feeff2a80d807faff845358c30083466eb964b5758884a5 languageName: node linkType: hard "@storybook/core-webpack@file:../../../code/lib/core-webpack::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/core-webpack@file:../../../code/lib/core-webpack#../../../code/lib/core-webpack::hash=43cd27&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/core-webpack@file:../../../code/lib/core-webpack#../../../code/lib/core-webpack::hash=88b192&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/core-common": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" "@types/node": "npm:^18.0.0" ts-dedent: "npm:^2.0.0" - checksum: 10/1c54f8c9ddc023f27776e41dd2d42f8297fb0705493ef357ac99cc0bbd47a3e1dd61786d08c732b048808ef272de1d42a3062b33f1ffc722b4e22a83123f0038 + checksum: 10/c475c6fc72d3faa00fa5bb0746f9830748f1a902d6e6f20dbea448a0b2bca6a8fb422a6c4b92d8584c2ddf6c3bdb09c528e138cd31e8c6e494d2328f19f46e1e languageName: node linkType: hard "@storybook/csf-plugin@file:../../../code/lib/csf-plugin::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/csf-plugin@file:../../../code/lib/csf-plugin#../../../code/lib/csf-plugin::hash=c26807&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/csf-plugin@file:../../../code/lib/csf-plugin#../../../code/lib/csf-plugin::hash=7a065c&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/csf-tools": "workspace:*" unplugin: "npm:^1.3.1" - checksum: 10/e39a69842651d74b55dae065d1df62dfae75c7e5a5c120254fa671781071e61f0c7e6ecdc6703c95387fbc2a33959dab2ebed2196ab7e4464d1c9cdcff3bd14b + checksum: 10/b793d4563426633089bb56d25c6a0f3e4911e8d9cb89d4a0506cb979ca1520a2e9bc381870d3b917475b17e21241eb4830f36ae2933aaf77fee5f51686518826 languageName: node linkType: hard "@storybook/csf-tools@file:../../../code/lib/csf-tools::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/csf-tools@file:../../../code/lib/csf-tools#../../../code/lib/csf-tools::hash=36579b&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/csf-tools@file:../../../code/lib/csf-tools#../../../code/lib/csf-tools::hash=8ad709&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@babel/generator": "npm:^7.24.4" "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" fs-extra: "npm:^11.1.0" recast: "npm:^0.23.5" ts-dedent: "npm:^2.0.0" - checksum: 10/e352ae6e566416ca675dddf9253e50362294f881986b99b763e93c45c8b3d8a9b16aabd4d0d7f675455b89997b49852f8c766c5d7e27866c0c28359992138ee0 + checksum: 10/18819a881cfd54040c70cbec947f713e077120edbf32daeda5b104e4cf3921346c988b80a1915b8b8cb9b559bfc763810330410f4743fda1dc2b7809e869864f languageName: node linkType: hard @@ -3352,7 +3352,7 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.7": +"@storybook/csf@npm:^0.1.8": version: 0.1.8 resolution: "@storybook/csf@npm:0.1.8" dependencies: @@ -3370,7 +3370,7 @@ __metadata: "@storybook/docs-tools@file:../../../code/lib/docs-tools::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/docs-tools@file:../../../code/lib/docs-tools#../../../code/lib/docs-tools::hash=a72a0f&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/docs-tools@file:../../../code/lib/docs-tools#../../../code/lib/docs-tools::hash=ded0a2&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" @@ -3379,7 +3379,7 @@ __metadata: comment-parser: "npm:^1.4.1" jsdoc-type-pratt-parser: "npm:^4.0.0" lodash: "npm:^4.17.21" - checksum: 10/a80c060c065202cc404076c67383f352510b0fa05566d0d2b3aebdca55639e79e743c452c1db0db280031950ac6ee766e017b90db2d32bd9b14f220d3bb58897 + checksum: 10/6c71507a02e1d778daf9c9fb42d873bdf169bd9bc4adc450d88c0a862f96105cc3eea61f314061266eb3b17bf05bf589dfdc8c01866d8f64e624adf062ee5713 languageName: node linkType: hard @@ -3402,7 +3402,7 @@ __metadata: "@storybook/instrumenter@file:../../../code/lib/instrumenter::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/instrumenter@file:../../../code/lib/instrumenter#../../../code/lib/instrumenter::hash=e789c0&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/instrumenter@file:../../../code/lib/instrumenter#../../../code/lib/instrumenter::hash=fd1076&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" @@ -3411,18 +3411,18 @@ __metadata: "@storybook/preview-api": "workspace:*" "@vitest/utils": "npm:^1.3.1" util: "npm:^0.12.4" - checksum: 10/756dc8130cd7ce302b5f3783ffda5bad124e48674d78b29f52691b788fb6670c1898b2d167050dd83dd4cd5b17652e2bb75f66d6a7630dca82c0b8f1621bb2c2 + checksum: 10/4c6b36536cc04adf86d36bea696202fab1ca9b8cf4200e7325854b78ae317f37367f87a2d27e405eef69e5b3d7d0488522a35cac5c10ff753869cf77d151996b languageName: node linkType: hard "@storybook/manager-api@file:../../../code/lib/manager-api::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/manager-api@file:../../../code/lib/manager-api#../../../code/lib/manager-api::hash=c57659&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/manager-api@file:../../../code/lib/manager-api#../../../code/lib/manager-api::hash=a22fe6&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -3434,20 +3434,20 @@ __metadata: store2: "npm:^2.14.2" telejson: "npm:^7.2.0" ts-dedent: "npm:^2.0.0" - checksum: 10/9380b7d3b9925c39e62013204c4867952062fd1d55fb69618d1e8540a8da7a9605667a632bac55aad5aa2f377f9ab29025cedcb523bad02a30e22b34be7f50be + checksum: 10/ceb50473145d76f8833e1c039efa1776bc89aa3ac1b6e29e7267f09d13232d845e90340bcfff27abcb24cc6855be4aaad27753f9aba18dcc1d270e35f1b4be19 languageName: node linkType: hard "@storybook/manager@file:../../../code/ui/manager::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/manager@file:../../../code/ui/manager#../../../code/ui/manager::hash=0e0013&locator=portable-stories-nextjs%40workspace%3A." - checksum: 10/a9efde5ef34be3753dd3aa9f55de4f6e03dcd6eee1f30ef0d1aa7d294b34674bd745288f0d1bc20002d2fefb2583ac28cc372d64946cdef9d74b09708ca6dcb9 + resolution: "@storybook/manager@file:../../../code/ui/manager#../../../code/ui/manager::hash=0ddf9e&locator=portable-stories-nextjs%40workspace%3A." + checksum: 10/ef552d1628a08841843b77945e6e4ecd409dbc9998915b0a16c19fee758cf47e10e89745e48c3f5a0812012377cb9272139651765bac386109757f0559057a04 languageName: node linkType: hard "@storybook/nextjs@file:../../../code/frameworks/nextjs::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/nextjs@file:../../../code/frameworks/nextjs#../../../code/frameworks/nextjs::hash=ef5bcc&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/nextjs@file:../../../code/frameworks/nextjs#../../../code/frameworks/nextjs::hash=ccc2ad&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@babel/core": "npm:^7.24.4" "@babel/plugin-syntax-bigint": "npm:^7.8.3" @@ -3507,20 +3507,20 @@ __metadata: optional: true webpack: optional: true - checksum: 10/4282cabdd87f5e191e79c8a65fba5fe70dc353ca065fbf8a2df7faee0cb0fbc3f489c8a81ba36c32f0c9e50f13e9b70370bc141526628ff5685a7b5de6430d19 + checksum: 10/cfbd63f55341f3909d9292b8baa85714e7b690f3546f70250710690b2e07848f654e730d9fe18aed67862da9fd68a8d476e467b487083b8460b8f214227cd8d7 languageName: node linkType: hard "@storybook/node-logger@file:../../../code/lib/node-logger::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/node-logger@file:../../../code/lib/node-logger#../../../code/lib/node-logger::hash=0c69f3&locator=portable-stories-nextjs%40workspace%3A." - checksum: 10/04b5f9dbcc7600d45de65e3bc0aade4866f8106058cbc3965b7d96afe38564afe1a32dbef2cf0e3fcc1e1bc8e375dcf5505460ee2aaeeb036f32fb2e064961b6 + resolution: "@storybook/node-logger@file:../../../code/lib/node-logger#../../../code/lib/node-logger::hash=8e10e4&locator=portable-stories-nextjs%40workspace%3A." + checksum: 10/20b42a4f9581f9caacc2f1b06bc05c0e33b49d262b37d6f3647d13e1269142c0cef4f48ad3cc5bebf9bb03855ced739cb908b37b8ecec50407b04106ab85bdc2 languageName: node linkType: hard "@storybook/preset-react-webpack@file:../../../code/presets/react-webpack::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/preset-react-webpack@file:../../../code/presets/react-webpack#../../../code/presets/react-webpack::hash=187a85&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/preset-react-webpack@file:../../../code/presets/react-webpack#../../../code/presets/react-webpack::hash=b7b068&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/core-webpack": "workspace:*" "@storybook/docs-tools": "workspace:*" @@ -3543,18 +3543,18 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/8bb00d182bd7735316c913b370b70fd4e6c0d01077cd912f43da51d5d4c2ffceaac40aa1a27bbae02797191ad875288d38258215001d83ad451db43510abbf89 + checksum: 10/f08780e0647294ba0cdc10bc70223f4e7a66bfc6fc429596d165a800c30b95b15d03590211b3623f5ad048451946cab08ec991da8dcae60e40a813f08313927d languageName: node linkType: hard "@storybook/preview-api@file:../../../code/lib/preview-api::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/preview-api@file:../../../code/lib/preview-api#../../../code/lib/preview-api::hash=bb36ad&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/preview-api@file:../../../code/lib/preview-api#../../../code/lib/preview-api::hash=048630&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5" @@ -3565,14 +3565,14 @@ __metadata: tiny-invariant: "npm:^1.3.1" ts-dedent: "npm:^2.0.0" util-deprecate: "npm:^1.0.2" - checksum: 10/b9e24ae99739fe371d9d1c7ab92f32ec30e6882e0aa078956bc27230ee6ad4c7c586b7ce681bf4ca563aa0f312824fdb5bd8fbf9776a917a6d55a3468ccff1a4 + checksum: 10/22ff55ec02f89e14493dce0081edd2d12f9b8e1488e49834735c9344836ce7c3bd37848f1885c4d92ba01f21bc16b3ec5f57100b332bd009c0b910902985cb1b languageName: node linkType: hard "@storybook/preview@file:../../../code/lib/preview::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/preview@file:../../../code/lib/preview#../../../code/lib/preview::hash=d19e60&locator=portable-stories-nextjs%40workspace%3A." - checksum: 10/fa905b9f0eb84c1c9cf175c01303c4df8111af6e92ae9174ab5bee65cb192a80f1aee9fe4a3b429e3bedd9cd4fb3a2e661d97e7d2aa44430cb311d1cf7b260d8 + resolution: "@storybook/preview@file:../../../code/lib/preview#../../../code/lib/preview::hash=89cb1c&locator=portable-stories-nextjs%40workspace%3A." + checksum: 10/11735462386dee2d5f7d5bb69b02e9a2a3baf68b94188de8f4688166b1890dc4ba294ecd3b319939e1bff11d26200a65fbcb13d9a9b7e28cb233f495ea970c6f languageName: node linkType: hard @@ -3596,17 +3596,17 @@ __metadata: "@storybook/react-dom-shim@file:../../../code/lib/react-dom-shim::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/react-dom-shim@file:../../../code/lib/react-dom-shim#../../../code/lib/react-dom-shim::hash=fb723a&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/react-dom-shim@file:../../../code/lib/react-dom-shim#../../../code/lib/react-dom-shim::hash=206ee5&locator=portable-stories-nextjs%40workspace%3A." peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - checksum: 10/158025198263988242ff63a93007fa8642ddc36646c2e4ccdf13d07e87b0c3859ba2676e52730636830fd3879b0b9b1c4800c374b4a16d21a16b6df495567255 + checksum: 10/fe1f510f8a36d7506b8a146834d801341db82678aa38e293d9bcf72bd304eb111b3cd7a2de19ac4b7f730f075f2ea28ddd7934aec988cc1b92d16ac1f773126e languageName: node linkType: hard "@storybook/react@file:../../../code/renderers/react::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/react@file:../../../code/renderers/react#../../../code/renderers/react::hash=f6ae7b&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/react@file:../../../code/renderers/react#../../../code/renderers/react::hash=6441b1&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/client-logger": "workspace:*" "@storybook/docs-tools": "workspace:*" @@ -3636,24 +3636,24 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/2b46a51f46a85ffe2f69c54828afe5e64591569b040b1e42afe3ae368b0cf16f6686f5377399095f790fe26edd7f857057ea9ec24e5fb7c56d42ba78f0ccbec4 + checksum: 10/092272aae149f500498a491637afa31ab223c3064ed4bd0727aeb06b838e7bb774b3a48eae21d74e00446948491be940b8a257b4940feb7b28e9cb6c8be4539b languageName: node linkType: hard "@storybook/router@file:../../../code/lib/router::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/router@file:../../../code/lib/router#../../../code/lib/router::hash=13132a&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/router@file:../../../code/lib/router#../../../code/lib/router::hash=acec61&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/client-logger": "workspace:*" memoizerific: "npm:^1.11.3" qs: "npm:^6.10.0" - checksum: 10/54858a72939e2f1e4992cc7456a7eda5b4d8730c095f2a8029829bb4250363b8522885b64ad3ae6e57909091045d5a208293b1f6c1e57df4a76c775cb9f494ab + checksum: 10/9a89735115b69469437baadda94201dd749599e5b20f3fa5079d50f9fa81b4829ffd2c29c64381a01096aa9ff2c7adc61a7e057acfeb7f4e80fcd78d7a62a94c languageName: node linkType: hard "@storybook/telemetry@file:../../../code/lib/telemetry::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/telemetry@file:../../../code/lib/telemetry#../../../code/lib/telemetry::hash=22ecf8&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/telemetry@file:../../../code/lib/telemetry#../../../code/lib/telemetry::hash=b738c4&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/client-logger": "workspace:*" "@storybook/core-common": "workspace:*" @@ -3663,13 +3663,13 @@ __metadata: fetch-retry: "npm:^5.0.2" fs-extra: "npm:^11.1.0" read-pkg-up: "npm:^7.0.1" - checksum: 10/0371a34141ac321e7f17c2fb74d466a437f876c74609933cd23673b53bb9601b67aff02c6f163774d18ec84956028d1da21d18345957e23b08046547e087ab24 + checksum: 10/dde888124f1fc59de91fa15ebae0247cd25c36e31925f5fb14c268b8ddea03f5664f36d7f23d91398f7a1fa53c3ca7c9e91efe573570e6c5e0baa6fa7e391a4e languageName: node linkType: hard "@storybook/test@file:../../../code/lib/test::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/test@file:../../../code/lib/test#../../../code/lib/test::hash=ba4fdb&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/test@file:../../../code/lib/test#../../../code/lib/test::hash=cc1e8a&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" @@ -3681,13 +3681,13 @@ __metadata: "@vitest/expect": "npm:1.6.0" "@vitest/spy": "npm:1.6.0" util: "npm:^0.12.4" - checksum: 10/8f68f4c9dfb3c3835ba1e853b455add68758291e5689b5bd001eee3ce2f295e145d6cb9dfdf23b41c8d74b7527cd2c6471603f87efab6d8ae187cdd455a67136 + checksum: 10/b62fa0a76339c07c08b08b757e96a12acf2a418927cb9487517ffff30d29522637304601177d1825dab6ab7de0e32b40be2b1a918e9f83831079a150786cd94c languageName: node linkType: hard "@storybook/theming@file:../../../code/lib/theming::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/theming@file:../../../code/lib/theming#../../../code/lib/theming::hash=b5aef5&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/theming@file:../../../code/lib/theming#../../../code/lib/theming::hash=7f464c&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@emotion/use-insertion-effect-with-fallbacks": "npm:^1.0.1" "@storybook/client-logger": "workspace:*" @@ -3701,18 +3701,18 @@ __metadata: optional: true react-dom: optional: true - checksum: 10/f6d068f5e50ef7ba4b387b45b3deea3f276f4d430a51b17a37e55145c92005ed8193da37e556d87646b45cb6b1aca6c1acb5bee3469cd140eb88e00c0e5f8d57 + checksum: 10/b2c6b2a9a79bfb8ee5ae4d00d5e265f3763a262b4d7dfff9482b153794e4570aba7b54eade7f74abb465d3c31e38c96ab497be5533498616127201da60f5b5e7 languageName: node linkType: hard "@storybook/types@file:../../../code/lib/types::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/types@file:../../../code/lib/types#../../../code/lib/types::hash=ab5e54&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/types@file:../../../code/lib/types#../../../code/lib/types::hash=660b47&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@types/express": "npm:^4.17.21" file-system-cache: "npm:2.3.0" - checksum: 10/34030c10689dc4dbaae2fce7462b33a25c8f525733a57d3fbd09a77d26ca3af8ba5460c89562ab89b0d12e11805bc620e1a877beb57a44153e76411b4fe50f1d + checksum: 10/31d32e6812f4acae33edd094bbdf1634f31bbf1376b8e349ee2aaafed722bec8557f3fcb42912215ce239c2a23f0779b4f56b407d2aec54c8c995bd886881847 languageName: node linkType: hard diff --git a/test-storybooks/portable-stories-kitchen-sink/react/yarn.lock b/test-storybooks/portable-stories-kitchen-sink/react/yarn.lock index d5a79925a6f8..22996d6d9968 100644 --- a/test-storybooks/portable-stories-kitchen-sink/react/yarn.lock +++ b/test-storybooks/portable-stories-kitchen-sink/react/yarn.lock @@ -238,7 +238,14 @@ __metadata: languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.24.0, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": +"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": + version: 7.22.5 + resolution: "@babel/helper-plugin-utils@npm:7.22.5" + checksum: 10/ab220db218089a2aadd0582f5833fd17fa300245999f5f8784b10f5a75267c4e808592284a29438a0da365e702f05acb369f99e1c915c02f9f9210ec60eab8ea + languageName: node + linkType: hard + +"@babel/helper-plugin-utils@npm:^7.24.0": version: 7.24.0 resolution: "@babel/helper-plugin-utils@npm:7.24.0" checksum: 10/dc8c7af321baf7653d93315beffee1790eb2c464b4f529273a24c8743a3f3095bf3f2d11828cb2c52d56282ef43a4bdc67a79c9ab8dd845e35d01871f3f28a0e @@ -2968,7 +2975,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -3129,7 +3136,7 @@ __metadata: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -3151,7 +3158,7 @@ __metadata: "@radix-ui/react-dialog": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/theming": "workspace:*" @@ -3209,7 +3216,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/core-events@portal:../../../code/lib/core-events::locator=portable-stories-react%40workspace%3A." dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" ts-dedent: "npm:^2.0.0" languageName: node linkType: soft @@ -3226,7 +3233,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" @@ -3284,7 +3291,7 @@ __metadata: "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" fs-extra: "npm:^11.1.0" recast: "npm:^0.23.5" @@ -3301,7 +3308,7 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.7": +"@storybook/csf@npm:^0.1.8": version: 0.1.8 resolution: "@storybook/csf@npm:0.1.8" dependencies: @@ -3369,7 +3376,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -3403,7 +3410,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5" @@ -4491,7 +4498,7 @@ __metadata: languageName: node linkType: hard -"@vitest/utils@npm:1.6.0, @vitest/utils@npm:^1.3.1": +"@vitest/utils@npm:1.6.0": version: 1.6.0 resolution: "@vitest/utils@npm:1.6.0" dependencies: @@ -4503,6 +4510,18 @@ __metadata: languageName: node linkType: hard +"@vitest/utils@npm:^1.3.1": + version: 1.3.1 + resolution: "@vitest/utils@npm:1.3.1" + dependencies: + diff-sequences: "npm:^29.6.3" + estree-walker: "npm:^3.0.3" + loupe: "npm:^2.3.7" + pretty-format: "npm:^29.7.0" + checksum: 10/170c62e6c348562f611d8caddc893e8cba75ed89986e09aa2f0fe6812c96664e8d0f6e329f7a96a4c9cdecf147f4853e4054c3db597b111ec993d3cdd546eddc + languageName: node + linkType: hard + "@yarnpkg/esbuild-plugin-pnp@npm:^3.0.0-rc.10": version: 3.0.0-rc.15 resolution: "@yarnpkg/esbuild-plugin-pnp@npm:3.0.0-rc.15" @@ -12387,7 +12406,7 @@ __metadata: languageName: node linkType: hard -"vite@npm:^5.0.12, vite@npm:^5.1.1": +"vite@npm:^5.0.12": version: 5.1.6 resolution: "vite@npm:5.1.6" dependencies: @@ -12427,6 +12446,46 @@ __metadata: languageName: node linkType: hard +"vite@npm:^5.1.1": + version: 5.1.4 + resolution: "vite@npm:5.1.4" + dependencies: + esbuild: "npm:^0.19.3" + fsevents: "npm:~2.3.3" + postcss: "npm:^8.4.35" + rollup: "npm:^4.2.0" + peerDependencies: + "@types/node": ^18.0.0 || >=20.0.0 + less: "*" + lightningcss: ^1.21.0 + sass: "*" + stylus: "*" + sugarss: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + "@types/node": + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: 10/e9003b853f0784260f4fe7ce0190124b347fd8fd6bf889a07080facd0d9a9667eaff4022eddb1ba3f0283ef69d15d77f84bca832082e48874a7a62e7f6d66b08 + languageName: node + linkType: hard + "w3c-xmlserializer@npm:^4.0.0": version: 4.0.0 resolution: "w3c-xmlserializer@npm:4.0.0" diff --git a/test-storybooks/portable-stories-kitchen-sink/svelte/stories/Button.test.ts b/test-storybooks/portable-stories-kitchen-sink/svelte/stories/Button.test.ts index 37910cce0cb9..09faeb15b1f5 100644 --- a/test-storybooks/portable-stories-kitchen-sink/svelte/stories/Button.test.ts +++ b/test-storybooks/portable-stories-kitchen-sink/svelte/stories/Button.test.ts @@ -80,7 +80,7 @@ describe('projectAnnotations', () => { it('renders with custom projectAnnotations via composeStory params', () => { const WithPortugueseText = composeStory(stories.CSF2StoryWithLocale, stories.default, { - globals: { locale: 'pt' }, + initialGlobals: { locale: 'pt' }, }); const { getByText } = render(WithPortugueseText.Component, WithPortugueseText.props); const buttonElement = getByText('Olá!'); diff --git a/test-storybooks/portable-stories-kitchen-sink/svelte/yarn.lock b/test-storybooks/portable-stories-kitchen-sink/svelte/yarn.lock index 22fb8791cf56..55949f28ac81 100644 --- a/test-storybooks/portable-stories-kitchen-sink/svelte/yarn.lock +++ b/test-storybooks/portable-stories-kitchen-sink/svelte/yarn.lock @@ -2587,7 +2587,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -2748,7 +2748,7 @@ __metadata: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -2770,7 +2770,7 @@ __metadata: "@radix-ui/react-dialog": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/theming": "workspace:*" @@ -2828,7 +2828,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/core-events@portal:../../../code/lib/core-events::locator=portable-stories-svelte%40workspace%3A." dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" ts-dedent: "npm:^2.0.0" languageName: node linkType: soft @@ -2845,7 +2845,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" @@ -2903,7 +2903,7 @@ __metadata: "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" fs-extra: "npm:^11.1.0" recast: "npm:^0.23.5" @@ -2911,7 +2911,7 @@ __metadata: languageName: node linkType: soft -"@storybook/csf@npm:^0.1.7": +"@storybook/csf@npm:^0.1.8": version: 0.1.8 resolution: "@storybook/csf@npm:0.1.8" dependencies: @@ -2979,7 +2979,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -3013,7 +3013,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5" diff --git a/test-storybooks/portable-stories-kitchen-sink/vue3/yarn.lock b/test-storybooks/portable-stories-kitchen-sink/vue3/yarn.lock index 12f402d37663..5896cbdfd0a7 100644 --- a/test-storybooks/portable-stories-kitchen-sink/vue3/yarn.lock +++ b/test-storybooks/portable-stories-kitchen-sink/vue3/yarn.lock @@ -353,7 +353,16 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.21.4, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.0, @babel/parser@npm:^7.24.1, @babel/parser@npm:^7.24.4, @babel/parser@npm:^7.6.0, @babel/parser@npm:^7.9.6": +"@babel/parser@npm:^7.21.4, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.0, @babel/parser@npm:^7.6.0, @babel/parser@npm:^7.9.6": + version: 7.24.0 + resolution: "@babel/parser@npm:7.24.0" + bin: + parser: ./bin/babel-parser.js + checksum: 10/3e5ebb903a6f71629a9d0226743e37fe3d961e79911d2698b243637f66c4df7e3e0a42c07838bc0e7cc9fcd585d9be8f4134a145b9459ee4a459420fb0d1360b + languageName: node + linkType: hard + +"@babel/parser@npm:^7.24.1, @babel/parser@npm:^7.24.4": version: 7.24.4 resolution: "@babel/parser@npm:7.24.4" bin: @@ -2619,7 +2628,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -2780,7 +2789,7 @@ __metadata: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -2802,7 +2811,7 @@ __metadata: "@radix-ui/react-dialog": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/theming": "workspace:*" @@ -2860,7 +2869,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/core-events@portal:../../../code/lib/core-events::locator=portable-stories-vue3%40workspace%3A." dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" ts-dedent: "npm:^2.0.0" languageName: node linkType: soft @@ -2877,7 +2886,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" @@ -2935,7 +2944,7 @@ __metadata: "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" fs-extra: "npm:^11.1.0" recast: "npm:^0.23.5" @@ -2952,7 +2961,7 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.7": +"@storybook/csf@npm:^0.1.8": version: 0.1.8 resolution: "@storybook/csf@npm:0.1.8" dependencies: @@ -3020,7 +3029,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -3054,7 +3063,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5" @@ -3769,7 +3778,7 @@ __metadata: languageName: node linkType: hard -"@vitest/utils@npm:1.6.0, @vitest/utils@npm:^1.3.1": +"@vitest/utils@npm:1.6.0": version: 1.6.0 resolution: "@vitest/utils@npm:1.6.0" dependencies: @@ -3781,6 +3790,18 @@ __metadata: languageName: node linkType: hard +"@vitest/utils@npm:^1.3.1": + version: 1.4.0 + resolution: "@vitest/utils@npm:1.4.0" + dependencies: + diff-sequences: "npm:^29.6.3" + estree-walker: "npm:^3.0.3" + loupe: "npm:^2.3.7" + pretty-format: "npm:^29.7.0" + checksum: 10/2261705e2edc10376f2524a4bf6616688680094d94fff683681a1ef8d3d59271dee2d80893efad8e6437bbdb00390e2edd754d94cf42100db86f2cfd9c44826f + languageName: node + linkType: hard + "@volar/language-core@npm:2.3.0, @volar/language-core@npm:~2.3.0-alpha.15": version: 2.3.0 resolution: "@volar/language-core@npm:2.3.0"