storybook 9.0.0-alpha.12 → 9.0.0-alpha.13

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 (78) hide show
  1. package/assets/docs/addon-backgrounds.gif +0 -0
  2. package/assets/docs/highlight.png +0 -0
  3. package/dist/backgrounds/index.cjs +148 -0
  4. package/dist/backgrounds/index.d.ts +91 -0
  5. package/dist/backgrounds/index.js +130 -0
  6. package/dist/backgrounds/preview.cjs +143 -0
  7. package/dist/backgrounds/preview.d.ts +54 -0
  8. package/dist/backgrounds/preview.js +127 -0
  9. package/dist/bin/index.cjs +63 -71
  10. package/dist/bin/index.js +53 -61
  11. package/dist/builder-manager/index.cjs +390 -380
  12. package/dist/builder-manager/index.js +489 -479
  13. package/dist/cli/bin/index.cjs +225 -225
  14. package/dist/cli/bin/index.js +234 -234
  15. package/dist/cli/index.cjs +0 -2
  16. package/dist/cli/index.js +0 -2
  17. package/dist/common/index.cjs +2399 -2378
  18. package/dist/common/index.d.ts +0 -8
  19. package/dist/common/index.js +2607 -2586
  20. package/dist/components/index.cjs +3394 -3372
  21. package/dist/components/index.js +3922 -3900
  22. package/dist/core-events/index.cjs +72 -84
  23. package/dist/core-events/index.d.ts +2 -77
  24. package/dist/core-events/index.js +61 -73
  25. package/dist/core-server/index.cjs +5258 -5168
  26. package/dist/core-server/index.js +6539 -6449
  27. package/dist/core-server/presets/common-manager.js +9815 -12
  28. package/dist/core-server/presets/common-preset.cjs +2809 -3005
  29. package/dist/core-server/presets/common-preset.js +2891 -3087
  30. package/dist/docs-tools/index.cjs +626 -600
  31. package/dist/docs-tools/index.js +613 -587
  32. package/dist/highlight/index.cjs +27 -0
  33. package/dist/highlight/index.d.ts +17 -0
  34. package/dist/highlight/index.js +7 -0
  35. package/dist/highlight/preview.cjs +81 -0
  36. package/dist/highlight/preview.d.ts +54 -0
  37. package/dist/highlight/preview.js +67 -0
  38. package/dist/instrumenter/index.cjs +70 -60
  39. package/dist/instrumenter/index.d.ts +8 -7
  40. package/dist/instrumenter/index.js +98 -88
  41. package/dist/manager/globals-module-info.cjs +12 -22
  42. package/dist/manager/globals-module-info.js +2 -12
  43. package/dist/manager/globals-runtime.js +24173 -23140
  44. package/dist/manager/runtime.js +3419 -3522
  45. package/dist/manager-api/index.cjs +1055 -1167
  46. package/dist/manager-api/index.d.ts +7 -21
  47. package/dist/manager-api/index.js +761 -877
  48. package/dist/measure/index.cjs +474 -0
  49. package/dist/measure/index.d.ts +66 -0
  50. package/dist/measure/index.js +462 -0
  51. package/dist/measure/preview.cjs +464 -0
  52. package/dist/measure/preview.d.ts +59 -0
  53. package/dist/measure/preview.js +448 -0
  54. package/dist/outline/index.cjs +528 -0
  55. package/dist/outline/index.d.ts +66 -0
  56. package/dist/outline/index.js +500 -0
  57. package/dist/outline/preview.cjs +518 -0
  58. package/dist/outline/preview.d.ts +59 -0
  59. package/dist/outline/preview.js +486 -0
  60. package/dist/preview/runtime.js +14441 -13330
  61. package/dist/preview-api/index.cjs +1067 -1071
  62. package/dist/preview-api/index.d.ts +61 -102
  63. package/dist/preview-api/index.js +1090 -1092
  64. package/dist/test/index.cjs +1547 -1546
  65. package/dist/test/index.js +2308 -2307
  66. package/dist/test/preview.cjs +1906 -1905
  67. package/dist/test/preview.d.ts +0 -6
  68. package/dist/test/preview.js +1439 -1438
  69. package/dist/test/spy.cjs +65 -64
  70. package/dist/test/spy.js +59 -58
  71. package/dist/types/index.cjs +10 -10
  72. package/dist/types/index.d.ts +206 -243
  73. package/package.json +121 -16
  74. package/dist/actions/manager.js +0 -1195
  75. package/dist/component-testing/manager.js +0 -3126
  76. package/dist/controls/manager.js +0 -5593
  77. package/dist/viewport/manager.js +0 -400
  78. /package/dist/{component-testing/manager.css → core-server/presets/common-manager.css} +0 -0
