storybook 10.2.0-alpha.9 → 10.2.0-beta.1
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/{Color-E5XDEOX4.js → Color-XESOIGZP.js} +57 -3
- package/dist/_browser-chunks/chunk-AFVOZMXQ.js +23 -0
- package/dist/_browser-chunks/{chunk-3PJE6VLG.js → chunk-ASKQZAOS.js} +1 -12
- package/dist/_browser-chunks/chunk-IYCKG66Y.js +171 -0
- package/dist/_browser-chunks/chunk-LCHBOIHN.js +64 -0
- package/dist/_browser-chunks/{chunk-IPA5A322.js → chunk-MEXTPDJG.js} +1 -1
- package/dist/_browser-chunks/{chunk-54PNNATT.js → chunk-NQJGOFZV.js} +18 -1
- package/dist/_browser-chunks/{chunk-VUZYLZ4B.js → chunk-QOXZ7W26.js} +31 -15
- package/dist/_browser-chunks/{chunk-LOTN4ZCW.js → chunk-SI6AKD4S.js} +2 -2
- package/dist/_browser-chunks/chunk-YK43Z22A.js +263 -0
- package/dist/_node-chunks/{builder-manager-FTCODGJP.js → builder-manager-IRBMORML.js} +15 -12
- package/dist/_node-chunks/camelcase-JM3BJBI7.js +62 -0
- package/dist/_node-chunks/{chunk-RF3L36MK.js → chunk-2SAOTVFT.js} +125 -73
- package/dist/_node-chunks/chunk-34APMFOU.js +23 -0
- package/dist/_node-chunks/chunk-5IZBWBDT.js +144 -0
- package/dist/_node-chunks/chunk-5M5YVBOE.js +18 -0
- package/dist/_node-chunks/{chunk-6ABJZZWS.js → chunk-6T5JWO53.js} +7 -7
- package/dist/_node-chunks/{chunk-D4TCQXIF.js → chunk-7WSC72DT.js} +7 -7
- package/dist/_node-chunks/{chunk-YN6FEZAF.js → chunk-AEAT43LP.js} +7 -7
- package/dist/_node-chunks/{chunk-3Y5VHKPI.js → chunk-B3ABITJT.js} +9 -9
- package/dist/_node-chunks/chunk-E4NS75V2.js +126 -0
- package/dist/_node-chunks/{chunk-LRBEW57O.js → chunk-EXJYKVMZ.js} +7 -7
- package/dist/_node-chunks/{chunk-NYUFS6LX.js → chunk-FK46E6BJ.js} +10 -10
- package/dist/_node-chunks/{chunk-CO7N5AG7.js → chunk-FLAGIDCN.js} +36 -14
- package/dist/_node-chunks/{chunk-FGI35IGB.js → chunk-FOSOWVVY.js} +15 -69
- package/dist/_node-chunks/{chunk-33XC4R6P.js → chunk-FWBRRVW6.js} +9 -9
- package/dist/_node-chunks/{chunk-73GYSTNZ.js → chunk-GKB6BXCD.js} +6 -6
- package/dist/_node-chunks/{chunk-SBPB3VWI.js → chunk-H444EFIP.js} +6 -6
- package/dist/_node-chunks/{chunk-6SH5SI6S.js → chunk-KRXWB32F.js} +7 -7
- package/dist/_node-chunks/{chunk-3DPKKQ6P.js → chunk-L5NAVTEK.js} +6 -6
- package/dist/_node-chunks/{chunk-MWWAQ5S4.js → chunk-M5BK3KV6.js} +5262 -1480
- package/dist/_node-chunks/{chunk-OUDQWDHY.js → chunk-MTJISVX7.js} +7 -7
- package/dist/_node-chunks/{chunk-IIBBQZLT.js → chunk-NFE2FV3C.js} +6 -6
- package/dist/_node-chunks/{chunk-PZCWRKQE.js → chunk-PZT42DUC.js} +6 -6
- package/dist/_node-chunks/{chunk-XZ6V3G6J.js → chunk-QO37JOCL.js} +533 -143
- package/dist/_node-chunks/{chunk-LB74XOLW.js → chunk-RP5L2ZGT.js} +6 -6
- package/dist/_node-chunks/chunk-RVYIMZDI.js +61 -0
- package/dist/_node-chunks/{chunk-BQX766MA.js → chunk-WLBZMVKZ.js} +260 -162
- package/dist/_node-chunks/{chunk-WTQGSYRO.js → chunk-WRGLNCF7.js} +12 -571
- package/dist/_node-chunks/{chunk-SPOUBCPJ.js → chunk-YR6V5CGX.js} +18 -14
- package/dist/_node-chunks/{globby-AXGFF6I5.js → globby-EHB62LWZ.js} +11 -20
- package/dist/_node-chunks/{lib-ESB7KQ6D.js → lib-F2QE2E3S.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-XXQ6YIDF.js → mdx-N42X6CFJ-SV23TYXC.js} +8 -8
- package/dist/_node-chunks/{p-limit-P6ND7SUA.js → p-limit-T7DGUJ4I.js} +18 -14
- 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.d.ts +1504 -424
- package/dist/cli/index.js +18 -18
- package/dist/common/index.d.ts +1319 -271
- package/dist/common/index.js +19 -19
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +228 -227
- package/dist/core-events/index.d.ts +23 -7
- package/dist/core-events/index.js +5 -1
- package/dist/core-server/index.d.ts +105 -3
- package/dist/core-server/index.js +992 -613
- package/dist/core-server/presets/common-manager.js +208 -160
- package/dist/core-server/presets/common-override-preset.js +11 -11
- package/dist/core-server/presets/common-preset.js +558 -4534
- package/dist/csf/index.d.ts +147 -15
- package/dist/csf/index.js +52 -23
- package/dist/csf-tools/index.d.ts +19 -1
- package/dist/csf-tools/index.js +11 -9
- package/dist/docs-tools/index.d.ts +2 -2
- package/dist/docs-tools/index.js +4 -5
- package/dist/manager/globals-runtime.js +2749 -6907
- package/dist/manager/runtime.js +2939 -2295
- package/dist/manager-api/index.d.ts +89 -21
- package/dist/manager-api/index.js +82 -23
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.d.ts +1453 -108
- package/dist/node-logger/index.js +9 -9
- package/dist/preview/runtime.js +784 -5059
- package/dist/preview-api/index.d.ts +93 -69
- package/dist/preview-api/index.js +11 -8
- package/dist/router/index.js +5 -4
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.d.ts +14 -2
- package/dist/telemetry/index.js +23 -22
- package/dist/theming/index.d.ts +5 -5
- package/dist/theming/index.js +21 -2
- package/dist/types/index.d.ts +21 -9
- package/dist/viewport/index.d.ts +5 -3
- package/dist/viewport/index.js +12 -3
- package/package.json +27 -26
- package/dist/_browser-chunks/chunk-2NDLAB5X.js +0 -363
- package/dist/_browser-chunks/chunk-CLSHX4VX.js +0 -4140
- package/dist/_browser-chunks/chunk-HPYUT3WS.js +0 -199
- package/dist/_browser-chunks/chunk-XCZK5QUJ.js +0 -0
- package/dist/_node-chunks/camelcase-5XDKQT3J.js +0 -37
- package/dist/_node-chunks/chunk-GXQRT5M6.js +0 -61
- package/dist/_node-chunks/chunk-MOQRBTWA.js +0 -70
- package/dist/_node-chunks/chunk-PRNP2HO6.js +0 -23
- package/dist/_node-chunks/chunk-VKMYOVNS.js +0 -18
- package/dist/_node-chunks/dist-YRSVYE5A.js +0 -121
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6oizoa9gi2s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6oizoa9gi2s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6oizoa9gi2s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6oizoa9gi2s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6oizoa9gi2s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6oizoa9gi2s.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-6T5JWO53.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__export,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PZT42DUC.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/are-we-there-yet/lib/tracker-base.js
|
|
23
23
|
var require_tracker_base = __commonJS({
|
|
@@ -2661,7 +2661,7 @@ function isFullWidth(x3) {
|
|
|
2661
2661
|
return x3 === 12288 || x3 >= 65281 && x3 <= 65376 || x3 >= 65504 && x3 <= 65510;
|
|
2662
2662
|
}
|
|
2663
2663
|
function isWide(x3) {
|
|
2664
|
-
return x3 >= 4352 && x3 <= 4447 || x3 === 8986 || x3 === 8987 || x3 === 9001 || x3 === 9002 || x3 >= 9193 && x3 <= 9196 || x3 === 9200 || x3 === 9203 || x3 === 9725 || x3 === 9726 || x3 === 9748 || x3 === 9749 || x3 >= 9800 && x3 <= 9811 || x3 === 9855 || x3 === 9875 || x3 === 9889 || x3 === 9898 || x3 === 9899 || x3 === 9917 || x3 === 9918 || x3 === 9924 || x3 === 9925 || x3 === 9934 || x3 === 9940 || x3 === 9962 || x3 === 9970 || x3 === 9971 || x3 === 9973 || x3 === 9978 || x3 === 9981 || x3 === 9989 || x3 === 9994 || x3 === 9995 || x3 === 10024 || x3 === 10060 || x3 === 10062 || x3 >= 10067 && x3 <= 10069 || x3 === 10071 || x3 >= 10133 && x3 <= 10135 || x3 === 10160 || x3 === 10175 || x3 === 11035 || x3 === 11036 || x3 === 11088 || x3 === 11093 || x3 >= 11904 && x3 <= 11929 || x3 >= 11931 && x3 <= 12019 || x3 >= 12032 && x3 <= 12245 || x3 >= 12272 && x3 <= 12287 || x3 >= 12289 && x3 <= 12350 || x3 >= 12353 && x3 <= 12438 || x3 >= 12441 && x3 <= 12543 || x3 >= 12549 && x3 <= 12591 || x3 >= 12593 && x3 <= 12686 || x3 >= 12688 && x3 <=
|
|
2664
|
+
return x3 >= 4352 && x3 <= 4447 || x3 === 8986 || x3 === 8987 || x3 === 9001 || x3 === 9002 || x3 >= 9193 && x3 <= 9196 || x3 === 9200 || x3 === 9203 || x3 === 9725 || x3 === 9726 || x3 === 9748 || x3 === 9749 || x3 >= 9776 && x3 <= 9783 || x3 >= 9800 && x3 <= 9811 || x3 === 9855 || x3 >= 9866 && x3 <= 9871 || x3 === 9875 || x3 === 9889 || x3 === 9898 || x3 === 9899 || x3 === 9917 || x3 === 9918 || x3 === 9924 || x3 === 9925 || x3 === 9934 || x3 === 9940 || x3 === 9962 || x3 === 9970 || x3 === 9971 || x3 === 9973 || x3 === 9978 || x3 === 9981 || x3 === 9989 || x3 === 9994 || x3 === 9995 || x3 === 10024 || x3 === 10060 || x3 === 10062 || x3 >= 10067 && x3 <= 10069 || x3 === 10071 || x3 >= 10133 && x3 <= 10135 || x3 === 10160 || x3 === 10175 || x3 === 11035 || x3 === 11036 || x3 === 11088 || x3 === 11093 || x3 >= 11904 && x3 <= 11929 || x3 >= 11931 && x3 <= 12019 || x3 >= 12032 && x3 <= 12245 || x3 >= 12272 && x3 <= 12287 || x3 >= 12289 && x3 <= 12350 || x3 >= 12353 && x3 <= 12438 || x3 >= 12441 && x3 <= 12543 || x3 >= 12549 && x3 <= 12591 || x3 >= 12593 && x3 <= 12686 || x3 >= 12688 && x3 <= 12773 || x3 >= 12783 && x3 <= 12830 || x3 >= 12832 && x3 <= 12871 || x3 >= 12880 && x3 <= 42124 || x3 >= 42128 && x3 <= 42182 || x3 >= 43360 && x3 <= 43388 || x3 >= 44032 && x3 <= 55203 || x3 >= 63744 && x3 <= 64255 || x3 >= 65040 && x3 <= 65049 || x3 >= 65072 && x3 <= 65106 || x3 >= 65108 && x3 <= 65126 || x3 >= 65128 && x3 <= 65131 || x3 >= 94176 && x3 <= 94180 || x3 >= 94192 && x3 <= 94198 || x3 >= 94208 && x3 <= 101589 || x3 >= 101631 && x3 <= 101662 || x3 >= 101760 && x3 <= 101874 || x3 >= 110576 && x3 <= 110579 || x3 >= 110581 && x3 <= 110587 || x3 === 110589 || x3 === 110590 || x3 >= 110592 && x3 <= 110882 || x3 === 110898 || x3 >= 110928 && x3 <= 110930 || x3 === 110933 || x3 >= 110948 && x3 <= 110951 || x3 >= 110960 && x3 <= 111355 || x3 >= 119552 && x3 <= 119638 || x3 >= 119648 && x3 <= 119670 || x3 === 126980 || x3 === 127183 || x3 === 127374 || x3 >= 127377 && x3 <= 127386 || x3 >= 127488 && x3 <= 127490 || x3 >= 127504 && x3 <= 127547 || x3 >= 127552 && x3 <= 127560 || x3 === 127568 || x3 === 127569 || x3 >= 127584 && x3 <= 127589 || x3 >= 127744 && x3 <= 127776 || x3 >= 127789 && x3 <= 127797 || x3 >= 127799 && x3 <= 127868 || x3 >= 127870 && x3 <= 127891 || x3 >= 127904 && x3 <= 127946 || x3 >= 127951 && x3 <= 127955 || x3 >= 127968 && x3 <= 127984 || x3 === 127988 || x3 >= 127992 && x3 <= 128062 || x3 === 128064 || x3 >= 128066 && x3 <= 128252 || x3 >= 128255 && x3 <= 128317 || x3 >= 128331 && x3 <= 128334 || x3 >= 128336 && x3 <= 128359 || x3 === 128378 || x3 === 128405 || x3 === 128406 || x3 === 128420 || x3 >= 128507 && x3 <= 128591 || x3 >= 128640 && x3 <= 128709 || x3 === 128716 || x3 >= 128720 && x3 <= 128722 || x3 >= 128725 && x3 <= 128728 || x3 >= 128732 && x3 <= 128735 || x3 === 128747 || x3 === 128748 || x3 >= 128756 && x3 <= 128764 || x3 >= 128992 && x3 <= 129003 || x3 === 129008 || x3 >= 129292 && x3 <= 129338 || x3 >= 129340 && x3 <= 129349 || x3 >= 129351 && x3 <= 129535 || x3 >= 129648 && x3 <= 129660 || x3 >= 129664 && x3 <= 129674 || x3 >= 129678 && x3 <= 129734 || x3 === 129736 || x3 >= 129741 && x3 <= 129756 || x3 >= 129759 && x3 <= 129770 || x3 >= 129775 && x3 <= 129784 || x3 >= 131072 && x3 <= 196605 || x3 >= 196608 && x3 <= 262141;
|
|
2665
2665
|
}
|
|
2666
2666
|
|
|
2667
2667
|
// ../../node_modules/get-east-asian-width/index.js
|
|
@@ -3184,7 +3184,7 @@ function getMinimalTrace() {
|
|
|
3184
3184
|
(line) => !["getMinimalTrace", "createLogger", "logFunction"].some((fn) => line.includes(fn))
|
|
3185
3185
|
);
|
|
3186
3186
|
return userStackLines.length === 0 ? void 0 : `
|
|
3187
|
-
` + userStackLines.slice(0,
|
|
3187
|
+
` + userStackLines.slice(0, 4).join(`
|
|
3188
3188
|
`);
|
|
3189
3189
|
}
|
|
3190
3190
|
var formatLogMessage = (args) => args.map((arg) => typeof arg == "string" ? arg : typeof arg == "object" ? JSON.stringify(arg, null, 2) : String(arg)).join(" ");
|
|
@@ -3216,10 +3216,14 @@ var debug = createLogger(
|
|
|
3216
3216
|
"error",
|
|
3217
3217
|
(...args) => LOG_FUNCTIONS.error()(...args)
|
|
3218
3218
|
), logBox = (message, { title, ...options } = {}) => {
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3219
|
+
try {
|
|
3220
|
+
shouldLog("info") && (logTracker.addLog("info", message), isClackEnabled() ? Tt2(message, title, {
|
|
3221
|
+
...options,
|
|
3222
|
+
width: options.width ?? "auto"
|
|
3223
|
+
}) : console.log(message));
|
|
3224
|
+
} catch {
|
|
3225
|
+
R2.message(message);
|
|
3226
|
+
}
|
|
3223
3227
|
}, intro = (message) => {
|
|
3224
3228
|
logTracker.addLog("info", message), shouldLog("info") && (console.log(""), LOG_FUNCTIONS.intro()(message));
|
|
3225
3229
|
}, outro = (message) => {
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6oizoa9gi2s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6oizoa9gi2s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6oizoa9gi2s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6oizoa9gi2s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6oizoa9gi2s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6oizoa9gi2s.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
|
-
require_utils
|
|
15
|
-
|
|
14
|
+
require_utils,
|
|
15
|
+
toPath
|
|
16
|
+
} from "./chunk-FLAGIDCN.js";
|
|
16
17
|
import {
|
|
17
18
|
slash
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GKB6BXCD.js";
|
|
19
20
|
import {
|
|
20
21
|
__commonJS,
|
|
21
22
|
__require,
|
|
22
23
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PZT42DUC.js";
|
|
24
25
|
|
|
25
26
|
// ../../node_modules/fast-glob/out/utils/array.js
|
|
26
27
|
var require_array = __commonJS({
|
|
@@ -3237,16 +3238,6 @@ function isTypeSync(fsStatType, statsMethodName, filePath) {
|
|
|
3237
3238
|
}
|
|
3238
3239
|
var isFile = isType.bind(void 0, "stat", "isFile"), isDirectory = isType.bind(void 0, "stat", "isDirectory"), isSymlink = isType.bind(void 0, "lstat", "isSymbolicLink"), isFileSync = isTypeSync.bind(void 0, "statSync", "isFile"), isDirectorySync = isTypeSync.bind(void 0, "statSync", "isDirectory"), isSymlinkSync = isTypeSync.bind(void 0, "lstatSync", "isSymbolicLink");
|
|
3239
3240
|
|
|
3240
|
-
// ../../node_modules/unicorn-magic/node.js
|
|
3241
|
-
import { promisify } from "node:util";
|
|
3242
|
-
import { execFile as execFileCallback, execFileSync as execFileSyncOriginal } from "node:child_process";
|
|
3243
|
-
import { fileURLToPath } from "node:url";
|
|
3244
|
-
var execFileOriginal = promisify(execFileCallback);
|
|
3245
|
-
function toPath(urlOrPath) {
|
|
3246
|
-
return urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
|
|
3247
|
-
}
|
|
3248
|
-
var TEN_MEGABYTES_IN_BYTES = 10 * 1024 * 1024;
|
|
3249
|
-
|
|
3250
3241
|
// ../../node_modules/globby/ignore.js
|
|
3251
3242
|
var import_fast_glob = __toESM(require_out4(), 1), import_ignore = __toESM(require_ignore(), 1);
|
|
3252
3243
|
import process2 from "node:process";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6oizoa9gi2s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6oizoa9gi2s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6oizoa9gi2s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6oizoa9gi2s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6oizoa9gi2s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6oizoa9gi2s.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-PZT42DUC.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_6oizoa9gi2s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6oizoa9gi2s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6oizoa9gi2s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6oizoa9gi2s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6oizoa9gi2s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6oizoa9gi2s.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-AEAT43LP.js";
|
|
25
|
+
import "./chunk-PZT42DUC.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_6oizoa9gi2s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6oizoa9gi2s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6oizoa9gi2s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6oizoa9gi2s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6oizoa9gi2s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6oizoa9gi2s.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-PZT42DUC.js";
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|
|
@@ -55,11 +55,11 @@ var Node = class {
|
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
-
//
|
|
58
|
+
// ../../node_modules/p-limit/index.js
|
|
59
59
|
function pLimit(concurrency) {
|
|
60
60
|
validateConcurrency(concurrency);
|
|
61
61
|
let queue = new Queue(), activeCount = 0, resumeNext = () => {
|
|
62
|
-
activeCount < concurrency && queue.size > 0 && (queue.dequeue()()
|
|
62
|
+
activeCount < concurrency && queue.size > 0 && (activeCount++, queue.dequeue()());
|
|
63
63
|
}, next = () => {
|
|
64
64
|
activeCount--, resumeNext();
|
|
65
65
|
}, run = async (function_, resolve, arguments_) => {
|
|
@@ -73,9 +73,7 @@ function pLimit(concurrency) {
|
|
|
73
73
|
}, enqueue = (function_, resolve, arguments_) => {
|
|
74
74
|
new Promise((internalResolve) => {
|
|
75
75
|
queue.enqueue(internalResolve);
|
|
76
|
-
}).then(
|
|
77
|
-
run.bind(void 0, function_, resolve, arguments_)
|
|
78
|
-
), (async () => (await Promise.resolve(), activeCount < concurrency && resumeNext()))();
|
|
76
|
+
}).then(run.bind(void 0, function_, resolve, arguments_)), activeCount < concurrency && resumeNext();
|
|
79
77
|
}, generator = (function_, ...arguments_) => new Promise((resolve) => {
|
|
80
78
|
enqueue(function_, resolve, arguments_);
|
|
81
79
|
});
|
|
@@ -99,11 +97,17 @@ function pLimit(concurrency) {
|
|
|
99
97
|
resumeNext();
|
|
100
98
|
});
|
|
101
99
|
}
|
|
100
|
+
},
|
|
101
|
+
map: {
|
|
102
|
+
async value(iterable, function_) {
|
|
103
|
+
let promises = Array.from(iterable, (value, index) => this(function_, value, index));
|
|
104
|
+
return Promise.all(promises);
|
|
105
|
+
}
|
|
102
106
|
}
|
|
103
107
|
}), generator;
|
|
104
108
|
}
|
|
105
|
-
function limitFunction(function_,
|
|
106
|
-
let { concurrency } =
|
|
109
|
+
function limitFunction(function_, options) {
|
|
110
|
+
let { concurrency } = options, limit = pLimit(concurrency);
|
|
107
111
|
return (...arguments_) => limit(() => function_(...arguments_));
|
|
108
112
|
}
|
|
109
113
|
function validateConcurrency(concurrency) {
|
package/dist/babel/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6oizoa9gi2s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6oizoa9gi2s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6oizoa9gi2s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6oizoa9gi2s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6oizoa9gi2s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6oizoa9gi2s.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-FWBRRVW6.js";
|
|
26
|
+
import "../_node-chunks/chunk-7WSC72DT.js";
|
|
27
|
+
import "../_node-chunks/chunk-6T5JWO53.js";
|
|
28
|
+
import "../_node-chunks/chunk-PZT42DUC.js";
|
|
29
29
|
var export_transformSync = import_core.transformSync;
|
|
30
30
|
export {
|
|
31
31
|
BabelFileClass,
|
package/dist/bin/core.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6oizoa9gi2s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6oizoa9gi2s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6oizoa9gi2s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6oizoa9gi2s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6oizoa9gi2s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6oizoa9gi2s.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 "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-5M5YVBOE.js";
|
|
15
15
|
import {
|
|
16
16
|
globalSettings
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-B3ABITJT.js";
|
|
18
|
+
import "../_node-chunks/chunk-L5NAVTEK.js";
|
|
19
19
|
import {
|
|
20
20
|
require_dist
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-EXJYKVMZ.js";
|
|
22
22
|
import {
|
|
23
23
|
require_picocolors
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-6T5JWO53.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__require,
|
|
28
28
|
__toESM
|
|
29
|
-
} from "../_node-chunks/chunk-
|
|
29
|
+
} from "../_node-chunks/chunk-PZT42DUC.js";
|
|
30
30
|
|
|
31
31
|
// ../../node_modules/commander/lib/error.js
|
|
32
32
|
var require_error = __commonJS({
|
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_6oizoa9gi2s from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_6oizoa9gi2s from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_6oizoa9gi2s from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_6oizoa9gi2s.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6oizoa9gi2s.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_6oizoa9gi2s.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
12
12
|
// ------------------------------------------------------------
|
|
13
13
|
import {
|
|
14
14
|
versions_default
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-RVYIMZDI.js";
|
|
16
16
|
import {
|
|
17
17
|
resolvePackageDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-MTJISVX7.js";
|
|
19
19
|
import {
|
|
20
20
|
join
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-RP5L2ZGT.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-EXJYKVMZ.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-PZT42DUC.js";
|
|
28
28
|
|
|
29
29
|
// src/bin/dispatcher.ts
|
|
30
30
|
import { pathToFileURL } from "node:url";
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6oizoa9gi2s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6oizoa9gi2s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6oizoa9gi2s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6oizoa9gi2s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6oizoa9gi2s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6oizoa9gi2s.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
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-H444EFIP.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-EXJYKVMZ.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-PZT42DUC.js";
|
|
21
21
|
|
|
22
22
|
// src/bin/loader.ts
|
|
23
23
|
var import_ts_dedent = __toESM(require_dist(), 1);
|