storybook 10.1.4 → 10.1.5

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 (69) hide show
  1. package/dist/_browser-chunks/{chunk-2XZMBGTA.js → chunk-7S2XPX5M.js} +1 -1
  2. package/dist/_browser-chunks/{chunk-SS2NHR7W.js → chunk-GPBRNGY5.js} +1 -1
  3. package/dist/{_node-chunks/chunk-LJRKMWYC.js → _browser-chunks/chunk-JVRDBUUP.js} +20 -13
  4. package/dist/_browser-chunks/{chunk-GFY5R5EY.js → chunk-V5NV5R37.js} +1 -1
  5. package/dist/_node-chunks/{builder-manager-7ZU5KYAD.js → builder-manager-ZXJBDRXR.js} +12 -12
  6. package/dist/_node-chunks/{camelcase-YSJ5EORN.js → camelcase-WRTIKEO6.js} +7 -7
  7. package/dist/_node-chunks/{chunk-2IIRK2OT.js → chunk-255LKCUD.js} +6 -6
  8. package/dist/_node-chunks/chunk-3GJDB3VJ.js +18 -0
  9. package/dist/_node-chunks/{chunk-W6O6RFMF.js → chunk-3N5PBWO5.js} +9 -9
  10. package/dist/_node-chunks/{chunk-F2RDEFFH.js → chunk-52EAUB7R.js} +7 -7
  11. package/dist/_node-chunks/{chunk-RZ2YFNVH.js → chunk-56BVIMJO.js} +7 -7
  12. package/dist/_node-chunks/{chunk-COZFRL72.js → chunk-5H7WLGZC.js} +7 -7
  13. package/dist/_node-chunks/{chunk-7KESMTGS.js → chunk-AJ7QOTOZ.js} +13 -13
  14. package/dist/{_browser-chunks/chunk-FQ7SLVLR.js → _node-chunks/chunk-B2EXFXPG.js} +32 -1
  15. package/dist/_node-chunks/{chunk-MZL4HRPC.js → chunk-C3CWELCD.js} +7 -7
  16. package/dist/_node-chunks/{chunk-VBZIULNK.js → chunk-CUUCEXYW.js} +6 -6
  17. package/dist/_node-chunks/chunk-EBMWZDZG.js +23 -0
  18. package/dist/_node-chunks/{chunk-DMPGFWI4.js → chunk-FCQVKOY4.js} +72 -11
  19. package/dist/_node-chunks/{chunk-VUIYVJKC.js → chunk-FD76ZM2X.js} +8 -8
  20. package/dist/_node-chunks/{chunk-FMYFRXPU.js → chunk-GJ5FSAL5.js} +6 -6
  21. package/dist/_node-chunks/{chunk-N54KYQ6P.js → chunk-GUCJOBT7.js} +6 -6
  22. package/dist/_node-chunks/{chunk-QIY6TMKF.js → chunk-HNDTWAF5.js} +7 -7
  23. package/dist/_node-chunks/{chunk-S3DQCJWT.js → chunk-ITMM32VP.js} +9 -9
  24. package/dist/_node-chunks/{chunk-T5WYRHJT.js → chunk-KYHFIXVV.js} +6 -6
  25. package/dist/_node-chunks/{chunk-6O3OB2PO.js → chunk-PL7KUITS.js} +12 -12
  26. package/dist/_node-chunks/{chunk-76KIYDRU.js → chunk-QCZPELNP.js} +7 -7
  27. package/dist/_node-chunks/{chunk-QZJSO2TW.js → chunk-RZ3SV46Y.js} +21 -20
  28. package/dist/_node-chunks/{chunk-Q6B5LJGA.js → chunk-SNGQFKE7.js} +7 -7
  29. package/dist/_node-chunks/{chunk-6KX7N5UF.js → chunk-VGBOM5PD.js} +21 -17
  30. package/dist/_node-chunks/chunk-VRODUWUT.js +61 -0
  31. package/dist/_node-chunks/chunk-WUVM2V22.js +20 -0
  32. package/dist/_node-chunks/{chunk-J4VC4I2M.js → chunk-WYREEMWZ.js} +6 -6
  33. package/dist/_node-chunks/{chunk-4X3VTYIW.js → chunk-XPWMJEXT.js} +7 -7
  34. package/dist/_node-chunks/{chunk-FY6IUM4S.js → chunk-ZIG3SZMN.js} +8 -8
  35. package/dist/_node-chunks/{dist-NF4P7GPD.js → dist-XHCP6OFU.js} +9 -9
  36. package/dist/_node-chunks/{globby-54L4JJRV.js → globby-YHL6UTMA.js} +9 -9
  37. package/dist/_node-chunks/{lib-GX44WIWA.js → lib-RWWG7TOS.js} +7 -7
  38. package/dist/_node-chunks/{mdx-N42X6CFJ-WJFAHXML.js → mdx-N42X6CFJ-ZALEYAPJ.js} +8 -8
  39. package/dist/_node-chunks/{p-limit-QB7Q2I4D.js → p-limit-LLBQLQ7I.js} +7 -7
  40. package/dist/babel/index.js +10 -10
  41. package/dist/bin/core.js +12 -12
  42. package/dist/bin/dispatcher.js +11 -11
  43. package/dist/bin/loader.js +9 -9
  44. package/dist/cli/index.js +18 -18
  45. package/dist/common/index.js +19 -19
  46. package/dist/core-server/index.d.ts +68 -1
  47. package/dist/core-server/index.js +33 -33
  48. package/dist/core-server/presets/common-override-preset.js +9 -9
  49. package/dist/core-server/presets/common-preset.js +25 -25
  50. package/dist/csf/index.js +1 -1
  51. package/dist/csf-tools/index.js +9 -9
  52. package/dist/manager/globals-runtime.js +21 -2
  53. package/dist/manager-api/index.js +4 -4
  54. package/dist/manager-errors.d.ts +24 -0
  55. package/dist/manager-errors.js +2 -2
  56. package/dist/mocking-utils/index.js +8 -8
  57. package/dist/node-logger/index.js +9 -9
  58. package/dist/preview/runtime.js +21 -2
  59. package/dist/preview-api/index.js +1 -1
  60. package/dist/preview-errors.d.ts +24 -0
  61. package/dist/preview-errors.js +2 -2
  62. package/dist/server-errors.d.ts +59 -3
  63. package/dist/server-errors.js +22 -11
  64. package/dist/telemetry/index.js +23 -23
  65. package/package.json +1 -1
  66. package/dist/_node-chunks/chunk-4FAPWW5I.js +0 -61
  67. package/dist/_node-chunks/chunk-5UYX4ZF6.js +0 -23
  68. package/dist/_node-chunks/chunk-CMI5GRPA.js +0 -18
  69. package/dist/_node-chunks/chunk-GVOXGNOU.js +0 -20
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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-J4VC4I2M.js";
14
+ } from "./chunk-WYREEMWZ.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, {
@@ -1,24 +1,24 @@
1
- import CJS_COMPAT_NODE_URL_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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-FMYFRXPU.js";
14
+ } from "./chunk-GJ5FSAL5.js";
15
15
  import {
16
16
  require_dist
17
- } from "./chunk-76KIYDRU.js";
17
+ } from "./chunk-QCZPELNP.js";
18
18
  import {
19
19
  __export,
20
20
  __toESM
21
- } from "./chunk-J4VC4I2M.js";
21
+ } from "./chunk-WYREEMWZ.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_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,27 +13,27 @@ import {
13
13
  any,
