storybook 10.0.6 → 10.0.8
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/_browser-chunks/{chunk-RW5PKMWM.js → chunk-HERDX7MO.js} +2 -2
- package/dist/_browser-chunks/{chunk-UTNZYD2N.js → chunk-KHNISLMN.js} +81 -37
- package/dist/_browser-chunks/{chunk-B4A3ADP3.js → chunk-U2JWIJRX.js} +1 -1
- package/dist/_browser-chunks/{chunk-SYS437NN.js → chunk-VQJJDUCI.js} +1 -1
- package/dist/_node-chunks/{builder-manager-5BE3TVEG.js → builder-manager-32BKVJNY.js} +12 -12
- package/dist/_node-chunks/camelcase-A6XPJDW2.js +18 -0
- package/dist/_node-chunks/{chunk-HDJVTGFA.js → chunk-2JVDNALC.js} +7 -7
- package/dist/_node-chunks/{chunk-56RMQVQY.js → chunk-2YHAMJAY.js} +7 -7
- package/dist/_node-chunks/{chunk-6AFH6BK3.js → chunk-425EMBPZ.js} +297 -768
- package/dist/_node-chunks/{chunk-QQXHPA76.js → chunk-4UOXOBHK.js} +22 -16
- package/dist/_node-chunks/{chunk-LG2WHY6N.js → chunk-4WKJYHSS.js} +7 -7
- package/dist/_node-chunks/{chunk-JSMQSCY6.js → chunk-5VYG646K.js} +7 -7
- package/dist/_node-chunks/chunk-A3KNZ5FW.js +18 -0
- package/dist/_node-chunks/{chunk-2HHKCD24.js → chunk-C4ROO6RE.js} +7 -7
- package/dist/_node-chunks/{chunk-OUWPG727.js → chunk-CWWI6A7W.js} +8 -8
- package/dist/_node-chunks/{chunk-FOQLIZOZ.js → chunk-DPKZQ6YX.js} +7 -7
- package/dist/_node-chunks/{chunk-LD6DUTZM.js → chunk-EGWLH7SG.js} +10 -10
- package/dist/_node-chunks/{chunk-PVNLHT7L.js → chunk-F6NUZ463.js} +9 -9
- package/dist/_node-chunks/{chunk-IH6W7E4F.js → chunk-FYLSDVSH.js} +21 -21
- package/dist/_node-chunks/{chunk-XONWFYRB.js → chunk-HUKSE3QZ.js} +7 -7
- package/dist/_node-chunks/{chunk-F362GMSK.js → chunk-IR6AN3RK.js} +8 -8
- package/dist/_node-chunks/{chunk-MERGUJ3N.js → chunk-J5R55OCP.js} +7 -7
- package/dist/_node-chunks/{chunk-YDW7IXUU.js → chunk-JBW3FROT.js} +6 -6
- package/dist/_node-chunks/{chunk-SQIPJWM7.js → chunk-JFMDUYER.js} +7 -7
- package/dist/_node-chunks/{chunk-2GBN7SJF.js → chunk-JVUHT63V.js} +8 -8
- package/dist/_node-chunks/{chunk-QQIWF6OB.js → chunk-K373EZTP.js} +12 -12
- package/dist/_node-chunks/{chunk-4FUKV4QU.js → chunk-KVR64UU2.js} +529 -284
- package/dist/_node-chunks/chunk-NEOS45YA.js +61 -0
- package/dist/_node-chunks/{chunk-DL43IE5O.js → chunk-OVJEF4RI.js} +9 -9
- package/dist/_node-chunks/{chunk-HRBEKIHV.js → chunk-PK3UILX6.js} +7 -7
- package/dist/_node-chunks/{chunk-LJJZ3BAM.js → chunk-QHYQ5G5G.js} +7 -7
- package/dist/_node-chunks/{chunk-BJYCX337.js → chunk-TKXE3RQ5.js} +12 -12
- package/dist/_node-chunks/{chunk-KPKM4AEB.js → chunk-UOLIYXDF.js} +7 -7
- package/dist/_node-chunks/{chunk-6EXM6B54.js → chunk-V4MKEKP7.js} +7 -7
- package/dist/_node-chunks/{chunk-JYHAADG7.js → chunk-V7ZKSK5R.js} +7 -7
- package/dist/_node-chunks/{chunk-X6O7XFYS.js → chunk-VTD5TIUC.js} +8 -8
- package/dist/_node-chunks/{chunk-NIRITJWP.js → chunk-VWYF3SCI.js} +7 -7
- package/dist/_node-chunks/{chunk-QNHU6QSD.js → chunk-YUFML7ZZ.js} +7 -7
- package/dist/_node-chunks/{chunk-QKSFE2UN.js → chunk-ZDZQHU26.js} +6 -6
- package/dist/_node-chunks/{dist-AONDCLQW.js → dist-SD7YZH5A.js} +9 -9
- package/dist/_node-chunks/{globby-NXAV5VNT.js → globby-FODEQLAP.js} +9 -9
- package/dist/_node-chunks/{lib-W6JDP72S.js → lib-G6JECM5H.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-LMR2UFJM.js → mdx-N42X6CFJ-MK2KTUH7.js} +8 -8
- package/dist/_node-chunks/{p-limit-LRYXPTYK.js → p-limit-IJ5D4B4L.js} +10 -7
- package/dist/_node-chunks/{plugin-FM35FQEB.js → plugin-NXD266M2.js} +10 -10
- package/dist/_node-chunks/{plugin-OJ7NTAAH.js → plugin-SAVMZDUL.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-V7WJU2MN.js → webpack-inject-mocker-runtime-plugin-2PG2OIHX.js} +30 -24
- package/dist/_node-chunks/{webpack-mock-plugin-B3R7K7R2.js → webpack-mock-plugin-CQH72GQV.js} +9 -9
- package/dist/babel/index.d.ts +671 -335
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +12 -12
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +77 -82
- package/dist/common/index.js +20 -20
- package/dist/components/index.js +394 -176
- package/dist/core-server/index.js +55 -44
- package/dist/core-server/presets/common-manager.js +238 -230
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +24 -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/index.js +3 -3
- package/dist/csf-tools/index.js +9 -9
- package/dist/docs-tools/index.js +2 -2
- package/dist/manager/globals-runtime.js +4291 -4116
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.js +3 -3
- package/dist/node-logger/index.js +576 -531
- package/dist/preview/runtime.js +953 -891
- package/dist/preview-api/index.js +3 -3
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +24 -24
- package/dist/test/index.js +609 -547
- package/dist/theming/index.d.ts +3363 -2597
- package/package.json +2 -2
- package/dist/_node-chunks/camelcase-AEFVF77F.js +0 -18
- package/dist/_node-chunks/chunk-HOUX2ZA6.js +0 -18
- package/dist/_node-chunks/chunk-PHNGYIYJ.js +0 -61
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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-A3KNZ5FW.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
resolvePathInStorybookCache,
|
|
18
18
|
up
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FYLSDVSH.js";
|
|
20
20
|
import {
|
|
21
21
|
globalSettings
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CWWI6A7W.js";
|
|
23
23
|
import {
|
|
24
24
|
execaCommand,
|
|
25
25
|
getProjectRoot
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-F6NUZ463.js";
|
|
27
27
|
import {
|
|
28
28
|
getSessionId,
|
|
29
29
|
nanoid,
|
|
30
30
|
set
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5VYG646K.js";
|
|
32
32
|
import {
|
|
33
33
|
resolvePackageDir
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-425EMBPZ.js";
|
|
35
35
|
import {
|
|
36
36
|
slash
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QHYQ5G5G.js";
|
|
38
38
|
import {
|
|
39
39
|
require_picocolors
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-4WKJYHSS.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__name,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JBW3FROT.js";
|
|
46
46
|
|
|
47
47
|
// ../node_modules/fetch-retry/index.js
|
|
48
48
|
var require_fetch_retry = __commonJS({
|
|
@@ -508,6 +508,7 @@ var npm = {
|
|
|
508
508
|
"add": ["npm", "i", 0],
|
|
509
509
|
"upgrade": ["npm", "update", 0],
|
|
510
510
|
"upgrade-interactive": null,
|
|
511
|
+
"dedupe": ["npm", "dedupe", 0],
|
|
511
512
|
"execute": ["npx", 0],
|
|
512
513
|
"execute-local": ["npx", 0],
|
|
513
514
|
"uninstall": ["npm", "uninstall", 0],
|
|
@@ -522,6 +523,7 @@ var yarn = {
|
|
|
522
523
|
"add": ["yarn", "add", 0],
|
|
523
524
|
"upgrade": ["yarn", "upgrade", 0],
|
|
524
525
|
"upgrade-interactive": ["yarn", "upgrade-interactive", 0],
|
|
526
|
+
"dedupe": null,
|
|
525
527
|
"execute": ["npx", 0],
|
|
526
528
|
"execute-local": dashDashArg("yarn", "exec"),
|
|
527
529
|
"uninstall": ["yarn", "remove", 0],
|
|
@@ -532,6 +534,7 @@ var yarnBerry = {
|
|
|
532
534
|
"frozen": ["yarn", "install", "--immutable", 0],
|
|
533
535
|
"upgrade": ["yarn", "up", 0],
|
|
534
536
|
"upgrade-interactive": ["yarn", "up", "-i", 0],
|
|
537
|
+
"dedupe": ["yarn", "dedupe", 0],
|
|
535
538
|
"execute": ["yarn", "dlx", 0],
|
|
536
539
|
"execute-local": ["yarn", "exec", 0],
|
|
537
540
|
// Yarn 2+ removed 'global', see https://github.com/yarnpkg/berry/issues/821
|
|
@@ -547,6 +550,7 @@ var pnpm = {
|
|
|
547
550
|
"add": ["pnpm", "add", 0],
|
|
548
551
|
"upgrade": ["pnpm", "update", 0],
|
|
549
552
|
"upgrade-interactive": ["pnpm", "update", "-i", 0],
|
|
553
|
+
"dedupe": ["pnpm", "dedupe", 0],
|
|
550
554
|
"execute": ["pnpm", "dlx", 0],
|
|
551
555
|
"execute-local": ["pnpm", "exec", 0],
|
|
552
556
|
"uninstall": ["pnpm", "remove", 0],
|
|
@@ -560,7 +564,8 @@ var bun = {
|
|
|
560
564
|
"global": ["bun", "add", "-g", 0],
|
|
561
565
|
"add": ["bun", "add", 0],
|
|
562
566
|
"upgrade": ["bun", "update", 0],
|
|
563
|
-
"upgrade-interactive": ["bun", "update", 0],
|
|
567
|
+
"upgrade-interactive": ["bun", "update", "-i", 0],
|
|
568
|
+
"dedupe": null,
|
|
564
569
|
"execute": ["bun", "x", 0],
|
|
565
570
|
"execute-local": ["bun", "x", 0],
|
|
566
571
|
"uninstall": ["bun", "remove", 0],
|
|
@@ -575,6 +580,7 @@ var deno = {
|
|
|
575
580
|
"add": ["deno", "add", 0],
|
|
576
581
|
"upgrade": ["deno", "outdated", "--update", 0],
|
|
577
582
|
"upgrade-interactive": ["deno", "outdated", "--update", 0],
|
|
583
|
+
"dedupe": null,
|
|
578
584
|
"execute": denoExecute(),
|
|
579
585
|
"execute-local": ["deno", "task", "--eval", 0],
|
|
580
586
|
"uninstall": ["deno", "remove", 0],
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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_7dkkmtio2yt.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JBW3FROT.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/picocolors/picocolors.js
|
|
18
18
|
var require_picocolors = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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-JBW3FROT.js";
|
|
15
15
|
|
|
16
16
|
// src/telemetry/event-cache.ts
|
|
17
17
|
import { cache } from "storybook/internal/common";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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.0.8";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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-JBW3FROT.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/empathic/resolve.mjs
|
|
17
17
|
import { createRequire } from "node:module";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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-PK3UILX6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export,
|
|
17
17
|
__name,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JBW3FROT.js";
|
|
20
20
|
|
|
21
21
|
// src/cli/globalSettings.ts
|
|
22
22
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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-JBW3FROT.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/totalist/sync/index.js
|
|
19
19
|
var require_sync = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JBW3FROT.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/balanced-match/index.js
|
|
19
19
|
var require_balanced_match = __commonJS({
|
|
@@ -1581,7 +1581,7 @@ minimatch.unescape = unescape;
|
|
|
1581
1581
|
// ../node_modules/glob/dist/esm/glob.js
|
|
1582
1582
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
1583
1583
|
|
|
1584
|
-
// ../node_modules/lru-cache/dist/esm/index.js
|
|
1584
|
+
// ../node_modules/glob/node_modules/lru-cache/dist/esm/index.js
|
|
1585
1585
|
var perf = typeof performance === "object" && performance && typeof performance.now === "function" ? performance : Date;
|
|
1586
1586
|
var warned = /* @__PURE__ */ new Set();
|
|
1587
1587
|
var PROCESS = typeof process === "object" && !!process ? process : {};
|
|
@@ -2965,7 +2965,7 @@ var LRUCache = class _LRUCache {
|
|
|
2965
2965
|
}
|
|
2966
2966
|
};
|
|
2967
2967
|
|
|
2968
|
-
// ../node_modules/path-scurry/dist/esm/index.js
|
|
2968
|
+
// ../node_modules/glob/node_modules/path-scurry/dist/esm/index.js
|
|
2969
2969
|
import { posix, win32 } from "node:path";
|
|
2970
2970
|
import { fileURLToPath } from "node:url";
|
|
2971
2971
|
import { lstatSync, readdir as readdirCB, readdirSync, readlinkSync, realpathSync as rps } from "fs";
|
|
@@ -3859,7 +3859,7 @@ var Minipass = class extends EventEmitter {
|
|
|
3859
3859
|
}
|
|
3860
3860
|
};
|
|
3861
3861
|
|
|
3862
|
-
// ../node_modules/path-scurry/dist/esm/index.js
|
|
3862
|
+
// ../node_modules/glob/node_modules/path-scurry/dist/esm/index.js
|
|
3863
3863
|
var realpathSync = rps.native;
|
|
3864
3864
|
var defaultFS = {
|
|
3865
3865
|
lstatSync,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
any,
|
|
14
14
|
up,
|
|
15
15
|
up2
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-C4ROO6RE.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__name,
|
|
20
20
|
__require,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JBW3FROT.js";
|
|
23
23
|
|
|
24
24
|
// ../node_modules/tinyglobby/node_modules/picomatch/lib/constants.js
|
|
25
25
|
var require_constants = __commonJS({
|
|
@@ -3023,7 +3023,7 @@ __name(normalizeStoryPath, "normalizeStoryPath");
|
|
|
3023
3023
|
|
|
3024
3024
|
// src/common/utils/envs.ts
|
|
3025
3025
|
async function loadEnvs(options = {}) {
|
|
3026
|
-
const { getEnvironment } = await import("./lib-
|
|
3026
|
+
const { getEnvironment } = await import("./lib-G6JECM5H.js");
|
|
3027
3027
|
const defaultNodeEnv = options.production ? "production" : "development";
|
|
3028
3028
|
const env = {
|
|
3029
3029
|
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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_picomatch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-V4MKEKP7.js";
|
|
15
15
|
import {
|
|
16
16
|
versions_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NEOS45YA.js";
|
|
18
18
|
import {
|
|
19
19
|
BUN_LOCKFILE,
|
|
20
20
|
BUN_LOCKFILE_BINARY,
|
|
@@ -27,42 +27,42 @@ import {
|
|
|
27
27
|
getProjectRoot,
|
|
28
28
|
normalizeStoryPath,
|
|
29
29
|
require_cross_spawn
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-F6NUZ463.js";
|
|
31
31
|
import {
|
|
32
32
|
any,
|
|
33
33
|
from,
|
|
34
34
|
up2 as up
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-C4ROO6RE.js";
|
|
36
36
|
import {
|
|
37
37
|
invariant
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-HUKSE3QZ.js";
|
|
39
39
|
import {
|
|
40
40
|
importModule,
|
|
41
41
|
resolveModulePath,
|
|
42
42
|
resolvePackageDir,
|
|
43
43
|
safeResolveModule
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-425EMBPZ.js";
|
|
45
45
|
import {
|
|
46
46
|
join,
|
|
47
47
|
parse,
|
|
48
48
|
resolve
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-J5R55OCP.js";
|
|
50
50
|
import {
|
|
51
51
|
require_prompts
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-VWYF3SCI.js";
|
|
53
53
|
import {
|
|
54
54
|
glob,
|
|
55
55
|
globSync
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-EGWLH7SG.js";
|
|
57
57
|
import {
|
|
58
58
|
slash
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-QHYQ5G5G.js";
|
|
60
60
|
import {
|
|
61
61
|
require_dist
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-PK3UILX6.js";
|
|
63
63
|
import {
|
|
64
64
|
require_picocolors
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-4WKJYHSS.js";
|
|
66
66
|
import {
|
|
67
67
|
__commonJS,
|
|
68
68
|
__esm,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
__require,
|
|
72
72
|
__toCommonJS,
|
|
73
73
|
__toESM
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-JBW3FROT.js";
|
|
75
75
|
|
|
76
76
|
// ../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js
|
|
77
77
|
var tslib_es6_exports = {};
|
|
@@ -14164,7 +14164,7 @@ async function scanAndTransformFiles({
|
|
|
14164
14164
|
initial: defaultGlob
|
|
14165
14165
|
});
|
|
14166
14166
|
console.log("Scanning for affected files...");
|
|
14167
|
-
const globby = (await import("./globby-
|
|
14167
|
+
const globby = (await import("./globby-FODEQLAP.js")).globby;
|
|
14168
14168
|
const sourceFiles = await globby([glob2], {
|
|
14169
14169
|
...commonGlobOptions(""),
|
|
14170
14170
|
ignore: ["**/node_modules/**"],
|
|
@@ -14194,7 +14194,7 @@ function transformImports(source, renamedImports) {
|
|
|
14194
14194
|
__name(transformImports, "transformImports");
|
|
14195
14195
|
var transformImportFiles = /* @__PURE__ */ __name(async (files, renamedImports, dryRun) => {
|
|
14196
14196
|
const errors = [];
|
|
14197
|
-
const { default: pLimit } = await import("./p-limit-
|
|
14197
|
+
const { default: pLimit } = await import("./p-limit-IJ5D4B4L.js");
|
|
14198
14198
|
const limit = pLimit(10);
|
|
14199
14199
|
await Promise.all(
|
|
14200
14200
|
files.map(
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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-JBW3FROT.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
17
17
|
var isProduction = process.env.NODE_ENV === "production";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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-PK3UILX6.js";
|
|
15
15
|
import {
|
|
16
16
|
__name,
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JBW3FROT.js";
|
|
19
19
|
|
|
20
20
|
// src/csf-tools/CsfFile.ts
|
|
21
21
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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-JBW3FROT.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
17
17
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.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_7dkkmtio2yt.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__name,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JBW3FROT.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
|
|
18
18
|
var __create = Object.create;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_39zvq8kkt8 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_39zvq8kkt8 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_39zvq8kkt8 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_39zvq8kkt8.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_39zvq8kkt8.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_39zvq8kkt8.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
join,
|
|
17
17
|
normalize,
|
|
18
18
|
resolve
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-J5R55OCP.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JBW3FROT.js";
|
|
23
23
|
|
|
24
24
|
// src/core-server/mocking-utils/resolve.ts
|
|
25
25
|
import { readFileSync as readFileSync2, realpathSync } from "node:fs";
|