storybook 10.0.0-rc.3 → 10.0.0
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/dist/_node-chunks/{builder-manager-NIOGGLFD.js → builder-manager-IIQ2ZKJA.js} +12 -12
- package/dist/_node-chunks/camelcase-KNOP6IZN.js +18 -0
- package/dist/_node-chunks/{chunk-34ZACDOC.js → chunk-2EZNWWOJ.js} +10 -10
- package/dist/_node-chunks/{chunk-EOW64HJZ.js → chunk-3QAI2NJJ.js} +12 -12
- package/dist/_node-chunks/{chunk-VHDA7UQR.js → chunk-5KVCO3KO.js} +8 -8
- package/dist/_node-chunks/{chunk-QPB4P2Q3.js → chunk-5Q637AKX.js} +7 -7
- package/dist/_node-chunks/{chunk-VDVDOBNV.js → chunk-6RHAE6RA.js} +7 -7
- package/dist/_node-chunks/{chunk-CTMEFFNW.js → chunk-6WZTLCEA.js} +8 -8
- package/dist/_node-chunks/{chunk-TLUDPMLR.js → chunk-7ETUBLPB.js} +8 -8
- package/dist/_node-chunks/{chunk-EDGA22VS.js → chunk-7FGNXYYL.js} +7 -7
- package/dist/_node-chunks/{chunk-JYCXWPO6.js → chunk-7I57UDPV.js} +7 -7
- package/dist/_node-chunks/chunk-AHEMORUT.js +18 -0
- package/dist/_node-chunks/{chunk-OAP27YU5.js → chunk-AM7YMYAG.js} +8 -8
- package/dist/_node-chunks/{chunk-AZH4HEPP.js → chunk-APCF6BLC.js} +20 -20
- package/dist/_node-chunks/{chunk-HGZID3CI.js → chunk-AWLJD6QV.js} +7 -7
- package/dist/_node-chunks/{chunk-5WPK6ACG.js → chunk-B2ETRD4V.js} +7 -7
- package/dist/_node-chunks/{chunk-WE7755VW.js → chunk-CXVGTDVQ.js} +34 -35
- package/dist/_node-chunks/{chunk-AF3TJ6R5.js → chunk-DHMCBBKY.js} +7 -7
- package/dist/_node-chunks/{chunk-5ZVI7NBO.js → chunk-HT6COHEU.js} +7 -7
- package/dist/_node-chunks/{chunk-FUCVPILC.js → chunk-IJ4AICLD.js} +9 -9
- package/dist/_node-chunks/{chunk-ML3GTXPM.js → chunk-ILHIUEFN.js} +6 -6
- package/dist/_node-chunks/{chunk-6PQVBT5D.js → chunk-J5PEW6E3.js} +7 -7
- package/dist/_node-chunks/{chunk-I37OZGFX.js → chunk-KH6JWU3Y.js} +7 -7
- package/dist/_node-chunks/{chunk-3SEBVSWT.js → chunk-L5S66L55.js} +7 -7
- package/dist/_node-chunks/{chunk-G5VN3ASC.js → chunk-NP4JBQ6Q.js} +7 -7
- package/dist/_node-chunks/{chunk-WRCI3EYU.js → chunk-PSD72R5Z.js} +7 -7
- package/dist/_node-chunks/{chunk-NSYINCG4.js → chunk-V44UUFGH.js} +7 -7
- package/dist/_node-chunks/chunk-VXV63T56.js +61 -0
- package/dist/_node-chunks/{chunk-KUXWX4RV.js → chunk-W6GXL2JC.js} +12 -12
- package/dist/_node-chunks/{chunk-CUEWGHOL.js → chunk-W7DCZC64.js} +6 -6
- package/dist/_node-chunks/{chunk-XFBFSXFJ.js → chunk-WOYNIIQY.js} +8 -8
- package/dist/_node-chunks/{chunk-XA5ZNWSM.js → chunk-XZCC7ABZ.js} +7 -7
- package/dist/_node-chunks/{chunk-R2FDNWFD.js → chunk-YDJVCYQJ.js} +9 -9
- package/dist/_node-chunks/{chunk-WSINFVEL.js → chunk-Z3LDC56S.js} +7 -7
- package/dist/_node-chunks/{chunk-SZ6FXTRU.js → chunk-ZECOO72W.js} +7 -7
- package/dist/_node-chunks/{dist-SXAIWZGI.js → dist-WL6RBQNY.js} +9 -9
- package/dist/_node-chunks/{globby-W4JFDHUY.js → globby-EMY2E3I3.js} +9 -9
- package/dist/_node-chunks/{lib-PMWBRG3N.js → lib-4ETZCPCM.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-IVVYYMYF.js → mdx-N42X6CFJ-UMV2MWTH.js} +8 -8
- package/dist/_node-chunks/{p-limit-PE5BWDZH.js → p-limit-UIVLT5UF.js} +7 -7
- package/dist/_node-chunks/{plugin-OGRBN4O7.js → plugin-PZH4HK5Z.js} +10 -10
- package/dist/_node-chunks/{plugin-ZVWKMXMK.js → plugin-UITTSLCA.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-SXMOGYNE.js → webpack-inject-mocker-runtime-plugin-G75H5TZH.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-X64FENVZ.js → webpack-mock-plugin-FK73ABOQ.js} +9 -9
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +11 -11
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +21 -21
- package/dist/common/index.js +20 -20
- package/dist/core-server/index.js +37 -36
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +38 -26
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
- package/dist/csf-tools/index.js +9 -9
- package/dist/instrumenter/index.js +1 -1
- package/dist/manager/globals-runtime.js +2 -2
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/node-logger/index.js +14 -14
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +67 -68
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.d.ts +21 -1
- package/dist/telemetry/index.js +24 -24
- package/dist/types/index.d.ts +2 -1
- package/package.json +1 -1
- package/dist/_node-chunks/camelcase-CTANPQBN.js +0 -18
- package/dist/_node-chunks/chunk-UQKRSNK7.js +0 -61
- package/dist/_node-chunks/chunk-XC2HC4KH.js +0 -18
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_pretty_hrtime
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-ZECOO72W.js";
|
|
15
15
|
import {
|
|
16
16
|
ansi_styles_default,
|
|
17
17
|
boxen,
|
|
18
18
|
require_string_width,
|
|
19
19
|
stripAnsi
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-WOYNIIQY.js";
|
|
21
|
+
import "../_node-chunks/chunk-J5PEW6E3.js";
|
|
22
22
|
import {
|
|
23
23
|
execaSync,
|
|
24
24
|
optionalEnvToBoolean
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-IJ4AICLD.js";
|
|
26
|
+
import "../_node-chunks/chunk-Z3LDC56S.js";
|
|
27
27
|
import {
|
|
28
28
|
require_prompts,
|
|
29
29
|
require_src
|
|
30
|
-
} from "../_node-chunks/chunk-
|
|
30
|
+
} from "../_node-chunks/chunk-NP4JBQ6Q.js";
|
|
31
31
|
import {
|
|
32
32
|
require_picocolors
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
33
|
+
} from "../_node-chunks/chunk-B2ETRD4V.js";
|
|
34
34
|
import {
|
|
35
35
|
__commonJS,
|
|
36
36
|
__export,
|
|
37
37
|
__name,
|
|
38
38
|
__require,
|
|
39
39
|
__toESM
|
|
40
|
-
} from "../_node-chunks/chunk-
|
|
40
|
+
} from "../_node-chunks/chunk-W7DCZC64.js";
|
|
41
41
|
|
|
42
42
|
// ../node_modules/are-we-there-yet/lib/tracker-base.js
|
|
43
43
|
var require_tracker_base = __commonJS({
|
package/dist/preview/runtime.js
CHANGED
|
@@ -21942,7 +21942,7 @@ var _Instrumenter = class _Instrumenter {
|
|
|
21942
21942
|
}) => {
|
|
21943
21943
|
const { isDebugging } = this.getState(storyId);
|
|
21944
21944
|
if (newPhase === "preparing" && isDebugging) {
|
|
21945
|
-
return resetState({ storyId, renderPhase: newPhase });
|
|
21945
|
+
return resetState({ storyId, renderPhase: newPhase, isDebugging });
|
|
21946
21946
|
} else if (newPhase === "playing") {
|
|
21947
21947
|
return resetState({ storyId, renderPhase: newPhase, isDebugging });
|
|
21948
21948
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
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';
|
|
5
4
|
import { Story, Meta, CleanupCallback, StoryContext as StoryContext$1, Args as Args$1 } from 'storybook/internal/csf';
|
|
6
5
|
import { RequestData, ArgTypesRequestPayload } from 'storybook/internal/core-events';
|
|
7
6
|
|
|
@@ -416,7 +415,7 @@ declare function createPlaywrightTest<TFixture extends {
|
|
|
416
415
|
}>(baseTest: TFixture): TFixture;
|
|
417
416
|
|
|
418
417
|
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>): {
|
|
419
|
-
story:
|
|
418
|
+
story: storybook_internal_types.StoryAnnotations<Renderer, unknown>;
|
|
420
419
|
meta: ComponentAnnotations<Renderer, unknown>;
|
|
421
420
|
preview: storybook_internal_types.NormalizedProjectAnnotations<Renderer>;
|
|
422
421
|
} | {
|
|
@@ -478,10 +477,10 @@ declare class StoryStore<TRenderer extends Renderer> {
|
|
|
478
477
|
getStoryContext(story: PreparedStory<TRenderer>, { forceInitialArgs }?: {
|
|
479
478
|
forceInitialArgs?: boolean | undefined;
|
|
480
479
|
}): {
|
|
481
|
-
args:
|
|
482
|
-
initialGlobals:
|
|
483
|
-
globalTypes: (
|
|
484
|
-
userGlobals:
|
|
480
|
+
args: storybook_internal_types.Args;
|
|
481
|
+
initialGlobals: storybook_internal_types.Globals;
|
|
482
|
+
globalTypes: (storybook_internal_types.GlobalTypes & storybook_internal_types.StrictGlobalTypes) | undefined;
|
|
483
|
+
userGlobals: storybook_internal_types.Globals;
|
|
485
484
|
reporting: ReporterAPI;
|
|
486
485
|
globals: {
|
|
487
486
|
[x: string]: any;
|
|
@@ -493,31 +492,31 @@ declare class StoryStore<TRenderer extends Renderer> {
|
|
|
493
492
|
subcomponents?: Record<string, (TRenderer & {
|
|
494
493
|
T: any;
|
|
495
494
|
})["component"]> | undefined;
|
|
496
|
-
parameters:
|
|
497
|
-
initialArgs:
|
|
498
|
-
argTypes:
|
|
499
|
-
componentId:
|
|
500
|
-
title:
|
|
501
|
-
kind:
|
|
495
|
+
parameters: storybook_internal_types.Parameters;
|
|
496
|
+
initialArgs: storybook_internal_types.Args;
|
|
497
|
+
argTypes: storybook_internal_types.StrictArgTypes<storybook_internal_types.Args>;
|
|
498
|
+
componentId: storybook_internal_types.ComponentId;
|
|
499
|
+
title: storybook_internal_types.ComponentTitle;
|
|
500
|
+
kind: storybook_internal_types.ComponentTitle;
|
|
502
501
|
id: StoryId;
|
|
503
|
-
name:
|
|
504
|
-
story:
|
|
505
|
-
tags:
|
|
502
|
+
name: storybook_internal_types.StoryName;
|
|
503
|
+
story: storybook_internal_types.StoryName;
|
|
504
|
+
tags: storybook_internal_types.Tag[];
|
|
506
505
|
moduleExport: storybook_internal_types.ModuleExport;
|
|
507
|
-
originalStoryFn:
|
|
508
|
-
undecoratedStoryFn:
|
|
509
|
-
unboundStoryFn:
|
|
510
|
-
applyLoaders: (context:
|
|
511
|
-
applyBeforeEach: (context:
|
|
512
|
-
applyAfterEach: (context:
|
|
513
|
-
playFunction?: ((context:
|
|
514
|
-
runStep:
|
|
515
|
-
mount: (context:
|
|
506
|
+
originalStoryFn: storybook_internal_types.ArgsStoryFn<TRenderer>;
|
|
507
|
+
undecoratedStoryFn: storybook_internal_types.LegacyStoryFn<TRenderer>;
|
|
508
|
+
unboundStoryFn: storybook_internal_types.LegacyStoryFn<TRenderer>;
|
|
509
|
+
applyLoaders: (context: storybook_internal_types.StoryContext<TRenderer, storybook_internal_types.Args>) => Promise<Record<string, any>>;
|
|
510
|
+
applyBeforeEach: (context: storybook_internal_types.StoryContext<TRenderer, storybook_internal_types.Args>) => Promise<CleanupCallback[]>;
|
|
511
|
+
applyAfterEach: (context: storybook_internal_types.StoryContext<TRenderer, storybook_internal_types.Args>) => Promise<void>;
|
|
512
|
+
playFunction?: ((context: storybook_internal_types.StoryContext<TRenderer, storybook_internal_types.Args>) => Promise<void> | void) | undefined;
|
|
513
|
+
runStep: storybook_internal_types.StepRunner<TRenderer>;
|
|
514
|
+
mount: (context: storybook_internal_types.StoryContext<TRenderer, storybook_internal_types.Args>) => () => Promise<storybook_internal_types.Canvas>;
|
|
516
515
|
testingLibraryRender?: (...args: never[]) => unknown;
|
|
517
516
|
renderToCanvas?: storybook_internal_types.RenderToCanvas<TRenderer> | undefined;
|
|
518
517
|
usesMount: boolean;
|
|
519
|
-
storyGlobals:
|
|
520
|
-
} & Pick<
|
|
518
|
+
storyGlobals: storybook_internal_types.Globals;
|
|
519
|
+
} & Pick<storybook_internal_types.StoryContextForLoaders<Renderer, storybook_internal_types.Args>, "allArgs" | "argsByTarget" | "unmappedArgs">;
|
|
521
520
|
addCleanupCallbacks(story: PreparedStory<TRenderer>, ...callbacks: CleanupCallback[]): void;
|
|
522
521
|
cleanupStory(story: PreparedStory<TRenderer>): Promise<void>;
|
|
523
522
|
extract(options?: {
|
|
@@ -533,7 +532,7 @@ declare class StoryStore<TRenderer extends Renderer> {
|
|
|
533
532
|
declare const combineParameters: (...parameterSets: (Parameters | undefined)[]) => Parameters;
|
|
534
533
|
|
|
535
534
|
type PropDescriptor = string[] | RegExp;
|
|
536
|
-
declare const filterArgTypes: (argTypes: StrictArgTypes, include?: PropDescriptor, exclude?: PropDescriptor) => Partial<StrictArgTypes<
|
|
535
|
+
declare const filterArgTypes: (argTypes: StrictArgTypes, include?: PropDescriptor, exclude?: PropDescriptor) => Partial<StrictArgTypes<storybook_internal_types.Args>>;
|
|
537
536
|
|
|
538
537
|
declare const inferControls: ArgTypesEnhancer<Renderer>;
|
|
539
538
|
|
|
@@ -583,10 +582,10 @@ declare class DocsContext<TRenderer extends Renderer> implements DocsContextProp
|
|
|
583
582
|
getStoryContext: (story: PreparedStory<TRenderer>) => {
|
|
584
583
|
loaded: {};
|
|
585
584
|
viewMode: string;
|
|
586
|
-
args:
|
|
587
|
-
initialGlobals:
|
|
588
|
-
globalTypes: (
|
|
589
|
-
userGlobals:
|
|
585
|
+
args: storybook_internal_types.Args;
|
|
586
|
+
initialGlobals: storybook_internal_types.Globals;
|
|
587
|
+
globalTypes: (storybook_internal_types.GlobalTypes & storybook_internal_types.StrictGlobalTypes) | undefined;
|
|
588
|
+
userGlobals: storybook_internal_types.Globals;
|
|
590
589
|
reporting: ReporterAPI;
|
|
591
590
|
globals: {
|
|
592
591
|
[x: string]: any;
|
|
@@ -598,30 +597,30 @@ declare class DocsContext<TRenderer extends Renderer> implements DocsContextProp
|
|
|
598
597
|
subcomponents?: Record<string, (TRenderer & {
|
|
599
598
|
T: any;
|
|
600
599
|
})["component"]> | undefined;
|
|
601
|
-
parameters:
|
|
602
|
-
initialArgs:
|
|
603
|
-
argTypes:
|
|
604
|
-
componentId:
|
|
605
|
-
title:
|
|
606
|
-
kind:
|
|
600
|
+
parameters: storybook_internal_types.Parameters;
|
|
601
|
+
initialArgs: storybook_internal_types.Args;
|
|
602
|
+
argTypes: storybook_internal_types.StrictArgTypes<storybook_internal_types.Args>;
|
|
603
|
+
componentId: storybook_internal_types.ComponentId;
|
|
604
|
+
title: storybook_internal_types.ComponentTitle;
|
|
605
|
+
kind: storybook_internal_types.ComponentTitle;
|
|
607
606
|
id: StoryId;
|
|
608
607
|
name: StoryName;
|
|
609
608
|
story: StoryName;
|
|
610
|
-
tags:
|
|
609
|
+
tags: storybook_internal_types.Tag[];
|
|
611
610
|
moduleExport: ModuleExport;
|
|
612
|
-
originalStoryFn:
|
|
613
|
-
undecoratedStoryFn:
|
|
614
|
-
unboundStoryFn:
|
|
615
|
-
applyLoaders: (context:
|
|
616
|
-
applyBeforeEach: (context:
|
|
617
|
-
applyAfterEach: (context:
|
|
618
|
-
playFunction?: ((context:
|
|
619
|
-
runStep:
|
|
620
|
-
mount: (context:
|
|
611
|
+
originalStoryFn: storybook_internal_types.ArgsStoryFn<TRenderer>;
|
|
612
|
+
undecoratedStoryFn: storybook_internal_types.LegacyStoryFn<TRenderer>;
|
|
613
|
+
unboundStoryFn: storybook_internal_types.LegacyStoryFn<TRenderer>;
|
|
614
|
+
applyLoaders: (context: storybook_internal_types.StoryContext<TRenderer, storybook_internal_types.Args>) => Promise<Record<string, any>>;
|
|
615
|
+
applyBeforeEach: (context: storybook_internal_types.StoryContext<TRenderer, storybook_internal_types.Args>) => Promise<storybook_internal_types.CleanupCallback[]>;
|
|
616
|
+
applyAfterEach: (context: storybook_internal_types.StoryContext<TRenderer, storybook_internal_types.Args>) => Promise<void>;
|
|
617
|
+
playFunction?: ((context: storybook_internal_types.StoryContext<TRenderer, storybook_internal_types.Args>) => Promise<void> | void) | undefined;
|
|
618
|
+
runStep: storybook_internal_types.StepRunner<TRenderer>;
|
|
619
|
+
mount: (context: storybook_internal_types.StoryContext<TRenderer, storybook_internal_types.Args>) => () => Promise<storybook_internal_types.Canvas>;
|
|
621
620
|
testingLibraryRender?: (...args: never[]) => unknown;
|
|
622
621
|
renderToCanvas?: storybook_internal_types.RenderToCanvas<TRenderer> | undefined;
|
|
623
622
|
usesMount: boolean;
|
|
624
|
-
storyGlobals:
|
|
623
|
+
storyGlobals: storybook_internal_types.Globals;
|
|
625
624
|
allArgs: any;
|
|
626
625
|
argsByTarget: any;
|
|
627
626
|
unmappedArgs: any;
|
|
@@ -843,7 +842,7 @@ declare class Preview<TRenderer extends Renderer> {
|
|
|
843
842
|
}): {
|
|
844
843
|
args: Args;
|
|
845
844
|
initialGlobals: Globals;
|
|
846
|
-
globalTypes: (
|
|
845
|
+
globalTypes: (storybook_internal_types.GlobalTypes & storybook_internal_types.StrictGlobalTypes) | undefined;
|
|
847
846
|
userGlobals: Globals;
|
|
848
847
|
reporting: ReporterAPI;
|
|
849
848
|
globals: {
|
|
@@ -856,34 +855,34 @@ declare class Preview<TRenderer extends Renderer> {
|
|
|
856
855
|
subcomponents?: Record<string, (TRenderer & {
|
|
857
856
|
T: any;
|
|
858
857
|
})["component"]> | undefined;
|
|
859
|
-
parameters:
|
|
858
|
+
parameters: storybook_internal_types.Parameters;
|
|
860
859
|
initialArgs: Args;
|
|
861
|
-
argTypes:
|
|
862
|
-
componentId:
|
|
863
|
-
title:
|
|
864
|
-
kind:
|
|
860
|
+
argTypes: storybook_internal_types.StrictArgTypes<Args>;
|
|
861
|
+
componentId: storybook_internal_types.ComponentId;
|
|
862
|
+
title: storybook_internal_types.ComponentTitle;
|
|
863
|
+
kind: storybook_internal_types.ComponentTitle;
|
|
865
864
|
id: StoryId;
|
|
866
|
-
name:
|
|
867
|
-
story:
|
|
868
|
-
tags:
|
|
865
|
+
name: storybook_internal_types.StoryName;
|
|
866
|
+
story: storybook_internal_types.StoryName;
|
|
867
|
+
tags: storybook_internal_types.Tag[];
|
|
869
868
|
moduleExport: storybook_internal_types.ModuleExport;
|
|
870
|
-
originalStoryFn:
|
|
871
|
-
undecoratedStoryFn:
|
|
872
|
-
unboundStoryFn:
|
|
873
|
-
applyLoaders: (context:
|
|
874
|
-
applyBeforeEach: (context:
|
|
875
|
-
applyAfterEach: (context:
|
|
876
|
-
playFunction?: ((context:
|
|
877
|
-
runStep:
|
|
878
|
-
mount: (context:
|
|
869
|
+
originalStoryFn: storybook_internal_types.ArgsStoryFn<TRenderer>;
|
|
870
|
+
undecoratedStoryFn: storybook_internal_types.LegacyStoryFn<TRenderer>;
|
|
871
|
+
unboundStoryFn: storybook_internal_types.LegacyStoryFn<TRenderer>;
|
|
872
|
+
applyLoaders: (context: storybook_internal_types.StoryContext<TRenderer, Args>) => Promise<Record<string, any>>;
|
|
873
|
+
applyBeforeEach: (context: storybook_internal_types.StoryContext<TRenderer, Args>) => Promise<CleanupCallback[]>;
|
|
874
|
+
applyAfterEach: (context: storybook_internal_types.StoryContext<TRenderer, Args>) => Promise<void>;
|
|
875
|
+
playFunction?: ((context: storybook_internal_types.StoryContext<TRenderer, Args>) => Promise<void> | void) | undefined;
|
|
876
|
+
runStep: storybook_internal_types.StepRunner<TRenderer>;
|
|
877
|
+
mount: (context: storybook_internal_types.StoryContext<TRenderer, Args>) => () => Promise<storybook_internal_types.Canvas>;
|
|
879
878
|
testingLibraryRender?: (...args: never[]) => unknown;
|
|
880
879
|
renderToCanvas?: RenderToCanvas<TRenderer> | undefined;
|
|
881
880
|
usesMount: boolean;
|
|
882
881
|
storyGlobals: Globals;
|
|
883
|
-
} & Pick<
|
|
882
|
+
} & Pick<storybook_internal_types.StoryContextForLoaders<Renderer, Args>, "allArgs" | "argsByTarget" | "unmappedArgs">;
|
|
884
883
|
extract(options?: {
|
|
885
884
|
includeDocsOnly: boolean;
|
|
886
|
-
}): Promise<Record<string,
|
|
885
|
+
}): Promise<Record<string, storybook_internal_types.StoryContextForEnhancers<TRenderer, Args>>>;
|
|
887
886
|
renderPreviewEntryError(reason: string, err: Error): void;
|
|
888
887
|
}
|
|
889
888
|
|
package/dist/server-errors.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
WebpackCompilationError,
|
|
40
40
|
WebpackInvocationError,
|
|
41
41
|
WebpackMissingStatsError
|
|
42
|
-
} from "./_node-chunks/chunk-
|
|
43
|
-
import "./_node-chunks/chunk-
|
|
44
|
-
import "./_node-chunks/chunk-
|
|
45
|
-
import "./_node-chunks/chunk-
|
|
42
|
+
} from "./_node-chunks/chunk-YDJVCYQJ.js";
|
|
43
|
+
import "./_node-chunks/chunk-L5S66L55.js";
|
|
44
|
+
import "./_node-chunks/chunk-B2ETRD4V.js";
|
|
45
|
+
import "./_node-chunks/chunk-W7DCZC64.js";
|
|
46
46
|
export {
|
|
47
47
|
AngularLegacyBuildOptionsError,
|
|
48
48
|
Category,
|
|
@@ -84,6 +84,9 @@ type StorybookMetadata = {
|
|
|
84
84
|
interface Payload {
|
|
85
85
|
[key: string]: any;
|
|
86
86
|
}
|
|
87
|
+
interface Context {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
}
|
|
87
90
|
interface Options {
|
|
88
91
|
retryDelay: number;
|
|
89
92
|
immediate: boolean;
|
|
@@ -97,6 +100,23 @@ interface TelemetryData {
|
|
|
97
100
|
payload: Payload;
|
|
98
101
|
metadata?: StorybookMetadata;
|
|
99
102
|
}
|
|
103
|
+
interface TelemetryEvent extends TelemetryData {
|
|
104
|
+
eventId: string;
|
|
105
|
+
sessionId: string;
|
|
106
|
+
context: Context;
|
|
107
|
+
}
|
|
108
|
+
interface InitPayload {
|
|
109
|
+
projectType: string;
|
|
110
|
+
features: {
|
|
111
|
+
dev: boolean;
|
|
112
|
+
docs: boolean;
|
|
113
|
+
test: boolean;
|
|
114
|
+
onboarding: boolean;
|
|
115
|
+
};
|
|
116
|
+
newUser: boolean;
|
|
117
|
+
versionSpecifier: string | undefined;
|
|
118
|
+
cliIntegration: string | undefined;
|
|
119
|
+
}
|
|
100
120
|
|
|
101
121
|
declare const oneWayHash: (payload: BinaryLike) => string;
|
|
102
122
|
|
|
@@ -133,4 +153,4 @@ declare const addToGlobalContext: (key: string, value: any) => void;
|
|
|
133
153
|
declare const isExampleStoryId: (storyId: string) => boolean;
|
|
134
154
|
declare const telemetry: (eventType: EventType, payload?: Payload, options?: Partial<Options>) => Promise<void>;
|
|
135
155
|
|
|
136
|
-
export { type Dependency, type EventType, type IErrorWithStdErrAndStdOut, type Options, type Payload, type StorybookAddon, type StorybookMetadata, type TelemetryData, addToGlobalContext, cleanPaths, computeStorybookMetadata, getPrecedingUpgrade, getStorybookMetadata, isExampleStoryId, metaFrameworks, oneWayHash, removeAnsiEscapeCodes, sanitizeAddonName, sanitizeError, telemetry };
|
|
156
|
+
export { type Context, type Dependency, type EventType, type IErrorWithStdErrAndStdOut, type InitPayload, type Options, type Payload, type StorybookAddon, type StorybookMetadata, type TelemetryData, type TelemetryEvent, addToGlobalContext, cleanPaths, computeStorybookMetadata, getPrecedingUpgrade, getStorybookMetadata, isExampleStoryId, metaFrameworks, oneWayHash, removeAnsiEscapeCodes, sanitizeAddonName, sanitizeError, telemetry };
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -21,26 +21,26 @@ import {
|
|
|
21
21
|
sanitizeAddonName,
|
|
22
22
|
sanitizeError,
|
|
23
23
|
telemetry
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
28
|
-
import "../_node-chunks/chunk-
|
|
29
|
-
import "../_node-chunks/chunk-
|
|
30
|
-
import "../_node-chunks/chunk-
|
|
31
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-APCF6BLC.js";
|
|
25
|
+
import "../_node-chunks/chunk-AHEMORUT.js";
|
|
26
|
+
import "../_node-chunks/chunk-CXVGTDVQ.js";
|
|
27
|
+
import "../_node-chunks/chunk-7I57UDPV.js";
|
|
28
|
+
import "../_node-chunks/chunk-VXV63T56.js";
|
|
29
|
+
import "../_node-chunks/chunk-7ETUBLPB.js";
|
|
30
|
+
import "../_node-chunks/chunk-IJ4AICLD.js";
|
|
31
|
+
import "../_node-chunks/chunk-Z3LDC56S.js";
|
|
32
32
|
import {
|
|
33
33
|
getPrecedingUpgrade
|
|
34
|
-
} from "../_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-
|
|
34
|
+
} from "../_node-chunks/chunk-5Q637AKX.js";
|
|
35
|
+
import "../_node-chunks/chunk-HT6COHEU.js";
|
|
36
|
+
import "../_node-chunks/chunk-AM7YMYAG.js";
|
|
37
|
+
import "../_node-chunks/chunk-DHMCBBKY.js";
|
|
38
|
+
import "../_node-chunks/chunk-NP4JBQ6Q.js";
|
|
39
|
+
import "../_node-chunks/chunk-XZCC7ABZ.js";
|
|
40
|
+
import "../_node-chunks/chunk-KH6JWU3Y.js";
|
|
41
|
+
import "../_node-chunks/chunk-L5S66L55.js";
|
|
42
|
+
import "../_node-chunks/chunk-B2ETRD4V.js";
|
|
43
|
+
import "../_node-chunks/chunk-W7DCZC64.js";
|
|
44
44
|
export {
|
|
45
45
|
addToGlobalContext,
|
|
46
46
|
cleanPaths,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2524,6 +2524,7 @@ interface StorybookConfigRaw {
|
|
|
2524
2524
|
babelDefault?: any;
|
|
2525
2525
|
previewAnnotations?: Entry[];
|
|
2526
2526
|
experimental_indexers?: Indexer[];
|
|
2527
|
+
experimental_devServer?: ServerApp;
|
|
2527
2528
|
docs?: DocsOptions;
|
|
2528
2529
|
previewHead?: string;
|
|
2529
2530
|
previewBody?: string;
|
|
@@ -3613,4 +3614,4 @@ type SupportedFrameworks = 'angular' | 'ember' | 'html-vite' | 'nextjs' | 'nextj
|
|
|
3613
3614
|
|
|
3614
3615
|
type SupportedRenderers = 'react' | 'react-native' | 'vue3' | 'angular' | 'ember' | 'preact' | 'svelte' | 'qwik' | 'html' | 'web-components' | 'server' | 'solid' | 'nuxt';
|
|
3615
3616
|
|
|
3616
|
-
export { type API_ActiveTabsType, type API_BaseEntry, type API_ComponentEntry, type API_ComposedRef, type API_ComposedRefUpdate, type API_DocsEntry, type API_FilterFunction, type API_GroupEntry, type API_HashEntry, type API_IframeRenderer, type API_IndexHash, type API_Layout, type API_LayoutCustomisations, type API_LeafEntry, type API_LoadedRefData, type API_MatchOptions, type API_Notification, type API_OptionsData, type API_PanelPositions, type API_PreparedIndexEntry, type API_PreparedStoryIndex, type API_Provider, type API_ProviderData, type API_RefId, type API_RefUrl, type API_Refs, type API_ReleaseNotes, type API_RenderOptions, type API_RootEntry, type API_RouteOptions, type API_SetRefData, type API_Settings, type API_SidebarOptions, type API_StateMerger, type API_StoryEntry, type API_StoryMapper, type API_TestEntry, type API_UI, type API_UIOptions, type API_UnknownEntries, type API_Version, type API_Versions$1 as API_Versions, type API_ViewMode, type Actor, type Addon_AddStoryArgs, type Addon_Annotations, type Addon_ArgType, type Addon_ArgsStoryFn, type Addon_BaseAnnotations, type Addon_BaseDecorators, type Addon_BaseMeta, type Addon_BaseStoryFn, type Addon_BaseStoryObject, type Addon_BaseType, type Addon_ClientApiAddon, type Addon_ClientApiAddons, type Addon_ClientApiReturnFn, type Addon_ClientStoryApi, type Addon_Collection, type Addon_Comparator, type Addon_Config, type Addon_DecoratorFunction, type Addon_Elements, type Addon_LegacyStoryFn, type Addon_LoadFn, type Addon_Loadable, type Addon_Loader, type Addon_LoaderFunction, type Addon_Loaders, type Addon_MakeDecoratorResult, type Addon_OptionsParameter, type Addon_OptionsParameterV7, type Addon_PageType, type Addon_PartialStoryFn, type Addon_RenderOptions, type Addon_RequireContext, type Addon_StoryApi, type Addon_StoryContext, type Addon_StoryContextUpdate, type Addon_StoryFn, type Addon_StorySortComparator, type Addon_StorySortComparatorV7, type Addon_StorySortMethod, type Addon_StorySortObjectParameter, type Addon_StorySortParameter, type Addon_StorySortParameterV7, type Addon_StoryWrapper, type Addon_TestProviderType, type Addon_ToolbarConfig, type Addon_Type, type Addon_Types, Addon_TypesEnum, type Addon_TypesMapping, type Addon_WrapperSettings, type Addon_WrapperType, type Addons_ArgTypes, type BaseIndexEntry, type BaseIndexInput, type BaseStory, type BoundStory, type Builder, type BuilderName, type BuilderOptions, type BuilderResult, type BuilderStats, type Builder_EnvsRaw, type Builder_Unpromise, type Builder_WithRequiredProperty, type CLIBaseOptions, type CLIOptions, type CSFFile, type CompatibleString, type ComposeStoryFn, type ComposedStoryFn, type CoreCommon_AddonEntry, type CoreCommon_AddonInfo, type CoreCommon_OptionsEntry, type CoreCommon_ResolvedAddonPreset, type CoreCommon_ResolvedAddonVirtual, type CoreCommon_StorybookInfo, type CoreConfig, type DocsContextProps, type DocsIndexEntry, type DocsIndexInput, type DocsOptions, type DocsPreparedPayload, type DocsRenderFunction, type Entry, type Event, type EventInfo, type GlobalsUpdatedPayload, type IndexEntry, type IndexEntryLegacy, type IndexInput, type IndexInputStats, type IndexedCSFFile, type IndexedStory, type Indexer, type IndexerOptions, type LoadOptions, type LoadedPreset, type Middleware, MockUniversalStore, type ModuleExport, type ModuleExports, type ModuleImportFn, type NamedOrDefaultProjectAnnotations, type NormalizedComponentAnnotations, type NormalizedProjectAnnotations, type NormalizedStoriesSpecifier, type NormalizedStoryAnnotations, type Options, type PackageJson, type PartialArgsStoryFn, type Path, type PreparedMeta, type PreparedStory, type Preset, type PresetConfig, type PresetProperty, type PresetPropertyFn, type PresetValue, type Presets, type PreviewAnnotation, type ProjectAnnotations, type Ref, type RenderContext, type RenderContextCallbacks, type RenderToCanvas, type RendererName, type ResolvedModuleExport, type ResolvedModuleExportFromType, type ResolvedModuleExportType, type SetGlobalsPayload, type SetStoriesPayload, type SetStoriesStory, type SetStoriesStoryData, type Stats, type Status, type StatusByTypeId, type StatusStore, type StatusStoreByTypeId, type StatusTypeId, type StatusValue, type StatusesByStoryIdAndTypeId, type StoreOptions, type Store_CSFExports, type StoriesEntry, type StoriesSpecifier, type StoriesWithPartialProps, type StoryIndex, type StoryIndexEntry, type StoryIndexInput, type StoryIndexV2, type StoryIndexV3, type StoryPreparedPayload, type StoryRenderOptions, type StorybookConfig, type StorybookConfigOptions, type StorybookConfigRaw, type StorybookInternalParameters, type StorybookParameters, type StorybookTypes, type SupportedFrameworks, type SupportedRenderers, type TagOptions, type TagsOptions, type TeardownRenderToCanvas, type TestBuildConfig, type TestBuildFlags, type TestProviderId, type TestProviderState, type TestProviderStateByProviderId, type TestProviderStoreById, type TypescriptOptions, UniversalStore, type UseStatusStore, type UseTestProviderStore, type V3CompatIndexEntry, type VersionCheck, type ViewMode, type WebRenderer };
|
|
3617
|
+
export { type API_ActiveTabsType, type API_BaseEntry, type API_ComponentEntry, type API_ComposedRef, type API_ComposedRefUpdate, type API_DocsEntry, type API_FilterFunction, type API_GroupEntry, type API_HashEntry, type API_IframeRenderer, type API_IndexHash, type API_Layout, type API_LayoutCustomisations, type API_LeafEntry, type API_LoadedRefData, type API_MatchOptions, type API_Notification, type API_OptionsData, type API_PanelPositions, type API_PreparedIndexEntry, type API_PreparedStoryIndex, type API_Provider, type API_ProviderData, type API_RefId, type API_RefUrl, type API_Refs, type API_ReleaseNotes, type API_RenderOptions, type API_RootEntry, type API_RouteOptions, type API_SetRefData, type API_Settings, type API_SidebarOptions, type API_StateMerger, type API_StoryEntry, type API_StoryMapper, type API_TestEntry, type API_UI, type API_UIOptions, type API_UnknownEntries, type API_Version, type API_Versions$1 as API_Versions, type API_ViewMode, type Actor, type Addon_AddStoryArgs, type Addon_Annotations, type Addon_ArgType, type Addon_ArgsStoryFn, type Addon_BaseAnnotations, type Addon_BaseDecorators, type Addon_BaseMeta, type Addon_BaseStoryFn, type Addon_BaseStoryObject, type Addon_BaseType, type Addon_ClientApiAddon, type Addon_ClientApiAddons, type Addon_ClientApiReturnFn, type Addon_ClientStoryApi, type Addon_Collection, type Addon_Comparator, type Addon_Config, type Addon_DecoratorFunction, type Addon_Elements, type Addon_LegacyStoryFn, type Addon_LoadFn, type Addon_Loadable, type Addon_Loader, type Addon_LoaderFunction, type Addon_Loaders, type Addon_MakeDecoratorResult, type Addon_OptionsParameter, type Addon_OptionsParameterV7, type Addon_PageType, type Addon_PartialStoryFn, type Addon_RenderOptions, type Addon_RequireContext, type Addon_StoryApi, type Addon_StoryContext, type Addon_StoryContextUpdate, type Addon_StoryFn, type Addon_StorySortComparator, type Addon_StorySortComparatorV7, type Addon_StorySortMethod, type Addon_StorySortObjectParameter, type Addon_StorySortParameter, type Addon_StorySortParameterV7, type Addon_StoryWrapper, type Addon_TestProviderType, type Addon_ToolbarConfig, type Addon_Type, type Addon_Types, Addon_TypesEnum, type Addon_TypesMapping, type Addon_WrapperSettings, type Addon_WrapperType, type Addons_ArgTypes, type BaseIndexEntry, type BaseIndexInput, type BaseStory, type BoundStory, type Builder, type BuilderName, type BuilderOptions, type BuilderResult, type BuilderStats, type Builder_EnvsRaw, type Builder_Unpromise, type Builder_WithRequiredProperty, type CLIBaseOptions, type CLIOptions, type CSFFile, type CompatibleString, type ComposeStoryFn, type ComposedStoryFn, type CoreCommon_AddonEntry, type CoreCommon_AddonInfo, type CoreCommon_OptionsEntry, type CoreCommon_ResolvedAddonPreset, type CoreCommon_ResolvedAddonVirtual, type CoreCommon_StorybookInfo, type CoreConfig, type DocsContextProps, type DocsIndexEntry, type DocsIndexInput, type DocsOptions, type DocsPreparedPayload, type DocsRenderFunction, type Entry, type Event, type EventInfo, type GlobalsUpdatedPayload, type IndexEntry, type IndexEntryLegacy, type IndexInput, type IndexInputStats, type IndexedCSFFile, type IndexedStory, type Indexer, type IndexerOptions, type LoadOptions, type LoadedPreset, type Middleware, MockUniversalStore, type ModuleExport, type ModuleExports, type ModuleImportFn, type NamedOrDefaultProjectAnnotations, type NormalizedComponentAnnotations, type NormalizedProjectAnnotations, type NormalizedStoriesSpecifier, type NormalizedStoryAnnotations, type Options, type PackageJson, type PartialArgsStoryFn, type Path, type PreparedMeta, type PreparedStory, type Preset, type PresetConfig, type PresetProperty, type PresetPropertyFn, type PresetValue, type Presets, type PreviewAnnotation, type ProjectAnnotations, type Ref, type RenderContext, type RenderContextCallbacks, type RenderToCanvas, type RendererName, type ResolvedModuleExport, type ResolvedModuleExportFromType, type ResolvedModuleExportType, type ServerApp, type SetGlobalsPayload, type SetStoriesPayload, type SetStoriesStory, type SetStoriesStoryData, type Stats, type Status, type StatusByTypeId, type StatusStore, type StatusStoreByTypeId, type StatusTypeId, type StatusValue, type StatusesByStoryIdAndTypeId, type StoreOptions, type Store_CSFExports, type StoriesEntry, type StoriesSpecifier, type StoriesWithPartialProps, type StoryIndex, type StoryIndexEntry, type StoryIndexInput, type StoryIndexV2, type StoryIndexV3, type StoryPreparedPayload, type StoryRenderOptions, type StorybookConfig, type StorybookConfigOptions, type StorybookConfigRaw, type StorybookInternalParameters, type StorybookParameters, type StorybookTypes, type SupportedFrameworks, type SupportedRenderers, type TagOptions, type TagsOptions, type TeardownRenderToCanvas, type TestBuildConfig, type TestBuildFlags, type TestProviderId, type TestProviderState, type TestProviderStateByProviderId, type TestProviderStoreById, type TypescriptOptions, UniversalStore, type UseStatusStore, type UseTestProviderStore, type V3CompatIndexEntry, type VersionCheck, type ViewMode, type WebRenderer };
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
camelCase
|
|
14
|
-
} from "./chunk-6PQVBT5D.js";
|
|
15
|
-
import "./chunk-CUEWGHOL.js";
|
|
16
|
-
export {
|
|
17
|
-
camelCase as default
|
|
18
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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.0.0-rc.3",
|
|
16
|
-
"@storybook/addon-docs": "10.0.0-rc.3",
|
|
17
|
-
"@storybook/addon-links": "10.0.0-rc.3",
|
|
18
|
-
"@storybook/addon-onboarding": "10.0.0-rc.3",
|
|
19
|
-
"storybook-addon-pseudo-states": "10.0.0-rc.3",
|
|
20
|
-
"@storybook/addon-themes": "10.0.0-rc.3",
|
|
21
|
-
"@storybook/addon-vitest": "10.0.0-rc.3",
|
|
22
|
-
"@storybook/builder-vite": "10.0.0-rc.3",
|
|
23
|
-
"@storybook/builder-webpack5": "10.0.0-rc.3",
|
|
24
|
-
storybook: "10.0.0-rc.3",
|
|
25
|
-
"@storybook/angular": "10.0.0-rc.3",
|
|
26
|
-
"@storybook/ember": "10.0.0-rc.3",
|
|
27
|
-
"@storybook/html-vite": "10.0.0-rc.3",
|
|
28
|
-
"@storybook/nextjs": "10.0.0-rc.3",
|
|
29
|
-
"@storybook/nextjs-vite": "10.0.0-rc.3",
|
|
30
|
-
"@storybook/preact-vite": "10.0.0-rc.3",
|
|
31
|
-
"@storybook/react-native-web-vite": "10.0.0-rc.3",
|
|
32
|
-
"@storybook/react-vite": "10.0.0-rc.3",
|
|
33
|
-
"@storybook/react-webpack5": "10.0.0-rc.3",
|
|
34
|
-
"@storybook/server-webpack5": "10.0.0-rc.3",
|
|
35
|
-
"@storybook/svelte-vite": "10.0.0-rc.3",
|
|
36
|
-
"@storybook/sveltekit": "10.0.0-rc.3",
|
|
37
|
-
"@storybook/vue3-vite": "10.0.0-rc.3",
|
|
38
|
-
"@storybook/web-components-vite": "10.0.0-rc.3",
|
|
39
|
-
sb: "10.0.0-rc.3",
|
|
40
|
-
"@storybook/cli": "10.0.0-rc.3",
|
|
41
|
-
"@storybook/codemod": "10.0.0-rc.3",
|
|
42
|
-
"@storybook/core-webpack": "10.0.0-rc.3",
|
|
43
|
-
"create-storybook": "10.0.0-rc.3",
|
|
44
|
-
"@storybook/csf-plugin": "10.0.0-rc.3",
|
|
45
|
-
"eslint-plugin-storybook": "10.0.0-rc.3",
|
|
46
|
-
"@storybook/react-dom-shim": "10.0.0-rc.3",
|
|
47
|
-
"@storybook/preset-create-react-app": "10.0.0-rc.3",
|
|
48
|
-
"@storybook/preset-react-webpack": "10.0.0-rc.3",
|
|
49
|
-
"@storybook/preset-server-webpack": "10.0.0-rc.3",
|
|
50
|
-
"@storybook/html": "10.0.0-rc.3",
|
|
51
|
-
"@storybook/preact": "10.0.0-rc.3",
|
|
52
|
-
"@storybook/react": "10.0.0-rc.3",
|
|
53
|
-
"@storybook/server": "10.0.0-rc.3",
|
|
54
|
-
"@storybook/svelte": "10.0.0-rc.3",
|
|
55
|
-
"@storybook/vue3": "10.0.0-rc.3",
|
|
56
|
-
"@storybook/web-components": "10.0.0-rc.3"
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export {
|
|
60
|
-
versions_default
|
|
61
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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.0.0-rc.3";
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
version
|
|
18
|
-
};
|