@storybook/react 11.0.0-alpha.6 → 11.0.0-alpha.7
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-YQ7BYS2T.js → chunk-7QIM3PHH.js} +1 -1
- package/dist/_browser-chunks/{chunk-XD4PMI7Q.js → chunk-EZD3TIPB.js} +1 -1
- package/dist/_node-chunks/{chunk-LQID25QZ.js → chunk-EH6QRX5B.js} +96 -20
- package/dist/docgen/docgen-worker.js +10 -8
- package/dist/entry-preview.js +1 -1
- package/dist/index.js +2 -2
- package/dist/preset.js +14 -12
- package/dist/preview.js +2 -2
- package/package.json +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_80n7jqmgy9x from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_80n7jqmgy9x from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_80n7jqmgy9x from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_80n7jqmgy9x.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_80n7jqmgy9x.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_80n7jqmgy9x.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14097,6 +14097,12 @@ function createReactProjectFactory(typescript) {
|
|
|
14097
14097
|
}
|
|
14098
14098
|
};
|
|
14099
14099
|
}
|
|
14100
|
+
function assertTypeScriptCompilerApi(typescript) {
|
|
14101
|
+
if (typeof typescript?.sys?.fileExists != "function")
|
|
14102
|
+
throw new Error(
|
|
14103
|
+
"The resolved `typescript` package does not expose the compiler API (`ts.sys` is undefined). This happens when `typescript` resolves to a build without the full API, such as the TypeScript 7 native-preview package. Component metadata extraction requires a standard TypeScript installation."
|
|
14104
|
+
);
|
|
14105
|
+
}
|
|
14100
14106
|
var ComponentMetaManager = class extends BaseComponentMetaManager {
|
|
14101
14107
|
/**
|
|
14102
14108
|
* @param recycleHeapPressureRatio Fraction of the V8 heap limit at which the shared program(s)
|
|
@@ -14104,6 +14110,7 @@ var ComponentMetaManager = class extends BaseComponentMetaManager {
|
|
|
14104
14110
|
* to disable recycling and assert the OOM still happens without the fix.
|
|
14105
14111
|
*/
|
|
14106
14112
|
constructor(typescript, recycleHeapPressureRatio) {
|
|
14113
|
+
assertTypeScriptCompilerApi(typescript);
|
|
14107
14114
|
let { factory, fsFileSnapshots } = createReactProjectFactory(typescript);
|
|
14108
14115
|
super(typescript, factory, recycleHeapPressureRatio), this.fsFileSnapshots = fsFileSnapshots;
|
|
14109
14116
|
}
|
|
@@ -15469,6 +15476,8 @@ var exportNameHandler = (documentation, componentDefinition) => {
|
|
|
15469
15476
|
}
|
|
15470
15477
|
if (stmt.isExportDefaultDeclaration()) {
|
|
15471
15478
|
let decl = stmt.get("declaration");
|
|
15479
|
+
for (; decl.isTSAsExpression() || decl.isParenthesizedExpression(); )
|
|
15480
|
+
decl = decl.get("expression");
|
|
15472
15481
|
if (decl.isIdentifier() && decl.node.name === localName) {
|
|
15473
15482
|
documentation.set("exportName", "default");
|
|
15474
15483
|
return;
|
|
@@ -15481,7 +15490,21 @@ var exportNameHandler = (documentation, componentDefinition) => {
|
|
|
15481
15490
|
// src/componentManifest/reactDocgen.ts
|
|
15482
15491
|
var defaultHandlers = Object.values(docgenHandlers).map((handler) => handler), defaultResolver2 = new docgenResolver.FindExportedDefinitionsResolver(), handlers = [...defaultHandlers, actualNameHandler_default, exportNameHandler_default];
|
|
15483
15492
|
function getMatchingDocgen(docgens, component) {
|
|
15484
|
-
|
|
15493
|
+
if (docgens.length === 0)
|
|
15494
|
+
return;
|
|
15495
|
+
if (docgens.length === 1)
|
|
15496
|
+
return docgens[0];
|
|
15497
|
+
if (component.importName === "default") {
|
|
15498
|
+
let defaultExports = docgens.filter((docgen) => docgen.exportName === "default");
|
|
15499
|
+
if (defaultExports.length === 1)
|
|
15500
|
+
return defaultExports[0];
|
|
15501
|
+
let names = new Set([component.localImportName, component.componentName].filter(Boolean)), matchingName = docgens.find(
|
|
15502
|
+
(docgen) => names.has(docgen.actualName) || docgen.displayName && names.has(docgen.displayName)
|
|
15503
|
+
);
|
|
15504
|
+
if (matchingName)
|
|
15505
|
+
return matchingName;
|
|
15506
|
+
}
|
|
15507
|
+
return docgens.find(
|
|
15485
15508
|
(docgen) => [component.importName, component.localImportName].includes(docgen.exportName)
|
|
15486
15509
|
) ?? docgens.find(
|
|
15487
15510
|
(docgen) => [component.importName, component.localImportName, component.componentName].includes(
|
|
@@ -15961,7 +15984,9 @@ var delimiter = globalThis.process?.platform === "win32" ? ";" : ":", _platforms
|
|
|
15961
15984
|
// src/componentManifest/generateCodeSnippet.ts
|
|
15962
15985
|
import { types as t2 } from "storybook/internal/babel";
|
|
15963
15986
|
import {
|
|
15987
|
+
collectImportBindings,
|
|
15964
15988
|
createStoryArgsResolver,
|
|
15989
|
+
isCanonicalCsf2BindCall,
|
|
15965
15990
|
metaObjectPath,
|
|
15966
15991
|
normalizeStoryDeclaration,
|
|
15967
15992
|
resolveRenderFunction
|
|
@@ -15970,13 +15995,46 @@ function renderFunctionOf(resolution) {
|
|
|
15970
15995
|
return resolution.kind === "resolved" ? resolution.path : resolution.kind === "unresolved" ? resolution.shadowedRender : void 0;
|
|
15971
15996
|
}
|
|
15972
15997
|
function getCodeSnippet(csf, storyName, componentName, resolver = createStoryArgsResolver(csf)) {
|
|
15973
|
-
let { args, imports, unresolved } = resolver.resolve(storyName);
|
|
15974
|
-
return {
|
|
15998
|
+
let { args, imports, unresolved } = resolver.resolve(storyName), importedBind = importedBoundStory(csf, storyName, args);
|
|
15999
|
+
return importedBind ? {
|
|
16000
|
+
node: importedBind.node,
|
|
16001
|
+
imports: [...imports, importedBind.importRef],
|
|
16002
|
+
unresolved
|
|
16003
|
+
} : {
|
|
15975
16004
|
node: buildSnippetNode(csf, storyName, componentName, args, resolver.ctx),
|
|
15976
16005
|
imports,
|
|
15977
16006
|
unresolved
|
|
15978
16007
|
};
|
|
15979
16008
|
}
|
|
16009
|
+
function importedBoundStory(csf, storyName, args) {
|
|
16010
|
+
let declaration = csf._storyDeclarationPath[storyName];
|
|
16011
|
+
if (!declaration?.isVariableDeclarator())
|
|
16012
|
+
return;
|
|
16013
|
+
let init = declaration.get("init");
|
|
16014
|
+
if (!init.isCallExpression() || !isCanonicalCsf2BindCall(init.node))
|
|
16015
|
+
return;
|
|
16016
|
+
let callee = init.get("callee");
|
|
16017
|
+
if (!callee.isMemberExpression())
|
|
16018
|
+
return;
|
|
16019
|
+
let object = callee.get("object");
|
|
16020
|
+
if (!object.isIdentifier())
|
|
16021
|
+
return;
|
|
16022
|
+
let binding = collectImportBindings(csf._file.path).get(object.node.name);
|
|
16023
|
+
if (!binding)
|
|
16024
|
+
return;
|
|
16025
|
+
let values = Object.entries(args).map(([key, value]) => (invariant(t2.isExpression(value), `Could not use ${key} as a bound story arg`), t2.objectProperty(t2.stringLiteral(key), value))), boundCall = t2.callExpression(init.node, [t2.objectExpression(values)]);
|
|
16026
|
+
return {
|
|
16027
|
+
node: t2.variableDeclaration("const", [
|
|
16028
|
+
t2.variableDeclarator(t2.identifier(storyName), t2.arrowFunctionExpression([], boundCall))
|
|
16029
|
+
]),
|
|
16030
|
+
importRef: {
|
|
16031
|
+
localImportName: object.node.name,
|
|
16032
|
+
importId: binding.importId,
|
|
16033
|
+
importName: binding.importName,
|
|
16034
|
+
...binding.importName === "*" ? { namespace: object.node.name } : {}
|
|
16035
|
+
}
|
|
16036
|
+
};
|
|
16037
|
+
}
|
|
15980
16038
|
function buildSnippetNode(csf, storyName, componentName, merged, ctx) {
|
|
15981
16039
|
let storyDeclaration = csf._storyDeclarationPath[storyName];
|
|
15982
16040
|
if (!storyDeclaration) {
|
|
@@ -16379,7 +16437,7 @@ import { dirname as dirname6 } from "node:path";
|
|
|
16379
16437
|
import { types as t3 } from "storybook/internal/babel";
|
|
16380
16438
|
import {
|
|
16381
16439
|
buildImportStatements,
|
|
16382
|
-
collectImportBindings,
|
|
16440
|
+
collectImportBindings as collectImportBindings2,
|
|
16383
16441
|
resolveComponentImport
|
|
16384
16442
|
} from "storybook/internal/csf-tools";
|
|
16385
16443
|
import { logger as logger5 } from "storybook/internal/node-logger";
|
|
@@ -16390,7 +16448,7 @@ var baseIdentifier = (component) => component.split(".")[0] ?? component, getCom
|
|
|
16390
16448
|
docgenEngine,
|
|
16391
16449
|
additionalComponentNames = []
|
|
16392
16450
|
}) => {
|
|
16393
|
-
let { reactDocgenTypescriptOptions } = typescriptOptions, program = csf._file.path, componentSet = /* @__PURE__ */ new Set(), componentDepth = /* @__PURE__ */ new Map(), localToImport =
|
|
16451
|
+
let { reactDocgenTypescriptOptions } = typescriptOptions, program = csf._file.path, componentSet = /* @__PURE__ */ new Set(), componentDepth = /* @__PURE__ */ new Map(), localToImport = collectImportBindings2(program), jsxDepth = 0;
|
|
16394
16452
|
program.traverse({
|
|
16395
16453
|
JSXElement: {
|
|
16396
16454
|
enter() {
|
|
@@ -16535,7 +16593,9 @@ function extractStorySnippets(csf, componentName, filterStoryIds, references) {
|
|
|
16535
16593
|
return {
|
|
16536
16594
|
id: story.id,
|
|
16537
16595
|
name,
|
|
16538
|
-
|
|
16596
|
+
// Recast defaults to `os.EOL`, which would carriage-return snippets built on Windows.
|
|
16597
|
+
snippet: recast.print(snippet.node, { lineTerminator: `
|
|
16598
|
+
` }).code,
|
|
16539
16599
|
description,
|
|
16540
16600
|
summary,
|
|
16541
16601
|
...warning ? { warning } : {}
|
|
@@ -16555,8 +16615,19 @@ import {
|
|
|
16555
16615
|
extractComponentDescription,
|
|
16556
16616
|
extractDescription
|
|
16557
16617
|
} from "storybook/internal/csf-tools";
|
|
16558
|
-
var openStoryReferences = createStoryReferenceResolver();
|
|
16559
|
-
function
|
|
16618
|
+
var openStoryReferences = createStoryReferenceResolver(), ROOT_ENTRY_FIELDS = ["main", "module", "types", "typings", "browser"];
|
|
16619
|
+
function hasRootEntry(pkg) {
|
|
16620
|
+
let { exports } = pkg;
|
|
16621
|
+
if (exports === void 0)
|
|
16622
|
+
return ROOT_ENTRY_FIELDS.some((field) => field in pkg);
|
|
16623
|
+
if (typeof exports != "object" || Array.isArray(exports))
|
|
16624
|
+
return !0;
|
|
16625
|
+
if (exports === null)
|
|
16626
|
+
return !1;
|
|
16627
|
+
let subpaths = Object.keys(exports).filter((key) => key.startsWith("."));
|
|
16628
|
+
return subpaths.length === 0 || subpaths.includes(".");
|
|
16629
|
+
}
|
|
16630
|
+
function getImportablePackageName(componentPath, fallbackPath) {
|
|
16560
16631
|
let nearestPkg = cachedFindUp("package.json", {
|
|
16561
16632
|
cwd: posix.dirname(componentPath ?? fallbackPath)
|
|
16562
16633
|
});
|
|
@@ -16564,7 +16635,7 @@ function getPackageInfo(componentPath, fallbackPath) {
|
|
|
16564
16635
|
if (!nearestPkg)
|
|
16565
16636
|
return;
|
|
16566
16637
|
let parsed = JSON.parse(cachedReadTextFileSync(nearestPkg));
|
|
16567
|
-
return typeof parsed
|
|
16638
|
+
return typeof parsed != "object" || !parsed || typeof parsed.name != "string" ? void 0 : parsed.private !== !0 || hasRootEntry(parsed) ? parsed.name : void 0;
|
|
16568
16639
|
} catch {
|
|
16569
16640
|
return;
|
|
16570
16641
|
}
|
|
@@ -16653,10 +16724,15 @@ function buildStoryDocsFromResolved({
|
|
|
16653
16724
|
allComponents,
|
|
16654
16725
|
filterStoryIds
|
|
16655
16726
|
}) {
|
|
16656
|
-
let id = getComponentIdFromEntry(entry), title = entry.title.split("/").at(-1).replace(/\s+/g, ""), packageName =
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
16727
|
+
let id = getComponentIdFromEntry(entry), title = entry.title.split("/").at(-1).replace(/\s+/g, ""), packageName = getImportablePackageName(component?.path, storyPath), fallbackImport = getFallbackImport(packageName, componentName), storyEntries = extractStorySnippets(
|
|
16728
|
+
csf,
|
|
16729
|
+
component?.componentName ?? componentName,
|
|
16730
|
+
filterStoryIds,
|
|
16731
|
+
{
|
|
16732
|
+
filePath: storyPath,
|
|
16733
|
+
...openStoryReferences()
|
|
16734
|
+
}
|
|
16735
|
+
), argRefs = storyEntries.imports.map((ref2) => ({ ...ref2, isPackage: !0 })), imports = buildImportStatements2({ refs: [...allComponents, ...argRefs], packageName }).join(`
|
|
16660
16736
|
`).trim() || fallbackImport;
|
|
16661
16737
|
return {
|
|
16662
16738
|
id,
|
|
@@ -16677,7 +16753,7 @@ function buildComponentDocgenFromResolved({
|
|
|
16677
16753
|
subcomponents,
|
|
16678
16754
|
docgenEngine
|
|
16679
16755
|
}) {
|
|
16680
|
-
let id = getComponentIdFromEntry(entry), title = entry.title.split("/").at(-1).replace(/\s+/g, ""), packageName =
|
|
16756
|
+
let id = getComponentIdFromEntry(entry), title = entry.title.split("/").at(-1).replace(/\s+/g, ""), packageName = getImportablePackageName(component?.path, storyPath), base2 = {
|
|
16681
16757
|
id,
|
|
16682
16758
|
name: componentName ?? title,
|
|
16683
16759
|
path: storyFilePath,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_80n7jqmgy9x from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_80n7jqmgy9x from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_80n7jqmgy9x from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_80n7jqmgy9x.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_80n7jqmgy9x.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_80n7jqmgy9x.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -15,10 +15,11 @@ import {
|
|
|
15
15
|
extractArgTypes,
|
|
16
16
|
posix,
|
|
17
17
|
resolveStoryFileComponents
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-EH6QRX5B.js";
|
|
19
19
|
|
|
20
20
|
// src/docgen/docgen-worker.ts
|
|
21
21
|
import { createLazyDocgenMiddleware } from "storybook/internal/common";
|
|
22
|
+
import { logger } from "storybook/internal/node-logger";
|
|
22
23
|
|
|
23
24
|
// src/docgen/buildDocgen.ts
|
|
24
25
|
import { getStoryImportPathFromEntry } from "storybook/internal/common";
|
|
@@ -95,7 +96,8 @@ var createDocgenProvider = () => createLazyDocgenMiddleware({
|
|
|
95
96
|
try {
|
|
96
97
|
let ts = await import("typescript");
|
|
97
98
|
return new ComponentMetaManager(ts.default ?? ts);
|
|
98
|
-
} catch {
|
|
99
|
+
} catch (err) {
|
|
100
|
+
logger.debug(`[reactComponentMeta] Docgen provider disabled: ${err}`);
|
|
99
101
|
return;
|
|
100
102
|
}
|
|
101
103
|
},
|
package/dist/entry-preview.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__definePreview
|
|
3
|
-
} from "./_browser-chunks/chunk-
|
|
3
|
+
} from "./_browser-chunks/chunk-7QIM3PHH.js";
|
|
4
4
|
import {
|
|
5
5
|
entry_preview_exports,
|
|
6
6
|
renderToCanvas
|
|
7
|
-
} from "./_browser-chunks/chunk-
|
|
7
|
+
} from "./_browser-chunks/chunk-EZD3TIPB.js";
|
|
8
8
|
import {
|
|
9
9
|
entry_preview_argtypes_exports
|
|
10
10
|
} from "./_browser-chunks/chunk-LGSTPTL6.js";
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_80n7jqmgy9x from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_80n7jqmgy9x from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_80n7jqmgy9x from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_80n7jqmgy9x.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_80n7jqmgy9x.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_80n7jqmgy9x.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-EH6QRX5B.js";
|
|
28
28
|
|
|
29
29
|
// ../../../node_modules/semver/internal/constants.js
|
|
30
30
|
var require_constants = __commonJS({
|
|
@@ -1556,10 +1556,8 @@ function getSharedComponentMetaManager() {
|
|
|
1556
1556
|
try {
|
|
1557
1557
|
let ts = await import("typescript");
|
|
1558
1558
|
return new ComponentMetaManager(ts.default ?? ts);
|
|
1559
|
-
} catch {
|
|
1560
|
-
logger3.debug(
|
|
1561
|
-
"[reactComponentMeta] TypeScript not available, skipping component meta extraction."
|
|
1562
|
-
);
|
|
1559
|
+
} catch (err) {
|
|
1560
|
+
logger3.debug(`[reactComponentMeta] Skipping component metadata extraction: ${err}`);
|
|
1563
1561
|
return;
|
|
1564
1562
|
}
|
|
1565
1563
|
})()), componentMetaManagerPromise;
|
|
@@ -1835,7 +1833,11 @@ async function internal_getArgTypesData(_input, options) {
|
|
|
1835
1833
|
componentExportName
|
|
1836
1834
|
}), argTypesData;
|
|
1837
1835
|
}
|
|
1838
|
-
var optimizeViteDeps = [
|
|
1836
|
+
var optimizeViteDeps = [
|
|
1837
|
+
"react-dom/client",
|
|
1838
|
+
"react-dom/test-utils",
|
|
1839
|
+
"react/jsx-runtime"
|
|
1840
|
+
];
|
|
1839
1841
|
export {
|
|
1840
1842
|
experimental_docgenProvider,
|
|
1841
1843
|
enrichCsf as experimental_enrichCsf,
|
package/dist/preview.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__definePreview
|
|
3
|
-
} from "./_browser-chunks/chunk-
|
|
4
|
-
import "./_browser-chunks/chunk-
|
|
3
|
+
} from "./_browser-chunks/chunk-7QIM3PHH.js";
|
|
4
|
+
import "./_browser-chunks/chunk-EZD3TIPB.js";
|
|
5
5
|
import "./_browser-chunks/chunk-LGSTPTL6.js";
|
|
6
6
|
import "./_browser-chunks/chunk-2TQVKMJE.js";
|
|
7
7
|
import "./_browser-chunks/chunk-DDIRQRCA.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.7",
|
|
4
4
|
"description": "Storybook React renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"prop-types": "^15.7.2",
|
|
74
74
|
"react-element-to-jsx-string": "patch:react-element-to-jsx-string@npm%3A@7rulnik/react-element-to-jsx-string@15.0.1#~/.yarn/patches/@7rulnik-react-element-to-jsx-string-npm-15.0.1-e53b67c4b3.patch",
|
|
75
75
|
"require-from-string": "^2.0.2",
|
|
76
|
-
"ts-dedent": "^2.
|
|
76
|
+
"ts-dedent": "^2.2.0",
|
|
77
77
|
"type-fest": "^5.6.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
@@ -81,8 +81,8 @@
|
|
|
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.
|
|
85
|
-
"typescript": "^5.9.0 || ^6.0.0"
|
|
84
|
+
"storybook": "^11.0.0-alpha.7",
|
|
85
|
+
"typescript": "^5.9.0 || ^6.0.0 || ^7.0.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependenciesMeta": {
|
|
88
88
|
"@types/react": {
|