@storybook/react 11.0.0-alpha.4 → 11.0.0-alpha.6
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/_browser-chunks/{chunk-CS62LUFX.js → chunk-2TQVKMJE.js} +1 -1
- package/dist/_browser-chunks/{chunk-A624C5GY.js → chunk-YQ7BYS2T.js} +1 -1
- package/dist/_node-chunks/{chunk-KNC6E6BI.js → chunk-LQID25QZ.js} +36 -27
- package/dist/{chunk-DT7W2slC.d.ts → chunk-DwM7QKaD.d.ts} +2 -2
- package/dist/docgen/docgen-worker.js +21 -9
- package/dist/entry-preview-docs.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/preset.js +19 -12
- package/dist/preview.d.ts +1 -1
- package/dist/preview.js +2 -2
- package/package.json +2 -2
|
@@ -129,7 +129,7 @@ var applyDecorators2 = (storyFn, decorators2) => {
|
|
|
129
129
|
};
|
|
130
130
|
|
|
131
131
|
// src/entry-preview-docs.ts
|
|
132
|
-
var useStaticServiceSnippets = "FEATURES" in globalThis && globalThis?.FEATURES?.
|
|
132
|
+
var useStaticServiceSnippets = "FEATURES" in globalThis && globalThis?.FEATURES?.docgenServer, useCompileTimeSnippets = "FEATURES" in globalThis && globalThis?.FEATURES?.experimentalCodeExamples, decorators = useStaticServiceSnippets || useCompileTimeSnippets ? [] : [jsxDecorator], parameters = {
|
|
133
133
|
docs: {
|
|
134
134
|
story: { inline: !0 }
|
|
135
135
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ocq9hq78ba8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ocq9hq78ba8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ocq9hq78ba8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ocq9hq78ba8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ocq9hq78ba8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ocq9hq78ba8.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13593,6 +13593,19 @@ function collectObjectLiteralDefaults(typescript, checker, obj, defaults) {
|
|
|
13593
13593
|
) : defaults.set(name, name);
|
|
13594
13594
|
}
|
|
13595
13595
|
}
|
|
13596
|
+
function followVariableReferences(typescript, checker, symbol) {
|
|
13597
|
+
let current2 = symbol;
|
|
13598
|
+
for (let depth = 0; depth <= MAX_UNWRAP_DEPTH; depth++) {
|
|
13599
|
+
let decl = current2.valueDeclaration;
|
|
13600
|
+
if (!decl || !typescript.isVariableDeclaration(decl) || !decl.initializer || !typescript.isIdentifier(decl.initializer))
|
|
13601
|
+
return current2;
|
|
13602
|
+
let next = checker.getSymbolAtLocation(decl.initializer);
|
|
13603
|
+
if (!next)
|
|
13604
|
+
return current2;
|
|
13605
|
+
current2 = resolveAliasedSymbol(typescript, checker, next);
|
|
13606
|
+
}
|
|
13607
|
+
return current2;
|
|
13608
|
+
}
|
|
13596
13609
|
function extractStaticDefaultProps(typescript, checker, resolved) {
|
|
13597
13610
|
let defaults = /* @__PURE__ */ new Map(), decl = resolved.valueDeclaration ?? resolved.getDeclarations()?.[0];
|
|
13598
13611
|
if (!decl)
|
|
@@ -13648,23 +13661,19 @@ function extractPropItem(typescript, checker, prop, contextNode, defaultsMap, ty
|
|
|
13648
13661
|
declarations
|
|
13649
13662
|
};
|
|
13650
13663
|
}
|
|
13651
|
-
function getBulkSourceExclusions(properties) {
|
|
13652
|
-
let
|
|
13653
|
-
let
|
|
13654
|
-
return
|
|
13655
|
-
},
|
|
13656
|
-
|
|
13657
|
-
let
|
|
13658
|
-
|
|
13659
|
-
|
|
13660
|
-
|
|
13661
|
-
|
|
13662
|
-
|
|
13663
|
-
|
|
13664
|
-
let source = getSource(prop);
|
|
13665
|
-
source && bulkSources.has(source) && excluded.add(prop.getName());
|
|
13666
|
-
}
|
|
13667
|
-
return excluded;
|
|
13664
|
+
function getBulkSourceExclusions(typescript, properties) {
|
|
13665
|
+
let bulkCandidates = properties.flatMap((prop) => {
|
|
13666
|
+
let source = getPropSourceFile(prop);
|
|
13667
|
+
return !source || !(source.includes("node_modules") || source.endsWith(".d.ts")) ? [] : [{ prop, source, parent: getParentType(typescript, prop)?.name }];
|
|
13668
|
+
}), countBy = (keys) => {
|
|
13669
|
+
let counts = /* @__PURE__ */ new Map();
|
|
13670
|
+
for (let key of keys)
|
|
13671
|
+
key && counts.set(key, (counts.get(key) ?? 0) + 1);
|
|
13672
|
+
return counts;
|
|
13673
|
+
}, sourceCount = countBy(bulkCandidates.map(({ source }) => source)), parentCount = countBy(bulkCandidates.map(({ parent }) => parent)), isBulk = (counts, key) => !!key && (counts.get(key) ?? 0) > LARGE_SOURCE_THRESHOLD;
|
|
13674
|
+
return new Set(
|
|
13675
|
+
bulkCandidates.filter(({ source, parent }) => isBulk(sourceCount, source) || isBulk(parentCount, parent)).map(({ prop }) => prop.getName())
|
|
13676
|
+
);
|
|
13668
13677
|
}
|
|
13669
13678
|
function computeDisplayName({
|
|
13670
13679
|
exportSymbol,
|
|
@@ -13712,7 +13721,7 @@ function serializeComponentDoc(typescript, checker, {
|
|
|
13712
13721
|
allProperties = Array.from(seen.values()), unionForceOptional = forceOptional;
|
|
13713
13722
|
} else
|
|
13714
13723
|
allProperties = propsType.getApparentProperties();
|
|
13715
|
-
let excluded = getBulkSourceExclusions(allProperties), defaultsMap = extractDestructuringDefaults(typescript,
|
|
13724
|
+
let excluded = getBulkSourceExclusions(typescript, allProperties), implementation = followVariableReferences(typescript, checker, resolved), defaultsMap = extractDestructuringDefaults(typescript, implementation, checker);
|
|
13716
13725
|
if (defaultsMap.size === 0 && defaultsSourcePath) {
|
|
13717
13726
|
let fallbackDefaults = extractDefaultsFromSourceFile(typescript, defaultsSourcePath, {
|
|
13718
13727
|
exportName,
|
|
@@ -13722,12 +13731,12 @@ function serializeComponentDoc(typescript, checker, {
|
|
|
13722
13731
|
for (let [key, value] of fallbackDefaults)
|
|
13723
13732
|
defaultsMap.set(key, value);
|
|
13724
13733
|
}
|
|
13725
|
-
let staticDefaults = extractStaticDefaultProps(typescript, checker,
|
|
13734
|
+
let staticDefaults = extractStaticDefaultProps(typescript, checker, implementation);
|
|
13726
13735
|
for (let [key, value] of staticDefaults)
|
|
13727
13736
|
defaultsMap.has(key) || defaultsMap.set(key, value);
|
|
13728
13737
|
let props = {};
|
|
13729
13738
|
for (let prop of allProperties) {
|
|
13730
|
-
if (excluded.has(prop.getName()))
|
|
13739
|
+
if (excluded.has(prop.getName()) || prop.getJsDocTags(checker).some((tag) => tag.name === "ignore"))
|
|
13731
13740
|
continue;
|
|
13732
13741
|
let unionProp = isUnionType(propsType) ? checker.getPropertyOfType(propsType, prop.getName()) : void 0, unionPropType = unionProp ? checker.getTypeOfSymbolAtLocation(unionProp, contextNode) : void 0, item = extractPropItem(
|
|
13733
13742
|
typescript,
|
|
@@ -16152,7 +16161,7 @@ function transformArgsSpreadsInJsx(node, merged) {
|
|
|
16152
16161
|
// src/componentManifest/reactDocgenTypescript.ts
|
|
16153
16162
|
import { dirname as dirname5, join as join4, resolve as resolve4 } from "node:path";
|
|
16154
16163
|
import { logger as logger4 } from "storybook/internal/node-logger";
|
|
16155
|
-
var typeScriptPromise, reactDocgenTypescriptPromise, loadTypeScript = () => typeScriptPromise ??= import("typescript"), loadReactDocgenTypescript = () => reactDocgenTypescriptPromise ??= import("react-docgen-typescript"), LARGE_NON_USER_SOURCE_THRESHOLD = 30, getPropSource = (prop) => prop.parent?.fileName ?? prop.declarations?.[0]?.fileName, getLargeNonUserPropSources = (props) => {
|
|
16164
|
+
var typeScriptPromise, reactDocgenTypescriptPromise, loadTypeScript = () => typeScriptPromise ??= import("typescript").then((ts) => ts.default ?? ts), loadReactDocgenTypescript = () => reactDocgenTypescriptPromise ??= import("react-docgen-typescript"), LARGE_NON_USER_SOURCE_THRESHOLD = 30, getPropSource = (prop) => prop.parent?.fileName ?? prop.declarations?.[0]?.fileName, getLargeNonUserPropSources = (props) => {
|
|
16156
16165
|
let countBySource = /* @__PURE__ */ new Map();
|
|
16157
16166
|
for (let prop of Object.values(props)) {
|
|
16158
16167
|
let source = getPropSource(prop);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentType, JSX } from "react";
|
|
2
2
|
import { Args, ArgsStoryFn, Canvas, DecoratorFunction, ProjectAnnotations, StoryAnnotations, WebRenderer } from "storybook/internal/types";
|
|
3
3
|
import { RootOptions } from "react-dom/client";
|
|
4
|
-
import { AddonTypes, InferTypes, Meta, MetaInput, MetaTypes, Preview,
|
|
4
|
+
import { AddonTypes, InferTypes, Meta, MetaInput, MetaTypes, Preview, PreviewAddonEntry, Story, StoryArgs, TypedMetaArgKeys } from "storybook/internal/csf";
|
|
5
5
|
|
|
6
6
|
//#region node_modules/type-fest/source/simplify.d.ts
|
|
7
7
|
/**
|
|
@@ -107,7 +107,7 @@ type StoryFnReactReturnType = JSX.Element;
|
|
|
107
107
|
* });
|
|
108
108
|
* ```
|
|
109
109
|
*/
|
|
110
|
-
declare function __definePreview<Addons extends
|
|
110
|
+
declare function __definePreview<Addons extends PreviewAddonEntry[]>(input: {
|
|
111
111
|
addons: Addons;
|
|
112
112
|
} & ProjectAnnotations<ReactTypes & InferTypes<Addons>>): ReactPreview<ReactTypes & InferTypes<Addons>>;
|
|
113
113
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ocq9hq78ba8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ocq9hq78ba8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ocq9hq78ba8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ocq9hq78ba8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ocq9hq78ba8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ocq9hq78ba8.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -15,15 +15,27 @@ import {
|
|
|
15
15
|
extractArgTypes,
|
|
16
16
|
posix,
|
|
17
17
|
resolveStoryFileComponents
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-LQID25QZ.js";
|
|
19
19
|
|
|
20
20
|
// src/docgen/docgen-worker.ts
|
|
21
21
|
import { createLazyDocgenMiddleware } from "storybook/internal/common";
|
|
22
22
|
|
|
23
23
|
// src/docgen/buildDocgen.ts
|
|
24
24
|
import { getStoryImportPathFromEntry } from "storybook/internal/common";
|
|
25
|
+
var REACT_ATTRIBUTE_INTERFACES = /* @__PURE__ */ new Set(["Attributes", "RefAttributes", "ClassAttributes"]);
|
|
26
|
+
function isReactAttribute(prop) {
|
|
27
|
+
return !!prop.parent && REACT_ATTRIBUTE_INTERFACES.has(prop.parent.name) && /(^|[\\/])node_modules[\\/]/.test(prop.parent.fileName);
|
|
28
|
+
}
|
|
25
29
|
function extractArgTypesFromComponentMeta(componentMeta) {
|
|
26
|
-
|
|
30
|
+
if (!componentMeta)
|
|
31
|
+
return;
|
|
32
|
+
let props = Object.fromEntries(
|
|
33
|
+
Object.entries(componentMeta.props).filter(([, prop]) => !isReactAttribute(prop)).map(([name, prop]) => [
|
|
34
|
+
name,
|
|
35
|
+
prop.defaultValue ? { ...prop, defaultValue: { ...prop.defaultValue, computed: !1 } } : prop
|
|
36
|
+
])
|
|
37
|
+
);
|
|
38
|
+
return extractArgTypes({ __docgenInfo: { ...componentMeta, props } }) ?? void 0;
|
|
27
39
|
}
|
|
28
40
|
function addArgTypesFromComponentMeta(payload) {
|
|
29
41
|
let argTypes = extractArgTypesFromComponentMeta(payload.reactComponentMeta), subcomponents = payload.subcomponents ? Object.fromEntries(
|
|
@@ -82,7 +94,7 @@ var createDocgenProvider = () => createLazyDocgenMiddleware({
|
|
|
82
94
|
createManager: async () => {
|
|
83
95
|
try {
|
|
84
96
|
let ts = await import("typescript");
|
|
85
|
-
return new ComponentMetaManager(ts);
|
|
97
|
+
return new ComponentMetaManager(ts.default ?? ts);
|
|
86
98
|
} catch {
|
|
87
99
|
return;
|
|
88
100
|
}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
applyDecorators,
|
|
3
3
|
decorators,
|
|
4
4
|
parameters
|
|
5
|
-
} from "./_browser-chunks/chunk-
|
|
5
|
+
} from "./_browser-chunks/chunk-2TQVKMJE.js";
|
|
6
6
|
import "./_browser-chunks/chunk-DDIRQRCA.js";
|
|
7
7
|
import "./_browser-chunks/chunk-B3FR4PBN.js";
|
|
8
8
|
import "./_browser-chunks/chunk-UAWMPV5J.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ReactRenderer, i as __definePreview, n as ReactPreview, o as ReactTypes, r as ReactStory, s as Simplify, t as ReactMeta } from "./chunk-
|
|
1
|
+
import { a as ReactRenderer, i as __definePreview, n as ReactPreview, o as ReactTypes, r as ReactStory, s as Simplify, t as ReactMeta } from "./chunk-DwM7QKaD.js";
|
|
2
2
|
import { ComponentProps, ComponentType } from "react";
|
|
3
3
|
import { AnnotatedStoryFn, ArgTypes, Args, Args as Args$1, ArgsFromMeta, ArgsStoryFn, ComponentAnnotations, ComposedStoryFn, DecoratorFunction, LoaderFunction, NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations, Parameters as Parameters$1, ProjectAnnotations, Store_CSFExports, StoriesWithPartialProps, StoryAnnotations, StoryAnnotationsOrFn, StoryContext as StoryContext$1, StrictArgs, StrictArgs as StrictArgs$1 } from "storybook/internal/types";
|
|
4
4
|
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__definePreview
|
|
3
|
-
} from "./_browser-chunks/chunk-
|
|
3
|
+
} from "./_browser-chunks/chunk-YQ7BYS2T.js";
|
|
4
4
|
import {
|
|
5
5
|
entry_preview_exports,
|
|
6
6
|
renderToCanvas
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
entry_preview_argtypes_exports
|
|
10
10
|
} from "./_browser-chunks/chunk-LGSTPTL6.js";
|
|
11
|
-
import "./_browser-chunks/chunk-
|
|
11
|
+
import "./_browser-chunks/chunk-2TQVKMJE.js";
|
|
12
12
|
import "./_browser-chunks/chunk-DDIRQRCA.js";
|
|
13
13
|
import "./_browser-chunks/chunk-B3FR4PBN.js";
|
|
14
14
|
import "./_browser-chunks/chunk-UAWMPV5J.js";
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ocq9hq78ba8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ocq9hq78ba8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ocq9hq78ba8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ocq9hq78ba8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ocq9hq78ba8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ocq9hq78ba8.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
parseWithReactDocgen,
|
|
25
25
|
posix,
|
|
26
26
|
resolveStoryFileComponents
|
|
27
|
-
} from "./_node-chunks/chunk-
|
|
27
|
+
} from "./_node-chunks/chunk-LQID25QZ.js";
|
|
28
28
|
|
|
29
29
|
// ../../../node_modules/semver/internal/constants.js
|
|
30
30
|
var require_constants = __commonJS({
|
|
@@ -1490,7 +1490,7 @@ var REACT_NODE_TYPES = /* @__PURE__ */ new Set([
|
|
|
1490
1490
|
]);
|
|
1491
1491
|
var getTsConfig = async (componentFilePath) => {
|
|
1492
1492
|
try {
|
|
1493
|
-
let
|
|
1493
|
+
let imported = await import("typescript"), ts = imported.default ?? imported, tsconfigPath = componentFilePath ? findTsconfigPathForFile(dirname2(componentFilePath), componentFilePath) : ts.findConfigFile(process.cwd(), ts.sys.fileExists);
|
|
1494
1494
|
if (tsconfigPath === void 0)
|
|
1495
1495
|
return {};
|
|
1496
1496
|
let basePath = dirname2(tsconfigPath), { config, error } = ts.readConfigFile(tsconfigPath, ts.sys.readFile);
|
|
@@ -1555,7 +1555,7 @@ function getSharedComponentMetaManager() {
|
|
|
1555
1555
|
return componentMetaManagerPromise || (componentMetaManagerPromise = (async () => {
|
|
1556
1556
|
try {
|
|
1557
1557
|
let ts = await import("typescript");
|
|
1558
|
-
return new ComponentMetaManager(ts);
|
|
1558
|
+
return new ComponentMetaManager(ts.default ?? ts);
|
|
1559
1559
|
} catch {
|
|
1560
1560
|
logger3.debug(
|
|
1561
1561
|
"[reactComponentMeta] TypeScript not available, skipping component meta extraction."
|
|
@@ -1568,7 +1568,7 @@ function getSharedComponentMetaManager() {
|
|
|
1568
1568
|
// src/componentManifest/generator.ts
|
|
1569
1569
|
var manifests = async (existingManifests = {}, options) => {
|
|
1570
1570
|
let { manifestEntries, presets, watch } = options, typescriptOptions = await presets?.apply("typescript", {}) ?? {}, features2 = await presets?.apply("features", {});
|
|
1571
|
-
if (features2?.
|
|
1571
|
+
if (features2?.docgenServer)
|
|
1572
1572
|
return {
|
|
1573
1573
|
...existingManifests,
|
|
1574
1574
|
components: {
|
|
@@ -1651,7 +1651,7 @@ import { recast, types as t } from "storybook/internal/babel";
|
|
|
1651
1651
|
import { getPrettier } from "storybook/internal/common";
|
|
1652
1652
|
var enrichCsf = async (input, options) => {
|
|
1653
1653
|
let features2 = await options.presets.apply("features");
|
|
1654
|
-
if (!(!features2.experimentalCodeExamples || features2.
|
|
1654
|
+
if (!(!features2.experimentalCodeExamples || features2.docgenServer))
|
|
1655
1655
|
return async (csf, csfSource) => {
|
|
1656
1656
|
let promises = Object.keys(csf._stories).map(async (key) => {
|
|
1657
1657
|
if (!csfSource._meta?.component)
|
|
@@ -1779,7 +1779,13 @@ var experimental_storyDocsProvider = async (nextStoryDocs, options) => {
|
|
|
1779
1779
|
};
|
|
1780
1780
|
|
|
1781
1781
|
// src/preset.ts
|
|
1782
|
-
var
|
|
1782
|
+
var isDocgenProviderEnabled = () => {
|
|
1783
|
+
try {
|
|
1784
|
+
return import.meta.resolve("typescript"), !0;
|
|
1785
|
+
} catch {
|
|
1786
|
+
return !1;
|
|
1787
|
+
}
|
|
1788
|
+
}, features = async (existing) => ({
|
|
1783
1789
|
...existing,
|
|
1784
1790
|
componentsManifest: !0
|
|
1785
1791
|
}), previewAnnotations = async (input = [], options) => {
|
|
@@ -1837,6 +1843,7 @@ export {
|
|
|
1837
1843
|
experimental_storyDocsProvider,
|
|
1838
1844
|
features,
|
|
1839
1845
|
internal_getArgTypesData,
|
|
1846
|
+
isDocgenProviderEnabled,
|
|
1840
1847
|
optimizeViteDeps,
|
|
1841
1848
|
previewAnnotations,
|
|
1842
1849
|
resolvedReact
|
package/dist/preview.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as __definePreview, n as ReactPreview, r as ReactStory, t as ReactMeta } from "./chunk-
|
|
1
|
+
import { i as __definePreview, n as ReactPreview, r as ReactStory, t as ReactMeta } from "./chunk-DwM7QKaD.js";
|
|
2
2
|
export { ReactMeta, ReactPreview, ReactStory, __definePreview };
|
package/dist/preview.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__definePreview
|
|
3
|
-
} from "./_browser-chunks/chunk-
|
|
3
|
+
} from "./_browser-chunks/chunk-YQ7BYS2T.js";
|
|
4
4
|
import "./_browser-chunks/chunk-XD4PMI7Q.js";
|
|
5
5
|
import "./_browser-chunks/chunk-LGSTPTL6.js";
|
|
6
|
-
import "./_browser-chunks/chunk-
|
|
6
|
+
import "./_browser-chunks/chunk-2TQVKMJE.js";
|
|
7
7
|
import "./_browser-chunks/chunk-DDIRQRCA.js";
|
|
8
8
|
import "./_browser-chunks/chunk-B3FR4PBN.js";
|
|
9
9
|
import "./_browser-chunks/chunk-UAWMPV5J.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.6",
|
|
4
4
|
"description": "Storybook React renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@types/react-dom": "^18.0.0 || ^19.0.0",
|
|
82
82
|
"react": "^18.0.0 || ^19.0.0",
|
|
83
83
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
84
|
-
"storybook": "^11.0.0-alpha.
|
|
84
|
+
"storybook": "^11.0.0-alpha.6",
|
|
85
85
|
"typescript": "^5.9.0 || ^6.0.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependenciesMeta": {
|