storybook 10.2.0-alpha.9 → 10.2.0-beta.0

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.
Files changed (97) hide show
  1. package/dist/_browser-chunks/{Color-E5XDEOX4.js → Color-XESOIGZP.js} +57 -3
  2. package/dist/_browser-chunks/chunk-AFVOZMXQ.js +23 -0
  3. package/dist/_browser-chunks/{chunk-3PJE6VLG.js → chunk-ASKQZAOS.js} +1 -12
  4. package/dist/_browser-chunks/chunk-IYCKG66Y.js +171 -0
  5. package/dist/_browser-chunks/chunk-LCHBOIHN.js +64 -0
  6. package/dist/_browser-chunks/{chunk-IPA5A322.js → chunk-MEXTPDJG.js} +1 -1
  7. package/dist/_browser-chunks/{chunk-54PNNATT.js → chunk-NQJGOFZV.js} +18 -1
  8. package/dist/_browser-chunks/{chunk-VUZYLZ4B.js → chunk-QOXZ7W26.js} +31 -15
  9. package/dist/_browser-chunks/{chunk-LOTN4ZCW.js → chunk-SI6AKD4S.js} +2 -2
  10. package/dist/_browser-chunks/chunk-YK43Z22A.js +263 -0
  11. package/dist/_node-chunks/{builder-manager-FTCODGJP.js → builder-manager-JEJE63VV.js} +15 -12
  12. package/dist/_node-chunks/camelcase-HALRJETF.js +62 -0
  13. package/dist/_node-chunks/{chunk-3Y5VHKPI.js → chunk-3SKE4CCB.js} +9 -9
  14. package/dist/_node-chunks/chunk-4UYAC7Y2.js +18 -0
  15. package/dist/_node-chunks/{chunk-NYUFS6LX.js → chunk-6UAQEBJX.js} +10 -10
  16. package/dist/_node-chunks/{chunk-SPOUBCPJ.js → chunk-72K4WVI5.js} +18 -14
  17. package/dist/_node-chunks/{chunk-FGI35IGB.js → chunk-7ZX5CX6B.js} +15 -69
  18. package/dist/_node-chunks/{chunk-6SH5SI6S.js → chunk-ADTWC7QJ.js} +7 -7
  19. package/dist/_node-chunks/{chunk-OUDQWDHY.js → chunk-APUXGW3Y.js} +7 -7
  20. package/dist/_node-chunks/{chunk-PZCWRKQE.js → chunk-AXDM43NU.js} +6 -6
  21. package/dist/_node-chunks/{chunk-73GYSTNZ.js → chunk-B422K4XV.js} +6 -6
  22. package/dist/_node-chunks/{chunk-WTQGSYRO.js → chunk-BJOXVTWM.js} +12 -571
  23. package/dist/_node-chunks/{chunk-LRBEW57O.js → chunk-BLGRU6F5.js} +7 -7
  24. package/dist/_node-chunks/{chunk-6ABJZZWS.js → chunk-CG47ALAV.js} +7 -7
  25. package/dist/_node-chunks/chunk-FH4FRUMP.js +23 -0
  26. package/dist/_node-chunks/{chunk-RF3L36MK.js → chunk-GBZ23FIZ.js} +125 -73
  27. package/dist/_node-chunks/{chunk-MWWAQ5S4.js → chunk-IZ3ATSWZ.js} +5262 -1480
  28. package/dist/_node-chunks/{chunk-SBPB3VWI.js → chunk-IZFEBWVB.js} +6 -6
  29. package/dist/_node-chunks/{chunk-33XC4R6P.js → chunk-KL5CKFPT.js} +9 -9
  30. package/dist/_node-chunks/{chunk-D4TCQXIF.js → chunk-MLXCYULR.js} +7 -7
  31. package/dist/_node-chunks/{chunk-LB74XOLW.js → chunk-MV2QM7P3.js} +6 -6
  32. package/dist/_node-chunks/chunk-PHX5XNP7.js +144 -0
  33. package/dist/_node-chunks/{chunk-XZ6V3G6J.js → chunk-QL6L57W7.js} +533 -143
  34. package/dist/_node-chunks/{chunk-IIBBQZLT.js → chunk-RPBXVPRB.js} +6 -6
  35. package/dist/_node-chunks/{chunk-BQX766MA.js → chunk-UH2GWMFP.js} +260 -162
  36. package/dist/_node-chunks/chunk-WNGL2VRJ.js +126 -0
  37. package/dist/_node-chunks/{chunk-CO7N5AG7.js → chunk-XAL452XB.js} +36 -14
  38. package/dist/_node-chunks/{chunk-YN6FEZAF.js → chunk-YVXXMWQO.js} +7 -7
  39. package/dist/_node-chunks/chunk-YYDL7JOC.js +61 -0
  40. package/dist/_node-chunks/{chunk-3DPKKQ6P.js → chunk-Z7FLE2TR.js} +6 -6
  41. package/dist/_node-chunks/{globby-AXGFF6I5.js → globby-4D4NBVG7.js} +11 -20
  42. package/dist/_node-chunks/{lib-ESB7KQ6D.js → lib-RM2DWHZQ.js} +7 -7
  43. package/dist/_node-chunks/{mdx-N42X6CFJ-XXQ6YIDF.js → mdx-N42X6CFJ-RAL72UTP.js} +8 -8
  44. package/dist/_node-chunks/{p-limit-P6ND7SUA.js → p-limit-6PUJQL5X.js} +18 -14
  45. package/dist/babel/index.js +10 -10
  46. package/dist/bin/core.js +12 -12
  47. package/dist/bin/dispatcher.js +11 -11
  48. package/dist/bin/loader.js +9 -9
  49. package/dist/cli/index.d.ts +1504 -424
  50. package/dist/cli/index.js +18 -18
  51. package/dist/common/index.d.ts +1319 -271
  52. package/dist/common/index.js +19 -19
  53. package/dist/components/index.d.ts +4 -1
  54. package/dist/components/index.js +228 -227
  55. package/dist/core-events/index.d.ts +23 -7
  56. package/dist/core-events/index.js +5 -1
  57. package/dist/core-server/index.d.ts +105 -3
  58. package/dist/core-server/index.js +992 -613
  59. package/dist/core-server/presets/common-manager.js +208 -160
  60. package/dist/core-server/presets/common-override-preset.js +11 -11
  61. package/dist/core-server/presets/common-preset.js +558 -4534
  62. package/dist/csf/index.d.ts +147 -15
  63. package/dist/csf/index.js +52 -23
  64. package/dist/csf-tools/index.d.ts +19 -1
  65. package/dist/csf-tools/index.js +11 -9
  66. package/dist/docs-tools/index.d.ts +2 -2
  67. package/dist/docs-tools/index.js +4 -5
  68. package/dist/manager/globals-runtime.js +2749 -6907
  69. package/dist/manager/runtime.js +2939 -2295
  70. package/dist/manager-api/index.d.ts +89 -21
  71. package/dist/manager-api/index.js +82 -23
  72. package/dist/mocking-utils/index.js +8 -8
  73. package/dist/node-logger/index.d.ts +1453 -108
  74. package/dist/node-logger/index.js +9 -9
  75. package/dist/preview/runtime.js +784 -5059
  76. package/dist/preview-api/index.d.ts +26 -1
  77. package/dist/preview-api/index.js +11 -8
  78. package/dist/router/index.js +5 -4
  79. package/dist/server-errors.js +11 -11
  80. package/dist/telemetry/index.d.ts +14 -2
  81. package/dist/telemetry/index.js +23 -22
  82. package/dist/theming/index.d.ts +5 -5
  83. package/dist/theming/index.js +21 -2
  84. package/dist/types/index.d.ts +21 -9
  85. package/dist/viewport/index.d.ts +5 -3
  86. package/dist/viewport/index.js +12 -3
  87. package/package.json +27 -26
  88. package/dist/_browser-chunks/chunk-2NDLAB5X.js +0 -363
  89. package/dist/_browser-chunks/chunk-CLSHX4VX.js +0 -4140
  90. package/dist/_browser-chunks/chunk-HPYUT3WS.js +0 -199
  91. package/dist/_browser-chunks/chunk-XCZK5QUJ.js +0 -0
  92. package/dist/_node-chunks/camelcase-5XDKQT3J.js +0 -37
  93. package/dist/_node-chunks/chunk-GXQRT5M6.js +0 -61
  94. package/dist/_node-chunks/chunk-MOQRBTWA.js +0 -70
  95. package/dist/_node-chunks/chunk-PRNP2HO6.js +0 -23
  96. package/dist/_node-chunks/chunk-VKMYOVNS.js +0 -18
  97. package/dist/_node-chunks/dist-YRSVYE5A.js +0 -121
