storybook 10.1.5 → 10.1.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 (61) hide show
  1. package/dist/_node-chunks/{builder-manager-ZXJBDRXR.js → builder-manager-IP6Y4NMN.js} +13 -12
  2. package/dist/_node-chunks/{camelcase-WRTIKEO6.js → camelcase-GHUGWSTC.js} +7 -7
  3. package/dist/_node-chunks/{chunk-WUVM2V22.js → chunk-2LMXIXHU.js} +6 -6
  4. package/dist/_node-chunks/{chunk-C3CWELCD.js → chunk-32COQDL3.js} +7 -7
  5. package/dist/_node-chunks/{chunk-B2EXFXPG.js → chunk-4E7PJV6F.js} +6 -6
  6. package/dist/_node-chunks/chunk-5AYMJEEI.js +23 -0
  7. package/dist/_node-chunks/{chunk-KYHFIXVV.js → chunk-6IODXQ5I.js} +6 -6
  8. package/dist/_node-chunks/{chunk-ITMM32VP.js → chunk-6X7LVWWF.js} +9 -9
  9. package/dist/_node-chunks/{chunk-AJ7QOTOZ.js → chunk-7SZ6I5FR.js} +13 -13
  10. package/dist/_node-chunks/{chunk-VGBOM5PD.js → chunk-BV46V7UA.js} +13 -13
  11. package/dist/_node-chunks/{chunk-QCZPELNP.js → chunk-CQ7X72BT.js} +7 -7
  12. package/dist/_node-chunks/{chunk-56BVIMJO.js → chunk-FZPYAEAL.js} +7 -7
  13. package/dist/_node-chunks/{chunk-PL7KUITS.js → chunk-IIIZ5MXT.js} +12 -12
  14. package/dist/_node-chunks/{chunk-GUCJOBT7.js → chunk-IMSWW5XU.js} +7 -7
  15. package/dist/_node-chunks/{chunk-ZIG3SZMN.js → chunk-KPTRKV7Y.js} +8 -8
  16. package/dist/_node-chunks/{chunk-HNDTWAF5.js → chunk-LJZQUQY3.js} +7 -7
  17. package/dist/_node-chunks/{chunk-52EAUB7R.js → chunk-M4UXZ375.js} +7 -7
  18. package/dist/_node-chunks/{chunk-CUUCEXYW.js → chunk-MBCK5AH4.js} +6 -6
  19. package/dist/_node-chunks/{chunk-3N5PBWO5.js → chunk-MTQLLXLU.js} +9 -9
  20. package/dist/_node-chunks/{chunk-SNGQFKE7.js → chunk-MZPY44R3.js} +7 -7
  21. package/dist/_node-chunks/{chunk-FCQVKOY4.js → chunk-NDRJR464.js} +10 -10
  22. package/dist/_node-chunks/{chunk-5H7WLGZC.js → chunk-OIIAKMWN.js} +7 -7
  23. package/dist/_node-chunks/chunk-PUOD3HAQ.js +18 -0
  24. package/dist/_node-chunks/{chunk-GJ5FSAL5.js → chunk-QAHNTAID.js} +6 -6
  25. package/dist/_node-chunks/{chunk-RZ3SV46Y.js → chunk-T4NL27CC.js} +20 -20
  26. package/dist/_node-chunks/{chunk-FD76ZM2X.js → chunk-V4R3AYR4.js} +8 -8
  27. package/dist/_node-chunks/{chunk-XPWMJEXT.js → chunk-WIXJW6LA.js} +7 -7
  28. package/dist/_node-chunks/{chunk-WYREEMWZ.js → chunk-YKVDPPMP.js} +6 -6
  29. package/dist/_node-chunks/chunk-ZQTC4IMW.js +61 -0
  30. package/dist/_node-chunks/{chunk-255LKCUD.js → chunk-ZZGFJUT5.js} +6 -6
  31. package/dist/_node-chunks/{dist-XHCP6OFU.js → dist-N6JBF72Y.js} +9 -9
  32. package/dist/_node-chunks/{globby-YHL6UTMA.js → globby-EBHKFBTA.js} +9 -9
  33. package/dist/_node-chunks/{lib-RWWG7TOS.js → lib-VKFW2NW5.js} +7 -7
  34. package/dist/_node-chunks/{mdx-N42X6CFJ-ZALEYAPJ.js → mdx-N42X6CFJ-GUFWY7P5.js} +8 -8
  35. package/dist/_node-chunks/{p-limit-LLBQLQ7I.js → p-limit-5QMUSCN6.js} +7 -7
  36. package/dist/babel/index.js +10 -10
  37. package/dist/bin/core.js +12 -12
  38. package/dist/bin/dispatcher.js +11 -11
  39. package/dist/bin/loader.js +9 -9
  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 +33 -33
  46. package/dist/core-server/presets/common-override-preset.js +9 -9
  47. package/dist/core-server/presets/common-preset.js +25 -25
  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/preview-api/index.d.ts +67 -68
  56. package/dist/server-errors.js +11 -11
  57. package/dist/telemetry/index.js +23 -23
  58. package/package.json +1 -1
  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-VRODUWUT.js +0 -61
