storybook 10.2.0-alpha.4 → 10.2.0-alpha.6

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 (67) hide show
  1. package/dist/_browser-chunks/{chunk-HX32VQZR.js → chunk-KTOLYKZY.js} +1 -1
  2. package/dist/_browser-chunks/{chunk-6QKNWBQB.js → chunk-LOTN4ZCW.js} +14 -10
  3. package/dist/_node-chunks/{builder-manager-UYH5WXWQ.js → builder-manager-SRWOH6O7.js} +13 -12
  4. package/dist/_node-chunks/{camelcase-VC2MI4D3.js → camelcase-IPCCDY4U.js} +7 -7
  5. package/dist/_node-chunks/{chunk-X6TQDZZW.js → chunk-2BHMURQI.js} +6 -6
  6. package/dist/_node-chunks/chunk-2WJTWJRY.js +20 -0
  7. package/dist/_node-chunks/chunk-3SDF3TBW.js +18 -0
  8. package/dist/_node-chunks/{chunk-OW656GJO.js → chunk-5U7Q4G4A.js} +13 -13
  9. package/dist/_node-chunks/{chunk-KLBUL53W.js → chunk-5UF6URLY.js} +7 -7
  10. package/dist/_node-chunks/{chunk-2LVUTXDF.js → chunk-62HH4XOF.js} +6 -6
  11. package/dist/_node-chunks/chunk-6COWUVY6.js +23 -0
  12. package/dist/_node-chunks/{chunk-HATD2DIT.js → chunk-7YD5E5Y5.js} +7 -7
  13. package/dist/_node-chunks/{chunk-THYQIUTI.js → chunk-AQ5XNGJR.js} +7 -7
  14. package/dist/_node-chunks/chunk-GE3TP4E7.js +61 -0
  15. package/dist/_node-chunks/{chunk-S3WG5D7I.js → chunk-GJU4KX6X.js} +7 -7
  16. package/dist/_node-chunks/{chunk-6DSSKDEB.js → chunk-HQCIQ33W.js} +6 -6
  17. package/dist/_node-chunks/{chunk-WI5ZJAAJ.js → chunk-IBLK5VBI.js} +7 -7
  18. package/dist/_node-chunks/{chunk-5IKN22PK.js → chunk-IFCVXOGP.js} +9 -9
  19. package/dist/_node-chunks/{chunk-VJ5C7NTM.js → chunk-J4ASSZ5N.js} +20 -20
  20. package/dist/_node-chunks/{chunk-I6C74YGE.js → chunk-JCHPJOPI.js} +8 -8
  21. package/dist/_node-chunks/{chunk-3SB46FMB.js → chunk-OKIXNWVU.js} +8 -8
  22. package/dist/_node-chunks/{chunk-CSLYLE5Z.js → chunk-PI4OGMRN.js} +6 -6
  23. package/dist/_node-chunks/{chunk-5Y2B5Y2I.js → chunk-QNHQNNV2.js} +9 -9
  24. package/dist/_node-chunks/{chunk-NCENIJPW.js → chunk-RMPSZ2MA.js} +7 -7
  25. package/dist/_node-chunks/{chunk-AEF4OCMB.js → chunk-T53OKK5L.js} +7 -7
  26. package/dist/_node-chunks/{chunk-6XCE5DKF.js → chunk-TNAUD72T.js} +6 -6
  27. package/dist/_node-chunks/{chunk-BRVASHE4.js → chunk-VUL47RCU.js} +13 -13
  28. package/dist/_node-chunks/{chunk-OBFKPAHB.js → chunk-XKPOBYPY.js} +10 -10
  29. package/dist/_node-chunks/{chunk-BXGPI53U.js → chunk-YH2VABDS.js} +6 -6
  30. package/dist/_node-chunks/{chunk-VHJPAZFZ.js → chunk-YIC767NR.js} +7 -7
  31. package/dist/_node-chunks/{chunk-EGGWMXFM.js → chunk-YSCJXVR2.js} +7 -7
  32. package/dist/_node-chunks/{chunk-6RZ6ESPF.js → chunk-ZFBKUCCD.js} +12 -12
  33. package/dist/_node-chunks/{dist-ZK2DO62Y.js → dist-JJEWCMVH.js} +9 -9
  34. package/dist/_node-chunks/{globby-3NVGNGRX.js → globby-VLMVNFI7.js} +9 -9
  35. package/dist/_node-chunks/{lib-ALOTNL3B.js → lib-FXIHPQYY.js} +7 -7
  36. package/dist/_node-chunks/{mdx-N42X6CFJ-AVHGVFIO.js → mdx-N42X6CFJ-MYO6PQF5.js} +8 -8
  37. package/dist/_node-chunks/{p-limit-JMHEGI5E.js → p-limit-OTUUNSPQ.js} +7 -7
  38. package/dist/babel/index.js +10 -10
  39. package/dist/bin/core.js +12 -12
  40. package/dist/bin/dispatcher.js +11 -11
  41. package/dist/bin/loader.js +9 -9
  42. package/dist/cli/index.js +18 -18
  43. package/dist/common/index.js +19 -19
  44. package/dist/components/index.js +11 -5
  45. package/dist/core-events/index.d.ts +4 -2
  46. package/dist/core-events/index.js +4 -2
  47. package/dist/core-server/index.js +35 -35
  48. package/dist/core-server/presets/common-manager.js +49 -28
  49. package/dist/core-server/presets/common-override-preset.js +9 -9
  50. package/dist/core-server/presets/common-preset.js +25 -25
  51. package/dist/csf/index.js +2 -2
  52. package/dist/csf-tools/index.js +9 -9
  53. package/dist/docs-tools/index.js +1 -1
  54. package/dist/manager/globals-runtime.js +16 -8
  55. package/dist/manager/runtime.js +23 -8
  56. package/dist/manager-api/index.js +1 -1
  57. package/dist/mocking-utils/index.js +8 -8
  58. package/dist/node-logger/index.js +9 -9
  59. package/dist/preview/runtime.js +9 -3
  60. package/dist/preview-api/index.js +2 -2
  61. package/dist/server-errors.js +11 -11
  62. package/dist/telemetry/index.js +23 -23
  63. package/package.json +1 -1
  64. package/dist/_node-chunks/chunk-2ZQ6Y2UX.js +0 -18
  65. package/dist/_node-chunks/chunk-ATFXKLVA.js +0 -61
  66. package/dist/_node-chunks/chunk-IXZ54TG6.js +0 -20
  67. package/dist/_node-chunks/chunk-JUQFZI7H.js +0 -23
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  SNIPPET_RENDERED,
11
11
  combineParameters
