storybook 10.0.0-rc.2 → 10.0.0-rc.4

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 (73) hide show
  1. package/dist/_node-chunks/{builder-manager-ZNPRP22E.js → builder-manager-CMPC7SCH.js} +12 -12
  2. package/dist/_node-chunks/camelcase-PH4ACE3G.js +18 -0
  3. package/dist/_node-chunks/{chunk-62KDMWXX.js → chunk-2JIAOYKO.js} +7 -7
  4. package/dist/_node-chunks/{chunk-DOCRBDQH.js → chunk-4TLOQYBC.js} +7 -7
  5. package/dist/_node-chunks/{chunk-D5WSRTEX.js → chunk-A3UOLOFM.js} +7 -7
  6. package/dist/_node-chunks/{chunk-X35XJZ7G.js → chunk-AA6WD3A7.js} +7 -7
  7. package/dist/_node-chunks/chunk-AHFZBAQF.js +61 -0
  8. package/dist/_node-chunks/{chunk-VDCU2LFF.js → chunk-AS5N7GY5.js} +7 -7
  9. package/dist/_node-chunks/{chunk-LUDM5RD2.js → chunk-BEHPCFQ2.js} +8 -8
  10. package/dist/_node-chunks/{chunk-VHPYGR5X.js → chunk-BSVBH2ZA.js} +7 -7
  11. package/dist/_node-chunks/{chunk-WD2QJDGV.js → chunk-BZXQJZUK.js} +7 -7
  12. package/dist/_node-chunks/{chunk-6VEWXDI5.js → chunk-DLIUMR5R.js} +6 -6
  13. package/dist/_node-chunks/{chunk-K5GJVTVF.js → chunk-E7XUDQ3W.js} +7 -7
  14. package/dist/_node-chunks/{chunk-H6J6LJQQ.js → chunk-EJGHDAYE.js} +6 -6
  15. package/dist/_node-chunks/{chunk-VSPERFYF.js → chunk-JGDH6YYG.js} +20 -20
  16. package/dist/_node-chunks/{chunk-XJRUDTSD.js → chunk-JPPACTL4.js} +7 -7
  17. package/dist/_node-chunks/{chunk-SSK6CTPD.js → chunk-MC6BOBJJ.js} +12 -12
  18. package/dist/_node-chunks/{chunk-54MOKOMZ.js → chunk-MQY4ZI62.js} +8 -8
  19. package/dist/_node-chunks/{chunk-SF4YWMS2.js → chunk-NCKTVDON.js} +37 -35
  20. package/dist/_node-chunks/{chunk-QD4TA2GK.js → chunk-OJSXOILA.js} +7 -7
  21. package/dist/_node-chunks/{chunk-BPYW7SFB.js → chunk-OOXEC2LP.js} +7 -7
  22. package/dist/_node-chunks/{chunk-M2Y5JVSX.js → chunk-P7GFT5HG.js} +8 -8
  23. package/dist/_node-chunks/{chunk-OCPCEJ7D.js → chunk-PCQGHIXN.js} +7 -7
  24. package/dist/_node-chunks/{chunk-TR7IYGK4.js → chunk-PJCDP6ZD.js} +7 -7
  25. package/dist/_node-chunks/{chunk-MTIN3LKM.js → chunk-PW2V2I6I.js} +7 -7
  26. package/dist/_node-chunks/{chunk-2IEV7XG2.js → chunk-QK5IGJ3H.js} +9 -9
  27. package/dist/_node-chunks/{chunk-ZZMPRSOL.js → chunk-RZ77GUAF.js} +10 -10
  28. package/dist/_node-chunks/{chunk-LR47LSEQ.js → chunk-SN3TDU74.js} +8 -8
  29. package/dist/_node-chunks/{chunk-AFW3U6QG.js → chunk-SX2UZK74.js} +7 -7
  30. package/dist/_node-chunks/{chunk-FXGD2HHQ.js → chunk-USMWLOGR.js} +7 -7
  31. package/dist/_node-chunks/chunk-VBFCHLFV.js +1518 -0
  32. package/dist/_node-chunks/{chunk-6SGQF6CF.js → chunk-VWIHOMFU.js} +8 -8
  33. package/dist/_node-chunks/chunk-XQN3THEO.js +18 -0
  34. package/dist/_node-chunks/{chunk-J34Y4L4Q.js → chunk-YW2UKPPH.js} +9 -9
  35. package/dist/_node-chunks/{chunk-FWBLOTP7.js → chunk-ZW5XA6KG.js} +7 -7
  36. package/dist/_node-chunks/{dist-47EE2CMC.js → dist-U664B537.js} +9 -9
  37. package/dist/_node-chunks/{globby-ZEUQ6QPC.js → globby-HQ3ESL52.js} +9 -9
  38. package/dist/_node-chunks/{lib-LCU5VXJS.js → lib-2IOH44LB.js} +7 -7
  39. package/dist/_node-chunks/{mdx-N42X6CFJ-7LUZM4HR.js → mdx-N42X6CFJ-M54WITPV.js} +8 -8
  40. package/dist/_node-chunks/{p-limit-XJGTO6H5.js → p-limit-PBXTEA6N.js} +7 -7
  41. package/dist/_node-chunks/{plugin-ZN5KCYM2.js → plugin-34QU2FG7.js} +10 -10
  42. package/dist/_node-chunks/{plugin-YZRPWYO5.js → plugin-RSI6B3JI.js} +10 -10
  43. package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-CRH6N7YZ.js → webpack-inject-mocker-runtime-plugin-UMXHXRC2.js} +10 -10
  44. package/dist/_node-chunks/{webpack-mock-plugin-NQXGMVTF.js → webpack-mock-plugin-6GKO2XIO.js} +9 -9
  45. package/dist/babel/index.js +11 -11
  46. package/dist/bin/core.js +11 -11
  47. package/dist/bin/dispatcher.js +11 -11
  48. package/dist/bin/loader.js +9 -9
  49. package/dist/cli/index.js +136 -1561
  50. package/dist/common/index.js +20 -20
  51. package/dist/core-server/index.js +48 -35
  52. package/dist/core-server/presets/common-manager.js +1 -0
  53. package/dist/core-server/presets/common-override-preset.js +9 -9
  54. package/dist/core-server/presets/common-preset.js +38 -26
  55. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
  56. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
  57. package/dist/csf-tools/index.js +9 -9
  58. package/dist/instrumenter/index.js +1 -1
  59. package/dist/manager/globals-runtime.js +9 -6
  60. package/dist/manager-api/index.d.ts +1 -1
  61. package/dist/manager-api/index.js +1 -1
  62. package/dist/node-logger/index.js +14 -14
  63. package/dist/preview/runtime.js +8 -5
  64. package/dist/preview-api/index.d.ts +67 -68
  65. package/dist/server-errors.js +10 -10
  66. package/dist/telemetry/index.d.ts +21 -1
  67. package/dist/telemetry/index.js +24 -24
  68. package/dist/test/index.js +7 -4
  69. package/dist/types/index.d.ts +3 -1
  70. package/package.json +1 -1
  71. package/dist/_node-chunks/camelcase-EY6MYFU4.js +0 -18
  72. package/dist/_node-chunks/chunk-JT5JXOKC.js +0 -61
  73. package/dist/_node-chunks/chunk-N4S7XZKB.js +0 -18
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  require_picomatch
14
- } from "./chunk-XJRUDTSD.js";
14
+ } from "./chunk-JPPACTL4.js";
15
15
  import {
16
16
  versions_default
17
- } from "./chunk-JT5JXOKC.js";
17
+ } from "./chunk-AHFZBAQF.js";
18
18
  import {
19
19
  BUN_LOCKFILE,
20
20
  BUN_LOCKFILE_BINARY,
@@ -27,42 +27,42 @@ import {
27
27
  getProjectRoot,
28
28
  normalizeStoryPath,
29
29
  require_cross_spawn
30
- } from "./chunk-J34Y4L4Q.js";
30
+ } from "./chunk-YW2UKPPH.js";
31
31
  import {
32
32
  any,
33
33
  from,
34
34
  up2 as up
35
- } from "./chunk-FXGD2HHQ.js";
35
+ } from "./chunk-USMWLOGR.js";
36
36
  import {
37
37
  invariant
38
- } from "./chunk-X35XJZ7G.js";
38
+ } from "./chunk-AA6WD3A7.js";
39
39
  import {
40
40
  importModule,
41
41
  resolveModulePath,
42
42
  resolvePackageDir,
43
43
  safeResolveModule
44
- } from "./chunk-6SGQF6CF.js";
44
+ } from "./chunk-VWIHOMFU.js";
45
45
  import {
46
46
  join,
47
47
  parse,
48
48
  resolve
49
- } from "./chunk-QD4TA2GK.js";
49
+ } from "./chunk-OJSXOILA.js";
50
50
  import {
51
51
  require_prompts
52
- } from "./chunk-AFW3U6QG.js";
52
+ } from "./chunk-SX2UZK74.js";
53
53
  import {
54
54
  glob,
55
55
  globSync
56
- } from "./chunk-TR7IYGK4.js";
56
+ } from "./chunk-PJCDP6ZD.js";
57
57
  import {
58
58
  slash
59
- } from "./chunk-FWBLOTP7.js";
59
+ } from "./chunk-ZW5XA6KG.js";
60
60
  import {
61
61
  require_dist
62
- } from "./chunk-VHPYGR5X.js";
62
+ } from "./chunk-BSVBH2ZA.js";
63
63
  import {
64
64
  require_picocolors
65
- } from "./chunk-DOCRBDQH.js";
65
+ } from "./chunk-4TLOQYBC.js";
66
66
  import {
67
67
  __commonJS,
68
68
  __esm,
@@ -71,7 +71,7 @@ import {
71
71
  __require,
72
72
  __toCommonJS,
73
73
  __toESM
74
- } from "./chunk-H6J6LJQQ.js";
74
+ } from "./chunk-EJGHDAYE.js";
75
75
 
