storybook 10.1.0-alpha.11 → 10.1.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_node-chunks/{builder-manager-PMPHOSM2.js → builder-manager-YUOHSIUB.js} +12 -12
- package/dist/_node-chunks/camelcase-JREIL7NV.js +18 -0
- package/dist/_node-chunks/{chunk-YHRFI6BE.js → chunk-2D2IODUU.js} +10 -10
- package/dist/_node-chunks/{chunk-5QK5MSOI.js → chunk-2DMESZFJ.js} +7 -7
- package/dist/_node-chunks/{chunk-JCRM2YVK.js → chunk-4FT2DHGE.js} +8 -8
- package/dist/_node-chunks/{chunk-ZZSRFAC6.js → chunk-5HV3B5OP.js} +14 -14
- package/dist/_node-chunks/{chunk-WLHMN7AP.js → chunk-5KLIDWFN.js} +7 -7
- package/dist/_node-chunks/{chunk-SPQXMU2Q.js → chunk-A4APXFQ2.js} +7 -7
- package/dist/_node-chunks/{chunk-MJ3WOS6F.js → chunk-B6JWY6PC.js} +6 -6
- package/dist/_node-chunks/{chunk-UY26MQLT.js → chunk-CZ5GHJCC.js} +7 -7
- package/dist/_node-chunks/{chunk-PHOZWZZO.js → chunk-DUXPWBOK.js} +7 -7
- package/dist/_node-chunks/{chunk-4GZCFQFG.js → chunk-DWXTZT3D.js} +6 -6
- package/dist/_node-chunks/chunk-E5FJS66Z.js +20 -0
- package/dist/_node-chunks/{chunk-QECOQWRJ.js → chunk-EZWWR7AR.js} +15 -15
- package/dist/_node-chunks/{chunk-L7MYXJUM.js → chunk-FDXFVHIL.js} +7 -7
- package/dist/_node-chunks/{chunk-LCZO45L7.js → chunk-FZLRAH4N.js} +7 -7
- package/dist/_node-chunks/{chunk-C2GQVDWI.js → chunk-HZG65SU3.js} +7 -7
- package/dist/_node-chunks/chunk-IXVYNBMD.js +18 -0
- package/dist/_node-chunks/{chunk-ZZALGOA6.js → chunk-JARUEMEP.js} +7 -7
- package/dist/_node-chunks/{chunk-GQJOWVVR.js → chunk-LIH7MTP7.js} +7 -7
- package/dist/_node-chunks/{chunk-7I22Y76Z.js → chunk-N5GIRUP5.js} +8 -8
- package/dist/_node-chunks/{chunk-32NE3UE3.js → chunk-NAOYEL54.js} +7 -7
- package/dist/_node-chunks/{chunk-LXG4DK35.js → chunk-O5DA7YLO.js} +9 -9
- package/dist/_node-chunks/{chunk-XGVLB4UJ.js → chunk-OP3INKUD.js} +6 -6
- package/dist/_node-chunks/{chunk-LR3QITDI.js → chunk-QCO2ZM7F.js} +12 -12
- package/dist/_node-chunks/{chunk-R6HWGZWD.js → chunk-QYQIZBS6.js} +6 -6
- package/dist/_node-chunks/{chunk-TXZY6V6O.js → chunk-SEMIAAWG.js} +8 -8
- package/dist/_node-chunks/{chunk-ZZPBSYA5.js → chunk-TS2UUH2J.js} +7 -7
- package/dist/_node-chunks/{chunk-BBOP3XCK.js → chunk-WA6KZQZ2.js} +6 -6
- package/dist/_node-chunks/{chunk-GG2WQZSG.js → chunk-WFLWJO24.js} +21 -21
- package/dist/_node-chunks/{chunk-AKTRSR3O.js → chunk-WUXQMQCB.js} +6 -6
- package/dist/_node-chunks/{chunk-6ZOLETQK.js → chunk-XXPJ7XR3.js} +6 -6
- package/dist/_node-chunks/chunk-Y4E6IGQF.js +61 -0
- package/dist/_node-chunks/{chunk-KK4AT5F3.js → chunk-ZL3AFKRX.js} +12 -12
- package/dist/_node-chunks/{chunk-UGDPX5LE.js → chunk-ZXSD6L3S.js} +6 -6
- package/dist/_node-chunks/{dist-4DWOCZUD.js → dist-DS2B5A3J.js} +9 -9
- package/dist/_node-chunks/{globby-AAARUKEU.js → globby-6THB7HVX.js} +9 -9
- package/dist/_node-chunks/{lib-HEUKGL62.js → lib-5NKX4YGG.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-DCVRPS6N.js → mdx-N42X6CFJ-ZLT3QOFF.js} +8 -8
- package/dist/_node-chunks/{p-limit-F5ZKJ6WZ.js → p-limit-PDMWNG7W.js} +7 -7
- package/dist/_node-chunks/{plugin-7YY7JXCH.js → plugin-6XMWOGPO.js} +10 -10
- package/dist/_node-chunks/{plugin-SZP3CW6W.js → plugin-LTOXVT6A.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-TGKNDPO6.js → webpack-inject-mocker-runtime-plugin-2SFE5LQS.js} +25 -66
- package/dist/_node-chunks/{webpack-mock-plugin-LNTZZFBE.js → webpack-mock-plugin-CX5J2U56.js} +9 -9
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +11 -11
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +21 -21
- package/dist/common/index.js +20 -20
- package/dist/core-server/index.js +36 -36
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +21 -21
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/node-logger/index.js +14 -14
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +24 -24
- package/package.json +1 -1
- package/dist/_node-chunks/camelcase-K3IOOFQW.js +0 -18
- package/dist/_node-chunks/chunk-QH4V5YDB.js +0 -20
- package/dist/_node-chunks/chunk-WK3EMYK6.js +0 -61
- package/dist/_node-chunks/chunk-YK4KVMFW.js +0 -18
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_picomatch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2DMESZFJ.js";
|
|
15
15
|
import {
|
|
16
16
|
versions_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Y4E6IGQF.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-O5DA7YLO.js";
|
|
31
31
|
import {
|
|
32
32
|
any,
|
|
33
33
|
from,
|
|
34
34
|
up2 as up
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DWXTZT3D.js";
|
|
36
36
|
import {
|
|
37
37
|
invariant
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QYQIZBS6.js";
|
|
39
39
|
import {
|
|
40
40
|
importModule,
|
|
41
41
|
resolveModulePath,
|
|
42
42
|
resolvePackageDir,
|
|
43
43
|
safeResolveModule
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-A4APXFQ2.js";
|
|
45
45
|
import {
|
|
46
46
|
join,
|
|
47
47
|
parse,
|
|
48
48
|
resolve
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-WA6KZQZ2.js";
|
|
50
50
|
import {
|
|
51
51
|
require_prompts
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LIH7MTP7.js";
|
|
53
53
|
import {
|
|
54
54
|
glob,
|
|
55
55
|
globSync
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-JARUEMEP.js";
|
|
57
57
|
import {
|
|
58
58
|
slash
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-E5FJS66Z.js";
|
|
60
60
|
import {
|
|
61
61
|
require_dist
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-DUXPWBOK.js";
|
|
63
63
|
import {
|
|
64
64
|
require_picocolors
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-NAOYEL54.js";
|
|
66
66
|
import {
|
|
67
67
|
__commonJS,
|
|
68
68
|
__esm,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
__require,
|
|
71
71
|
__toCommonJS,
|
|
72
72
|
__toESM
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-OP3INKUD.js";
|
|
74
74
|
|
|
75
75
|
// ../node_modules/resolve/lib/homedir.js
|
|
76
76
|
var require_homedir = __commonJS({
|
|
@@ -11430,7 +11430,7 @@ async function scanAndTransformFiles({
|
|
|
11430
11430
|
initial: defaultGlob
|
|
11431
11431
|
});
|
|
11432
11432
|
console.log("Scanning for affected files...");
|
|
11433
|
-
let globby = (await import("./globby-
|
|
11433
|
+
let globby = (await import("./globby-6THB7HVX.js")).globby, sourceFiles = await globby([glob2], {
|
|
11434
11434
|
...commonGlobOptions(""),
|
|
11435
11435
|
ignore: ["**/node_modules/**"],
|
|
11436
11436
|
dot: !0,
|
|
@@ -11451,7 +11451,7 @@ function transformImports(source, renamedImports) {
|
|
|
11451
11451
|
return hasChanges ? transformed : null;
|
|
11452
11452
|
}
|
|
11453
11453
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
11454
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
11454
|
+
let errors = [], { default: pLimit } = await import("./p-limit-PDMWNG7W.js"), limit = pLimit(10);
|
|
11455
11455
|
return await Promise.all(
|
|
11456
11456
|
files.map(
|
|
11457
11457
|
(file) => limit(async () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// src/common/versions.ts
|
|
14
|
+
var versions_default = {
|
|
15
|
+
"@storybook/addon-a11y": "10.1.0-alpha.12",
|
|
16
|
+
"@storybook/addon-docs": "10.1.0-alpha.12",
|
|
17
|
+
"@storybook/addon-links": "10.1.0-alpha.12",
|
|
18
|
+
"@storybook/addon-onboarding": "10.1.0-alpha.12",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.1.0-alpha.12",
|
|
20
|
+
"@storybook/addon-themes": "10.1.0-alpha.12",
|
|
21
|
+
"@storybook/addon-vitest": "10.1.0-alpha.12",
|
|
22
|
+
"@storybook/builder-vite": "10.1.0-alpha.12",
|
|
23
|
+
"@storybook/builder-webpack5": "10.1.0-alpha.12",
|
|
24
|
+
storybook: "10.1.0-alpha.12",
|
|
25
|
+
"@storybook/angular": "10.1.0-alpha.12",
|
|
26
|
+
"@storybook/ember": "10.1.0-alpha.12",
|
|
27
|
+
"@storybook/html-vite": "10.1.0-alpha.12",
|
|
28
|
+
"@storybook/nextjs": "10.1.0-alpha.12",
|
|
29
|
+
"@storybook/nextjs-vite": "10.1.0-alpha.12",
|
|
30
|
+
"@storybook/preact-vite": "10.1.0-alpha.12",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.1.0-alpha.12",
|
|
32
|
+
"@storybook/react-vite": "10.1.0-alpha.12",
|
|
33
|
+
"@storybook/react-webpack5": "10.1.0-alpha.12",
|
|
34
|
+
"@storybook/server-webpack5": "10.1.0-alpha.12",
|
|
35
|
+
"@storybook/svelte-vite": "10.1.0-alpha.12",
|
|
36
|
+
"@storybook/sveltekit": "10.1.0-alpha.12",
|
|
37
|
+
"@storybook/vue3-vite": "10.1.0-alpha.12",
|
|
38
|
+
"@storybook/web-components-vite": "10.1.0-alpha.12",
|
|
39
|
+
sb: "10.1.0-alpha.12",
|
|
40
|
+
"@storybook/cli": "10.1.0-alpha.12",
|
|
41
|
+
"@storybook/codemod": "10.1.0-alpha.12",
|
|
42
|
+
"@storybook/core-webpack": "10.1.0-alpha.12",
|
|
43
|
+
"create-storybook": "10.1.0-alpha.12",
|
|
44
|
+
"@storybook/csf-plugin": "10.1.0-alpha.12",
|
|
45
|
+
"eslint-plugin-storybook": "10.1.0-alpha.12",
|
|
46
|
+
"@storybook/react-dom-shim": "10.1.0-alpha.12",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.1.0-alpha.12",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.1.0-alpha.12",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.1.0-alpha.12",
|
|
50
|
+
"@storybook/html": "10.1.0-alpha.12",
|
|
51
|
+
"@storybook/preact": "10.1.0-alpha.12",
|
|
52
|
+
"@storybook/react": "10.1.0-alpha.12",
|
|
53
|
+
"@storybook/server": "10.1.0-alpha.12",
|
|
54
|
+
"@storybook/svelte": "10.1.0-alpha.12",
|
|
55
|
+
"@storybook/vue3": "10.1.0-alpha.12",
|
|
56
|
+
"@storybook/web-components": "10.1.0-alpha.12"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,22 +12,22 @@ var require = CJS_COMPAT_NODE_MODULE_843v2rliy1.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
any,
|
|
14
14
|
up2 as up
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DWXTZT3D.js";
|
|
16
16
|
import {
|
|
17
17
|
invariant
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QYQIZBS6.js";
|
|
19
19
|
import {
|
|
20
20
|
resolvePackageDir
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-A4APXFQ2.js";
|
|
22
22
|
import {
|
|
23
23
|
require_prompts
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LIH7MTP7.js";
|
|
25
25
|
import {
|
|
26
26
|
require_picocolors
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NAOYEL54.js";
|
|
28
28
|
import {
|
|
29
29
|
__toESM
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OP3INKUD.js";
|
|
31
31
|
|
|
32
32
|
// src/cli/project_types.ts
|
|
33
33
|
import { minVersion, validRange } from "semver";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
toEstree
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-5KLIDWFN.js";
|
|
15
|
+
import "./chunk-OP3INKUD.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-ZLT3QOFF.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_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,15 +12,15 @@ var require = CJS_COMPAT_NODE_MODULE_843v2rliy1.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_picomatch,
|
|
14
14
|
require_utils
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2DMESZFJ.js";
|
|
16
16
|
import {
|
|
17
17
|
slash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E5FJS66Z.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OP3INKUD.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_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OP3INKUD.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_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
position,
|
|
22
22
|
start,
|
|
23
23
|
toEstree
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-5KLIDWFN.js";
|
|
25
|
+
import "./chunk-OP3INKUD.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_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-OP3INKUD.js";
|
|
13
13
|
|
|
14
14
|
// ../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
getAutomockCode
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZXSD6L3S.js";
|
|
15
15
|
import {
|
|
16
16
|
babelParser,
|
|
17
17
|
extractMockCalls,
|
|
18
18
|
getRealPath,
|
|
19
19
|
rewriteSbMockImportCalls
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TS2UUH2J.js";
|
|
21
21
|
import {
|
|
22
22
|
normalize
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-WA6KZQZ2.js";
|
|
24
|
+
import "./chunk-OP3INKUD.js";
|
|
25
25
|
|
|
26
26
|
// src/core-server/presets/vitePlugins/vite-mock/plugin.ts
|
|
27
27
|
import { readFileSync } from "node:fs";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
resolvePackageDir
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-A4APXFQ2.js";
|
|
15
|
+
import "./chunk-WA6KZQZ2.js";
|
|
16
16
|
import {
|
|
17
17
|
require_dist
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DUXPWBOK.js";
|
|
19
19
|
import {
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OP3INKUD.js";
|
|
22
22
|
|
|
23
23
|
// src/core-server/presets/vitePlugins/vite-inject-mocker/plugin.ts
|
|
24
24
|
import { readFileSync } from "node:fs";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_57ru1wfqqjv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_57ru1wfqqjv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_57ru1wfqqjv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_57ru1wfqqjv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_57ru1wfqqjv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_57ru1wfqqjv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
resolvePackageDir
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-A4APXFQ2.js";
|
|
15
|
+
import "./chunk-WA6KZQZ2.js";
|
|
16
16
|
import {
|
|
17
17
|
require_gen_mapping_umd,
|
|
18
18
|
require_trace_mapping_umd
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FDXFVHIL.js";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|
|
22
22
|
__require
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OP3INKUD.js";
|
|
24
24
|
|
|
25
25
|
// ../node_modules/lodash/_freeGlobal.js
|
|
26
26
|
var require_freeGlobal = __commonJS({
|
|
@@ -45963,62 +45963,21 @@ var require_html_webpack_plugin = __commonJS({
|
|
|
45963
45963
|
);
|
|
45964
45964
|
source.indexOf("HTML_WEBPACK_PLUGIN_RESULT") >= 0 && (source += `;
|
|
45965
45965
|
HTML_WEBPACK_PLUGIN_RESULT`);
|
|
45966
|
-
let templateWithoutLoaders = templateFilename.replace(/^.+!/, "").replace(/\?.+$/, ""),
|
|
45967
|
-
|
|
45968
|
-
|
|
45969
|
-
|
|
45970
|
-
|
|
45971
|
-
|
|
45972
|
-
|
|
45973
|
-
|
|
45974
|
-
|
|
45975
|
-
|
|
45976
|
-
|
|
45977
|
-
|
|
45978
|
-
|
|
45979
|
-
|
|
45980
|
-
|
|
45981
|
-
Crypto: global.Crypto,
|
|
45982
|
-
CryptoKey: global.CryptoKey,
|
|
45983
|
-
CustomEvent: global.CustomEvent,
|
|
45984
|
-
DecompressionStream: global.DecompressionStream,
|
|
45985
|
-
Event: global.Event,
|
|
45986
|
-
EventTarget: global.EventTarget,
|
|
45987
|
-
File: global.File,
|
|
45988
|
-
FormData: global.FormData,
|
|
45989
|
-
Headers: global.Headers,
|
|
45990
|
-
MessageChannel: global.MessageChannel,
|
|
45991
|
-
MessageEvent: global.MessageEvent,
|
|
45992
|
-
MessagePort: global.MessagePort,
|
|
45993
|
-
PerformanceEntry: global.PerformanceEntry,
|
|
45994
|
-
PerformanceMark: global.PerformanceMark,
|
|
45995
|
-
PerformanceMeasure: global.PerformanceMeasure,
|
|
45996
|
-
PerformanceObserver: global.PerformanceObserver,
|
|
45997
|
-
PerformanceObserverEntryList: global.PerformanceObserverEntryList,
|
|
45998
|
-
PerformanceResourceTiming: global.PerformanceResourceTiming,
|
|
45999
|
-
ReadableByteStreamController: global.ReadableByteStreamController,
|
|
46000
|
-
ReadableStream: global.ReadableStream,
|
|
46001
|
-
ReadableStreamBYOBReader: global.ReadableStreamBYOBReader,
|
|
46002
|
-
ReadableStreamBYOBRequest: global.ReadableStreamBYOBRequest,
|
|
46003
|
-
ReadableStreamDefaultController: global.ReadableStreamDefaultController,
|
|
46004
|
-
ReadableStreamDefaultReader: global.ReadableStreamDefaultReader,
|
|
46005
|
-
Response: global.Response,
|
|
46006
|
-
Request: global.Request,
|
|
46007
|
-
SubtleCrypto: global.SubtleCrypto,
|
|
46008
|
-
DOMException: global.DOMException,
|
|
46009
|
-
TextDecoder: global.TextDecoder,
|
|
46010
|
-
TextDecoderStream: global.TextDecoderStream,
|
|
46011
|
-
TextEncoder: global.TextEncoder,
|
|
46012
|
-
TextEncoderStream: global.TextEncoderStream,
|
|
46013
|
-
TransformStream: global.TransformStream,
|
|
46014
|
-
TransformStreamDefaultController: global.TransformStreamDefaultController,
|
|
46015
|
-
URL: global.URL,
|
|
46016
|
-
URLSearchParams: global.URLSearchParams,
|
|
46017
|
-
WebAssembly: global.WebAssembly,
|
|
46018
|
-
WritableStream: global.WritableStream,
|
|
46019
|
-
WritableStreamDefaultController: global.WritableStreamDefaultController,
|
|
46020
|
-
WritableStreamDefaultWriter: global.WritableStreamDefaultWriter
|
|
46021
|
-
}), vmScript = new vm.Script(source, {
|
|
45966
|
+
let templateWithoutLoaders = templateFilename.replace(/^.+!/, "").replace(/\?.+$/, ""), globalClone = Object.create(
|
|
45967
|
+
Object.getPrototypeOf(global),
|
|
45968
|
+
Object.getOwnPropertyDescriptors(global)
|
|
45969
|
+
);
|
|
45970
|
+
delete globalClone.eval;
|
|
45971
|
+
let vmContext = vm.createContext(
|
|
45972
|
+
Object.assign(globalClone, {
|
|
45973
|
+
HTML_WEBPACK_PLUGIN: !0,
|
|
45974
|
+
// Copying nonstandard globals like `require` explicitly as they may be absent from `global`
|
|
45975
|
+
require: __require,
|
|
45976
|
+
htmlWebpackPluginPublicPath: publicPath,
|
|
45977
|
+
__filename: templateWithoutLoaders,
|
|
45978
|
+
__dirname: path.dirname(templateWithoutLoaders)
|
|
45979
|
+
})
|
|
45980
|
+
), vmScript = new vm.Script(source, {
|
|
46022
45981
|
filename: templateWithoutLoaders
|
|
46023
45982
|
}), newSource;
|
|
46024
45983
|
try {
|