storybook 10.2.0-alpha.13 → 10.2.0-alpha.15

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 (74) hide show
  1. package/dist/_browser-chunks/{chunk-3PJE6VLG.js → chunk-ASKQZAOS.js} +1 -12
  2. package/dist/_browser-chunks/{chunk-BGSDJMFM.js → chunk-NVLTWT3B.js} +18 -6
  3. package/dist/_node-chunks/{builder-manager-YTW4R3NB.js → builder-manager-SOKYB5NF.js} +12 -12
  4. package/dist/_node-chunks/{camelcase-ALOK3DTL.js → camelcase-SXQWF7PW.js} +7 -7
  5. package/dist/_node-chunks/{chunk-QV7LTTOW.js → chunk-274OMYGE.js} +20 -20
  6. package/dist/_node-chunks/{chunk-B3NH4IRY.js → chunk-2BHD5YKF.js} +6 -6
  7. package/dist/_node-chunks/{chunk-FCBELYHM.js → chunk-2FQAOAQ6.js} +12 -12
  8. package/dist/_node-chunks/{chunk-NGFKU3PK.js → chunk-45UIB4YF.js} +7 -7
  9. package/dist/_node-chunks/{chunk-TWCN75ID.js → chunk-4GKVZO2T.js} +9 -9
  10. package/dist/_node-chunks/{chunk-KXFFKIVX.js → chunk-5KEIALUH.js} +6 -6
  11. package/dist/_node-chunks/{chunk-AOMUVL33.js → chunk-6SIUW3HU.js} +12 -12
  12. package/dist/_node-chunks/{chunk-L4JVY7CQ.js → chunk-AIIQJ6UR.js} +7 -7
  13. package/dist/_node-chunks/{chunk-5CARBEGS.js → chunk-BOY3TNPC.js} +9 -9
  14. package/dist/_node-chunks/{chunk-TOLCEUYZ.js → chunk-BRW7NFUP.js} +7 -7
  15. package/dist/_node-chunks/{chunk-ZSUT22UW.js → chunk-E3Y5MHXD.js} +7 -7
  16. package/dist/_node-chunks/{chunk-QMDFRT4S.js → chunk-ENNDE4GC.js} +10 -10
  17. package/dist/_node-chunks/{chunk-NL75DTGM.js → chunk-FKBWQGIF.js} +6 -6
  18. package/dist/_node-chunks/{chunk-NRCGIPSW.js → chunk-HFKM7JHQ.js} +6 -6
  19. package/dist/_node-chunks/{chunk-OOTLIMKW.js → chunk-K4YVLJRS.js} +6 -6
  20. package/dist/_node-chunks/{chunk-WKDY7YZY.js → chunk-KNGN3UEO.js} +7 -7
  21. package/dist/_node-chunks/{chunk-AE6TGTGX.js → chunk-MD52RVZX.js} +7 -7
  22. package/dist/_node-chunks/chunk-MM7Z4SG7.js +23 -0
  23. package/dist/_node-chunks/{chunk-XX6B7MPS.js → chunk-MQZLLJRG.js} +8 -8
  24. package/dist/_node-chunks/{chunk-OWZXELHP.js → chunk-PI7P5HFH.js} +13 -13
  25. package/dist/_node-chunks/{chunk-VOVBTC53.js → chunk-Q6WUEJ4S.js} +6 -6
  26. package/dist/_node-chunks/{chunk-2VHYFREG.js → chunk-QPKBPYOY.js} +7 -7
  27. package/dist/_node-chunks/chunk-RGWB6DD7.js +20 -0
  28. package/dist/_node-chunks/{chunk-BIJENBOW.js → chunk-SZWIX5YC.js} +9 -9
  29. package/dist/_node-chunks/{chunk-X2PNK4N4.js → chunk-T57UCO67.js} +7 -7
  30. package/dist/_node-chunks/{chunk-5E6TIJW7.js → chunk-TN3Q52LO.js} +6 -6
  31. package/dist/_node-chunks/chunk-TYSSQECX.js +61 -0
  32. package/dist/_node-chunks/chunk-YP34ARUD.js +18 -0
  33. package/dist/_node-chunks/{globby-RG2TFVNI.js → globby-LGQ5P2JB.js} +9 -9
  34. package/dist/_node-chunks/{lib-E2AGGQV3.js → lib-5LBLULG3.js} +7 -7
  35. package/dist/_node-chunks/{mdx-N42X6CFJ-SGUMZ4YL.js → mdx-N42X6CFJ-TAPL5IEO.js} +8 -8
  36. package/dist/_node-chunks/{p-limit-J4UZO65T.js → p-limit-GTMOHYQF.js} +7 -7
  37. package/dist/babel/index.js +10 -10
  38. package/dist/bin/core.js +12 -12
  39. package/dist/bin/dispatcher.js +11 -11
  40. package/dist/bin/loader.js +9 -9
  41. package/dist/cli/index.d.ts +176 -176
  42. package/dist/cli/index.js +18 -18
  43. package/dist/common/index.js +19 -19
  44. package/dist/components/index.d.ts +1 -0
  45. package/dist/components/index.js +167 -166
  46. package/dist/core-events/index.d.ts +4 -4
  47. package/dist/core-server/index.d.ts +11 -1
  48. package/dist/core-server/index.js +217 -76
  49. package/dist/core-server/presets/common-manager.js +176 -134
  50. package/dist/core-server/presets/common-override-preset.js +9 -9
  51. package/dist/core-server/presets/common-preset.js +27 -26
  52. package/dist/csf/index.d.ts +8 -6
  53. package/dist/csf/index.js +1 -1
  54. package/dist/csf-tools/index.js +10 -10
  55. package/dist/docs-tools/index.d.ts +2 -2
  56. package/dist/manager/globals-runtime.js +97 -94
  57. package/dist/manager/runtime.js +1755 -985
  58. package/dist/manager-api/index.d.ts +1 -1
  59. package/dist/manager-api/index.js +10 -8
  60. package/dist/mocking-utils/index.js +8 -8
  61. package/dist/node-logger/index.js +9 -9
  62. package/dist/preview/runtime.js +18 -6
  63. package/dist/preview-api/index.js +1 -1
  64. package/dist/server-errors.js +11 -11
  65. package/dist/telemetry/index.js +22 -22
  66. package/dist/types/index.d.ts +12 -6
  67. package/dist/viewport/index.d.ts +5 -3
  68. package/dist/viewport/index.js +12 -3
  69. package/package.json +2 -2
  70. package/dist/_node-chunks/chunk-5U7IR6W2.js +0 -61
  71. package/dist/_node-chunks/chunk-JUCUYWH2.js +0 -23
  72. package/dist/_node-chunks/chunk-KTAHXSER.js +0 -18
  73. package/dist/_node-chunks/chunk-XQU357NR.js +0 -20
  74. package/dist/_node-chunks/dist-I4XBT6AL.js +0 -121
