storybook 10.1.0-alpha.2 → 10.1.0-alpha.3
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-XRIDLU42.js → builder-manager-GBWCUYRR.js} +12 -12
- package/dist/_node-chunks/camelcase-2N6MD2HZ.js +18 -0
- package/dist/_node-chunks/{chunk-2L3QAN3W.js → chunk-2JHIUWIN.js} +7 -7
- package/dist/_node-chunks/{chunk-3AR5SJTX.js → chunk-5KDXQR2J.js} +7 -7
- package/dist/_node-chunks/{chunk-D43KJFPO.js → chunk-5X7FGASE.js} +7 -7
- package/dist/_node-chunks/{chunk-LJPS53G5.js → chunk-6U2QTN2E.js} +7 -7
- package/dist/_node-chunks/{chunk-WHOPLOGE.js → chunk-APKZWRTX.js} +7 -7
- package/dist/_node-chunks/{chunk-QFET4WIW.js → chunk-AX2PCJZ2.js} +6 -6
- package/dist/_node-chunks/{chunk-S6RYOO4I.js → chunk-B63HGQAB.js} +9 -9
- package/dist/_node-chunks/{chunk-BAE27Z3H.js → chunk-BNO5FB6B.js} +8 -8
- package/dist/_node-chunks/{chunk-FWBIPR34.js → chunk-C4UVY6FF.js} +7 -7
- package/dist/_node-chunks/{chunk-HFHQNHRU.js → chunk-CKXP5RYA.js} +9 -9
- package/dist/_node-chunks/chunk-D3NGJQDZ.js +18 -0
- package/dist/_node-chunks/{chunk-6WXUZSNC.js → chunk-FJWQKOXX.js} +10 -10
- package/dist/_node-chunks/{chunk-ZN2EDLIJ.js → chunk-GMO24NTJ.js} +7 -7
- package/dist/_node-chunks/{chunk-L5J4RBU5.js → chunk-HH57J4TX.js} +8 -8
- package/dist/_node-chunks/{chunk-Q5JSLT56.js → chunk-JKWP2FKQ.js} +7 -7
- package/dist/_node-chunks/chunk-LPNJ7PJY.js +61 -0
- package/dist/_node-chunks/{chunk-FI6CLUVL.js → chunk-MDXYV4OF.js} +15 -15
- package/dist/_node-chunks/{chunk-EKPHXLN6.js → chunk-MPUDYIDW.js} +7 -7
- package/dist/_node-chunks/{chunk-RQKELEE4.js → chunk-N7XYNLCJ.js} +7 -7
- package/dist/_node-chunks/{chunk-GWSFLQQQ.js → chunk-NCHBSJG3.js} +1466 -148
- package/dist/_node-chunks/{chunk-6TX2TV3E.js → chunk-NTH76OZA.js} +12 -12
- package/dist/_node-chunks/{chunk-5RN3IJGF.js → chunk-NTX43F34.js} +7 -7
- package/dist/_node-chunks/{chunk-BB3ZKTWJ.js → chunk-NYXHMPY4.js} +7 -7
- package/dist/_node-chunks/{chunk-BYQZFXRF.js → chunk-RLMJDF6S.js} +8 -8
- package/dist/_node-chunks/{chunk-IK3K67LJ.js → chunk-S32G4TCP.js} +7 -7
- package/dist/_node-chunks/{chunk-OM4TBMP7.js → chunk-SQAKXWVV.js} +7 -7
- package/dist/_node-chunks/{chunk-RUJOX3JR.js → chunk-T7KB265F.js} +6 -6
- package/dist/_node-chunks/{chunk-QS5MMNF7.js → chunk-TDLKTACT.js} +7 -7
- package/dist/_node-chunks/{chunk-ZI3WVJBS.js → chunk-TSKLBMF3.js} +8 -8
- package/dist/_node-chunks/{chunk-XVXUF5GE.js → chunk-TZ7GUTJ4.js} +7 -7
- package/dist/_node-chunks/{chunk-RIPSSVT6.js → chunk-YFBIEJ33.js} +7 -7
- package/dist/_node-chunks/{chunk-VEZ6C62C.js → chunk-YJJWZPL7.js} +8 -8
- package/dist/_node-chunks/{chunk-ZTHTAFLY.js → chunk-ZQY3BNST.js} +12 -12
- package/dist/_node-chunks/{dist-Q25SOSXX.js → dist-SQENNWFY.js} +9 -9
- package/dist/_node-chunks/{globby-I54LIY47.js → globby-CVPDLQ5Z.js} +9 -9
- package/dist/_node-chunks/{lib-KQD2WJWJ.js → lib-4BTTMYE2.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-CT3A7SBK.js → mdx-N42X6CFJ-ENVHI6CC.js} +8 -8
- package/dist/_node-chunks/{p-limit-2NBKFARM.js → p-limit-I2XW6GST.js} +7 -7
- package/dist/_node-chunks/{plugin-2CCCBGGB.js → plugin-4NIE24IO.js} +10 -10
- package/dist/_node-chunks/{plugin-RF5FICSG.js → plugin-O5PHZ367.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-RY56E77L.js → webpack-inject-mocker-runtime-plugin-SVBN7WFH.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-6VDFRSC4.js → webpack-mock-plugin-XBV3VXVD.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.d.ts +190 -2
- package/dist/common/index.js +26 -20
- package/dist/core-server/index.js +712 -46
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +23 -23
- 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.d.ts +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/dist/types/index.d.ts +2 -0
- package/package.json +2 -1
- package/dist/_node-chunks/camelcase-3IIGGJ6N.js +0 -18
- package/dist/_node-chunks/chunk-N3ZE2FCS.js +0 -61
- package/dist/_node-chunks/chunk-U6VJQXTG.js +0 -18
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,23 +12,23 @@ var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
any,
|
|
14
14
|
up2 as up
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5KDXQR2J.js";
|
|
16
16
|
import {
|
|
17
17
|
invariant
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5X7FGASE.js";
|
|
19
19
|
import {
|
|
20
20
|
resolvePackageDir
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TSKLBMF3.js";
|
|
22
22
|
import {
|
|
23
23
|
require_prompts
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NYXHMPY4.js";
|
|
25
25
|
import {
|
|
26
26
|
require_picocolors
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2JHIUWIN.js";
|
|
28
28
|
import {
|
|
29
29
|
__name,
|
|
30
30
|
__toESM
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-T7KB265F.js";
|
|
32
32
|
|
|
33
33
|
// src/cli/project_types.ts
|
|
34
34
|
import { minVersion, validRange } from "semver";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-T7KB265F.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/camelcase/index.js
|
|
17
17
|
var UPPERCASE = /[\p{Lu}]/u;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-T7KB265F.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/kleur/index.js
|
|
19
19
|
var require_kleur = __commonJS({
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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
|
camelCase
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NTX43F34.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__name,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-T7KB265F.js";
|
|
20
20
|
|
|
21
21
|
// ../node_modules/boxen/node_modules/emoji-regex/index.js
|
|
22
22
|
var require_emoji_regex = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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_gimmxetvr7.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-T7KB265F.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/ts-dedent/dist/index.js
|
|
18
18
|
var require_dist = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-T7KB265F.js";
|
|
15
15
|
|
|
16
16
|
// src/telemetry/event-cache.ts
|
|
17
17
|
import { cache } from "storybook/internal/common";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-T7KB265F.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/ms/index.js
|
|
19
19
|
var require_ms = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6U2QTN2E.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-T7KB265F.js";
|
|
19
19
|
|
|
20
20
|
// ../node_modules/exsolve/dist/index.mjs
|
|
21
21
|
import fs, { realpathSync, statSync, lstatSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-T7KB265F.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/picomatch/lib/constants.js
|
|
19
19
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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_gimmxetvr7.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__name,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-T7KB265F.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
|
|
18
18
|
var __create = Object.create;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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-S32G4TCP.js";
|
|
15
15
|
import {
|
|
16
16
|
__name,
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-T7KB265F.js";
|
|
19
19
|
|
|
20
20
|
// src/csf-tools/CsfFile.ts
|
|
21
21
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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-N7XYNLCJ.js";
|
|
15
15
|
import {
|
|
16
16
|
resolvePackageDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TSKLBMF3.js";
|
|
18
18
|
import {
|
|
19
19
|
require_prompts
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NYXHMPY4.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S32G4TCP.js";
|
|
24
24
|
import {
|
|
25
25
|
require_picocolors
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2JHIUWIN.js";
|
|
27
27
|
import {
|
|
28
28
|
__name,
|
|
29
29
|
__toESM
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-T7KB265F.js";
|
|
31
31
|
|
|
32
32
|
// src/core-server/utils/server-statics.ts
|
|
33
33
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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
|
toEstree
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YFBIEJ33.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-T7KB265F.js";
|
|
18
18
|
|
|
19
19
|
// ../node_modules/@storybook/docs-mdx/dist/index.js
|
|
20
20
|
var getAttr = /* @__PURE__ */ __name((elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute" && n.name.name === what), "getAttr");
|
|
@@ -161,7 +161,7 @@ var analyze = /* @__PURE__ */ __name(async (code) => {
|
|
|
161
161
|
metaTags: void 0,
|
|
162
162
|
imports: void 0
|
|
163
163
|
};
|
|
164
|
-
const { compile } = await import("./mdx-N42X6CFJ-
|
|
164
|
+
const { compile } = await import("./mdx-N42X6CFJ-ENVHI6CC.js");
|
|
165
165
|
await compile(code, {
|
|
166
166
|
rehypePlugins: [[plugin, store]]
|
|
167
167
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,16 +12,16 @@ var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_picomatch,
|
|
14
14
|
require_utils
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TZ7GUTJ4.js";
|
|
16
16
|
import {
|
|
17
17
|
slash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MPUDYIDW.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__name,
|
|
22
22
|
__require,
|
|
23
23
|
__toESM
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-T7KB265F.js";
|
|
25
25
|
|
|
26
26
|
// ../node_modules/fast-glob/out/utils/array.js
|
|
27
27
|
var require_array = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__name,
|
|
15
15
|
__require,
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-T7KB265F.js";
|
|
18
18
|
|
|
19
19
|
// ../node_modules/app-root-dir/lib/index.js
|
|
20
20
|
var require_lib = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
start,
|
|
24
24
|
toEstree,
|
|
25
25
|
unreachable
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YFBIEJ33.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-T7KB265F.js";
|
|
30
30
|
|
|
31
31
|
// ../node_modules/@storybook/docs-mdx/dist/mdx-N42X6CFJ.js
|
|
32
32
|
import { default as default2 } from "path";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-T7KB265F.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/yocto-queue/index.js
|
|
17
17
|
var Node = class {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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
|
getAutomockCode
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-APKZWRTX.js";
|
|
15
15
|
import {
|
|
16
16
|
babelParser,
|
|
17
17
|
extractMockCalls,
|
|
18
18
|
getRealPath,
|
|
19
19
|
rewriteSbMockImportCalls
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BNO5FB6B.js";
|
|
21
21
|
import {
|
|
22
22
|
normalize
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6U2QTN2E.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-T7KB265F.js";
|
|
27
27
|
|
|
28
28
|
// src/core-server/presets/vitePlugins/vite-mock/plugin.ts
|
|
29
29
|
import { readFileSync } from "node:fs";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bqgqh4d46dd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bqgqh4d46dd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bqgqh4d46dd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bqgqh4d46dd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bqgqh4d46dd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bqgqh4d46dd.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
|
resolvePackageDir
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-TSKLBMF3.js";
|
|
15
|
+
import "./chunk-6U2QTN2E.js";
|
|
16
16
|
import {
|
|
17
17
|
require_dist
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-S32G4TCP.js";
|
|
19
19
|
import {
|
|
20
20
|
__name,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-T7KB265F.js";
|
|
23
23
|
|
|
24
24
|
// src/core-server/presets/vitePlugins/vite-inject-mocker/plugin.ts
|
|
25
25
|
import { readFileSync } from "node:fs";
|