storybook 10.1.5 → 10.1.7

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 (62) hide show
  1. package/dist/_node-chunks/{builder-manager-ZXJBDRXR.js → builder-manager-EHXLCHEO.js} +13 -12
  2. package/dist/_node-chunks/{camelcase-WRTIKEO6.js → camelcase-HUGZEXJE.js} +7 -7
  3. package/dist/_node-chunks/{chunk-WYREEMWZ.js → chunk-53EBCYFK.js} +6 -6
  4. package/dist/_node-chunks/{chunk-5H7WLGZC.js → chunk-54YSFB4H.js} +7 -7
  5. package/dist/_node-chunks/{chunk-56BVIMJO.js → chunk-73HUTZ5T.js} +7 -7
  6. package/dist/_node-chunks/{chunk-GJ5FSAL5.js → chunk-AHASM5XJ.js} +6 -6
  7. package/dist/_node-chunks/{chunk-HNDTWAF5.js → chunk-BISROKGA.js} +7 -7
  8. package/dist/_node-chunks/{chunk-KYHFIXVV.js → chunk-BW4TJAUQ.js} +6 -6
  9. package/dist/_node-chunks/{chunk-RZ3SV46Y.js → chunk-DEZK7IC2.js} +20 -20
  10. package/dist/_node-chunks/chunk-EMGZAS45.js +23 -0
  11. package/dist/_node-chunks/{chunk-ZIG3SZMN.js → chunk-ESCHL7QO.js} +8 -8
  12. package/dist/_node-chunks/{chunk-VGBOM5PD.js → chunk-H5UMVQS5.js} +13 -13
  13. package/dist/_node-chunks/{chunk-3N5PBWO5.js → chunk-HKD3GHK3.js} +9 -9
  14. package/dist/_node-chunks/{chunk-FCQVKOY4.js → chunk-IFLLI53E.js} +10 -10
  15. package/dist/_node-chunks/{chunk-B2EXFXPG.js → chunk-JRNN3ATQ.js} +6 -6
  16. package/dist/_node-chunks/{chunk-PL7KUITS.js → chunk-JU44GIHO.js} +13 -13
  17. package/dist/_node-chunks/{chunk-AJ7QOTOZ.js → chunk-M25PLVWJ.js} +76 -19
  18. package/dist/_node-chunks/{chunk-CUUCEXYW.js → chunk-PFZ3OEEN.js} +6 -6
  19. package/dist/_node-chunks/chunk-R2CXAJYG.js +18 -0
  20. package/dist/_node-chunks/{chunk-WUVM2V22.js → chunk-SMIB2SPY.js} +6 -6
  21. package/dist/_node-chunks/{chunk-255LKCUD.js → chunk-TPDTDPSP.js} +6 -6
  22. package/dist/_node-chunks/{chunk-52EAUB7R.js → chunk-U4FRSSGR.js} +7 -7
  23. package/dist/_node-chunks/{chunk-QCZPELNP.js → chunk-VE2GP7PV.js} +7 -7
  24. package/dist/_node-chunks/chunk-W65P47D7.js +61 -0
  25. package/dist/_node-chunks/{chunk-SNGQFKE7.js → chunk-XLHRIY7O.js} +7 -7
  26. package/dist/_node-chunks/{chunk-C3CWELCD.js → chunk-XUGGNSQV.js} +7 -7
  27. package/dist/_node-chunks/{chunk-XPWMJEXT.js → chunk-ZER2HR4Q.js} +7 -7
  28. package/dist/_node-chunks/{chunk-ITMM32VP.js → chunk-ZQ4AATPT.js} +9 -9
  29. package/dist/_node-chunks/{chunk-FD76ZM2X.js → chunk-ZRQQOUXA.js} +8 -8
  30. package/dist/_node-chunks/{dist-XHCP6OFU.js → dist-I5B62EXZ.js} +9 -9
  31. package/dist/_node-chunks/{globby-YHL6UTMA.js → globby-VVFDARVQ.js} +9 -9
  32. package/dist/_node-chunks/{lib-RWWG7TOS.js → lib-YVG6LAMI.js} +7 -7
  33. package/dist/_node-chunks/{mdx-N42X6CFJ-ZALEYAPJ.js → mdx-N42X6CFJ-7PJHUHEH.js} +8 -8
  34. package/dist/_node-chunks/{p-limit-LLBQLQ7I.js → p-limit-IZNWVCKJ.js} +7 -7
  35. package/dist/babel/index.js +10 -10
  36. package/dist/bin/core.js +12 -12
  37. package/dist/bin/dispatcher.js +11 -11
  38. package/dist/bin/loader.js +9 -9
  39. package/dist/cli/index.d.ts +0 -1
  40. package/dist/cli/index.js +18 -18
  41. package/dist/common/index.js +19 -19
  42. package/dist/components/index.js +10 -4
  43. package/dist/core-events/index.d.ts +4 -2
  44. package/dist/core-events/index.js +4 -2
  45. package/dist/core-server/index.js +257 -631
  46. package/dist/core-server/presets/common-override-preset.js +9 -9
  47. package/dist/core-server/presets/common-preset.js +26 -28
  48. package/dist/csf-tools/index.js +9 -9
  49. package/dist/manager/globals-runtime.js +15 -7
  50. package/dist/manager/runtime.js +20 -5
  51. package/dist/manager-api/index.js +1 -1
  52. package/dist/mocking-utils/index.js +8 -8
  53. package/dist/node-logger/index.js +9 -9
  54. package/dist/preview/runtime.js +9 -3
  55. package/dist/server-errors.js +11 -11
  56. package/dist/telemetry/index.d.ts +9 -2
  57. package/dist/telemetry/index.js +27 -25
  58. package/package.json +2 -2
  59. package/dist/_node-chunks/chunk-3GJDB3VJ.js +0 -18
  60. package/dist/_node-chunks/chunk-EBMWZDZG.js +0 -23
  61. package/dist/_node-chunks/chunk-GUCJOBT7.js +0 -72
  62. package/dist/_node-chunks/chunk-VRODUWUT.js +0 -61
