@storybook/react-webpack5 7.0.0-rc.5 → 7.0.0-rc.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/preset.d.ts +8 -0
- package/package.json +5 -5
package/dist/preset.d.ts
CHANGED
@@ -1058,6 +1058,14 @@ interface StorybookConfig {
|
|
1058
1058
|
*/
|
1059
1059
|
previewHead?: PresetValue<string>;
|
1060
1060
|
previewBody?: PresetValue<string>;
|
1061
|
+
/**
|
1062
|
+
* Programatically override the preview's main page template.
|
1063
|
+
* This should return a reference to a file containing an `.ejs` template
|
1064
|
+
* that will be interpolated with environment variables.
|
1065
|
+
*
|
1066
|
+
* @example '.storybook/index.ejs'
|
1067
|
+
*/
|
1068
|
+
previewMainTemplate?: string;
|
1061
1069
|
}
|
1062
1070
|
type PresetValue<T> = T | ((config: T, options: Options) => T | Promise<T>);
|
1063
1071
|
type PresetProperty<K, TStorybookConfig = StorybookConfig> = TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | PresetPropertyFn<K, TStorybookConfig>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/react-webpack5",
|
3
|
-
"version": "7.0.0-rc.
|
3
|
+
"version": "7.0.0-rc.7",
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -48,9 +48,9 @@
|
|
48
48
|
"prep": "../../../scripts/prepare/bundle.ts"
|
49
49
|
},
|
50
50
|
"dependencies": {
|
51
|
-
"@storybook/builder-webpack5": "7.0.0-rc.
|
52
|
-
"@storybook/preset-react-webpack": "7.0.0-rc.
|
53
|
-
"@storybook/react": "7.0.0-rc.
|
51
|
+
"@storybook/builder-webpack5": "7.0.0-rc.7",
|
52
|
+
"@storybook/preset-react-webpack": "7.0.0-rc.7",
|
53
|
+
"@storybook/react": "7.0.0-rc.7",
|
54
54
|
"@types/node": "^16.0.0"
|
55
55
|
},
|
56
56
|
"devDependencies": {
|
@@ -83,5 +83,5 @@
|
|
83
83
|
],
|
84
84
|
"platform": "node"
|
85
85
|
},
|
86
|
-
"gitHead": "
|
86
|
+
"gitHead": "908868e02f55605ad5ebe4299c2d5432fb41e1b8"
|
87
87
|
}
|