@@ -1,10 +1,10 @@
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";
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,13 +12,13 @@ var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __require
15
- } from "./chunk-PZCWRKQE.js";
15
+ } from "./chunk-AXDM43NU.js";
16
16
 
17
17
  // ../../node_modules/picomatch/lib/constants.js
18
18
  var require_constants = __commonJS({
19
19
  "../../node_modules/picomatch/lib/constants.js"(exports, module) {
20
20
  "use strict";
21
- var path = __require("path"), WIN_SLASH = "\\\\/", WIN_NO_SLASH = `[^${WIN_SLASH}]`, DOT_LITERAL = "\\.", PLUS_LITERAL = "\\+", QMARK_LITERAL = "\\?", SLASH_LITERAL = "\\/", ONE_CHAR = "(?=.)", QMARK = "[^/]", END_ANCHOR = `(?:${SLASH_LITERAL}|$)`, START_ANCHOR = `(?:^|${SLASH_LITERAL})`, DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`, NO_DOT = `(?!${DOT_LITERAL})`, NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`, NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`, NO_DOTS_SLASH = `(?!${DOTS_SLASH})`, QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`, STAR = `${QMARK}*?`, POSIX_CHARS = {
21
+ var path2 = __require("path"), WIN_SLASH = "\\\\/", WIN_NO_SLASH = `[^${WIN_SLASH}]`, DOT_LITERAL = "\\.", PLUS_LITERAL = "\\+", QMARK_LITERAL = "\\?", SLASH_LITERAL = "\\/", ONE_CHAR = "(?=.)", QMARK = "[^/]", END_ANCHOR = `(?:${SLASH_LITERAL}|$)`, START_ANCHOR = `(?:^|${SLASH_LITERAL})`, DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`, NO_DOT = `(?!${DOT_LITERAL})`, NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`, NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`, NO_DOTS_SLASH = `(?!${DOTS_SLASH})`, QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`, STAR = `${QMARK}*?`, POSIX_CHARS = {
22
22
  DOT_LITERAL,
23
23
  PLUS_LITERAL,
24
24
  QMARK_LITERAL,
@@ -168,7 +168,7 @@ var require_constants = __commonJS({
168
168
  /* | */
169
169
  CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
170
170
  /* \uFEFF */
171
- SEP: path.sep,
171
+ SEP: path2.sep,
172
172
  /**
173
173
  * Create EXTGLOB_CHARS
174
174
  */
@@ -195,7 +195,7 @@ var require_constants = __commonJS({
195
195
  var require_utils = __commonJS({
196
196
  "../../node_modules/picomatch/lib/utils.js"(exports) {
197
197
  "use strict";
198
- var path = __require("path"), win32 = process.platform === "win32", {
198
+ var path2 = __require("path"), win32 = process.platform === "win32", {
199
199
  REGEX_BACKSLASH,
200
200
  REGEX_REMOVE_BACKSLASH,
201
201
  REGEX_SPECIAL_CHARS,
@@ -211,7 +211,7 @@ var require_utils = __commonJS({
211
211
  let segs = process.version.slice(1).split(".").map(Number);
212
212
  return segs.length === 3 && segs[0] >= 9 || segs[0] === 8 && segs[1] >= 10;
213
213
  };
214
- exports.isWindows = (options) => options && typeof options.windows == "boolean" ? options.windows : win32 === !0 || path.sep === "\\";
214
+ exports.isWindows = (options) => options && typeof options.windows == "boolean" ? options.windows : win32 === !0 || path2.sep === "\\";
215
215
  exports.escapeLast = (input, char, lastIdx) => {
216
216
  let idx = input.lastIndexOf(char, lastIdx);
217
217
  return idx === -1 ? input : input[idx - 1] === "\\" ? exports.escapeLast(input, char, idx - 1) : `${input.slice(0, idx)}\\${input.slice(idx)}`;
@@ -862,7 +862,7 @@ var require_parse = __commonJS({
862
862
  var require_picomatch = __commonJS({
863
863
  "../../node_modules/picomatch/lib/picomatch.js"(exports, module) {
864
864
  "use strict";
865
- var path = __require("path"), scan = require_scan(), parse = require_parse(), utils = require_utils(), constants = require_constants(), isObject = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch = (glob, options, returnState = !1) => {
865
+ var path2 = __require("path"), scan = require_scan(), parse = require_parse(), utils = require_utils(), constants = require_constants(), isObject = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch = (glob, options, returnState = !1) => {
866
866
  if (Array.isArray(glob)) {
867
867
  let fns = glob.map((input) => picomatch(input, options, returnState));
868
868
  return (str) => {
@@ -897,7 +897,7 @@ var require_picomatch = __commonJS({
897
897
  let opts = options || {}, format = opts.format || (posix ? utils.toPosixSlashes : null), match = input === glob, output = match && format ? format(input) : input;
898
898
  return match === !1 && (output = format ? format(input) : input, match = output === glob), (match === !1 || opts.capture === !0) && (opts.matchBase === !0 || opts.basename === !0 ? match = picomatch.matchBase(input, regex, options, posix) : match = regex.exec(output)), { isMatch: !!match, match, output };
899
899
  };
900
- picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(path.basename(input));
900
+ picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(path2.basename(input));
901
901
  picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
902
902
  picomatch.parse = (pattern, options) => Array.isArray(pattern) ? pattern.map((p) => picomatch.parse(p, options)) : parse(pattern, { ...options, fastpaths: !1 });
903
903
  picomatch.scan = (input, options) => scan(input, options);
@@ -937,7 +937,29 @@ var require_picomatch2 = __commonJS({
937
937
  }
938
938
  });
939
939
 
940
+ // ../../node_modules/unicorn-magic/node.js
941
+ import { promisify } from "node:util";
942
+ import { execFile as execFileCallback, execFileSync as execFileSyncOriginal } from "node:child_process";
943
+ import path from "node:path";
944
+ import { fileURLToPath } from "node:url";
945
+ var execFileOriginal = promisify(execFileCallback);
946
+ function toPath(urlOrPath) {
947
+ return urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
948
+ }
949
+ function traversePathUp(startPath) {
950
+ return {
951
+ *[Symbol.iterator]() {
952
+ let currentPath = path.resolve(toPath(startPath)), previousPath;
953
+ for (; previousPath !== currentPath; )
954
+ yield currentPath, previousPath = currentPath, currentPath = path.resolve(currentPath, "..");
955
+ }
956
+ };
957
+ }
958
+ var TEN_MEGABYTES_IN_BYTES = 10 * 1024 * 1024;
959
+
940
960
  export {
941
961
  require_utils,
942
- require_picomatch2 as require_picomatch
962
+ require_picomatch2 as require_picomatch,
963
+ toPath,
964
+ traversePathUp
943
965
  };
@@ -1,17 +1,17 @@
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";
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.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-PZCWRKQE.js";
14
+ } from "./chunk-AXDM43NU.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, {
@@ -0,0 +1,61 @@
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.createRequire(import.meta.url);
8
+
9
+ // ------------------------------------------------------------
10
+ // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
+ // ------------------------------------------------------------
12
+
13
+ // src/common/versions.ts
14
+ var versions_default = {
15
+ "@storybook/addon-a11y": "10.2.0-beta.0",
16
+ "@storybook/addon-docs": "10.2.0-beta.0",
17
+ "@storybook/addon-links": "10.2.0-beta.0",
18
+ "@storybook/addon-onboarding": "10.2.0-beta.0",
19
+ "storybook-addon-pseudo-states": "10.2.0-beta.0",
20
+ "@storybook/addon-themes": "10.2.0-beta.0",
21
+ "@storybook/addon-vitest": "10.2.0-beta.0",
22
+ "@storybook/builder-vite": "10.2.0-beta.0",
23
+ "@storybook/builder-webpack5": "10.2.0-beta.0",
24
+ storybook: "10.2.0-beta.0",
25
+ "@storybook/angular": "10.2.0-beta.0",
26
+ "@storybook/ember": "10.2.0-beta.0",
27
+ "@storybook/html-vite": "10.2.0-beta.0",
28
+ "@storybook/nextjs": "10.2.0-beta.0",
29
+ "@storybook/nextjs-vite": "10.2.0-beta.0",
30
+ "@storybook/preact-vite": "10.2.0-beta.0",
31
+ "@storybook/react-native-web-vite": "10.2.0-beta.0",
32
+ "@storybook/react-vite": "10.2.0-beta.0",
33
+ "@storybook/react-webpack5": "10.2.0-beta.0",
34
+ "@storybook/server-webpack5": "10.2.0-beta.0",
35
+ "@storybook/svelte-vite": "10.2.0-beta.0",
36
+ "@storybook/sveltekit": "10.2.0-beta.0",
37
+ "@storybook/vue3-vite": "10.2.0-beta.0",
38
+ "@storybook/web-components-vite": "10.2.0-beta.0",
39
+ sb: "10.2.0-beta.0",
40
+ "@storybook/cli": "10.2.0-beta.0",
41
+ "@storybook/codemod": "10.2.0-beta.0",
42
+ "@storybook/core-webpack": "10.2.0-beta.0",
43
+ "create-storybook": "10.2.0-beta.0",
44
+ "@storybook/csf-plugin": "10.2.0-beta.0",
45
+ "eslint-plugin-storybook": "10.2.0-beta.0",
46
+ "@storybook/react-dom-shim": "10.2.0-beta.0",
47
+ "@storybook/preset-create-react-app": "10.2.0-beta.0",
48
+ "@storybook/preset-react-webpack": "10.2.0-beta.0",
49
+ "@storybook/preset-server-webpack": "10.2.0-beta.0",
50
+ "@storybook/html": "10.2.0-beta.0",
51
+ "@storybook/preact": "10.2.0-beta.0",
52
+ "@storybook/react": "10.2.0-beta.0",
53
+ "@storybook/server": "10.2.0-beta.0",
54
+ "@storybook/svelte": "10.2.0-beta.0",
55
+ "@storybook/vue3": "10.2.0-beta.0",
56
+ "@storybook/web-components": "10.2.0-beta.0"
57
+ };
58
+
59
+ export {
60
+ versions_default
61
+ };
@@ -1,10 +1,10 @@
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";
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,26 +1,27 @@
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";
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.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
- } from "./chunk-CO7N5AG7.js";
14
+ require_utils,
15
+ toPath
16
+ } from "./chunk-XAL452XB.js";
16
17
  import {
17
18
  slash
18
- } from "./chunk-73GYSTNZ.js";
19
+ } from "./chunk-B422K4XV.js";
19
20
  import {
20
21
  __commonJS,
21
22
  __require,
22
23
  __toESM
23
- } from "./chunk-PZCWRKQE.js";
24
+ } from "./chunk-AXDM43NU.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 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";
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.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-PZCWRKQE.js";
16
+ } from "./chunk-AXDM43NU.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 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";
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.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-YN6FEZAF.js";
25
- import "./chunk-PZCWRKQE.js";
24
+ } from "./chunk-YVXXMWQO.js";
25
+ import "./chunk-AXDM43NU.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 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";
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.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-PZCWRKQE.js";
12
+ import "./chunk-AXDM43NU.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
- // ../node_modules/p-limit/index.js
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()(), activeCount++);
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_, option) {
106
- let { concurrency } = option, limit = pLimit(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) {
@@ -1,10 +1,10 @@
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";
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.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-33XC4R6P.js";
26
- import "../_node-chunks/chunk-D4TCQXIF.js";
27
- import "../_node-chunks/chunk-6ABJZZWS.js";
28
- import "../_node-chunks/chunk-PZCWRKQE.js";
25
+ } from "../_node-chunks/chunk-KL5CKFPT.js";
26
+ import "../_node-chunks/chunk-MLXCYULR.js";
27
+ import "../_node-chunks/chunk-CG47ALAV.js";
28
+ import "../_node-chunks/chunk-AXDM43NU.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 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";
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.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-VKMYOVNS.js";
14
+ } from "../_node-chunks/chunk-4UYAC7Y2.js";
15
15
  import {
16
16
  globalSettings
17
- } from "../_node-chunks/chunk-3Y5VHKPI.js";
18
- import "../_node-chunks/chunk-3DPKKQ6P.js";
17
+ } from "../_node-chunks/chunk-3SKE4CCB.js";
18
+ import "../_node-chunks/chunk-Z7FLE2TR.js";
19
19
  import {
20
20
  require_dist
21
- } from "../_node-chunks/chunk-LRBEW57O.js";
21
+ } from "../_node-chunks/chunk-BLGRU6F5.js";
22
22
  import {
23
23
  require_picocolors
24
- } from "../_node-chunks/chunk-6ABJZZWS.js";
24
+ } from "../_node-chunks/chunk-CG47ALAV.js";
25
25
  import {
26
26
  __commonJS,
27
27
  __require,
28
28
  __toESM
29
- } from "../_node-chunks/chunk-PZCWRKQE.js";
29
+ } from "../_node-chunks/chunk-AXDM43NU.js";
30
30
 
31
31
  // ../../node_modules/commander/lib/error.js
32
32
  var require_error = __commonJS({
@@ -1,30 +1,30 @@
1
1
  #!/usr/bin/env node
2
- import CJS_COMPAT_NODE_URL_3h3bsnbtanf from 'node:url';
3
- import CJS_COMPAT_NODE_PATH_3h3bsnbtanf from 'node:path';
4
- import CJS_COMPAT_NODE_MODULE_3h3bsnbtanf from "node:module";
2
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
3
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
4
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
5
5
 
6
- var __filename = CJS_COMPAT_NODE_URL_3h3bsnbtanf.fileURLToPath(import.meta.url);
7
- var __dirname = CJS_COMPAT_NODE_PATH_3h3bsnbtanf.dirname(__filename);
8
- var require = CJS_COMPAT_NODE_MODULE_3h3bsnbtanf.createRequire(import.meta.url);
6
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
7
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
8
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.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-GXQRT5M6.js";
15
+ } from "../_node-chunks/chunk-YYDL7JOC.js";
16
16
  import {
17
17
  resolvePackageDir
18
- } from "../_node-chunks/chunk-OUDQWDHY.js";
18
+ } from "../_node-chunks/chunk-APUXGW3Y.js";
19
19
  import {
20
20
  join
21
- } from "../_node-chunks/chunk-LB74XOLW.js";
21
+ } from "../_node-chunks/chunk-MV2QM7P3.js";
22
22
  import {
23
23
  require_dist
24
- } from "../_node-chunks/chunk-LRBEW57O.js";
24
+ } from "../_node-chunks/chunk-BLGRU6F5.js";
25
25
  import {
26
26
  __toESM
27
- } from "../_node-chunks/chunk-PZCWRKQE.js";
27
+ } from "../_node-chunks/chunk-AXDM43NU.js";
28
28
 
29
29
  // src/bin/dispatcher.ts
30
30
  import { pathToFileURL } from "node:url";
@@ -1,23 +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";
1
+ import CJS_COMPAT_NODE_URL_phceqgr585q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_phceqgr585q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_phceqgr585q from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_phceqgr585q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_phceqgr585q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_phceqgr585q.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-SBPB3VWI.js";
14
+ } from "../_node-chunks/chunk-IZFEBWVB.js";
15
15
  import {
16
16
  require_dist
17
- } from "../_node-chunks/chunk-LRBEW57O.js";
17
+ } from "../_node-chunks/chunk-BLGRU6F5.js";
18
18
  import {
19
19
  __toESM
20
- } from "../_node-chunks/chunk-PZCWRKQE.js";
20
+ } from "../_node-chunks/chunk-AXDM43NU.js";
21
21
 
22
22
  // src/bin/loader.ts
23
23
  var import_ts_dedent = __toESM(require_dist(), 1);