storybook 10.2.0-beta.5 → 10.2.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-6HNC5XRN.js → builder-manager-C463DWQN.js} +12 -12
- package/dist/_node-chunks/{camelcase-IYCRRXA5.js → camelcase-Y5LTSISE.js} +7 -7
- package/dist/_node-chunks/{chunk-Y6FR5UWD.js → chunk-4QVBTE7M.js} +7 -7
- package/dist/_node-chunks/{chunk-XFRIIIR5.js → chunk-5T2PCIM6.js} +16 -16
- package/dist/_node-chunks/{chunk-KXY4T45O.js → chunk-6QCIDOPJ.js} +20 -20
- package/dist/_node-chunks/chunk-7DTTLDGY.js +23 -0
- package/dist/_node-chunks/{chunk-JA7NYZ5J.js → chunk-7FKTXNX7.js} +9 -9
- package/dist/_node-chunks/{chunk-NW4ZFC4G.js → chunk-7LLBURFX.js} +12 -12
- package/dist/_node-chunks/{chunk-CMQAD4WN.js → chunk-7MGQ6XJD.js} +9 -9
- package/dist/_node-chunks/{chunk-OHVVMOY4.js → chunk-GFKN7CEI.js} +10 -10
- package/dist/_node-chunks/{chunk-RX5EJSWN.js → chunk-HK3SJFH5.js} +7 -7
- package/dist/_node-chunks/{chunk-MMY6BHPB.js → chunk-ICMT47BJ.js} +7 -7
- package/dist/_node-chunks/{chunk-TL7YS5OJ.js → chunk-IMMBMNP7.js} +7 -7
- package/dist/_node-chunks/{chunk-WQ6RUO2U.js → chunk-JU7MZIRN.js} +8 -8
- package/dist/_node-chunks/{chunk-6NGDJBHX.js → chunk-K53Q6JM5.js} +6 -6
- package/dist/_node-chunks/{chunk-GQ3W7RNH.js → chunk-OWZ2VX4F.js} +7 -7
- package/dist/_node-chunks/{chunk-BQLJQU5S.js → chunk-OXJURHEN.js} +7 -7
- package/dist/_node-chunks/{chunk-G555WVXU.js → chunk-P4K3OTNT.js} +6 -6
- package/dist/_node-chunks/{chunk-2JDPJ6YT.js → chunk-PDICEGYJ.js} +6 -6
- package/dist/_node-chunks/{chunk-SVOF2HZJ.js → chunk-QA7GCRBP.js} +6 -6
- package/dist/_node-chunks/chunk-QX2UDUQ6.js +18 -0
- package/dist/_node-chunks/{chunk-DMYLXMGZ.js → chunk-REM65RTQ.js} +6 -6
- package/dist/_node-chunks/{chunk-UQ7G5JAB.js → chunk-RJMXG4OO.js} +6 -6
- package/dist/_node-chunks/chunk-TJR5UAMR.js +61 -0
- package/dist/_node-chunks/{chunk-OLBWWB7V.js → chunk-TRMGP5US.js} +7 -7
- package/dist/_node-chunks/{chunk-3UIUEILA.js → chunk-VONTSCH6.js} +6 -6
- package/dist/_node-chunks/{chunk-T7IXSAG3.js → chunk-VYJ27OHZ.js} +8 -8
- package/dist/_node-chunks/{chunk-FILQYYM4.js → chunk-WGJXF6UC.js} +7 -7
- package/dist/_node-chunks/{chunk-OQRIJVFV.js → chunk-WJUD5QGU.js} +6 -6
- package/dist/_node-chunks/{chunk-ZHRPEVJJ.js → chunk-YV4PGYQV.js} +13 -13
- package/dist/_node-chunks/{globby-FBLNM57G.js → globby-PJBFMKYG.js} +9 -9
- package/dist/_node-chunks/{lib-GDCHT75J.js → lib-JFMIKKXD.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-MCJFRV3K.js → mdx-N42X6CFJ-BYGXNYNQ.js} +8 -8
- package/dist/_node-chunks/{p-limit-AURGZ6D4.js → p-limit-VUZZ7QLP.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/core-server/index.js +35 -35
- 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 +1 -1
- 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-api/index.d.ts +67 -68
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-62RIBMM5.js +0 -61
- package/dist/_node-chunks/chunk-MMY3MCUW.js +0 -23
- package/dist/_node-chunks/chunk-SMNCEA3Q.js +0 -18
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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-PDICEGYJ.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IMMBMNP7.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OXJURHEN.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VONTSCH6.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-K53Q6JM5.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-P4K3OTNT.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_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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-P4K3OTNT.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,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-P4K3OTNT.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/ts-dedent/dist/index.js
|
|
17
17
|
var require_dist = __commonJS({
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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-IMMBMNP7.js";
|
|
15
15
|
import {
|
|
16
16
|
StorybookError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RJMXG4OO.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WJUD5QGU.js";
|
|
21
21
|
import {
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OXJURHEN.js";
|
|
24
24
|
import {
|
|
25
25
|
relative
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VONTSCH6.js";
|
|
27
27
|
import {
|
|
28
28
|
STORYBOOK_FN_PLACEHOLDER,
|
|
29
29
|
generateDummyArgsFromArgTypes,
|
|
30
30
|
loadConfig,
|
|
31
31
|
printConfig
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VYJ27OHZ.js";
|
|
33
33
|
import {
|
|
34
34
|
require_dist
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4QVBTE7M.js";
|
|
36
36
|
import {
|
|
37
37
|
require_picocolors
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TRMGP5US.js";
|
|
39
39
|
import {
|
|
40
40
|
__toESM
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-P4K3OTNT.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-Y5LTSISE.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,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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
|
versions_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TJR5UAMR.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picomatch,
|
|
17
17
|
toPath,
|
|
18
18
|
traversePathUp
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WGJXF6UC.js";
|
|
20
20
|
import {
|
|
21
21
|
logger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JU7MZIRN.js";
|
|
23
23
|
import {
|
|
24
24
|
any,
|
|
25
25
|
detectIndent,
|
|
@@ -27,31 +27,31 @@ import {
|
|
|
27
27
|
invariant,
|
|
28
28
|
up,
|
|
29
29
|
up2
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-WJUD5QGU.js";
|
|
31
31
|
import {
|
|
32
32
|
importModule,
|
|
33
33
|
resolveModulePath,
|
|
34
34
|
resolvePackageDir,
|
|
35
35
|
safeResolveModule
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-OXJURHEN.js";
|
|
37
37
|
import {
|
|
38
38
|
join,
|
|
39
39
|
parse,
|
|
40
40
|
resolve
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VONTSCH6.js";
|
|
42
42
|
import {
|
|
43
43
|
slash
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-K53Q6JM5.js";
|
|
45
45
|
import {
|
|
46
46
|
glob,
|
|
47
47
|
globSync
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-OWZ2VX4F.js";
|
|
49
49
|
import {
|
|
50
50
|
require_dist
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-4QVBTE7M.js";
|
|
52
52
|
import {
|
|
53
53
|
require_picocolors
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-TRMGP5US.js";
|
|
55
55
|
import {
|
|
56
56
|
__commonJS,
|
|
57
57
|
__esm,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
__require,
|
|
60
60
|
__toCommonJS,
|
|
61
61
|
__toESM
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-P4K3OTNT.js";
|
|
63
63
|
|
|
64
64
|
// ../../node_modules/resolve/lib/homedir.js
|
|
65
65
|
var require_homedir = __commonJS({
|
|
@@ -11083,7 +11083,7 @@ function normalizeStoryPath(filename) {
|
|
|
11083
11083
|
|
|
11084
11084
|
// src/common/utils/envs.ts
|
|
11085
11085
|
async function loadEnvs(options = {}) {
|
|
11086
|
-
let { getEnvironment } = await import("./lib-
|
|
11086
|
+
let { getEnvironment } = await import("./lib-JFMIKKXD.js"), defaultNodeEnv = options.production ? "production" : "development", baseEnv = {
|
|
11087
11087
|
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
11088
11088
|
NODE_ENV: process.env.NODE_ENV || defaultNodeEnv,
|
|
11089
11089
|
NODE_PATH: process.env.NODE_PATH || "",
|
|
@@ -18552,7 +18552,7 @@ async function scanAndTransformFiles({
|
|
|
18552
18552
|
initialValue: defaultGlob
|
|
18553
18553
|
});
|
|
18554
18554
|
logger15.log("Scanning for affected files...");
|
|
18555
|
-
let globby = (await import("./globby-
|
|
18555
|
+
let globby = (await import("./globby-PJBFMKYG.js")).globby, sourceFiles = await globby([glob2], {
|
|
18556
18556
|
...commonGlobOptions(""),
|
|
18557
18557
|
ignore: ["**/node_modules/**"],
|
|
18558
18558
|
dot: !0,
|
|
@@ -18573,7 +18573,7 @@ function transformImports(source, renamedImports) {
|
|
|
18573
18573
|
return hasChanges ? transformed : null;
|
|
18574
18574
|
}
|
|
18575
18575
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
18576
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
18576
|
+
let errors = [], { default: pLimit } = await import("./p-limit-VUZZ7QLP.js"), limit = pLimit(10);
|
|
18577
18577
|
return await Promise.all(
|
|
18578
18578
|
files.map(
|
|
18579
18579
|
(file) => limit(async () => {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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-WJUD5QGU.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,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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-REM65RTQ.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4QVBTE7M.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-P4K3OTNT.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/globalSettings.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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-WJUD5QGU.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePackageDir
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OXJURHEN.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4QVBTE7M.js";
|
|
24
24
|
import {
|
|
25
25
|
babelParse,
|
|
26
26
|
recast,
|
|
27
27
|
traverse,
|
|
28
28
|
types
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-7MGQ6XJD.js";
|
|
30
30
|
import {
|
|
31
31
|
require_picocolors
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TRMGP5US.js";
|
|
33
33
|
import {
|
|
34
34
|
__commonJS,
|
|
35
35
|
__require,
|
|
36
36
|
__toESM
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-P4K3OTNT.js";
|
|
38
38
|
|
|
39
39
|
// ../../node_modules/esprima/dist/esprima.js
|
|
40
40
|
var require_esprima = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,15 +12,15 @@ var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_lib,
|
|
14
14
|
require_src
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HK3SJFH5.js";
|
|
16
16
|
import {
|
|
17
17
|
require_picocolors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TRMGP5US.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P4K3OTNT.js";
|
|
24
24
|
|
|
25
25
|
// ../../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
26
26
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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-RJMXG4OO.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4QVBTE7M.js";
|
|
18
18
|
import {
|
|
19
19
|
require_picocolors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TRMGP5US.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P4K3OTNT.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,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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_nd4p3i1nxyh.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-P4K3OTNT.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/ms/index.js
|
|
18
18
|
var require_ms = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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-P4K3OTNT.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_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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_nd4p3i1nxyh.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-P4K3OTNT.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/totalist/sync/index.js
|
|
18
18
|
var require_sync = __commonJS({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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_picocolors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TRMGP5US.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__export,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-P4K3OTNT.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/are-we-there-yet/lib/tracker-base.js
|
|
23
23
|
var require_tracker_base = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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_3ym3gv1txoi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3ym3gv1txoi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3ym3gv1txoi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3ym3gv1txoi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3ym3gv1txoi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3ym3gv1txoi.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_nd4p3i1nxyh.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__toESM
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-P4K3OTNT.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/balanced-match/index.js
|
|
18
18
|
var require_balanced_match = __commonJS({
|