storybook 9.0.0-alpha.1 → 9.0.0-alpha.3

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 (214) hide show
  1. package/README.md +31 -29
  2. package/assets/browser/favicon.svg +1 -0
  3. package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
  4. package/assets/browser/nunito-sans-bold.woff2 +0 -0
  5. package/assets/browser/nunito-sans-italic.woff2 +0 -0
  6. package/assets/browser/nunito-sans-regular.woff2 +0 -0
  7. package/assets/docs/message-reference.png +0 -0
  8. package/assets/server/addon.tsconfig.json +6 -0
  9. package/assets/server/base-preview-body.html +119 -0
  10. package/assets/server/base-preview-head.html +451 -0
  11. package/assets/server/template.ejs +87 -0
  12. package/bin/index.cjs +1 -1
  13. package/dist/babel/index.cjs +54034 -0
  14. package/dist/babel/index.d.ts +7488 -0
  15. package/dist/babel/index.js +54044 -0
  16. package/dist/bin/index.cjs +123 -0
  17. package/dist/bin/index.js +117 -0
  18. package/dist/builder-manager/index.cjs +2167 -0
  19. package/dist/builder-manager/index.d.ts +19 -0
  20. package/dist/builder-manager/index.js +2189 -0
  21. package/dist/channels/index.cjs +1936 -0
  22. package/dist/channels/index.d.ts +108 -0
  23. package/dist/channels/index.js +1883 -0
  24. package/dist/cli/bin/index.cjs +2687 -0
  25. package/dist/cli/bin/index.d.ts +2 -0
  26. package/dist/cli/bin/index.js +2707 -0
  27. package/dist/cli/index.cjs +17327 -0
  28. package/dist/cli/index.d.ts +209 -0
  29. package/dist/cli/index.js +17349 -0
  30. package/dist/client-logger/index.cjs +112 -0
  31. package/dist/client-logger/index.d.ts +29 -0
  32. package/dist/client-logger/index.js +70 -0
  33. package/dist/common/index.cjs +20560 -0
  34. package/dist/common/index.d.ts +954 -0
  35. package/dist/common/index.js +20645 -0
  36. package/dist/components/index.cjs +30056 -0
  37. package/dist/components/index.d.ts +1423 -0
  38. package/dist/components/index.js +25416 -0
  39. package/dist/core-events/index.cjs +167 -0
  40. package/dist/core-events/index.d.ts +313 -0
  41. package/dist/core-events/index.js +149 -0
  42. package/dist/core-server/index.cjs +37870 -0
  43. package/dist/core-server/index.d.ts +462 -0
  44. package/dist/core-server/index.js +37964 -0
  45. package/dist/core-server/presets/common-manager.js +28 -0
  46. package/dist/core-server/presets/common-override-preset.cjs +4824 -0
  47. package/dist/core-server/presets/common-override-preset.js +4829 -0
  48. package/dist/core-server/presets/common-preset.cjs +10228 -0
  49. package/dist/core-server/presets/common-preset.js +10306 -0
  50. package/dist/csf/index.cjs +223 -0
  51. package/dist/csf/index.d.ts +752 -0
  52. package/dist/csf/index.js +216 -0
  53. package/dist/csf-tools/index.cjs +1422 -0
  54. package/dist/csf-tools/index.d.ts +250 -0
  55. package/dist/csf-tools/index.js +1439 -0
  56. package/dist/docs-tools/index.cjs +923 -0
  57. package/dist/docs-tools/index.d.ts +162 -0
  58. package/dist/docs-tools/index.js +909 -0
  59. package/dist/index.cjs +17 -1
  60. package/dist/index.d.ts +1 -1
  61. package/dist/index.js +2 -7
  62. package/dist/instrumenter/index.cjs +3273 -0
  63. package/dist/instrumenter/index.d.ts +104 -0
  64. package/dist/instrumenter/index.js +4800 -0
  65. package/dist/manager/globals-module-info.cjs +666 -0
  66. package/dist/manager/globals-module-info.d.ts +36 -0
  67. package/dist/manager/globals-module-info.js +653 -0
  68. package/dist/manager/globals-runtime.js +41565 -0
  69. package/dist/manager/globals.cjs +43 -0
  70. package/dist/manager/globals.d.ts +21 -0
  71. package/dist/manager/globals.js +30 -0
  72. package/dist/manager/runtime.js +12043 -0
  73. package/dist/manager-api/index.cjs +10770 -0
  74. package/dist/manager-api/index.d.ts +1211 -0
  75. package/dist/manager-api/index.js +4545 -0
  76. package/dist/manager-errors.d.ts +65 -0
  77. package/dist/manager-errors.js +83 -0
  78. package/dist/node-logger/index.cjs +1642 -0
  79. package/dist/node-logger/index.d.ts +117 -0
  80. package/dist/node-logger/index.js +1652 -0
  81. package/dist/preview/globals.cjs +34 -0
  82. package/dist/preview/globals.d.ts +12 -0
  83. package/dist/preview/globals.js +21 -0
  84. package/dist/preview/runtime.js +7721 -0
  85. package/dist/preview-api/index.cjs +5656 -0
  86. package/dist/preview-api/index.d.ts +1356 -0
  87. package/dist/preview-api/index.js +5663 -0
  88. package/dist/preview-errors.cjs +486 -0
  89. package/dist/preview-errors.d.ts +188 -0
  90. package/dist/preview-errors.js +433 -0
  91. package/dist/router/index.cjs +3320 -0
  92. package/dist/router/index.d.ts +385 -0
  93. package/dist/router/index.js +1849 -0
  94. package/dist/server-errors.cjs +710 -0
  95. package/dist/server-errors.d.ts +272 -0
  96. package/dist/server-errors.js +711 -0
  97. package/dist/telemetry/index.cjs +3683 -0
  98. package/dist/telemetry/index.d.ts +112 -0
  99. package/dist/telemetry/index.js +3720 -0
  100. package/dist/test/index.cjs +34915 -0
  101. package/dist/test/index.d.ts +186 -0
  102. package/dist/test/index.js +32798 -0
  103. package/dist/theming/create.cjs +2422 -0
  104. package/dist/theming/create.d.ts +50 -0
  105. package/dist/theming/create.js +990 -0
  106. package/dist/theming/index.cjs +4832 -0
  107. package/dist/theming/index.d.ts +11939 -0
  108. package/dist/theming/index.js +3253 -0
  109. package/dist/types/index.cjs +27 -0
  110. package/dist/types/index.d.ts +2541 -0
  111. package/dist/types/index.js +7 -0
  112. package/package.json +329 -212
  113. package/.eslintrc.cjs +0 -31
  114. package/__mocks__/@aw-web-design/x-default-browser.js +0 -2
  115. package/core/babel/index.cjs +0 -1
  116. package/core/babel/index.d.ts +0 -2
  117. package/core/babel/index.js +0 -1
  118. package/core/builder-manager/index.cjs +0 -1
  119. package/core/builder-manager/index.d.ts +0 -2
  120. package/core/builder-manager/index.js +0 -1
  121. package/core/channels/index.cjs +0 -1
  122. package/core/channels/index.d.ts +0 -2
  123. package/core/channels/index.js +0 -1
  124. package/core/cli/bin/index.cjs +0 -1
  125. package/core/cli/bin/index.d.ts +0 -2
  126. package/core/cli/bin/index.js +0 -1
  127. package/core/cli/index.cjs +0 -1
  128. package/core/cli/index.d.ts +0 -2
  129. package/core/cli/index.js +0 -1
  130. package/core/client-logger/index.cjs +0 -1
  131. package/core/client-logger/index.d.ts +0 -2
  132. package/core/client-logger/index.js +0 -1
  133. package/core/common/index.cjs +0 -1
  134. package/core/common/index.d.ts +0 -2
  135. package/core/common/index.js +0 -1
  136. package/core/components/index.cjs +0 -1
  137. package/core/components/index.d.ts +0 -2
  138. package/core/components/index.js +0 -1
  139. package/core/core-events/index.cjs +0 -1
  140. package/core/core-events/index.d.ts +0 -2
  141. package/core/core-events/index.js +0 -1
  142. package/core/core-server/index.cjs +0 -1
  143. package/core/core-server/index.d.ts +0 -2
  144. package/core/core-server/index.js +0 -1
  145. package/core/core-server/presets/common-manager.js +0 -1
  146. package/core/core-server/presets/common-override-preset.cjs +0 -1
  147. package/core/core-server/presets/common-override-preset.js +0 -1
  148. package/core/core-server/presets/common-preset.cjs +0 -1
  149. package/core/core-server/presets/common-preset.js +0 -1
  150. package/core/csf/index.cjs +0 -1
  151. package/core/csf/index.d.ts +0 -2
  152. package/core/csf/index.js +0 -1
  153. package/core/csf-tools/index.cjs +0 -1
  154. package/core/csf-tools/index.d.ts +0 -2
  155. package/core/csf-tools/index.js +0 -1
  156. package/core/docs-tools/index.cjs +0 -1
  157. package/core/docs-tools/index.d.ts +0 -2
  158. package/core/docs-tools/index.js +0 -1
  159. package/core/index.cjs +0 -1
  160. package/core/index.d.ts +0 -2
  161. package/core/index.js +0 -1
  162. package/core/manager/globals-module-info.cjs +0 -1
  163. package/core/manager/globals-module-info.d.ts +0 -2
  164. package/core/manager/globals-module-info.js +0 -1
  165. package/core/manager/globals-runtime.js +0 -1
  166. package/core/manager/globals.cjs +0 -1
  167. package/core/manager/globals.d.ts +0 -2
  168. package/core/manager/globals.js +0 -1
  169. package/core/manager-api/index.cjs +0 -1
  170. package/core/manager-api/index.d.ts +0 -2
  171. package/core/manager-api/index.js +0 -1
  172. package/core/manager-errors.d.ts +0 -2
  173. package/core/manager-errors.js +0 -1
  174. package/core/node-logger/index.cjs +0 -1
  175. package/core/node-logger/index.d.ts +0 -2
  176. package/core/node-logger/index.js +0 -1
  177. package/core/preview/globals.cjs +0 -1
  178. package/core/preview/globals.d.ts +0 -2
  179. package/core/preview/globals.js +0 -1
  180. package/core/preview/runtime.js +0 -1
  181. package/core/preview-api/index.cjs +0 -1
  182. package/core/preview-api/index.d.ts +0 -2
  183. package/core/preview-api/index.js +0 -1
  184. package/core/preview-errors.cjs +0 -1
  185. package/core/preview-errors.d.ts +0 -2
  186. package/core/preview-errors.js +0 -1
  187. package/core/router/index.cjs +0 -1
  188. package/core/router/index.d.ts +0 -2
  189. package/core/router/index.js +0 -1
  190. package/core/server-errors.cjs +0 -1
  191. package/core/server-errors.d.ts +0 -2
  192. package/core/server-errors.js +0 -1
  193. package/core/telemetry/index.cjs +0 -1
  194. package/core/telemetry/index.d.ts +0 -2
  195. package/core/telemetry/index.js +0 -1
  196. package/core/theming/create.cjs +0 -1
  197. package/core/theming/create.d.ts +0 -2
  198. package/core/theming/create.js +0 -1
  199. package/core/theming/index.cjs +0 -1
  200. package/core/theming/index.d.ts +0 -2
  201. package/core/theming/index.js +0 -1
  202. package/core/types/index.cjs +0 -1
  203. package/core/types/index.d.ts +0 -2
  204. package/core/types/index.js +0 -1
  205. package/core.cjs +0 -0
  206. package/core.d.ts +0 -0
  207. package/core.js +0 -1
  208. package/dist/chunk-OWLSIX54.js +0 -8
  209. package/dist/core-path.cjs +0 -1
  210. package/dist/core-path.d.ts +0 -3
  211. package/dist/core-path.js +0 -9
  212. package/dist/proxy.cjs +0 -1
  213. package/dist/proxy.d.ts +0 -2
  214. package/dist/proxy.js +0 -9
