storybook 10.2.0-alpha.4 → 10.2.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_browser-chunks/{chunk-HX32VQZR.js → chunk-KTOLYKZY.js} +1 -1
- package/dist/_browser-chunks/{chunk-6QKNWBQB.js → chunk-LOTN4ZCW.js} +14 -10
- package/dist/_node-chunks/{builder-manager-UYH5WXWQ.js → builder-manager-SRWOH6O7.js} +13 -12
- package/dist/_node-chunks/{camelcase-VC2MI4D3.js → camelcase-IPCCDY4U.js} +7 -7
- package/dist/_node-chunks/{chunk-X6TQDZZW.js → chunk-2BHMURQI.js} +6 -6
- package/dist/_node-chunks/chunk-2WJTWJRY.js +20 -0
- package/dist/_node-chunks/chunk-3SDF3TBW.js +18 -0
- package/dist/_node-chunks/{chunk-OW656GJO.js → chunk-5U7Q4G4A.js} +13 -13
- package/dist/_node-chunks/{chunk-KLBUL53W.js → chunk-5UF6URLY.js} +7 -7
- package/dist/_node-chunks/{chunk-2LVUTXDF.js → chunk-62HH4XOF.js} +6 -6
- package/dist/_node-chunks/chunk-6COWUVY6.js +23 -0
- package/dist/_node-chunks/{chunk-HATD2DIT.js → chunk-7YD5E5Y5.js} +7 -7
- package/dist/_node-chunks/{chunk-THYQIUTI.js → chunk-AQ5XNGJR.js} +7 -7
- package/dist/_node-chunks/chunk-GE3TP4E7.js +61 -0
- package/dist/_node-chunks/{chunk-S3WG5D7I.js → chunk-GJU4KX6X.js} +7 -7
- package/dist/_node-chunks/{chunk-6DSSKDEB.js → chunk-HQCIQ33W.js} +6 -6
- package/dist/_node-chunks/{chunk-WI5ZJAAJ.js → chunk-IBLK5VBI.js} +7 -7
- package/dist/_node-chunks/{chunk-5IKN22PK.js → chunk-IFCVXOGP.js} +9 -9
- package/dist/_node-chunks/{chunk-VJ5C7NTM.js → chunk-J4ASSZ5N.js} +20 -20
- package/dist/_node-chunks/{chunk-I6C74YGE.js → chunk-JCHPJOPI.js} +8 -8
- package/dist/_node-chunks/{chunk-3SB46FMB.js → chunk-OKIXNWVU.js} +8 -8
- package/dist/_node-chunks/{chunk-CSLYLE5Z.js → chunk-PI4OGMRN.js} +6 -6
- package/dist/_node-chunks/{chunk-5Y2B5Y2I.js → chunk-QNHQNNV2.js} +9 -9
- package/dist/_node-chunks/{chunk-NCENIJPW.js → chunk-RMPSZ2MA.js} +7 -7
- package/dist/_node-chunks/{chunk-AEF4OCMB.js → chunk-T53OKK5L.js} +7 -7
- package/dist/_node-chunks/{chunk-6XCE5DKF.js → chunk-TNAUD72T.js} +6 -6
- package/dist/_node-chunks/{chunk-BRVASHE4.js → chunk-VUL47RCU.js} +13 -13
- package/dist/_node-chunks/{chunk-OBFKPAHB.js → chunk-XKPOBYPY.js} +10 -10
- package/dist/_node-chunks/{chunk-BXGPI53U.js → chunk-YH2VABDS.js} +6 -6
- package/dist/_node-chunks/{chunk-VHJPAZFZ.js → chunk-YIC767NR.js} +7 -7
- package/dist/_node-chunks/{chunk-EGGWMXFM.js → chunk-YSCJXVR2.js} +7 -7
- package/dist/_node-chunks/{chunk-6RZ6ESPF.js → chunk-ZFBKUCCD.js} +12 -12
- package/dist/_node-chunks/{dist-ZK2DO62Y.js → dist-JJEWCMVH.js} +9 -9
- package/dist/_node-chunks/{globby-3NVGNGRX.js → globby-VLMVNFI7.js} +9 -9
- package/dist/_node-chunks/{lib-ALOTNL3B.js → lib-FXIHPQYY.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-AVHGVFIO.js → mdx-N42X6CFJ-MYO6PQF5.js} +8 -8
- package/dist/_node-chunks/{p-limit-JMHEGI5E.js → p-limit-OTUUNSPQ.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.js +11 -5
- package/dist/core-events/index.d.ts +4 -2
- package/dist/core-events/index.js +4 -2
- package/dist/core-server/index.js +35 -35
- package/dist/core-server/presets/common-manager.js +49 -28
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -25
- package/dist/csf/index.js +2 -2
- package/dist/csf-tools/index.js +9 -9
- package/dist/docs-tools/index.js +1 -1
- package/dist/manager/globals-runtime.js +16 -8
- package/dist/manager/runtime.js +23 -8
- 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 +9 -3
- package/dist/preview-api/index.js +2 -2
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-2ZQ6Y2UX.js +0 -18
- package/dist/_node-chunks/chunk-ATFXKLVA.js +0 -61
- package/dist/_node-chunks/chunk-IXZ54TG6.js +0 -20
- package/dist/_node-chunks/chunk-JUQFZI7H.js +0 -23
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-GE3TP4E7.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picomatch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IBLK5VBI.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JCHPJOPI.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-YH2VABDS.js";
|
|
28
28
|
import {
|
|
29
29
|
importModule,
|
|
30
30
|
resolveModulePath,
|
|
31
31
|
resolvePackageDir,
|
|
32
32
|
safeResolveModule
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RMPSZ2MA.js";
|
|
34
34
|
import {
|
|
35
35
|
join,
|
|
36
36
|
parse,
|
|
37
37
|
resolve
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PI4OGMRN.js";
|
|
39
39
|
import {
|
|
40
40
|
glob,
|
|
41
41
|
globSync
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5UF6URLY.js";
|
|
43
43
|
import {
|
|
44
44
|
slash
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-2WJTWJRY.js";
|
|
46
46
|
import {
|
|
47
47
|
require_dist
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-AQ5XNGJR.js";
|
|
49
49
|
import {
|
|
50
50
|
require_picocolors
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-T53OKK5L.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-62HH4XOF.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-FXIHPQYY.js"), defaultNodeEnv = options.production ? "production" : "development", env2 = {
|
|
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-VLMVNFI7.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-OTUUNSPQ.js"), limit = pLimit(10);
|
|
14795
14795
|
return await Promise.all(
|
|
14796
14796
|
files.map(
|
|
14797
14797
|
(file) => limit(async () => {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-T53OKK5L.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__export,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-62HH4XOF.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/are-we-there-yet/lib/tracker-base.js
|
|
23
23
|
var require_tracker_base = __commonJS({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-AQ5XNGJR.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-62HH4XOF.js";
|
|
18
18
|
|
|
19
19
|
// src/csf-tools/CsfFile.ts
|
|
20
20
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_uzmhoq39aog.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_lib,
|
|
14
14
|
require_src
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YSCJXVR2.js";
|
|
16
16
|
import {
|
|
17
17
|
require_picocolors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-T53OKK5L.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-62HH4XOF.js";
|
|
24
24
|
|
|
25
25
|
// ../../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
26
26
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_uzmhoq39aog.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PI4OGMRN.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/exsolve/dist/index.mjs
|
|
18
18
|
import fs, { lstatSync, realpathSync, statSync } from "node:fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-62HH4XOF.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/picocolors/picocolors.js
|
|
17
17
|
var require_picocolors = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-GJU4KX6X.js";
|
|
15
15
|
import {
|
|
16
16
|
StorybookError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TNAUD72T.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePackageDir
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RMPSZ2MA.js";
|
|
21
21
|
import {
|
|
22
22
|
relative
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PI4OGMRN.js";
|
|
24
24
|
import {
|
|
25
25
|
require_dist
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AQ5XNGJR.js";
|
|
27
27
|
import {
|
|
28
28
|
require_picocolors
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-T53OKK5L.js";
|
|
30
30
|
import {
|
|
31
31
|
__toESM
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-62HH4XOF.js";
|
|
33
33
|
|
|
34
34
|
// src/core-server/utils/server-statics.ts
|
|
35
35
|
import { existsSync, statSync } from "node:fs";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-TNAUD72T.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AQ5XNGJR.js";
|
|
18
18
|
import {
|
|
19
19
|
require_picocolors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-T53OKK5L.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-62HH4XOF.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_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-62HH4XOF.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,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_uzmhoq39aog.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-62HH4XOF.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/ms/index.js
|
|
18
18
|
var require_ms = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
any,
|
|
14
14
|
invariant,
|
|
15
15
|
up2 as up
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YH2VABDS.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RMPSZ2MA.js";
|
|
20
20
|
import {
|
|
21
21
|
require_dist
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AQ5XNGJR.js";
|
|
23
23
|
import {
|
|
24
24
|
babelParse,
|
|
25
25
|
recast,
|
|
26
26
|
traverse,
|
|
27
27
|
types
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QNHQNNV2.js";
|
|
29
29
|
import {
|
|
30
30
|
require_picocolors
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-T53OKK5L.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__require,
|
|
35
35
|
__toESM
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-62HH4XOF.js";
|
|
37
37
|
|
|
38
38
|
// ../../node_modules/esprima/dist/esprima.js
|
|
39
39
|
var require_esprima = __commonJS({
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-YIC767NR.js";
|
|
15
|
+
import "./chunk-62HH4XOF.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-MYO6PQF5.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_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_uzmhoq39aog.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_picomatch,
|
|
14
14
|
require_utils
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IBLK5VBI.js";
|
|
16
16
|
import {
|
|
17
17
|
slash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2WJTWJRY.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-62HH4XOF.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_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-62HH4XOF.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_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-YIC767NR.js";
|
|
25
|
+
import "./chunk-62HH4XOF.js";
|
|
26
26
|
|
|
27
27
|
// ../../node_modules/@storybook/docs-mdx/dist/mdx-N42X6CFJ.js
|
|
28
28
|
import { default as default2 } from "path";
|