storybook 9.0.0-beta.6 → 9.0.0-beta.8

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 (39) hide show
  1. package/dist/bin/index.cjs +44 -44
  2. package/dist/bin/index.js +44 -44
  3. package/dist/cli/bin/index.cjs +4184 -737
  4. package/dist/cli/bin/index.js +4198 -749
  5. package/dist/cli/index.cjs +25090 -21638
  6. package/dist/cli/index.d.ts +974 -1
  7. package/dist/cli/index.js +25330 -21876
  8. package/dist/common/index.cjs +4518 -4511
  9. package/dist/common/index.d.ts +7 -2
  10. package/dist/common/index.js +4528 -4521
  11. package/dist/core-server/index.cjs +3240 -3235
  12. package/dist/core-server/index.d.ts +22 -22
  13. package/dist/core-server/index.js +1288 -1283
  14. package/dist/core-server/presets/common-preset.cjs +1445 -1444
  15. package/dist/core-server/presets/common-preset.js +418 -417
  16. package/dist/manager/globals-runtime.js +8188 -8165
  17. package/dist/manager/runtime.js +1151 -1149
  18. package/dist/manager-api/index.cjs +1046 -1023
  19. package/dist/manager-api/index.d.ts +12 -1
  20. package/dist/manager-api/index.js +649 -626
  21. package/dist/preview/runtime.js +5389 -5388
  22. package/dist/preview-api/index.cjs +615 -614
  23. package/dist/preview-api/index.js +532 -531
  24. package/dist/server-errors.cjs +186 -171
  25. package/dist/server-errors.d.ts +11 -1
  26. package/dist/server-errors.js +167 -152
  27. package/dist/telemetry/index.cjs +4887 -1403
  28. package/dist/telemetry/index.d.ts +2 -1
  29. package/dist/telemetry/index.js +4923 -1437
  30. package/dist/test/index.d.ts +2 -6
  31. package/dist/test/index.js +2818 -2818
  32. package/dist/test/preview.cjs +648 -648
  33. package/dist/test/preview.js +837 -837
  34. package/dist/test/spy.cjs +112 -112
  35. package/dist/test/spy.d.ts +2 -6
  36. package/dist/test/spy.js +104 -104
  37. package/dist/types/index.cjs +4 -4
  38. package/dist/types/index.d.ts +2687 -2594
  39. package/package.json +3 -2
@@ -491,28 +491,6 @@ type StatusStoreByTypeId = StatusStore & {
491
491
  typeId: StatusTypeId;
492
492
  };
493
493
 
494
- declare global {
495
- interface SymbolConstructor {
496
- readonly observable: symbol;
497
- }
498
- }
499
-
500
- declare global {
501
- var globalProjectAnnotations: NormalizedProjectAnnotations<any>;
502
- var defaultProjectAnnotations: ProjectAnnotations<any>;
503
- }
504
- type WrappedStoryRef = {
505
- __pw_type: 'jsx' | 'importRef';
506
- };
507
- type UnwrappedJSXStoryRef = {
508
- __pw_type: 'jsx';
509
- type: UnwrappedImportStoryRef;
510
- };
511
- type UnwrappedImportStoryRef = ComposedStoryFn;
512
- declare global {
513
- function __pwUnwrapObject(storyRef: WrappedStoryRef): Promise<UnwrappedJSXStoryRef | UnwrappedImportStoryRef>;
514
- }
515
-
516
494
  type TestProviderState = 'test-provider-state:pending' | 'test-provider-state:running' | 'test-provider-state:succeeded' | 'test-provider-state:crashed';
517
495
  type TestProviderId = string;
518
496
  type TestProviderStateByProviderId = Record<TestProviderId, TestProviderState>;
@@ -705,6 +683,28 @@ type TestProviderStoreById = BaseTestProviderStore & {
705
683
  testProviderId: TestProviderId;
706
684
  };
707
685
 
686
+ declare global {
687
+ interface SymbolConstructor {
688
+ readonly observable: symbol;
689
+ }
690
+ }
691
+
692
+ declare global {
693
+ var globalProjectAnnotations: NormalizedProjectAnnotations<any>;
694
+ var defaultProjectAnnotations: ProjectAnnotations<any>;
695
+ }
696
+ type WrappedStoryRef = {
697
+ __pw_type: 'jsx' | 'importRef';
698
+ };
699
+ type UnwrappedJSXStoryRef = {
700
+ __pw_type: 'jsx';
701
+ type: UnwrappedImportStoryRef;
702
+ };
703
+ type UnwrappedImportStoryRef = ComposedStoryFn;
704
+ declare global {
705
+ function __pwUnwrapObject(storyRef: WrappedStoryRef): Promise<UnwrappedJSXStoryRef | UnwrappedImportStoryRef>;
706
+ }
707
+
708
708
  declare const fullStatusStore: StatusStore & {
709
709
  selectStatuses: (statuses: Status[]) => void;
710
710
  typeId: undefined;