@storybook/react-dom-shim 7.3.2 → 7.4.0-alpha.1
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/preset.d.ts +14 -13
- package/package.json +4 -3
package/dist/preset.d.ts
CHANGED
|
@@ -726,6 +726,19 @@ interface Parameters {
|
|
|
726
726
|
[name: string]: any;
|
|
727
727
|
}
|
|
728
728
|
|
|
729
|
+
interface Options$1 {
|
|
730
|
+
allowRegExp: boolean;
|
|
731
|
+
allowFunction: boolean;
|
|
732
|
+
allowSymbol: boolean;
|
|
733
|
+
allowDate: boolean;
|
|
734
|
+
allowUndefined: boolean;
|
|
735
|
+
allowClass: boolean;
|
|
736
|
+
allowError: boolean;
|
|
737
|
+
maxDepth: number;
|
|
738
|
+
space: number | undefined;
|
|
739
|
+
lazyEval: boolean;
|
|
740
|
+
}
|
|
741
|
+
|
|
729
742
|
type ExportName = string;
|
|
730
743
|
type MetaId = string;
|
|
731
744
|
interface StoriesSpecifier {
|
|
@@ -838,19 +851,6 @@ type DocsIndexInput = BaseIndexInput & {
|
|
|
838
851
|
storiesImports?: Path[];
|
|
839
852
|
};
|
|
840
853
|
type IndexInput = StoryIndexInput | DocsIndexInput;
|
|
841
|
-
type Path = string;
|
|
842
|
-
|
|
843
|
-
interface Options$1 {
|
|
844
|
-
allowRegExp: boolean;
|
|
845
|
-
allowFunction: boolean;
|
|
846
|
-
allowSymbol: boolean;
|
|
847
|
-
allowDate: boolean;
|
|
848
|
-
allowUndefined: boolean;
|
|
849
|
-
allowClass: boolean;
|
|
850
|
-
maxDepth: number;
|
|
851
|
-
space: number | undefined;
|
|
852
|
-
lazyEval: boolean;
|
|
853
|
-
}
|
|
854
854
|
|
|
855
855
|
/**
|
|
856
856
|
* ⚠️ This file contains internal WIP types they MUST NOT be exported outside this package for now!
|
|
@@ -1148,6 +1148,7 @@ interface StorybookConfig {
|
|
|
1148
1148
|
managerHead?: PresetValue<string>;
|
|
1149
1149
|
}
|
|
1150
1150
|
type PresetValue<T> = T | ((config: T, options: Options) => T | Promise<T>);
|
|
1151
|
+
type Path = string;
|
|
1151
1152
|
|
|
1152
1153
|
declare const webpackFinal: (config: any, options: Options) => Promise<any>;
|
|
1153
1154
|
declare const viteFinal: (config: any, options: Options) => Promise<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-dom-shim",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -46,14 +46,15 @@
|
|
|
46
46
|
"dist/**/*",
|
|
47
47
|
"README.md",
|
|
48
48
|
"*.js",
|
|
49
|
-
"*.d.ts"
|
|
49
|
+
"*.d.ts",
|
|
50
|
+
"!src/**/*"
|
|
50
51
|
],
|
|
51
52
|
"scripts": {
|
|
52
53
|
"check": "../../../scripts/prepare/check.ts",
|
|
53
54
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
56
|
-
"@storybook/types": "7.
|
|
57
|
+
"@storybook/types": "7.4.0-alpha.1",
|
|
57
58
|
"typescript": "~4.9.3"
|
|
58
59
|
},
|
|
59
60
|
"peerDependencies": {
|