storybook 9.0.0-alpha.2 → 9.0.0-alpha.20
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.
- package/README.md +1 -1
- package/assets/docs/addon-backgrounds.gif +0 -0
- package/assets/docs/addon-controls-args-annotated.png +0 -0
- package/assets/docs/addon-controls-args-background-color.png +0 -0
- package/assets/docs/addon-controls-args-background-string.png +0 -0
- package/assets/docs/addon-controls-args-docs.png +0 -0
- package/assets/docs/addon-controls-args-logging.png +0 -0
- package/assets/docs/addon-controls-args-no-annotation.png +0 -0
- package/assets/docs/addon-controls-args-reflow-slider.png +0 -0
- package/assets/docs/addon-controls-args-reflow.png +0 -0
- package/assets/docs/addon-controls-args-template.png +0 -0
- package/assets/docs/addon-controls-expanded.png +0 -0
- package/assets/docs/addon-controls-hero.gif +0 -0
- package/assets/docs/addon-controls-install.png +0 -0
- package/assets/docs/hero.gif +0 -0
- package/assets/docs/highlight.png +0 -0
- package/assets/docs/viewport.png +0 -0
- package/bin/index.cjs +2 -2
- package/dist/actions/decorator.d.ts +6 -0
- package/dist/actions/decorator.js +138 -0
- package/dist/actions/index.cjs +126 -0
- package/dist/actions/index.d.ts +102 -0
- package/dist/actions/index.js +111 -0
- package/dist/actions/preview.cjs +164 -0
- package/dist/actions/preview.d.ts +54 -0
- package/dist/actions/preview.js +155 -0
- package/dist/backgrounds/index.cjs +148 -0
- package/dist/backgrounds/index.d.ts +91 -0
- package/dist/backgrounds/index.js +130 -0
- package/dist/backgrounds/preview.cjs +143 -0
- package/dist/backgrounds/preview.d.ts +54 -0
- package/dist/backgrounds/preview.js +127 -0
- package/dist/bin/index.cjs +66 -89
- package/dist/bin/index.js +62 -85
- package/dist/builder-manager/index.cjs +523 -540
- package/dist/builder-manager/index.js +544 -561
- package/dist/channels/index.cjs +1026 -981
- package/dist/channels/index.js +1194 -1165
- package/dist/cli/bin/index.cjs +483 -483
- package/dist/cli/bin/index.js +495 -495
- package/dist/cli/index.cjs +2279 -2295
- package/dist/cli/index.d.ts +4 -8
- package/dist/cli/index.js +740 -756
- package/dist/client-logger/index.cjs +56 -88
- package/dist/client-logger/index.js +41 -47
- package/dist/common/index.cjs +2496 -2480
- package/dist/common/index.d.ts +5 -29
- package/dist/common/index.js +2679 -2663
- package/dist/component-testing/index.cjs +23 -0
- package/dist/component-testing/index.d.ts +3 -0
- package/dist/component-testing/index.js +5 -0
- package/dist/component-testing/preview.cjs +40 -0
- package/dist/component-testing/preview.d.ts +5 -0
- package/dist/component-testing/preview.js +25 -0
- package/dist/components/index.cjs +11709 -20418
- package/dist/components/index.d.ts +94 -346
- package/dist/components/index.js +5827 -19157
- package/dist/controls/decorator.d.ts +5 -0
- package/dist/controls/decorator.js +8 -0
- package/dist/controls/index.cjs +26 -0
- package/dist/controls/index.d.ts +39 -0
- package/dist/controls/index.js +6 -0
- package/dist/controls/preview.cjs +26 -0
- package/dist/controls/preview.d.ts +54 -0
- package/dist/controls/preview.js +9 -0
- package/dist/core-events/index.cjs +91 -106
- package/dist/core-events/index.d.ts +139 -104
- package/dist/core-events/index.js +79 -94
- package/dist/core-server/index.cjs +14413 -13924
- package/dist/core-server/index.d.ts +270 -3
- package/dist/core-server/index.js +14003 -13519
- package/dist/core-server/presets/common-manager.css +170 -0
- package/dist/core-server/presets/common-manager.js +12099 -17
- package/dist/core-server/presets/common-preset.cjs +2760 -2914
- package/dist/core-server/presets/common-preset.js +2852 -3007
- package/dist/csf/index.cjs +76 -120
- package/dist/csf/index.d.ts +2 -6
- package/dist/csf/index.js +69 -113
- package/dist/csf-tools/index.cjs +412 -403
- package/dist/csf-tools/index.d.ts +0 -4
- package/dist/csf-tools/index.js +410 -401
- package/dist/docs-tools/index.cjs +2569 -575
- package/dist/docs-tools/index.d.ts +2 -2
- package/dist/docs-tools/index.js +2557 -564
- package/dist/highlight/index.cjs +27 -0
- package/dist/highlight/index.d.ts +17 -0
- package/dist/highlight/index.js +7 -0
- package/dist/highlight/preview.cjs +81 -0
- package/dist/highlight/preview.d.ts +54 -0
- package/dist/highlight/preview.js +67 -0
- package/dist/instrumenter/index.cjs +2207 -2342
- package/dist/instrumenter/index.d.ts +8 -7
- package/dist/instrumenter/index.js +2438 -2620
- package/dist/manager/globals-module-info.cjs +290 -151
- package/dist/manager/globals-module-info.d.ts +1 -1
- package/dist/manager/globals-module-info.js +274 -135
- package/dist/manager/globals-runtime.js +60016 -28331
- package/dist/manager/globals.cjs +23 -19
- package/dist/manager/globals.d.ts +8 -5
- package/dist/manager/globals.js +10 -6
- package/dist/manager/runtime.js +4645 -3946
- package/dist/manager-api/index.cjs +4228 -3833
- package/dist/manager-api/index.d.ts +398 -102
- package/dist/manager-api/index.js +3676 -3291
- package/dist/manager-errors.d.ts +25 -1
- package/dist/manager-errors.js +42 -26
- package/dist/measure/index.cjs +474 -0
- package/dist/measure/index.d.ts +66 -0
- package/dist/measure/index.js +462 -0
- package/dist/measure/preview.cjs +464 -0
- package/dist/measure/preview.d.ts +59 -0
- package/dist/measure/preview.js +448 -0
- package/dist/outline/index.cjs +528 -0
- package/dist/outline/index.d.ts +66 -0
- package/dist/outline/index.js +500 -0
- package/dist/outline/preview.cjs +518 -0
- package/dist/outline/preview.d.ts +59 -0
- package/dist/outline/preview.js +486 -0
- package/dist/preview/globals.cjs +21 -17
- package/dist/preview/globals.d.ts +4 -1
- package/dist/preview/globals.js +6 -2
- package/dist/preview/runtime.js +45697 -6618
- package/dist/preview-api/index.cjs +1363 -1898
- package/dist/preview-api/index.d.ts +449 -498
- package/dist/preview-api/index.js +1622 -2095
- package/dist/preview-errors.cjs +99 -82
- package/dist/preview-errors.d.ts +25 -1
- package/dist/preview-errors.js +110 -94
- package/dist/router/index.cjs +847 -871
- package/dist/router/index.js +193 -199
- package/dist/server-errors.cjs +156 -125
- package/dist/server-errors.d.ts +28 -2
- package/dist/server-errors.js +150 -119
- package/dist/telemetry/index.cjs +1050 -1977
- package/dist/telemetry/index.d.ts +26 -5
- package/dist/telemetry/index.js +1085 -2008
- package/dist/test/index.cjs +35686 -0
- package/dist/test/index.d.ts +186 -0
- package/dist/test/index.js +33752 -0
- package/dist/test/preview.cjs +15870 -0
- package/dist/test/preview.d.ts +54 -0
- package/dist/test/preview.js +14441 -0
- package/dist/test/spy.cjs +258 -0
- package/dist/test/spy.d.ts +66 -0
- package/dist/test/spy.js +240 -0
- package/dist/theming/create.cjs +79 -2269
- package/dist/theming/create.js +67 -841
- package/dist/theming/index.cjs +1065 -3232
- package/dist/theming/index.js +951 -1719
- package/dist/types/index.cjs +11 -12
- package/dist/types/index.d.ts +612 -157
- package/dist/types/index.js +1 -2
- package/dist/viewport/index.cjs +310 -0
- package/dist/viewport/index.d.ts +320 -0
- package/dist/viewport/index.js +290 -0
- package/dist/viewport/preview.cjs +35 -0
- package/dist/viewport/preview.d.ts +68 -0
- package/dist/viewport/preview.js +19 -0
- package/package.json +359 -12
|
@@ -6,7 +6,7 @@ const __dirname = ESM_COMPAT_dirname(__filename);
|
|
|
6
6
|
const require = ESM_COMPAT_Module.createRequire(import.meta.url);
|
|
7
7
|
|
|
8
8
|
// src/manager/globals/exports.ts
|
|
9
|
-
var
|
|
9
|
+
var n = {
|
|
10
10
|
react: [
|
|
11
11
|
"Children",
|
|
12
12
|
"Component",
|
|
@@ -272,6 +272,7 @@ var r = {
|
|
|
272
272
|
"SubtractIcon",
|
|
273
273
|
"SunIcon",
|
|
274
274
|
"SupportIcon",
|
|
275
|
+
"SweepIcon",
|
|
275
276
|
"SwitchAltIcon",
|
|
276
277
|
"SyncIcon",
|
|
277
278
|
"TabletIcon",
|
|
@@ -306,78 +307,7 @@ var r = {
|
|
|
306
307
|
"ZoomResetIcon",
|
|
307
308
|
"iconList"
|
|
308
309
|
],
|
|
309
|
-
"storybook/
|
|
310
|
-
"A",
|
|
311
|
-
"ActionBar",
|
|
312
|
-
"AddonPanel",
|
|
313
|
-
"Badge",
|
|
314
|
-
"Bar",
|
|
315
|
-
"Blockquote",
|
|
316
|
-
"Button",
|
|
317
|
-
"ClipboardCode",
|
|
318
|
-
"Code",
|
|
319
|
-
"DL",
|
|
320
|
-
"Div",
|
|
321
|
-
"DocumentWrapper",
|
|
322
|
-
"EmptyTabContent",
|
|
323
|
-
"ErrorFormatter",
|
|
324
|
-
"FlexBar",
|
|
325
|
-
"Form",
|
|
326
|
-
"H1",
|
|
327
|
-
"H2",
|
|
328
|
-
"H3",
|
|
329
|
-
"H4",
|
|
330
|
-
"H5",
|
|
331
|
-
"H6",
|
|
332
|
-
"HR",
|
|
333
|
-
"IconButton",
|
|
334
|
-
"IconButtonSkeleton",
|
|
335
|
-
"Icons",
|
|
336
|
-
"Img",
|
|
337
|
-
"LI",
|
|
338
|
-
"Link",
|
|
339
|
-
"ListItem",
|
|
340
|
-
"Loader",
|
|
341
|
-
"Modal",
|
|
342
|
-
"OL",
|
|
343
|
-
"P",
|
|
344
|
-
"Placeholder",
|
|
345
|
-
"Pre",
|
|
346
|
-
"ProgressSpinner",
|
|
347
|
-
"ResetWrapper",
|
|
348
|
-
"ScrollArea",
|
|
349
|
-
"Separator",
|
|
350
|
-
"Spaced",
|
|
351
|
-
"Span",
|
|
352
|
-
"StorybookIcon",
|
|
353
|
-
"StorybookLogo",
|
|
354
|
-
"Symbols",
|
|
355
|
-
"SyntaxHighlighter",
|
|
356
|
-
"TT",
|
|
357
|
-
"TabBar",
|
|
358
|
-
"TabButton",
|
|
359
|
-
"TabWrapper",
|
|
360
|
-
"Table",
|
|
361
|
-
"Tabs",
|
|
362
|
-
"TabsState",
|
|
363
|
-
"TooltipLinkList",
|
|
364
|
-
"TooltipMessage",
|
|
365
|
-
"TooltipNote",
|
|
366
|
-
"UL",
|
|
367
|
-
"WithTooltip",
|
|
368
|
-
"WithTooltipPure",
|
|
369
|
-
"Zoom",
|
|
370
|
-
"codeCommon",
|
|
371
|
-
"components",
|
|
372
|
-
"createCopyToClipboardFunction",
|
|
373
|
-
"getStoryHref",
|
|
374
|
-
"icons",
|
|
375
|
-
"interleaveSeparators",
|
|
376
|
-
"nameSpaceClassNames",
|
|
377
|
-
"resetComponents",
|
|
378
|
-
"withReset"
|
|
379
|
-
],
|
|
380
|
-
"storybook/internal/manager-api": [
|
|
310
|
+
"storybook/manager-api": [
|
|
381
311
|
"ActiveTabs",
|
|
382
312
|
"Consumer",
|
|
383
313
|
"ManagerContext",
|
|
@@ -391,8 +321,16 @@ var r = {
|
|
|
391
321
|
"eventToShortcut",
|
|
392
322
|
"experimental_MockUniversalStore",
|
|
393
323
|
"experimental_UniversalStore",
|
|
324
|
+
"experimental_getStatusStore",
|
|
325
|
+
"experimental_getTestProviderStore",
|
|
394
326
|
"experimental_requestResponse",
|
|
327
|
+
"experimental_useStatusStore",
|
|
328
|
+
"experimental_useTestProviderStore",
|
|
395
329
|
"experimental_useUniversalStore",
|
|
330
|
+
"internal_fullStatusStore",
|
|
331
|
+
"internal_fullTestProviderStore",
|
|
332
|
+
"internal_universalStatusStore",
|
|
333
|
+
"internal_universalTestProviderStore",
|
|
396
334
|
"isMacLike",
|
|
397
335
|
"isShortcutTaken",
|
|
398
336
|
"keyToSymbol",
|
|
@@ -414,39 +352,7 @@ var r = {
|
|
|
414
352
|
"useStorybookApi",
|
|
415
353
|
"useStorybookState"
|
|
416
354
|
],
|
|
417
|
-
"storybook/
|
|
418
|
-
"BaseLocationProvider",
|
|
419
|
-
"DEEPLY_EQUAL",
|
|
420
|
-
"Link",
|
|
421
|
-
"Location",
|
|
422
|
-
"LocationProvider",
|
|
423
|
-
"Match",
|
|
424
|
-
"Route",
|
|
425
|
-
"buildArgsParam",
|
|
426
|
-
"deepDiff",
|
|
427
|
-
"getMatch",
|
|
428
|
-
"parsePath",
|
|
429
|
-
"queryFromLocation",
|
|
430
|
-
"stringifyQuery",
|
|
431
|
-
"useNavigate"
|
|
432
|
-
],
|
|
433
|
-
"@storybook/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/internal/theming": [
|
|
355
|
+
"storybook/theming": [
|
|
450
356
|
"CacheProvider",
|
|
451
357
|
"ClassNames",
|
|
452
358
|
"Global",
|
|
@@ -472,7 +378,92 @@ var r = {
|
|
|
472
378
|
"useTheme",
|
|
473
379
|
"withTheme"
|
|
474
380
|
],
|
|
475
|
-
"storybook/
|
|
381
|
+
"storybook/theming/create": ["create", "themes"],
|
|
382
|
+
"storybook/test": [
|
|
383
|
+
"buildQueries",
|
|
384
|
+
"clearAllMocks",
|
|
385
|
+
"configure",
|
|
386
|
+
"createEvent",
|
|
387
|
+
"expect",
|
|
388
|
+
"findAllByAltText",
|
|
389
|
+
"findAllByDisplayValue",
|
|
390
|
+
"findAllByLabelText",
|
|
391
|
+
"findAllByPlaceholderText",
|
|
392
|
+
"findAllByRole",
|
|
393
|
+
"findAllByTestId",
|
|
394
|
+
"findAllByText",
|
|
395
|
+
"findAllByTitle",
|
|
396
|
+
"findByAltText",
|
|
397
|
+
"findByDisplayValue",
|
|
398
|
+
"findByLabelText",
|
|
399
|
+
"findByPlaceholderText",
|
|
400
|
+
"findByRole",
|
|
401
|
+
"findByTestId",
|
|
402
|
+
"findByText",
|
|
403
|
+
"findByTitle",
|
|
404
|
+
"fireEvent",
|
|
405
|
+
"fn",
|
|
406
|
+
"getAllByAltText",
|
|
407
|
+
"getAllByDisplayValue",
|
|
408
|
+
"getAllByLabelText",
|
|
409
|
+
"getAllByPlaceholderText",
|
|
410
|
+
"getAllByRole",
|
|
411
|
+
"getAllByTestId",
|
|
412
|
+
"getAllByText",
|
|
413
|
+
"getAllByTitle",
|
|
414
|
+
"getByAltText",
|
|
415
|
+
"getByDisplayValue",
|
|
416
|
+
"getByLabelText",
|
|
417
|
+
"getByPlaceholderText",
|
|
418
|
+
"getByRole",
|
|
419
|
+
"getByTestId",
|
|
420
|
+
"getByText",
|
|
421
|
+
"getByTitle",
|
|
422
|
+
"getConfig",
|
|
423
|
+
"getDefaultNormalizer",
|
|
424
|
+
"getElementError",
|
|
425
|
+
"getNodeText",
|
|
426
|
+
"getQueriesForElement",
|
|
427
|
+
"getRoles",
|
|
428
|
+
"getSuggestedQuery",
|
|
429
|
+
"isInaccessible",
|
|
430
|
+
"isMockFunction",
|
|
431
|
+
"logDOM",
|
|
432
|
+
"logRoles",
|
|
433
|
+
"mocked",
|
|
434
|
+
"mocks",
|
|
435
|
+
"onMockCall",
|
|
436
|
+
"prettyDOM",
|
|
437
|
+
"prettyFormat",
|
|
438
|
+
"queries",
|
|
439
|
+
"queryAllByAltText",
|
|
440
|
+
"queryAllByAttribute",
|
|
441
|
+
"queryAllByDisplayValue",
|
|
442
|
+
"queryAllByLabelText",
|
|
443
|
+
"queryAllByPlaceholderText",
|
|
444
|
+
"queryAllByRole",
|
|
445
|
+
"queryAllByTestId",
|
|
446
|
+
"queryAllByText",
|
|
447
|
+
"queryAllByTitle",
|
|
448
|
+
"queryByAltText",
|
|
449
|
+
"queryByAttribute",
|
|
450
|
+
"queryByDisplayValue",
|
|
451
|
+
"queryByLabelText",
|
|
452
|
+
"queryByPlaceholderText",
|
|
453
|
+
"queryByRole",
|
|
454
|
+
"queryByTestId",
|
|
455
|
+
"queryByText",
|
|
456
|
+
"queryByTitle",
|
|
457
|
+
"queryHelpers",
|
|
458
|
+
"resetAllMocks",
|
|
459
|
+
"restoreAllMocks",
|
|
460
|
+
"screen",
|
|
461
|
+
"spyOn",
|
|
462
|
+
"userEvent",
|
|
463
|
+
"waitFor",
|
|
464
|
+
"waitForElementToBeRemoved",
|
|
465
|
+
"within"
|
|
466
|
+
],
|
|
476
467
|
"storybook/internal/channels": [
|
|
477
468
|
"Channel",
|
|
478
469
|
"HEARTBEAT_INTERVAL",
|
|
@@ -481,6 +472,74 @@ var r = {
|
|
|
481
472
|
"WebsocketTransport",
|
|
482
473
|
"createBrowserChannel"
|
|
483
474
|
],
|
|
475
|
+
"storybook/internal/client-logger": ["deprecate", "logger", "once", "pretty"],
|
|
476
|
+
"storybook/internal/components": [
|
|
477
|
+
"A",
|
|
478
|
+
"ActionBar",
|
|
479
|
+
"AddonPanel",
|
|
480
|
+
"Badge",
|
|
481
|
+
"Bar",
|
|
482
|
+
"Blockquote",
|
|
483
|
+
"Button",
|
|
484
|
+
"ClipboardCode",
|
|
485
|
+
"Code",
|
|
486
|
+
"DL",
|
|
487
|
+
"Div",
|
|
488
|
+
"DocumentWrapper",
|
|
489
|
+
"EmptyTabContent",
|
|
490
|
+
"ErrorFormatter",
|
|
491
|
+
"FlexBar",
|
|
492
|
+
"Form",
|
|
493
|
+
"H1",
|
|
494
|
+
"H2",
|
|
495
|
+
"H3",
|
|
496
|
+
"H4",
|
|
497
|
+
"H5",
|
|
498
|
+
"H6",
|
|
499
|
+
"HR",
|
|
500
|
+
"IconButton",
|
|
501
|
+
"Img",
|
|
502
|
+
"LI",
|
|
503
|
+
"Link",
|
|
504
|
+
"ListItem",
|
|
505
|
+
"Loader",
|
|
506
|
+
"Modal",
|
|
507
|
+
"OL",
|
|
508
|
+
"P",
|
|
509
|
+
"Placeholder",
|
|
510
|
+
"Pre",
|
|
511
|
+
"ProgressSpinner",
|
|
512
|
+
"ResetWrapper",
|
|
513
|
+
"ScrollArea",
|
|
514
|
+
"Separator",
|
|
515
|
+
"Spaced",
|
|
516
|
+
"Span",
|
|
517
|
+
"StorybookIcon",
|
|
518
|
+
"StorybookLogo",
|
|
519
|
+
"SyntaxHighlighter",
|
|
520
|
+
"TT",
|
|
521
|
+
"TabBar",
|
|
522
|
+
"TabButton",
|
|
523
|
+
"TabWrapper",
|
|
524
|
+
"Table",
|
|
525
|
+
"Tabs",
|
|
526
|
+
"TabsState",
|
|
527
|
+
"TooltipLinkList",
|
|
528
|
+
"TooltipMessage",
|
|
529
|
+
"TooltipNote",
|
|
530
|
+
"UL",
|
|
531
|
+
"WithTooltip",
|
|
532
|
+
"WithTooltipPure",
|
|
533
|
+
"Zoom",
|
|
534
|
+
"codeCommon",
|
|
535
|
+
"components",
|
|
536
|
+
"createCopyToClipboardFunction",
|
|
537
|
+
"getStoryHref",
|
|
538
|
+
"interleaveSeparators",
|
|
539
|
+
"nameSpaceClassNames",
|
|
540
|
+
"resetComponents",
|
|
541
|
+
"withReset"
|
|
542
|
+
],
|
|
484
543
|
"storybook/internal/core-errors": [
|
|
485
544
|
"ARGTYPES_INFO_REQUEST",
|
|
486
545
|
"ARGTYPES_INFO_RESPONSE",
|
|
@@ -533,12 +592,6 @@ var r = {
|
|
|
533
592
|
"STORY_THREW_EXCEPTION",
|
|
534
593
|
"STORY_UNCHANGED",
|
|
535
594
|
"TELEMETRY_ERROR",
|
|
536
|
-
"TESTING_MODULE_CANCEL_TEST_RUN_REQUEST",
|
|
537
|
-
"TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE",
|
|
538
|
-
"TESTING_MODULE_CRASH_REPORT",
|
|
539
|
-
"TESTING_MODULE_PROGRESS_REPORT",
|
|
540
|
-
"TESTING_MODULE_RUN_ALL_REQUEST",
|
|
541
|
-
"TESTING_MODULE_RUN_REQUEST",
|
|
542
595
|
"TOGGLE_WHATS_NEW_NOTIFICATIONS",
|
|
543
596
|
"UNHANDLED_ERRORS_WHILE_PLAYING",
|
|
544
597
|
"UPDATE_GLOBALS",
|
|
@@ -597,57 +650,143 @@ var r = {
|
|
|
597
650
|
"STORY_THREW_EXCEPTION",
|
|
598
651
|
"STORY_UNCHANGED",
|
|
599
652
|
"TELEMETRY_ERROR",
|
|
600
|
-
"TESTING_MODULE_CANCEL_TEST_RUN_REQUEST",
|
|
601
|
-
"TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE",
|
|
602
|
-
"TESTING_MODULE_CRASH_REPORT",
|
|
603
|
-
"TESTING_MODULE_PROGRESS_REPORT",
|
|
604
|
-
"TESTING_MODULE_RUN_ALL_REQUEST",
|
|
605
|
-
"TESTING_MODULE_RUN_REQUEST",
|
|
606
653
|
"TOGGLE_WHATS_NEW_NOTIFICATIONS",
|
|
607
654
|
"UNHANDLED_ERRORS_WHILE_PLAYING",
|
|
608
655
|
"UPDATE_GLOBALS",
|
|
609
656
|
"UPDATE_QUERY_PARAMS",
|
|
610
657
|
"UPDATE_STORY_ARGS"
|
|
611
658
|
],
|
|
612
|
-
"storybook/internal/types": ["Addon_TypesEnum"],
|
|
613
659
|
"storybook/internal/manager-errors": [
|
|
614
660
|
"Category",
|
|
615
661
|
"ProviderDoesNotExtendBaseProviderError",
|
|
662
|
+
"StatusTypeIdMismatchError",
|
|
616
663
|
"UncaughtManagerError"
|
|
617
664
|
],
|
|
618
|
-
"storybook/internal/
|
|
665
|
+
"storybook/internal/router": [
|
|
666
|
+
"BaseLocationProvider",
|
|
667
|
+
"DEEPLY_EQUAL",
|
|
668
|
+
"Link",
|
|
669
|
+
"Location",
|
|
670
|
+
"LocationProvider",
|
|
671
|
+
"Match",
|
|
672
|
+
"Route",
|
|
673
|
+
"buildArgsParam",
|
|
674
|
+
"deepDiff",
|
|
675
|
+
"getMatch",
|
|
676
|
+
"parsePath",
|
|
677
|
+
"queryFromLocation",
|
|
678
|
+
"stringifyQuery",
|
|
679
|
+
"useNavigate"
|
|
680
|
+
],
|
|
681
|
+
"storybook/internal/types": ["Addon_TypesEnum"],
|
|
682
|
+
"storybook/internal/manager-api": [
|
|
683
|
+
"ActiveTabs",
|
|
684
|
+
"Consumer",
|
|
685
|
+
"ManagerContext",
|
|
686
|
+
"Provider",
|
|
687
|
+
"RequestResponseError",
|
|
688
|
+
"addons",
|
|
689
|
+
"combineParameters",
|
|
690
|
+
"controlOrMetaKey",
|
|
691
|
+
"controlOrMetaSymbol",
|
|
692
|
+
"eventMatchesShortcut",
|
|
693
|
+
"eventToShortcut",
|
|
694
|
+
"experimental_MockUniversalStore",
|
|
695
|
+
"experimental_UniversalStore",
|
|
696
|
+
"experimental_getStatusStore",
|
|
697
|
+
"experimental_getTestProviderStore",
|
|
698
|
+
"experimental_requestResponse",
|
|
699
|
+
"experimental_useStatusStore",
|
|
700
|
+
"experimental_useTestProviderStore",
|
|
701
|
+
"experimental_useUniversalStore",
|
|
702
|
+
"internal_fullStatusStore",
|
|
703
|
+
"internal_fullTestProviderStore",
|
|
704
|
+
"internal_universalStatusStore",
|
|
705
|
+
"internal_universalTestProviderStore",
|
|
706
|
+
"isMacLike",
|
|
707
|
+
"isShortcutTaken",
|
|
708
|
+
"keyToSymbol",
|
|
709
|
+
"merge",
|
|
710
|
+
"mockChannel",
|
|
711
|
+
"optionOrAltSymbol",
|
|
712
|
+
"shortcutMatchesShortcut",
|
|
713
|
+
"shortcutToHumanString",
|
|
714
|
+
"types",
|
|
715
|
+
"useAddonState",
|
|
716
|
+
"useArgTypes",
|
|
717
|
+
"useArgs",
|
|
718
|
+
"useChannel",
|
|
719
|
+
"useGlobalTypes",
|
|
720
|
+
"useGlobals",
|
|
721
|
+
"useParameter",
|
|
722
|
+
"useSharedState",
|
|
723
|
+
"useStoryPrepared",
|
|
724
|
+
"useStorybookApi",
|
|
725
|
+
"useStorybookState"
|
|
726
|
+
],
|
|
727
|
+
"storybook/internal/theming": [
|
|
728
|
+
"CacheProvider",
|
|
729
|
+
"ClassNames",
|
|
730
|
+
"Global",
|
|
731
|
+
"ThemeProvider",
|
|
732
|
+
"background",
|
|
733
|
+
"color",
|
|
734
|
+
"convert",
|
|
735
|
+
"create",
|
|
736
|
+
"createCache",
|
|
737
|
+
"createGlobal",
|
|
738
|
+
"createReset",
|
|
739
|
+
"css",
|
|
740
|
+
"darken",
|
|
741
|
+
"ensure",
|
|
742
|
+
"ignoreSsrWarning",
|
|
743
|
+
"isPropValid",
|
|
744
|
+
"jsx",
|
|
745
|
+
"keyframes",
|
|
746
|
+
"lighten",
|
|
747
|
+
"styled",
|
|
748
|
+
"themes",
|
|
749
|
+
"typography",
|
|
750
|
+
"useTheme",
|
|
751
|
+
"withTheme"
|
|
752
|
+
],
|
|
753
|
+
"storybook/internal/theming/create": ["create", "themes"]
|
|
619
754
|
};
|
|
620
755
|
|
|
621
756
|
// src/manager/globals/globals.ts
|
|
622
|
-
var
|
|
757
|
+
var o = {
|
|
623
758
|
react: "__REACT__",
|
|
624
759
|
"react-dom": "__REACT_DOM__",
|
|
625
760
|
"react-dom/client": "__REACT_DOM_CLIENT__",
|
|
626
761
|
"@storybook/icons": "__STORYBOOK_ICONS__",
|
|
627
|
-
"storybook/
|
|
628
|
-
"storybook/
|
|
762
|
+
"storybook/manager-api": "__STORYBOOK_API__",
|
|
763
|
+
"storybook/test": "__STORYBOOK_TEST__",
|
|
764
|
+
"storybook/theming": "__STORYBOOK_THEMING__",
|
|
765
|
+
"storybook/theming/create": "__STORYBOOK_THEMING_CREATE__",
|
|
629
766
|
"storybook/internal/channels": "__STORYBOOK_CHANNELS__",
|
|
767
|
+
"storybook/internal/client-logger": "__STORYBOOK_CLIENT_LOGGER__",
|
|
768
|
+
"storybook/internal/components": "__STORYBOOK_COMPONENTS__",
|
|
630
769
|
"storybook/internal/core-errors": "__STORYBOOK_CORE_EVENTS__",
|
|
631
770
|
"storybook/internal/core-events": "__STORYBOOK_CORE_EVENTS__",
|
|
632
771
|
"storybook/internal/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__",
|
|
633
772
|
"storybook/internal/router": "__STORYBOOK_ROUTER__",
|
|
634
|
-
"
|
|
773
|
+
"storybook/internal/types": "__STORYBOOK_TYPES__",
|
|
774
|
+
// @deprecated TODO: delete in 9.1
|
|
775
|
+
"storybook/internal/manager-api": "__STORYBOOK_API__",
|
|
635
776
|
"storybook/internal/theming": "__STORYBOOK_THEMING__",
|
|
636
|
-
"storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__"
|
|
637
|
-
|
|
638
|
-
"storybook/internal/types": "__STORYBOOK_TYPES__"
|
|
639
|
-
}, t = Object.keys(e);
|
|
777
|
+
"storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__"
|
|
778
|
+
}, r = Object.keys(o);
|
|
640
779
|
|
|
641
780
|
// src/manager/globals/globals-module-info.ts
|
|
642
|
-
var
|
|
643
|
-
(
|
|
781
|
+
var E = r.reduce(
|
|
782
|
+
(t, e) => (t[e] = {
|
|
644
783
|
type: "esm",
|
|
645
|
-
varName: e
|
|
646
|
-
namedExports:
|
|
784
|
+
varName: o[e],
|
|
785
|
+
namedExports: n[e],
|
|
647
786
|
defaultExport: !0
|
|
648
|
-
},
|
|
787
|
+
}, t),
|
|
649
788
|
{}
|
|
650
789
|
);
|
|
651
790
|
export {
|
|
652
|
-
|
|
791
|
+
E as globalsModuleInfoMap
|
|
653
792
|
};
|