storybook 10.2.0-alpha.7 → 10.2.0-alpha.9
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-EUPBEOK3.js → chunk-VUZYLZ4B.js} +5 -5
- package/dist/_node-chunks/{builder-manager-CUNI3ZJ4.js → builder-manager-FTCODGJP.js} +12 -12
- package/dist/_node-chunks/{camelcase-4GVAWYWU.js → camelcase-5XDKQT3J.js} +7 -7
- package/dist/_node-chunks/{chunk-VCZD6QSG.js → chunk-33XC4R6P.js} +9 -9
- package/dist/_node-chunks/{chunk-P445LZJB.js → chunk-3DPKKQ6P.js} +6 -6
- package/dist/_node-chunks/{chunk-PGJHGLNH.js → chunk-3Y5VHKPI.js} +9 -9
- package/dist/_node-chunks/{chunk-ZNQQBZIL.js → chunk-6ABJZZWS.js} +7 -7
- package/dist/_node-chunks/{chunk-RCTV2GMQ.js → chunk-6SH5SI6S.js} +7 -7
- package/dist/_node-chunks/{chunk-TBPJCWU7.js → chunk-73GYSTNZ.js} +6 -6
- package/dist/_node-chunks/{chunk-PYUJOHPH.js → chunk-BQX766MA.js} +13 -13
- package/dist/_node-chunks/{chunk-FVVGYCVC.js → chunk-CO7N5AG7.js} +7 -7
- package/dist/_node-chunks/{chunk-PQM4RHC4.js → chunk-D4TCQXIF.js} +7 -7
- package/dist/_node-chunks/{chunk-JVSFH4RF.js → chunk-FGI35IGB.js} +12 -12
- package/dist/_node-chunks/chunk-GXQRT5M6.js +61 -0
- package/dist/_node-chunks/{chunk-BUUY73HB.js → chunk-IIBBQZLT.js} +6 -6
- package/dist/_node-chunks/{chunk-Y6L7H22H.js → chunk-LB74XOLW.js} +6 -6
- package/dist/_node-chunks/{chunk-56LVYN72.js → chunk-LRBEW57O.js} +7 -7
- package/dist/_node-chunks/{chunk-M5E3YC4T.js → chunk-MOQRBTWA.js} +6 -6
- package/dist/_node-chunks/{chunk-R3N2GWVX.js → chunk-MWWAQ5S4.js} +20 -20
- package/dist/_node-chunks/{chunk-Y53XRTM4.js → chunk-NYUFS6LX.js} +10 -10
- package/dist/_node-chunks/{chunk-2TPGTNH3.js → chunk-OUDQWDHY.js} +7 -7
- package/dist/_node-chunks/chunk-PRNP2HO6.js +23 -0
- package/dist/_node-chunks/{chunk-YPUOZX6Y.js → chunk-PZCWRKQE.js} +6 -6
- package/dist/_node-chunks/{chunk-LPSISNQS.js → chunk-RF3L36MK.js} +12 -12
- package/dist/_node-chunks/{chunk-NYGO6SRI.js → chunk-SBPB3VWI.js} +6 -6
- package/dist/_node-chunks/{chunk-BVT57OPU.js → chunk-SPOUBCPJ.js} +8 -8
- package/dist/_node-chunks/chunk-VKMYOVNS.js +18 -0
- package/dist/_node-chunks/{chunk-VRAZAZEV.js → chunk-WTQGSYRO.js} +7 -7
- package/dist/_node-chunks/{chunk-DF3MHTVA.js → chunk-XZ6V3G6J.js} +8 -9
- package/dist/_node-chunks/{chunk-QJ6C6Y4J.js → chunk-YN6FEZAF.js} +7 -7
- package/dist/_node-chunks/{dist-5DA7I4HZ.js → dist-YRSVYE5A.js} +9 -9
- package/dist/_node-chunks/{globby-UXUG5UXW.js → globby-AXGFF6I5.js} +9 -9
- package/dist/_node-chunks/{lib-JGWMRG56.js → lib-ESB7KQ6D.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-SS3BBRSA.js → mdx-N42X6CFJ-XXQ6YIDF.js} +8 -8
- package/dist/_node-chunks/{p-limit-QEWD3I7K.js → p-limit-P6ND7SUA.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 +22 -22
- package/dist/core-server/index.d.ts +3 -1
- package/dist/core-server/index.js +3001 -3007
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +42 -26
- package/dist/csf/index.js +8 -4
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/preview/runtime.js +5 -5
- package/dist/preview-api/index.js +1 -1
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +22 -22
- package/dist/types/index.d.ts +3 -2
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-AT23E4EQ.js +0 -61
- package/dist/_node-chunks/chunk-LZSDDOT4.js +0 -23
- package/dist/_node-chunks/chunk-TTG4OTIQ.js +0 -18
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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-GXQRT5M6.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picomatch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CO7N5AG7.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SPOUBCPJ.js";
|
|
21
21
|
import {
|
|
22
22
|
any,
|
|
23
23
|
from,
|
|
24
24
|
invariant,
|
|
25
25
|
up,
|
|
26
26
|
up2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-MOQRBTWA.js";
|
|
28
28
|
import {
|
|
29
29
|
importModule,
|
|
30
30
|
resolveModulePath,
|
|
31
31
|
resolvePackageDir,
|
|
32
32
|
safeResolveModule
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OUDQWDHY.js";
|
|
34
34
|
import {
|
|
35
35
|
join,
|
|
36
36
|
parse,
|
|
37
37
|
resolve
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-LB74XOLW.js";
|
|
39
39
|
import {
|
|
40
40
|
glob,
|
|
41
41
|
globSync
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WTQGSYRO.js";
|
|
43
43
|
import {
|
|
44
44
|
slash
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-73GYSTNZ.js";
|
|
46
46
|
import {
|
|
47
47
|
require_dist
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-LRBEW57O.js";
|
|
49
49
|
import {
|
|
50
50
|
require_picocolors
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-6ABJZZWS.js";
|
|
52
52
|
import {
|
|
53
53
|
__commonJS,
|
|
54
54
|
__esm,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
__require,
|
|
57
57
|
__toCommonJS,
|
|
58
58
|
__toESM
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-PZCWRKQE.js";
|
|
60
60
|
|
|
61
61
|
// ../../node_modules/resolve/lib/homedir.js
|
|
62
62
|
var require_homedir = __commonJS({
|
|
@@ -11103,7 +11103,7 @@ function normalizeStoryPath(filename) {
|
|
|
11103
11103
|
|
|
11104
11104
|
// src/common/utils/envs.ts
|
|
11105
11105
|
async function loadEnvs(options = {}) {
|
|
11106
|
-
let { getEnvironment } = await import("./lib-
|
|
11106
|
+
let { getEnvironment } = await import("./lib-ESB7KQ6D.js"), defaultNodeEnv = options.production ? "production" : "development", baseEnv = {
|
|
11107
11107
|
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
11108
11108
|
NODE_ENV: process.env.NODE_ENV || defaultNodeEnv,
|
|
11109
11109
|
NODE_PATH: process.env.NODE_PATH || "",
|
|
@@ -14770,7 +14770,7 @@ async function scanAndTransformFiles({
|
|
|
14770
14770
|
initialValue: defaultGlob
|
|
14771
14771
|
});
|
|
14772
14772
|
logger13.log("Scanning for affected files...");
|
|
14773
|
-
let globby = (await import("./globby-
|
|
14773
|
+
let globby = (await import("./globby-AXGFF6I5.js")).globby, sourceFiles = await globby([glob2], {
|
|
14774
14774
|
...commonGlobOptions(""),
|
|
14775
14775
|
ignore: ["**/node_modules/**"],
|
|
14776
14776
|
dot: !0,
|
|
@@ -14791,7 +14791,7 @@ function transformImports(source, renamedImports) {
|
|
|
14791
14791
|
return hasChanges ? transformed : null;
|
|
14792
14792
|
}
|
|
14793
14793
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
14794
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
14794
|
+
let errors = [], { default: pLimit } = await import("./p-limit-P6ND7SUA.js"), limit = pLimit(10);
|
|
14795
14795
|
return await Promise.all(
|
|
14796
14796
|
files.map(
|
|
14797
14797
|
(file) => limit(async () => {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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-IIBBQZLT.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LRBEW57O.js";
|
|
18
18
|
import {
|
|
19
19
|
require_picocolors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6ABJZZWS.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PZCWRKQE.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_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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_99t5k5w5yp4.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LB74XOLW.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_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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-MOQRBTWA.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_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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-VKMYOVNS.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
execa,
|
|
@@ -19,20 +19,20 @@ import {
|
|
|
19
19
|
getProjectRoot,
|
|
20
20
|
resolvePathInStorybookCache,
|
|
21
21
|
up
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MWWAQ5S4.js";
|
|
23
23
|
import {
|
|
24
24
|
globalSettings
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3Y5VHKPI.js";
|
|
26
26
|
import {
|
|
27
27
|
resolvePackageDir
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OUDQWDHY.js";
|
|
29
29
|
import {
|
|
30
30
|
slash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-73GYSTNZ.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PZCWRKQE.js";
|
|
36
36
|
|
|
37
37
|
// ../../node_modules/fetch-retry/index.js
|
|
38
38
|
var require_fetch_retry = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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_picocolors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6ABJZZWS.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__export,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PZCWRKQE.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/are-we-there-yet/lib/tracker-base.js
|
|
23
23
|
var require_tracker_base = __commonJS({
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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.2.0-alpha.9";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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_99t5k5w5yp4.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__toESM
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PZCWRKQE.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/balanced-match/index.js
|
|
18
18
|
var require_balanced_match = __commonJS({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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-LRBEW57O.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PZCWRKQE.js";
|
|
18
18
|
|
|
19
19
|
// src/csf-tools/CsfFile.ts
|
|
20
20
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -492,7 +492,6 @@ var formatLocation = (node, fileName) => {
|
|
|
492
492
|
let index = [];
|
|
493
493
|
return Object.entries(this._stories).map(([exportName, story]) => {
|
|
494
494
|
let tags = [...this._meta?.tags ?? [], ...story.tags ?? []], storyInput = {
|
|
495
|
-
importPath: fileName,
|
|
496
495
|
rawComponentPath: this._rawComponentPath,
|
|
497
496
|
exportName,
|
|
498
497
|
title: this.meta?.title,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__require
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PZCWRKQE.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
|
|
17
17
|
var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __require2 = ((x) => typeof __require < "u" ? __require : typeof Proxy < "u" ? new Proxy(x, {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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-YN6FEZAF.js";
|
|
15
|
+
import "./chunk-PZCWRKQE.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-XXQ6YIDF.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_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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_99t5k5w5yp4.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_picomatch,
|
|
14
14
|
require_utils
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CO7N5AG7.js";
|
|
16
16
|
import {
|
|
17
17
|
slash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-73GYSTNZ.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PZCWRKQE.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_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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-PZCWRKQE.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_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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-YN6FEZAF.js";
|
|
25
|
+
import "./chunk-PZCWRKQE.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_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.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-PZCWRKQE.js";
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|
package/dist/babel/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
recast,
|
|
23
23
|
traverse,
|
|
24
24
|
types
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
28
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-33XC4R6P.js";
|
|
26
|
+
import "../_node-chunks/chunk-D4TCQXIF.js";
|
|
27
|
+
import "../_node-chunks/chunk-6ABJZZWS.js";
|
|
28
|
+
import "../_node-chunks/chunk-PZCWRKQE.js";
|
|
29
29
|
var export_transformSync = import_core.transformSync;
|
|
30
30
|
export {
|
|
31
31
|
BabelFileClass,
|