@@ -259,19 +259,8 @@ var INITIAL_VIEWPORTS = {
259
259
  }
260
260
  };
261
261
 
262
- // src/viewport/responsiveViewport.tsx
263
- var responsiveViewport = {
264
- name: "Reset viewport",
265
- styles: {
266
- height: "100%",
267
- width: "100%"
268
- },
269
- type: "desktop"
270
- };
271
-
272
262
  export {
273
263
  INITIAL_VIEWPORTS,
274
264
  DEFAULT_VIEWPORT,
275
- MINIMAL_VIEWPORTS,
276
- responsiveViewport
265
+ MINIMAL_VIEWPORTS
277
266
  };
@@ -662,14 +662,26 @@ function mountDestructured(playFunction) {
662
662
  return playFunction != null && getUsedProps(playFunction).includes("mount");
663
663
  }
664
664
  function getUsedProps(fn) {
665
- let match = fn.toString().match(/[^(]*\(([^)]*)/);
666
- if (!match)
665
+ let [, args, body] = fn.toString().match(/[^(]*\(([^)]+)\)(?:.*{([^]+)})?/) || [];
666
+ if (!args)
667
+ return [];
668
+ let [firstArg] = splitByComma(args);
669
+ if (!firstArg)
667
670
  return [];
668
- let args = splitByComma(match[1]);
669
- if (!args.length)
671
+ let [, destructuredProps] = firstArg.match(/^{([^]+)}$/) || [];
672
+ if (destructuredProps)
673
+ return splitByComma(stripComments(destructuredProps)).map(
674
+ (prop) => prop.replace(/:.*|=.*/g, "").trim()
675
+ );
676
+ if (!firstArg.match(/^[a-z_$][0-9a-z_$]*$/i))
670
677
  return [];
671
- let first = args[0];
672
- return first.startsWith("{") && first.endsWith("}") ? splitByComma(first.slice(1, -1).replace(/\s/g, "")).map((prop) => prop.replace(/:.*|=.*/g, "")) : [];
678
+ let escapedArg = firstArg.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), [, destructuredArg] = body?.trim()?.match(new RegExp(`^(?:const|let|var)\\s*{([^}]+)}\\s*=\\s*${escapedArg};`)) || [];
679
+ return destructuredArg ? splitByComma(stripComments(destructuredArg)).map(
680
+ (prop) => prop.replace(/:.*|=.*/g, "").trim()
681
+ ) : [];
682
+ }
683
+ function stripComments(s) {
684
+ return s = s.replace(/\/\/.*$/gm, ""), s = s.replace(/\/\*[\s\S]*?\*\//g, ""), s;
673
685
  }
674
686
  function splitByComma(s) {
675
687
  let result = [], stack = [], start = 0;
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,26 +13,26 @@ import {
13
13
  BROWSER_TARGETS,
14
14
  NODE_TARGET,
15
15
  SUPPORTED_FEATURES
16
- } from "./chunk-OOTLIMKW.js";
16
+ } from "./chunk-K4YVLJRS.js";
17
17
  import {
18
18
  require_build
19
- } from "./chunk-TOLCEUYZ.js";
19
+ } from "./chunk-BRW7NFUP.js";
20
20
  import {
21
21
  resolveModulePath,
22
22
  resolvePackageDir
23
- } from "./chunk-ZSUT22UW.js";
23
+ } from "./chunk-E3Y5MHXD.js";
24
24
  import {
25
25
  join,
26
26
  parse
27
- } from "./chunk-NL75DTGM.js";
27
+ } from "./chunk-FKBWQGIF.js";
28
28
  import {
29
29
  slash
30
- } from "./chunk-XQU357NR.js";
30
+ } from "./chunk-RGWB6DD7.js";
31
31
  import {
32
32
  __commonJS,
33
33
  __require,
34
34
  __toESM
35
- } from "./chunk-KXFFKIVX.js";
35
+ } from "./chunk-5KEIALUH.js";
36
36
 