@@ -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_u12tm8drdom from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_u12tm8drdom from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_u12tm8drdom 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_u12tm8drdom.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_u12tm8drdom.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_u12tm8drdom.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-6IODXQ5I.js";
15
15
  import {
16
16
  require_dist
17
- } from "../_node-chunks/chunk-QCZPELNP.js";
17
+ } from "../_node-chunks/chunk-CQ7X72BT.js";
18
18
  import {
19
19
  __toESM
20
- } from "../_node-chunks/chunk-WYREEMWZ.js";
20
+ } from "../_node-chunks/chunk-YKVDPPMP.js";
21
21
 
22
22
  // src/bin/loader.ts
23
23
  var import_ts_dedent = __toESM(require_dist(), 1);
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_u12tm8drdom from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_u12tm8drdom from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_u12tm8drdom 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_u12tm8drdom.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_u12tm8drdom.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_u12tm8drdom.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-IIIZ5MXT.js";
37
37
  import {
38
38
  detectPnp
39
- } from "../_node-chunks/chunk-EBMWZDZG.js";
39
+ } from "../_node-chunks/chunk-5AYMJEEI.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-6X7LVWWF.js";
45
+ import "../_node-chunks/chunk-ZZGFJUT5.js";
46
+ import "../_node-chunks/chunk-MZPY44R3.js";
47
+ import "../_node-chunks/chunk-QAHNTAID.js";
48
+ import "../_node-chunks/chunk-MBCK5AH4.js";
49
+ import "../_node-chunks/chunk-CQ7X72BT.js";
50
+ import "../_node-chunks/chunk-MTQLLXLU.js";
51
+ import "../_node-chunks/chunk-32COQDL3.js";
52
+ import "../_node-chunks/chunk-FZPYAEAL.js";
53
+ import "../_node-chunks/chunk-YKVDPPMP.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_u12tm8drdom from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_u12tm8drdom from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_u12tm8drdom 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_u12tm8drdom.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_u12tm8drdom.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_u12tm8drdom.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-T4NL27CC.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-ZQTC4IMW.js";
109
+ import "../_node-chunks/chunk-WIXJW6LA.js";
110
+ import "../_node-chunks/chunk-V4R3AYR4.js";
111
+ import "../_node-chunks/chunk-ZZGFJUT5.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-MZPY44R3.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-QAHNTAID.js";
122
+ import "../_node-chunks/chunk-MBCK5AH4.js";
123
+ import "../_node-chunks/chunk-M4UXZ375.js";
124
+ import "../_node-chunks/chunk-2LMXIXHU.js";
125
+ import "../_node-chunks/chunk-CQ7X72BT.js";
126
+ import "../_node-chunks/chunk-FZPYAEAL.js";
127
+ import "../_node-chunks/chunk-YKVDPPMP.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,
@@ -1,17 +1,17 @@
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_u12tm8drdom from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_u12tm8drdom from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_u12tm8drdom 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_u12tm8drdom.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_u12tm8drdom.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_u12tm8drdom.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
  StatusTypeIdMismatchError
