@storybook/react-vite 7.0.0-rc.5 → 7.0.0-rc.7
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/index.d.ts
CHANGED
package/dist/preset.d.ts
CHANGED
|
@@ -1057,6 +1057,14 @@ interface StorybookConfig$1 {
|
|
|
1057
1057
|
*/
|
|
1058
1058
|
previewHead?: PresetValue<string>;
|
|
1059
1059
|
previewBody?: PresetValue<string>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Programatically override the preview's main page template.
|
|
1062
|
+
* This should return a reference to a file containing an `.ejs` template
|
|
1063
|
+
* that will be interpolated with environment variables.
|
|
1064
|
+
*
|
|
1065
|
+
* @example '.storybook/index.ejs'
|
|
1066
|
+
*/
|
|
1067
|
+
previewMainTemplate?: string;
|
|
1060
1068
|
}
|
|
1061
1069
|
type PresetValue<T> = T | ((config: T, options: Options) => T | Promise<T>);
|
|
1062
1070
|
type PresetProperty<K, TStorybookConfig = StorybookConfig$1> = 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-vite",
|
|
3
|
-
"version": "7.0.0-rc.
|
|
3
|
+
"version": "7.0.0-rc.7",
|
|
4
4
|
"description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@joshwooding/vite-plugin-react-docgen-typescript": "^0.2.1",
|
|
52
52
|
"@rollup/pluginutils": "^4.2.0",
|
|
53
|
-
"@storybook/builder-vite": "7.0.0-rc.
|
|
54
|
-
"@storybook/react": "7.0.0-rc.
|
|
53
|
+
"@storybook/builder-vite": "7.0.0-rc.7",
|
|
54
|
+
"@storybook/react": "7.0.0-rc.7",
|
|
55
55
|
"@vitejs/plugin-react": "^3.0.1",
|
|
56
56
|
"ast-types": "^0.14.2",
|
|
57
57
|
"magic-string": "^0.27.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
],
|
|
81
81
|
"platform": "node"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "908868e02f55605ad5ebe4299c2d5432fb41e1b8"
|
|
84
84
|
}
|