@@ -1,15 +1,15 @@
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";
1
+ import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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-WYREEMWZ.js";
12
+ import "./chunk-53EBCYFK.js";
13
13
 
14
14
  // ../node_modules/yocto-queue/index.js
15
15
  var Node = class {
@@ -1,10 +1,10 @@
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";
1
+ import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -22,10 +22,10 @@ import {
22
22
  recast,
23
23
  traverse,
24
24
  types
25
- } from "../_node-chunks/chunk-3N5PBWO5.js";
26
- import "../_node-chunks/chunk-C3CWELCD.js";
27
- import "../_node-chunks/chunk-56BVIMJO.js";
28
- import "../_node-chunks/chunk-WYREEMWZ.js";
25
+ } from "../_node-chunks/chunk-HKD3GHK3.js";
26
+ import "../_node-chunks/chunk-XUGGNSQV.js";
27
+ import "../_node-chunks/chunk-73HUTZ5T.js";
28
+ import "../_node-chunks/chunk-53EBCYFK.js";
29
29
  var export_transformSync = import_core.transformSync;
30
30
  export {
31
31
  BabelFileClass,
package/dist/bin/core.js CHANGED
@@ -1,32 +1,32 @@
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";
1
+ import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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 "../_node-chunks/chunk-3GJDB3VJ.js";
14
+ } from "../_node-chunks/chunk-R2CXAJYG.js";
15
15
  import {
16
16
  globalSettings
17
- } from "../_node-chunks/chunk-ITMM32VP.js";
18
- import "../_node-chunks/chunk-GJ5FSAL5.js";
17
+ } from "../_node-chunks/chunk-ZQ4AATPT.js";
18
+ import "../_node-chunks/chunk-AHASM5XJ.js";
19
19
  import {
20
20
  require_dist
21
- } from "../_node-chunks/chunk-QCZPELNP.js";
21
+ } from "../_node-chunks/chunk-VE2GP7PV.js";
22
22
  import {
23
23
  require_picocolors
24
- } from "../_node-chunks/chunk-56BVIMJO.js";
24
+ } from "../_node-chunks/chunk-73HUTZ5T.js";
25
25
  import {
26
26
  __commonJS,
27
27
  __require,
28
28
  __toESM
29
- } from "../_node-chunks/chunk-WYREEMWZ.js";
29
+ } from "../_node-chunks/chunk-53EBCYFK.js";
30
30
 