14
- } from "../_node-chunks/chunk-FCQVKOY4.js";
14
+ } from "../_node-chunks/chunk-NDRJR464.js";
15
15
  import {
16
16
  debounce,
17
17
  getErrorLevel,
@@ -21,66 +21,66 @@ import {
21
21
  sendTelemetryError,
22
22
  useStatics,
23
23
  withTelemetry
24
- } from "../_node-chunks/chunk-VGBOM5PD.js";
25
- import "../_node-chunks/chunk-5H7WLGZC.js";
24
+ } from "../_node-chunks/chunk-BV46V7UA.js";
25
+ import "../_node-chunks/chunk-OIIAKMWN.js";
26
26
  import {
27
27
  detectPnp
28
- } from "../_node-chunks/chunk-EBMWZDZG.js";
28
+ } from "../_node-chunks/chunk-5AYMJEEI.js";
29
29
  import {
30
30
  StorybookError
31
- } from "../_node-chunks/chunk-B2EXFXPG.js";
31
+ } from "../_node-chunks/chunk-4E7PJV6F.js";
32
32
  import {
33
33
  telemetry
34
- } from "../_node-chunks/chunk-AJ7QOTOZ.js";
35
- import "../_node-chunks/chunk-3GJDB3VJ.js";
34
+ } from "../_node-chunks/chunk-7SZ6I5FR.js";
35
+ import "../_node-chunks/chunk-PUOD3HAQ.js";
36
36
  import {
37
37
  optionalEnvToBoolean,
38
38
  require_cross_spawn,
39
39
  resolveImport,
40
40
  supportedExtensions,
41
41
  userOrAutoTitleFromSpecifier
42
- } from "../_node-chunks/chunk-RZ3SV46Y.js";
43
- import "../_node-chunks/chunk-VRODUWUT.js";
44
- import "../_node-chunks/chunk-XPWMJEXT.js";
42
+ } from "../_node-chunks/chunk-T4NL27CC.js";
43
+ import "../_node-chunks/chunk-ZQTC4IMW.js";
44
+ import "../_node-chunks/chunk-WIXJW6LA.js";
45
45
  import {
46
46
  require_pretty_hrtime
47
- } from "../_node-chunks/chunk-FD76ZM2X.js";
48
- import "../_node-chunks/chunk-GUCJOBT7.js";
49
- import "../_node-chunks/chunk-ITMM32VP.js";
47
+ } from "../_node-chunks/chunk-V4R3AYR4.js";
48
+ import "../_node-chunks/chunk-IMSWW5XU.js";
49
+ import "../_node-chunks/chunk-6X7LVWWF.js";
50
50
  import {
51
51
  invariant,
52
52
  up2 as up
53
- } from "../_node-chunks/chunk-255LKCUD.js";
53
+ } from "../_node-chunks/chunk-ZZGFJUT5.js";
54
54
  import {
55
55
  importModule,
56
56
  resolvePackageDir
57
- } from "../_node-chunks/chunk-SNGQFKE7.js";
58
- import "../_node-chunks/chunk-GJ5FSAL5.js";
57
+ } from "../_node-chunks/chunk-MZPY44R3.js";
58
+ import "../_node-chunks/chunk-QAHNTAID.js";
59
59
  import {
60
60
  dirname,
61
61
  join,
62
62
  relative,
63
63
  resolve
64
- } from "../_node-chunks/chunk-CUUCEXYW.js";
65
- import "../_node-chunks/chunk-52EAUB7R.js";
64
+ } from "../_node-chunks/chunk-MBCK5AH4.js";
65
+ import "../_node-chunks/chunk-M4UXZ375.js";
66
66
  import {
67
67
  slash
68
- } from "../_node-chunks/chunk-WUVM2V22.js";
68
+ } from "../_node-chunks/chunk-2LMXIXHU.js";
69
69
  import {
70
70
  require_dist
71
- } from "../_node-chunks/chunk-QCZPELNP.js";
71
+ } from "../_node-chunks/chunk-CQ7X72BT.js";
72
72
  import {
73
73
  require_lib,
74
74
  require_src
75
- } from "../_node-chunks/chunk-C3CWELCD.js";
75
+ } from "../_node-chunks/chunk-32COQDL3.js";
76
76
  import {
77
77
  require_picocolors
78
- } from "../_node-chunks/chunk-56BVIMJO.js";
78
+ } from "../_node-chunks/chunk-FZPYAEAL.js";
79
79
  import {
80
80
  __commonJS,
81
81
  __require,
82
82
  __toESM
83
- } from "../_node-chunks/chunk-WYREEMWZ.js";
83
+ } from "../_node-chunks/chunk-YKVDPPMP.js";
84
84
 
85
85
  // ../node_modules/tsconfig-paths/lib/filesystem.js
