storybook 10.2.0-alpha.10 → 10.2.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/_browser-chunks/chunk-AFVOZMXQ.js +23 -0
- package/dist/_browser-chunks/{chunk-RBABWY22.js → chunk-BGSDJMFM.js} +6 -4
- package/dist/_node-chunks/{builder-manager-IL56SHZF.js → builder-manager-G3T6FATF.js} +13 -12
- package/dist/_node-chunks/{camelcase-P3NIWBZX.js → camelcase-NMVRRV6V.js} +7 -7
- package/dist/_node-chunks/chunk-BDTFFW43.js +18 -0
- package/dist/_node-chunks/chunk-ENNXNDBF.js +20 -0
- package/dist/_node-chunks/{chunk-KH2A547Y.js → chunk-EO2J5FE4.js} +8 -8
- package/dist/_node-chunks/{chunk-KP3IIE5P.js → chunk-ERDFVJJE.js} +15 -12
- package/dist/_node-chunks/{chunk-TAETXAN6.js → chunk-FXCJJSMM.js} +7 -7
- package/dist/_node-chunks/chunk-G4RT3MO3.js +35 -0
- package/dist/_node-chunks/{chunk-EKU7ASGO.js → chunk-HMDODR3W.js} +7 -7
- package/dist/_node-chunks/{chunk-XBDIQU4P.js → chunk-HSXHYDWU.js} +12 -12
- package/dist/_node-chunks/{chunk-YCQRVBE4.js → chunk-HVD2LZT3.js} +6 -6
- package/dist/_node-chunks/{chunk-MLCI5FPI.js → chunk-IQUZPWN3.js} +7 -7
- package/dist/_node-chunks/{chunk-D3YJHXPC.js → chunk-IW5UJQJL.js} +6 -6
- package/dist/_node-chunks/{chunk-SME7252C.js → chunk-KK73AHXT.js} +7 -7
- package/dist/_node-chunks/{chunk-E2KSZELU.js → chunk-LF7P2YRI.js} +7 -7
- package/dist/_node-chunks/{chunk-Z2ETF7EI.js → chunk-LMYWY6ZJ.js} +12 -12
- package/dist/_node-chunks/{chunk-OVKHHS4W.js → chunk-MCTOTRJG.js} +20 -20
- package/dist/_node-chunks/{chunk-JXL37VS7.js → chunk-MDDTIMMD.js} +13 -13
- package/dist/_node-chunks/{chunk-YELE6V4D.js → chunk-OJ2CMYDH.js} +6 -6
- package/dist/_node-chunks/chunk-OQ42LCEX.js +61 -0
- package/dist/_node-chunks/{chunk-Q6PDB4Y6.js → chunk-QGMW4WKW.js} +6 -6
- package/dist/_node-chunks/{chunk-WULYWBBT.js → chunk-SEUBEMNQ.js} +6 -6
- package/dist/_node-chunks/{chunk-BP66TAYC.js → chunk-TFFPC3VZ.js} +7 -7
- package/dist/_node-chunks/chunk-TKRINGRM.js +23 -0
- package/dist/_node-chunks/{chunk-RGJIQDLW.js → chunk-UEL7SAB5.js} +7 -7
- package/dist/_node-chunks/{chunk-POAHHCVK.js → chunk-VBIK2FN2.js} +9 -9
- package/dist/_node-chunks/{chunk-OZHIDIRL.js → chunk-VL57YBAT.js} +10 -10
- package/dist/_node-chunks/{chunk-LZ5NNY6S.js → chunk-WMWMEGTL.js} +6 -6
- package/dist/_node-chunks/{chunk-QF3YWFYM.js → chunk-XE2EF6IL.js} +9 -9
- package/dist/_node-chunks/{chunk-Z2CJCEHN.js → chunk-YPYOZM4G.js} +7 -7
- package/dist/_node-chunks/{dist-5MXCD6KF.js → dist-4VO67SAZ.js} +9 -9
- package/dist/_node-chunks/{globby-322GM5CY.js → globby-4KANABX2.js} +9 -9
- package/dist/_node-chunks/{lib-IXZT5UQX.js → lib-2MKCQZND.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-DBPHTSPN.js → mdx-N42X6CFJ-3ENJ5IE5.js} +8 -8
- package/dist/_node-chunks/{p-limit-TLN4WCPA.js → p-limit-TLF7WD5L.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.js +18 -18
- package/dist/common/index.js +19 -19
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +4 -0
- package/dist/core-server/index.d.ts +27 -2
- package/dist/core-server/index.js +45 -43
- package/dist/core-server/presets/common-manager.js +2 -2
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -24
- package/dist/csf/index.js +5 -2
- package/dist/csf-tools/index.js +10 -9
- package/dist/manager/globals-runtime.js +87 -23
- package/dist/manager/runtime.js +96 -896
- package/dist/manager-api/index.d.ts +86 -20
- package/dist/manager-api/index.js +52 -6
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/preview/runtime.js +24 -4
- package/dist/preview-api/index.d.ts +93 -69
- package/dist/preview-api/index.js +5 -1
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +22 -22
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-GLYH3TSV.js +0 -61
- package/dist/_node-chunks/chunk-TPSZ4QDT.js +0 -20
- package/dist/_node-chunks/chunk-XXOA6ULE.js +0 -18
- package/dist/_node-chunks/chunk-ZHSAQXJF.js +0 -23
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
|
versions_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OQ42LCEX.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picomatch,
|
|
17
17
|
toPath,
|
|
18
18
|
traversePathUp
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UEL7SAB5.js";
|
|
20
20
|
import {
|
|
21
21
|
logger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EO2J5FE4.js";
|
|
23
23
|
import {
|
|
24
24
|
any,
|
|
25
25
|
detectIndent,
|
|
@@ -27,31 +27,31 @@ import {
|
|
|
27
27
|
invariant,
|
|
28
28
|
up,
|
|
29
29
|
up2
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QGMW4WKW.js";
|
|
31
31
|
import {
|
|
32
32
|
importModule,
|
|
33
33
|
resolveModulePath,
|
|
34
34
|
resolvePackageDir,
|
|
35
35
|
safeResolveModule
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-TFFPC3VZ.js";
|
|
37
37
|
import {
|
|
38
38
|
join,
|
|
39
39
|
parse,
|
|
40
40
|
resolve
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-SEUBEMNQ.js";
|
|
42
42
|
import {
|
|
43
43
|
glob,
|
|
44
44
|
globSync
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-KK73AHXT.js";
|
|
46
46
|
import {
|
|
47
47
|
slash
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ENNXNDBF.js";
|
|
49
49
|
import {
|
|
50
50
|
require_dist
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-IQUZPWN3.js";
|
|
52
52
|
import {
|
|
53
53
|
require_picocolors
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YPYOZM4G.js";
|
|
55
55
|
import {
|
|
56
56
|
__commonJS,
|
|
57
57
|
__esm,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
__require,
|
|
60
60
|
__toCommonJS,
|
|
61
61
|
__toESM
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-WMWMEGTL.js";
|
|
63
63
|
|
|
64
64
|
// ../../node_modules/resolve/lib/homedir.js
|
|
65
65
|
var require_homedir = __commonJS({
|
|
@@ -11083,7 +11083,7 @@ function normalizeStoryPath(filename) {
|
|
|
11083
11083
|
|
|
11084
11084
|
// src/common/utils/envs.ts
|
|
11085
11085
|
async function loadEnvs(options = {}) {
|
|
11086
|
-
let { getEnvironment } = await import("./lib-
|
|
11086
|
+
let { getEnvironment } = await import("./lib-2MKCQZND.js"), defaultNodeEnv = options.production ? "production" : "development", baseEnv = {
|
|
11087
11087
|
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
11088
11088
|
NODE_ENV: process.env.NODE_ENV || defaultNodeEnv,
|
|
11089
11089
|
NODE_PATH: process.env.NODE_PATH || "",
|
|
@@ -18552,7 +18552,7 @@ async function scanAndTransformFiles({
|
|
|
18552
18552
|
initialValue: defaultGlob
|
|
18553
18553
|
});
|
|
18554
18554
|
logger15.log("Scanning for affected files...");
|
|
18555
|
-
let globby = (await import("./globby-
|
|
18555
|
+
let globby = (await import("./globby-4KANABX2.js")).globby, sourceFiles = await globby([glob2], {
|
|
18556
18556
|
...commonGlobOptions(""),
|
|
18557
18557
|
ignore: ["**/node_modules/**"],
|
|
18558
18558
|
dot: !0,
|
|
@@ -18573,7 +18573,7 @@ function transformImports(source, renamedImports) {
|
|
|
18573
18573
|
return hasChanges ? transformed : null;
|
|
18574
18574
|
}
|
|
18575
18575
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
18576
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
18576
|
+
let errors = [], { default: pLimit } = await import("./p-limit-TLF7WD5L.js"), limit = pLimit(10);
|
|
18577
18577
|
return await Promise.all(
|
|
18578
18578
|
files.map(
|
|
18579
18579
|
(file) => limit(async () => {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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-FXCJJSMM.js";
|
|
15
15
|
import {
|
|
16
16
|
StorybookError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HVD2LZT3.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePackageDir
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TFFPC3VZ.js";
|
|
21
21
|
import {
|
|
22
22
|
relative
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SEUBEMNQ.js";
|
|
24
24
|
import {
|
|
25
25
|
require_dist
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IQUZPWN3.js";
|
|
27
27
|
import {
|
|
28
28
|
require_picocolors
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YPYOZM4G.js";
|
|
30
30
|
import {
|
|
31
31
|
__toESM
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WMWMEGTL.js";
|
|
33
33
|
|
|
34
34
|
// src/core-server/utils/server-statics.ts
|
|
35
35
|
import { existsSync, statSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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.2.0-alpha.12",
|
|
16
|
+
"@storybook/addon-docs": "10.2.0-alpha.12",
|
|
17
|
+
"@storybook/addon-links": "10.2.0-alpha.12",
|
|
18
|
+
"@storybook/addon-onboarding": "10.2.0-alpha.12",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.2.0-alpha.12",
|
|
20
|
+
"@storybook/addon-themes": "10.2.0-alpha.12",
|
|
21
|
+
"@storybook/addon-vitest": "10.2.0-alpha.12",
|
|
22
|
+
"@storybook/builder-vite": "10.2.0-alpha.12",
|
|
23
|
+
"@storybook/builder-webpack5": "10.2.0-alpha.12",
|
|
24
|
+
storybook: "10.2.0-alpha.12",
|
|
25
|
+
"@storybook/angular": "10.2.0-alpha.12",
|
|
26
|
+
"@storybook/ember": "10.2.0-alpha.12",
|
|
27
|
+
"@storybook/html-vite": "10.2.0-alpha.12",
|
|
28
|
+
"@storybook/nextjs": "10.2.0-alpha.12",
|
|
29
|
+
"@storybook/nextjs-vite": "10.2.0-alpha.12",
|
|
30
|
+
"@storybook/preact-vite": "10.2.0-alpha.12",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.2.0-alpha.12",
|
|
32
|
+
"@storybook/react-vite": "10.2.0-alpha.12",
|
|
33
|
+
"@storybook/react-webpack5": "10.2.0-alpha.12",
|
|
34
|
+
"@storybook/server-webpack5": "10.2.0-alpha.12",
|
|
35
|
+
"@storybook/svelte-vite": "10.2.0-alpha.12",
|
|
36
|
+
"@storybook/sveltekit": "10.2.0-alpha.12",
|
|
37
|
+
"@storybook/vue3-vite": "10.2.0-alpha.12",
|
|
38
|
+
"@storybook/web-components-vite": "10.2.0-alpha.12",
|
|
39
|
+
sb: "10.2.0-alpha.12",
|
|
40
|
+
"@storybook/cli": "10.2.0-alpha.12",
|
|
41
|
+
"@storybook/codemod": "10.2.0-alpha.12",
|
|
42
|
+
"@storybook/core-webpack": "10.2.0-alpha.12",
|
|
43
|
+
"create-storybook": "10.2.0-alpha.12",
|
|
44
|
+
"@storybook/csf-plugin": "10.2.0-alpha.12",
|
|
45
|
+
"eslint-plugin-storybook": "10.2.0-alpha.12",
|
|
46
|
+
"@storybook/react-dom-shim": "10.2.0-alpha.12",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.2.0-alpha.12",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.2.0-alpha.12",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.2.0-alpha.12",
|
|
50
|
+
"@storybook/html": "10.2.0-alpha.12",
|
|
51
|
+
"@storybook/preact": "10.2.0-alpha.12",
|
|
52
|
+
"@storybook/react": "10.2.0-alpha.12",
|
|
53
|
+
"@storybook/server": "10.2.0-alpha.12",
|
|
54
|
+
"@storybook/svelte": "10.2.0-alpha.12",
|
|
55
|
+
"@storybook/vue3": "10.2.0-alpha.12",
|
|
56
|
+
"@storybook/web-components": "10.2.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_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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_1qalasm8z9n.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SEUBEMNQ.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/exsolve/dist/index.mjs
|
|
18
18
|
import fs, { lstatSync, realpathSync, statSync } from "node:fs";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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-QGMW4WKW.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
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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_1qalasm8z9n.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WMWMEGTL.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/picomatch/lib/constants.js
|
|
18
18
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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_1qalasm8z9n.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_lib,
|
|
14
14
|
require_src
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HMDODR3W.js";
|
|
16
16
|
import {
|
|
17
17
|
require_picocolors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YPYOZM4G.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WMWMEGTL.js";
|
|
24
24
|
|
|
25
25
|
// ../../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
26
26
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
|
StorybookError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HVD2LZT3.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IQUZPWN3.js";
|
|
18
18
|
import {
|
|
19
19
|
require_picocolors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YPYOZM4G.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WMWMEGTL.js";
|
|
24
24
|
|
|
25
25
|
// src/server-errors.ts
|
|
26
26
|
var import_picocolors = __toESM(require_picocolors(), 1), import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
|
invariant
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OJ2CMYDH.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IQUZPWN3.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-WMWMEGTL.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/globalSettings.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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-WMWMEGTL.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/picocolors/picocolors.js
|
|
17
17
|
var require_picocolors = __commonJS({
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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-LF7P2YRI.js";
|
|
15
|
+
import "./chunk-WMWMEGTL.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-3ENJ5IE5.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_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
require_picomatch,
|
|
14
14
|
require_utils,
|
|
15
15
|
toPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UEL7SAB5.js";
|
|
17
17
|
import {
|
|
18
18
|
slash
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ENNXNDBF.js";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|
|
22
22
|
__require,
|
|
23
23
|
__toESM
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-WMWMEGTL.js";
|
|
25
25
|
|
|
26
26
|
// ../../node_modules/fast-glob/out/utils/array.js
|
|
27
27
|
var require_array = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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-WMWMEGTL.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_0j7q77gppets from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0j7q77gppets from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0j7q77gppets.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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-LF7P2YRI.js";
|
|
25
|
+
import "./chunk-WMWMEGTL.js";
|
|
26
26
|
|
|
27
27
|
// ../../node_modules/@storybook/docs-mdx/dist/mdx-N42X6CFJ.js
|
|
28
28
|
import { default as default2 } from "path";
|