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.
- package/dist/bin/index.cjs +44 -44
- package/dist/bin/index.js +44 -44
- package/dist/cli/bin/index.cjs +4184 -737
- package/dist/cli/bin/index.js +4198 -749
- package/dist/cli/index.cjs +25090 -21638
- package/dist/cli/index.d.ts +974 -1
- package/dist/cli/index.js +25330 -21876
- package/dist/common/index.cjs +4518 -4511
- package/dist/common/index.d.ts +7 -2
- package/dist/common/index.js +4528 -4521
- package/dist/core-server/index.cjs +3240 -3235
- package/dist/core-server/index.d.ts +22 -22
- package/dist/core-server/index.js +1288 -1283
- package/dist/core-server/presets/common-preset.cjs +1445 -1444
- package/dist/core-server/presets/common-preset.js +418 -417
- package/dist/manager/globals-runtime.js +8188 -8165
- package/dist/manager/runtime.js +1151 -1149
- package/dist/manager-api/index.cjs +1046 -1023
- package/dist/manager-api/index.d.ts +12 -1
- package/dist/manager-api/index.js +649 -626
- package/dist/preview/runtime.js +5389 -5388
- package/dist/preview-api/index.cjs +615 -614
- package/dist/preview-api/index.js +532 -531
- package/dist/server-errors.cjs +186 -171
- package/dist/server-errors.d.ts +11 -1
- package/dist/server-errors.js +167 -152
- package/dist/telemetry/index.cjs +4887 -1403
- package/dist/telemetry/index.d.ts +2 -1
- package/dist/telemetry/index.js +4923 -1437
- package/dist/test/index.d.ts +2 -6
- package/dist/test/index.js +2818 -2818
- package/dist/test/preview.cjs +648 -648
- package/dist/test/preview.js +837 -837
- package/dist/test/spy.cjs +112 -112
- package/dist/test/spy.d.ts +2 -6
- package/dist/test/spy.js +104 -104
- package/dist/types/index.cjs +4 -4
- package/dist/types/index.d.ts +2687 -2594
- 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;
|