37
37
  // ../../node_modules/ejs/lib/utils.js
38
38
  var require_utils = __commonJS({
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.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-KXFFKIVX.js";
12
+ import "./chunk-5KEIALUH.js";
13
13
 
14
14
  // ../../node_modules/camelcase/index.js
15
15
  var UPPERCASE = /[\p{Lu}]/u, LOWERCASE = /[\p{Ll}]/u, LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/u, SEPARATORS = /[_.\- ]+/, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp(String.raw`\d+` + IDENTIFIER.source, "gu"), preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
@@ -1,25 +1,25 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  versions_default
14
- } from "./chunk-5U7IR6W2.js";
14
+ } from "./chunk-TYSSQECX.js";
15
15
  import {
16
16
  require_picomatch,
17
17
  toPath,
18
18
  traversePathUp
19
- } from "./chunk-L4JVY7CQ.js";
19
+ } from "./chunk-AIIQJ6UR.js";
20
20
  import {
21
21
  logger
22
- } from "./chunk-XX6B7MPS.js";
22
+ } from "./chunk-MQZLLJRG.js";
23
23
  import {
24
24
  any,
25
25
  detectIndent,
@@ -27,31 +27,31 @@ import {
27
27
  invariant,
28
28
  up,
29
29
  up2
30
- } from "./chunk-VOVBTC53.js";
30
+ } from "./chunk-Q6WUEJ4S.js";
31
31
  import {
32
32
  importModule,
33
33
  resolveModulePath,
34
34
  resolvePackageDir,
35
35
  safeResolveModule
36
- } from "./chunk-ZSUT22UW.js";
36
+ } from "./chunk-E3Y5MHXD.js";
37
37
  import {
38
38
  join,
39
39
  parse,
40
40
  resolve
41
- } from "./chunk-NL75DTGM.js";
41
+ } from "./chunk-FKBWQGIF.js";
42
42
  import {
43
43
  glob,
44
44
  globSync
45
- } from "./chunk-AE6TGTGX.js";
45
+ } from "./chunk-MD52RVZX.js";
46
46
  import {
47
47
  slash
48
- } from "./chunk-XQU357NR.js";
48
+ } from "./chunk-RGWB6DD7.js";
49
49
  import {
50
50
  require_dist
51
- } from "./chunk-2VHYFREG.js";
51
+ } from "./chunk-QPKBPYOY.js";
52
52
  import {
53
53
  require_picocolors
54
- } from "./chunk-X2PNK4N4.js";
54
+ } from "./chunk-T57UCO67.js";
55
55
  import {
56
56
  __commonJS,
57
57
  __esm,
@@ -59,7 +59,7 @@ import {
59
59
  __require,
60
60
  __toCommonJS,
61
61
  __toESM
62
- } from "./chunk-KXFFKIVX.js";
62
+ } from "./chunk-5KEIALUH.js";
63
63
 