@@ -1,12 +1,211 @@
1
1
  import { StoryId, StoryName, ComponentTitle, Tag as Tag$1, Parameters, Args, ArgTypes, ComponentId, StoryKind, Globals, GlobalTypes, InputType, StoryContext, PartialStoryFn, LegacyStoryFn, ArgsStoryFn, StoryFn, DecoratorFunction, LoaderFunction, Renderer as Renderer$1, ViewMode as ViewMode$1, StoryIdentifier, ProjectAnnotations as ProjectAnnotations$1, StrictArgTypes, StrictGlobalTypes, StepRunner, BeforeAll, ComponentAnnotations, StoryAnnotations, StoryContextForEnhancers, CleanupCallback, Canvas, StoryAnnotationsOrFn, AnnotatedStoryFn } from 'storybook/internal/csf';
2
2
  export { AfterEach, AnnotatedStoryFn, ArgTypes, ArgTypesEnhancer, Args, ArgsEnhancer, ArgsFromMeta, ArgsStoryFn, BaseAnnotations, ProjectAnnotations as BaseProjectAnnotations, BeforeAll, BeforeEach, Canvas, CleanupCallback, ComponentAnnotations, ComponentId, ComponentTitle, Conditional, DecoratorApplicator, DecoratorFunction, GlobalTypes, Globals, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn, LegacyStoryFn, LoaderFunction, Parameters, PartialStoryFn, PlayFunction, PlayFunctionContext, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner, StoryAnnotations, StoryAnnotationsOrFn, StoryContext, StoryContextForEnhancers, StoryContextForLoaders, StoryContextUpdate, StoryFn, StoryId, StoryIdentifier, StoryKind, StoryName, StrictArgTypes, StrictArgs, StrictGlobalTypes, StrictInputType, Tag } from 'storybook/internal/csf';
3
3
  import { ReactElement, FC, ReactNode, PropsWithChildren } from 'react';
4
- import { Addon_TestProviderType as Addon_TestProviderType$1, NormalizedProjectAnnotations as NormalizedProjectAnnotations$1, ProjectAnnotations as ProjectAnnotations$2, ComposedStoryFn as ComposedStoryFn$1 } from 'storybook/internal/types';
5
4
  import { FileSystemCache } from 'storybook/internal/common';
6
5
  import { Server, IncomingMessage, ServerResponse } from 'http';
7
6
  import { Server as Server$1 } from 'net';
7
+ import { NormalizedProjectAnnotations as NormalizedProjectAnnotations$1, ProjectAnnotations as ProjectAnnotations$2, ComposedStoryFn as ComposedStoryFn$1 } from 'storybook/internal/types';
8
8
  import { Channel as Channel$1 } from 'storybook/internal/channels';
9
9
 
