storybook 10.2.0-beta.2 → 10.2.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/server/base-preview-head.html +66 -44
- package/dist/_browser-chunks/{chunk-QOXZ7W26.js → chunk-2N4WE3KZ.js} +4 -6
- package/dist/_node-chunks/{builder-manager-N2LWOX5D.js → builder-manager-QV5RDRX3.js} +12 -12
- package/dist/_node-chunks/{camelcase-5FSYVCZS.js → camelcase-BMCEZEHU.js} +7 -7
- package/dist/_node-chunks/{chunk-HODKH6S2.js → chunk-2MIIBCWO.js} +6 -6
- package/dist/_node-chunks/chunk-3G6JTYYU.js +18 -0
- package/dist/_node-chunks/{chunk-P2XLDRN4.js → chunk-3WAOMPEV.js} +20 -20
- package/dist/_node-chunks/{chunk-ZYMMEEUR.js → chunk-5BZY2EBX.js} +6 -6
- package/dist/_node-chunks/{chunk-J6PIL7K6.js → chunk-7C3OCMOV.js} +7 -7
- package/dist/_node-chunks/chunk-7CC7KOAY.js +61 -0
- package/dist/_node-chunks/{chunk-EABA3I6M.js → chunk-A635UKUK.js} +36 -15
- package/dist/_node-chunks/{chunk-6BGWV535.js → chunk-B6PRKQBU.js} +43 -25
- package/dist/_node-chunks/{chunk-CQFU5LUX.js → chunk-C2PW44X2.js} +20 -11
- package/dist/_node-chunks/{chunk-OJV6TVDO.js → chunk-DX2OTMAX.js} +7 -7
- package/dist/_node-chunks/{chunk-5J2THD7E.js → chunk-HNJNGHJI.js} +7 -7
- package/dist/_node-chunks/{chunk-GHY5BYFV.js → chunk-HSLEWKPT.js} +7 -7
- package/dist/_node-chunks/{chunk-HBFPHSFB.js → chunk-JGB6IJ7A.js} +6 -6
- package/dist/_node-chunks/{chunk-WXDEINTE.js → chunk-JZDQQ34S.js} +10 -10
- package/dist/_node-chunks/{chunk-XEBN3C26.js → chunk-LDPGDFBN.js} +8 -8
- package/dist/_node-chunks/{chunk-4VD35T6X.js → chunk-LQF2YX4Z.js} +6 -6
- package/dist/_node-chunks/{chunk-M4QILBFD.js → chunk-LY42XGJX.js} +7 -7
- package/dist/_node-chunks/{chunk-5PCZPYCJ.js → chunk-M3NUJKHF.js} +9 -9
- package/dist/_node-chunks/{chunk-ZQQYNNTB.js → chunk-NM76NNBF.js} +9 -9
- package/dist/_node-chunks/{chunk-SBB2XM7N.js → chunk-PFCD6HBP.js} +7 -7
- package/dist/_node-chunks/{chunk-FWIMIUHV.js → chunk-QLZIG3XC.js} +7 -7
- package/dist/_node-chunks/chunk-TJGUM3J6.js +23 -0
- package/dist/_node-chunks/{chunk-2LRLWFCA.js → chunk-TOAOZCOV.js} +16 -16
- package/dist/_node-chunks/{chunk-7UVJF2ZL.js → chunk-UJMJ7W5H.js} +7 -7
- package/dist/_node-chunks/{chunk-BTTNDYQ6.js → chunk-V2LVNLAT.js} +6 -6
- package/dist/_node-chunks/{chunk-PGC5F6XL.js → chunk-WC6YF7PX.js} +6 -6
- package/dist/_node-chunks/{chunk-2LLPTUG2.js → chunk-XOGYJBNU.js} +6 -6
- package/dist/_node-chunks/{chunk-M62QO44I.js → chunk-Z4WARWVA.js} +6 -6
- package/dist/_node-chunks/{globby-SSZCWWA6.js → globby-OVGPC72V.js} +9 -9
- package/dist/_node-chunks/{lib-L2HJYQNA.js → lib-GNBN4EH6.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-H4SZRJXB.js → mdx-N42X6CFJ-I3J2JFL4.js} +8 -8
- package/dist/_node-chunks/{p-limit-EA5PER7Y.js → p-limit-2LNUZG3W.js} +7 -7
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +12 -12
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +18 -18
- package/dist/common/index.js +19 -19
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +49 -16
- package/dist/core-server/index.js +35 -35
- package/dist/core-server/presets/common-manager.js +15 -21
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -25
- package/dist/csf/index.d.ts +333 -8
- package/dist/csf/index.js +1 -1
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +58 -25
- package/dist/manager/runtime.js +167 -148
- package/dist/manager-api/index.d.ts +13 -13
- package/dist/manager-api/index.js +1 -1
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/preview/runtime.js +4 -6
- package/dist/preview-api/index.d.ts +69 -68
- package/dist/preview-api/index.js +1 -1
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.d.ts +5 -0
- package/dist/telemetry/index.js +23 -23
- package/dist/types/index.d.ts +2 -3
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-2WBHN5ZN.js +0 -23
- package/dist/_node-chunks/chunk-ADG4FYMH.js +0 -61
- package/dist/_node-chunks/chunk-J4YBZOS2.js +0 -18
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_96u9uvlttj6 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_96u9uvlttj6 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_96u9uvlttj6 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_96u9uvlttj6.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_96u9uvlttj6.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_96u9uvlttj6.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
once,
|
|
23
23
|
prompt,
|
|
24
24
|
protectUrls
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-LDPGDFBN.js";
|
|
26
|
+
import "../_node-chunks/chunk-DX2OTMAX.js";
|
|
27
|
+
import "../_node-chunks/chunk-5BZY2EBX.js";
|
|
28
28
|
var export_instance = import_npmlog.default;
|
|
29
29
|
export {
|
|
30
30
|
CLI_COLORS,
|
package/dist/preview/runtime.js
CHANGED
|
@@ -34727,8 +34727,8 @@ var ArgsStore = class {
|
|
|
34727
34727
|
}
|
|
34728
34728
|
};
|
|
34729
34729
|
|
|
34730
|
-
// src/preview-api/modules/store/csf/
|
|
34731
|
-
var
|
|
34730
|
+
// src/preview-api/modules/store/csf/getValuesFromGlobalTypes.ts
|
|
34731
|
+
var getValuesFromGlobalTypes = (globalTypes = {}) => Object.entries(globalTypes).reduce((acc, [arg, { defaultValue }]) => (typeof defaultValue < "u" && (acc[arg] = defaultValue), acc), {});
|
|
34732
34732
|
|
|
34733
34733
|
// src/preview-api/modules/store/GlobalsStore.ts
|
|
34734
34734
|
var GlobalsStore = class {
|
|
@@ -34741,7 +34741,7 @@ var GlobalsStore = class {
|
|
|
34741
34741
|
set({ globals = {}, globalTypes = {} }) {
|
|
34742
34742
|
let delta = this.initialGlobals && deepDiff(this.initialGlobals, this.globals);
|
|
34743
34743
|
this.allowedGlobalNames = /* @__PURE__ */ new Set([...Object.keys(globals), ...Object.keys(globalTypes)]);
|
|
34744
|
-
let defaultGlobals =
|
|
34744
|
+
let defaultGlobals = getValuesFromGlobalTypes(globalTypes);
|
|
34745
34745
|
this.initialGlobals = { ...defaultGlobals, ...globals }, this.globals = this.initialGlobals, delta && delta !== DEEPLY_EQUAL && this.updateFromPersisted(delta);
|
|
34746
34746
|
}
|
|
34747
34747
|
filterAllowedGlobals(globals) {
|
|
@@ -35210,7 +35210,6 @@ inferControls.secondPass = !0;
|
|
|
35210
35210
|
// src/preview-api/modules/store/csf/normalizeProjectAnnotations.ts
|
|
35211
35211
|
function normalizeProjectAnnotations({
|
|
35212
35212
|
argTypes,
|
|
35213
|
-
globalTypes,
|
|
35214
35213
|
argTypesEnhancers,
|
|
35215
35214
|
decorators: decorators4,
|
|
35216
35215
|
loaders: loaders2,
|
|
@@ -35221,7 +35220,6 @@ function normalizeProjectAnnotations({
|
|
|
35221
35220
|
}) {
|
|
35222
35221
|
return {
|
|
35223
35222
|
...argTypes && { argTypes: normalizeInputTypes(argTypes) },
|
|
35224
|
-
...globalTypes && { globalTypes: normalizeInputTypes(globalTypes) },
|
|
35225
35223
|
decorators: normalizeArrays(decorators4),
|
|
35226
35224
|
loaders: normalizeArrays(loaders2),
|
|
35227
35225
|
beforeEach: normalizeArrays(beforeEach),
|
|
@@ -35440,7 +35438,7 @@ function composeStory(storyAnnotations, componentAnnotations, projectAnnotations
|
|
|
35440
35438
|
normalizedComponentAnnotations,
|
|
35441
35439
|
normalizedProjectAnnotations
|
|
35442
35440
|
), globals = {
|
|
35443
|
-
...
|
|
35441
|
+
...getValuesFromGlobalTypes(normalizedProjectAnnotations.globalTypes),
|
|
35444
35442
|
...normalizedProjectAnnotations.initialGlobals,
|
|
35445
35443
|
...story.storyGlobals
|
|
35446
35444
|
}, reporting = new ReporterAPI(), initializeContext = () => {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Channel } from 'storybook/internal/channels';
|
|
2
2
|
import * as storybook_internal_types from 'storybook/internal/types';
|
|
3
3
|
import { Args, Renderer, StoryContext, DecoratorApplicator, StoryId, Addon_StoryWrapper, PreparedStory, Globals, GlobalTypes, StoryIndex, StoryName, ComponentTitle, IndexEntry, Path, StoryAnnotationsOrFn, NormalizedComponentAnnotations, NormalizedStoryAnnotations, ModuleExports, CSFFile, NormalizedProjectAnnotations, ModuleExport, PreparedMeta, ProjectAnnotations, StepRunner, ComposedStoryFn, Store_CSFExports, ComposeStoryFn, LegacyStoryAnnotationsOrFn, ComponentAnnotations, NamedOrDefaultProjectAnnotations, ModuleImportFn, StoryContextForEnhancers, Parameters, StrictArgTypes, ArgTypesEnhancer, LegacyStoryFn, DecoratorFunction, PartialStoryFn, StoryContextUpdate, NormalizedStoriesSpecifier, Addon_StorySortParameterV7, DocsContextProps, ResolvedModuleExportType, ResolvedModuleExportFromType, StoryRenderOptions, RenderContextCallbacks, RenderToCanvas, ViewMode } from 'storybook/internal/types';
|
|
4
|
+
import * as storybook_internal_csf from 'storybook/internal/csf';
|
|
4
5
|
import { Story, Meta, CleanupCallback, StoryContext as StoryContext$1, Args as Args$1 } from 'storybook/internal/csf';
|
|
5
6
|
import { RequestData, ArgTypesRequestPayload } from 'storybook/internal/core-events';
|
|
6
7
|
|
|
@@ -356,7 +357,7 @@ declare function processCSFFile<TRenderer extends Renderer>(moduleExports: Modul
|
|
|
356
357
|
declare function prepareStory<TRenderer extends Renderer>(storyAnnotations: NormalizedStoryAnnotations<TRenderer>, componentAnnotations: NormalizedComponentAnnotations<TRenderer>, projectAnnotations: NormalizedProjectAnnotations<TRenderer>): PreparedStory<TRenderer>;
|
|
357
358
|
declare function prepareMeta<TRenderer extends Renderer>(componentAnnotations: NormalizedComponentAnnotations<TRenderer>, projectAnnotations: NormalizedProjectAnnotations<TRenderer>, moduleExport: ModuleExport): PreparedMeta<TRenderer>;
|
|
358
359
|
|
|
359
|
-
declare function normalizeProjectAnnotations<TRenderer extends Renderer>({ argTypes,
|
|
360
|
+
declare function normalizeProjectAnnotations<TRenderer extends Renderer>({ argTypes, argTypesEnhancers, decorators, loaders, beforeEach, afterEach, initialGlobals, ...annotations }: ProjectAnnotations<TRenderer>): NormalizedProjectAnnotations<TRenderer>;
|
|
360
361
|
|
|
361
362
|
declare const normalizeArrays: <T>(array: T[] | T | undefined) => T[];
|
|
362
363
|
|
|
@@ -415,7 +416,7 @@ declare function createPlaywrightTest<TFixture extends {
|
|
|
415
416
|
}>(baseTest: TFixture): TFixture;
|
|
416
417
|
|
|
417
418
|
declare function getCsfFactoryAnnotations<TRenderer extends Renderer = Renderer, TArgs extends Args = Args>(story: LegacyStoryAnnotationsOrFn<TRenderer> | Story<Renderer>, meta?: ComponentAnnotations<TRenderer, TArgs> | Meta<Renderer>, projectAnnotations?: ProjectAnnotations<TRenderer>): {
|
|
418
|
-
story:
|
|
419
|
+
story: storybook_internal_csf.StoryAnnotations<Renderer, unknown>;
|
|
419
420
|
meta: ComponentAnnotations<Renderer, unknown>;
|
|
420
421
|
preview: storybook_internal_types.NormalizedProjectAnnotations<Renderer>;
|
|
421
422
|
} | {
|
|
@@ -477,10 +478,10 @@ declare class StoryStore<TRenderer extends Renderer> {
|
|
|
477
478
|
getStoryContext(story: PreparedStory<TRenderer>, { forceInitialArgs }?: {
|
|
478
479
|
forceInitialArgs?: boolean | undefined;
|
|
479
480
|
}): {
|
|
480
|
-
args:
|
|
481
|
-
initialGlobals:
|
|
482
|
-
globalTypes:
|
|
483
|
-
userGlobals:
|
|
481
|
+
args: storybook_internal_csf.Args;
|
|
482
|
+
initialGlobals: storybook_internal_csf.Globals;
|
|
483
|
+
globalTypes: storybook_internal_csf.GlobalTypes | undefined;
|
|
484
|
+
userGlobals: storybook_internal_csf.Globals;
|
|
484
485
|
reporting: ReporterAPI;
|
|
485
486
|
globals: {
|
|
486
487
|
[x: string]: any;
|
|
@@ -492,31 +493,31 @@ declare class StoryStore<TRenderer extends Renderer> {
|
|
|
492
493
|
subcomponents?: Record<string, (TRenderer & {
|
|
493
494
|
T: any;
|
|
494
495
|
})["component"]> | undefined;
|
|
495
|
-
parameters:
|
|
496
|
-
initialArgs:
|
|
497
|
-
argTypes:
|
|
498
|
-
componentId:
|
|
499
|
-
title:
|
|
500
|
-
kind:
|
|
496
|
+
parameters: storybook_internal_csf.Parameters;
|
|
497
|
+
initialArgs: storybook_internal_csf.Args;
|
|
498
|
+
argTypes: storybook_internal_csf.StrictArgTypes<storybook_internal_csf.Args>;
|
|
499
|
+
componentId: storybook_internal_csf.ComponentId;
|
|
500
|
+
title: storybook_internal_csf.ComponentTitle;
|
|
501
|
+
kind: storybook_internal_csf.ComponentTitle;
|
|
501
502
|
id: StoryId;
|
|
502
|
-
name:
|
|
503
|
-
story:
|
|
504
|
-
tags:
|
|
503
|
+
name: storybook_internal_csf.StoryName;
|
|
504
|
+
story: storybook_internal_csf.StoryName;
|
|
505
|
+
tags: storybook_internal_csf.Tag[];
|
|
505
506
|
moduleExport: storybook_internal_types.ModuleExport;
|
|
506
|
-
originalStoryFn:
|
|
507
|
-
undecoratedStoryFn:
|
|
508
|
-
unboundStoryFn:
|
|
509
|
-
applyLoaders: (context:
|
|
510
|
-
applyBeforeEach: (context:
|
|
511
|
-
applyAfterEach: (context:
|
|
512
|
-
playFunction?: ((context:
|
|
513
|
-
runStep:
|
|
514
|
-
mount: (context:
|
|
507
|
+
originalStoryFn: storybook_internal_csf.ArgsStoryFn<TRenderer>;
|
|
508
|
+
undecoratedStoryFn: storybook_internal_csf.LegacyStoryFn<TRenderer>;
|
|
509
|
+
unboundStoryFn: storybook_internal_csf.LegacyStoryFn<TRenderer>;
|
|
510
|
+
applyLoaders: (context: storybook_internal_csf.StoryContext<TRenderer, storybook_internal_csf.Args>) => Promise<Record<string, any>>;
|
|
511
|
+
applyBeforeEach: (context: storybook_internal_csf.StoryContext<TRenderer, storybook_internal_csf.Args>) => Promise<CleanupCallback[]>;
|
|
512
|
+
applyAfterEach: (context: storybook_internal_csf.StoryContext<TRenderer, storybook_internal_csf.Args>) => Promise<void>;
|
|
513
|
+
playFunction?: ((context: storybook_internal_csf.StoryContext<TRenderer, storybook_internal_csf.Args>) => Promise<void> | void) | undefined;
|
|
514
|
+
runStep: storybook_internal_csf.StepRunner<TRenderer>;
|
|
515
|
+
mount: (context: storybook_internal_csf.StoryContext<TRenderer, storybook_internal_csf.Args>) => () => Promise<storybook_internal_csf.Canvas>;
|
|
515
516
|
testingLibraryRender?: (...args: never[]) => unknown;
|
|
516
517
|
renderToCanvas?: storybook_internal_types.RenderToCanvas<TRenderer> | undefined;
|
|
517
518
|
usesMount: boolean;
|
|
518
|
-
storyGlobals:
|
|
519
|
-
} & Pick<
|
|
519
|
+
storyGlobals: storybook_internal_csf.Globals;
|
|
520
|
+
} & Pick<storybook_internal_csf.StoryContextForLoaders<Renderer, storybook_internal_csf.Args>, "allArgs" | "argsByTarget" | "unmappedArgs">;
|
|
520
521
|
addCleanupCallbacks(story: PreparedStory<TRenderer>, ...callbacks: CleanupCallback[]): void;
|
|
521
522
|
cleanupStory(story: PreparedStory<TRenderer>): Promise<void>;
|
|
522
523
|
extract(options?: {
|
|
@@ -532,7 +533,7 @@ declare class StoryStore<TRenderer extends Renderer> {
|
|
|
532
533
|
declare const combineParameters: (...parameterSets: (Parameters | undefined)[]) => Parameters;
|
|
533
534
|
|
|
534
535
|
type PropDescriptor = string[] | RegExp;
|
|
535
|
-
declare const filterArgTypes: (argTypes: StrictArgTypes, include?: PropDescriptor, exclude?: PropDescriptor) => Partial<StrictArgTypes<
|
|
536
|
+
declare const filterArgTypes: (argTypes: StrictArgTypes, include?: PropDescriptor, exclude?: PropDescriptor) => Partial<StrictArgTypes<storybook_internal_csf.Args>>;
|
|
536
537
|
|
|
537
538
|
declare const inferControls: ArgTypesEnhancer<Renderer>;
|
|
538
539
|
|
|
@@ -582,10 +583,10 @@ declare class DocsContext<TRenderer extends Renderer> implements DocsContextProp
|
|
|
582
583
|
getStoryContext: (story: PreparedStory<TRenderer>) => {
|
|
583
584
|
loaded: {};
|
|
584
585
|
viewMode: string;
|
|
585
|
-
args:
|
|
586
|
-
initialGlobals:
|
|
587
|
-
globalTypes:
|
|
588
|
-
userGlobals:
|
|
586
|
+
args: storybook_internal_csf.Args;
|
|
587
|
+
initialGlobals: storybook_internal_csf.Globals;
|
|
588
|
+
globalTypes: storybook_internal_csf.GlobalTypes | undefined;
|
|
589
|
+
userGlobals: storybook_internal_csf.Globals;
|
|
589
590
|
reporting: ReporterAPI;
|
|
590
591
|
globals: {
|
|
591
592
|
[x: string]: any;
|
|
@@ -597,30 +598,30 @@ declare class DocsContext<TRenderer extends Renderer> implements DocsContextProp
|
|
|
597
598
|
subcomponents?: Record<string, (TRenderer & {
|
|
598
599
|
T: any;
|
|
599
600
|
})["component"]> | undefined;
|
|
600
|
-
parameters:
|
|
601
|
-
initialArgs:
|
|
602
|
-
argTypes:
|
|
603
|
-
componentId:
|
|
604
|
-
title:
|
|
605
|
-
kind:
|
|
601
|
+
parameters: storybook_internal_csf.Parameters;
|
|
602
|
+
initialArgs: storybook_internal_csf.Args;
|
|
603
|
+
argTypes: storybook_internal_csf.StrictArgTypes<storybook_internal_csf.Args>;
|
|
604
|
+
componentId: storybook_internal_csf.ComponentId;
|
|
605
|
+
title: storybook_internal_csf.ComponentTitle;
|
|
606
|
+
kind: storybook_internal_csf.ComponentTitle;
|
|
606
607
|
id: StoryId;
|
|
607
608
|
name: StoryName;
|
|
608
609
|
story: StoryName;
|
|
609
|
-
tags:
|
|
610
|
+
tags: storybook_internal_csf.Tag[];
|
|
610
611
|
moduleExport: ModuleExport;
|
|
611
|
-
originalStoryFn:
|
|
612
|
-
undecoratedStoryFn:
|
|
613
|
-
unboundStoryFn:
|
|
614
|
-
applyLoaders: (context:
|
|
615
|
-
applyBeforeEach: (context:
|
|
616
|
-
applyAfterEach: (context:
|
|
617
|
-
playFunction?: ((context:
|
|
618
|
-
runStep:
|
|
619
|
-
mount: (context:
|
|
612
|
+
originalStoryFn: storybook_internal_csf.ArgsStoryFn<TRenderer>;
|
|
613
|
+
undecoratedStoryFn: storybook_internal_csf.LegacyStoryFn<TRenderer>;
|
|
614
|
+
unboundStoryFn: storybook_internal_csf.LegacyStoryFn<TRenderer>;
|
|
615
|
+
applyLoaders: (context: storybook_internal_csf.StoryContext<TRenderer, storybook_internal_csf.Args>) => Promise<Record<string, any>>;
|
|
616
|
+
applyBeforeEach: (context: storybook_internal_csf.StoryContext<TRenderer, storybook_internal_csf.Args>) => Promise<storybook_internal_csf.CleanupCallback[]>;
|
|
617
|
+
applyAfterEach: (context: storybook_internal_csf.StoryContext<TRenderer, storybook_internal_csf.Args>) => Promise<void>;
|
|
618
|
+
playFunction?: ((context: storybook_internal_csf.StoryContext<TRenderer, storybook_internal_csf.Args>) => Promise<void> | void) | undefined;
|
|
619
|
+
runStep: storybook_internal_csf.StepRunner<TRenderer>;
|
|
620
|
+
mount: (context: storybook_internal_csf.StoryContext<TRenderer, storybook_internal_csf.Args>) => () => Promise<storybook_internal_csf.Canvas>;
|
|
620
621
|
testingLibraryRender?: (...args: never[]) => unknown;
|
|
621
622
|
renderToCanvas?: storybook_internal_types.RenderToCanvas<TRenderer> | undefined;
|
|
622
623
|
usesMount: boolean;
|
|
623
|
-
storyGlobals:
|
|
624
|
+
storyGlobals: storybook_internal_csf.Globals;
|
|
624
625
|
allArgs: any;
|
|
625
626
|
argsByTarget: any;
|
|
626
627
|
unmappedArgs: any;
|
|
@@ -842,7 +843,7 @@ declare class Preview<TRenderer extends Renderer> {
|
|
|
842
843
|
}): {
|
|
843
844
|
args: Args;
|
|
844
845
|
initialGlobals: Globals;
|
|
845
|
-
globalTypes:
|
|
846
|
+
globalTypes: storybook_internal_csf.GlobalTypes | undefined;
|
|
846
847
|
userGlobals: Globals;
|
|
847
848
|
reporting: ReporterAPI;
|
|
848
849
|
globals: {
|
|
@@ -855,34 +856,34 @@ declare class Preview<TRenderer extends Renderer> {
|
|
|
855
856
|
subcomponents?: Record<string, (TRenderer & {
|
|
856
857
|
T: any;
|
|
857
858
|
})["component"]> | undefined;
|
|
858
|
-
parameters:
|
|
859
|
+
parameters: storybook_internal_csf.Parameters;
|
|
859
860
|
initialArgs: Args;
|
|
860
|
-
argTypes:
|
|
861
|
-
componentId:
|
|
862
|
-
title:
|
|
863
|
-
kind:
|
|
861
|
+
argTypes: storybook_internal_csf.StrictArgTypes<Args>;
|
|
862
|
+
componentId: storybook_internal_csf.ComponentId;
|
|
863
|
+
title: storybook_internal_csf.ComponentTitle;
|
|
864
|
+
kind: storybook_internal_csf.ComponentTitle;
|
|
864
865
|
id: StoryId;
|
|
865
|
-
name:
|
|
866
|
-
story:
|
|
867
|
-
tags:
|
|
866
|
+
name: storybook_internal_csf.StoryName;
|
|
867
|
+
story: storybook_internal_csf.StoryName;
|
|
868
|
+
tags: storybook_internal_csf.Tag[];
|
|
868
869
|
moduleExport: storybook_internal_types.ModuleExport;
|
|
869
|
-
originalStoryFn:
|
|
870
|
-
undecoratedStoryFn:
|
|
871
|
-
unboundStoryFn:
|
|
872
|
-
applyLoaders: (context:
|
|
873
|
-
applyBeforeEach: (context:
|
|
874
|
-
applyAfterEach: (context:
|
|
875
|
-
playFunction?: ((context:
|
|
876
|
-
runStep:
|
|
877
|
-
mount: (context:
|
|
870
|
+
originalStoryFn: storybook_internal_csf.ArgsStoryFn<TRenderer>;
|
|
871
|
+
undecoratedStoryFn: storybook_internal_csf.LegacyStoryFn<TRenderer>;
|
|
872
|
+
unboundStoryFn: storybook_internal_csf.LegacyStoryFn<TRenderer>;
|
|
873
|
+
applyLoaders: (context: storybook_internal_csf.StoryContext<TRenderer, Args>) => Promise<Record<string, any>>;
|
|
874
|
+
applyBeforeEach: (context: storybook_internal_csf.StoryContext<TRenderer, Args>) => Promise<CleanupCallback[]>;
|
|
875
|
+
applyAfterEach: (context: storybook_internal_csf.StoryContext<TRenderer, Args>) => Promise<void>;
|
|
876
|
+
playFunction?: ((context: storybook_internal_csf.StoryContext<TRenderer, Args>) => Promise<void> | void) | undefined;
|
|
877
|
+
runStep: storybook_internal_csf.StepRunner<TRenderer>;
|
|
878
|
+
mount: (context: storybook_internal_csf.StoryContext<TRenderer, Args>) => () => Promise<storybook_internal_csf.Canvas>;
|
|
878
879
|
testingLibraryRender?: (...args: never[]) => unknown;
|
|
879
880
|
renderToCanvas?: RenderToCanvas<TRenderer> | undefined;
|
|
880
881
|
usesMount: boolean;
|
|
881
882
|
storyGlobals: Globals;
|
|
882
|
-
} & Pick<
|
|
883
|
+
} & Pick<storybook_internal_csf.StoryContextForLoaders<Renderer, Args>, "allArgs" | "argsByTarget" | "unmappedArgs">;
|
|
883
884
|
extract(options?: {
|
|
884
885
|
includeDocsOnly: boolean;
|
|
885
|
-
}): Promise<Record<string,
|
|
886
|
+
}): Promise<Record<string, storybook_internal_csf.StoryContextForEnhancers<TRenderer, Args>>>;
|
|
886
887
|
renderPreviewEntryError(reason: string, err: Error): void;
|
|
887
888
|
}
|
|
888
889
|
|
package/dist/server-errors.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_96u9uvlttj6 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_96u9uvlttj6 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_96u9uvlttj6 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_96u9uvlttj6.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_96u9uvlttj6.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_96u9uvlttj6.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -46,13 +46,13 @@ import {
|
|
|
46
46
|
WebpackCompilationError,
|
|
47
47
|
WebpackInvocationError,
|
|
48
48
|
WebpackMissingStatsError
|
|
49
|
-
} from "./_node-chunks/chunk-
|
|
49
|
+
} from "./_node-chunks/chunk-JZDQQ34S.js";
|
|
50
50
|
import {
|
|
51
51
|
StorybookError
|
|
52
|
-
} from "./_node-chunks/chunk-
|
|
53
|
-
import "./_node-chunks/chunk-
|
|
54
|
-
import "./_node-chunks/chunk-
|
|
55
|
-
import "./_node-chunks/chunk-
|
|
52
|
+
} from "./_node-chunks/chunk-LQF2YX4Z.js";
|
|
53
|
+
import "./_node-chunks/chunk-UJMJ7W5H.js";
|
|
54
|
+
import "./_node-chunks/chunk-DX2OTMAX.js";
|
|
55
|
+
import "./_node-chunks/chunk-5BZY2EBX.js";
|
|
56
56
|
export {
|
|
57
57
|
AddonVitestPostinstallConfigUpdateError,
|
|
58
58
|
AddonVitestPostinstallError,
|
|
@@ -148,6 +148,11 @@ interface IErrorWithStdErrAndStdOut {
|
|
|
148
148
|
[key: string]: unknown;
|
|
149
149
|
}
|
|
150
150
|
declare function removeAnsiEscapeCodes(input?: string): string;
|
|
151
|
+
/**
|
|
152
|
+
* Removes all user-specific file system paths from the input string, replacing them with "$SNIP".
|
|
153
|
+
* This helps sanitize sensitive user information from output (such as error messages or logs). e.g.
|
|
154
|
+
* `/Users/username/storybook-app/src/pages/index.js` -> `$SNIP/src/pages/index.js`
|
|
155
|
+
*/
|
|
151
156
|
declare function cleanPaths(str: string, separator?: string): string;
|
|
152
157
|
declare function sanitizeError(error: Error, pathSeparator?: string): any;
|
|
153
158
|
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_96u9uvlttj6 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_96u9uvlttj6 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_96u9uvlttj6 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_96u9uvlttj6.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_96u9uvlttj6.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_96u9uvlttj6.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -25,23 +25,23 @@ import {
|
|
|
25
25
|
sanitizeAddonName,
|
|
26
26
|
sanitizeError,
|
|
27
27
|
telemetry
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
29
|
-
import "../_node-chunks/chunk-
|
|
30
|
-
import "../_node-chunks/chunk-
|
|
31
|
-
import "../_node-chunks/chunk-
|
|
32
|
-
import "../_node-chunks/chunk-
|
|
33
|
-
import "../_node-chunks/chunk-
|
|
34
|
-
import "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
36
|
-
import "../_node-chunks/chunk-
|
|
37
|
-
import "../_node-chunks/chunk-
|
|
38
|
-
import "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
40
|
-
import "../_node-chunks/chunk-
|
|
41
|
-
import "../_node-chunks/chunk-
|
|
42
|
-
import "../_node-chunks/chunk-
|
|
43
|
-
import "../_node-chunks/chunk-
|
|
44
|
-
import "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-B6PRKQBU.js";
|
|
29
|
+
import "../_node-chunks/chunk-3G6JTYYU.js";
|
|
30
|
+
import "../_node-chunks/chunk-3WAOMPEV.js";
|
|
31
|
+
import "../_node-chunks/chunk-7CC7KOAY.js";
|
|
32
|
+
import "../_node-chunks/chunk-HNJNGHJI.js";
|
|
33
|
+
import "../_node-chunks/chunk-LDPGDFBN.js";
|
|
34
|
+
import "../_node-chunks/chunk-XOGYJBNU.js";
|
|
35
|
+
import "../_node-chunks/chunk-NM76NNBF.js";
|
|
36
|
+
import "../_node-chunks/chunk-V2LVNLAT.js";
|
|
37
|
+
import "../_node-chunks/chunk-WC6YF7PX.js";
|
|
38
|
+
import "../_node-chunks/chunk-PFCD6HBP.js";
|
|
39
|
+
import "../_node-chunks/chunk-2MIIBCWO.js";
|
|
40
|
+
import "../_node-chunks/chunk-JGB6IJ7A.js";
|
|
41
|
+
import "../_node-chunks/chunk-QLZIG3XC.js";
|
|
42
|
+
import "../_node-chunks/chunk-UJMJ7W5H.js";
|
|
43
|
+
import "../_node-chunks/chunk-DX2OTMAX.js";
|
|
44
|
+
import "../_node-chunks/chunk-5BZY2EBX.js";
|
|
45
45
|
export {
|
|
46
46
|
ErrorCollector,
|
|
47
47
|
addToGlobalContext,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StoryId as StoryId$1, StoryName, ComponentTitle, Tag as Tag$1, Parameters, Args, ArgTypes, ComponentId, StoryKind, Globals as Globals$1, GlobalTypes as GlobalTypes$1, InputType, Renderer, StoryContext, PartialStoryFn, LegacyStoryFn, ArgsStoryFn, StoryFn, DecoratorFunction, LoaderFunction as LoaderFunction$1, ViewMode as ViewMode$1, StoryIdentifier, ProjectAnnotations as ProjectAnnotations$1, StrictArgTypes,
|
|
2
|
-
export { AfterEach, AnnotatedStoryFn, ArgTypes, ArgTypesEnhancer, Args, ArgsEnhancer, ArgsFromMeta, ArgsStoryFn, BaseAnnotations, ProjectAnnotations as BaseProjectAnnotations, BeforeAll, BeforeEach, Canvas, CleanupCallback, ComponentAnnotations, ComponentId, ComponentTitle, Conditional, DecoratorApplicator, DecoratorFunction, GlobalTypes, Globals, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn, LegacyStoryFn, LoaderFunction, Parameters, PartialStoryFn, PlayFunction, PlayFunctionContext, Renderer, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner, StoryAnnotations, StoryAnnotationsOrFn, StoryContext, StoryContextForEnhancers, StoryContextForLoaders, StoryContextUpdate, StoryFn, StoryId, StoryIdentifier, StoryKind, StoryName, StrictArgTypes, StrictArgs,
|
|
1
|
+
import { StoryId as StoryId$1, StoryName, ComponentTitle, Tag as Tag$1, Parameters, Args, ArgTypes, ComponentId, StoryKind, Globals as Globals$1, GlobalTypes as GlobalTypes$1, InputType, Renderer, StoryContext, PartialStoryFn, LegacyStoryFn, ArgsStoryFn, StoryFn, DecoratorFunction, LoaderFunction as LoaderFunction$1, ViewMode as ViewMode$1, StoryIdentifier, ProjectAnnotations as ProjectAnnotations$1, StrictArgTypes, StepRunner, BeforeAll, ComponentAnnotations, StoryAnnotations, StoryContextForEnhancers, CleanupCallback, Canvas, StoryAnnotationsOrFn, AnnotatedStoryFn } from 'storybook/internal/csf';
|
|
2
|
+
export { AfterEach, AnnotatedStoryFn, ArgTypes, ArgTypesEnhancer, Args, ArgsEnhancer, ArgsFromMeta, ArgsStoryFn, BaseAnnotations, ProjectAnnotations as BaseProjectAnnotations, BeforeAll, BeforeEach, Canvas, CleanupCallback, ComponentAnnotations, ComponentId, ComponentTitle, Conditional, DecoratorApplicator, DecoratorFunction, GlobalTypes, Globals, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn, LegacyStoryFn, LoaderFunction, Parameters, PartialStoryFn, PlayFunction, PlayFunctionContext, Renderer, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner, StoryAnnotations, StoryAnnotationsOrFn, StoryContext, StoryContextForEnhancers, StoryContextForLoaders, StoryContextUpdate, StoryFn, StoryId, StoryIdentifier, StoryKind, StoryName, StrictArgTypes, StrictArgs, StrictInputType, Tag, TestFunction } from 'storybook/internal/csf';
|
|
3
3
|
import { ReactElement, FC, ReactNode, PropsWithChildren } from 'react';
|
|
4
4
|
import { RouterData as RouterData$1 } from 'storybook/internal/router';
|
|
5
5
|
import { Globals, GlobalTypes, API_Layout as API_Layout$1, API_LayoutCustomisations as API_LayoutCustomisations$1, API_UI as API_UI$1, API_Notification as API_Notification$1, API_Refs as API_Refs$1, API_Settings as API_Settings$1, API_LoadedRefData as API_LoadedRefData$1, StoryId, API_PreparedStoryIndex as API_PreparedStoryIndex$1, API_ViewMode as API_ViewMode$1, API_FilterFunction as API_FilterFunction$1, API_Versions as API_Versions$2, API_UnknownEntries as API_UnknownEntries$1, API_OptionsData as API_OptionsData$1, NormalizedProjectAnnotations as NormalizedProjectAnnotations$1, ProjectAnnotations as ProjectAnnotations$2, ComposedStoryFn as ComposedStoryFn$1 } from 'storybook/internal/types';
|
|
@@ -3510,7 +3510,6 @@ type NamedExportsOrDefault<TExport> = TExport | {
|
|
|
3510
3510
|
type NamedOrDefaultProjectAnnotations<TRenderer extends Renderer = Renderer> = NamedExportsOrDefault<ProjectAnnotations<TRenderer>>;
|
|
3511
3511
|
type NormalizedProjectAnnotations<TRenderer extends Renderer = Renderer> = Omit<ProjectAnnotations<TRenderer>, 'decorators' | 'loaders' | 'runStep' | 'beforeAll'> & {
|
|
3512
3512
|
argTypes?: StrictArgTypes;
|
|
3513
|
-
globalTypes?: StrictGlobalTypes;
|
|
3514
3513
|
decorators?: DecoratorFunction<TRenderer>[];
|
|
3515
3514
|
loaders?: LoaderFunction$1<TRenderer>[];
|
|
3516
3515
|
runStep: StepRunner<TRenderer>;
|
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_dxneh53ovgi from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_dxneh53ovgi from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_dxneh53ovgi from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_dxneh53ovgi.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_dxneh53ovgi.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_dxneh53ovgi.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
any
|
|
14
|
-
} from "./chunk-BTTNDYQ6.js";
|
|
15
|
-
|
|
16
|
-
// src/cli/detect.ts
|
|
17
|
-
async function detectPnp() {
|
|
18
|
-
return !!any([".pnp.js", ".pnp.cjs"]);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export {
|
|
22
|
-
detectPnp
|
|
23
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_dxneh53ovgi from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_dxneh53ovgi from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_dxneh53ovgi from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_dxneh53ovgi.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_dxneh53ovgi.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_dxneh53ovgi.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
|
|
13
|
-
// src/common/versions.ts
|
|
14
|
-
var versions_default = {
|
|
15
|
-
"@storybook/addon-a11y": "10.2.0-beta.2",
|
|
16
|
-
"@storybook/addon-docs": "10.2.0-beta.2",
|
|
17
|
-
"@storybook/addon-links": "10.2.0-beta.2",
|
|
18
|
-
"@storybook/addon-onboarding": "10.2.0-beta.2",
|
|
19
|
-
"storybook-addon-pseudo-states": "10.2.0-beta.2",
|
|
20
|
-
"@storybook/addon-themes": "10.2.0-beta.2",
|
|
21
|
-
"@storybook/addon-vitest": "10.2.0-beta.2",
|
|
22
|
-
"@storybook/builder-vite": "10.2.0-beta.2",
|
|
23
|
-
"@storybook/builder-webpack5": "10.2.0-beta.2",
|
|
24
|
-
storybook: "10.2.0-beta.2",
|
|
25
|
-
"@storybook/angular": "10.2.0-beta.2",
|
|
26
|
-
"@storybook/ember": "10.2.0-beta.2",
|
|
27
|
-
"@storybook/html-vite": "10.2.0-beta.2",
|
|
28
|
-
"@storybook/nextjs": "10.2.0-beta.2",
|
|
29
|
-
"@storybook/nextjs-vite": "10.2.0-beta.2",
|
|
30
|
-
"@storybook/preact-vite": "10.2.0-beta.2",
|
|
31
|
-
"@storybook/react-native-web-vite": "10.2.0-beta.2",
|
|
32
|
-
"@storybook/react-vite": "10.2.0-beta.2",
|
|
33
|
-
"@storybook/react-webpack5": "10.2.0-beta.2",
|
|
34
|
-
"@storybook/server-webpack5": "10.2.0-beta.2",
|
|
35
|
-
"@storybook/svelte-vite": "10.2.0-beta.2",
|
|
36
|
-
"@storybook/sveltekit": "10.2.0-beta.2",
|
|
37
|
-
"@storybook/vue3-vite": "10.2.0-beta.2",
|
|
38
|
-
"@storybook/web-components-vite": "10.2.0-beta.2",
|
|
39
|
-
sb: "10.2.0-beta.2",
|
|
40
|
-
"@storybook/cli": "10.2.0-beta.2",
|
|
41
|
-
"@storybook/codemod": "10.2.0-beta.2",
|
|
42
|
-
"@storybook/core-webpack": "10.2.0-beta.2",
|
|
43
|
-
"create-storybook": "10.2.0-beta.2",
|
|
44
|
-
"@storybook/csf-plugin": "10.2.0-beta.2",
|
|
45
|
-
"eslint-plugin-storybook": "10.2.0-beta.2",
|
|
46
|
-
"@storybook/react-dom-shim": "10.2.0-beta.2",
|
|
47
|
-
"@storybook/preset-create-react-app": "10.2.0-beta.2",
|
|
48
|
-
"@storybook/preset-react-webpack": "10.2.0-beta.2",
|
|
49
|
-
"@storybook/preset-server-webpack": "10.2.0-beta.2",
|
|
50
|
-
"@storybook/html": "10.2.0-beta.2",
|
|
51
|
-
"@storybook/preact": "10.2.0-beta.2",
|
|
52
|
-
"@storybook/react": "10.2.0-beta.2",
|
|
53
|
-
"@storybook/server": "10.2.0-beta.2",
|
|
54
|
-
"@storybook/svelte": "10.2.0-beta.2",
|
|
55
|
-
"@storybook/vue3": "10.2.0-beta.2",
|
|
56
|
-
"@storybook/web-components": "10.2.0-beta.2"
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export {
|
|
60
|
-
versions_default
|
|
61
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_dxneh53ovgi from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_dxneh53ovgi from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_dxneh53ovgi from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_dxneh53ovgi.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_dxneh53ovgi.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_dxneh53ovgi.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
|
|
13
|
-
// package.json
|
|
14
|
-
var version = "10.2.0-beta.2";
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
version
|
|
18
|
-
};
|