storybook 10.2.13 → 10.2.17
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-42KH6DCX.js → builder-manager-6TJY3ZFI.js} +12 -12
- package/dist/_node-chunks/{camelcase-WT2C5B2O.js → camelcase-WGDG2RUC.js} +7 -7
- package/dist/_node-chunks/{chunk-DVLFTQPE.js → chunk-2P7GQSSJ.js} +6 -6
- package/dist/_node-chunks/{chunk-4LRNR45C.js → chunk-4UDQ3QY2.js} +7 -7
- package/dist/_node-chunks/{chunk-3CFMGL7P.js → chunk-5BFW6O7C.js} +13 -8
- package/dist/_node-chunks/{chunk-U72WHZDO.js → chunk-5NCSRIOO.js} +6 -6
- package/dist/_node-chunks/{chunk-TZR6DQXN.js → chunk-6CVEYJMV.js} +17 -9
- package/dist/_node-chunks/chunk-6GUT6MCE.js +18 -0
- package/dist/_node-chunks/{chunk-26ZNYBCV.js → chunk-6HQOJ6UT.js} +10 -10
- package/dist/_node-chunks/{chunk-OHJO7K5J.js → chunk-7LLVOEUH.js} +7 -7
- package/dist/_node-chunks/{chunk-DC4W7PCW.js → chunk-D2NLHLEZ.js} +12 -12
- package/dist/_node-chunks/{chunk-BDN5A54T.js → chunk-DHSNYOX5.js} +17 -14
- package/dist/_node-chunks/chunk-DPLFJUYH.js +61 -0
- package/dist/_node-chunks/{chunk-ZR6GQ4IP.js → chunk-EZCM3WOF.js} +6 -6
- package/dist/_node-chunks/{chunk-2CDWZI34.js → chunk-F3WGD556.js} +9 -9
- package/dist/_node-chunks/{chunk-WGZQUMPK.js → chunk-FTTIUZEI.js} +16 -16
- package/dist/_node-chunks/{chunk-2WRPPG3L.js → chunk-GUXR4BCU.js} +6 -6
- package/dist/_node-chunks/{chunk-4X2SJGHU.js → chunk-GWENOU2B.js} +7 -7
- package/dist/_node-chunks/{chunk-J3D4UFKB.js → chunk-ISYIXRJ6.js} +7 -7
- package/dist/_node-chunks/{chunk-S447H5QO.js → chunk-JLF74TUB.js} +6 -6
- package/dist/_node-chunks/{chunk-DGG37MUT.js → chunk-L2UZ5HNT.js} +6 -6
- package/dist/_node-chunks/{chunk-CUCNHZNT.js → chunk-LZBZZS4H.js} +20 -20
- package/dist/_node-chunks/{chunk-4BS6LSRK.js → chunk-O4LDIM7M.js} +6 -6
- package/dist/_node-chunks/chunk-OX3CM4JO.js +23 -0
- package/dist/_node-chunks/{chunk-42F4BXGV.js → chunk-PCYXWF47.js} +7 -7
- package/dist/_node-chunks/{chunk-EQ54US4S.js → chunk-PIP7JPFH.js} +7 -7
- package/dist/_node-chunks/chunk-QCBS2UZJ.js +20 -0
- package/dist/_node-chunks/{chunk-TMH7JVOQ.js → chunk-XSAUQ5YP.js} +7 -7
- package/dist/_node-chunks/{chunk-RSPUQ3GT.js → chunk-ZBBWIYVL.js} +9 -9
- package/dist/_node-chunks/{chunk-AEHREA72.js → chunk-ZMMRXEMN.js} +8 -8
- package/dist/_node-chunks/{globby-ODT6OUUO.js → globby-QFJ53BYG.js} +9 -9
- package/dist/_node-chunks/{lib-7RNZBJWQ.js → lib-GU4PZRQH.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-X7ZYXT7S.js → mdx-N42X6CFJ-FM4QGF5I.js} +8 -8
- package/dist/_node-chunks/{p-limit-TQLAXCOG.js → p-limit-JOGSZ33O.js} +7 -7
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +13 -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/core-server/index.js +263 -159
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -25
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +5 -5
- package/dist/manager/runtime.js +2 -2
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +5 -5
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/dist/types/index.d.ts +6 -0
- package/package.json +2 -1
- package/dist/_node-chunks/chunk-3BKNA4JV.js +0 -61
- package/dist/_node-chunks/chunk-FDCY4D4J.js +0 -23
- package/dist/_node-chunks/chunk-R7ECNCMP.js +0 -20
- package/dist/_node-chunks/chunk-WCGLVU7G.js +0 -18
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,26 +13,26 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5NCSRIOO.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PIP7JPFH.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5BFW6O7C.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2P7GQSSJ.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QCBS2UZJ.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-O4LDIM7M.js";
|
|
36
36
|
|
|
37
37
|
// ../../node_modules/ejs/lib/utils.js
|
|
38
38
|
var require_utils = __commonJS({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-O4LDIM7M.js";
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/camelcase/index.js
|
|
15
15
|
var UPPERCASE = /[\p{Lu}]/u, LOWERCASE = /[\p{Ll}]/u, LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/u, SEPARATORS = /[_.\- ]+/, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp(String.raw`\d+` + IDENTIFIER.source, "gu"), preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_i0f2i4nx7e.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-O4LDIM7M.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/ms/index.js
|
|
18
18
|
var require_ms = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_i0f2i4nx7e.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2P7GQSSJ.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/exsolve/dist/index.mjs
|
|
18
18
|
import fs, { lstatSync, realpathSync, statSync } from "node:fs";
|
|
@@ -718,7 +718,12 @@ var importMetaResolve = (...args) => typeof import.meta.resolve != "function" &&
|
|
|
718
718
|
try {
|
|
719
719
|
return dirname(fileURLToPath2(importMetaResolve(join(pkg, "package.json"), parent)));
|
|
720
720
|
} catch {
|
|
721
|
-
|
|
721
|
+
try {
|
|
722
|
+
return dirname(fileURLToPath2(importMetaResolve(join(pkg, "package.json"))));
|
|
723
|
+
} catch {
|
|
724
|
+
let req = createRequire(parent ?? import.meta.url);
|
|
725
|
+
return dirname(req.resolve(join(pkg, "package.json")));
|
|
726
|
+
}
|
|
722
727
|
}
|
|
723
728
|
}, isTypescriptLoaderRegistered = !1;
|
|
724
729
|
async function importModule(path2, { skipCache = !1 } = {}) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.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_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ISYIXRJ6.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-O4LDIM7M.js";
|
|
18
18
|
|
|
19
19
|
// src/csf-tools/CsfFile.ts
|
|
20
20
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -663,7 +663,15 @@ var getCsfParsingErrorMessage = ({
|
|
|
663
663
|
enter({ node, parent }) {
|
|
664
664
|
self.hasDefaultExport = !0;
|
|
665
665
|
let decl = self._resolveDeclaration(node.declaration, parent);
|
|
666
|
-
|
|
666
|
+
for (; t3.isCallExpression(decl); )
|
|
667
|
+
if (t3.isObjectExpression(decl.arguments[0])) {
|
|
668
|
+
decl = decl.arguments[0];
|
|
669
|
+
break;
|
|
670
|
+
} else if (t3.isMemberExpression(decl.callee) && t3.isCallExpression(decl.callee.object))
|
|
671
|
+
decl = decl.callee.object;
|
|
672
|
+
else
|
|
673
|
+
break;
|
|
674
|
+
t3.isObjectExpression(decl) ? self._parseExportsObject(decl) : logger2.warn(
|
|
667
675
|
getCsfParsingErrorMessage({
|
|
668
676
|
expectedType: "ObjectExpression",
|
|
669
677
|
foundType: decl?.type,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.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.17";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.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
|
StorybookError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-L2UZ5HNT.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ISYIXRJ6.js";
|
|
18
18
|
import {
|
|
19
19
|
require_picocolors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PCYXWF47.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-O4LDIM7M.js";
|
|
24
24
|
|
|
25
25
|
// src/server-errors.ts
|
|
26
26
|
var import_picocolors = __toESM(require_picocolors(), 1), import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.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
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O4LDIM7M.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
|
|
17
17
|
var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __require2 = ((x) => typeof __require < "u" ? __require : typeof Proxy < "u" ? new Proxy(x, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,27 +14,27 @@ import {
|
|
|
14
14
|
detectIndent,
|
|
15
15
|
invariant,
|
|
16
16
|
up2 as up
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JLF74TUB.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePackageDir
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5BFW6O7C.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ISYIXRJ6.js";
|
|
24
24
|
import {
|
|
25
25
|
babelParse,
|
|
26
26
|
recast,
|
|
27
27
|
traverse,
|
|
28
28
|
types
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZBBWIYVL.js";
|
|
30
30
|
import {
|
|
31
31
|
require_picocolors
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PCYXWF47.js";
|
|
33
33
|
import {
|
|
34
34
|
__commonJS,
|
|
35
35
|
__require,
|
|
36
36
|
__toESM
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-O4LDIM7M.js";
|
|
38
38
|
|
|
39
39
|
// ../../node_modules/esprima/dist/esprima.js
|
|
40
40
|
var require_esprima = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.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
|
version
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6GUT6MCE.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
execa,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getProjectRoot,
|
|
20
20
|
resolvePathInStorybookCache,
|
|
21
21
|
up
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LZBZZS4H.js";
|
|
23
23
|
import {
|
|
24
24
|
DATA_FETCHING_PACKAGES,
|
|
25
25
|
I18N_PACKAGES,
|
|
@@ -29,20 +29,20 @@ import {
|
|
|
29
29
|
TEST_PACKAGES,
|
|
30
30
|
UI_LIBRARY_PACKAGES,
|
|
31
31
|
matchesPackagePattern
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EZCM3WOF.js";
|
|
33
33
|
import {
|
|
34
34
|
globalSettings
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-F3WGD556.js";
|
|
36
36
|
import {
|
|
37
37
|
resolvePackageDir
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5BFW6O7C.js";
|
|
39
39
|
import {
|
|
40
40
|
slash
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-QCBS2UZJ.js";
|
|
42
42
|
import {
|
|
43
43
|
__commonJS,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-O4LDIM7M.js";
|
|
46
46
|
|
|
47
47
|
// ../../node_modules/fetch-retry/index.js
|
|
48
48
|
var require_fetch_retry = __commonJS({
|
|
@@ -708,7 +708,10 @@ var metaFrameworks = {
|
|
|
708
708
|
"@tanstack/react-router": "tanstack-react",
|
|
709
709
|
"@react-router/dev": "react-router",
|
|
710
710
|
"@remix-run/dev": "remix",
|
|
711
|
-
expo: "expo"
|
|
711
|
+
expo: "expo",
|
|
712
|
+
"vike-react": "vike-react",
|
|
713
|
+
"vike-vue": "vike-vue",
|
|
714
|
+
"vike-solid": "vike-solid"
|
|
712
715
|
}, sanitizeAddonName = (name) => {
|
|
713
716
|
let normalized = name.replace(/\\/g, "/"), candidate = normalized;
|
|
714
717
|
normalized.includes("/node_modules/") && (candidate = normalized.split("/node_modules/").pop() ?? normalized);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.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.17",
|
|
16
|
+
"@storybook/addon-docs": "10.2.17",
|
|
17
|
+
"@storybook/addon-links": "10.2.17",
|
|
18
|
+
"@storybook/addon-onboarding": "10.2.17",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.2.17",
|
|
20
|
+
"@storybook/addon-themes": "10.2.17",
|
|
21
|
+
"@storybook/addon-vitest": "10.2.17",
|
|
22
|
+
"@storybook/builder-vite": "10.2.17",
|
|
23
|
+
"@storybook/builder-webpack5": "10.2.17",
|
|
24
|
+
storybook: "10.2.17",
|
|
25
|
+
"@storybook/angular": "10.2.17",
|
|
26
|
+
"@storybook/ember": "10.2.17",
|
|
27
|
+
"@storybook/html-vite": "10.2.17",
|
|
28
|
+
"@storybook/nextjs": "10.2.17",
|
|
29
|
+
"@storybook/nextjs-vite": "10.2.17",
|
|
30
|
+
"@storybook/preact-vite": "10.2.17",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.2.17",
|
|
32
|
+
"@storybook/react-vite": "10.2.17",
|
|
33
|
+
"@storybook/react-webpack5": "10.2.17",
|
|
34
|
+
"@storybook/server-webpack5": "10.2.17",
|
|
35
|
+
"@storybook/svelte-vite": "10.2.17",
|
|
36
|
+
"@storybook/sveltekit": "10.2.17",
|
|
37
|
+
"@storybook/vue3-vite": "10.2.17",
|
|
38
|
+
"@storybook/web-components-vite": "10.2.17",
|
|
39
|
+
sb: "10.2.17",
|
|
40
|
+
"@storybook/cli": "10.2.17",
|
|
41
|
+
"@storybook/codemod": "10.2.17",
|
|
42
|
+
"@storybook/core-webpack": "10.2.17",
|
|
43
|
+
"create-storybook": "10.2.17",
|
|
44
|
+
"@storybook/csf-plugin": "10.2.17",
|
|
45
|
+
"eslint-plugin-storybook": "10.2.17",
|
|
46
|
+
"@storybook/react-dom-shim": "10.2.17",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.2.17",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.2.17",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.2.17",
|
|
50
|
+
"@storybook/html": "10.2.17",
|
|
51
|
+
"@storybook/preact": "10.2.17",
|
|
52
|
+
"@storybook/react": "10.2.17",
|
|
53
|
+
"@storybook/server": "10.2.17",
|
|
54
|
+
"@storybook/svelte": "10.2.17",
|
|
55
|
+
"@storybook/vue3": "10.2.17",
|
|
56
|
+
"@storybook/web-components": "10.2.17"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.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
|
invariant
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GUXR4BCU.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ISYIXRJ6.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-O4LDIM7M.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/globalSettings.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.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_build
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PIP7JPFH.js";
|
|
15
15
|
import {
|
|
16
16
|
StorybookError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-L2UZ5HNT.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JLF74TUB.js";
|
|
21
21
|
import {
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5BFW6O7C.js";
|
|
24
24
|
import {
|
|
25
25
|
relative
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2P7GQSSJ.js";
|
|
27
27
|
import {
|
|
28
28
|
STORYBOOK_FN_PLACEHOLDER,
|
|
29
29
|
generateDummyArgsFromArgTypes,
|
|
30
30
|
loadConfig,
|
|
31
31
|
printConfig
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6CVEYJMV.js";
|
|
33
33
|
import {
|
|
34
34
|
require_dist
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ISYIXRJ6.js";
|
|
36
36
|
import {
|
|
37
37
|
require_picocolors
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PCYXWF47.js";
|
|
39
39
|
import {
|
|
40
40
|
__toESM
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-O4LDIM7M.js";
|
|
42
42
|
|
|
43
43
|
// src/core-server/utils/server-statics.ts
|
|
44
44
|
import { existsSync, statSync } from "node:fs";
|
|
@@ -259,7 +259,7 @@ import { logger as logger3 } from "storybook/internal/node-logger";
|
|
|
259
259
|
var import_ts_dedent2 = __toESM(require_dist(), 1);
|
|
260
260
|
|
|
261
261
|
// src/core-server/utils/get-component-variable-name.ts
|
|
262
|
-
var getComponentVariableName = async (name) => (await import("./camelcase-
|
|
262
|
+
var getComponentVariableName = async (name) => (await import("./camelcase-WGDG2RUC.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
|
|
263
263
|
|
|
264
264
|
// src/core-server/utils/new-story-templates/csf-factory-template.ts
|
|
265
265
|
async function getCsfFactoryTemplateForNewStoryFile(data) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a8uob0vk0pn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a8uob0vk0pn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a8uob0vk0pn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a8uob0vk0pn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a8uob0vk0pn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a8uob0vk0pn.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|