12
- } from "./chunk-6QKNWBQB.js";
12
+ } from "./chunk-LOTN4ZCW.js";
13
13
  import {
14
14
  invariant
15
15
  } from "./chunk-IWQGIXJS.js";
@@ -2115,7 +2115,7 @@ var SIGNATURE_REGEXP = /^\(.*\) => /, convert2 = (type) => {
2115
2115
 
2116
2116
  // src/docs-tools/argTypes/convert/typescript/convert.ts
2117
2117
  import { UnknownArgTypesError as UnknownArgTypesError2 } from "storybook/internal/preview-errors";
2118
- var convertSig2 = (type) => {
2118
+ var isLiteral2 = (type) => type.name === "literal", isUndefined = (type) => type.name === "undefined", convertSig2 = (type) => {
2119
2119
  switch (type.type) {
2120
2120
  case "function":
2121
2121
  return { name: "function" };
@@ -2142,16 +2142,20 @@ var convertSig2 = (type) => {
2142
2142
  return { ...base, name: "array", value: type.elements.map(convert3) };
2143
2143
  case "signature":
2144
2144
  return { ...base, ...convertSig2(type) };
2145
- case "union":
2146
- let result;
2147
- return type.elements?.every((element) => element.name === "literal") ? result = {
2148
- ...base,
2149
- name: "enum",
2150
- // @ts-expect-error fix types
2151
- value: type.elements?.map((v) => parseLiteral(v.value))
2152
- } : result = { ...base, name, value: type.elements?.map(convert3) }, result;
2145
+ case "union": {
2146
+ let nonUndefinedElements = type.elements.filter((element) => !isUndefined(element));
2147
+ if (nonUndefinedElements.length > 0 && nonUndefinedElements.every(isLiteral2)) {
2148
+ let literalElements = nonUndefinedElements.filter(isLiteral2);
2149
+ return {
2150
+ ...base,
2151
+ name: "enum",
2152
+ value: literalElements.map((element) => parseLiteral(element.value))
2153
+ };
2154
+ }
2155
+ return { ...base, name, value: type.elements.map(convert3) };
2156
+ }
2153
2157
  case "intersection":
2154
- return { ...base, name, value: type.elements?.map(convert3) };
2158
+ return { ...base, name, value: type.elements.map(convert3) };
2155
2159
  default:
2156
2160
  return { ...base, name: "other", value: name };
2157
2161
  }
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,26 +13,26 @@ import {
13
13
  BROWSER_TARGETS,
14
14
  NODE_TARGET,
15
15
  SUPPORTED_FEATURES
16
- } from "./chunk-6DSSKDEB.js";
16
+ } from "./chunk-HQCIQ33W.js";
17
17
  import {
18
18
  require_build
19
- } from "./chunk-S3WG5D7I.js";
19
+ } from "./chunk-GJU4KX6X.js";
20
20
  import {
21
21
  resolveModulePath,
22
22
  resolvePackageDir
23
- } from "./chunk-NCENIJPW.js";
23
+ } from "./chunk-RMPSZ2MA.js";
24
24
  import {
25
25
  join,
26
26
  parse
27
- } from "./chunk-CSLYLE5Z.js";
27
+ } from "./chunk-PI4OGMRN.js";
28
28
  import {
29
29
  slash
30
- } from "./chunk-IXZ54TG6.js";
30
+ } from "./chunk-2WJTWJRY.js";
31
31
  import {
32
32
  __commonJS,
33
33
  __require,
34
34
  __toESM
35
- } from "./chunk-2LVUTXDF.js";
35
+ } from "./chunk-62HH4XOF.js";
36
36
 
