storybook 10.2.0-beta.3 → 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-JZHWQECC.js → builder-manager-QV5RDRX3.js} +12 -12
- package/dist/_node-chunks/{camelcase-2NZ4BLHX.js → camelcase-BMCEZEHU.js} +7 -7
- package/dist/_node-chunks/{chunk-Y3SK4LWX.js → chunk-2MIIBCWO.js} +6 -6
- package/dist/_node-chunks/chunk-3G6JTYYU.js +18 -0
- package/dist/_node-chunks/{chunk-P626DC5C.js → chunk-3WAOMPEV.js} +20 -20
- package/dist/_node-chunks/{chunk-ESJWIQ4Z.js → chunk-5BZY2EBX.js} +6 -6
- package/dist/_node-chunks/{chunk-DWLMCD64.js → chunk-7C3OCMOV.js} +7 -7
- package/dist/_node-chunks/chunk-7CC7KOAY.js +61 -0
- package/dist/_node-chunks/{chunk-YDILOOT5.js → chunk-A635UKUK.js} +12 -12
- package/dist/_node-chunks/{chunk-4DTADLHM.js → chunk-B6PRKQBU.js} +43 -25
- package/dist/_node-chunks/{chunk-JG6ODK5N.js → chunk-C2PW44X2.js} +20 -11
- package/dist/_node-chunks/{chunk-R6FEBIT5.js → chunk-DX2OTMAX.js} +7 -7
- package/dist/_node-chunks/{chunk-QAIAKYZA.js → chunk-HNJNGHJI.js} +7 -7
- package/dist/_node-chunks/{chunk-AAPM4ZUE.js → chunk-HSLEWKPT.js} +7 -7
- package/dist/_node-chunks/{chunk-GQBGRYLZ.js → chunk-JGB6IJ7A.js} +6 -6
- package/dist/_node-chunks/{chunk-6RSHZM6F.js → chunk-JZDQQ34S.js} +10 -10
- package/dist/_node-chunks/{chunk-KJE25OIE.js → chunk-LDPGDFBN.js} +8 -8
- package/dist/_node-chunks/{chunk-VSP4OUV7.js → chunk-LQF2YX4Z.js} +6 -6
- package/dist/_node-chunks/{chunk-LCBCTN4M.js → chunk-LY42XGJX.js} +7 -7
- package/dist/_node-chunks/{chunk-6OI3K47W.js → chunk-M3NUJKHF.js} +9 -9
- package/dist/_node-chunks/{chunk-RNTIDFBO.js → chunk-NM76NNBF.js} +9 -9
- package/dist/_node-chunks/{chunk-APWBWPND.js → chunk-PFCD6HBP.js} +7 -7
- package/dist/_node-chunks/{chunk-KBE3TTUR.js → chunk-QLZIG3XC.js} +7 -7
- package/dist/_node-chunks/chunk-TJGUM3J6.js +23 -0
- package/dist/_node-chunks/{chunk-EQ3YUBKH.js → chunk-TOAOZCOV.js} +16 -16
- package/dist/_node-chunks/{chunk-5GZNNLKU.js → chunk-UJMJ7W5H.js} +7 -7
- package/dist/_node-chunks/{chunk-P6D6ID6E.js → chunk-V2LVNLAT.js} +6 -6
- package/dist/_node-chunks/{chunk-RZNT4K2G.js → chunk-WC6YF7PX.js} +6 -6
- package/dist/_node-chunks/{chunk-JIOULQ32.js → chunk-XOGYJBNU.js} +6 -6
- package/dist/_node-chunks/{chunk-WH4P3VKT.js → chunk-Z4WARWVA.js} +6 -6
- package/dist/_node-chunks/{globby-MSU5U7ID.js → globby-OVGPC72V.js} +9 -9
- package/dist/_node-chunks/{lib-OAHUNMVL.js → lib-GNBN4EH6.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-Q6YYOOB2.js → mdx-N42X6CFJ-I3J2JFL4.js} +8 -8
- package/dist/_node-chunks/{p-limit-RMVLANG5.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 +100 -102
- 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 +4 -4
- 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-7GISRHHS.js +0 -23
- package/dist/_node-chunks/chunk-BEZTSJFQ.js +0 -61
- package/dist/_node-chunks/chunk-E63NMV7B.js +0 -18
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_a5rp5ea5r4w from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.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-P6D6ID6E.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_a5rp5ea5r4w from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.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.3",
|
|
16
|
-
"@storybook/addon-docs": "10.2.0-beta.3",
|
|
17
|
-
"@storybook/addon-links": "10.2.0-beta.3",
|
|
18
|
-
"@storybook/addon-onboarding": "10.2.0-beta.3",
|
|
19
|
-
"storybook-addon-pseudo-states": "10.2.0-beta.3",
|
|
20
|
-
"@storybook/addon-themes": "10.2.0-beta.3",
|
|
21
|
-
"@storybook/addon-vitest": "10.2.0-beta.3",
|
|
22
|
-
"@storybook/builder-vite": "10.2.0-beta.3",
|
|
23
|
-
"@storybook/builder-webpack5": "10.2.0-beta.3",
|
|
24
|
-
storybook: "10.2.0-beta.3",
|
|
25
|
-
"@storybook/angular": "10.2.0-beta.3",
|
|
26
|
-
"@storybook/ember": "10.2.0-beta.3",
|
|
27
|
-
"@storybook/html-vite": "10.2.0-beta.3",
|
|
28
|
-
"@storybook/nextjs": "10.2.0-beta.3",
|
|
29
|
-
"@storybook/nextjs-vite": "10.2.0-beta.3",
|
|
30
|
-
"@storybook/preact-vite": "10.2.0-beta.3",
|
|
31
|
-
"@storybook/react-native-web-vite": "10.2.0-beta.3",
|
|
32
|
-
"@storybook/react-vite": "10.2.0-beta.3",
|
|
33
|
-
"@storybook/react-webpack5": "10.2.0-beta.3",
|
|
34
|
-
"@storybook/server-webpack5": "10.2.0-beta.3",
|
|
35
|
-
"@storybook/svelte-vite": "10.2.0-beta.3",
|
|
36
|
-
"@storybook/sveltekit": "10.2.0-beta.3",
|
|
37
|
-
"@storybook/vue3-vite": "10.2.0-beta.3",
|
|
38
|
-
"@storybook/web-components-vite": "10.2.0-beta.3",
|
|
39
|
-
sb: "10.2.0-beta.3",
|
|
40
|
-
"@storybook/cli": "10.2.0-beta.3",
|
|
41
|
-
"@storybook/codemod": "10.2.0-beta.3",
|
|
42
|
-
"@storybook/core-webpack": "10.2.0-beta.3",
|
|
43
|
-
"create-storybook": "10.2.0-beta.3",
|
|
44
|
-
"@storybook/csf-plugin": "10.2.0-beta.3",
|
|
45
|
-
"eslint-plugin-storybook": "10.2.0-beta.3",
|
|
46
|
-
"@storybook/react-dom-shim": "10.2.0-beta.3",
|
|
47
|
-
"@storybook/preset-create-react-app": "10.2.0-beta.3",
|
|
48
|
-
"@storybook/preset-react-webpack": "10.2.0-beta.3",
|
|
49
|
-
"@storybook/preset-server-webpack": "10.2.0-beta.3",
|
|
50
|
-
"@storybook/html": "10.2.0-beta.3",
|
|
51
|
-
"@storybook/preact": "10.2.0-beta.3",
|
|
52
|
-
"@storybook/react": "10.2.0-beta.3",
|
|
53
|
-
"@storybook/server": "10.2.0-beta.3",
|
|
54
|
-
"@storybook/svelte": "10.2.0-beta.3",
|
|
55
|
-
"@storybook/vue3": "10.2.0-beta.3",
|
|
56
|
-
"@storybook/web-components": "10.2.0-beta.3"
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export {
|
|
60
|
-
versions_default
|
|
61
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_a5rp5ea5r4w from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.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.3";
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
version
|
|
18
|
-
};
|