31
31
  // ../node_modules/commander/lib/error.js
32
32
  var require_error = __commonJS({
@@ -1,30 +1,30 @@
1
1
  #!/usr/bin/env node
2
- import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
3
- import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
4
- import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
2
+ import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
3
+ import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
4
+ import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
5
5
 
6
- var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
7
- var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
8
- var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
6
+ var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
7
+ var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
8
+ var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.createRequire(import.meta.url);
9
9
 
10
10
  // ------------------------------------------------------------
11
11
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
12
12
  // ------------------------------------------------------------
13
13
  import {
14
14
  versions_default
15
- } from "../_node-chunks/chunk-VRODUWUT.js";
15
+ } from "../_node-chunks/chunk-W65P47D7.js";
16
16
  import {
17
17
  resolvePackageDir
18
- } from "../_node-chunks/chunk-SNGQFKE7.js";
18
+ } from "../_node-chunks/chunk-XLHRIY7O.js";
19
19
  import {
20
20
  join
21
- } from "../_node-chunks/chunk-CUUCEXYW.js";
21
+ } from "../_node-chunks/chunk-PFZ3OEEN.js";
22
22
  import {
23
23
  require_dist
24
- } from "../_node-chunks/chunk-QCZPELNP.js";
24
+ } from "../_node-chunks/chunk-VE2GP7PV.js";
25
25
  import {
26
26
  __toESM
27
- } from "../_node-chunks/chunk-WYREEMWZ.js";
27
+ } from "../_node-chunks/chunk-53EBCYFK.js";
28
28
 
29
29
  // src/bin/dispatcher.ts
30
30
  import { pathToFileURL } from "node:url";
@@ -1,23 +1,23 @@
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";
1
+ import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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
  NODE_TARGET
14
- } from "../_node-chunks/chunk-KYHFIXVV.js";
14
+ } from "../_node-chunks/chunk-BW4TJAUQ.js";
15
15
  import {
16
16
  require_dist
17
- } from "../_node-chunks/chunk-QCZPELNP.js";
17
+ } from "../_node-chunks/chunk-VE2GP7PV.js";
18
18
  import {
19
19
  __toESM
20
- } from "../_node-chunks/chunk-WYREEMWZ.js";
20
+ } from "../_node-chunks/chunk-53EBCYFK.js";
21
21
 
22
22
  // src/bin/loader.ts
23
23
  var import_ts_dedent = __toESM(require_dist(), 1);
