storybook 10.1.0-alpha.11 → 10.1.0-alpha.12
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-PMPHOSM2.js → builder-manager-YUOHSIUB.js} +12 -12
- package/dist/_node-chunks/camelcase-JREIL7NV.js +18 -0
- package/dist/_node-chunks/{chunk-YHRFI6BE.js → chunk-2D2IODUU.js} +10 -10
- package/dist/_node-chunks/{chunk-5QK5MSOI.js → chunk-2DMESZFJ.js} +7 -7
- package/dist/_node-chunks/{chunk-JCRM2YVK.js → chunk-4FT2DHGE.js} +8 -8
- package/dist/_node-chunks/{chunk-ZZSRFAC6.js → chunk-5HV3B5OP.js} +14 -14
- package/dist/_node-chunks/{chunk-WLHMN7AP.js → chunk-5KLIDWFN.js} +7 -7
- package/dist/_node-chunks/{chunk-SPQXMU2Q.js → chunk-A4APXFQ2.js} +7 -7
- package/dist/_node-chunks/{chunk-MJ3WOS6F.js → chunk-B6JWY6PC.js} +6 -6
- package/dist/_node-chunks/{chunk-UY26MQLT.js → chunk-CZ5GHJCC.js} +7 -7
- package/dist/_node-chunks/{chunk-PHOZWZZO.js → chunk-DUXPWBOK.js} +7 -7
- package/dist/_node-chunks/{chunk-4GZCFQFG.js → chunk-DWXTZT3D.js} +6 -6
- package/dist/_node-chunks/chunk-E5FJS66Z.js +20 -0
- package/dist/_node-chunks/{chunk-QECOQWRJ.js → chunk-EZWWR7AR.js} +15 -15
- package/dist/_node-chunks/{chunk-L7MYXJUM.js → chunk-FDXFVHIL.js} +7 -7
- package/dist/_node-chunks/{chunk-LCZO45L7.js → chunk-FZLRAH4N.js} +7 -7
- package/dist/_node-chunks/{chunk-C2GQVDWI.js → chunk-HZG65SU3.js} +7 -7
- package/dist/_node-chunks/chunk-IXVYNBMD.js +18 -0
- package/dist/_node-chunks/{chunk-ZZALGOA6.js → chunk-JARUEMEP.js} +7 -7
- package/dist/_node-chunks/{chunk-GQJOWVVR.js → chunk-LIH7MTP7.js} +7 -7
- package/dist/_node-chunks/{chunk-7I22Y76Z.js → chunk-N5GIRUP5.js} +8 -8
- package/dist/_node-chunks/{chunk-32NE3UE3.js → chunk-NAOYEL54.js} +7 -7
- package/dist/_node-chunks/{chunk-LXG4DK35.js → chunk-O5DA7YLO.js} +9 -9
- package/dist/_node-chunks/{chunk-XGVLB4UJ.js → chunk-OP3INKUD.js} +6 -6
- package/dist/_node-chunks/{chunk-LR3QITDI.js → chunk-QCO2ZM7F.js} +12 -12
- package/dist/_node-chunks/{chunk-R6HWGZWD.js → chunk-QYQIZBS6.js} +6 -6
- package/dist/_node-chunks/{chunk-TXZY6V6O.js → chunk-SEMIAAWG.js} +8 -8
- package/dist/_node-chunks/{chunk-ZZPBSYA5.js → chunk-TS2UUH2J.js} +7 -7
- package/dist/_node-chunks/{chunk-BBOP3XCK.js → chunk-WA6KZQZ2.js} +6 -6
- package/dist/_node-chunks/{chunk-GG2WQZSG.js → chunk-WFLWJO24.js} +21 -21
- package/dist/_node-chunks/{chunk-AKTRSR3O.js → chunk-WUXQMQCB.js} +6 -6
- package/dist/_node-chunks/{chunk-6ZOLETQK.js → chunk-XXPJ7XR3.js} +6 -6
- package/dist/_node-chunks/chunk-Y4E6IGQF.js +61 -0
- package/dist/_node-chunks/{chunk-KK4AT5F3.js → chunk-ZL3AFKRX.js} +12 -12
- package/dist/_node-chunks/{chunk-UGDPX5LE.js → chunk-ZXSD6L3S.js} +6 -6
- package/dist/_node-chunks/{dist-4DWOCZUD.js → dist-DS2B5A3J.js} +9 -9
- package/dist/_node-chunks/{globby-AAARUKEU.js → globby-6THB7HVX.js} +9 -9
- package/dist/_node-chunks/{lib-HEUKGL62.js → lib-5NKX4YGG.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-DCVRPS6N.js → mdx-N42X6CFJ-ZLT3QOFF.js} +8 -8
- package/dist/_node-chunks/{p-limit-F5ZKJ6WZ.js → p-limit-PDMWNG7W.js} +7 -7
- package/dist/_node-chunks/{plugin-7YY7JXCH.js → plugin-6XMWOGPO.js} +10 -10
- package/dist/_node-chunks/{plugin-SZP3CW6W.js → plugin-LTOXVT6A.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-TGKNDPO6.js → webpack-inject-mocker-runtime-plugin-2SFE5LQS.js} +25 -66
- package/dist/_node-chunks/{webpack-mock-plugin-LNTZZFBE.js → webpack-mock-plugin-CX5J2U56.js} +9 -9
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +11 -11
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +21 -21
- package/dist/common/index.js +20 -20
- package/dist/core-server/index.js +36 -36
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +21 -21
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
- 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/node-logger/index.js +14 -14
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +24 -24
- package/package.json +1 -1
- package/dist/_node-chunks/camelcase-K3IOOFQW.js +0 -18
- package/dist/_node-chunks/chunk-QH4V5YDB.js +0 -20
- package/dist/_node-chunks/chunk-WK3EMYK6.js +0 -61
- package/dist/_node-chunks/chunk-YK4KVMFW.js +0 -18
package/dist/_node-chunks/{webpack-mock-plugin-LNTZZFBE.js → webpack-mock-plugin-CX5J2U56.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
getIsExternal,
|
|
16
16
|
resolveExternalModule,
|
|
17
17
|
resolveWithExtensions
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-TS2UUH2J.js";
|
|
19
|
+
import "./chunk-WA6KZQZ2.js";
|
|
20
|
+
import "./chunk-OP3INKUD.js";
|
|
21
21
|
|
|
22
22
|
// src/core-server/presets/webpack/plugins/webpack-mock-plugin.ts
|
|
23
23
|
import { createRequire } from "node:module";
|
package/dist/babel/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
recast,
|
|
23
23
|
traverse,
|
|
24
24
|
types
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
28
|
-
import "../_node-chunks/chunk-
|
|
29
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-5HV3B5OP.js";
|
|
26
|
+
import "../_node-chunks/chunk-FDXFVHIL.js";
|
|
27
|
+
import "../_node-chunks/chunk-FZLRAH4N.js";
|
|
28
|
+
import "../_node-chunks/chunk-NAOYEL54.js";
|
|
29
|
+
import "../_node-chunks/chunk-OP3INKUD.js";
|
|
30
30
|
var export_transformSync = import_core.transformSync;
|
|
31
31
|
export {
|
|
32
32
|
BabelFileClass,
|
package/dist/bin/core.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.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 "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-IXVYNBMD.js";
|
|
15
15
|
import {
|
|
16
16
|
globalSettings
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-4FT2DHGE.js";
|
|
18
18
|
import {
|
|
19
19
|
require_dist
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-DUXPWBOK.js";
|
|
21
21
|
import {
|
|
22
22
|
require_picocolors
|
|
23
|
-
} from "../_node-chunks/chunk-
|
|
23
|
+
} from "../_node-chunks/chunk-NAOYEL54.js";
|
|
24
24
|
import {
|
|
25
25
|
__commonJS,
|
|
26
26
|
__require,
|
|
27
27
|
__toESM
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-OP3INKUD.js";
|
|
29
29
|
|
|
30
30
|
// ../node_modules/commander/lib/error.js
|
|
31
31
|
var require_error = __commonJS({
|
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
12
12
|
// ------------------------------------------------------------
|
|
13
13
|
import {
|
|
14
14
|
versions_default
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-Y4E6IGQF.js";
|
|
16
16
|
import {
|
|
17
17
|
resolvePackageDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-A4APXFQ2.js";
|
|
19
19
|
import {
|
|
20
20
|
join
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-WA6KZQZ2.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-DUXPWBOK.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-OP3INKUD.js";
|
|
28
28
|
|
|
29
29
|
// src/bin/dispatcher.ts
|
|
30
30
|
import { spawn } from "node:child_process";
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.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
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-XXPJ7XR3.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-DUXPWBOK.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-OP3INKUD.js";
|
|
21
21
|
|
|
22
22
|
// src/bin/loader.ts
|
|
23
23
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -42,44 +42,44 @@ import {
|
|
|
42
42
|
supportedTemplates,
|
|
43
43
|
unsupportedTemplate,
|
|
44
44
|
writeFileAsJson
|
|
45
|
-
} from "../_node-chunks/chunk-
|
|
45
|
+
} from "../_node-chunks/chunk-ZL3AFKRX.js";
|
|
46
46
|
import {
|
|
47
47
|
boxen
|
|
48
|
-
} from "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
48
|
+
} from "../_node-chunks/chunk-N5GIRUP5.js";
|
|
49
|
+
import "../_node-chunks/chunk-B6JWY6PC.js";
|
|
50
50
|
import {
|
|
51
51
|
Settings,
|
|
52
52
|
_clearGlobalSettings,
|
|
53
53
|
globalSettings
|
|
54
|
-
} from "../_node-chunks/chunk-
|
|
54
|
+
} from "../_node-chunks/chunk-4FT2DHGE.js";
|
|
55
55
|
import {
|
|
56
56
|
up2 as up
|
|
57
|
-
} from "../_node-chunks/chunk-
|
|
58
|
-
import "../_node-chunks/chunk-
|
|
59
|
-
import "../_node-chunks/chunk-
|
|
60
|
-
import "../_node-chunks/chunk-
|
|
57
|
+
} from "../_node-chunks/chunk-DWXTZT3D.js";
|
|
58
|
+
import "../_node-chunks/chunk-QYQIZBS6.js";
|
|
59
|
+
import "../_node-chunks/chunk-A4APXFQ2.js";
|
|
60
|
+
import "../_node-chunks/chunk-WA6KZQZ2.js";
|
|
61
61
|
import {
|
|
62
62
|
require_prompts
|
|
63
|
-
} from "../_node-chunks/chunk-
|
|
63
|
+
} from "../_node-chunks/chunk-LIH7MTP7.js";
|
|
64
64
|
import {
|
|
65
65
|
require_dist
|
|
66
|
-
} from "../_node-chunks/chunk-
|
|
66
|
+
} from "../_node-chunks/chunk-DUXPWBOK.js";
|
|
67
67
|
import {
|
|
68
68
|
babelParse,
|
|
69
69
|
recast,
|
|
70
70
|
traverse,
|
|
71
71
|
types
|
|
72
|
-
} from "../_node-chunks/chunk-
|
|
73
|
-
import "../_node-chunks/chunk-
|
|
74
|
-
import "../_node-chunks/chunk-
|
|
72
|
+
} from "../_node-chunks/chunk-5HV3B5OP.js";
|
|
73
|
+
import "../_node-chunks/chunk-FDXFVHIL.js";
|
|
74
|
+
import "../_node-chunks/chunk-FZLRAH4N.js";
|
|
75
75
|
import {
|
|
76
76
|
require_picocolors
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-NAOYEL54.js";
|
|
78
78
|
import {
|
|
79
79
|
__commonJS,
|
|
80
80
|
__require,
|
|
81
81
|
__toESM
|
|
82
|
-
} from "../_node-chunks/chunk-
|
|
82
|
+
} from "../_node-chunks/chunk-OP3INKUD.js";
|
|
83
83
|
|
|
84
84
|
// ../node_modules/esprima/dist/esprima.js
|
|
85
85
|
var require_esprima = __commonJS({
|
package/dist/common/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -87,11 +87,11 @@ import {
|
|
|
87
87
|
transformImportFiles,
|
|
88
88
|
validateConfigurationFiles,
|
|
89
89
|
validateFrameworkName
|
|
90
|
-
} from "../_node-chunks/chunk-
|
|
91
|
-
import "../_node-chunks/chunk-
|
|
90
|
+
} from "../_node-chunks/chunk-WFLWJO24.js";
|
|
91
|
+
import "../_node-chunks/chunk-2DMESZFJ.js";
|
|
92
92
|
import {
|
|
93
93
|
versions_default
|
|
94
|
-
} from "../_node-chunks/chunk-
|
|
94
|
+
} from "../_node-chunks/chunk-Y4E6IGQF.js";
|
|
95
95
|
import {
|
|
96
96
|
findFilesUp,
|
|
97
97
|
getProjectRoot,
|
|
@@ -103,22 +103,22 @@ import {
|
|
|
103
103
|
optionalEnvToBoolean,
|
|
104
104
|
stringifyEnvs,
|
|
105
105
|
stringifyProcessEnvs
|
|
106
|
-
} from "../_node-chunks/chunk-
|
|
107
|
-
import "../_node-chunks/chunk-
|
|
108
|
-
import "../_node-chunks/chunk-
|
|
106
|
+
} from "../_node-chunks/chunk-O5DA7YLO.js";
|
|
107
|
+
import "../_node-chunks/chunk-DWXTZT3D.js";
|
|
108
|
+
import "../_node-chunks/chunk-QYQIZBS6.js";
|
|
109
109
|
import {
|
|
110
110
|
importMetaResolve,
|
|
111
111
|
importModule,
|
|
112
112
|
resolvePackageDir,
|
|
113
113
|
safeResolveModule
|
|
114
|
-
} from "../_node-chunks/chunk-
|
|
115
|
-
import "../_node-chunks/chunk-
|
|
116
|
-
import "../_node-chunks/chunk-
|
|
117
|
-
import "../_node-chunks/chunk-
|
|
118
|
-
import "../_node-chunks/chunk-
|
|
119
|
-
import "../_node-chunks/chunk-
|
|
120
|
-
import "../_node-chunks/chunk-
|
|
121
|
-
import "../_node-chunks/chunk-
|
|
114
|
+
} from "../_node-chunks/chunk-A4APXFQ2.js";
|
|
115
|
+
import "../_node-chunks/chunk-WA6KZQZ2.js";
|
|
116
|
+
import "../_node-chunks/chunk-LIH7MTP7.js";
|
|
117
|
+
import "../_node-chunks/chunk-JARUEMEP.js";
|
|
118
|
+
import "../_node-chunks/chunk-E5FJS66Z.js";
|
|
119
|
+
import "../_node-chunks/chunk-DUXPWBOK.js";
|
|
120
|
+
import "../_node-chunks/chunk-NAOYEL54.js";
|
|
121
|
+
import "../_node-chunks/chunk-OP3INKUD.js";
|
|
122
122
|
export {
|
|
123
123
|
COMMON_ENV_VARS,
|
|
124
124
|
DEFAULT_FILES_PATTERN,
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.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
|
detectPnp
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-ZL3AFKRX.js";
|
|
15
15
|
import {
|
|
16
16
|
require_pretty_hrtime
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-HZG65SU3.js";
|
|
18
18
|
import {
|
|
19
19
|
boxen,
|
|
20
20
|
require_string_width
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
22
|
-
import "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-N5GIRUP5.js";
|
|
22
|
+
import "../_node-chunks/chunk-B6JWY6PC.js";
|
|
23
23
|
import {
|
|
24
24
|
StatusTypeIdMismatchError,
|
|
25
25
|
StorybookError
|
|
26
|
-
} from "../_node-chunks/chunk-
|
|
26
|
+
} from "../_node-chunks/chunk-2D2IODUU.js";
|
|
27
27
|
import {
|
|
28
28
|
getErrorLevel,
|
|
29
29
|
mapStaticDir,
|
|
@@ -31,62 +31,62 @@ import {
|
|
|
31
31
|
sendTelemetryError,
|
|
32
32
|
useStatics,
|
|
33
33
|
withTelemetry
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-QCO2ZM7F.js";
|
|
35
|
+
import "../_node-chunks/chunk-CZ5GHJCC.js";
|
|
36
36
|
import {
|
|
37
37
|
telemetry
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-EZWWR7AR.js";
|
|
39
|
+
import "../_node-chunks/chunk-IXVYNBMD.js";
|
|
40
40
|
import {
|
|
41
41
|
resolveImport,
|
|
42
42
|
supportedExtensions,
|
|
43
43
|
userOrAutoTitleFromSpecifier
|
|
44
|
-
} from "../_node-chunks/chunk-
|
|
45
|
-
import "../_node-chunks/chunk-
|
|
46
|
-
import "../_node-chunks/chunk-
|
|
47
|
-
import "../_node-chunks/chunk-
|
|
44
|
+
} from "../_node-chunks/chunk-WFLWJO24.js";
|
|
45
|
+
import "../_node-chunks/chunk-2DMESZFJ.js";
|
|
46
|
+
import "../_node-chunks/chunk-Y4E6IGQF.js";
|
|
47
|
+
import "../_node-chunks/chunk-4FT2DHGE.js";
|
|
48
48
|
import {
|
|
49
49
|
optionalEnvToBoolean,
|
|
50
50
|
require_cross_spawn
|
|
51
|
-
} from "../_node-chunks/chunk-
|
|
51
|
+
} from "../_node-chunks/chunk-O5DA7YLO.js";
|
|
52
52
|
import {
|
|
53
53
|
up2 as up
|
|
54
|
-
} from "../_node-chunks/chunk-
|
|
55
|
-
import "../_node-chunks/chunk-
|
|
54
|
+
} from "../_node-chunks/chunk-DWXTZT3D.js";
|
|
55
|
+
import "../_node-chunks/chunk-WUXQMQCB.js";
|
|
56
56
|
import {
|
|
57
57
|
invariant
|
|
58
|
-
} from "../_node-chunks/chunk-
|
|
58
|
+
} from "../_node-chunks/chunk-QYQIZBS6.js";
|
|
59
59
|
import {
|
|
60
60
|
importModule,
|
|
61
61
|
resolvePackageDir
|
|
62
|
-
} from "../_node-chunks/chunk-
|
|
62
|
+
} from "../_node-chunks/chunk-A4APXFQ2.js";
|
|
63
63
|
import {
|
|
64
64
|
join,
|
|
65
65
|
relative,
|
|
66
66
|
resolve
|
|
67
|
-
} from "../_node-chunks/chunk-
|
|
67
|
+
} from "../_node-chunks/chunk-WA6KZQZ2.js";
|
|
68
68
|
import {
|
|
69
69
|
require_prompts
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-LIH7MTP7.js";
|
|
71
|
+
import "../_node-chunks/chunk-JARUEMEP.js";
|
|
72
72
|
import {
|
|
73
73
|
slash
|
|
74
|
-
} from "../_node-chunks/chunk-
|
|
74
|
+
} from "../_node-chunks/chunk-E5FJS66Z.js";
|
|
75
75
|
import {
|
|
76
76
|
require_dist
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-DUXPWBOK.js";
|
|
78
78
|
import {
|
|
79
79
|
require_lib,
|
|
80
80
|
require_src
|
|
81
|
-
} from "../_node-chunks/chunk-
|
|
81
|
+
} from "../_node-chunks/chunk-FZLRAH4N.js";
|
|
82
82
|
import {
|
|
83
83
|
require_picocolors
|
|
84
|
-
} from "../_node-chunks/chunk-
|
|
84
|
+
} from "../_node-chunks/chunk-NAOYEL54.js";
|
|
85
85
|
import {
|
|
86
86
|
__commonJS,
|
|
87
87
|
__require,
|
|
88
88
|
__toESM
|
|
89
|
-
} from "../_node-chunks/chunk-
|
|
89
|
+
} from "../_node-chunks/chunk-OP3INKUD.js";
|
|
90
90
|
|
|
91
91
|
// ../node_modules/tsconfig-paths/lib/filesystem.js
|
|
92
92
|
var require_filesystem = __commonJS({
|
|
@@ -6437,7 +6437,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
6437
6437
|
let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
|
|
6438
6438
|
if (cached)
|
|
6439
6439
|
return cached;
|
|
6440
|
-
let pathToSubIndex = {}, globCwd = slash(resolve2(workingDir, specifier.directory)), globPattern = specifier.files, { globby } = await import("../_node-chunks/globby-
|
|
6440
|
+
let pathToSubIndex = {}, globCwd = slash(resolve2(workingDir, specifier.directory)), globPattern = specifier.files, { globby } = await import("../_node-chunks/globby-6THB7HVX.js"), files = await globby(globPattern, {
|
|
6441
6441
|
absolute: !0,
|
|
6442
6442
|
cwd: globCwd,
|
|
6443
6443
|
...commonGlobOptions(globPattern)
|
|
@@ -6626,7 +6626,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
6626
6626
|
async extractDocs(specifier, absolutePath, projectTags = []) {
|
|
6627
6627
|
let relativePath = relative2(this.options.workingDir, absolutePath);
|
|
6628
6628
|
try {
|
|
6629
|
-
let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-
|
|
6629
|
+
let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-DS2B5A3J.js"), result = await analyze(content);
|
|
6630
6630
|
if (result.isTemplate)
|
|
6631
6631
|
return !1;
|
|
6632
6632
|
let absoluteImports = result.imports.map(
|
|
@@ -6886,7 +6886,7 @@ function print(p) {
|
|
|
6886
6886
|
// src/core-server/utils/get-builders.ts
|
|
6887
6887
|
import { MissingBuilderError } from "storybook/internal/server-errors";
|
|
6888
6888
|
async function getManagerBuilder() {
|
|
6889
|
-
return await import("../_node-chunks/builder-manager-
|
|
6889
|
+
return await import("../_node-chunks/builder-manager-YUOHSIUB.js");
|
|
6890
6890
|
}
|
|
6891
6891
|
async function getPreviewBuilder(resolvedPreviewBuilder) {
|
|
6892
6892
|
return await importModule(resolvedPreviewBuilder);
|
|
@@ -7043,7 +7043,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
|
|
|
7043
7043
|
// files can be e.g. '**/foo/*/*.js' so we just want the last bit,
|
|
7044
7044
|
// because the directory could already be within the files part (e.g. './x/foo/bar')
|
|
7045
7045
|
basename2(specifier.files)
|
|
7046
|
-
), { globby } = await import("../_node-chunks/globby-
|
|
7046
|
+
), { globby } = await import("../_node-chunks/globby-6THB7HVX.js");
|
|
7047
7047
|
(await globby(slash(dirGlob), commonGlobOptions2(dirGlob))).forEach((filePath) => {
|
|
7048
7048
|
let fileImportPath = toImportPath(filePath);
|
|
7049
7049
|
specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(specifier, fileImportPath, removed);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.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
|
glob
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-JARUEMEP.js";
|
|
15
15
|
import {
|
|
16
16
|
slash
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-E5FJS66Z.js";
|
|
18
|
+
import "../../_node-chunks/chunk-OP3INKUD.js";
|
|
19
19
|
|
|
20
20
|
// src/core-server/utils/remove-mdx-entries.ts
|
|
21
21
|
import { isAbsolute, join, relative } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,37 +12,37 @@ var require = CJS_COMPAT_NODE_MODULE_843v2rliy1.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
parseStaticDir,
|
|
14
14
|
sendTelemetryError
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-QCO2ZM7F.js";
|
|
16
|
+
import "../../_node-chunks/chunk-CZ5GHJCC.js";
|
|
17
17
|
import {
|
|
18
18
|
getLastEvents,
|
|
19
19
|
getSessionId
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-WUXQMQCB.js";
|
|
21
21
|
import {
|
|
22
22
|
invariant
|
|
23
|
-
} from "../../_node-chunks/chunk-
|
|
23
|
+
} from "../../_node-chunks/chunk-QYQIZBS6.js";
|
|
24
24
|
import {
|
|
25
25
|
resolvePackageDir
|
|
26
|
-
} from "../../_node-chunks/chunk-
|
|
26
|
+
} from "../../_node-chunks/chunk-A4APXFQ2.js";
|
|
27
27
|
import {
|
|
28
28
|
isAbsolute,
|
|
29
29
|
join
|
|
30
|
-
} from "../../_node-chunks/chunk-
|
|
31
|
-
import "../../_node-chunks/chunk-
|
|
30
|
+
} from "../../_node-chunks/chunk-WA6KZQZ2.js";
|
|
31
|
+
import "../../_node-chunks/chunk-LIH7MTP7.js";
|
|
32
32
|
import {
|
|
33
33
|
loadConfig
|
|
34
|
-
} from "../../_node-chunks/chunk-
|
|
34
|
+
} from "../../_node-chunks/chunk-SEMIAAWG.js";
|
|
35
35
|
import {
|
|
36
36
|
require_dist
|
|
37
|
-
} from "../../_node-chunks/chunk-
|
|
37
|
+
} from "../../_node-chunks/chunk-DUXPWBOK.js";
|
|
38
38
|
import {
|
|
39
39
|
require_picocolors
|
|
40
|
-
} from "../../_node-chunks/chunk-
|
|
40
|
+
} from "../../_node-chunks/chunk-NAOYEL54.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__require,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "../../_node-chunks/chunk-
|
|
45
|
+
} from "../../_node-chunks/chunk-OP3INKUD.js";
|
|
46
46
|
|
|
47
47
|
// ../node_modules/shell-quote/quote.js
|
|
48
48
|
var require_quote = __commonJS({
|
|
@@ -511,7 +511,7 @@ import { isCsfFactoryPreview } from "storybook/internal/csf-tools";
|
|
|
511
511
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
512
512
|
|
|
513
513
|
// src/core-server/utils/get-component-variable-name.ts
|
|
514
|
-
var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-
|
|
514
|
+
var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-JREIL7NV.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
|
|
515
515
|
|
|
516
516
|
// src/core-server/utils/new-story-templates/csf-factory-template.ts
|
|
517
517
|
async function getCsfFactoryTemplateForNewStoryFile(data) {
|
|
@@ -780,7 +780,7 @@ async function searchFiles({
|
|
|
780
780
|
ignoredFiles = IGNORED_FILES,
|
|
781
781
|
fileExtensions = FILE_EXTENSIONS
|
|
782
782
|
}) {
|
|
783
|
-
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-
|
|
783
|
+
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-6THB7HVX.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
|
|
784
784
|
`**/*${searchQuery}*.${fileExtensionsPattern}`,
|
|
785
785
|
`**/*${searchQuery}*/**/*.${fileExtensionsPattern}`
|
|
786
786
|
];
|
|
@@ -1352,7 +1352,7 @@ var interpolate = (string, data = {}) => Object.entries(data).reduce((acc, [k, v
|
|
|
1352
1352
|
let previewConfigPath = findConfigFile3("preview", options.configDir);
|
|
1353
1353
|
if (!previewConfigPath)
|
|
1354
1354
|
return existing;
|
|
1355
|
-
let { viteInjectMockerRuntime } = await import("../../_node-chunks/plugin-
|
|
1355
|
+
let { viteInjectMockerRuntime } = await import("../../_node-chunks/plugin-LTOXVT6A.js"), { viteMockPlugin } = await import("../../_node-chunks/plugin-6XMWOGPO.js"), coreOptions = await options.presets.apply("core");
|
|
1356
1356
|
return {
|
|
1357
1357
|
...existing,
|
|
1358
1358
|
plugins: [
|
|
@@ -1367,7 +1367,7 @@ var interpolate = (string, data = {}) => Object.entries(data).reduce((acc, [k, v
|
|
|
1367
1367
|
let previewConfigPath = findConfigFile3("preview", options.configDir);
|
|
1368
1368
|
if (!previewConfigPath)
|
|
1369
1369
|
return config;
|
|
1370
|
-
let { WebpackMockPlugin } = await import("../../_node-chunks/webpack-mock-plugin-
|
|
1370
|
+
let { WebpackMockPlugin } = await import("../../_node-chunks/webpack-mock-plugin-CX5J2U56.js"), { WebpackInjectMockerRuntimePlugin } = await import("../../_node-chunks/webpack-inject-mocker-runtime-plugin-2SFE5LQS.js");
|
|
1371
1371
|
return config.plugins = config.plugins || [], config.module.rules.push({
|
|
1372
1372
|
test: /preview\.(t|j)sx?$/,
|
|
1373
1373
|
use: [
|