@@ -0,0 +1,666 @@
1
+ "use strict";
2
+ var t = Object.defineProperty;
3
+ var a = Object.getOwnPropertyDescriptor;
4
+ var S = Object.getOwnPropertyNames;
5
+ var R = Object.prototype.hasOwnProperty;
6
+ var T = (e, o) => {
7
+ for (var r in o)
8
+ t(e, r, { get: o[r], enumerable: !0 });
9
+ }, s = (e, o, r, c) => {
10
+ if (o && typeof o == "object" || typeof o == "function")
11
+ for (let n of S(o))
12
+ !R.call(e, n) && n !== r && t(e, n, { get: () => o[n], enumerable: !(c = a(o, n)) || c.enumerable });
13
+ return e;
14
+ };
15
+ var l = (e) => s(t({}, "__esModule", { value: !0 }), e);
16
+
17
+ // src/manager/globals-module-info.ts
18
+ var O = {};
19
+ T(O, {
20
+ globalsModuleInfoMap: () => i
21
+ });
22
+ module.exports = l(O);
23
+
24
+ // src/manager/globals/exports.ts
25
+ var I = {
26
+ react: [
27
+ "Children",
28
+ "Component",
29
+ "Fragment",
30
+ "Profiler",
31
+ "PureComponent",
32
+ "StrictMode",
33
+ "Suspense",
34
+ "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",
35
+ "cloneElement",
36
+ "createContext",
37
+ "createElement",
38
+ "createFactory",
39
+ "createRef",
40
+ "forwardRef",
41
+ "isValidElement",
42
+ "lazy",
43
+ "memo",
44
+ "startTransition",
45
+ "unstable_act",
46
+ "useCallback",
47
+ "useContext",
48
+ "useDebugValue",
49
+ "useDeferredValue",
50
+ "useEffect",
51
+ "useId",
52
+ "useImperativeHandle",
53
+ "useInsertionEffect",
54
+ "useLayoutEffect",
55
+ "useMemo",
56
+ "useReducer",
57
+ "useRef",
58
+ "useState",
59
+ "useSyncExternalStore",
60
+ "useTransition",
61
+ "version"
62
+ ],
63
+ "react-dom": [
64
+ "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",
65
+ "createPortal",
66
+ "createRoot",
67
+ "findDOMNode",
68
+ "flushSync",
69
+ "hydrate",
70
+ "hydrateRoot",
71
+ "render",
72
+ "unmountComponentAtNode",
73
+ "unstable_batchedUpdates",
74
+ "unstable_renderSubtreeIntoContainer",
75
+ "version"
76
+ ],
77
+ "react-dom/client": ["createRoot", "hydrateRoot"],
78
+ "@storybook/icons": [
79
+ "AccessibilityAltIcon",
80
+ "AccessibilityIcon",
81
+ "AccessibilityIgnoredIcon",
82
+ "AddIcon",
83
+ "AdminIcon",
84
+ "AlertAltIcon",
85
+ "AlertIcon",
86
+ "AlignLeftIcon",
87
+ "AlignRightIcon",
88
+ "AppleIcon",
89
+ "ArrowBottomLeftIcon",
90
+ "ArrowBottomRightIcon",
91
+ "ArrowDownIcon",
92
+ "ArrowLeftIcon",
93
+ "ArrowRightIcon",
94
+ "ArrowSolidDownIcon",
95
+ "ArrowSolidLeftIcon",
96
+ "ArrowSolidRightIcon",
97
+ "ArrowSolidUpIcon",
98
+ "ArrowTopLeftIcon",
99
+ "ArrowTopRightIcon",
100
+ "ArrowUpIcon",
101
+ "AzureDevOpsIcon",
102
+ "BackIcon",
103
+ "BasketIcon",
104
+ "BatchAcceptIcon",
105
+ "BatchDenyIcon",
106
+ "BeakerIcon",
107
+ "BellIcon",
108
+ "BitbucketIcon",
109
+ "BoldIcon",
110
+ "BookIcon",
111
+ "BookmarkHollowIcon",
112
+ "BookmarkIcon",
113
+ "BottomBarIcon",
114
+ "BottomBarToggleIcon",
115
+ "BoxIcon",
116
+ "BranchIcon",
117
+ "BrowserIcon",
118
+ "ButtonIcon",
119
+ "CPUIcon",
120
+ "CalendarIcon",
121
+ "CameraIcon",
122
+ "CameraStabilizeIcon",
123
+ "CategoryIcon",
124
+ "CertificateIcon",
125
+ "ChangedIcon",
126
+ "ChatIcon",
127
+ "CheckIcon",
128
+ "ChevronDownIcon",
129
+ "ChevronLeftIcon",
130
+ "ChevronRightIcon",
131
+ "ChevronSmallDownIcon",
132
+ "ChevronSmallLeftIcon",
133
+ "ChevronSmallRightIcon",
134
+ "ChevronSmallUpIcon",
135
+ "ChevronUpIcon",
136
+ "ChromaticIcon",
137
+ "ChromeIcon",
138
+ "CircleHollowIcon",
139
+ "CircleIcon",
140
+ "ClearIcon",
141
+ "CloseAltIcon",
142
+ "CloseIcon",
143
+ "CloudHollowIcon",
144
+ "CloudIcon",
145
+ "CogIcon",
146
+ "CollapseIcon",
147
+ "CommandIcon",
148
+ "CommentAddIcon",
149
+ "CommentIcon",
150
+ "CommentsIcon",
151
+ "CommitIcon",
152
+ "CompassIcon",
153
+ "ComponentDrivenIcon",
154
+ "ComponentIcon",
155
+ "ContrastIcon",
156
+ "ContrastIgnoredIcon",
157
+ "ControlsIcon",
158
+ "CopyIcon",
159
+ "CreditIcon",
160
+ "CrossIcon",
161
+ "DashboardIcon",
162
+ "DatabaseIcon",
163
+ "DeleteIcon",
164
+ "DiamondIcon",
165
+ "DirectionIcon",
166
+ "DiscordIcon",
167
+ "DocChartIcon",
168
+ "DocListIcon",
169
+ "DocumentIcon",
170
+ "DownloadIcon",
171
+ "DragIcon",
172
+ "EditIcon",
173
+ "EllipsisIcon",
174
+ "EmailIcon",
175
+ "ExpandAltIcon",
176
+ "ExpandIcon",
177
+ "EyeCloseIcon",
178
+ "EyeIcon",
179
+ "FaceHappyIcon",
180
+ "FaceNeutralIcon",
181
+ "FaceSadIcon",
182
+ "FacebookIcon",
183
+ "FailedIcon",
184
+ "FastForwardIcon",
185
+ "FigmaIcon",
186
+ "FilterIcon",
187
+ "FlagIcon",
188
+ "FolderIcon",
189
+ "FormIcon",
190
+ "GDriveIcon",
191
+ "GithubIcon",
192
+ "GitlabIcon",
193
+ "GlobeIcon",
194
+ "GoogleIcon",
195
+ "GraphBarIcon",
196
+ "GraphLineIcon",
197
+ "GraphqlIcon",
198
+ "GridAltIcon",
199
+ "GridIcon",
200
+ "GrowIcon",
201
+ "HeartHollowIcon",
202
+ "HeartIcon",
203
+ "HomeIcon",
204
+ "HourglassIcon",
205
+ "InfoIcon",
206
+ "ItalicIcon",
207
+ "JumpToIcon",
208
+ "KeyIcon",
209
+ "LightningIcon",
210
+ "LightningOffIcon",
211
+ "LinkBrokenIcon",
212
+ "LinkIcon",
213
+ "LinkedinIcon",
214
+ "LinuxIcon",
215
+ "ListOrderedIcon",
216
+ "ListUnorderedIcon",
217
+ "LocationIcon",
218
+ "LockIcon",
219
+ "MarkdownIcon",
220
+ "MarkupIcon",
221
+ "MediumIcon",
222
+ "MemoryIcon",
223
+ "MenuIcon",
224
+ "MergeIcon",
225
+ "MirrorIcon",
226
+ "MobileIcon",
227
+ "MoonIcon",
228
+ "NutIcon",
229
+ "OutboxIcon",
230
+ "OutlineIcon",
231
+ "PaintBrushIcon",
232
+ "PaperClipIcon",
233
+ "ParagraphIcon",
234
+ "PassedIcon",
235
+ "PhoneIcon",
236
+ "PhotoDragIcon",
237
+ "PhotoIcon",
238
+ "PhotoStabilizeIcon",
239
+ "PinAltIcon",
240
+ "PinIcon",
241
+ "PlayAllHollowIcon",
242
+ "PlayBackIcon",
243
+ "PlayHollowIcon",
244
+ "PlayIcon",
245
+ "PlayNextIcon",
246
+ "PlusIcon",
247
+ "PointerDefaultIcon",
248
+ "PointerHandIcon",
249
+ "PowerIcon",
250
+ "PrintIcon",
251
+ "ProceedIcon",
252
+ "ProfileIcon",
253
+ "PullRequestIcon",
254
+ "QuestionIcon",
255
+ "RSSIcon",
256
+ "RedirectIcon",
257
+ "ReduxIcon",
258
+ "RefreshIcon",
259
+ "ReplyIcon",
260
+ "RepoIcon",
261
+ "RequestChangeIcon",
262
+ "RewindIcon",
263
+ "RulerIcon",
264
+ "SaveIcon",
265
+ "SearchIcon",
266
+ "ShareAltIcon",
267
+ "ShareIcon",
268
+ "ShieldIcon",
269
+ "SideBySideIcon",
270
+ "SidebarAltIcon",
271
+ "SidebarAltToggleIcon",
272
+ "SidebarIcon",
273
+ "SidebarToggleIcon",
274
+ "SpeakerIcon",
275
+ "StackedIcon",
276
+ "StarHollowIcon",
277
+ "StarIcon",
278
+ "StatusFailIcon",
279
+ "StatusIcon",
280
+ "StatusPassIcon",
281
+ "StatusWarnIcon",
282
+ "StickerIcon",
283
+ "StopAltHollowIcon",
284
+ "StopAltIcon",
285
+ "StopIcon",
286
+ "StorybookIcon",
287
+ "StructureIcon",
288
+ "SubtractIcon",
289
+ "SunIcon",
290
+ "SupportIcon",
291
+ "SwitchAltIcon",
292
+ "SyncIcon",
293
+ "TabletIcon",
294
+ "ThumbsUpIcon",
295
+ "TimeIcon",
296
+ "TimerIcon",
297
+ "TransferIcon",
298
+ "TrashIcon",
299
+ "TwitterIcon",
300
+ "TypeIcon",
301
+ "UbuntuIcon",
302
+ "UndoIcon",
303
+ "UnfoldIcon",
304
+ "UnlockIcon",
305
+ "UnpinIcon",
306
+ "UploadIcon",
307
+ "UserAddIcon",
308
+ "UserAltIcon",
309
+ "UserIcon",
310
+ "UsersIcon",
311
+ "VSCodeIcon",
312
+ "VerifiedIcon",
313
+ "VideoIcon",
314
+ "WandIcon",
315
+ "WatchIcon",
316
+ "WindowsIcon",
317
+ "WrenchIcon",
318
+ "XIcon",
319
+ "YoutubeIcon",
320
+ "ZoomIcon",
321
+ "ZoomOutIcon",
322
+ "ZoomResetIcon",
323
+ "iconList"
324
+ ],
325
+ "storybook/internal/components": [
326
+ "A",
327
+ "ActionBar",
328
+ "AddonPanel",
329
+ "Badge",
330
+ "Bar",
331
+ "Blockquote",
332
+ "Button",
333
+ "ClipboardCode",
334
+ "Code",
335
+ "DL",
336
+ "Div",
337
+ "DocumentWrapper",
338
+ "EmptyTabContent",
339
+ "ErrorFormatter",
340
+ "FlexBar",
341
+ "Form",
342
+ "H1",
343
+ "H2",
344
+ "H3",
345
+ "H4",
346
+ "H5",
347
+ "H6",
348
+ "HR",
349
+ "IconButton",
350
+ "IconButtonSkeleton",
351
+ "Icons",
352
+ "Img",
353
+ "LI",
354
+ "Link",
355
+ "ListItem",
356
+ "Loader",
357
+ "Modal",
358
+ "OL",
359
+ "P",
360
+ "Placeholder",
361
+ "Pre",
362
+ "ProgressSpinner",
363
+ "ResetWrapper",
364
+ "ScrollArea",
365
+ "Separator",
366
+ "Spaced",
367
+ "Span",
368
+ "StorybookIcon",
369
+ "StorybookLogo",
370
+ "Symbols",
371
+ "SyntaxHighlighter",
372
+ "TT",
373
+ "TabBar",
374
+ "TabButton",
375
+ "TabWrapper",
376
+ "Table",
377
+ "Tabs",
378
+ "TabsState",
379
+ "TooltipLinkList",
380
+ "TooltipMessage",
381
+ "TooltipNote",
382
+ "UL",
383
+ "WithTooltip",
384
+ "WithTooltipPure",
385
+ "Zoom",
386
+ "codeCommon",
387
+ "components",
388
+ "createCopyToClipboardFunction",
389
+ "getStoryHref",
390
+ "icons",
391
+ "interleaveSeparators",
392
+ "nameSpaceClassNames",
393
+ "resetComponents",
394
+ "withReset"
395
+ ],
396
+ "storybook/internal/manager-api": [
397
+ "ActiveTabs",
398
+ "Consumer",
399
+ "ManagerContext",
400
+ "Provider",
401
+ "RequestResponseError",
402
+ "addons",
403
+ "combineParameters",
404
+ "controlOrMetaKey",
405
+ "controlOrMetaSymbol",
406
+ "eventMatchesShortcut",
407
+ "eventToShortcut",
408
+ "experimental_MockUniversalStore",
409
+ "experimental_UniversalStore",
410
+ "experimental_requestResponse",
411
+ "experimental_useUniversalStore",
412
+ "isMacLike",
413
+ "isShortcutTaken",
414
+ "keyToSymbol",
415
+ "merge",
416
+ "mockChannel",
417
+ "optionOrAltSymbol",
418
+ "shortcutMatchesShortcut",
419
+ "shortcutToHumanString",
420
+ "types",
421
+ "useAddonState",
422
+ "useArgTypes",
423
+ "useArgs",
424
+ "useChannel",
425
+ "useGlobalTypes",
426
+ "useGlobals",
427
+ "useParameter",
428
+ "useSharedState",
429
+ "useStoryPrepared",
430
+ "useStorybookApi",
431
+ "useStorybookState"
432
+ ],
433
+ "storybook/internal/router": [
434
+ "BaseLocationProvider",
435
+ "DEEPLY_EQUAL",
436
+ "Link",
437
+ "Location",
438
+ "LocationProvider",
439
+ "Match",
440
+ "Route",
441
+ "buildArgsParam",
442
+ "deepDiff",
443
+ "getMatch",
444
+ "parsePath",
445
+ "queryFromLocation",
446
+ "stringifyQuery",
447
+ "useNavigate"
448
+ ],
449
+ "@storybook/router": [
450
+ "BaseLocationProvider",
451
+ "DEEPLY_EQUAL",
452
+ "Link",
453
+ "Location",
454
+ "LocationProvider",
455
+ "Match",
456
+ "Route",
457
+ "buildArgsParam",
458
+ "deepDiff",
459
+ "getMatch",
460
+ "parsePath",
461
+ "queryFromLocation",
462
+ "stringifyQuery",
463
+ "useNavigate"
464
+ ],
465
+ "storybook/internal/theming": [
466
+ "CacheProvider",
467
+ "ClassNames",
468
+ "Global",
469
+ "ThemeProvider",
470
+ "background",
471
+ "color",
472
+ "convert",
473
+ "create",
474
+ "createCache",
475
+ "createGlobal",
476
+ "createReset",
477
+ "css",
478
+ "darken",
479
+ "ensure",
480
+ "ignoreSsrWarning",
481
+ "isPropValid",
482
+ "jsx",
483
+ "keyframes",
484
+ "lighten",
485
+ "styled",
486
+ "themes",
487
+ "typography",
488
+ "useTheme",
489
+ "withTheme"
490
+ ],
491
+ "storybook/internal/theming/create": ["create", "themes"],
492
+ "storybook/internal/channels": [
493
+ "Channel",
494
+ "HEARTBEAT_INTERVAL",
495
+ "HEARTBEAT_MAX_LATENCY",
496
+ "PostMessageTransport",
497
+ "WebsocketTransport",
498
+ "createBrowserChannel"
499
+ ],
500
+ "storybook/internal/core-errors": [
501
+ "ARGTYPES_INFO_REQUEST",
502
+ "ARGTYPES_INFO_RESPONSE",
503
+ "CHANNEL_CREATED",
504
+ "CHANNEL_WS_DISCONNECT",
505
+ "CONFIG_ERROR",
506
+ "CREATE_NEW_STORYFILE_REQUEST",
507
+ "CREATE_NEW_STORYFILE_RESPONSE",
508
+ "CURRENT_STORY_WAS_SET",
509
+ "DOCS_PREPARED",
510
+ "DOCS_RENDERED",
511
+ "FILE_COMPONENT_SEARCH_REQUEST",
512
+ "FILE_COMPONENT_SEARCH_RESPONSE",
513
+ "FORCE_REMOUNT",
514
+ "FORCE_RE_RENDER",
515
+ "GLOBALS_UPDATED",
516
+ "NAVIGATE_URL",
517
+ "PLAY_FUNCTION_THREW_EXCEPTION",
518
+ "PRELOAD_ENTRIES",
519
+ "PREVIEW_BUILDER_PROGRESS",
520
+ "PREVIEW_KEYDOWN",
521
+ "REGISTER_SUBSCRIPTION",
522
+ "REQUEST_WHATS_NEW_DATA",
523
+ "RESET_STORY_ARGS",
524
+ "RESULT_WHATS_NEW_DATA",
525
+ "SAVE_STORY_REQUEST",
526
+ "SAVE_STORY_RESPONSE",
527
+ "SELECT_STORY",
528
+ "SET_CONFIG",
529
+ "SET_CURRENT_STORY",
530
+ "SET_FILTER",
531
+ "SET_GLOBALS",
532
+ "SET_INDEX",
533
+ "SET_STORIES",
534
+ "SET_WHATS_NEW_CACHE",
535
+ "SHARED_STATE_CHANGED",
536
+ "SHARED_STATE_SET",
537
+ "STORIES_COLLAPSE_ALL",
538
+ "STORIES_EXPAND_ALL",
539
+ "STORY_ARGS_UPDATED",
540
+ "STORY_CHANGED",
541
+ "STORY_ERRORED",
542
+ "STORY_FINISHED",
543
+ "STORY_INDEX_INVALIDATED",
544
+ "STORY_MISSING",
545
+ "STORY_PREPARED",
546
+ "STORY_RENDERED",
547
+ "STORY_RENDER_PHASE_CHANGED",
548
+ "STORY_SPECIFIED",
549
+ "STORY_THREW_EXCEPTION",
550
+ "STORY_UNCHANGED",
551
+ "TELEMETRY_ERROR",
552
+ "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST",
553
+ "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE",
554
+ "TESTING_MODULE_CRASH_REPORT",
555
+ "TESTING_MODULE_PROGRESS_REPORT",
556
+ "TESTING_MODULE_RUN_ALL_REQUEST",
557
+ "TESTING_MODULE_RUN_REQUEST",
558
+ "TOGGLE_WHATS_NEW_NOTIFICATIONS",
559
+ "UNHANDLED_ERRORS_WHILE_PLAYING",
560
+ "UPDATE_GLOBALS",
561
+ "UPDATE_QUERY_PARAMS",
562
+ "UPDATE_STORY_ARGS"
563
+ ],
564
+ "storybook/internal/core-events": [
565
+ "ARGTYPES_INFO_REQUEST",
566
+ "ARGTYPES_INFO_RESPONSE",
567
+ "CHANNEL_CREATED",
568
+ "CHANNEL_WS_DISCONNECT",
569
+ "CONFIG_ERROR",
570
+ "CREATE_NEW_STORYFILE_REQUEST",
571
+ "CREATE_NEW_STORYFILE_RESPONSE",
572
+ "CURRENT_STORY_WAS_SET",
573
+ "DOCS_PREPARED",
574
+ "DOCS_RENDERED",
575
+ "FILE_COMPONENT_SEARCH_REQUEST",
576
+ "FILE_COMPONENT_SEARCH_RESPONSE",
577
+ "FORCE_REMOUNT",
578
+ "FORCE_RE_RENDER",
579
+ "GLOBALS_UPDATED",
580
+ "NAVIGATE_URL",
581
+ "PLAY_FUNCTION_THREW_EXCEPTION",
582
+ "PRELOAD_ENTRIES",
583
+ "PREVIEW_BUILDER_PROGRESS",
584
+ "PREVIEW_KEYDOWN",
585
+ "REGISTER_SUBSCRIPTION",
586
+ "REQUEST_WHATS_NEW_DATA",
587
+ "RESET_STORY_ARGS",
588
+ "RESULT_WHATS_NEW_DATA",
589
+ "SAVE_STORY_REQUEST",
590
+ "SAVE_STORY_RESPONSE",
591
+ "SELECT_STORY",
592
+ "SET_CONFIG",
593
+ "SET_CURRENT_STORY",
594
+ "SET_FILTER",
595
+ "SET_GLOBALS",
596
+ "SET_INDEX",
597
+ "SET_STORIES",
598
+ "SET_WHATS_NEW_CACHE",
599
+ "SHARED_STATE_CHANGED",
600
+ "SHARED_STATE_SET",
601
+ "STORIES_COLLAPSE_ALL",
602
+ "STORIES_EXPAND_ALL",
603
+ "STORY_ARGS_UPDATED",
604
+ "STORY_CHANGED",
605
+ "STORY_ERRORED",
606
+ "STORY_FINISHED",
607
+ "STORY_INDEX_INVALIDATED",
608
+ "STORY_MISSING",
609
+ "STORY_PREPARED",
610
+ "STORY_RENDERED",
611
+ "STORY_RENDER_PHASE_CHANGED",
612
+ "STORY_SPECIFIED",
613
+ "STORY_THREW_EXCEPTION",
614
+ "STORY_UNCHANGED",
615
+ "TELEMETRY_ERROR",
616
+ "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST",
617
+ "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE",
618
+ "TESTING_MODULE_CRASH_REPORT",
619
+ "TESTING_MODULE_PROGRESS_REPORT",
620
+ "TESTING_MODULE_RUN_ALL_REQUEST",
621
+ "TESTING_MODULE_RUN_REQUEST",
622
+ "TOGGLE_WHATS_NEW_NOTIFICATIONS",
623
+ "UNHANDLED_ERRORS_WHILE_PLAYING",
624
+ "UPDATE_GLOBALS",
625
+ "UPDATE_QUERY_PARAMS",
626
+ "UPDATE_STORY_ARGS"
627
+ ],
628
+ "storybook/internal/types": ["Addon_TypesEnum"],
629
+ "storybook/internal/manager-errors": [
630
+ "Category",
631
+ "ProviderDoesNotExtendBaseProviderError",
632
+ "UncaughtManagerError"
633
+ ],
634
+ "storybook/internal/client-logger": ["deprecate", "logger", "once", "pretty"]
635
+ };
636
+
637
+ // src/manager/globals/globals.ts
638
+ var E = {
639
+ react: "__REACT__",
640
+ "react-dom": "__REACT_DOM__",
641
+ "react-dom/client": "__REACT_DOM_CLIENT__",
642
+ "@storybook/icons": "__STORYBOOK_ICONS__",
643
+ "storybook/internal/manager-api": "__STORYBOOK_API__",
644
+ "storybook/internal/components": "__STORYBOOK_COMPONENTS__",
645
+ "storybook/internal/channels": "__STORYBOOK_CHANNELS__",
646
+ "storybook/internal/core-errors": "__STORYBOOK_CORE_EVENTS__",
647
+ "storybook/internal/core-events": "__STORYBOOK_CORE_EVENTS__",
648
+ "storybook/internal/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__",
649
+ "storybook/internal/router": "__STORYBOOK_ROUTER__",
650
+ "@storybook/router": "__STORYBOOK_ROUTER__",
651
+ "storybook/internal/theming": "__STORYBOOK_THEMING__",
652
+ "storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__",
653
+ "storybook/internal/client-logger": "__STORYBOOK_CLIENT_LOGGER__",
654
+ "storybook/internal/types": "__STORYBOOK_TYPES__"
655
+ }, _ = Object.keys(E);
656
+
657
+ // src/manager/globals/globals-module-info.ts
658
+ var i = _.reduce(
659
+ (e, o) => (e[o] = {
660
+ type: "esm",
661
+ varName: E[o],
662
+ namedExports: I[o],
663
+ defaultExport: !0
664
+ }, e),
665
+ {}
666
+ );
@@ -0,0 +1,36 @@
1
+ declare type ModuleType = "esm" | "cjs";
2
+
3
+ /**
4
+ * Information that discribes a module to be imported.
5
+ */
6
+ declare type ModuleInfo = {
7
+ /**
8
+ * Global variable name with which the import statements of the module
9
+ * should be replaced.
10
+ */
11
+ varName: string;
12
+
13
+ /**
14
+ * Type (either `"esm"` or `"cjs"`) that determines the internal behavior of
15
+ * this plugin. Defaults to `"esm"`.
16
+ */
17
+ type?: ModuleType;
18
+
19
+ /**
20
+ * Names of variables that are exported from the module and may be imported
21
+ * from another module.
22
+ * No effect if `type` is `"cjs"`.
23
+ */
24
+ namedExports?: readonly string[];
25
+
26
+ /**
27
+ * Set to `false` to prevent emitting code for default import/export
28
+ * (which you won't need to unless you are finicky).
29
+ * Defaults to `true`. No effect if `type` is `"cjs"`.
30
+ */
31
+ defaultExport?: boolean;
32
+ };
33
+
34
+ declare const globalsModuleInfoMap: Required<Record<"react" | "react-dom" | "react-dom/client" | "@storybook/icons" | "storybook/internal/manager-api" | "storybook/internal/components" | "storybook/internal/channels" | "storybook/internal/core-errors" | "storybook/internal/core-events" | "storybook/internal/manager-errors" | "storybook/internal/router" | "@storybook/router" | "storybook/internal/theming" | "storybook/internal/theming/create" | "storybook/internal/client-logger" | "storybook/internal/types", Required<ModuleInfo>>>;
35
+
36
+ export { globalsModuleInfoMap };