@@ -104,7 +104,6 @@ declare enum ProjectType {
104
104
  REACT_NATIVE = "react_native",
105
105
  REACT_NATIVE_AND_RNW = "react_native_and_rnw",
106
106
  REACT_NATIVE_WEB = "react_native_web",
107
- REACT_PROJECT = "react_project",
108
107
  REACT_SCRIPTS = "react_scripts",
109
108
  SERVER = "server",
110
109
  SOLID = "solid",
package/dist/cli/index.js CHANGED
@@ -1,10 +1,10 @@
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";
1
+ import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -33,24 +33,24 @@ import {
33
33
  readFileAsJson,
34
34
  suggestESLintPlugin,
35
35
  writeFileAsJson
36
- } from "../_node-chunks/chunk-PL7KUITS.js";
36
+ } from "../_node-chunks/chunk-JU44GIHO.js";
37
37
  import {
38
38
  detectPnp
39
- } from "../_node-chunks/chunk-EBMWZDZG.js";
39
+ } from "../_node-chunks/chunk-EMGZAS45.js";
40
40
  import {
41
41
  Settings,
42
42
  _clearGlobalSettings,
43
43
  globalSettings
44
- } from "../_node-chunks/chunk-ITMM32VP.js";
45
- import "../_node-chunks/chunk-255LKCUD.js";
46
- import "../_node-chunks/chunk-SNGQFKE7.js";
47
- import "../_node-chunks/chunk-GJ5FSAL5.js";
48
- import "../_node-chunks/chunk-CUUCEXYW.js";
49
- import "../_node-chunks/chunk-QCZPELNP.js";
50
- import "../_node-chunks/chunk-3N5PBWO5.js";
51
- import "../_node-chunks/chunk-C3CWELCD.js";
52
- import "../_node-chunks/chunk-56BVIMJO.js";
53
- import "../_node-chunks/chunk-WYREEMWZ.js";
44
+ } from "../_node-chunks/chunk-ZQ4AATPT.js";
45
+ import "../_node-chunks/chunk-TPDTDPSP.js";
46
+ import "../_node-chunks/chunk-XLHRIY7O.js";
47
+ import "../_node-chunks/chunk-AHASM5XJ.js";
48
+ import "../_node-chunks/chunk-PFZ3OEEN.js";
49
+ import "../_node-chunks/chunk-VE2GP7PV.js";
50
+ import "../_node-chunks/chunk-HKD3GHK3.js";
51
+ import "../_node-chunks/chunk-XUGGNSQV.js";
52
+ import "../_node-chunks/chunk-73HUTZ5T.js";
53
+ import "../_node-chunks/chunk-53EBCYFK.js";
54
54
  export {
55
55
  ANGULAR_JSON_PATH,
56
56
  AddonVitestService,
@@ -1,10 +1,10 @@
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";
1
+ import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
4
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);
5
+ var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -102,29 +102,29 @@ import {
102
102
  validateConfigurationFiles,
103
103
  validateFrameworkName,
104
104
  wrapValueWithGetAbsolutePathWrapper
105
- } from "../_node-chunks/chunk-RZ3SV46Y.js";
105
+ } from "../_node-chunks/chunk-DEZK7IC2.js";
106
106
  import {
107
107
  versions_default
108
- } from "../_node-chunks/chunk-VRODUWUT.js";
109
- import "../_node-chunks/chunk-XPWMJEXT.js";
110
- import "../_node-chunks/chunk-FD76ZM2X.js";
111
- import "../_node-chunks/chunk-255LKCUD.js";
108
+ } from "../_node-chunks/chunk-W65P47D7.js";
109
+ import "../_node-chunks/chunk-ZER2HR4Q.js";
110
+ import "../_node-chunks/chunk-ZRQQOUXA.js";
111
+ import "../_node-chunks/chunk-TPDTDPSP.js";
112
112
  import {
113
113
  importMetaResolve,
114
114
  importModule,
115
115
  resolvePackageDir,
116
116
  safeResolveModule
117
- } from "../_node-chunks/chunk-SNGQFKE7.js";
117
+ } from "../_node-chunks/chunk-XLHRIY7O.js";
118
118
  import {
119
119
  groupBy,
120
120
  invariant
121
- } from "../_node-chunks/chunk-GJ5FSAL5.js";
122
- import "../_node-chunks/chunk-CUUCEXYW.js";
123
- import "../_node-chunks/chunk-52EAUB7R.js";
124
- import "../_node-chunks/chunk-WUVM2V22.js";
125
- import "../_node-chunks/chunk-QCZPELNP.js";
126
- import "../_node-chunks/chunk-56BVIMJO.js";
127
- import "../_node-chunks/chunk-WYREEMWZ.js";
121
+ } from "../_node-chunks/chunk-AHASM5XJ.js";
122
+ import "../_node-chunks/chunk-PFZ3OEEN.js";
123
+ import "../_node-chunks/chunk-U4FRSSGR.js";
124
+ import "../_node-chunks/chunk-SMIB2SPY.js";
125
+ import "../_node-chunks/chunk-VE2GP7PV.js";
126
+ import "../_node-chunks/chunk-73HUTZ5T.js";
127
+ import "../_node-chunks/chunk-53EBCYFK.js";
128
128
  export {
129
129
  DEFAULT_FILES_PATTERN,
130
130
  FileSystemCache,
@@ -9439,7 +9439,10 @@ function BaseModal({
9439
9439
  shouldBeOpen && !isMounted ? toggle(!0) : !shouldBeOpen && isMounted && toggle(!1);
9440
9440
  }, [open, defaultOpen, isMounted, toggle]), useEffect4(() => {
9441
9441
  isMounted && (open || defaultOpen) && onOpenChange?.(!0);
9442
- }, [isMounted]), !isMounted || status === "exited" || status === "unmounted")
9442
+ }, [isMounted]), useEffect4(() => {
9443
+ if (isMounted && (open || defaultOpen) && overlayRef.current)
9444
+ return $5e3802645cc19319$export$1c3ebcada18427bf([overlayRef.current], { shouldUseInert: !0 });
9445
+ }, [isMounted, open, defaultOpen, overlayRef]), !isMounted || status === "exited" || status === "unmounted")
9443
9446
  return null;