64
64
  // ../../node_modules/resolve/lib/homedir.js
65
65
  var require_homedir = __commonJS({
@@ -11083,7 +11083,7 @@ function normalizeStoryPath(filename) {
11083
11083
 
11084
11084
  // src/common/utils/envs.ts
11085
11085
  async function loadEnvs(options = {}) {
11086
- let { getEnvironment } = await import("./lib-E2AGGQV3.js"), defaultNodeEnv = options.production ? "production" : "development", baseEnv = {
11086
+ let { getEnvironment } = await import("./lib-5LBLULG3.js"), defaultNodeEnv = options.production ? "production" : "development", baseEnv = {
11087
11087
  // eslint-disable-next-line @typescript-eslint/dot-notation
11088
11088
  NODE_ENV: process.env.NODE_ENV || defaultNodeEnv,
11089
11089
  NODE_PATH: process.env.NODE_PATH || "",
@@ -18552,7 +18552,7 @@ async function scanAndTransformFiles({
18552
18552
  initialValue: defaultGlob
18553
18553
  });
18554
18554
  logger15.log("Scanning for affected files...");
18555
- let globby = (await import("./globby-RG2TFVNI.js")).globby, sourceFiles = await globby([glob2], {
18555
+ let globby = (await import("./globby-LGQ5P2JB.js")).globby, sourceFiles = await globby([glob2], {
18556
18556
  ...commonGlobOptions(""),
18557
18557
  ignore: ["**/node_modules/**"],
18558
18558
  dot: !0,
@@ -18573,7 +18573,7 @@ function transformImports(source, renamedImports) {
18573
18573
  return hasChanges ? transformed : null;
18574
18574
  }
18575
18575
  var transformImportFiles = async (files, renamedImports, dryRun) => {
18576
- let errors = [], { default: pLimit } = await import("./p-limit-J4UZO65T.js"), limit = pLimit(10);
18576
+ let errors = [], { default: pLimit } = await import("./p-limit-GTMOHYQF.js"), limit = pLimit(10);
18577
18577
  return await Promise.all(
18578
18578
  files.map(
18579
18579
  (file) => limit(async () => {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.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 CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -14,27 +14,27 @@ import {
14
14
  detectIndent,
15
15
  invariant,
16
16
  up2 as up
17
- } from "./chunk-VOVBTC53.js";
17
+ } from "./chunk-Q6WUEJ4S.js";
18
18
  import {
19
19
  resolvePackageDir
20
- } from "./chunk-ZSUT22UW.js";
20
+ } from "./chunk-E3Y5MHXD.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-2VHYFREG.js";
23
+ } from "./chunk-QPKBPYOY.js";
24
24
  import {
25
25
  babelParse,
26
26
  recast,
27
27
  traverse,
28
28
  types
29
- } from "./chunk-5CARBEGS.js";
29
+ } from "./chunk-BOY3TNPC.js";
30
30
  import {
31
31
  require_picocolors
32
- } from "./chunk-X2PNK4N4.js";
32
+ } from "./chunk-T57UCO67.js";
33
33
  import {
34
34
  __commonJS,
35
35
  __require,
36
36
  __toESM
37
- } from "./chunk-KXFFKIVX.js";
37
+ } from "./chunk-5KEIALUH.js";
38
38
 
39
39
  // ../../node_modules/esprima/dist/esprima.js
40
40
  var require_esprima = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.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_xc3mu1pf9x.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __require
15
- } from "./chunk-KXFFKIVX.js";
15
+ } from "./chunk-5KEIALUH.js";
16
16
 
17
17
  // ../../node_modules/ms/index.js
18
18
  var require_ms = __commonJS({
@@ -1,24 +1,24 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.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
  invariant
14
- } from "./chunk-NRCGIPSW.js";
14
+ } from "./chunk-HFKM7JHQ.js";
15
15
  import {
16
16
  require_dist
17
- } from "./chunk-2VHYFREG.js";
17
+ } from "./chunk-QPKBPYOY.js";
18
18
  import {
19
19
  __export,
20
20
  __toESM
21
- } from "./chunk-KXFFKIVX.js";
21
+ } from "./chunk-5KEIALUH.js";
22
22
 
23
23
  // src/cli/globalSettings.ts
24
24
  var import_ts_dedent = __toESM(require_dist(), 1);
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.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-KTAHXSER.js";
14
+ } from "./chunk-YP34ARUD.js";
15
15
  import {
16
16
  createFileSystemCache,
17
17
  execa,
@@ -19,20 +19,20 @@ import {
19
19
  getProjectRoot,
20
20
  resolvePathInStorybookCache,
21
21
  up
22
- } from "./chunk-QV7LTTOW.js";
22
+ } from "./chunk-274OMYGE.js";
23
23
  import {
24
24
  globalSettings
25
- } from "./chunk-TWCN75ID.js";
25
+ } from "./chunk-4GKVZO2T.js";
26
26
  import {
27
27
  resolvePackageDir
28
- } from "./chunk-ZSUT22UW.js";
28
+ } from "./chunk-E3Y5MHXD.js";
29
29
  import {
30
30
  slash
31
- } from "./chunk-XQU357NR.js";
31
+ } from "./chunk-RGWB6DD7.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __toESM
35
- } from "./chunk-KXFFKIVX.js";
35
+ } from "./chunk-5KEIALUH.js";
36
36
 
