storybook 10.0.0-beta.1 → 10.0.0-beta.11

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 (124) hide show
  1. package/assets/server/openBrowser.applescript +94 -0
  2. package/dist/_browser-chunks/Color-KPLIACXP.js +1569 -0
  3. package/dist/_browser-chunks/{WithTooltip-ERFLZL6W.js → WithTooltip-SK46ZJ2J.js} +1 -1
  4. package/dist/_browser-chunks/{chunk-YY5GICNT.js → chunk-6E2SHJSL.js} +175 -32
  5. package/dist/_browser-chunks/{chunk-EOILZP2R.js → chunk-BOOOPFZF.js} +7 -2
  6. package/dist/_browser-chunks/{chunk-YWDKX534.js → chunk-FA42P6MO.js} +49 -4
  7. package/dist/_browser-chunks/chunk-G33S6YM3.js +521 -0
  8. package/dist/_browser-chunks/{chunk-MZNYTCNT.js → chunk-HMIIJ6UD.js} +6 -6
  9. package/dist/_browser-chunks/{chunk-4QPX7WIQ.js → chunk-JJZMHC3A.js} +57 -166
  10. package/dist/_browser-chunks/{chunk-MD2FTHCZ.js → chunk-JVSKG4YS.js} +3 -16
  11. package/dist/_browser-chunks/{chunk-E7VLET3C.js → chunk-KSCAWCCE.js} +3947 -4291
  12. package/dist/_browser-chunks/{chunk-PYK5ZTFK.js → chunk-PS3AOQI4.js} +48 -25
  13. package/dist/_browser-chunks/chunk-QK3L5AXO.js +372 -0
  14. package/dist/_browser-chunks/chunk-SHR3NNR3.js +5810 -0
  15. package/dist/_browser-chunks/{chunk-O5R5CGFA.js → chunk-TMDZCWME.js} +1 -2
  16. package/dist/_browser-chunks/chunk-VUAFL5XK.js +20 -0
  17. package/dist/_browser-chunks/{chunk-T7RCAJIX.js → chunk-Y3M7TW6K.js} +43 -47
  18. package/dist/_browser-chunks/{syntaxhighlighter-YYAA4CS4.js → syntaxhighlighter-R46XOLMC.js} +1 -1
  19. package/dist/_node-chunks/{builder-manager-EXW4ETLN.js → builder-manager-VLFDK43H.js} +45 -155
  20. package/dist/_node-chunks/camelcase-RENSEFK6.js +18 -0
  21. package/dist/_node-chunks/{chunk-5ZX5SJOP.js → chunk-4SPBIDJV.js} +162 -103
  22. package/dist/_node-chunks/{chunk-PMEEE3UE.js → chunk-4WZFG35Z.js} +30 -21
  23. package/dist/_node-chunks/{chunk-WP7DV5JT.js → chunk-5K7G6NFK.js} +583 -180
  24. package/dist/_node-chunks/{chunk-FZP2YGG3.js → chunk-5NSMDC6F.js} +7 -7
  25. package/dist/_node-chunks/{chunk-6CCUFDHU.js → chunk-5THWZTEL.js} +7 -7
  26. package/dist/_node-chunks/chunk-7MUMULSR.js +79 -0
  27. package/dist/_node-chunks/chunk-7QAAJL75.js +1540 -0
  28. package/dist/_node-chunks/{chunk-EO4S3VXL.js → chunk-DVY3VWHZ.js} +653 -775
  29. package/dist/_node-chunks/{chunk-WDKWVNL2.js → chunk-EBLOP2C5.js} +7 -7
  30. package/dist/_node-chunks/{chunk-EDBXIJN5.js → chunk-EF56ZUQY.js} +7 -7
  31. package/dist/_node-chunks/{chunk-F5J33SXQ.js → chunk-ER2UQBIA.js} +7 -7
  32. package/dist/_node-chunks/chunk-GHICGP2P.js +18 -0
  33. package/dist/_node-chunks/{chunk-4WNZYNQY.js → chunk-GYBN5GXT.js} +623 -750
  34. package/dist/_node-chunks/{chunk-2G5THETV.js → chunk-H2YBWE3T.js} +12 -12
  35. package/dist/_node-chunks/{camelcase-VZZFWA2L.js → chunk-HYMBYTGJ.js} +9 -8
  36. package/dist/_node-chunks/{chunk-SUMFFLGF.js → chunk-Q5IJJX3T.js} +6 -6
  37. package/dist/_node-chunks/{chunk-U45F2NP6.js → chunk-QLRMR54O.js} +7 -7
  38. package/dist/_node-chunks/{chunk-XTSBFCVE.js → chunk-QSNDRP62.js} +7 -7
  39. package/dist/_node-chunks/chunk-S2RQAF7K.js +4741 -0
  40. package/dist/_node-chunks/{chunk-2QZOLZDJ.js → chunk-SDZVOIZI.js} +9 -9
  41. package/dist/_node-chunks/{chunk-VNLBDN2Z.js → chunk-SGJZDMJW.js} +6 -6
  42. package/dist/_node-chunks/{chunk-PL2PKDRO.js → chunk-TJOIDMXP.js} +60 -102
  43. package/dist/_node-chunks/{chunk-ICPKUV5G.js → chunk-U2UIPLJI.js} +7 -7
  44. package/dist/_node-chunks/{chunk-3SGKBLOL.js → chunk-UAMXREF3.js} +8 -8
  45. package/dist/_node-chunks/{chunk-GVCXNIAA.js → chunk-UC6O5PNX.js} +399 -116
  46. package/dist/_node-chunks/{chunk-CM3UGTR5.js → chunk-VFUP6Z4J.js} +7 -7
  47. package/dist/_node-chunks/{chunk-3ZKQWDCG.js → chunk-XKPJCSPD.js} +223 -243
  48. package/dist/_node-chunks/{chunk-24TGL6EX.js → chunk-XWCQWB3R.js} +8 -8
  49. package/dist/_node-chunks/{chunk-QC5FE2D7.js → chunk-XYFEBEHY.js} +7 -7
  50. package/dist/_node-chunks/chunk-YAEIMHFX.js +62 -0
  51. package/dist/_node-chunks/{chunk-5V6QH7WC.js → chunk-ZHBCPKYD.js} +7 -7
  52. package/dist/_node-chunks/{dist-VZL6D6Y3.js → dist-A2RPEHEC.js} +9 -9
  53. package/dist/_node-chunks/{globby-GZXJJ4W6.js → globby-3TWPXGQS.js} +17 -13
  54. package/dist/_node-chunks/{lib-PHT5GCV2.js → lib-MUNM6ZJ6.js} +40 -16
  55. package/dist/_node-chunks/{mdx-N42X6CFJ-EPDIV4A2.js → mdx-N42X6CFJ-QQDHJZQ3.js} +8 -8
  56. package/dist/_node-chunks/{p-limit-AJIFSZTI.js → p-limit-FEN55OV6.js} +76 -10
  57. package/dist/_node-chunks/{plugin-3VI56CEF.js → plugin-ESAYNJ5V.js} +11 -11
  58. package/dist/_node-chunks/{plugin-AV4OEKYM.js → plugin-GDMP3JPR.js} +10 -10
  59. package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-E7J5FKLA.js → webpack-inject-mocker-runtime-plugin-5AKTLYIV.js} +1307 -847
  60. package/dist/_node-chunks/{webpack-mock-plugin-VTYGW7HO.js → webpack-mock-plugin-AWGZ65AQ.js} +9 -9
  61. package/dist/babel/index.d.ts +1 -1
  62. package/dist/babel/index.js +11 -11
  63. package/dist/bin/core.js +638 -187
  64. package/dist/bin/dispatcher.js +11 -11
  65. package/dist/bin/loader.js +77 -12
  66. package/dist/cli/index.d.ts +62 -75
  67. package/dist/cli/index.js +67 -55
  68. package/dist/common/index.d.ts +3 -1
  69. package/dist/common/index.js +22 -22
  70. package/dist/components/index.d.ts +228 -1
  71. package/dist/components/index.js +74 -5738
  72. package/dist/core-events/index.d.ts +18 -2
  73. package/dist/core-events/index.js +7 -1
  74. package/dist/core-server/index.d.ts +515 -14
  75. package/dist/core-server/index.js +4647 -4182
  76. package/dist/core-server/presets/common-manager.js +1570 -1272
  77. package/dist/core-server/presets/common-override-preset.js +9 -9
  78. package/dist/core-server/presets/common-preset.js +691 -38
  79. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
  80. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
  81. package/dist/csf/index.d.ts +9 -4
  82. package/dist/csf/index.js +50 -15
  83. package/dist/csf-tools/index.d.ts +47 -6
  84. package/dist/csf-tools/index.js +9 -9
  85. package/dist/docs-tools/index.js +4 -4
  86. package/dist/instrumenter/index.js +1 -1
  87. package/dist/manager/globals-runtime.js +9230 -18109
  88. package/dist/manager/globals.d.ts +0 -4
  89. package/dist/manager/globals.js +1 -6
  90. package/dist/manager/runtime.js +13194 -11367
  91. package/dist/manager-api/index.d.ts +513 -5
  92. package/dist/manager-api/index.js +364 -90
  93. package/dist/manager-errors.d.ts +501 -0
  94. package/dist/node-logger/index.d.ts +1 -1
  95. package/dist/node-logger/index.js +1136 -662
  96. package/dist/preview/globals.js +1 -1
  97. package/dist/preview/runtime.js +12103 -21579
  98. package/dist/preview-api/index.d.ts +70 -71
  99. package/dist/preview-api/index.js +10 -10
  100. package/dist/preview-errors.d.ts +501 -0
  101. package/dist/router/index.d.ts +668 -10
  102. package/dist/router/index.js +2 -2
  103. package/dist/server-errors.d.ts +501 -0
  104. package/dist/server-errors.js +10 -10
  105. package/dist/telemetry/index.d.ts +1 -1
  106. package/dist/telemetry/index.js +23 -25
  107. package/dist/test/index.js +1874 -4024
  108. package/dist/theming/index.d.ts +2 -2
  109. package/dist/theming/index.js +6 -6
  110. package/dist/types/index.d.ts +553 -16
  111. package/dist/viewport/index.d.ts +36 -4
  112. package/dist/viewport/index.js +1 -1
  113. package/package.json +9 -46
  114. package/dist/_browser-chunks/Color-SFYJJKWL.js +0 -605
  115. package/dist/_browser-chunks/chunk-DHO2SA6L.js +0 -12
  116. package/dist/_browser-chunks/chunk-WPHPDNUA.js +0 -974
  117. package/dist/_node-chunks/chunk-32JYCD74.js +0 -80
  118. package/dist/_node-chunks/chunk-GE6I3YYG.js +0 -62
  119. package/dist/_node-chunks/chunk-KXCNXWXI.js +0 -18
  120. package/dist/_node-chunks/chunk-LAUOYAOX.js +0 -87
  121. package/dist/_node-chunks/chunk-QJTT4OC2.js +0 -266
  122. package/dist/_node-chunks/chunk-V2ZF4DUD.js +0 -2377
  123. package/dist/_node-chunks/chunk-ZMV3WY6R.js +0 -9845
  124. package/dist/_node-chunks/default-browser-id-JNATP42X.js +0 -1719
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_nodb7gfupnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_nodb7gfupnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_nodb7gfupnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_nodb7gfupnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_nodb7gfupnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.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-SUMFFLGF.js";
16
+ } from "./chunk-Q5IJJX3T.js";
17
17
 