86
86
  var require_filesystem = __commonJS({
@@ -5147,7 +5147,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
5147
5147
  let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
5148
5148
  if (cached)
5149
5149
  return cached;
5150
- let pathToSubIndex = {}, fullGlob = slash(join2(specifier.directory, specifier.files)), { globby } = await import("../_node-chunks/globby-YHL6UTMA.js"), files = await globby(fullGlob, {
5150
+ let pathToSubIndex = {}, fullGlob = slash(join2(specifier.directory, specifier.files)), { globby } = await import("../_node-chunks/globby-EBHKFBTA.js"), files = await globby(fullGlob, {
5151
5151
  absolute: !0,
5152
5152
  cwd: workingDir,
5153
5153
  ...commonGlobOptions(fullGlob)
@@ -5336,7 +5336,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
5336
5336
  async extractDocs(specifier, absolutePath, projectTags = []) {
5337
5337
  let relativePath = relative2(this.options.workingDir, absolutePath);
5338
5338
  try {
5339
- let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-XHCP6OFU.js"), result = await analyze(content);
5339
+ let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-N6JBF72Y.js"), result = await analyze(content);
5340
5340
  if (result.isTemplate)
5341
5341
  return !1;
5342
5342
  let absoluteImports = result.imports.map(
@@ -5596,7 +5596,7 @@ function print(p) {
5596
5596
  // src/core-server/utils/get-builders.ts
5597
5597
  import { MissingBuilderError } from "storybook/internal/server-errors";
5598
5598
  async function getManagerBuilder() {
5599
- return await import("../_node-chunks/builder-manager-ZXJBDRXR.js");
5599
+ return await import("../_node-chunks/builder-manager-IP6Y4NMN.js");
5600
5600
  }
5601
5601
  async function getPreviewBuilder(resolvedPreviewBuilder) {
5602
5602
  return await importModule(resolvedPreviewBuilder);
@@ -5696,7 +5696,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
5696
5696
  // files can be e.g. '**/foo/*/*.js' so we just want the last bit,
5697
5697
  // because the directory could already be within the files part (e.g. './x/foo/bar')
5698
5698
  basename2(specifier.files)
5699
- ), { globby } = await import("../_node-chunks/globby-YHL6UTMA.js");
5699
+ ), { globby } = await import("../_node-chunks/globby-EBHKFBTA.js");
5700
5700
  (await globby(slash(dirGlob), commonGlobOptions2(dirGlob))).forEach((filePath) => {
5701
5701
  let fileImportPath = toImportPath(filePath);
5702
5702
  specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(specifier, fileImportPath, removed);
@@ -1,21 +1,21 @@
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_u12tm8drdom from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_u12tm8drdom from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_u12tm8drdom 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_u12tm8drdom.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_u12tm8drdom.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_u12tm8drdom.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
  glob
14
- } from "../../_node-chunks/chunk-52EAUB7R.js";
14
+ } from "../../_node-chunks/chunk-M4UXZ375.js";
15
15
  import {
16
16
  slash
17
- } from "../../_node-chunks/chunk-WUVM2V22.js";
18
- import "../../_node-chunks/chunk-WYREEMWZ.js";
17
+ } from "../../_node-chunks/chunk-2LMXIXHU.js";
18
+ import "../../_node-chunks/chunk-YKVDPPMP.js";
19
19
 
20
20
  // src/core-server/utils/remove-mdx-entries.ts
21
21
  import { isAbsolute, join, relative } from "node:path";
@@ -1,57 +1,57 @@
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_u12tm8drdom from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_u12tm8drdom from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_u12tm8drdom 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_u12tm8drdom.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_u12tm8drdom.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_u12tm8drdom.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 "../../_node-chunks/chunk-PL7KUITS.js";
12
+ import "../../_node-chunks/chunk-IIIZ5MXT.js";
13
13
  import {
14
14
  parseStaticDir,
15
15
  sendTelemetryError,
16
16
  throttle
17
- } from "../../_node-chunks/chunk-VGBOM5PD.js";
18
- import "../../_node-chunks/chunk-5H7WLGZC.js";
19
- import "../../_node-chunks/chunk-EBMWZDZG.js";
20
- import "../../_node-chunks/chunk-B2EXFXPG.js";
17
+ } from "../../_node-chunks/chunk-BV46V7UA.js";
18
+ import "../../_node-chunks/chunk-OIIAKMWN.js";
19
+ import "../../_node-chunks/chunk-5AYMJEEI.js";
20
+ import "../../_node-chunks/chunk-4E7PJV6F.js";
21
21
  import {
22
22
  getLastEvents,
23
23
  getSessionId
24
- } from "../../_node-chunks/chunk-GUCJOBT7.js";
24
+ } from "../../_node-chunks/chunk-IMSWW5XU.js";
25
25
  import {
26
26
  globalSettings
27
- } from "../../_node-chunks/chunk-ITMM32VP.js";
27
+ } from "../../_node-chunks/chunk-6X7LVWWF.js";
28
28
  import {
29
29
  invariant
30
- } from "../../_node-chunks/chunk-255LKCUD.js";
30
+ } from "../../_node-chunks/chunk-ZZGFJUT5.js";
31
31
  import {
32
32
  resolvePackageDir
33
- } from "../../_node-chunks/chunk-SNGQFKE7.js";
34
- import "../../_node-chunks/chunk-GJ5FSAL5.js";
33
+ } from "../../_node-chunks/chunk-MZPY44R3.js";
34
+ import "../../_node-chunks/chunk-QAHNTAID.js";
35
35
  import {
36
36
  isAbsolute,
37
37
  join
38
- } from "../../_node-chunks/chunk-CUUCEXYW.js";
38
+ } from "../../_node-chunks/chunk-MBCK5AH4.js";
39
39
  import {
40
40
  loadConfig
41
- } from "../../_node-chunks/chunk-ZIG3SZMN.js";
41
+ } from "../../_node-chunks/chunk-KPTRKV7Y.js";
42
42
  import {
43
43
  require_dist
44
- } from "../../_node-chunks/chunk-QCZPELNP.js";
45
- import "../../_node-chunks/chunk-3N5PBWO5.js";
46
- import "../../_node-chunks/chunk-C3CWELCD.js";
44
+ } from "../../_node-chunks/chunk-CQ7X72BT.js";
45
+ import "../../_node-chunks/chunk-MTQLLXLU.js";
46
+ import "../../_node-chunks/chunk-32COQDL3.js";
47
47
  import {
48
48
  require_picocolors
49
- } from "../../_node-chunks/chunk-56BVIMJO.js";
49
+ } from "../../_node-chunks/chunk-FZPYAEAL.js";
50
50
  import {
51
51
  __commonJS,
52
52
  __require,
53
53
  __toESM
54
- } from "../../_node-chunks/chunk-WYREEMWZ.js";
54
+ } from "../../_node-chunks/chunk-YKVDPPMP.js";
55
55
 
56
56
  // ../node_modules/shell-quote/quote.js
57
57
  var require_quote = __commonJS({
@@ -518,7 +518,7 @@ import { isCsfFactoryPreview } from "storybook/internal/csf-tools";
518
518
  var import_ts_dedent = __toESM(require_dist(), 1);
519
519
 
520
520
  // src/core-server/utils/get-component-variable-name.ts
521
- var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-WRTIKEO6.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
521
+ var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-GHUGWSTC.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
522
522
 
523
523
  // src/core-server/utils/new-story-templates/csf-factory-template.ts
524
524
  async function getCsfFactoryTemplateForNewStoryFile(data) {
@@ -783,7 +783,7 @@ async function searchFiles({
783
783
  ignoredFiles = IGNORED_FILES,
784
784
  fileExtensions = FILE_EXTENSIONS
785
785
  }) {
786
- let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-YHL6UTMA.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
786
+ let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-EBHKFBTA.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
787
787
  `**/*${searchQuery}*.${fileExtensionsPattern}`,
788
788
  `**/*${searchQuery}*/**/*.${fileExtensionsPattern}`
789
789
  ];
@@ -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_u12tm8drdom from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_u12tm8drdom from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_u12tm8drdom 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_u12tm8drdom.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_u12tm8drdom.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_u12tm8drdom.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -38,9 +38,9 @@ import {
38
38
  vitestTransform,
39
39
  writeConfig,
40
40
  writeCsf
41
- } from "../_node-chunks/chunk-ZIG3SZMN.js";
42
- import "../_node-chunks/chunk-QCZPELNP.js";
43
- import "../_node-chunks/chunk-WYREEMWZ.js";
41
+ } from "../_node-chunks/chunk-KPTRKV7Y.js";
42
+ import "../_node-chunks/chunk-CQ7X72BT.js";
43
+ import "../_node-chunks/chunk-YKVDPPMP.js";
44
44
  export {
45
45
  BadMetaError,
46
46
  ConfigFile,