storybook 10.0.0 → 10.0.2
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-IIQ2ZKJA.js → builder-manager-C7MTI43L.js} +12 -12
- package/dist/_node-chunks/camelcase-EOASHVUY.js +18 -0
- package/dist/_node-chunks/{chunk-Z3LDC56S.js → chunk-45XSYU5U.js} +7 -7
- package/dist/_node-chunks/{chunk-J5PEW6E3.js → chunk-4O7LQOQ7.js} +7 -7
- package/dist/_node-chunks/{chunk-B2ETRD4V.js → chunk-5TEMW2HS.js} +7 -7
- package/dist/_node-chunks/{chunk-7FGNXYYL.js → chunk-6M2MHIE4.js} +7 -7
- package/dist/_node-chunks/{chunk-3QAI2NJJ.js → chunk-7ARNGY5C.js} +12 -12
- package/dist/_node-chunks/{chunk-6RHAE6RA.js → chunk-7UFF3UBM.js} +7 -7
- package/dist/_node-chunks/{chunk-5Q637AKX.js → chunk-AB2ZAO3F.js} +7 -7
- package/dist/_node-chunks/{chunk-IJ4AICLD.js → chunk-AQXXWN5J.js} +9 -9
- package/dist/_node-chunks/{chunk-NP4JBQ6Q.js → chunk-BEHQEHCV.js} +7 -7
- package/dist/_node-chunks/{chunk-5KVCO3KO.js → chunk-BNNW3RUO.js} +8 -8
- package/dist/_node-chunks/{chunk-YDJVCYQJ.js → chunk-BZE33562.js} +9 -9
- package/dist/_node-chunks/{chunk-W6GXL2JC.js → chunk-CJ3GT3HG.js} +12 -12
- package/dist/_node-chunks/{chunk-PSD72R5Z.js → chunk-CRYOLMTP.js} +7 -7
- package/dist/_node-chunks/{chunk-L5S66L55.js → chunk-E3ZVPOWE.js} +7 -7
- package/dist/_node-chunks/{chunk-6WZTLCEA.js → chunk-G4DMUZF3.js} +8 -8
- package/dist/_node-chunks/{chunk-V44UUFGH.js → chunk-GW7GHNWQ.js} +7 -7
- package/dist/_node-chunks/{chunk-WOYNIIQY.js → chunk-IWA2OXWT.js} +8 -8
- package/dist/_node-chunks/{chunk-W7DCZC64.js → chunk-M7JK3PHD.js} +6 -6
- package/dist/_node-chunks/{chunk-APCF6BLC.js → chunk-MAJVPF6M.js} +15 -15
- package/dist/_node-chunks/{chunk-ILHIUEFN.js → chunk-NDS5Q5MQ.js} +6 -6
- package/dist/_node-chunks/{chunk-7I57UDPV.js → chunk-OL4ZPH5W.js} +7 -7
- package/dist/_node-chunks/{chunk-HT6COHEU.js → chunk-PEW3VSI4.js} +7 -7
- package/dist/_node-chunks/{chunk-KH6JWU3Y.js → chunk-PHHWFZ53.js} +7 -7
- package/dist/_node-chunks/{chunk-DHMCBBKY.js → chunk-Q5A4LYDI.js} +25 -7
- package/dist/_node-chunks/{chunk-7ETUBLPB.js → chunk-RUXRGKI6.js} +8 -8
- package/dist/_node-chunks/chunk-TFZ6HPVN.js +18 -0
- package/dist/_node-chunks/{chunk-CXVGTDVQ.js → chunk-TLGQ3DFY.js} +21 -21
- package/dist/_node-chunks/{chunk-ZECOO72W.js → chunk-V6EPMCDK.js} +7 -7
- package/dist/_node-chunks/{chunk-AM7YMYAG.js → chunk-VOOIMEQA.js} +8 -8
- package/dist/_node-chunks/{chunk-2EZNWWOJ.js → chunk-WJEZZCON.js} +10 -10
- package/dist/_node-chunks/{chunk-AWLJD6QV.js → chunk-Y5ZIS3CB.js} +7 -7
- package/dist/_node-chunks/chunk-YFJZFOCY.js +61 -0
- package/dist/_node-chunks/{chunk-XZCC7ABZ.js → chunk-YT3QOQMF.js} +7 -7
- package/dist/_node-chunks/{dist-WL6RBQNY.js → dist-XPX2QJ3C.js} +9 -9
- package/dist/_node-chunks/{globby-EMY2E3I3.js → globby-MTM72QV7.js} +9 -9
- package/dist/_node-chunks/{lib-4ETZCPCM.js → lib-DWYQ4JDM.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-UMV2MWTH.js → mdx-N42X6CFJ-5KEDSU5O.js} +8 -8
- package/dist/_node-chunks/{p-limit-UIVLT5UF.js → p-limit-DHY3P6KR.js} +7 -7
- package/dist/_node-chunks/{plugin-UITTSLCA.js → plugin-QYIRX5CQ.js} +10 -10
- package/dist/_node-chunks/{plugin-PZH4HK5Z.js → plugin-U4SQWN4V.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-G75H5TZH.js → webpack-inject-mocker-runtime-plugin-P4ME6ZAM.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-FK73ABOQ.js → webpack-mock-plugin-ZGDNIVUL.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 +96 -97
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +27 -27
- 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.d.ts +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/node-logger/index.js +14 -14
- package/dist/preview-api/index.d.ts +68 -67
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +24 -24
- package/package.json +1 -1
- package/dist/_node-chunks/camelcase-KNOP6IZN.js +0 -18
- package/dist/_node-chunks/chunk-AHEMORUT.js +0 -18
- package/dist/_node-chunks/chunk-VXV63T56.js +0 -61
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.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-TFZ6HPVN.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
resolvePathInStorybookCache,
|
|
18
18
|
up
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TLGQ3DFY.js";
|
|
20
20
|
import {
|
|
21
21
|
globalSettings
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RUXRGKI6.js";
|
|
23
23
|
import {
|
|
24
24
|
execaCommand,
|
|
25
25
|
getProjectRoot
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AQXXWN5J.js";
|
|
27
27
|
import {
|
|
28
28
|
getSessionId,
|
|
29
29
|
nanoid,
|
|
30
30
|
set
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AB2ZAO3F.js";
|
|
32
32
|
import {
|
|
33
33
|
resolvePackageDir
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VOOIMEQA.js";
|
|
35
35
|
import {
|
|
36
36
|
slash
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PHHWFZ53.js";
|
|
38
38
|
import {
|
|
39
39
|
require_picocolors
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5TEMW2HS.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__name,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-M7JK3PHD.js";
|
|
46
46
|
|
|
47
47
|
// ../node_modules/fetch-retry/index.js
|
|
48
48
|
var require_fetch_retry = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.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_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-M7JK3PHD.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/picomatch/lib/constants.js
|
|
19
19
|
var require_constants = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-M7JK3PHD.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
17
17
|
var isProduction = process.env.NODE_ENV === "production";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-M7JK3PHD.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/slash/index.js
|
|
17
17
|
function slash(path) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-M7JK3PHD.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
17
17
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
@@ -25,6 +25,7 @@ __name(normalizeWindowsPath, "normalizeWindowsPath");
|
|
|
25
25
|
var _UNC_REGEX = /^[/\\]{2}/;
|
|
26
26
|
var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
27
27
|
var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
|
|
28
|
+
var _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
|
|
28
29
|
var normalize = /* @__PURE__ */ __name(function(path2) {
|
|
29
30
|
if (path2.length === 0) {
|
|
30
31
|
return ".";
|
|
@@ -167,6 +168,22 @@ var extname = /* @__PURE__ */ __name(function(p) {
|
|
|
167
168
|
const match = _EXTNAME_RE.exec(normalizeWindowsPath(p));
|
|
168
169
|
return match && match[1] || "";
|
|
169
170
|
}, "extname");
|
|
171
|
+
var relative = /* @__PURE__ */ __name(function(from, to) {
|
|
172
|
+
const _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
173
|
+
const _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
174
|
+
if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) {
|
|
175
|
+
return _to.join("/");
|
|
176
|
+
}
|
|
177
|
+
const _fromCopy = [..._from];
|
|
178
|
+
for (const segment of _fromCopy) {
|
|
179
|
+
if (_to[0] !== segment) {
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
_from.shift();
|
|
183
|
+
_to.shift();
|
|
184
|
+
}
|
|
185
|
+
return [..._from.map(() => ".."), ..._to].join("/");
|
|
186
|
+
}, "relative");
|
|
170
187
|
var dirname = /* @__PURE__ */ __name(function(p) {
|
|
171
188
|
const segments = normalizeWindowsPath(p).replace(/\/$/, "").split("/").slice(0, -1);
|
|
172
189
|
if (segments.length === 1 && _DRIVE_LETTER_RE.test(segments[0])) {
|
|
@@ -196,6 +213,7 @@ export {
|
|
|
196
213
|
join,
|
|
197
214
|
resolve,
|
|
198
215
|
isAbsolute,
|
|
216
|
+
relative,
|
|
199
217
|
dirname,
|
|
200
218
|
basename,
|
|
201
219
|
parse
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.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-E3ZVPOWE.js";
|
|
15
15
|
import {
|
|
16
16
|
__export,
|
|
17
17
|
__name,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-M7JK3PHD.js";
|
|
20
20
|
|
|
21
21
|
// src/cli/globalSettings.ts
|
|
22
22
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// package.json
|
|
14
|
+
var version = "10.0.2";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.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-OL4ZPH5W.js";
|
|
15
15
|
import {
|
|
16
16
|
versions_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YFJZFOCY.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-AQXXWN5J.js";
|
|
31
31
|
import {
|
|
32
32
|
any,
|
|
33
33
|
from,
|
|
34
34
|
up2 as up
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-45XSYU5U.js";
|
|
36
36
|
import {
|
|
37
37
|
invariant
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PEW3VSI4.js";
|
|
39
39
|
import {
|
|
40
40
|
importModule,
|
|
41
41
|
resolveModulePath,
|
|
42
42
|
resolvePackageDir,
|
|
43
43
|
safeResolveModule
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VOOIMEQA.js";
|
|
45
45
|
import {
|
|
46
46
|
join,
|
|
47
47
|
parse,
|
|
48
48
|
resolve
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-Q5A4LYDI.js";
|
|
50
50
|
import {
|
|
51
51
|
require_prompts
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-BEHQEHCV.js";
|
|
53
53
|
import {
|
|
54
54
|
glob,
|
|
55
55
|
globSync
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-YT3QOQMF.js";
|
|
57
57
|
import {
|
|
58
58
|
slash
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-PHHWFZ53.js";
|
|
60
60
|
import {
|
|
61
61
|
require_dist
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-E3ZVPOWE.js";
|
|
63
63
|
import {
|
|
64
64
|
require_picocolors
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-5TEMW2HS.js";
|
|
66
66
|
import {
|
|
67
67
|
__commonJS,
|
|
68
68
|
__esm,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
__require,
|
|
72
72
|
__toCommonJS,
|
|
73
73
|
__toESM
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-M7JK3PHD.js";
|
|
75
75
|
|
|
76
76
|
// ../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js
|
|
77
77
|
var tslib_es6_exports = {};
|
|
@@ -14164,7 +14164,7 @@ async function scanAndTransformFiles({
|
|
|
14164
14164
|
initial: defaultGlob
|
|
14165
14165
|
});
|
|
14166
14166
|
console.log("Scanning for affected files...");
|
|
14167
|
-
const globby = (await import("./globby-
|
|
14167
|
+
const globby = (await import("./globby-MTM72QV7.js")).globby;
|
|
14168
14168
|
const sourceFiles = await globby([glob2], {
|
|
14169
14169
|
...commonGlobOptions(""),
|
|
14170
14170
|
ignore: ["**/node_modules/**"],
|
|
@@ -14194,7 +14194,7 @@ function transformImports(source, renamedImports) {
|
|
|
14194
14194
|
__name(transformImports, "transformImports");
|
|
14195
14195
|
var transformImportFiles = /* @__PURE__ */ __name(async (files, renamedImports, dryRun) => {
|
|
14196
14196
|
const errors = [];
|
|
14197
|
-
const { default: pLimit } = await import("./p-limit-
|
|
14197
|
+
const { default: pLimit } = await import("./p-limit-DHY3P6KR.js");
|
|
14198
14198
|
const limit = pLimit(10);
|
|
14199
14199
|
await Promise.all(
|
|
14200
14200
|
files.map(
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.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-M7JK3PHD.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/pretty-hrtime/index.js
|
|
17
17
|
var require_pretty_hrtime = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Q5A4LYDI.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M7JK3PHD.js";
|
|
19
19
|
|
|
20
20
|
// ../node_modules/exsolve/dist/index.mjs
|
|
21
21
|
import fs, { realpathSync, statSync, lstatSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,20 +12,20 @@ var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_gen_mapping_umd,
|
|
14
14
|
require_trace_mapping_umd
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6M2MHIE4.js";
|
|
16
16
|
import {
|
|
17
17
|
require_lib,
|
|
18
18
|
require_src
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GW7GHNWQ.js";
|
|
20
20
|
import {
|
|
21
21
|
require_picocolors
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5TEMW2HS.js";
|
|
23
23
|
import {
|
|
24
24
|
__commonJS,
|
|
25
25
|
__name,
|
|
26
26
|
__require,
|
|
27
27
|
__toESM
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-M7JK3PHD.js";
|
|
29
29
|
|
|
30
30
|
// ../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
31
31
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.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_5r9jbklbg3s.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__name,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M7JK3PHD.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
|
|
18
18
|
var __create = Object.create;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.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.0.2",
|
|
16
|
+
"@storybook/addon-docs": "10.0.2",
|
|
17
|
+
"@storybook/addon-links": "10.0.2",
|
|
18
|
+
"@storybook/addon-onboarding": "10.0.2",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.0.2",
|
|
20
|
+
"@storybook/addon-themes": "10.0.2",
|
|
21
|
+
"@storybook/addon-vitest": "10.0.2",
|
|
22
|
+
"@storybook/builder-vite": "10.0.2",
|
|
23
|
+
"@storybook/builder-webpack5": "10.0.2",
|
|
24
|
+
storybook: "10.0.2",
|
|
25
|
+
"@storybook/angular": "10.0.2",
|
|
26
|
+
"@storybook/ember": "10.0.2",
|
|
27
|
+
"@storybook/html-vite": "10.0.2",
|
|
28
|
+
"@storybook/nextjs": "10.0.2",
|
|
29
|
+
"@storybook/nextjs-vite": "10.0.2",
|
|
30
|
+
"@storybook/preact-vite": "10.0.2",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.0.2",
|
|
32
|
+
"@storybook/react-vite": "10.0.2",
|
|
33
|
+
"@storybook/react-webpack5": "10.0.2",
|
|
34
|
+
"@storybook/server-webpack5": "10.0.2",
|
|
35
|
+
"@storybook/svelte-vite": "10.0.2",
|
|
36
|
+
"@storybook/sveltekit": "10.0.2",
|
|
37
|
+
"@storybook/vue3-vite": "10.0.2",
|
|
38
|
+
"@storybook/web-components-vite": "10.0.2",
|
|
39
|
+
sb: "10.0.2",
|
|
40
|
+
"@storybook/cli": "10.0.2",
|
|
41
|
+
"@storybook/codemod": "10.0.2",
|
|
42
|
+
"@storybook/core-webpack": "10.0.2",
|
|
43
|
+
"create-storybook": "10.0.2",
|
|
44
|
+
"@storybook/csf-plugin": "10.0.2",
|
|
45
|
+
"eslint-plugin-storybook": "10.0.2",
|
|
46
|
+
"@storybook/react-dom-shim": "10.0.2",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.0.2",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.0.2",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.0.2",
|
|
50
|
+
"@storybook/html": "10.0.2",
|
|
51
|
+
"@storybook/preact": "10.0.2",
|
|
52
|
+
"@storybook/react": "10.0.2",
|
|
53
|
+
"@storybook/server": "10.0.2",
|
|
54
|
+
"@storybook/svelte": "10.0.2",
|
|
55
|
+
"@storybook/vue3": "10.0.2",
|
|
56
|
+
"@storybook/web-components": "10.0.2"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-M7JK3PHD.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/balanced-match/index.js
|
|
19
19
|
var require_balanced_match = __commonJS({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_n7xewhgh6ep from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_n7xewhgh6ep from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_n7xewhgh6ep from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_n7xewhgh6ep.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_n7xewhgh6ep.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_n7xewhgh6ep.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-
|
|
14
|
+
} from "./chunk-Y5ZIS3CB.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-M7JK3PHD.js";
|
|
18
18
|
|
|
19
19
|
// ../node_modules/@storybook/docs-mdx/dist/index.js
|
|
20
20
|
var getAttr = /* @__PURE__ */ __name((elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute" && n.name.name === what), "getAttr");
|
|
@@ -161,7 +161,7 @@ var analyze = /* @__PURE__ */ __name(async (code) => {
|
|
|
161
161
|
metaTags: void 0,
|
|
162
162
|
imports: void 0
|
|
163
163
|
};
|
|
164
|
-
const { compile } = await import("./mdx-N42X6CFJ-
|
|
164
|
+
const { compile } = await import("./mdx-N42X6CFJ-5KEDSU5O.js");
|
|
165
165
|
await compile(code, {
|
|
166
166
|
rehypePlugins: [[plugin, store]]
|
|
167
167
|
});
|