storybook 10.1.0-beta.5 → 10.1.0-beta.6
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-DKZOFL36.js → builder-manager-OYPBAOYY.js} +12 -12
- package/dist/_node-chunks/{camelcase-OYLEV2Q6.js → camelcase-KHLD4CBZ.js} +7 -7
- package/dist/_node-chunks/{chunk-AWAJ6MNP.js → chunk-3YPPVXVV.js} +10 -10
- package/dist/_node-chunks/chunk-4JHERXHJ.js +61 -0
- package/dist/_node-chunks/{chunk-VEUCEGV5.js → chunk-4K5Y3HIQ.js} +6 -6
- package/dist/_node-chunks/{chunk-S3FEVISB.js → chunk-5VOKWTHJ.js} +6 -6
- package/dist/_node-chunks/{chunk-XEZ4YPF3.js → chunk-676RYYTC.js} +7 -7
- package/dist/_node-chunks/{chunk-VVQNCKWG.js → chunk-6O2EILDG.js} +8 -8
- package/dist/_node-chunks/{chunk-DKJWN7NS.js → chunk-6SDCYDUQ.js} +9 -9
- package/dist/_node-chunks/{chunk-3R7S7OBR.js → chunk-AIU56TIK.js} +7 -7
- package/dist/_node-chunks/{chunk-3VCEM4KX.js → chunk-CDT6SGHG.js} +6 -6
- package/dist/_node-chunks/{chunk-WP2HYYIX.js → chunk-DCDE2LZP.js} +9 -9
- package/dist/_node-chunks/{chunk-WXJLEHGP.js → chunk-F67RSVRX.js} +7 -7
- package/dist/_node-chunks/{chunk-FPWWB56H.js → chunk-GRWEJWC6.js} +10 -9
- package/dist/_node-chunks/{chunk-ITQ5LAB5.js → chunk-IZ4CTLAY.js} +6 -6
- package/dist/_node-chunks/{chunk-IKGF3NTB.js → chunk-JKZ5HEMT.js} +36 -20
- package/dist/_node-chunks/chunk-K43XPHKR.js +20 -0
- package/dist/_node-chunks/{chunk-O4VEAB4L.js → chunk-KNKOGWDU.js} +6 -6
- package/dist/_node-chunks/chunk-KXDN7S7Y.js +23 -0
- package/dist/_node-chunks/chunk-L3S6HFZ7.js +18 -0
- package/dist/_node-chunks/{chunk-U55VVTKI.js → chunk-MKHH5E6J.js} +7 -7
- package/dist/_node-chunks/{chunk-Q6Q7GGYG.js → chunk-NHZRDKD5.js} +6 -6
- package/dist/_node-chunks/{chunk-O6MAIGNQ.js → chunk-OR5YQT2Y.js} +13 -13
- package/dist/_node-chunks/{chunk-WP55QOFC.js → chunk-QWPDENGK.js} +7 -7
- package/dist/_node-chunks/{chunk-RV4TIB2A.js → chunk-R4N2FLEZ.js} +7 -7
- package/dist/_node-chunks/{chunk-ULRPJDQG.js → chunk-RNG6NQRW.js} +7 -7
- package/dist/_node-chunks/{chunk-UAAE3CFN.js → chunk-VZ6EDE7M.js} +6 -6
- package/dist/_node-chunks/{chunk-LE77BUC7.js → chunk-WXWHNHZE.js} +16 -16
- package/dist/_node-chunks/{chunk-LGS44CQ3.js → chunk-XC4RJ4LY.js} +14 -21
- package/dist/_node-chunks/{chunk-5ZLC6NEA.js → chunk-YOAOSHXI.js} +7 -7
- package/dist/_node-chunks/{dist-CYJGIQZ4.js → dist-BS45SS3Y.js} +9 -9
- package/dist/_node-chunks/{globby-QGM6GHYQ.js → globby-WIEUQD7O.js} +9 -9
- package/dist/_node-chunks/{lib-R7D5AM5W.js → lib-UNDA723W.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-WSYY7WM6.js → mdx-N42X6CFJ-ABE6VGZM.js} +8 -8
- package/dist/_node-chunks/{p-limit-S3E66PR5.js → p-limit-XD6JNZJT.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.d.ts +3 -1
- package/dist/cli/index.js +18 -18
- package/dist/common/index.d.ts +3 -1
- package/dist/common/index.js +19 -19
- package/dist/core-server/index.js +33 -33
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -25
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/preview-api/index.d.ts +67 -68
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-3SEQ2GLE.js +0 -20
- package/dist/_node-chunks/chunk-BQ4MHK5P.js +0 -23
- package/dist/_node-chunks/chunk-LJNPOMKR.js +0 -61
- package/dist/_node-chunks/chunk-P5K26BIZ.js +0 -18
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// ../node_modules/slash/index.js
|
|
14
|
+
function slash(path) {
|
|
15
|
+
return path.startsWith("\\\\?\\") ? path : path.replace(/\\/g, "/");
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
slash
|
|
20
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
any
|
|
14
|
+
} from "./chunk-VZ6EDE7M.js";
|
|
15
|
+
|
|
16
|
+
// src/cli/detect.ts
|
|
17
|
+
async function detectPnp() {
|
|
18
|
+
return !!any([".pnp.js", ".pnp.cjs"]);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
detectPnp
|
|
23
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// package.json
|
|
14
|
+
var version = "10.1.0-beta.6";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_1232wqooqc3l.createRequire(import.meta.url)
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__toESM
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5VOKWTHJ.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_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-RNG6NQRW.js";
|
|
15
15
|
import {
|
|
16
16
|
StorybookError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CDT6SGHG.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePackageDir
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-676RYYTC.js";
|
|
21
21
|
import {
|
|
22
22
|
relative
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4K5Y3HIQ.js";
|
|
24
24
|
import {
|
|
25
25
|
require_dist
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-R4N2FLEZ.js";
|
|
27
27
|
import {
|
|
28
28
|
require_picocolors
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-F67RSVRX.js";
|
|
30
30
|
import {
|
|
31
31
|
__toESM
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
33
33
|
|
|
34
34
|
// src/core-server/utils/server-statics.ts
|
|
35
35
|
import { existsSync, statSync } from "node:fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__require
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
|
|
17
17
|
var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __require2 = ((x) => typeof __require < "u" ? __require : typeof Proxy < "u" ? new Proxy(x, {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-5VOKWTHJ.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/ts-dedent/dist/index.js
|
|
17
17
|
var require_dist = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_1232wqooqc3l.createRequire(import.meta.url)
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5VOKWTHJ.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_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
any,
|
|
14
14
|
invariant,
|
|
15
15
|
up2 as up
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VZ6EDE7M.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-676RYYTC.js";
|
|
20
20
|
import {
|
|
21
21
|
require_dist
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-R4N2FLEZ.js";
|
|
23
23
|
import {
|
|
24
24
|
babelParse,
|
|
25
25
|
recast,
|
|
26
26
|
traverse,
|
|
27
27
|
types
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DCDE2LZP.js";
|
|
29
29
|
import {
|
|
30
30
|
require_picocolors
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-F67RSVRX.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__require,
|
|
35
35
|
__toESM
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
37
37
|
|
|
38
38
|
// ../node_modules/esprima/dist/esprima.js
|
|
39
39
|
var require_esprima = __commonJS({
|
|
@@ -5870,11 +5870,11 @@ var AddonVitestService = class {
|
|
|
5870
5870
|
* @returns Array of error messages if installation fails
|
|
5871
5871
|
*/
|
|
5872
5872
|
async installPlaywright(options = {}) {
|
|
5873
|
-
let errors = [], playwrightCommand = ["playwright", "install", "chromium", "--with-deps"];
|
|
5873
|
+
let errors = [], playwrightCommand = ["playwright", "install", "chromium", "--with-deps"], playwrightCommandString = this.packageManager.getPackageCommand(playwrightCommand);
|
|
5874
5874
|
try {
|
|
5875
5875
|
(options.yes ? !0 : await (async () => (logger3.log(import_ts_dedent2.dedent`
|
|
5876
5876
|
Playwright browser binaries are necessary for @storybook/addon-vitest. The download can take some time. If you don't want to wait, you can skip the installation and run the following command manually later:
|
|
5877
|
-
${CLI_COLORS.cta(
|
|
5877
|
+
${CLI_COLORS.cta(playwrightCommandString)}
|
|
5878
5878
|
`), prompt3.confirm({
|
|
5879
5879
|
message: "Do you want to install Playwright with Chromium now?",
|
|
5880
5880
|
initialValue: !0
|
|
@@ -5886,8 +5886,8 @@ var AddonVitestService = class {
|
|
|
5886
5886
|
}),
|
|
5887
5887
|
{
|
|
5888
5888
|
id: "playwright-installation",
|
|
5889
|
-
intro: 'Installing Playwright browser binaries (
|
|
5890
|
-
error: `An error occurred while installing Playwright browser binaries. Please run the following command later:
|
|
5889
|
+
intro: 'Installing Playwright browser binaries (press "c" to abort)',
|
|
5890
|
+
error: `An error occurred while installing Playwright browser binaries. Please run the following command later: ${playwrightCommandString}`,
|
|
5891
5891
|
success: "Playwright browser binaries installed successfully",
|
|
5892
5892
|
abortable: !0
|
|
5893
5893
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
version
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-L3S6HFZ7.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
execa,
|
|
@@ -19,28 +19,25 @@ import {
|
|
|
19
19
|
getProjectRoot,
|
|
20
20
|
resolvePathInStorybookCache,
|
|
21
21
|
up
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JKZ5HEMT.js";
|
|
23
23
|
import {
|
|
24
24
|
getSessionId,
|
|
25
25
|
nanoid,
|
|
26
26
|
set
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IZ4CTLAY.js";
|
|
28
28
|
import {
|
|
29
29
|
globalSettings
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6SDCYDUQ.js";
|
|
31
31
|
import {
|
|
32
32
|
resolvePackageDir
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-676RYYTC.js";
|
|
34
34
|
import {
|
|
35
35
|
slash
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import {
|
|
38
|
-
require_dist
|
|
39
|
-
} from "./chunk-RV4TIB2A.js";
|
|
36
|
+
} from "./chunk-K43XPHKR.js";
|
|
40
37
|
import {
|
|
41
38
|
__commonJS,
|
|
42
39
|
__toESM
|
|
43
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
44
41
|
|
|
45
42
|
// ../node_modules/fetch-retry/index.js
|
|
46
43
|
var require_fetch_retry = __commonJS({
|
|
@@ -132,15 +129,11 @@ var require_fetch_retry = __commonJS({
|
|
|
132
129
|
import { logger as logger2 } from "storybook/internal/node-logger";
|
|
133
130
|
|
|
134
131
|
// src/telemetry/notify.ts
|
|
135
|
-
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
136
132
|
import { cache } from "storybook/internal/common";
|
|
137
133
|
import { logger } from "storybook/internal/node-logger";
|
|
138
134
|
var TELEMETRY_KEY_NOTIFY_DATE = "telemetry-notification-date", called = !1, notify = async () => {
|
|
139
135
|
called || (called = !0, await cache.get(TELEMETRY_KEY_NOTIFY_DATE, null) || (cache.set(TELEMETRY_KEY_NOTIFY_DATE, Date.now()), logger.info(
|
|
140
|
-
|
|
141
|
-
Attention: Storybook collects completely anonymous telemetry regarding usage. This information is used to shape Storybook's roadmap and prioritize features. You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
|
|
142
|
-
https://storybook.js.org/telemetry
|
|
143
|
-
`
|
|
136
|
+
"Storybook collects completely anonymous usage telemetry. We use it to shape Storybook's roadmap and prioritize features. You can learn more, including how to opt out, at https://storybook.js.org/telemetry"
|
|
144
137
|
)));
|
|
145
138
|
};
|
|
146
139
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_1232wqooqc3l.createRequire(import.meta.url)
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/ms/index.js
|
|
18
18
|
var require_ms = __commonJS({
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-QWPDENGK.js";
|
|
15
|
+
import "./chunk-5VOKWTHJ.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/@storybook/docs-mdx/dist/index.js
|
|
18
18
|
var getAttr = (elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute" && n.name.name === what), getAttrValue = (elt, what) => getAttr(elt, what)?.value, getAttrLiteral = (elt, what) => {
|
|
@@ -107,7 +107,7 @@ var getAttr = (elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute
|
|
|
107
107
|
isTemplate: !1,
|
|
108
108
|
metaTags: void 0,
|
|
109
109
|
imports: void 0
|
|
110
|
-
}, { compile } = await import("./mdx-N42X6CFJ-
|
|
110
|
+
}, { compile } = await import("./mdx-N42X6CFJ-ABE6VGZM.js");
|
|
111
111
|
await compile(code, {
|
|
112
112
|
rehypePlugins: [[plugin, store]]
|
|
113
113
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,15 +12,15 @@ var require = CJS_COMPAT_NODE_MODULE_1232wqooqc3l.createRequire(import.meta.url)
|
|
|
12
12
|
import {
|
|
13
13
|
require_picomatch,
|
|
14
14
|
require_utils
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AIU56TIK.js";
|
|
16
16
|
import {
|
|
17
17
|
slash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K43XPHKR.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
24
24
|
|
|
25
25
|
// ../node_modules/fast-glob/out/utils/array.js
|
|
26
26
|
var require_array = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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
|
__require,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/app-root-dir/lib/index.js
|
|
19
19
|
var require_lib = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
position,
|
|
22
22
|
start,
|
|
23
23
|
toEstree
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-QWPDENGK.js";
|
|
25
|
+
import "./chunk-5VOKWTHJ.js";
|
|
26
26
|
|
|
27
27
|
// ../node_modules/@storybook/docs-mdx/dist/mdx-N42X6CFJ.js
|
|
28
28
|
import { default as default2 } from "path";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-5VOKWTHJ.js";
|
|
13
13
|
|
|
14
14
|
// ../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|