76
76
  // ../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js
77
77
  var tslib_es6_exports = {};
@@ -11633,6 +11633,7 @@ var JsPackageManager = class _JsPackageManager {
11633
11633
  }
11634
11634
  return execaProcess;
11635
11635
  }
11636
+ // TODO: Remove pnp compatibility code in SB11
11636
11637
  /** Returns the installed (within node_modules or pnp zip) version of a specified package */
11637
11638
  async getInstalledVersion(packageName) {
11638
11639
  const cacheKey = packageName;
@@ -12519,7 +12520,6 @@ function getPreviewHeadTemplate(configDirPath, interpolations) {
12519
12520
  __name(getPreviewHeadTemplate, "getPreviewHeadTemplate");
12520
12521
 
12521
12522
  // src/common/utils/validate-config.ts
12522
- import { join as join10 } from "node:path";
12523
12523
  import {
12524
12524
  CouldNotEvaluateFrameworkError,
12525
12525
  InvalidFrameworkNameError,
@@ -12538,7 +12538,7 @@ function validateFrameworkName(frameworkName) {
12538
12538
  return;
12539
12539
  }
12540
12540
  try {
12541
- resolveModulePath(join10(frameworkName, "preset"), {
12541
+ resolveModulePath(`${frameworkName}/preset`, {
12542
12542
  extensions: [".mjs", ".js", ".cjs"],
12543
12543
  conditions: ["node", "import", "require"]
12544
12544
  });
@@ -12808,7 +12808,7 @@ import { basename as basename2, parse as parse3, relative as relative4 } from "n
12808
12808
  // src/common/js-package-manager/BUNProxy.ts
12809
12809
  import { readFileSync as readFileSync5 } from "node:fs";
12810
12810
  import { platform } from "node:os";
12811
- import { join as join11 } from "node:path";
12811
+ import { join as join10 } from "node:path";
12812
12812
  import { logger as logger10 } from "storybook/internal/node-logger";
12813
12813
  import { FindPackageVersionsError } from "storybook/internal/server-errors";
12814
12814
  import sort from "semver/functions/sort.js";
@@ -12867,7 +12867,7 @@ var BUNProxy = class extends JsPackageManager {
12867
12867
  return `bunx ${pkg}${specifier ? `@${specifier}` : ""} ${args.join(" ")}`;
12868
12868
  }
12869
12869
  async getModulePackageJSON(packageName) {
12870
- const wantedPath = join11("node_modules", packageName, "package.json");
12870
+ const wantedPath = join10("node_modules", packageName, "package.json");
12871
12871
  const packageJsonPath = up(wantedPath, { cwd: this.cwd, last: getProjectRoot() });
12872
12872
  if (!packageJsonPath) {
12873
12873
  return null;
@@ -13050,7 +13050,7 @@ var BUNProxy = class extends JsPackageManager {
13050
13050
  // src/common/js-package-manager/NPMProxy.ts
13051
13051
  import { readFileSync as readFileSync6 } from "node:fs";
13052
13052
  import { platform as platform2 } from "node:os";
13053
- import { join as join12 } from "node:path";
13053
+ import { join as join11 } from "node:path";
13054
13054
  import { logger as logger11, prompt as prompt2 } from "storybook/internal/node-logger";
13055
13055
  import { FindPackageVersionsError as FindPackageVersionsError2 } from "storybook/internal/server-errors";
13056
13056
  import sort2 from "semver/functions/sort.js";
@@ -13103,7 +13103,7 @@ var NPMProxy = class extends JsPackageManager {
13103
13103
  return `npx ${pkg}${specifier ? `@${specifier}` : ""} ${args.join(" ")}`;
13104
13104
  }
13105
13105
  async getModulePackageJSON(packageName) {
13106
- const wantedPath = join12("node_modules", packageName, "package.json");
13106
+ const wantedPath = join11("node_modules", packageName, "package.json");
13107
13107
  const packageJsonPath = up(wantedPath, { cwd: this.cwd, last: getProjectRoot() });
13108
13108
  if (!packageJsonPath) {
13109
13109
  return null;
@@ -13289,7 +13289,7 @@ var NPMProxy = class extends JsPackageManager {
13289
13289
 
13290
13290
  // src/common/js-package-manager/PNPMProxy.ts
13291
13291
  import { existsSync as existsSync6, readFileSync as readFileSync7 } from "node:fs";
13292
- import { join as join13 } from "node:path";
13292
+ import { join as join12 } from "node:path";
13293
13293
  import { pathToFileURL } from "node:url";
13294
13294
  import { prompt as prompt3 } from "storybook/internal/node-logger";
13295
13295
  import { FindPackageVersionsError as FindPackageVersionsError3 } from "storybook/internal/server-errors";
@@ -13378,6 +13378,7 @@ var PNPMProxy = class extends JsPackageManager {
13378
13378
  return void 0;
13379
13379
  }
13380
13380
  }
13381
+ // TODO: Remove pnp compatibility code in SB11
13381
13382
  async getModulePackageJSON(packageName) {
13382
13383
  const pnpapiPath = any([".pnp.js", ".pnp.cjs"], {
13383
13384
  cwd: this.primaryPackageJson.operationDir,
@@ -13392,7 +13393,7 @@ var PNPMProxy = class extends JsPackageManager {
13392
13393
  const pkgLocator = pnpApi.findPackageLocator(resolvedPath);
13393
13394
  const pkg = pnpApi.getPackageInformation(pkgLocator);
13394
13395
  const packageJSON = JSON.parse(
13395
- readFileSync7(join13(pkg.packageLocation, "package.json"), "utf-8")
13396
+ readFileSync7(join12(pkg.packageLocation, "package.json"), "utf-8")
13396
13397
  );
13397
13398
  return packageJSON;
13398
13399
  } catch (error) {
@@ -13402,7 +13403,7 @@ var PNPMProxy = class extends JsPackageManager {
13402
13403
  return null;
13403
13404
  }
13404
13405
  }
13405
- const wantedPath = join13("node_modules", packageName, "package.json");
13406
+ const wantedPath = join12("node_modules", packageName, "package.json");
13406
13407
  const packageJsonPath = up(wantedPath, { cwd: this.cwd, last: getProjectRoot() });
13407
13408
  if (!packageJsonPath) {
13408
13409
  return null;
@@ -13515,7 +13516,7 @@ var PNPMProxy = class extends JsPackageManager {
13515
13516
 
13516
13517
  // src/common/js-package-manager/Yarn1Proxy.ts
13517
13518
  import { readFileSync as readFileSync8 } from "node:fs";
13518
- import { join as join14 } from "node:path";
13519
+ import { join as join13 } from "node:path";
13519
13520
  import process2 from "node:process";
13520
13521
  import { prompt as prompt4 } from "storybook/internal/node-logger";
13521
13522
  import { FindPackageVersionsError as FindPackageVersionsError4 } from "storybook/internal/server-errors";
@@ -13566,7 +13567,7 @@ var Yarn1Proxy = class extends JsPackageManager {
13566
13567
  return this.executeCommand({ command: `yarn`, args: [command, ...args], cwd, stdio });
13567
13568
  }
13568
13569
  async getModulePackageJSON(packageName) {
13569
- const wantedPath = join14("node_modules", packageName, "package.json");
13570
+ const wantedPath = join13("node_modules", packageName, "package.json");
13570
13571
  const packageJsonPath = up(wantedPath, { cwd: this.cwd, last: getProjectRoot() });
13571
13572
  if (!packageJsonPath) {
13572
13573
  return null;
@@ -13705,7 +13706,7 @@ var Yarn1Proxy = class extends JsPackageManager {
13705
13706
  var import_fslib = __toESM(require_lib(), 1);
13706
13707
  var import_libzip = __toESM(require_sync(), 1);
13707
13708
  import { readFileSync as readFileSync9 } from "node:fs";
13708
- import { join as join15 } from "node:path";
13709
+ import { join as join14 } from "node:path";
13709
13710
  import { pathToFileURL as pathToFileURL2 } from "node:url";
13710
13711
  import { prompt as prompt5 } from "storybook/internal/node-logger";
13711
13712
  import { FindPackageVersionsError as FindPackageVersionsError5 } from "storybook/internal/server-errors";
@@ -13818,6 +13819,7 @@ var Yarn2Proxy = class extends JsPackageManager {
13818
13819
  return void 0;
13819
13820
  }
13820
13821
  }
13822
+ // TODO: Remove pnp compatibility code in SB11
13821
13823
  async getModulePackageJSON(packageName) {
13822
13824
  const pnpapiPath = any([".pnp.js", ".pnp.cjs"], {
13823
13825
  cwd: this.cwd,
@@ -13840,7 +13842,7 @@ var Yarn2Proxy = class extends JsPackageManager {
13840
13842
  });
13841
13843
  const virtualFs = new import_fslib.VirtualFS({ baseFs: zipOpenFs });
13842
13844
  const crossFs = new import_fslib.PosixFS(virtualFs);
13843
- const virtualPath = join15(pkg.packageLocation, "package.json");
13845
+ const virtualPath = join14(pkg.packageLocation, "package.json");
13844
13846
  return crossFs.readJsonSync(virtualPath);
13845
13847
  } catch (error) {
13846
13848
  if (error.code !== "ERR_MODULE_NOT_FOUND") {
@@ -13849,7 +13851,7 @@ var Yarn2Proxy = class extends JsPackageManager {
13849
13851
  return null;
13850
13852
  }
13851
13853
  }
13852
- const wantedPath = join15("node_modules", packageName, "package.json");
13854
+ const wantedPath = join14("node_modules", packageName, "package.json");
13853
13855
  const packageJsonPath = up(wantedPath, {
13854
13856
  cwd: this.primaryPackageJson.operationDir,
13855
13857
  last: getProjectRoot()
@@ -14162,7 +14164,7 @@ async function scanAndTransformFiles({
14162
14164
  initial: defaultGlob
14163
14165
  });
14164
14166
  console.log("Scanning for affected files...");
14165
- const globby = (await import("./globby-ZEUQ6QPC.js")).globby;
14167
+ const globby = (await import("./globby-HQ3ESL52.js")).globby;
14166
14168
  const sourceFiles = await globby([glob2], {
14167
14169
  ...commonGlobOptions(""),
14168
14170
  ignore: ["**/node_modules/**"],
@@ -14192,7 +14194,7 @@ function transformImports(source, renamedImports) {
14192
14194
  __name(transformImports, "transformImports");
14193
14195
  var transformImportFiles = /* @__PURE__ */ __name(async (files, renamedImports, dryRun) => {
14194
14196
  const errors = [];
14195
- const { default: pLimit } = await import("./p-limit-XJGTO6H5.js");
14197
+ const { default: pLimit } = await import("./p-limit-PBXTEA6N.js");
14196
14198
  const limit = pLimit(10);
14197
14199
  await Promise.all(
14198
14200
  files.map(
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  __name
14
- } from "./chunk-H6J6LJQQ.js";
14
+ } from "./chunk-EJGHDAYE.js";
15
15
 
16
16
  // ../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
17
17
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  __name
14
- } from "./chunk-H6J6LJQQ.js";
14
+ } from "./chunk-EJGHDAYE.js";
15
15
 
16
16
  // ../node_modules/camelcase/index.js
17
17
  var UPPERCASE = /[\p{Lu}]/u;
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -16,10 +16,10 @@ import {
16
16
  join,
17
17
  normalize,
18
18
  resolve
19
- } from "./chunk-QD4TA2GK.js";
19
+ } from "./chunk-OJSXOILA.js";
20
20
  import {
21
21
  __name
22
- } from "./chunk-H6J6LJQQ.js";
22
+ } from "./chunk-EJGHDAYE.js";
23
23
 
24
24
  // src/core-server/mocking-utils/resolve.ts
25
25
  import { readFileSync as readFileSync2, realpathSync } from "node:fs";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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_oali8g6joqi.createRequire(import.meta.url);
12
12
  import {
13
13
  __name,
14
14
  __require
15
- } from "./chunk-H6J6LJQQ.js";
15
+ } from "./chunk-EJGHDAYE.js";
16
16
 
17
17
  // ../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
18
18
  var __create = Object.create;
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,7 +13,7 @@ import {
13
13
  __commonJS,
14
14
  __name,
15
15
  __toESM
16
- } from "./chunk-H6J6LJQQ.js";
16
+ } from "./chunk-EJGHDAYE.js";
17
17
 
18
18
  // ../node_modules/balanced-match/index.js
19
19
  var require_balanced_match = __commonJS({
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  __name
14
- } from "./chunk-H6J6LJQQ.js";
14
+ } from "./chunk-EJGHDAYE.js";
15
15
 
16
16
  // src/telemetry/event-cache.ts
17
17
  import { cache } from "storybook/internal/common";
@@ -1,24 +1,24 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  require_dist
14
- } from "./chunk-VHPYGR5X.js";
14
+ } from "./chunk-BSVBH2ZA.js";
15
15
  import {
16
16
  require_picocolors
17
- } from "./chunk-DOCRBDQH.js";
17
+ } from "./chunk-4TLOQYBC.js";
18
18
  import {
19
19
  __name,
20
20
  __toESM
21
- } from "./chunk-H6J6LJQQ.js";
21
+ } from "./chunk-EJGHDAYE.js";
22
22
 
23
23
  // src/server-errors.ts
24
24
  var import_picocolors = __toESM(require_picocolors(), 1);
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,20 +12,20 @@ var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
12
12
  import {
13
13
  require_gen_mapping_umd,
14
14
  require_trace_mapping_umd
15
- } from "./chunk-D5WSRTEX.js";
15
+ } from "./chunk-A3UOLOFM.js";
16
16
  import {
17
17
  require_lib,
18
18
  require_src
19
- } from "./chunk-K5GJVTVF.js";
19
+ } from "./chunk-E7XUDQ3W.js";
20
20
  import {
21
21
  require_picocolors
22
- } from "./chunk-DOCRBDQH.js";
22
+ } from "./chunk-4TLOQYBC.js";
23
23
  import {
24
24
  __commonJS,
25
25
  __name,
26
26
  __require,
27
27
  __toESM
28
- } from "./chunk-H6J6LJQQ.js";
28
+ } from "./chunk-EJGHDAYE.js";
29
29
 
30
30
  // ../node_modules/@babel/types/lib/utils/shallowEqual.js
31
31
  var require_shallowEqual = __commonJS({
@@ -1,22 +1,22 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  require_dist
14
- } from "./chunk-VHPYGR5X.js";
14
+ } from "./chunk-BSVBH2ZA.js";
15
15
  import {
16
16
  __export,
17
17
  __name,
18
18
  __toESM
19
- } from "./chunk-H6J6LJQQ.js";
19
+ } from "./chunk-EJGHDAYE.js";
20
20
 
21
21
  // src/cli/globalSettings.ts
22
22
  var import_ts_dedent = __toESM(require_dist(), 1);
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,7 +13,7 @@ import {
13
13
  __commonJS,
14
14
  __name,
15
15
  __require
16
- } from "./chunk-H6J6LJQQ.js";
16
+ } from "./chunk-EJGHDAYE.js";
17
17
 
18
18
  // ../node_modules/kleur/index.js
19
19
  var require_kleur = __commonJS({
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_oali8g6joqi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_oali8g6joqi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_oali8g6joqi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_oali8g6joqi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_oali8g6joqi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_oali8g6joqi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  __name
14
- } from "./chunk-H6J6LJQQ.js";
14
+ } from "./chunk-EJGHDAYE.js";
15
15
 
16
16
  // ../node_modules/empathic/resolve.mjs
17
17
  import { createRequire } from "node:module";