10
+ /**
11
+ * A URL pathname, beginning with a /.
12
+ *
13
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.pathname
14
+ */
15
+ declare type Pathname = string;
16
+ /**
17
+ * A URL search string, beginning with a ?.
18
+ *
19
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.search
20
+ */
21
+ declare type Search = string;
22
+ /**
23
+ * A URL fragment identifier, beginning with a #.
24
+ *
25
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.hash
26
+ */
27
+ declare type Hash = string;
28
+ /**
29
+ * A unique string associated with a location. May be used to safely store
30
+ * and retrieve data in some other storage API, like `localStorage`.
31
+ *
32
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.key
33
+ */
34
+ declare type Key = string;
35
+ /**
36
+ * The pathname, search, and hash values of a URL.
37
+ */
38
+ interface Path$1 {
39
+ /**
40
+ * A URL pathname, beginning with a /.
41
+ *
42
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.pathname
43
+ */
44
+ pathname: Pathname;
45
+ /**
46
+ * A URL search string, beginning with a ?.
47
+ *
48
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.search
49
+ */
50
+ search: Search;
51
+ /**
52
+ * A URL fragment identifier, beginning with a #.
53
+ *
54
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.hash
55
+ */
56
+ hash: Hash;
57
+ }
58
+ /**
59
+ * An entry in a history stack. A location contains information about the
60
+ * URL path, as well as possibly some arbitrary state and a key.
61
+ *
62
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location
63
+ */
64
+ interface Location extends Path$1 {
65
+ /**
66
+ * A value of arbitrary data associated with this location.
67
+ *
68
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.state
69
+ */
70
+ state: unknown;
71
+ /**
72
+ * A unique string associated with this location. May be used to safely store
73
+ * and retrieve data in some other storage API, like `localStorage`.
74
+ *
75
+ * Note: This value is always "default" on the initial location.
76
+ *
77
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.key
78
+ */
79
+ key: Key;
80
+ }
81
+ /**
82
+ * Describes a location that is the destination of some navigation, either via
83
+ * `history.push` or `history.replace`. May be either a URL or the pieces of a
84
+ * URL path.
85
+ */
86
+ declare type To = string | Partial<Path$1>;
87
+
88
+ interface NavigateOptions$1 {
89
+ replace?: boolean;
90
+ state?: any;
91
+ }
92
+
93
+ interface StoryData {
94
+ viewMode?: string;
95
+ storyId?: string;
96
+ refId?: string;
97
+ }
98
+
99
+ interface Other extends StoryData {
100
+ path: string;
101
+ singleStory?: boolean;
102
+ }
103
+ type NavigateOptions = NavigateOptions$1 & {
104
+ plain?: boolean;
105
+ };
106
+ type NavigateFunction = (to: To | number, options?: NavigateOptions) => void;
107
+ type RouterData = {
108
+ location: Partial<Location>;
109
+ navigate: NavigateFunction;
110
+ } & Other;
111
+ type RenderData = Pick<RouterData, 'location'> & Other;
112
+
113
+ interface ThemeVars extends ThemeVarsBase, ThemeVarsColors {
114
+ }
115
+ interface ThemeVarsBase {
116
+ base: 'light' | 'dark';
117
+ }
118
+ interface ThemeVarsColors {
119
+ colorPrimary: string;
120
+ colorSecondary: string;
121
+ appBg: string;
122
+ appContentBg: string;
123
+ appPreviewBg: string;
124
+ appBorderColor: string;
125
+ appBorderRadius: number;
126
+ fontBase: string;
127
+ fontCode: string;
128
+ textColor: string;
129
+ textInverseColor: string;
130
+ textMutedColor: string;
131
+ barTextColor: string;
132
+ barHoverColor: string;
133
+ barSelectedColor: string;
134
+ barBg: string;
135
+ buttonBg: string;
136
+ buttonBorder: string;
137
+ booleanBg: string;
138
+ booleanSelectedBg: string;
139
+ inputBg: string;
140
+ inputBorder: string;
141
+ inputTextColor: string;
142
+ inputBorderRadius: number;
143
+ brandTitle?: string;
144
+ brandUrl?: string;
145
+ brandImage?: string;
146
+ brandTarget?: string;
147
+ gridCellSize?: number;
148
+ }
149
+
150
+ type ChannelHandler = (event: ChannelEvent) => void;
151
+ interface ChannelTransport {
152
+ send(event: ChannelEvent, options?: any): void;
153
+ setHandler(handler: ChannelHandler): void;
154
+ }
155
+ interface ChannelEvent {
156
+ type: string;
157
+ from: string;
158
+ args: any[];
159
+ }
160
+ interface Listener$1 {
161
+ (...args: any[]): void;
162
+ }
163
+ interface ChannelArgsSingle {
164
+ transport?: ChannelTransport;
165
+ async?: boolean;
166
+ }
167
+ interface ChannelArgsMulti {
168
+ transports: ChannelTransport[];
169
+ async?: boolean;
170
+ }
171
+
172
+ declare class Channel {
173
+ readonly isAsync: boolean;
174
+ private sender;
175
+ private events;
176
+ private data;
177
+ private readonly transports;
178
+ constructor(input: ChannelArgsMulti);
179
+ constructor(input: ChannelArgsSingle);
180
+ get hasTransport(): boolean;
181
+ addListener(eventName: string, listener: Listener$1): void;
182
+ emit(eventName: string, ...args: any): void;
183
+ last(eventName: string): any;
184
+ eventNames(): string[];
185
+ listenerCount(eventName: string): number;
186
+ listeners(eventName: string): Listener$1[] | undefined;
187
+ once(eventName: string, listener: Listener$1): void;
188
+ removeAllListeners(eventName?: string): void;
189
+ removeListener(eventName: string, listener: Listener$1): void;
190
+ on(eventName: string, listener: Listener$1): void;
191
+ off(eventName: string, listener: Listener$1): void;
192
+ private handleEvent;
193
+ private onceListener;
194
+ }
195
+
196
+ interface Options$1 {
197
+ allowRegExp: boolean;
198
+ allowFunction: boolean;
199
+ allowSymbol: boolean;
200
+ allowDate: boolean;
201
+ allowUndefined: boolean;
202
+ allowClass: boolean;
203
+ allowError: boolean;
204
+ maxDepth: number;
205
+ space: number | undefined;
206
+ lazyEval: boolean;
207
+ }
208
+
10
209
  /**
11
210
  Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
12
211
 
@@ -723,217 +922,6 @@ PackageJson$1.TypeScriptConfiguration &
723
922
  PackageJson$1.YarnConfiguration &
724
923
  PackageJson$1.JSPMConfiguration;
725
924
 
726
- type DateNow = number;
727
- type TestProviderConfig = Addon_TestProviderType$1;
728
- type TestingModuleProgressReportProgress = {
729
- startedAt: DateNow;
730
- finishedAt?: DateNow;
731
- numTotalTests?: number;
732
- numPassedTests?: number;
733
- numFailedTests?: number;
734
- numPendingTests?: number;
735
- percentageCompleted?: number;
736
- };
737
-
738
- /**
739
- * A URL pathname, beginning with a /.
740
- *
741
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.pathname
742
- */
743
- declare type Pathname = string;
744
- /**
745
- * A URL search string, beginning with a ?.
746
- *
747
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.search
748
- */
749
- declare type Search = string;
750
- /**
751
- * A URL fragment identifier, beginning with a #.
752
- *
753
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.hash
754
- */
755
- declare type Hash = string;
756
- /**
757
- * A unique string associated with a location. May be used to safely store
758
- * and retrieve data in some other storage API, like `localStorage`.
759
- *
760
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.key
761
- */
762
- declare type Key = string;
763
- /**
764
- * The pathname, search, and hash values of a URL.
765
- */
766
- interface Path$1 {
767
- /**
768
- * A URL pathname, beginning with a /.
769
- *
770
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.pathname
771
- */
772
- pathname: Pathname;
773
- /**
774
- * A URL search string, beginning with a ?.
775
- *
776
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.search
777
- */
778
- search: Search;
779
- /**
780
- * A URL fragment identifier, beginning with a #.
781
- *
782
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.hash
783
- */
784
- hash: Hash;
785
- }
786
- /**
787
- * An entry in a history stack. A location contains information about the
788
- * URL path, as well as possibly some arbitrary state and a key.
789
- *
790
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location
791
- */
792
- interface Location extends Path$1 {
793
- /**
794
- * A value of arbitrary data associated with this location.
795
- *
796
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.state
797
- */
798
- state: unknown;
799
- /**
800
- * A unique string associated with this location. May be used to safely store
801
- * and retrieve data in some other storage API, like `localStorage`.
802
- *
803
- * Note: This value is always "default" on the initial location.
804
- *
805
- * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#location.key
806
- */
807
- key: Key;
808
- }
809
- /**
810
- * Describes a location that is the destination of some navigation, either via
811
- * `history.push` or `history.replace`. May be either a URL or the pieces of a
812
- * URL path.
813
- */
814
- declare type To = string | Partial<Path$1>;
815
-
816
- interface NavigateOptions$1 {
817
- replace?: boolean;
818
- state?: any;
819
- }
820
-
821
- interface StoryData {
822
- viewMode?: string;
823
- storyId?: string;
824
- refId?: string;
825
- }
826
-
827
- interface Other extends StoryData {
828
- path: string;
829
- singleStory?: boolean;
830
- }
831
- type NavigateOptions = NavigateOptions$1 & {
832
- plain?: boolean;
833
- };
834
- type NavigateFunction = (to: To | number, options?: NavigateOptions) => void;
835
- type RouterData = {
836
- location: Partial<Location>;
837
- navigate: NavigateFunction;
838
- } & Other;
839
- type RenderData = Pick<RouterData, 'location'> & Other;
840
-
841
- interface ThemeVars extends ThemeVarsBase, ThemeVarsColors {
842
- }
843
- interface ThemeVarsBase {
844
- base: 'light' | 'dark';
845
- }
846
- interface ThemeVarsColors {
847
- colorPrimary: string;
848
- colorSecondary: string;
849
- appBg: string;
850
- appContentBg: string;
851
- appPreviewBg: string;
852
- appBorderColor: string;
853
- appBorderRadius: number;
854
- fontBase: string;
855
- fontCode: string;
856
- textColor: string;
857
- textInverseColor: string;
858
- textMutedColor: string;
859
- barTextColor: string;
860
- barHoverColor: string;
861
- barSelectedColor: string;
862
- barBg: string;
863
- buttonBg: string;
864
- buttonBorder: string;
865
- booleanBg: string;
866
- booleanSelectedBg: string;
867
- inputBg: string;
868
- inputBorder: string;
869
- inputTextColor: string;
870
- inputBorderRadius: number;
871
- brandTitle?: string;
872
- brandUrl?: string;
873
- brandImage?: string;
874
- brandTarget?: string;
875
- gridCellSize?: number;
876
- }
877
-
878
- type ChannelHandler = (event: ChannelEvent) => void;
879
- interface ChannelTransport {
880
- send(event: ChannelEvent, options?: any): void;
881
- setHandler(handler: ChannelHandler): void;
882
- }
883
- interface ChannelEvent {
884
- type: string;
885
- from: string;
886
- args: any[];
887
- }
888
- interface Listener$1 {
889
- (...args: any[]): void;
890
- }
891
- interface ChannelArgsSingle {
892
- transport?: ChannelTransport;
893
- async?: boolean;
894
- }
895
- interface ChannelArgsMulti {
896
- transports: ChannelTransport[];
897
- async?: boolean;
898
- }
899
-
900
- declare class Channel {
901
- readonly isAsync: boolean;
902
- private sender;
903
- private events;
904
- private data;
905
- private readonly transports;
906
- constructor(input: ChannelArgsMulti);
907
- constructor(input: ChannelArgsSingle);
908
- get hasTransport(): boolean;
909
- addListener(eventName: string, listener: Listener$1): void;
910
- emit(eventName: string, ...args: any): void;
911
- last(eventName: string): any;
912
- eventNames(): string[];
913
- listenerCount(eventName: string): number;
914
- listeners(eventName: string): Listener$1[] | undefined;
915
- once(eventName: string, listener: Listener$1): void;
916
- removeAllListeners(eventName?: string): void;
917
- removeListener(eventName: string, listener: Listener$1): void;
918
- on(eventName: string, listener: Listener$1): void;
919
- off(eventName: string, listener: Listener$1): void;
920
- private handleEvent;
921
- private onceListener;
922
- }
923
-
924
- interface Options$1 {
925
- allowRegExp: boolean;
926
- allowFunction: boolean;
927
- allowSymbol: boolean;
928
- allowDate: boolean;
929
- allowUndefined: boolean;
930
- allowClass: boolean;
931
- allowError: boolean;
932
- maxDepth: number;
933
- space: number | undefined;
934
- lazyEval: boolean;
935
- }
936
-
937
925
  type ExportName = string;