9444
9447
  let finalModalProps = $3ef42575df84b30b$export$9d1611c77c2fe928(modalProps, {
9445
9448
  onKeyDown: (e) => {
@@ -10468,7 +10471,10 @@ var StyledButton3 = styled48(Button)(
10468
10471
  $e0b6e0b68ec7f50f$export$872b660ac5a1ff98({
10469
10472
  ref: popoverRef,
10470
10473
  onInteractOutside: handleClose
10471
- });
10474
+ }), useEffect7(() => {
10475
+ if (popoverRef.current)
10476
+ return $5e3802645cc19319$export$1c3ebcada18427bf([popoverRef.current], { shouldUseInert: !0 });
10477
+ }, []);
10472
10478
  let { overlayProps: positionProps } = $2a41e45df1593e64$export$d39e1813b3bdd0e1({
10473
10479
  targetRef: triggerRef,
10474
10480
  overlayRef: popoverRef,
@@ -10558,7 +10564,7 @@ var StyledButton3 = styled48(Button)(
10558
10564
  return;
10559
10565
  }
10560
10566
  let currentIndex = options.findIndex(
10561
- (option) => externalToValue(option.value) === activeOption.value
10567
+ (option) => activeOption.type === "reset" ? "type" in option && option.type === "reset" : externalToValue(option.value) === activeOption.value
10562
10568
  ), nextIndex = currentIndex + step, newActiveOption;
10563
10569
  nextIndex >= options.length && currentIndex === options.length - 1 ? newActiveOption = options[0] : newActiveOption = options[Math.min(options.length - 1, nextIndex)], setActiveOption(newActiveOption);
10564
10570
  },
@@ -10570,7 +10576,7 @@ var StyledButton3 = styled48(Button)(
10570
10576
  return;
10571
10577
  }
10572
10578
  let currentIndex = options.findIndex(
10573
- (option) => externalToValue(option.value) === activeOption.value
10579
+ (option) => activeOption.type === "reset" ? "type" in option && option.type === "reset" : externalToValue(option.value) === activeOption.value
10574
10580
  ), nextIndex = currentIndex - step, newActiveOption;
10575
10581
  nextIndex < 0 && currentIndex === 0 ? newActiveOption = options[options.length - 1] : newActiveOption = options[Math.max(0, nextIndex)], setActiveOption(newActiveOption);
10576
10582
  },
@@ -301,7 +301,8 @@ declare enum events {
301
301
  CREATE_NEW_STORYFILE_REQUEST = "createNewStoryfileRequest",
302
302
  CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse",
303
303
  OPEN_IN_EDITOR_REQUEST = "openInEditorRequest",
304
- OPEN_IN_EDITOR_RESPONSE = "openInEditorResponse"
304
+ OPEN_IN_EDITOR_RESPONSE = "openInEditorResponse",
305
+ MANAGER_INERT_ATTRIBUTE_CHANGED = "managerInertAttributeChanged"
305
306
  }
306
307
 
307
308
  declare const CHANNEL_WS_DISCONNECT: events;
@@ -364,5 +365,6 @@ declare const ARGTYPES_INFO_REQUEST: events;
364
365
  declare const ARGTYPES_INFO_RESPONSE: events;
365
366
  declare const OPEN_IN_EDITOR_REQUEST: events;
366
367
  declare const OPEN_IN_EDITOR_RESPONSE: events;
368
+ declare const MANAGER_INERT_ATTRIBUTE_CHANGED: events;
367
369
 
368
- export { ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, type ArgTypesRequestPayload, type ArgTypesResponsePayload, CHANNEL_CREATED, CHANNEL_WS_DISCONNECT, CONFIG_ERROR, CREATE_NEW_STORYFILE_REQUEST, CREATE_NEW_STORYFILE_RESPONSE, CURRENT_STORY_WAS_SET, type CreateNewStoryErrorPayload, type CreateNewStoryRequestPayload, type CreateNewStoryResponsePayload, DOCS_PREPARED, DOCS_RENDERED, FILE_COMPONENT_SEARCH_REQUEST, FILE_COMPONENT_SEARCH_RESPONSE, FORCE_REMOUNT, FORCE_RE_RENDER, type FileComponentSearchRequestPayload, type FileComponentSearchResponsePayload, GLOBALS_UPDATED, NAVIGATE_URL, OPEN_IN_EDITOR_REQUEST, OPEN_IN_EDITOR_RESPONSE, type OpenInEditorRequestPayload, type OpenInEditorResponsePayload, PLAY_FUNCTION_THREW_EXCEPTION, PRELOAD_ENTRIES, PREVIEW_BUILDER_PROGRESS, PREVIEW_INITIALIZED, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, REQUEST_WHATS_NEW_DATA, RESET_STORY_ARGS, RESULT_WHATS_NEW_DATA, type RequestData, type ResponseData, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SET_WHATS_NEW_CACHE, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_FINISHED, STORY_HOT_UPDATED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDERED, STORY_RENDER_PHASE_CHANGED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, type SaveStoryRequestPayload, type SaveStoryResponsePayload, type StoryFinishedPayload, TELEMETRY_ERROR, TOGGLE_WHATS_NEW_NOTIFICATIONS, UNHANDLED_ERRORS_WHILE_PLAYING, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, type WhatsNewCache, type WhatsNewData, events as default };
370
+ export { ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, type ArgTypesRequestPayload, type ArgTypesResponsePayload, CHANNEL_CREATED, CHANNEL_WS_DISCONNECT, CONFIG_ERROR, CREATE_NEW_STORYFILE_REQUEST, CREATE_NEW_STORYFILE_RESPONSE, CURRENT_STORY_WAS_SET, type CreateNewStoryErrorPayload, type CreateNewStoryRequestPayload, type CreateNewStoryResponsePayload, DOCS_PREPARED, DOCS_RENDERED, FILE_COMPONENT_SEARCH_REQUEST, FILE_COMPONENT_SEARCH_RESPONSE, FORCE_REMOUNT, FORCE_RE_RENDER, type FileComponentSearchRequestPayload, type FileComponentSearchResponsePayload, GLOBALS_UPDATED, MANAGER_INERT_ATTRIBUTE_CHANGED, NAVIGATE_URL, OPEN_IN_EDITOR_REQUEST, OPEN_IN_EDITOR_RESPONSE, type OpenInEditorRequestPayload, type OpenInEditorResponsePayload, PLAY_FUNCTION_THREW_EXCEPTION, PRELOAD_ENTRIES, PREVIEW_BUILDER_PROGRESS, PREVIEW_INITIALIZED, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, REQUEST_WHATS_NEW_DATA, RESET_STORY_ARGS, RESULT_WHATS_NEW_DATA, type RequestData, type ResponseData, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SET_WHATS_NEW_CACHE, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_FINISHED, STORY_HOT_UPDATED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDERED, STORY_RENDER_PHASE_CHANGED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, type SaveStoryRequestPayload, type SaveStoryResponsePayload, type StoryFinishedPayload, TELEMETRY_ERROR, TOGGLE_WHATS_NEW_NOTIFICATIONS, UNHANDLED_ERRORS_WHILE_PLAYING, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, type WhatsNewCache, type WhatsNewData, events as default };
@@ -1,7 +1,7 @@
1
1
  import "../_browser-chunks/chunk-A242L54C.js";
2
2
 
3
3
  // src/core-events/index.ts
4
- var events = /* @__PURE__ */ ((events2) => (events2.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", events2.CHANNEL_CREATED = "channelCreated", events2.CONFIG_ERROR = "configError", events2.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", events2.STORY_SPECIFIED = "storySpecified", events2.SET_CONFIG = "setConfig", events2.SET_STORIES = "setStories", events2.SET_INDEX = "setIndex", events2.SET_CURRENT_STORY = "setCurrentStory", events2.CURRENT_STORY_WAS_SET = "currentStoryWasSet", events2.FORCE_RE_RENDER = "forceReRender", events2.FORCE_REMOUNT = "forceRemount", events2.PRELOAD_ENTRIES = "preloadStories", events2.STORY_PREPARED = "storyPrepared", events2.DOCS_PREPARED = "docsPrepared", events2.STORY_CHANGED = "storyChanged", events2.STORY_UNCHANGED = "storyUnchanged", events2.STORY_RENDERED = "storyRendered", events2.STORY_FINISHED = "storyFinished", events2.STORY_MISSING = "storyMissing", events2.STORY_ERRORED = "storyErrored", events2.STORY_THREW_EXCEPTION = "storyThrewException", events2.STORY_RENDER_PHASE_CHANGED = "storyRenderPhaseChanged", events2.STORY_HOT_UPDATED = "storyHotUpdated", events2.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", events2.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErrorsWhilePlaying", events2.UPDATE_STORY_ARGS = "updateStoryArgs", events2.STORY_ARGS_UPDATED = "storyArgsUpdated", events2.RESET_STORY_ARGS = "resetStoryArgs", events2.SET_FILTER = "setFilter", events2.SET_GLOBALS = "setGlobals", events2.UPDATE_GLOBALS = "updateGlobals", events2.GLOBALS_UPDATED = "globalsUpdated", events2.REGISTER_SUBSCRIPTION = "registerSubscription", events2.PREVIEW_INITIALIZED = "previewInitialized", events2.PREVIEW_KEYDOWN = "previewKeydown", events2.PREVIEW_BUILDER_PROGRESS = "preview_builder_progress", events2.SELECT_STORY = "selectStory", events2.STORIES_COLLAPSE_ALL = "storiesCollapseAll", events2.STORIES_EXPAND_ALL = "storiesExpandAll", events2.DOCS_RENDERED = "docsRendered", events2.SHARED_STATE_CHANGED = "sharedStateChanged", events2.SHARED_STATE_SET = "sharedStateSet", events2.NAVIGATE_URL = "navigateUrl", events2.UPDATE_QUERY_PARAMS = "updateQueryParams", events2.REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", events2.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", events2.SET_WHATS_NEW_CACHE = "setWhatsNewCache", events2.TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", events2.TELEMETRY_ERROR = "telemetryError", events2.FILE_COMPONENT_SEARCH_REQUEST = "fileComponentSearchRequest", events2.FILE_COMPONENT_SEARCH_RESPONSE = "fileComponentSearchResponse", events2.SAVE_STORY_REQUEST = "saveStoryRequest", events2.SAVE_STORY_RESPONSE = "saveStoryResponse", events2.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", events2.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", events2.CREATE_NEW_STORYFILE_REQUEST = "createNewStoryfileRequest", events2.CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", events2.OPEN_IN_EDITOR_REQUEST = "openInEditorRequest", events2.OPEN_IN_EDITOR_RESPONSE = "openInEditorResponse", events2))(events || {}), core_events_default = events, {
4
+ var events = /* @__PURE__ */ ((events2) => (events2.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", events2.CHANNEL_CREATED = "channelCreated", events2.CONFIG_ERROR = "configError", events2.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", events2.STORY_SPECIFIED = "storySpecified", events2.SET_CONFIG = "setConfig", events2.SET_STORIES = "setStories", events2.SET_INDEX = "setIndex", events2.SET_CURRENT_STORY = "setCurrentStory", events2.CURRENT_STORY_WAS_SET = "currentStoryWasSet", events2.FORCE_RE_RENDER = "forceReRender", events2.FORCE_REMOUNT = "forceRemount", events2.PRELOAD_ENTRIES = "preloadStories", events2.STORY_PREPARED = "storyPrepared", events2.DOCS_PREPARED = "docsPrepared", events2.STORY_CHANGED = "storyChanged", events2.STORY_UNCHANGED = "storyUnchanged", events2.STORY_RENDERED = "storyRendered", events2.STORY_FINISHED = "storyFinished", events2.STORY_MISSING = "storyMissing", events2.STORY_ERRORED = "storyErrored", events2.STORY_THREW_EXCEPTION = "storyThrewException", events2.STORY_RENDER_PHASE_CHANGED = "storyRenderPhaseChanged", events2.STORY_HOT_UPDATED = "storyHotUpdated", events2.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", events2.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErrorsWhilePlaying", events2.UPDATE_STORY_ARGS = "updateStoryArgs", events2.STORY_ARGS_UPDATED = "storyArgsUpdated", events2.RESET_STORY_ARGS = "resetStoryArgs", events2.SET_FILTER = "setFilter", events2.SET_GLOBALS = "setGlobals", events2.UPDATE_GLOBALS = "updateGlobals", events2.GLOBALS_UPDATED = "globalsUpdated", events2.REGISTER_SUBSCRIPTION = "registerSubscription", events2.PREVIEW_INITIALIZED = "previewInitialized", events2.PREVIEW_KEYDOWN = "previewKeydown", events2.PREVIEW_BUILDER_PROGRESS = "preview_builder_progress", events2.SELECT_STORY = "selectStory", events2.STORIES_COLLAPSE_ALL = "storiesCollapseAll", events2.STORIES_EXPAND_ALL = "storiesExpandAll", events2.DOCS_RENDERED = "docsRendered", events2.SHARED_STATE_CHANGED = "sharedStateChanged", events2.SHARED_STATE_SET = "sharedStateSet", events2.NAVIGATE_URL = "navigateUrl", events2.UPDATE_QUERY_PARAMS = "updateQueryParams", events2.REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", events2.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", events2.SET_WHATS_NEW_CACHE = "setWhatsNewCache", events2.TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", events2.TELEMETRY_ERROR = "telemetryError", events2.FILE_COMPONENT_SEARCH_REQUEST = "fileComponentSearchRequest", events2.FILE_COMPONENT_SEARCH_RESPONSE = "fileComponentSearchResponse", events2.SAVE_STORY_REQUEST = "saveStoryRequest", events2.SAVE_STORY_RESPONSE = "saveStoryResponse", events2.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", events2.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", events2.CREATE_NEW_STORYFILE_REQUEST = "createNewStoryfileRequest", events2.CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", events2.OPEN_IN_EDITOR_REQUEST = "openInEditorRequest", events2.OPEN_IN_EDITOR_RESPONSE = "openInEditorResponse", events2.MANAGER_INERT_ATTRIBUTE_CHANGED = "managerInertAttributeChanged", events2))(events || {}), core_events_default = events, {
5
5
  CHANNEL_WS_DISCONNECT,
6
6
  CHANNEL_CREATED,
7
7
  CONFIG_ERROR,
@@ -61,7 +61,8 @@ var events = /* @__PURE__ */ ((events2) => (events2.CHANNEL_WS_DISCONNECT = "cha
61
61
  ARGTYPES_INFO_REQUEST,
62
62
  ARGTYPES_INFO_RESPONSE,
63
63
  OPEN_IN_EDITOR_REQUEST,
64
- OPEN_IN_EDITOR_RESPONSE
64
+ OPEN_IN_EDITOR_RESPONSE,
65
+ MANAGER_INERT_ATTRIBUTE_CHANGED
65
66
  } = events;
66
67
  export {
67
68
  ARGTYPES_INFO_REQUEST,
@@ -79,6 +80,7 @@ export {
79
80
  FORCE_REMOUNT,
80
81
  FORCE_RE_RENDER,
81
82
  GLOBALS_UPDATED,
83
+ MANAGER_INERT_ATTRIBUTE_CHANGED,
82
84
  NAVIGATE_URL,
83
85
  OPEN_IN_EDITOR_REQUEST,
84
86
  OPEN_IN_EDITOR_RESPONSE,