14
14
  invariant,
15
15
  up2 as up
16
- } from "./chunk-2IIRK2OT.js";
16
+ } from "./chunk-255LKCUD.js";
17
17
  import {
18
18
  resolvePackageDir
19
- } from "./chunk-Q6B5LJGA.js";
19
+ } from "./chunk-SNGQFKE7.js";
20
20
  import {
21
21
  require_dist
22
- } from "./chunk-76KIYDRU.js";
22
+ } from "./chunk-QCZPELNP.js";
23
23
  import {
24
24
  babelParse,
25
25
  recast,
26
26
  traverse,
27
27
  types
28
- } from "./chunk-W6O6RFMF.js";
28
+ } from "./chunk-3N5PBWO5.js";
29
29
  import {
30
30
  require_picocolors
31
- } from "./chunk-RZ2YFNVH.js";
31
+ } from "./chunk-56BVIMJO.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __require,
35
35
  __toESM
36
- } from "./chunk-J4VC4I2M.js";
36
+ } from "./chunk-WYREEMWZ.js";
37
37
 
38
38
  // ../node_modules/esprima/dist/esprima.js
39
39
  var require_esprima = __commonJS({
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  __commonJS
14
- } from "./chunk-J4VC4I2M.js";
14
+ } from "./chunk-WYREEMWZ.js";
15
15
 
