storybook 9.0.0-alpha.2 → 9.0.0-alpha.4
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/dist/actions/decorator.d.ts +6 -0
- package/dist/actions/decorator.js +139 -0
- package/dist/actions/index.cjs +127 -0
- package/dist/actions/index.d.ts +105 -0
- package/dist/actions/index.js +112 -0
- package/dist/actions/manager.js +1196 -0
- package/dist/actions/preview.cjs +165 -0
- package/dist/actions/preview.d.ts +55 -0
- package/dist/actions/preview.js +156 -0
- package/dist/bin/index.cjs +63 -65
- package/dist/bin/index.js +63 -65
- package/dist/channels/index.cjs +209 -234
- package/dist/channels/index.js +304 -308
- package/dist/cli/bin/index.cjs +409 -409
- package/dist/cli/bin/index.js +414 -414
- package/dist/cli/index.cjs +1 -1
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/client-logger/index.cjs +56 -88
- package/dist/client-logger/index.js +41 -47
- package/dist/common/index.cjs +148 -148
- package/dist/common/index.d.ts +1 -5
- package/dist/common/index.js +171 -171
- package/dist/components/index.cjs +9413 -11578
- package/dist/components/index.d.ts +92 -92
- package/dist/components/index.js +6768 -7544
- package/dist/core-events/index.d.ts +138 -25
- package/dist/core-server/index.cjs +5244 -5270
- package/dist/core-server/index.d.ts +1 -1
- package/dist/core-server/index.js +5356 -5380
- package/dist/core-server/presets/common-manager.js +11 -19
- package/dist/core-server/presets/common-preset.cjs +243 -242
- package/dist/core-server/presets/common-preset.js +379 -378
- package/dist/csf/index.cjs +76 -120
- package/dist/csf/index.d.ts +1 -3
- package/dist/csf/index.js +69 -113
- package/dist/docs-tools/index.cjs +1 -1
- package/dist/docs-tools/index.d.ts +2 -2
- package/dist/docs-tools/index.js +1 -1
- package/dist/instrumenter/index.cjs +1260 -1289
- package/dist/instrumenter/index.js +1344 -1348
- package/dist/manager/globals-module-info.cjs +272 -135
- package/dist/manager/globals-module-info.d.ts +1 -1
- package/dist/manager/globals-module-info.js +257 -120
- package/dist/manager/globals-runtime.js +59553 -22373
- 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 +129 -129
- package/dist/manager-api/index.cjs +1184 -1209
- package/dist/manager-api/index.d.ts +3 -3
- package/dist/manager-api/index.js +1012 -1012
- 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 +43946 -6548
- package/dist/preview-api/index.cjs +1245 -1243
- package/dist/preview-api/index.d.ts +105 -61
- package/dist/preview-api/index.js +1311 -1273
- package/dist/preview-errors.cjs +1 -1
- package/dist/preview-errors.js +1 -1
- package/dist/router/index.cjs +847 -871
- package/dist/router/index.js +193 -199
- package/dist/test/index.cjs +34778 -0
- package/dist/test/index.d.ts +186 -0
- package/dist/test/index.js +32916 -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.d.ts +242 -242
- package/package.json +155 -3
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var T = (
|
|
7
|
-
for (var
|
|
8
|
-
|
|
9
|
-
}, s = (
|
|
10
|
-
if (
|
|
11
|
-
for (let n of
|
|
12
|
-
!
|
|
13
|
-
return
|
|
2
|
+
var r = Object.defineProperty;
|
|
3
|
+
var l = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var I = Object.getOwnPropertyNames;
|
|
5
|
+
var S = Object.prototype.hasOwnProperty;
|
|
6
|
+
var T = (o, e) => {
|
|
7
|
+
for (var t in e)
|
|
8
|
+
r(o, t, { get: e[t], enumerable: !0 });
|
|
9
|
+
}, s = (o, e, t, a) => {
|
|
10
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
11
|
+
for (let n of I(e))
|
|
12
|
+
!S.call(o, n) && n !== t && r(o, n, { get: () => e[n], enumerable: !(a = l(e, n)) || a.enumerable });
|
|
13
|
+
return o;
|
|
14
14
|
};
|
|
15
|
-
var
|
|
15
|
+
var R = (o) => s(r({}, "__esModule", { value: !0 }), o);
|
|
16
16
|
|
|
17
17
|
// src/manager/globals-module-info.ts
|
|
18
|
-
var
|
|
19
|
-
T(
|
|
18
|
+
var A = {};
|
|
19
|
+
T(A, {
|
|
20
20
|
globalsModuleInfoMap: () => i
|
|
21
21
|
});
|
|
22
|
-
module.exports =
|
|
22
|
+
module.exports = R(A);
|
|
23
23
|
|
|
24
24
|
// src/manager/globals/exports.ts
|
|
25
|
-
var
|
|
25
|
+
var E = {
|
|
26
26
|
react: [
|
|
27
27
|
"Children",
|
|
28
28
|
"Component",
|
|
@@ -322,6 +322,164 @@ var I = {
|
|
|
322
322
|
"ZoomResetIcon",
|
|
323
323
|
"iconList"
|
|
324
324
|
],
|
|
325
|
+
"storybook/manager-api": [
|
|
326
|
+
"ActiveTabs",
|
|
327
|
+
"Consumer",
|
|
328
|
+
"ManagerContext",
|
|
329
|
+
"Provider",
|
|
330
|
+
"RequestResponseError",
|
|
331
|
+
"addons",
|
|
332
|
+
"combineParameters",
|
|
333
|
+
"controlOrMetaKey",
|
|
334
|
+
"controlOrMetaSymbol",
|
|
335
|
+
"eventMatchesShortcut",
|
|
336
|
+
"eventToShortcut",
|
|
337
|
+
"experimental_MockUniversalStore",
|
|
338
|
+
"experimental_UniversalStore",
|
|
339
|
+
"experimental_requestResponse",
|
|
340
|
+
"experimental_useUniversalStore",
|
|
341
|
+
"isMacLike",
|
|
342
|
+
"isShortcutTaken",
|
|
343
|
+
"keyToSymbol",
|
|
344
|
+
"merge",
|
|
345
|
+
"mockChannel",
|
|
346
|
+
"optionOrAltSymbol",
|
|
347
|
+
"shortcutMatchesShortcut",
|
|
348
|
+
"shortcutToHumanString",
|
|
349
|
+
"types",
|
|
350
|
+
"useAddonState",
|
|
351
|
+
"useArgTypes",
|
|
352
|
+
"useArgs",
|
|
353
|
+
"useChannel",
|
|
354
|
+
"useGlobalTypes",
|
|
355
|
+
"useGlobals",
|
|
356
|
+
"useParameter",
|
|
357
|
+
"useSharedState",
|
|
358
|
+
"useStoryPrepared",
|
|
359
|
+
"useStorybookApi",
|
|
360
|
+
"useStorybookState"
|
|
361
|
+
],
|
|
362
|
+
"storybook/theming": [
|
|
363
|
+
"CacheProvider",
|
|
364
|
+
"ClassNames",
|
|
365
|
+
"Global",
|
|
366
|
+
"ThemeProvider",
|
|
367
|
+
"background",
|
|
368
|
+
"color",
|
|
369
|
+
"convert",
|
|
370
|
+
"create",
|
|
371
|
+
"createCache",
|
|
372
|
+
"createGlobal",
|
|
373
|
+
"createReset",
|
|
374
|
+
"css",
|
|
375
|
+
"darken",
|
|
376
|
+
"ensure",
|
|
377
|
+
"ignoreSsrWarning",
|
|
378
|
+
"isPropValid",
|
|
379
|
+
"jsx",
|
|
380
|
+
"keyframes",
|
|
381
|
+
"lighten",
|
|
382
|
+
"styled",
|
|
383
|
+
"themes",
|
|
384
|
+
"typography",
|
|
385
|
+
"useTheme",
|
|
386
|
+
"withTheme"
|
|
387
|
+
],
|
|
388
|
+
"storybook/theming/create": ["create", "themes"],
|
|
389
|
+
"storybook/test": [
|
|
390
|
+
"buildQueries",
|
|
391
|
+
"clearAllMocks",
|
|
392
|
+
"configure",
|
|
393
|
+
"createEvent",
|
|
394
|
+
"expect",
|
|
395
|
+
"findAllByAltText",
|
|
396
|
+
"findAllByDisplayValue",
|
|
397
|
+
"findAllByLabelText",
|
|
398
|
+
"findAllByPlaceholderText",
|
|
399
|
+
"findAllByRole",
|
|
400
|
+
"findAllByTestId",
|
|
401
|
+
"findAllByText",
|
|
402
|
+
"findAllByTitle",
|
|
403
|
+
"findByAltText",
|
|
404
|
+
"findByDisplayValue",
|
|
405
|
+
"findByLabelText",
|
|
406
|
+
"findByPlaceholderText",
|
|
407
|
+
"findByRole",
|
|
408
|
+
"findByTestId",
|
|
409
|
+
"findByText",
|
|
410
|
+
"findByTitle",
|
|
411
|
+
"fireEvent",
|
|
412
|
+
"fn",
|
|
413
|
+
"getAllByAltText",
|
|
414
|
+
"getAllByDisplayValue",
|
|
415
|
+
"getAllByLabelText",
|
|
416
|
+
"getAllByPlaceholderText",
|
|
417
|
+
"getAllByRole",
|
|
418
|
+
"getAllByTestId",
|
|
419
|
+
"getAllByText",
|
|
420
|
+
"getAllByTitle",
|
|
421
|
+
"getByAltText",
|
|
422
|
+
"getByDisplayValue",
|
|
423
|
+
"getByLabelText",
|
|
424
|
+
"getByPlaceholderText",
|
|
425
|
+
"getByRole",
|
|
426
|
+
"getByTestId",
|
|
427
|
+
"getByText",
|
|
428
|
+
"getByTitle",
|
|
429
|
+
"getConfig",
|
|
430
|
+
"getDefaultNormalizer",
|
|
431
|
+
"getElementError",
|
|
432
|
+
"getNodeText",
|
|
433
|
+
"getQueriesForElement",
|
|
434
|
+
"getRoles",
|
|
435
|
+
"getSuggestedQuery",
|
|
436
|
+
"isInaccessible",
|
|
437
|
+
"isMockFunction",
|
|
438
|
+
"logDOM",
|
|
439
|
+
"logRoles",
|
|
440
|
+
"mocked",
|
|
441
|
+
"mocks",
|
|
442
|
+
"onMockCall",
|
|
443
|
+
"prettyDOM",
|
|
444
|
+
"prettyFormat",
|
|
445
|
+
"queries",
|
|
446
|
+
"queryAllByAltText",
|
|
447
|
+
"queryAllByAttribute",
|
|
448
|
+
"queryAllByDisplayValue",
|
|
449
|
+
"queryAllByLabelText",
|
|
450
|
+
"queryAllByPlaceholderText",
|
|
451
|
+
"queryAllByRole",
|
|
452
|
+
"queryAllByTestId",
|
|
453
|
+
"queryAllByText",
|
|
454
|
+
"queryAllByTitle",
|
|
455
|
+
"queryByAltText",
|
|
456
|
+
"queryByAttribute",
|
|
457
|
+
"queryByDisplayValue",
|
|
458
|
+
"queryByLabelText",
|
|
459
|
+
"queryByPlaceholderText",
|
|
460
|
+
"queryByRole",
|
|
461
|
+
"queryByTestId",
|
|
462
|
+
"queryByText",
|
|
463
|
+
"queryByTitle",
|
|
464
|
+
"queryHelpers",
|
|
465
|
+
"resetAllMocks",
|
|
466
|
+
"restoreAllMocks",
|
|
467
|
+
"screen",
|
|
468
|
+
"spyOn",
|
|
469
|
+
"userEvent",
|
|
470
|
+
"waitFor",
|
|
471
|
+
"waitForElementToBeRemoved",
|
|
472
|
+
"within"
|
|
473
|
+
],
|
|
474
|
+
"storybook/internal/channels": [
|
|
475
|
+
"Channel",
|
|
476
|
+
"HEARTBEAT_INTERVAL",
|
|
477
|
+
"HEARTBEAT_MAX_LATENCY",
|
|
478
|
+
"PostMessageTransport",
|
|
479
|
+
"WebsocketTransport",
|
|
480
|
+
"createBrowserChannel"
|
|
481
|
+
],
|
|
482
|
+
"storybook/internal/client-logger": ["deprecate", "logger", "once", "pretty"],
|
|
325
483
|
"storybook/internal/components": [
|
|
326
484
|
"A",
|
|
327
485
|
"ActionBar",
|
|
@@ -393,110 +551,6 @@ var I = {
|
|
|
393
551
|
"resetComponents",
|
|
394
552
|
"withReset"
|
|
395
553
|
],
|
|
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
554
|
"storybook/internal/core-errors": [
|
|
501
555
|
"ARGTYPES_INFO_REQUEST",
|
|
502
556
|
"ARGTYPES_INFO_RESPONSE",
|
|
@@ -625,42 +679,125 @@ var I = {
|
|
|
625
679
|
"UPDATE_QUERY_PARAMS",
|
|
626
680
|
"UPDATE_STORY_ARGS"
|
|
627
681
|
],
|
|
628
|
-
"storybook/internal/types": ["Addon_TypesEnum"],
|
|
629
682
|
"storybook/internal/manager-errors": [
|
|
630
683
|
"Category",
|
|
631
684
|
"ProviderDoesNotExtendBaseProviderError",
|
|
632
685
|
"UncaughtManagerError"
|
|
633
686
|
],
|
|
634
|
-
"storybook/internal/
|
|
687
|
+
"storybook/internal/router": [
|
|
688
|
+
"BaseLocationProvider",
|
|
689
|
+
"DEEPLY_EQUAL",
|
|
690
|
+
"Link",
|
|
691
|
+
"Location",
|
|
692
|
+
"LocationProvider",
|
|
693
|
+
"Match",
|
|
694
|
+
"Route",
|
|
695
|
+
"buildArgsParam",
|
|
696
|
+
"deepDiff",
|
|
697
|
+
"getMatch",
|
|
698
|
+
"parsePath",
|
|
699
|
+
"queryFromLocation",
|
|
700
|
+
"stringifyQuery",
|
|
701
|
+
"useNavigate"
|
|
702
|
+
],
|
|
703
|
+
"storybook/internal/types": ["Addon_TypesEnum"],
|
|
704
|
+
"storybook/internal/manager-api": [
|
|
705
|
+
"ActiveTabs",
|
|
706
|
+
"Consumer",
|
|
707
|
+
"ManagerContext",
|
|
708
|
+
"Provider",
|
|
709
|
+
"RequestResponseError",
|
|
710
|
+
"addons",
|
|
711
|
+
"combineParameters",
|
|
712
|
+
"controlOrMetaKey",
|
|
713
|
+
"controlOrMetaSymbol",
|
|
714
|
+
"eventMatchesShortcut",
|
|
715
|
+
"eventToShortcut",
|
|
716
|
+
"experimental_MockUniversalStore",
|
|
717
|
+
"experimental_UniversalStore",
|
|
718
|
+
"experimental_requestResponse",
|
|
719
|
+
"experimental_useUniversalStore",
|
|
720
|
+
"isMacLike",
|
|
721
|
+
"isShortcutTaken",
|
|
722
|
+
"keyToSymbol",
|
|
723
|
+
"merge",
|
|
724
|
+
"mockChannel",
|
|
725
|
+
"optionOrAltSymbol",
|
|
726
|
+
"shortcutMatchesShortcut",
|
|
727
|
+
"shortcutToHumanString",
|
|
728
|
+
"types",
|
|
729
|
+
"useAddonState",
|
|
730
|
+
"useArgTypes",
|
|
731
|
+
"useArgs",
|
|
732
|
+
"useChannel",
|
|
733
|
+
"useGlobalTypes",
|
|
734
|
+
"useGlobals",
|
|
735
|
+
"useParameter",
|
|
736
|
+
"useSharedState",
|
|
737
|
+
"useStoryPrepared",
|
|
738
|
+
"useStorybookApi",
|
|
739
|
+
"useStorybookState"
|
|
740
|
+
],
|
|
741
|
+
"storybook/internal/theming": [
|
|
742
|
+
"CacheProvider",
|
|
743
|
+
"ClassNames",
|
|
744
|
+
"Global",
|
|
745
|
+
"ThemeProvider",
|
|
746
|
+
"background",
|
|
747
|
+
"color",
|
|
748
|
+
"convert",
|
|
749
|
+
"create",
|
|
750
|
+
"createCache",
|
|
751
|
+
"createGlobal",
|
|
752
|
+
"createReset",
|
|
753
|
+
"css",
|
|
754
|
+
"darken",
|
|
755
|
+
"ensure",
|
|
756
|
+
"ignoreSsrWarning",
|
|
757
|
+
"isPropValid",
|
|
758
|
+
"jsx",
|
|
759
|
+
"keyframes",
|
|
760
|
+
"lighten",
|
|
761
|
+
"styled",
|
|
762
|
+
"themes",
|
|
763
|
+
"typography",
|
|
764
|
+
"useTheme",
|
|
765
|
+
"withTheme"
|
|
766
|
+
],
|
|
767
|
+
"storybook/internal/theming/create": ["create", "themes"]
|
|
635
768
|
};
|
|
636
769
|
|
|
637
770
|
// src/manager/globals/globals.ts
|
|
638
|
-
var
|
|
771
|
+
var c = {
|
|
639
772
|
react: "__REACT__",
|
|
640
773
|
"react-dom": "__REACT_DOM__",
|
|
641
774
|
"react-dom/client": "__REACT_DOM_CLIENT__",
|
|
642
775
|
"@storybook/icons": "__STORYBOOK_ICONS__",
|
|
643
|
-
"storybook/
|
|
644
|
-
"storybook/
|
|
776
|
+
"storybook/manager-api": "__STORYBOOK_API__",
|
|
777
|
+
"storybook/test": "__STORYBOOK_TEST__",
|
|
778
|
+
"storybook/theming": "__STORYBOOK_THEMING__",
|
|
779
|
+
"storybook/theming/create": "__STORYBOOK_THEMING_CREATE__",
|
|
645
780
|
"storybook/internal/channels": "__STORYBOOK_CHANNELS__",
|
|
781
|
+
"storybook/internal/client-logger": "__STORYBOOK_CLIENT_LOGGER__",
|
|
782
|
+
"storybook/internal/components": "__STORYBOOK_COMPONENTS__",
|
|
646
783
|
"storybook/internal/core-errors": "__STORYBOOK_CORE_EVENTS__",
|
|
647
784
|
"storybook/internal/core-events": "__STORYBOOK_CORE_EVENTS__",
|
|
648
785
|
"storybook/internal/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__",
|
|
649
786
|
"storybook/internal/router": "__STORYBOOK_ROUTER__",
|
|
650
|
-
"
|
|
787
|
+
"storybook/internal/types": "__STORYBOOK_TYPES__",
|
|
788
|
+
// @deprecated TODO: delete in 9.1
|
|
789
|
+
"storybook/internal/manager-api": "__STORYBOOK_API__",
|
|
651
790
|
"storybook/internal/theming": "__STORYBOOK_THEMING__",
|
|
652
|
-
"storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__"
|
|
653
|
-
|
|
654
|
-
"storybook/internal/types": "__STORYBOOK_TYPES__"
|
|
655
|
-
}, _ = Object.keys(E);
|
|
791
|
+
"storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__"
|
|
792
|
+
}, _ = Object.keys(c);
|
|
656
793
|
|
|
657
794
|
// src/manager/globals/globals-module-info.ts
|
|
658
795
|
var i = _.reduce(
|
|
659
|
-
(
|
|
796
|
+
(o, e) => (o[e] = {
|
|
660
797
|
type: "esm",
|
|
661
|
-
varName:
|
|
662
|
-
namedExports:
|
|
798
|
+
varName: c[e],
|
|
799
|
+
namedExports: E[e],
|
|
663
800
|
defaultExport: !0
|
|
664
|
-
},
|
|
801
|
+
}, o),
|
|
665
802
|
{}
|
|
666
803
|
);
|
|
@@ -31,6 +31,6 @@ declare type ModuleInfo = {
|
|
|
31
31
|
defaultExport?: boolean;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
declare const globalsModuleInfoMap: Required<Record<"react" | "react-dom" | "react-dom/client" | "@storybook/icons" | "storybook/
|
|
34
|
+
declare const globalsModuleInfoMap: Required<Record<"react" | "react-dom" | "react-dom/client" | "@storybook/icons" | "storybook/manager-api" | "storybook/test" | "storybook/theming" | "storybook/theming/create" | "storybook/internal/channels" | "storybook/internal/client-logger" | "storybook/internal/components" | "storybook/internal/core-errors" | "storybook/internal/core-events" | "storybook/internal/manager-errors" | "storybook/internal/router" | "storybook/internal/types" | "storybook/internal/manager-api" | "storybook/internal/theming" | "storybook/internal/theming/create", Required<ModuleInfo>>>;
|
|
35
35
|
|
|
36
36
|
export { globalsModuleInfoMap };
|