storybook 10.2.18 → 10.2.19
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-RIBA45WN.js → builder-manager-3EGNF6QO.js} +12 -12
- package/dist/_node-chunks/{camelcase-PTIUS5SD.js → camelcase-DA6MKSOQ.js} +7 -7
- package/dist/_node-chunks/{chunk-BL76H6BS.js → chunk-2RKLK4B2.js} +20 -20
- package/dist/_node-chunks/{chunk-GEOY3LGC.js → chunk-57ELZD3S.js} +7 -7
- package/dist/_node-chunks/{chunk-N566H3BO.js → chunk-5A2YSLP6.js} +6 -6
- package/dist/_node-chunks/{chunk-NWXGLC75.js → chunk-7L22HHNN.js} +7 -7
- package/dist/_node-chunks/{chunk-LI25JRNF.js → chunk-ADTXI3R5.js} +7 -7
- package/dist/_node-chunks/{chunk-TN4S6HTX.js → chunk-CGEEACTP.js} +6 -6
- package/dist/_node-chunks/{chunk-LFYJMNAU.js → chunk-DAUUD63K.js} +6 -6
- package/dist/_node-chunks/{chunk-NUBDB567.js → chunk-FJYNYOAM.js} +7 -7
- package/dist/_node-chunks/{chunk-GW26M2QI.js → chunk-FJZ625UU.js} +16 -16
- package/dist/_node-chunks/{chunk-DTW6SUQA.js → chunk-GD5QW2LP.js} +6 -6
- package/dist/_node-chunks/{chunk-UR6MAPFP.js → chunk-HBF5DW76.js} +9 -9
- package/dist/_node-chunks/{chunk-D6VMYSTQ.js → chunk-HIZAGWGK.js} +6 -6
- package/dist/_node-chunks/{chunk-5QCKF7SG.js → chunk-JGHDDUW7.js} +7 -7
- package/dist/_node-chunks/{chunk-7XBFFTF6.js → chunk-KKWHTEMZ.js} +7 -7
- package/dist/_node-chunks/{chunk-ZQWY5OI2.js → chunk-M3DDSQUK.js} +12 -12
- package/dist/_node-chunks/{chunk-QK55I4BK.js → chunk-MFH2WZ37.js} +8 -8
- package/dist/_node-chunks/{chunk-EMQNXNKL.js → chunk-OOCT2CCT.js} +9 -9
- package/dist/_node-chunks/{chunk-QLEKU7Z3.js → chunk-R37DSTA2.js} +7 -7
- package/dist/_node-chunks/chunk-RFX2XUEG.js +18 -0
- package/dist/_node-chunks/{chunk-AGJYR5ZD.js → chunk-SBCV2VV5.js} +6 -6
- package/dist/_node-chunks/chunk-UCFQGJDO.js +61 -0
- package/dist/_node-chunks/chunk-UMKJ2KQ3.js +20 -0
- package/dist/_node-chunks/{chunk-KHTDDGOW.js → chunk-V5TALVQU.js} +8 -8
- package/dist/_node-chunks/{chunk-BVOLBFBM.js → chunk-XDHYNCEI.js} +6 -6
- package/dist/_node-chunks/{chunk-AV7ODRN4.js → chunk-XI7JO6US.js} +7 -7
- package/dist/_node-chunks/chunk-XKYZMTQG.js +23 -0
- package/dist/_node-chunks/{chunk-ISANGN5J.js → chunk-XRGW44MZ.js} +13 -13
- package/dist/_node-chunks/{chunk-M2E4L6QV.js → chunk-ZBOVW37D.js} +10 -10
- package/dist/_node-chunks/{globby-Z6HTDFCE.js → globby-TNSEXWA7.js} +9 -9
- package/dist/_node-chunks/{lib-7HXHEFG7.js → lib-Z4ZNUNVD.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-DJXEHK43.js → mdx-N42X6CFJ-YBUNPAJO.js} +8 -8
- package/dist/_node-chunks/{p-limit-JUIOQVEF.js → p-limit-LDRQGYZD.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 +68 -67
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-ASOXY63E.js +0 -20
- package/dist/_node-chunks/chunk-ATF6YCRL.js +0 -61
- package/dist/_node-chunks/chunk-DHSVTLVJ.js +0 -18
- package/dist/_node-chunks/chunk-JW3FM3PO.js +0 -23
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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-XDHYNCEI.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KKWHTEMZ.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JGHDDUW7.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HIZAGWGK.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UMKJ2KQ3.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GD5QW2LP.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_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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-GD5QW2LP.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,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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-UCFQGJDO.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picomatch,
|
|
17
17
|
toPath,
|
|
18
18
|
traversePathUp
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7L22HHNN.js";
|
|
20
20
|
import {
|
|
21
21
|
logger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-V5TALVQU.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-DAUUD63K.js";
|
|
31
31
|
import {
|
|
32
32
|
importModule,
|
|
33
33
|
resolveModulePath,
|
|
34
34
|
resolvePackageDir,
|
|
35
35
|
safeResolveModule
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-JGHDDUW7.js";
|
|
37
37
|
import {
|
|
38
38
|
join,
|
|
39
39
|
parse,
|
|
40
40
|
resolve
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-HIZAGWGK.js";
|
|
42
42
|
import {
|
|
43
43
|
slash
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-UMKJ2KQ3.js";
|
|
45
45
|
import {
|
|
46
46
|
glob,
|
|
47
47
|
globSync
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-57ELZD3S.js";
|
|
49
49
|
import {
|
|
50
50
|
require_dist
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-FJYNYOAM.js";
|
|
52
52
|
import {
|
|
53
53
|
require_picocolors
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ADTXI3R5.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-GD5QW2LP.js";
|
|
63
63
|
|
|
64
64
|
// ../../node_modules/resolve/lib/homedir.js
|
|
65
65
|
var require_homedir = __commonJS({
|
|
@@ -11085,7 +11085,7 @@ function normalizeStoryPath(filename) {
|
|
|
11085
11085
|
|
|
11086
11086
|
// src/common/utils/envs.ts
|
|
11087
11087
|
async function loadEnvs(options = {}) {
|
|
11088
|
-
let { getEnvironment } = await import("./lib-
|
|
11088
|
+
let { getEnvironment } = await import("./lib-Z4ZNUNVD.js"), defaultNodeEnv = options.production ? "production" : "development", baseEnv = {
|
|
11089
11089
|
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
11090
11090
|
NODE_ENV: process.env.NODE_ENV || defaultNodeEnv,
|
|
11091
11091
|
NODE_PATH: process.env.NODE_PATH || "",
|
|
@@ -18560,7 +18560,7 @@ async function scanAndTransformFiles({
|
|
|
18560
18560
|
initialValue: defaultGlob
|
|
18561
18561
|
});
|
|
18562
18562
|
logger15.log("Scanning for affected files...");
|
|
18563
|
-
let globby = (await import("./globby-
|
|
18563
|
+
let globby = (await import("./globby-TNSEXWA7.js")).globby, sourceFiles = await globby([glob2], {
|
|
18564
18564
|
...commonGlobOptions(""),
|
|
18565
18565
|
ignore: ["**/node_modules/**"],
|
|
18566
18566
|
dot: !0,
|
|
@@ -18581,7 +18581,7 @@ function transformImports(source, renamedImports) {
|
|
|
18581
18581
|
return hasChanges ? transformed : null;
|
|
18582
18582
|
}
|
|
18583
18583
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
18584
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
18584
|
+
let errors = [], { default: pLimit } = await import("./p-limit-LDRQGYZD.js"), limit = pLimit(10);
|
|
18585
18585
|
return await Promise.all(
|
|
18586
18586
|
files.map(
|
|
18587
18587
|
(file) => limit(async () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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_p6dx8ym9vjp.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__toESM
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GD5QW2LP.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/balanced-match/index.js
|
|
18
18
|
var require_balanced_match = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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_p6dx8ym9vjp.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GD5QW2LP.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/picomatch/lib/constants.js
|
|
18
18
|
var require_constants = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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-GD5QW2LP.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/picocolors/picocolors.js
|
|
17
17
|
var require_picocolors = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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-GD5QW2LP.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_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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-KKWHTEMZ.js";
|
|
15
15
|
import {
|
|
16
16
|
StorybookError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5A2YSLP6.js";
|
|
18
18
|
import {
|
|
19
19
|
up
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DAUUD63K.js";
|
|
21
21
|
import {
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JGHDDUW7.js";
|
|
24
24
|
import {
|
|
25
25
|
relative
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HIZAGWGK.js";
|
|
27
27
|
import {
|
|
28
28
|
STORYBOOK_FN_PLACEHOLDER,
|
|
29
29
|
generateDummyArgsFromArgTypes,
|
|
30
30
|
loadConfig,
|
|
31
31
|
printConfig
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MFH2WZ37.js";
|
|
33
33
|
import {
|
|
34
34
|
require_dist
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FJYNYOAM.js";
|
|
36
36
|
import {
|
|
37
37
|
require_picocolors
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ADTXI3R5.js";
|
|
39
39
|
import {
|
|
40
40
|
__toESM
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-GD5QW2LP.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-DA6MKSOQ.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_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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-CGEEACTP.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FJYNYOAM.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GD5QW2LP.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_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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_p6dx8ym9vjp.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HIZAGWGK.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/exsolve/dist/index.mjs
|
|
18
18
|
import fs, { lstatSync, realpathSync, statSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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_p6dx8ym9vjp.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GD5QW2LP.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/totalist/sync/index.js
|
|
18
18
|
var require_sync = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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-DAUUD63K.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePackageDir
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JGHDDUW7.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FJYNYOAM.js";
|
|
24
24
|
import {
|
|
25
25
|
babelParse,
|
|
26
26
|
recast,
|
|
27
27
|
traverse,
|
|
28
28
|
types
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-OOCT2CCT.js";
|
|
30
30
|
import {
|
|
31
31
|
require_picocolors
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ADTXI3R5.js";
|
|
33
33
|
import {
|
|
34
34
|
__commonJS,
|
|
35
35
|
__require,
|
|
36
36
|
__toESM
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-GD5QW2LP.js";
|
|
38
38
|
|
|
39
39
|
// ../../node_modules/esprima/dist/esprima.js
|
|
40
40
|
var require_esprima = __commonJS({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_q3hucshmk7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_q3hucshmk7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_q3hucshmk7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_q3hucshmk7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_q3hucshmk7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_q3hucshmk7.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-FJYNYOAM.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GD5QW2LP.js";
|
|
18
18
|
|
|
19
19
|
// src/csf-tools/CsfFile.ts
|
|
20
20
|
var import_ts_dedent = __toESM(require_dist(), 1);
|