16
16
  // ../node_modules/ts-dedent/dist/index.js
17
17
  var require_dist = __commonJS({
@@ -1,54 +1,54 @@
1
- import CJS_COMPAT_NODE_URL_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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-4FAPWW5I.js";
14
+ } from "./chunk-VRODUWUT.js";
15
15
  import {
16
16
  require_picomatch
17
- } from "./chunk-4X3VTYIW.js";
17
+ } from "./chunk-XPWMJEXT.js";
18
18
  import {
19
19
  logger
20
- } from "./chunk-VUIYVJKC.js";
20
+ } from "./chunk-FD76ZM2X.js";
21
21
  import {
22
22
  any,
23
23
  from,
24
24
  invariant,
25
25
  up,
26
26
  up2
27
- } from "./chunk-2IIRK2OT.js";
27
+ } from "./chunk-255LKCUD.js";
28
28
  import {
29
29
  importModule,
30
30
  resolveModulePath,
31
31
  resolvePackageDir,
32
32
  safeResolveModule
33
- } from "./chunk-Q6B5LJGA.js";
33
+ } from "./chunk-SNGQFKE7.js";
34
34
  import {
35
35
  join,
36
36
  parse,
37
37
  resolve
38
- } from "./chunk-VBZIULNK.js";
38
+ } from "./chunk-CUUCEXYW.js";
39
39
  import {
40
40
  glob,
41
41
  globSync
42
- } from "./chunk-F2RDEFFH.js";
42
+ } from "./chunk-52EAUB7R.js";
43
43
  import {
44
44
  slash
45
- } from "./chunk-GVOXGNOU.js";
45
+ } from "./chunk-WUVM2V22.js";
46
46
  import {
47
47
  require_dist
48
- } from "./chunk-76KIYDRU.js";
48
+ } from "./chunk-QCZPELNP.js";
49
49
  import {
50
50
  require_picocolors
51
- } from "./chunk-RZ2YFNVH.js";
51
+ } from "./chunk-56BVIMJO.js";
52
52
  import {
53
53
  __commonJS,
54
54
  __esm,
@@ -56,7 +56,7 @@ import {
56
56
  __require,
57
57
  __toCommonJS,
58
58
  __toESM
59
- } from "./chunk-J4VC4I2M.js";
59
+ } from "./chunk-WYREEMWZ.js";
60
60
 
61
61
  // ../node_modules/resolve/lib/homedir.js