938
926
  type MetaId = string;
939
927
  interface StoriesSpecifier {
@@ -2024,7 +2012,7 @@ type BaseStory<TArgs, StoryFnReturnType> = Addon_BaseStoryFn<TArgs, StoryFnRetur
2024
2012
  interface Addon_RenderOptions {
2025
2013
  active: boolean;
2026
2014
  }
2027
- type Addon_Type = Addon_BaseType | Addon_PageType | Addon_WrapperType | Addon_TestProviderType<Addon_TestProviderState>;
2015
+ type Addon_Type = Addon_BaseType | Addon_PageType | Addon_WrapperType | Addon_TestProviderType;
2028
2016
  interface Addon_BaseType {
2029
2017
  /**
2030
2018
  * The title of the addon. This can be a simple string, but it can also be a
@@ -2127,45 +2115,20 @@ interface Addon_WrapperType {
2127
2115
  storyId: StoryId;
2128
2116
  }>>;
2129
2117
  }
2130
- interface Addon_TestProviderType<Details extends {
2131
- [key: string]: any;
2132
- } = NonNullable<unknown>> {
2118
+ interface Addon_TestProviderType {
2133
2119
  type: Addon_TypesEnum.experimental_TEST_PROVIDER;
2134
2120
  /** The unique id of the test provider. */
2135
2121
  id: string;
2136
- name: string;
2137
- /** @deprecated Use render instead */
2138
- title?: (state: TestProviderConfig & Addon_TestProviderState<Details>) => ReactNode;
2139
- /** @deprecated Use render instead */
2140
- description?: (state: TestProviderConfig & Addon_TestProviderState<Details>) => ReactNode;
2141
- render?: (state: TestProviderConfig & Addon_TestProviderState<Details>) => ReactNode;
2122
+ render: () => ReactNode;
2142
2123
  sidebarContextMenu?: (options: {
2143
2124
  context: API_HashEntry;
2144
- state: TestProviderConfig & Addon_TestProviderState<Details>;
2145
2125
  }) => ReactNode;
2146
- stateUpdater?: (state: TestProviderConfig & Addon_TestProviderState<Details>, update: Partial<Addon_TestProviderState<Details>>) => void | Partial<TestProviderConfig & Addon_TestProviderState<Details>>;
2147
- runnable?: boolean;
2148
2126
  }
2149
- type Addon_TestProviderState<Details extends {
2150
- [key: string]: any;
2151
- } = NonNullable<unknown>> = Pick<Addon_TestProviderType, 'runnable'> & {
2152
- progress?: TestingModuleProgressReportProgress;
2153
- details: Details;
2154
- cancellable: boolean;
2155
- cancelling: boolean;
2156
- running: boolean;
2157
- failed: boolean;
2158
- crashed: boolean;
2159
- error?: {
2160
- name: string;
2161
- message?: string;
2162
- };
2163
- };
2164
2127
  type Addon_TypeBaseNames = Exclude<Addon_TypesEnum, Addon_TypesEnum.PREVIEW | Addon_TypesEnum.experimental_PAGE | Addon_TypesEnum.experimental_TEST_PROVIDER>;
2165
2128
  interface Addon_TypesMapping extends Record<Addon_TypeBaseNames, Addon_BaseType> {
2166
2129
  [Addon_TypesEnum.PREVIEW]: Addon_WrapperType;
2167
2130
  [Addon_TypesEnum.experimental_PAGE]: Addon_PageType;
2168
- [Addon_TypesEnum.experimental_TEST_PROVIDER]: Addon_TestProviderType<Addon_TestProviderState>;
2131
+ [Addon_TypesEnum.experimental_TEST_PROVIDER]: Addon_TestProviderType;
2169
2132
  }
2170
2133
  type Addon_Loader<API> = (api: API) => void;
2171
2134
  interface Addon_Loaders<API> {
@@ -2468,7 +2431,7 @@ interface ComposeStoryFn<TRenderer extends Renderer$1 = Renderer$1, TArgs extend
2468
2431
  (storyAnnotations: AnnotatedStoryFn<TRenderer, TArgs> | StoryAnnotations<TRenderer, TArgs>, componentAnnotations: ComponentAnnotations<TRenderer, TArgs>, projectAnnotations: ProjectAnnotations$1<TRenderer>, exportsName?: string): ComposedStoryFn;
2469
2432
  }
2470
2433
 
2471
- type SupportedFrameworks = 'angular' | 'ember' | 'html-vite' | 'html-webpack5' | 'nextjs' | 'nextjs-vite' | 'preact-vite' | 'react-native-web-vite' | 'react-vite' | 'react-webpack5' | 'server-webpack5' | 'svelte-vite' | 'svelte-webpack5' | 'sveltekit' | 'vue3-vite' | 'web-components-vite' | 'web-components-webpack5' | 'qwik' | 'solid' | 'nuxt' | 'react-rsbuild' | 'vue3-rsbuild';
2434
+ type SupportedFrameworks = 'angular' | 'ember' | 'html-vite' | 'nextjs' | 'nextjs-vite' | 'preact-vite' | 'react-native-web-vite' | 'react-vite' | 'react-webpack5' | 'server-webpack5' | 'svelte-vite' | 'svelte-webpack5' | 'sveltekit' | 'vue3-vite' | 'web-components-vite' | 'qwik' | 'solid' | 'nuxt' | 'react-rsbuild' | 'vue3-rsbuild';
2472
2435
 
2473
2436
  type SupportedRenderers = 'react' | 'react-native' | 'vue3' | 'angular' | 'ember' | 'preact' | 'svelte' | 'qwik' | 'html' | 'web-components' | 'server' | 'solid' | 'nuxt';
2474
2437
 
@@ -3033,4 +2996,4 @@ declare class MockUniversalStore<State, CustomEvent extends {
3033
2996
  unsubscribeAll(): void;
3034
2997
  }
3035
2998
 
3036
- export { type API_ActiveTabsType, type API_BaseEntry, type API_ComponentEntry, type API_ComposedRef, type API_ComposedRefUpdate, type API_DocsEntry, type API_FilterFunction, type API_GroupEntry, type API_HashEntry, type API_IframeRenderer, type API_IndexHash, type API_Layout, type API_LeafEntry, type API_LoadedRefData, type API_MatchOptions, type API_Notification, type API_OptionsData, type API_PanelPositions, type API_PreparedIndexEntry, type API_PreparedStoryIndex, type API_Provider, type API_ProviderData, type API_RefId, type API_RefUrl, type API_Refs, type API_ReleaseNotes, type API_RenderOptions, type API_RootEntry, type API_RouteOptions, type API_SetRefData, type API_Settings, type API_SidebarOptions, type API_StateMerger, type API_StoryEntry, type API_StoryMapper, type API_UI, type API_UIOptions, type API_UnknownEntries, type API_Version, type API_Versions$1 as API_Versions, type API_ViewMode, type Actor, type Addon_AddStoryArgs, type Addon_Annotations, type Addon_ArgType, type Addon_ArgsStoryFn, type Addon_BaseAnnotations, type Addon_BaseDecorators, type Addon_BaseMeta, type Addon_BaseStoryFn, type Addon_BaseStoryObject, type Addon_BaseType, type Addon_ClientApiAddon, type Addon_ClientApiAddons, type Addon_ClientApiReturnFn, type Addon_ClientStoryApi, type Addon_Collection, type Addon_Comparator, type Addon_Config, type Addon_DecoratorFunction, type Addon_Elements, type Addon_LegacyStoryFn, type Addon_LoadFn, type Addon_Loadable, type Addon_Loader, type Addon_LoaderFunction, type Addon_Loaders, type Addon_MakeDecoratorResult, type Addon_OptionsParameter, type Addon_OptionsParameterV7, type Addon_PageType, type Addon_PartialStoryFn, type Addon_RenderOptions, type Addon_RequireContext, type Addon_StoryApi, type Addon_StoryContext, type Addon_StoryContextUpdate, type Addon_StoryFn, type Addon_StorySortComparator, type Addon_StorySortComparatorV7, type Addon_StorySortMethod, type Addon_StorySortObjectParameter, type Addon_StorySortParameter, type Addon_StorySortParameterV7, type Addon_StoryWrapper, type Addon_TestProviderState, type Addon_TestProviderType, type Addon_ToolbarConfig, type Addon_Type, type Addon_Types, Addon_TypesEnum, type Addon_TypesMapping, type Addon_WrapperSettings, type Addon_WrapperType, type Addons_ArgTypes, type BaseIndexEntry, type BaseIndexInput, type BaseStory, type BoundStory, type Builder, type BuilderName, type BuilderOptions, type BuilderResult, type BuilderStats, type Builder_EnvsRaw, type Builder_Unpromise, type Builder_WithRequiredProperty, type CLIBaseOptions, type CLIOptions, type CSFFile, type CompatibleString, type ComposeStoryFn, type ComposedStoryFn, type CoreCommon_AddonEntry, type CoreCommon_AddonInfo, type CoreCommon_OptionsEntry, type CoreCommon_ResolvedAddonPreset, type CoreCommon_ResolvedAddonVirtual, type CoreCommon_StorybookInfo, type CoreConfig, type DocsContextProps, type DocsIndexEntry, type DocsIndexInput, type DocsOptions, type DocsPreparedPayload, type DocsRenderFunction, type Entry, type Event, type EventInfo, type GlobalsUpdatedPayload, type IndexEntry, type IndexEntryLegacy, type IndexInput, type IndexInputStats, type IndexedCSFFile, type IndexedStory, type Indexer, type IndexerOptions, type LoadOptions, type LoadedPreset, type Middleware, MockUniversalStore, type ModuleExport, type ModuleExports, type ModuleImportFn, type NamedOrDefaultProjectAnnotations, type NormalizedComponentAnnotations, type NormalizedProjectAnnotations, type NormalizedStoriesSpecifier, type NormalizedStoryAnnotations, type Options, type PackageJson, type PartialArgsStoryFn, type Path, type PreparedMeta, type PreparedStory, type Preset, type PresetConfig, type PresetProperty, type PresetPropertyFn, type PresetValue, type Presets, type PreviewAnnotation, type ProjectAnnotations, type Ref, type RenderContext, type RenderContextCallbacks, type RenderToCanvas, type Renderer, type RendererName, type ResolvedModuleExport, type ResolvedModuleExportFromType, type ResolvedModuleExportType, type SetGlobalsPayload, type SetStoriesPayload, type SetStoriesStory, type SetStoriesStoryData, type Stats, type Status, type StatusByTypeId, type StatusStore, type StatusStoreByTypeId, type StatusTypeId, type StatusValue, type StatusesByStoryIdAndTypeId, type StoreOptions, type Store_CSFExports, type StoriesEntry, type StoriesSpecifier, type StoriesWithPartialProps, type StoryIndex, type StoryIndexEntry, type StoryIndexInput, type StoryIndexV2, type StoryIndexV3, type StoryPreparedPayload, type StoryRenderOptions, type StorybookConfig, type StorybookConfigOptions, type StorybookConfigRaw, type StorybookInternalParameters, type StorybookParameters, type SupportedFrameworks, type SupportedRenderers, type TagOptions, type TagsOptions, type TeardownRenderToCanvas, type TestBuildConfig, type TestBuildFlags, type TestProviderId, type TestProviderState, type TestProviderStateByProviderId, type TestProviderStoreById, type TypescriptOptions, UniversalStore, type UseStatusStore, type UseTestProviderStore, type V3CompatIndexEntry, type VersionCheck, type ViewMode, type WebRenderer };
2999
+ export { type API_ActiveTabsType, type API_BaseEntry, type API_ComponentEntry, type API_ComposedRef, type API_ComposedRefUpdate, type API_DocsEntry, type API_FilterFunction, type API_GroupEntry, type API_HashEntry, type API_IframeRenderer, type API_IndexHash, type API_Layout, type API_LeafEntry, type API_LoadedRefData, type API_MatchOptions, type API_Notification, type API_OptionsData, type API_PanelPositions, type API_PreparedIndexEntry, type API_PreparedStoryIndex, type API_Provider, type API_ProviderData, type API_RefId, type API_RefUrl, type API_Refs, type API_ReleaseNotes, type API_RenderOptions, type API_RootEntry, type API_RouteOptions, type API_SetRefData, type API_Settings, type API_SidebarOptions, type API_StateMerger, type API_StoryEntry, type API_StoryMapper, type API_UI, type API_UIOptions, type API_UnknownEntries, type API_Version, type API_Versions$1 as API_Versions, type API_ViewMode, type Actor, type Addon_AddStoryArgs, type Addon_Annotations, type Addon_ArgType, type Addon_ArgsStoryFn, type Addon_BaseAnnotations, type Addon_BaseDecorators, type Addon_BaseMeta, type Addon_BaseStoryFn, type Addon_BaseStoryObject, type Addon_BaseType, type Addon_ClientApiAddon, type Addon_ClientApiAddons, type Addon_ClientApiReturnFn, type Addon_ClientStoryApi, type Addon_Collection, type Addon_Comparator, type Addon_Config, type Addon_DecoratorFunction, type Addon_Elements, type Addon_LegacyStoryFn, type Addon_LoadFn, type Addon_Loadable, type Addon_Loader, type Addon_LoaderFunction, type Addon_Loaders, type Addon_MakeDecoratorResult, type Addon_OptionsParameter, type Addon_OptionsParameterV7, type Addon_PageType, type Addon_PartialStoryFn, type Addon_RenderOptions, type Addon_RequireContext, type Addon_StoryApi, type Addon_StoryContext, type Addon_StoryContextUpdate, type Addon_StoryFn, type Addon_StorySortComparator, type Addon_StorySortComparatorV7, type Addon_StorySortMethod, type Addon_StorySortObjectParameter, type Addon_StorySortParameter, type Addon_StorySortParameterV7, type Addon_StoryWrapper, type Addon_TestProviderType, type Addon_ToolbarConfig, type Addon_Type, type Addon_Types, Addon_TypesEnum, type Addon_TypesMapping, type Addon_WrapperSettings, type Addon_WrapperType, type Addons_ArgTypes, type BaseIndexEntry, type BaseIndexInput, type BaseStory, type BoundStory, type Builder, type BuilderName, type BuilderOptions, type BuilderResult, type BuilderStats, type Builder_EnvsRaw, type Builder_Unpromise, type Builder_WithRequiredProperty, type CLIBaseOptions, type CLIOptions, type CSFFile, type CompatibleString, type ComposeStoryFn, type ComposedStoryFn, type CoreCommon_AddonEntry, type CoreCommon_AddonInfo, type CoreCommon_OptionsEntry, type CoreCommon_ResolvedAddonPreset, type CoreCommon_ResolvedAddonVirtual, type CoreCommon_StorybookInfo, type CoreConfig, type DocsContextProps, type DocsIndexEntry, type DocsIndexInput, type DocsOptions, type DocsPreparedPayload, type DocsRenderFunction, type Entry, type Event, type EventInfo, type GlobalsUpdatedPayload, type IndexEntry, type IndexEntryLegacy, type IndexInput, type IndexInputStats, type IndexedCSFFile, type IndexedStory, type Indexer, type IndexerOptions, type LoadOptions, type LoadedPreset, type Middleware, MockUniversalStore, type ModuleExport, type ModuleExports, type ModuleImportFn, type NamedOrDefaultProjectAnnotations, type NormalizedComponentAnnotations, type NormalizedProjectAnnotations, type NormalizedStoriesSpecifier, type NormalizedStoryAnnotations, type Options, type PackageJson, type PartialArgsStoryFn, type Path, type PreparedMeta, type PreparedStory, type Preset, type PresetConfig, type PresetProperty, type PresetPropertyFn, type PresetValue, type Presets, type PreviewAnnotation, type ProjectAnnotations, type Ref, type RenderContext, type RenderContextCallbacks, type RenderToCanvas, type Renderer, type RendererName, type ResolvedModuleExport, type ResolvedModuleExportFromType, type ResolvedModuleExportType, type SetGlobalsPayload, type SetStoriesPayload, type SetStoriesStory, type SetStoriesStoryData, type Stats, type Status, type StatusByTypeId, type StatusStore, type StatusStoreByTypeId, type StatusTypeId, type StatusValue, type StatusesByStoryIdAndTypeId, type StoreOptions, type Store_CSFExports, type StoriesEntry, type StoriesSpecifier, type StoriesWithPartialProps, type StoryIndex, type StoryIndexEntry, type StoryIndexInput, type StoryIndexV2, type StoryIndexV3, type StoryPreparedPayload, type StoryRenderOptions, type StorybookConfig, type StorybookConfigOptions, type StorybookConfigRaw, type StorybookInternalParameters, type StorybookParameters, type SupportedFrameworks, type SupportedRenderers, type TagOptions, type TagsOptions, type TeardownRenderToCanvas, type TestBuildConfig, type TestBuildFlags, type TestProviderId, type TestProviderState, type TestProviderStateByProviderId, type TestProviderStoreById, type TypescriptOptions, UniversalStore, type UseStatusStore, type UseTestProviderStore, type V3CompatIndexEntry, type VersionCheck, type ViewMode, type WebRenderer };