18
18
  // ../node_modules/balanced-match/index.js
19
19
  var require_balanced_match = __commonJS({
@@ -161,7 +161,7 @@ var require_brace_expansion = __commonJS({
161
161
  var isSequence = isNumericSequence || isAlphaSequence;
162
162
  var isOptions = m.body.indexOf(",") >= 0;
163
163
  if (!isSequence && !isOptions) {
164
- if (m.post.match(/,.*\}/)) {
164
+ if (m.post.match(/,(?!,).*\}/)) {
165
165
  str = m.pre + "{" + m.body + escClose + m.post;
166
166
  return expand2(str);
167
167
  }
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_nodb7gfupnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_nodb7gfupnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_nodb7gfupnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_nodb7gfupnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_nodb7gfupnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.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-SUMFFLGF.js";
16
+ } from "./chunk-Q5IJJX3T.js";
17
17
 
18
18
  // ../node_modules/totalist/sync/index.js
19
19
  var require_sync = __commonJS({
@@ -0,0 +1,62 @@
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.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.0.0-beta.11",
16
+ "@storybook/addon-docs": "10.0.0-beta.11",
17
+ "@storybook/addon-jest": "10.0.0-beta.11",
18
+ "@storybook/addon-links": "10.0.0-beta.11",
19
+ "@storybook/addon-onboarding": "10.0.0-beta.11",
20
+ "storybook-addon-pseudo-states": "10.0.0-beta.11",
21
+ "@storybook/addon-themes": "10.0.0-beta.11",
22
+ "@storybook/addon-vitest": "10.0.0-beta.11",
23
+ "@storybook/builder-vite": "10.0.0-beta.11",
24
+ "@storybook/builder-webpack5": "10.0.0-beta.11",
25
+ storybook: "10.0.0-beta.11",
26
+ "@storybook/angular": "10.0.0-beta.11",
27
+ "@storybook/ember": "10.0.0-beta.11",
28
+ "@storybook/html-vite": "10.0.0-beta.11",
29
+ "@storybook/nextjs": "10.0.0-beta.11",
30
+ "@storybook/nextjs-vite": "10.0.0-beta.11",
31
+ "@storybook/preact-vite": "10.0.0-beta.11",
32
+ "@storybook/react-native-web-vite": "10.0.0-beta.11",
33
+ "@storybook/react-vite": "10.0.0-beta.11",
34
+ "@storybook/react-webpack5": "10.0.0-beta.11",
35
+ "@storybook/server-webpack5": "10.0.0-beta.11",
36
+ "@storybook/svelte-vite": "10.0.0-beta.11",
37
+ "@storybook/sveltekit": "10.0.0-beta.11",
38
+ "@storybook/vue3-vite": "10.0.0-beta.11",
39
+ "@storybook/web-components-vite": "10.0.0-beta.11",
40
+ sb: "10.0.0-beta.11",
41
+ "@storybook/cli": "10.0.0-beta.11",
42
+ "@storybook/codemod": "10.0.0-beta.11",
43
+ "@storybook/core-webpack": "10.0.0-beta.11",
44
+ "create-storybook": "10.0.0-beta.11",
45
+ "@storybook/csf-plugin": "10.0.0-beta.11",
46
+ "eslint-plugin-storybook": "10.0.0-beta.11",
47
+ "@storybook/react-dom-shim": "10.0.0-beta.11",
48
+ "@storybook/preset-create-react-app": "10.0.0-beta.11",
49
+ "@storybook/preset-react-webpack": "10.0.0-beta.11",
50
+ "@storybook/preset-server-webpack": "10.0.0-beta.11",
51
+ "@storybook/html": "10.0.0-beta.11",
52
+ "@storybook/preact": "10.0.0-beta.11",
53
+ "@storybook/react": "10.0.0-beta.11",
54
+ "@storybook/server": "10.0.0-beta.11",
55
+ "@storybook/svelte": "10.0.0-beta.11",
56
+ "@storybook/vue3": "10.0.0-beta.11",
57
+ "@storybook/web-components": "10.0.0-beta.11"
58
+ };
59
+
60
+ export {
61
+ versions_default
62
+ };
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_nodb7gfupnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_nodb7gfupnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_nodb7gfupnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_nodb7gfupnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_nodb7gfupnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.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_nodb7gfupnb.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __name
15
- } from "./chunk-SUMFFLGF.js";
15
+ } from "./chunk-Q5IJJX3T.js";
16
16
 
17
17
  // ../node_modules/picocolors/picocolors.js
18
18
  var require_picocolors = __commonJS({
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_nodb7gfupnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_nodb7gfupnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_nodb7gfupnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_nodb7gfupnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_nodb7gfupnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.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-F5J33SXQ.js";
14
+ } from "./chunk-ER2UQBIA.js";
15
15
  import {
16
16
  __name
17
- } from "./chunk-SUMFFLGF.js";
17
+ } from "./chunk-Q5IJJX3T.js";
18
18
 
19
19
  // ../node_modules/@storybook/docs-mdx/dist/index.js
20
20
  var getAttr = /* @__PURE__ */ __name((elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute" && n.name.name === what), "getAttr");
@@ -161,7 +161,7 @@ var analyze = /* @__PURE__ */ __name(async (code) => {
161
161
  metaTags: void 0,
162
162
  imports: void 0
163
163
  };
164
- const { compile } = await import("./mdx-N42X6CFJ-EPDIV4A2.js");
164
+ const { compile } = await import("./mdx-N42X6CFJ-QQDHJZQ3.js");
165
165
  await compile(code, {
166
166
  rehypePlugins: [[plugin, store]]
167
167
  });
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_nodb7gfupnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_nodb7gfupnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_nodb7gfupnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_nodb7gfupnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_nodb7gfupnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,16 +12,16 @@ var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
12
12
  import {
13
13
  require_picomatch,
14
14
  require_utils
15
- } from "./chunk-FZP2YGG3.js";
15
+ } from "./chunk-5NSMDC6F.js";
16
16
  import {
17
17
  slash
18
- } from "./chunk-6CCUFDHU.js";
18
+ } from "./chunk-5THWZTEL.js";
19
19
  import {
20
20
  __commonJS,
21
21
  __name,
22
22
  __require,
23
23
  __toESM
24
- } from "./chunk-SUMFFLGF.js";
24
+ } from "./chunk-Q5IJJX3T.js";
25
25
 
26
26
  // ../node_modules/fast-glob/out/utils/array.js
27
27
  var require_array = __commonJS({
@@ -4672,18 +4672,22 @@ var require_ignore = __commonJS({
4672
4672
  };
4673
4673
  var factory = /* @__PURE__ */ __name((options) => new Ignore(options), "factory");
4674
4674
  var isPathValid = /* @__PURE__ */ __name((path2) => checkPath(path2 && checkPath.convert(path2), path2, RETURN_FALSE), "isPathValid");
4675
- if (
4676
- // Detect `process` so that it can run in browsers.
4677
- typeof process !== "undefined" && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === "win32")
4678
- ) {
4675
+ var setupWindows = /* @__PURE__ */ __name(() => {
4679
4676
  const makePosix = /* @__PURE__ */ __name((str) => /^\\\\\?\\/.test(str) || /["<>|\u0000-\u001F]+/u.test(str) ? str : str.replace(/\\/g, "/"), "makePosix");
4680
4677
  checkPath.convert = makePosix;
4681
4678
  const REGEX_TEST_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i;
4682
4679
  checkPath.isNotRelative = (path2) => REGEX_TEST_WINDOWS_PATH_ABSOLUTE.test(path2) || isNotRelative(path2);
4680
+ }, "setupWindows");
4681
+ if (
4682
+ // Detect `process` so that it can run in browsers.
4683
+ typeof process !== "undefined" && process.platform === "win32"
4684
+ ) {
4685
+ setupWindows();
4683
4686
  }
4684
4687
  module.exports = factory;
4685
4688
  factory.default = factory;
4686
4689
  module.exports.isPathValid = isPathValid;
4690
+ define(module.exports, Symbol.for("setupWindows"), setupWindows);
4687
4691
  }
4688
4692
  });
4689
4693
 
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_nodb7gfupnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_nodb7gfupnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_nodb7gfupnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_nodb7gfupnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_nodb7gfupnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -14,7 +14,7 @@ import {
14
14
  __name,
15
15
  __require,
16
16
  __toESM
17
- } from "./chunk-SUMFFLGF.js";
17
+ } from "./chunk-Q5IJJX3T.js";
18
18
 
19
19
  // ../node_modules/app-root-dir/lib/index.js
20
20
  var require_lib = __commonJS({
@@ -53,12 +53,12 @@ var require_lib = __commonJS({
53
53
  }
54
54
  });
55
55
 
56
- // ../node_modules/lazy-universal-dotenv/node_modules/dotenv/package.json
56
+ // ../node_modules/dotenv/package.json
57
57
  var require_package = __commonJS({
58
- "../node_modules/lazy-universal-dotenv/node_modules/dotenv/package.json"(exports, module) {
58
+ "../node_modules/dotenv/package.json"(exports, module) {
59
59
  module.exports = {
60
60
  name: "dotenv",
61
- version: "16.5.0",
61
+ version: "16.6.1",
62
62
  description: "Loads environment variables from .env file",
63
63
  main: "lib/main.js",
64
64
  types: "lib/main.d.ts",
@@ -81,7 +81,7 @@ var require_package = __commonJS({
81
81
  lint: "standard",
82
82
  pretest: "npm run lint && npm run dts-check",
83
83
  test: "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
84
- "test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=lcov",
84
+ "test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",
85
85
  prerelease: "npm test",
86
86
  release: "standard-version"
87
87
  },
@@ -121,9 +121,9 @@ var require_package = __commonJS({
121
121
  }
122
122
  });
123
123
 
124
- // ../node_modules/lazy-universal-dotenv/node_modules/dotenv/lib/main.js
124
+ // ../node_modules/dotenv/lib/main.js
125
125
  var require_main = __commonJS({
126
- "../node_modules/lazy-universal-dotenv/node_modules/dotenv/lib/main.js"(exports, module) {
126
+ "../node_modules/dotenv/lib/main.js"(exports, module) {
127
127
  var fs2 = __require("fs");
128
128
  var path2 = __require("path");
129
129
  var os = __require("os");
@@ -152,8 +152,10 @@ var require_main = __commonJS({
152
152
  }
153
153
  __name(parse, "parse");
154
154
  function _parseVault(options) {
155
+ options = options || {};
155
156
  const vaultPath = _vaultPath(options);
156
- const result = DotenvModule.configDotenv({ path: vaultPath });
157
+ options.path = vaultPath;
158
+ const result = DotenvModule.configDotenv(options);
157
159
  if (!result.parsed) {
158
160
  const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
159
161
  err.code = "MISSING_DATA";
@@ -185,6 +187,10 @@ var require_main = __commonJS({
185
187
  console.log(`[dotenv@${version}][DEBUG] ${message}`);
186
188
  }
187
189
  __name(_debug, "_debug");
190
+ function _log(message) {
191
+ console.log(`[dotenv@${version}] ${message}`);
192
+ }
193
+ __name(_log, "_log");
188
194
  function _dotenvKey(options) {
189
195
  if (options && options.DOTENV_KEY && options.DOTENV_KEY.length > 0) {
190
196
  return options.DOTENV_KEY;
@@ -256,8 +262,9 @@ var require_main = __commonJS({
256
262
  __name(_resolveHome, "_resolveHome");
257
263
  function _configVault(options) {
258
264
  const debug = Boolean(options && options.debug);
259
- if (debug) {
260
- _debug("Loading env from encrypted .env.vault");
265
+ const quiet = options && "quiet" in options ? options.quiet : true;
266
+ if (debug || !quiet) {
267
+ _log("Loading env from encrypted .env.vault");
261
268
  }
262
269
  const parsed = DotenvModule._parseVault(options);
263
270
  let processEnv = process.env;
@@ -272,6 +279,7 @@ var require_main = __commonJS({
272
279
  const dotenvPath = path2.resolve(process.cwd(), ".env");
273
280
  let encoding = "utf8";
274
281
  const debug = Boolean(options && options.debug);
282
+ const quiet = options && "quiet" in options ? options.quiet : true;
275
283
  if (options && options.encoding) {
276
284
  encoding = options.encoding;
277
285
  } else {
@@ -308,6 +316,22 @@ var require_main = __commonJS({
308
316
  processEnv = options.processEnv;
309
317
  }
310
318
  DotenvModule.populate(processEnv, parsedAll, options);
319
+ if (debug || !quiet) {
320
+ const keysCount = Object.keys(parsedAll).length;
321
+ const shortPaths = [];
322
+ for (const filePath of optionPaths) {
323
+ try {
324
+ const relative = path2.relative(process.cwd(), filePath);
325
+ shortPaths.push(relative);
326
+ } catch (e) {
327
+ if (debug) {
328
+ _debug(`Failed to load ${filePath} ${e.message}`);
329
+ }
330
+ lastError = e;
331
+ }
332
+ }
333
+ _log(`injecting env (${keysCount}) from ${shortPaths.join(",")}`);
334
+ }
311
335
  if (lastError) {
312
336
  return { parsed: parsedAll, error: lastError };
313
337
  } else {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_nodb7gfupnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_nodb7gfupnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_nodb7gfupnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_nodb7gfupnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_nodb7gfupnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -23,10 +23,10 @@ import {
23
23
  start,
24
24
  toEstree,
25
25
  unreachable
26
- } from "./chunk-F5J33SXQ.js";
26
+ } from "./chunk-ER2UQBIA.js";
27
27
  import {
28
28
  __name
29
- } from "./chunk-SUMFFLGF.js";
29
+ } from "./chunk-Q5IJJX3T.js";
30
30
 
31
31
  // ../node_modules/@storybook/docs-mdx/dist/mdx-N42X6CFJ.js
32
32
  import { default as default2 } from "path";
@@ -1,20 +1,86 @@
1
- import CJS_COMPAT_NODE_URL_nodb7gfupnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_nodb7gfupnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_nodb7gfupnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_nodb7gfupnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_nodb7gfupnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.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 {
13
- Queue
14
- } from "./chunk-LAUOYAOX.js";
15
12
  import {
16
13
  __name
17
- } from "./chunk-SUMFFLGF.js";
14
+ } from "./chunk-Q5IJJX3T.js";
15
+
16
+ // ../node_modules/yocto-queue/index.js
17
+ var Node = class {
18
+ static {
19
+ __name(this, "Node");
20
+ }
21
+ value;
22
+ next;
23
+ constructor(value) {
24
+ this.value = value;
25
+ }
26
+ };
27
+ var Queue = class {
28
+ static {
29
+ __name(this, "Queue");
30
+ }
31
+ #head;
32
+ #tail;
33
+ #size;
34
+ constructor() {
35
+ this.clear();
36
+ }
37
+ enqueue(value) {
38
+ const node = new Node(value);
39
+ if (this.#head) {
40
+ this.#tail.next = node;
41
+ this.#tail = node;
42
+ } else {
43
+ this.#head = node;
44
+ this.#tail = node;
45
+ }
46
+ this.#size++;
47
+ }
48
+ dequeue() {
49
+ const current = this.#head;
50
+ if (!current) {
51
+ return;
52
+ }
53
+ this.#head = this.#head.next;
54
+ this.#size--;
55
+ return current.value;
56
+ }
57
+ peek() {
58
+ if (!this.#head) {
59
+ return;
60
+ }
61
+ return this.#head.value;
62
+ }
63
+ clear() {
64
+ this.#head = void 0;
65
+ this.#tail = void 0;
66
+ this.#size = 0;
67
+ }
68
+ get size() {
69
+ return this.#size;
70
+ }
71
+ *[Symbol.iterator]() {
72
+ let current = this.#head;
73
+ while (current) {
74
+ yield current.value;
75
+ current = current.next;
76
+ }
77
+ }
78
+ *drain() {
79
+ while (this.#head) {
80
+ yield this.dequeue();
81
+ }
82
+ }
83
+ };
18
84
 
19
85
  // ../node_modules/p-limit/index.js
20
86
  function pLimit(concurrency) {
@@ -1,25 +1,25 @@
1
- import CJS_COMPAT_NODE_URL_nodb7gfupnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_nodb7gfupnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_nodb7gfupnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_nodb7gfupnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_nodb7gfupnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.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
  resolvePackageDir
14
- } from "./chunk-32JYCD74.js";
15
- import "./chunk-ICPKUV5G.js";
14
+ } from "./chunk-7QAAJL75.js";
15
+ import "./chunk-U2UIPLJI.js";
16
16
  import {
17
17
  require_dist
18
- } from "./chunk-WDKWVNL2.js";
18
+ } from "./chunk-EBLOP2C5.js";
19
19
  import {
20
20
  __name,
21
21
  __toESM
22
- } from "./chunk-SUMFFLGF.js";
22
+ } from "./chunk-Q5IJJX3T.js";
23
23
 
24
24
  // src/core-server/presets/vitePlugins/vite-inject-mocker/plugin.ts
25
25
  import { readFileSync } from "node:fs";
@@ -41,7 +41,7 @@ __name(escapeRegex, "escapeRegex");
41
41
  var import_ts_dedent = __toESM(require_dist(), 1);
42
42
  var entryPath = "/vite-inject-mocker-entry.js";
43
43
  var entryCode = import_ts_dedent.dedent`
44
- <script type="module" src="${entryPath}"></script>
44
+ <script type="module" src=".${entryPath}"></script>
45
45
  `;
46
46
  var server;
47
47
  var viteInjectMockerRuntime = /* @__PURE__ */ __name((options) => {
@@ -1,29 +1,29 @@
1
- import CJS_COMPAT_NODE_URL_nodb7gfupnb from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_nodb7gfupnb from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_nodb7gfupnb from "node:module";
1
+ import CJS_COMPAT_NODE_URL_91hxho9jtpf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_91hxho9jtpf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_91hxho9jtpf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_nodb7gfupnb.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_nodb7gfupnb.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_nodb7gfupnb.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_91hxho9jtpf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_91hxho9jtpf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_91hxho9jtpf.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
  getAutomockCode
14
- } from "./chunk-PMEEE3UE.js";
14
+ } from "./chunk-4WZFG35Z.js";
15
15
  import {
16
16
  babelParser,
17
17
  extractMockCalls,
18
18
  getRealPath,
19
19
  rewriteSbMockImportCalls
20
- } from "./chunk-3SGKBLOL.js";
20
+ } from "./chunk-UAMXREF3.js";
21
21
  import {
22
22
  normalize
23
- } from "./chunk-ICPKUV5G.js";
23
+ } from "./chunk-U2UIPLJI.js";
24
24
  import {
25
25
  __name
26
- } from "./chunk-SUMFFLGF.js";
26
+ } from "./chunk-Q5IJJX3T.js";
27
27
 
28
28
  // src/core-server/presets/vitePlugins/vite-mock/plugin.ts
29
29
  import { readFileSync } from "node:fs";