62
62
  var require_homedir = __commonJS({
@@ -11086,7 +11086,7 @@ function normalizeStoryPath(filename) {
11086
11086
 
11087
11087
  // src/common/utils/envs.ts
11088
11088
  async function loadEnvs(options = {}) {
11089
- let { getEnvironment } = await import("./lib-GX44WIWA.js"), defaultNodeEnv = options.production ? "production" : "development", env2 = {
11089
+ let { getEnvironment } = await import("./lib-RWWG7TOS.js"), defaultNodeEnv = options.production ? "production" : "development", env2 = {
11090
11090
  // eslint-disable-next-line @typescript-eslint/dot-notation
11091
11091
  NODE_ENV: process.env.NODE_ENV || defaultNodeEnv,
11092
11092
  NODE_PATH: process.env.NODE_PATH || "",
@@ -11716,6 +11716,7 @@ var rendererPackages = {
11716
11716
  "@storybook/svelte": SupportedRenderer2.SVELTE,
11717
11717
  "@storybook/preact": SupportedRenderer2.PREACT,
11718
11718
  "@storybook/server": SupportedRenderer2.SERVER,
11719
+ "@storybook/react-native": SupportedRenderer2.REACT_NATIVE,
11719
11720
  // community (outside of monorepo)
11720
11721
  "storybook-framework-qwik": SupportedRenderer2.QWIK,
11721
11722
  "storybook-solidjs-vite": SupportedRenderer2.SOLID
@@ -14758,7 +14759,7 @@ async function scanAndTransformFiles({
14758
14759
  initialValue: defaultGlob
14759
14760
  });
14760
14761
  logger13.log("Scanning for affected files...");
14761
- let globby = (await import("./globby-54L4JJRV.js")).globby, sourceFiles = await globby([glob2], {
14762
+ let globby = (await import("./globby-YHL6UTMA.js")).globby, sourceFiles = await globby([glob2], {
14762
14763
  ...commonGlobOptions(""),
14763
14764
  ignore: ["**/node_modules/**"],
14764
14765
  dot: !0,
@@ -14779,7 +14780,7 @@ function transformImports(source, renamedImports) {
14779
14780
  return hasChanges ? transformed : null;
14780
14781
  }
14781
14782
  var transformImportFiles = async (files, renamedImports, dryRun) => {
14782
- let errors = [], { default: pLimit } = await import("./p-limit-QB7Q2I4D.js"), limit = pLimit(10);
14783
+ let errors = [], { default: pLimit } = await import("./p-limit-LLBQLQ7I.js"), limit = pLimit(10);
14783
14784
  return await Promise.all(
14784
14785
  files.map(
14785
14786
  (file) => limit(async () => {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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_yr66iw5gef.createRequire(import.meta.url);
12
12
  import {
13
13
  dirname,
14
14
  join
15
- } from "./chunk-VBZIULNK.js";
15
+ } from "./chunk-CUUCEXYW.js";
16
16
 
17
17
  // ../node_modules/exsolve/dist/index.mjs
18
18
  import fs, { lstatSync, realpathSync, statSync } from "node:fs";
@@ -1,35 +1,35 @@
1
- import CJS_COMPAT_NODE_URL_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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_build
14
- } from "./chunk-COZFRL72.js";
14
+ } from "./chunk-5H7WLGZC.js";
15
15
  import {
16
16
  StorybookError
17
- } from "./chunk-LJRKMWYC.js";
17
+ } from "./chunk-B2EXFXPG.js";
18
18
  import {
19
19
  resolvePackageDir
20
- } from "./chunk-Q6B5LJGA.js";
20
+ } from "./chunk-SNGQFKE7.js";
21
21
  import {
22
22
  relative
23
- } from "./chunk-VBZIULNK.js";
23
+ } from "./chunk-CUUCEXYW.js";
24
24
  import {
25
25
  require_dist
26
- } from "./chunk-76KIYDRU.js";
26
+ } from "./chunk-QCZPELNP.js";
27
27
  import {
28
28
  require_picocolors
29
- } from "./chunk-RZ2YFNVH.js";
29
+ } from "./chunk-56BVIMJO.js";
30
30
  import {
31
31
  __toESM
32
- } from "./chunk-J4VC4I2M.js";
32
+ } from "./chunk-WYREEMWZ.js";
33
33
 
34
34
  // src/core-server/utils/server-statics.ts
35
35
  import { existsSync, statSync } from "node:fs";
@@ -157,7 +157,7 @@ async function getErrorLevel({
157
157
  let valueFromPrompt = await promptCrashReports();
158
158
  return valueFromPrompt !== void 0 ? valueFromPrompt ? "full" : "error" : "full";
159
159
  }
160
- async function sendTelemetryError(_error, eventType, options, blocking = !0) {
160
+ async function sendTelemetryError(_error, eventType, options, blocking = !0, parent) {
161
161
  try {
162
162
  let errorLevel = "error";
163
163
  try {
@@ -168,7 +168,7 @@ async function sendTelemetryError(_error, eventType, options, blocking = !0) {
168
168
  let precedingUpgrade = await getPrecedingUpgrade(), error = _error, errorHash;
169
169
  "message" in error ? errorHash = error.message ? oneWayHash(error.message) : "EMPTY_MESSAGE" : errorHash = "NO_MESSAGE";
170
170
  let { code, name, category } = error;
171
- await telemetry(
171
+ if (await telemetry(
172
172
  "error",
173
173
  {
174
174
  code,
@@ -180,14 +180,18 @@ async function sendTelemetryError(_error, eventType, options, blocking = !0) {
180
180
  error: errorLevel === "full" ? error : void 0,
181
181
  errorHash,
182
182
  // if we ever end up sending a non-error instance, we'd like to know
183
- isErrorInstance: error instanceof Error
183
+ isErrorInstance: error instanceof Error,
184
+ // Include parent error information if this is a sub-error
185
+ ...parent ? { parent: parent.fullErrorCode } : {}
184
186
  },
185
187
  {
186
188
  immediate: !0,
187
189
  configDir: options.cliOptions.configDir || options.presetOptions?.configDir,
188
190
  enableCrashReports: errorLevel === "full"
189
191
  }
190
- );
192
+ ), error instanceof StorybookError && error.subErrors.length > 0)
193
+ for (let subError of error.subErrors)
194
+ subError instanceof StorybookError && await sendTelemetryError(subError, eventType, options, blocking, error);
191
195
  }
192
196
  } catch {
193
197
  }
@@ -0,0 +1,61 @@
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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.1.5",
16
+ "@storybook/addon-docs": "10.1.5",
17
+ "@storybook/addon-links": "10.1.5",
18
+ "@storybook/addon-onboarding": "10.1.5",
19
+ "storybook-addon-pseudo-states": "10.1.5",
20
+ "@storybook/addon-themes": "10.1.5",
21
+ "@storybook/addon-vitest": "10.1.5",
22
+ "@storybook/builder-vite": "10.1.5",
23
+ "@storybook/builder-webpack5": "10.1.5",
24
+ storybook: "10.1.5",
25
+ "@storybook/angular": "10.1.5",
26
+ "@storybook/ember": "10.1.5",
27
+ "@storybook/html-vite": "10.1.5",
28
+ "@storybook/nextjs": "10.1.5",
29
+ "@storybook/nextjs-vite": "10.1.5",
30
+ "@storybook/preact-vite": "10.1.5",
31
+ "@storybook/react-native-web-vite": "10.1.5",
32
+ "@storybook/react-vite": "10.1.5",
33
+ "@storybook/react-webpack5": "10.1.5",
34
+ "@storybook/server-webpack5": "10.1.5",
35
+ "@storybook/svelte-vite": "10.1.5",
36
+ "@storybook/sveltekit": "10.1.5",
37
+ "@storybook/vue3-vite": "10.1.5",
38
+ "@storybook/web-components-vite": "10.1.5",
39
+ sb: "10.1.5",
40
+ "@storybook/cli": "10.1.5",
41
+ "@storybook/codemod": "10.1.5",
42
+ "@storybook/core-webpack": "10.1.5",
43
+ "create-storybook": "10.1.5",
44
+ "@storybook/csf-plugin": "10.1.5",
45
+ "eslint-plugin-storybook": "10.1.5",
46
+ "@storybook/react-dom-shim": "10.1.5",
47
+ "@storybook/preset-create-react-app": "10.1.5",
48
+ "@storybook/preset-react-webpack": "10.1.5",
49
+ "@storybook/preset-server-webpack": "10.1.5",
50
+ "@storybook/html": "10.1.5",
51
+ "@storybook/preact": "10.1.5",
52
+ "@storybook/react": "10.1.5",
53
+ "@storybook/server": "10.1.5",
54
+ "@storybook/svelte": "10.1.5",
55
+ "@storybook/vue3": "10.1.5",
56
+ "@storybook/web-components": "10.1.5"
57
+ };
58
+
59
+ export {
60
+ versions_default
61
+ };
@@ -0,0 +1,20 @@
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
8
+
9
+ // ------------------------------------------------------------
10
+ // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
+ // ------------------------------------------------------------
12
+
13
+ // ../node_modules/slash/index.js
14
+ function slash(path) {
15
+ return path.startsWith("\\\\?\\") ? path : path.replace(/\\/g, "/");
16
+ }
17
+
18
+ export {
19
+ slash
20
+ };
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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_yr66iw5gef.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __require
15
- } from "./chunk-J4VC4I2M.js";
15
+ } from "./chunk-WYREEMWZ.js";
16
16
 
17
17
  // ../node_modules/picomatch/lib/constants.js
18
18
  var require_constants = __commonJS({
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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-76KIYDRU.js";
14
+ } from "./chunk-QCZPELNP.js";
15
15
  import {
16
16
  __toESM
17
- } from "./chunk-J4VC4I2M.js";
17
+ } from "./chunk-WYREEMWZ.js";
18
18
 
19
19
  // src/csf-tools/CsfFile.ts
20
20
  var import_ts_dedent = __toESM(require_dist(), 1);
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  toEstree
14
- } from "./chunk-QIY6TMKF.js";
15
- import "./chunk-J4VC4I2M.js";
14
+ } from "./chunk-HNDTWAF5.js";
15
+ import "./chunk-WYREEMWZ.js";
16
16
 
17
17
  // ../node_modules/@storybook/docs-mdx/dist/index.js
18
18
  var getAttr = (elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute" && n.name.name === what), getAttrValue = (elt, what) => getAttr(elt, what)?.value, getAttrLiteral = (elt, what) => {
@@ -107,7 +107,7 @@ var getAttr = (elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute
107
107
  isTemplate: !1,
108
108
  metaTags: void 0,
109
109
  imports: void 0
110
- }, { compile } = await import("./mdx-N42X6CFJ-WJFAHXML.js");
110
+ }, { compile } = await import("./mdx-N42X6CFJ-ZALEYAPJ.js");
111
111
  await compile(code, {
112
112
  rehypePlugins: [[plugin, store]]
113
113
  });
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_yr66iw5gef from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_yr66iw5gef from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_yr66iw5gef from "node:module";
1
+ import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_yr66iw5gef.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_yr66iw5gef.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_yr66iw5gef.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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_yr66iw5gef.createRequire(import.meta.url);
12
12
  import {
13
13
  require_picomatch,
14
14
  require_utils
15
- } from "./chunk-4X3VTYIW.js";
15
+ } from "./chunk-XPWMJEXT.js";
16
16
  import {
17
17
  slash
18
- } from "./chunk-GVOXGNOU.js";
18
+ } from "./chunk-WUVM2V22.js";
19
19
  import {
20
20
  __commonJS,
21
21
  __require,
22
22
  __toESM
23
- } from "./chunk-J4VC4I2M.js";
23
+ } from "./chunk-WYREEMWZ.js";
24
24
 
25
25
  // ../node_modules/fast-glob/out/utils/array.js
26
26
  var require_array = __commonJS({