37
37
  // ../../node_modules/fetch-retry/index.js
38
38
  var require_fetch_retry = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.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_xc3mu1pf9x.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __require
15
- } from "./chunk-KXFFKIVX.js";
15
+ } from "./chunk-5KEIALUH.js";
16
16
 
17
17
  // ../../node_modules/picomatch/lib/constants.js
18
18
  var require_constants = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,15 +12,15 @@ var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
12
12
  import {
13
13
  require_lib,
14
14
  require_src
15
- } from "./chunk-NGFKU3PK.js";
15
+ } from "./chunk-45UIB4YF.js";
16
16
  import {
17
17
  require_picocolors
18
- } from "./chunk-X2PNK4N4.js";
18
+ } from "./chunk-T57UCO67.js";
19
19
  import {
20
20
  __commonJS,
21
21
  __require,
22
22
  __toESM
23
- } from "./chunk-KXFFKIVX.js";
23
+ } from "./chunk-5KEIALUH.js";
24
24
 
25
25
  // ../../node_modules/@babel/types/lib/utils/shallowEqual.js
26
26
  var require_shallowEqual = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.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_xc3mu1pf9x.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __require
15
- } from "./chunk-KXFFKIVX.js";
15
+ } from "./chunk-5KEIALUH.js";
16
16
 
17
17
  // ../../node_modules/totalist/sync/index.js
18
18
  var require_sync = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.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_xc3mu1pf9x.createRequire(import.meta.url);
12
12
  import {
13
13
  dirname,
14
14
  join
15
- } from "./chunk-NL75DTGM.js";
15
+ } from "./chunk-FKBWQGIF.js";
16
16
 
17
17
  // ../../node_modules/exsolve/dist/index.mjs
18
18
  import fs, { lstatSync, realpathSync, statSync } from "node:fs";
@@ -1,26 +1,26 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  StorybookError
14
- } from "./chunk-5E6TIJW7.js";
14
+ } from "./chunk-TN3Q52LO.js";
15
15
  import {
16
16
  require_dist
17
- } from "./chunk-2VHYFREG.js";
17
+ } from "./chunk-QPKBPYOY.js";
18
18
  import {
19
19
  require_picocolors
20
- } from "./chunk-X2PNK4N4.js";
20
+ } from "./chunk-T57UCO67.js";
21
21
  import {
22
22
  __toESM
23
- } from "./chunk-KXFFKIVX.js";
23
+ } from "./chunk-5KEIALUH.js";
24
24
 
25
25
  // src/server-errors.ts
26
26
  var import_picocolors = __toESM(require_picocolors(), 1), import_ts_dedent = __toESM(require_dist(), 1);
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.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 CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
1
+ import CJS_COMPAT_NODE_URL_ekkdwuux1sk from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_ekkdwuux1sk from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_ekkdwuux1sk from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_ekkdwuux1sk.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_ekkdwuux1sk.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_ekkdwuux1sk.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration