storybook 9.0.0-alpha.10 → 9.0.0-alpha.12

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 (59) hide show
  1. package/bin/index.cjs +2 -2
  2. package/dist/actions/manager.js +150 -151
  3. package/dist/actions/preview.d.ts +0 -1
  4. package/dist/bin/index.cjs +66 -71
  5. package/dist/bin/index.js +59 -64
  6. package/dist/channels/index.cjs +17 -17
  7. package/dist/channels/index.js +3 -3
  8. package/dist/cli/bin/index.cjs +80 -80
  9. package/dist/cli/bin/index.js +83 -83
  10. package/dist/cli/index.cjs +1904 -1907
  11. package/dist/cli/index.d.ts +3 -7
  12. package/dist/cli/index.js +734 -737
  13. package/dist/common/index.cjs +59 -68
  14. package/dist/common/index.d.ts +1 -6
  15. package/dist/common/index.js +91 -100
  16. package/dist/component-testing/index.cjs +23 -0
  17. package/dist/component-testing/index.d.ts +3 -0
  18. package/dist/component-testing/index.js +5 -0
  19. package/dist/component-testing/manager.css +170 -0
  20. package/dist/component-testing/manager.js +3126 -0
  21. package/dist/component-testing/preview.cjs +40 -0
  22. package/dist/component-testing/preview.d.ts +5 -0
  23. package/dist/component-testing/preview.js +25 -0
  24. package/dist/components/index.cjs +5515 -5781
  25. package/dist/components/index.d.ts +3 -254
  26. package/dist/components/index.js +7296 -13770
  27. package/dist/controls/manager.js +989 -941
  28. package/dist/controls/preview.d.ts +0 -1
  29. package/dist/core-events/index.cjs +42 -45
  30. package/dist/core-events/index.d.ts +1 -4
  31. package/dist/core-events/index.js +38 -41
  32. package/dist/core-server/index.cjs +2730 -2721
  33. package/dist/core-server/index.d.ts +32 -23
  34. package/dist/core-server/index.js +822 -813
  35. package/dist/core-server/presets/common-preset.cjs +1754 -1730
  36. package/dist/core-server/presets/common-preset.js +1852 -1828
  37. package/dist/csf/index.d.ts +0 -2
  38. package/dist/csf-tools/index.cjs +0 -8
  39. package/dist/csf-tools/index.d.ts +0 -4
  40. package/dist/csf-tools/index.js +0 -8
  41. package/dist/instrumenter/index.cjs +475 -468
  42. package/dist/instrumenter/index.js +949 -950
  43. package/dist/manager/globals-module-info.cjs +15 -17
  44. package/dist/manager/globals-module-info.js +4 -6
  45. package/dist/manager/globals-runtime.js +56352 -50867
  46. package/dist/manager/runtime.js +4958 -4440
  47. package/dist/manager-api/index.cjs +1153 -1136
  48. package/dist/manager-api/index.d.ts +106 -97
  49. package/dist/manager-api/index.js +810 -795
  50. package/dist/preview/runtime.js +38453 -37289
  51. package/dist/preview-api/index.cjs +1098 -1211
  52. package/dist/preview-api/index.d.ts +10 -23
  53. package/dist/preview-api/index.js +1457 -1571
  54. package/dist/telemetry/index.d.ts +1 -1
  55. package/dist/types/index.cjs +14 -15
  56. package/dist/types/index.d.ts +306 -65
  57. package/dist/types/index.js +1 -2
  58. package/dist/viewport/preview.d.ts +0 -1
  59. package/package.json +25 -4
@@ -2,7 +2,7 @@ import React, { FC, ReactNode, ReactElement, Component } from 'react';
2
2
  import { Channel, Listener as Listener$1 } from 'storybook/internal/channels';
3
3
  export { Listener as ChannelListener } from 'storybook/internal/channels';
4
4
  import { RouterData, NavigateOptions } from 'storybook/internal/router';
5
- import { Addon_Types, Addon_TypesEnum, Addon_Collection, Addon_TypesMapping, Addon_BaseType, Addon_SidebarTopType, Addon_SidebarBottomType, Addon_TestProviderType, Addon_PageType, Addon_WrapperType, Addon_Config, API_ProviderData, API_StateMerger, API_Provider, StoryId, Globals, GlobalTypes, API_PanelPositions, API_Layout, API_UI, API_Notification, API_IframeRenderer, API_ComposedRef, API_SetRefData, API_ComposedRefUpdate, API_Refs, API_Settings, API_HashEntry, API_ViewMode, API_LeafEntry, API_PreparedStoryIndex, API_StoryEntry, Args, API_IndexHash, API_DocsEntry, API_FilterFunction, API_LoadedRefData, API_Version, API_Versions, API_UnknownEntries, NormalizedProjectAnnotations, ProjectAnnotations, ComposedStoryFn, API_OptionsData, Parameters, ArgTypes } from 'storybook/internal/types';
5
+ import { Addon_Types, Addon_TypesEnum, Addon_Collection, Addon_TypesMapping, Addon_BaseType, Addon_TestProviderType, Addon_PageType, Addon_WrapperType, Addon_Config, API_ProviderData, API_StateMerger, API_Provider, StoryId, Globals, GlobalTypes, API_PanelPositions, API_Layout, API_UI, API_Notification, API_IframeRenderer, API_ComposedRef, API_SetRefData, API_ComposedRefUpdate, API_Refs, API_Settings, API_HashEntry, API_ViewMode, API_LeafEntry, API_PreparedStoryIndex, API_StoryEntry, Args, API_IndexHash, API_DocsEntry, API_FilterFunction, API_LoadedRefData, API_Version, API_Versions, API_UnknownEntries, API_OptionsData, Parameters, ArgTypes, NormalizedProjectAnnotations, ProjectAnnotations, ComposedStoryFn } from 'storybook/internal/types';
6
6
  export { Addon_Type as Addon, API_ComponentEntry as ComponentEntry, API_ComposedRef as ComposedRef, API_DocsEntry as DocsEntry, API_GroupEntry as GroupEntry, API_HashEntry as HashEntry, API_IndexHash as IndexHash, API_LeafEntry as LeafEntry, API_Refs as Refs, API_RootEntry as RootEntry, API_IndexHash as StoriesHash, API_StoryEntry as StoryEntry } from 'storybook/internal/types';
7
7
  import { TestProviderState as TestProviderState$1, TestProviderId as TestProviderId$1, TestProviders, WhatsNewData } from 'storybook/internal/core-events';
8
8
  import { ThemeVars } from 'storybook/theming';
@@ -22,7 +22,7 @@ declare class AddonStore {
22
22
  ready: () => Promise<Channel>;
23
23
  hasChannel: () => boolean;
24
24
  setChannel: (channel: Channel) => void;
25
- getElements<T extends Addon_Types | Addon_TypesEnum.experimental_PAGE | Addon_TypesEnum.experimental_SIDEBAR_BOTTOM | Addon_TypesEnum.experimental_SIDEBAR_TOP | Addon_TypesEnum.experimental_TEST_PROVIDER>(type: T): Addon_Collection<Addon_TypesMapping[T]> | any;
25
+ getElements<T extends Addon_Types | Addon_TypesEnum.experimental_PAGE | Addon_TypesEnum.experimental_TEST_PROVIDER>(type: T): Addon_Collection<Addon_TypesMapping[T]> | any;
26
26
  /**
27
27
  * Adds an addon to the addon store.
28
28
  *
@@ -30,7 +30,7 @@ declare class AddonStore {
30
30
  * @param {Addon_Type} addon - The addon to add.
31
31
  * @returns {void}
32
32
  */
33
- add(id: string, addon: Addon_BaseType | Omit<Addon_SidebarTopType, 'id'> | Omit<Addon_SidebarBottomType, 'id'> | Omit<Addon_TestProviderType, 'id'> | Omit<Addon_PageType, 'id'> | Omit<Addon_WrapperType, 'id'>): void;
33
+ add(id: string, addon: Addon_BaseType | Omit<Addon_TestProviderType, 'id'> | Omit<Addon_PageType, 'id'> | Omit<Addon_WrapperType, 'id'>): void;
34
34
  setConfig: (value: Addon_Config) => void;
35
35
  getConfig: () => Addon_Config;
36
36
  /**
@@ -91,7 +91,7 @@ interface SubAPI$d {
91
91
  * @returns {Addon_Collection<T>} - A collection of elements of the specified type.
92
92
  * @protected This is used internally in storybook's manager.
93
93
  */
94
- getElements: <T extends Addon_Types | Addon_TypesEnum.experimental_PAGE | Addon_TypesEnum.experimental_SIDEBAR_BOTTOM | Addon_TypesEnum.experimental_TEST_PROVIDER | Addon_TypesEnum.experimental_SIDEBAR_TOP = Addon_Types>(type: T) => Addon_Collection<Addon_TypesMapping[T]>;
94
+ getElements: <T extends Addon_Types | Addon_TypesEnum.experimental_PAGE | Addon_TypesEnum.experimental_TEST_PROVIDER>(type: T) => Addon_Collection<Addon_TypesMapping[T]>;
95
95
  /**
96
96
  * Returns the id of the currently selected panel.
97
97
  *
@@ -391,7 +391,7 @@ interface SubState$5 {
391
391
 
392
392
  declare const isMacLike: () => boolean;
393
393
  declare const controlOrMetaSymbol: () => "⌘" | "ctrl";
394
- declare const controlOrMetaKey: () => "meta" | "control";
394
+ declare const controlOrMetaKey: () => "control" | "meta";
395
395
  declare const optionOrAltSymbol: () => "⌥" | "alt";
396
396
  declare const isShortcutTaken: (arr1: string[], arr2: string[]) => boolean;
397
397
  type KeyboardEventLike = Pick<KeyboardEvent, 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey' | 'key' | 'code' | 'keyCode' | 'preventDefault'>;
@@ -651,6 +651,14 @@ interface SubAPI$3 {
651
651
  * @returns {StoryId} The ID of the leaf story, or null if no leaf story was found.
652
652
  */
653
653
  findLeafStoryId(index: API_IndexHash, storyId: StoryId): StoryId;
654
+ /**
655
+ * Finds all the leaf story IDs for the given entry ID in the given index.
656
+ *
657
+ * @param {StoryId} entryId - The ID of the entry to find the leaf story IDs for.
658
+ * @returns {StoryId[]} The IDs of all the leaf stories, or an empty array if no leaf stories were
659
+ * found.
660
+ */
661
+ findAllLeafStoryIds(entryId: string): StoryId[];
654
662
  /**
655
663
  * Finds the ID of the sibling story in the given direction for the given story ID in the given
656
664
  * story index.
@@ -818,6 +826,67 @@ declare const experimental_requestResponse: <RequestPayload, ResponsePayload = v
818
826
 
819
827
  declare const _default: <TObj = any>(a: TObj, ...b: Partial<TObj>[]) => TObj;
820
828
 
829
+ declare const ActiveTabs: {
830
+ SIDEBAR: "sidebar";
831
+ CANVAS: "canvas";
832
+ ADDONS: "addons";
833
+ };
834
+
835
+ declare const ManagerContext: React.Context<{
836
+ api: API;
837
+ state: State;
838
+ }>;
839
+ type State = SubState$8 & SubState$3 & SubState$6 & SubState$7 & SubState$a & SubState$1 & SubState$2 & SubState$4 & SubState$5 & SubState$9 & SubState & RouterData & API_OptionsData & Other;
840
+ type API = SubAPI$d & SubAPI$c & SubAPI$7 & SubAPI$3 & SubAPI$6 & SubAPI$a & SubAPI$9 & SubAPI$8 & SubAPI$b & SubAPI$4 & SubAPI$5 & SubAPI$1 & SubAPI$2 & SubAPI & Other;
841
+ interface Other {
842
+ [key: string]: any;
843
+ }
844
+ interface Combo {
845
+ api: API;
846
+ state: State;
847
+ }
848
+ type ManagerProviderProps = RouterData & API_ProviderData<API> & {
849
+ children: ReactNode | FC<Combo>;
850
+ };
851
+ declare const combineParameters: (...parameterSets: Parameters[]) => {};
852
+ declare class ManagerProvider extends Component<ManagerProviderProps, State> {
853
+ api: API;
854
+ modules: ReturnType<ModuleFn>[];
855
+ static displayName: string;
856
+ constructor(props: ManagerProviderProps);
857
+ static getDerivedStateFromProps(props: ManagerProviderProps, state: State): State;
858
+ shouldComponentUpdate(nextProps: ManagerProviderProps, nextState: State): boolean;
859
+ initModules: () => void;
860
+ render(): React.JSX.Element;
861
+ }
862
+ interface ManagerConsumerProps<P = unknown> {
863
+ filter?: (combo: Combo) => P;
864
+ children: FC<P> | ReactNode;
865
+ }
866
+ declare function ManagerConsumer<P = Combo>({ filter, children, }: ManagerConsumerProps<P>): ReactElement;
867
+ declare function useStorybookState(): State;
868
+ declare function useStorybookApi(): API;
869
+
870
+ interface API_EventMap {
871
+ [eventId: string]: Listener$1;
872
+ }
873
+ declare const useChannel: (eventMap: API_EventMap, deps?: any[]) => (type: string, ...args: any[]) => void;
874
+ declare function useStoryPrepared(storyId?: StoryId): boolean;
875
+ declare function useParameter<S>(parameterKey: string, defaultValue?: S): S;
876
+ declare function useSharedState<S>(stateId: string, defaultState?: S): [S, (newStateOrMerger: S | API_StateMerger<S>, options?: Options) => void];
877
+ declare function useAddonState<S>(addonId: string, defaultState?: S): [S, (newStateOrMerger: S | API_StateMerger<S>, options?: Options) => void];
878
+ declare function useArgs(): [Args, (newArgs: Args) => void, (argNames?: string[]) => void, Args];
879
+ declare function useGlobals(): [
880
+ globals: Globals,
881
+ updateGlobals: (newGlobals: Globals) => void,
882
+ storyGlobals: Globals,
883
+ userGlobals: Globals
884
+ ];
885
+ declare function useGlobalTypes(): ArgTypes;
886
+ declare function useArgTypes(): ArgTypes;
887
+
888
+ declare const typesX: typeof Addon_TypesEnum;
889
+
821
890
  type EnvironmentType = (typeof UniversalStore.Environment)[keyof typeof UniversalStore.Environment];
822
891
  type StatusType = (typeof UniversalStore.Status)[keyof typeof UniversalStore.Status];
823
892
  type StateUpdater<TState> = (prevState: TState) => TState;
@@ -1124,28 +1193,6 @@ declare class MockUniversalStore<State, CustomEvent extends {
1124
1193
  unsubscribeAll(): void;
1125
1194
  }
1126
1195
 
1127
- declare global {
1128
- interface SymbolConstructor {
1129
- readonly observable: symbol;
1130
- }
1131
- }
1132
-
1133
- declare global {
1134
- var globalProjectAnnotations: NormalizedProjectAnnotations<any>;
1135
- var defaultProjectAnnotations: ProjectAnnotations<any>;
1136
- }
1137
- type WrappedStoryRef = {
1138
- __pw_type: 'jsx' | 'importRef';
1139
- };
1140
- type UnwrappedJSXStoryRef = {
1141
- __pw_type: 'jsx';
1142
- type: UnwrappedImportStoryRef;
1143
- };
1144
- type UnwrappedImportStoryRef = ComposedStoryFn;
1145
- declare global {
1146
- function __pwUnwrapObject(storyRef: WrappedStoryRef): Promise<UnwrappedJSXStoryRef | UnwrappedImportStoryRef>;
1147
- }
1148
-
1149
1196
  type StatusValue = 'status-value:pending' | 'status-value:success' | 'status-value:error' | 'status-value:warning' | 'status-value:unknown';
1150
1197
  type StatusTypeId = string;
1151
1198
  type StatusByTypeId = Record<StatusTypeId, Status>;
@@ -1159,6 +1206,13 @@ interface Status {
1159
1206
  data?: any;
1160
1207
  sidebarContextMenu?: boolean;
1161
1208
  }
1209
+ declare const StatusStoreEventType: {
1210
+ readonly SELECT: "select";
1211
+ };
1212
+ type StatusStoreEvent = {
1213
+ type: typeof StatusStoreEventType.SELECT;
1214
+ payload: Status[];
1215
+ };
1162
1216
  type StatusStore = {
1163
1217
  getAll: () => StatusesByStoryIdAndTypeId;
1164
1218
  set: (statuses: Status[]) => void;
@@ -1171,6 +1225,28 @@ type StatusStoreByTypeId = StatusStore & {
1171
1225
  };
1172
1226
  type UseStatusStore = <T = StatusesByStoryIdAndTypeId>(selector?: (statuses: StatusesByStoryIdAndTypeId) => T) => T;
1173
1227
 
1228
+ declare global {
1229
+ interface SymbolConstructor {
1230
+ readonly observable: symbol;
1231
+ }
1232
+ }
1233
+
1234
+ declare global {
1235
+ var globalProjectAnnotations: NormalizedProjectAnnotations<any>;
1236
+ var defaultProjectAnnotations: ProjectAnnotations<any>;
1237
+ }
1238
+ type WrappedStoryRef = {
1239
+ __pw_type: 'jsx' | 'importRef';
1240
+ };
1241
+ type UnwrappedJSXStoryRef = {
1242
+ __pw_type: 'jsx';
1243
+ type: UnwrappedImportStoryRef;
1244
+ };
1245
+ type UnwrappedImportStoryRef = ComposedStoryFn;
1246
+ declare global {
1247
+ function __pwUnwrapObject(storyRef: WrappedStoryRef): Promise<UnwrappedJSXStoryRef | UnwrappedImportStoryRef>;
1248
+ }
1249
+
1174
1250
  type TestProviderState = 'test-provider-state:pending' | 'test-provider-state:running' | 'test-provider-state:succeeded' | 'test-provider-state:crashed';
1175
1251
  type TestProviderId = string;
1176
1252
  type TestProviderStateByProviderId = Record<TestProviderId, TestProviderState>;
@@ -1425,6 +1501,7 @@ declare const fullStatusStore: StatusStore & {
1425
1501
  };
1426
1502
  declare const getStatusStoreByTypeId: (typeId: StatusTypeId) => StatusStoreByTypeId;
1427
1503
  declare const useStatusStore: UseStatusStore;
1504
+ declare const universalStatusStore: UniversalStore<StatusesByStoryIdAndTypeId, StatusStoreEvent>;
1428
1505
 
1429
1506
  declare const fullTestProviderStore: {
1430
1507
  settingsChanged: () => void;
@@ -1439,74 +1516,6 @@ declare const fullTestProviderStore: {
1439
1516
  };
1440
1517
  declare const getTestProviderStoreById: (testProviderId: TestProviderId) => TestProviderStoreById;
1441
1518
  declare const useTestProviderStore: UseTestProviderStore;
1519
+ declare const universalTestProviderStore: UniversalStore<TestProviderStateByProviderId, TestProviderStoreEvent>;
1442
1520
 
1443
- declare const ActiveTabs: {
1444
- SIDEBAR: "sidebar";
1445
- CANVAS: "canvas";
1446
- ADDONS: "addons";
1447
- };
1448
-
1449
- declare const ManagerContext: React.Context<{
1450
- api: API;
1451
- state: State;
1452
- }>;
1453
- type State = SubState$8 & SubState$3 & SubState$6 & SubState$7 & SubState$a & SubState$1 & SubState$2 & SubState$4 & SubState$5 & SubState$9 & SubState & RouterData & API_OptionsData & DeprecatedState & Other;
1454
- type API = SubAPI$d & SubAPI$c & SubAPI$7 & SubAPI$3 & SubAPI$6 & SubAPI$a & SubAPI$9 & SubAPI$8 & SubAPI$b & SubAPI$4 & SubAPI$5 & SubAPI$1 & SubAPI$2 & SubAPI & Other;
1455
- interface DeprecatedState {
1456
- /** @deprecated Use index */
1457
- storiesHash: API_IndexHash;
1458
- /** @deprecated Use previewInitialized */
1459
- storiesConfigured: boolean;
1460
- /** @deprecated Use indexError */
1461
- storiesFailed?: Error;
1462
- }
1463
- interface Other {
1464
- [key: string]: any;
1465
- }
1466
- interface Combo {
1467
- api: API;
1468
- state: State;
1469
- }
1470
- type ManagerProviderProps = RouterData & API_ProviderData<API> & {
1471
- children: ReactNode | FC<Combo>;
1472
- };
1473
- declare const combineParameters: (...parameterSets: Parameters[]) => {};
1474
- declare class ManagerProvider extends Component<ManagerProviderProps, State> {
1475
- api: API;
1476
- modules: ReturnType<ModuleFn>[];
1477
- static displayName: string;
1478
- constructor(props: ManagerProviderProps);
1479
- static getDerivedStateFromProps(props: ManagerProviderProps, state: State): State;
1480
- shouldComponentUpdate(nextProps: ManagerProviderProps, nextState: State): boolean;
1481
- initModules: () => void;
1482
- render(): React.JSX.Element;
1483
- }
1484
- interface ManagerConsumerProps<P = unknown> {
1485
- filter?: (combo: Combo) => P;
1486
- children: FC<P> | ReactNode;
1487
- }
1488
- declare function ManagerConsumer<P = Combo>({ filter, children, }: ManagerConsumerProps<P>): ReactElement;
1489
- declare function useStorybookState(): State;
1490
- declare function useStorybookApi(): API;
1491
-
1492
- interface API_EventMap {
1493
- [eventId: string]: Listener$1;
1494
- }
1495
- declare const useChannel: (eventMap: API_EventMap, deps?: any[]) => (type: string, ...args: any[]) => void;
1496
- declare function useStoryPrepared(storyId?: StoryId): boolean;
1497
- declare function useParameter<S>(parameterKey: string, defaultValue?: S): S;
1498
- declare function useSharedState<S>(stateId: string, defaultState?: S): [S, (newStateOrMerger: S | API_StateMerger<S>, options?: Options) => void];
1499
- declare function useAddonState<S>(addonId: string, defaultState?: S): [S, (newStateOrMerger: S | API_StateMerger<S>, options?: Options) => void];
1500
- declare function useArgs(): [Args, (newArgs: Args) => void, (argNames?: string[]) => void, Args];
1501
- declare function useGlobals(): [
1502
- globals: Globals,
1503
- updateGlobals: (newGlobals: Globals) => void,
1504
- storyGlobals: Globals,
1505
- userGlobals: Globals
1506
- ];
1507
- declare function useGlobalTypes(): ArgTypes;
1508
- declare function useArgTypes(): ArgTypes;
1509
-
1510
- declare const typesX: typeof Addon_TypesEnum;
1511
-
1512
- export { type API, type API_EventMap, ActiveTabs, AddonStore, type Combo, ManagerConsumer as Consumer, type KeyboardEventLike, ManagerContext, type ManagerProviderProps, ManagerProvider as Provider, RequestResponseError, type State, type Options as StoreOptions, addons, combineParameters, controlOrMetaKey, controlOrMetaSymbol, eventMatchesShortcut, eventToShortcut, MockUniversalStore as experimental_MockUniversalStore, UniversalStore as experimental_UniversalStore, getStatusStoreByTypeId as experimental_getStatusStore, getTestProviderStoreById as experimental_getTestProviderStore, experimental_requestResponse, useStatusStore as experimental_useStatusStore, useTestProviderStore as experimental_useTestProviderStore, useUniversalStore as experimental_useUniversalStore, fullStatusStore as internal_fullStatusStore, fullTestProviderStore as internal_fullTestProviderStore, isMacLike, isShortcutTaken, keyToSymbol, _default as merge, mockChannel, optionOrAltSymbol, shortcutMatchesShortcut, shortcutToHumanString, typesX as types, useAddonState, useArgTypes, useArgs, useChannel, useGlobalTypes, useGlobals, useParameter, useSharedState, useStoryPrepared, useStorybookApi, useStorybookState };
1521
+ export { type API, type API_EventMap, ActiveTabs, AddonStore, type Combo, ManagerConsumer as Consumer, type KeyboardEventLike, ManagerContext, type ManagerProviderProps, ManagerProvider as Provider, RequestResponseError, type State, type Options as StoreOptions, addons, combineParameters, controlOrMetaKey, controlOrMetaSymbol, eventMatchesShortcut, eventToShortcut, MockUniversalStore as experimental_MockUniversalStore, UniversalStore as experimental_UniversalStore, getStatusStoreByTypeId as experimental_getStatusStore, getTestProviderStoreById as experimental_getTestProviderStore, experimental_requestResponse, useStatusStore as experimental_useStatusStore, useTestProviderStore as experimental_useTestProviderStore, useUniversalStore as experimental_useUniversalStore, fullStatusStore as internal_fullStatusStore, fullTestProviderStore as internal_fullTestProviderStore, universalStatusStore as internal_universalStatusStore, universalTestProviderStore as internal_universalTestProviderStore, isMacLike, isShortcutTaken, keyToSymbol, _default as merge, mockChannel, optionOrAltSymbol, shortcutMatchesShortcut, shortcutToHumanString, typesX as types, useAddonState, useArgTypes, useArgs, useChannel, useGlobalTypes, useGlobals, useParameter, useSharedState, useStoryPrepared, useStorybookApi, useStorybookState };