37
37
  // ../../node_modules/ejs/lib/utils.js
38
38
  var require_utils = __commonJS({
@@ -1153,6 +1153,7 @@ var exports_default = {
1153
1153
  "FORCE_REMOUNT",
1154
1154
  "FORCE_RE_RENDER",
1155
1155
  "GLOBALS_UPDATED",
1156
+ "MANAGER_INERT_ATTRIBUTE_CHANGED",
1156
1157
  "NAVIGATE_URL",
1157
1158
  "OPEN_IN_EDITOR_REQUEST",
1158
1159
  "OPEN_IN_EDITOR_RESPONSE",
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "./chunk-2LVUTXDF.js";
12
+ import "./chunk-62HH4XOF.js";
13
13
 
14
14
  // ../../node_modules/camelcase/index.js
15
15
  var UPPERCASE = /[\p{Lu}]/u, LOWERCASE = /[\p{Ll}]/u, LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, SEPARATORS = /[_.\- ]+/, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp("\\d+" + IDENTIFIER.source, "gu"), preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -0,0 +1,20 @@
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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
+ };
@@ -0,0 +1,18 @@
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
8
+
9
+ // ------------------------------------------------------------
10
+ // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
+ // ------------------------------------------------------------
12
+
13
+ // package.json
14
+ var version = "10.2.0-alpha.6";
15
+
16
+ export {
17
+ version
18
+ };
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  version
14
- } from "./chunk-2ZQ6Y2UX.js";
14
+ } from "./chunk-3SDF3TBW.js";
15
15
  import {
16
16
  createFileSystemCache,
17
17
  execa,
@@ -19,25 +19,25 @@ import {
19
19
  getProjectRoot,
20
20
  resolvePathInStorybookCache,
21
21
  up
22
- } from "./chunk-VJ5C7NTM.js";
22
+ } from "./chunk-J4ASSZ5N.js";
23
23
  import {
24
24
  getSessionId,
25
25
  nanoid,
26
26
  set
27
- } from "./chunk-HATD2DIT.js";
27
+ } from "./chunk-7YD5E5Y5.js";
28
28
  import {
29
29
  globalSettings
30
- } from "./chunk-5IKN22PK.js";
30
+ } from "./chunk-IFCVXOGP.js";
31
31
  import {
32
32
  resolvePackageDir
33
- } from "./chunk-NCENIJPW.js";
33
+ } from "./chunk-RMPSZ2MA.js";
34
34
  import {
35
35
  slash
36
- } from "./chunk-IXZ54TG6.js";
36
+ } from "./chunk-2WJTWJRY.js";
37
37
  import {
38
38
  __commonJS,
39
39
  __toESM
40
- } from "./chunk-2LVUTXDF.js";
40
+ } from "./chunk-62HH4XOF.js";
41
41
 
42
42
  // ../../node_modules/fetch-retry/index.js
43
43
  var require_fetch_retry = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_uzmhoq39aog.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __toESM
15
- } from "./chunk-2LVUTXDF.js";
15
+ } from "./chunk-62HH4XOF.js";
16
16
 
17
17
  // ../../node_modules/balanced-match/index.js
18
18
  var require_balanced_match = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -0,0 +1,23 @@
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
8
+
9
+ // ------------------------------------------------------------
10
+ // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
+ // ------------------------------------------------------------
12
+ import {
13
+ any
14
+ } from "./chunk-YH2VABDS.js";
15
+
16
+ // src/cli/detect.ts
17
+ async function detectPnp() {
18
+ return !!any([".pnp.js", ".pnp.cjs"]);
19
+ }
20
+
21
+ export {
22
+ detectPnp
23
+ };
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -16,7 +16,7 @@ var operation = Promise.resolve(), setHelper = async (eventType, body) => {
16
16
  let lastEvents = await cache.get("lastEvents") || {};
17
17
  lastEvents[eventType] = { body, timestamp: Date.now() }, await cache.set("lastEvents", lastEvents);
18
18
  }, set = async (eventType, body) => (await operation, operation = setHelper(eventType, body), operation);
19
- var getLastEvents = async () => await cache.get("lastEvents") || {}, upgradeFields = (event) => {
19
+ var getLastEvents = async () => (await operation, await cache.get("lastEvents") || {}), upgradeFields = (event) => {
20
20
  let { body, timestamp } = event;
21
21
  return {
22
22
  timestamp,
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-2LVUTXDF.js";
14
+ } from "./chunk-62HH4XOF.js";
15
15
 
16
16
  // ../../node_modules/ts-dedent/dist/index.js
17
17
  var require_dist = __commonJS({
@@ -0,0 +1,61 @@
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
8
+
9
+ // ------------------------------------------------------------
10
+ // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
+ // ------------------------------------------------------------
12
+
13
+ // src/common/versions.ts
14
+ var versions_default = {
15
+ "@storybook/addon-a11y": "10.2.0-alpha.6",
16
+ "@storybook/addon-docs": "10.2.0-alpha.6",
17
+ "@storybook/addon-links": "10.2.0-alpha.6",
18
+ "@storybook/addon-onboarding": "10.2.0-alpha.6",
19
+ "storybook-addon-pseudo-states": "10.2.0-alpha.6",
20
+ "@storybook/addon-themes": "10.2.0-alpha.6",
21
+ "@storybook/addon-vitest": "10.2.0-alpha.6",
22
+ "@storybook/builder-vite": "10.2.0-alpha.6",
23
+ "@storybook/builder-webpack5": "10.2.0-alpha.6",
24
+ storybook: "10.2.0-alpha.6",
25
+ "@storybook/angular": "10.2.0-alpha.6",
26
+ "@storybook/ember": "10.2.0-alpha.6",
27
+ "@storybook/html-vite": "10.2.0-alpha.6",
28
+ "@storybook/nextjs": "10.2.0-alpha.6",
29
+ "@storybook/nextjs-vite": "10.2.0-alpha.6",
30
+ "@storybook/preact-vite": "10.2.0-alpha.6",
31
+ "@storybook/react-native-web-vite": "10.2.0-alpha.6",
32
+ "@storybook/react-vite": "10.2.0-alpha.6",
33
+ "@storybook/react-webpack5": "10.2.0-alpha.6",
34
+ "@storybook/server-webpack5": "10.2.0-alpha.6",
35
+ "@storybook/svelte-vite": "10.2.0-alpha.6",
36
+ "@storybook/sveltekit": "10.2.0-alpha.6",
37
+ "@storybook/vue3-vite": "10.2.0-alpha.6",
38
+ "@storybook/web-components-vite": "10.2.0-alpha.6",
39
+ sb: "10.2.0-alpha.6",
40
+ "@storybook/cli": "10.2.0-alpha.6",
41
+ "@storybook/codemod": "10.2.0-alpha.6",
42
+ "@storybook/core-webpack": "10.2.0-alpha.6",
43
+ "create-storybook": "10.2.0-alpha.6",
44
+ "@storybook/csf-plugin": "10.2.0-alpha.6",
45
+ "eslint-plugin-storybook": "10.2.0-alpha.6",
46
+ "@storybook/react-dom-shim": "10.2.0-alpha.6",
47
+ "@storybook/preset-create-react-app": "10.2.0-alpha.6",
48
+ "@storybook/preset-react-webpack": "10.2.0-alpha.6",
49
+ "@storybook/preset-server-webpack": "10.2.0-alpha.6",
50
+ "@storybook/html": "10.2.0-alpha.6",
51
+ "@storybook/preact": "10.2.0-alpha.6",
52
+ "@storybook/react": "10.2.0-alpha.6",
53
+ "@storybook/server": "10.2.0-alpha.6",
54
+ "@storybook/svelte": "10.2.0-alpha.6",
55
+ "@storybook/vue3": "10.2.0-alpha.6",
56
+ "@storybook/web-components": "10.2.0-alpha.6"
57
+ };
58
+
59
+ export {
60
+ versions_default
61
+ };
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_uzmhoq39aog.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __require
15
- } from "./chunk-2LVUTXDF.js";
15
+ } from "./chunk-62HH4XOF.js";
16
16
 
17
17
  // ../../node_modules/totalist/sync/index.js
18
18
  var require_sync = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_uzmhoq39aog.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __require
15
- } from "./chunk-2LVUTXDF.js";
15
+ } from "./chunk-62HH4XOF.js";
16
16
 
17
17
  // ../../node_modules/picomatch/lib/constants.js
18
18
  var require_constants = __commonJS({
@@ -1,24 +1,24 @@
1
- import CJS_COMPAT_NODE_URL_uzmhoq39aog from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_uzmhoq39aog from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_uzmhoq39aog from "node:module";
1
+ import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_uzmhoq39aog.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_uzmhoq39aog.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_uzmhoq39aog.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-X6TQDZZW.js";
14
+ } from "./chunk-2BHMURQI.js";
15
15
  import {
16
16
  require_dist
17
- } from "./chunk-THYQIUTI.js";
17
+ } from "./chunk-AQ5XNGJR.js";
18
18
  import {
19
19
  __export,
20
20
  __toESM
21
- } from "./chunk-2LVUTXDF.js";
21
+ } from "./chunk-62HH4XOF.js";
22
22
 
23
23
  // src/cli/globalSettings.ts
24
24
  var import_ts_dedent = __toESM(require_dist(), 1);