@storybook/web-components-vite 7.0.15 → 7.0.17
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
@@ -1050,13 +1050,19 @@ interface StorybookConfig$1 {
|
|
1050
1050
|
previewHead?: PresetValue<string>;
|
1051
1051
|
previewBody?: PresetValue<string>;
|
1052
1052
|
/**
|
1053
|
-
*
|
1053
|
+
* Programmatically override the preview's main page template.
|
1054
1054
|
* This should return a reference to a file containing an `.ejs` template
|
1055
1055
|
* that will be interpolated with environment variables.
|
1056
1056
|
*
|
1057
1057
|
* @example '.storybook/index.ejs'
|
1058
1058
|
*/
|
1059
1059
|
previewMainTemplate?: string;
|
1060
|
+
/**
|
1061
|
+
* Programmatically modify the preview head/body HTML.
|
1062
|
+
* The managerHead function accept a string,
|
1063
|
+
* which is the existing head content, and return a modified string.
|
1064
|
+
*/
|
1065
|
+
managerHead?: PresetValue<string>;
|
1060
1066
|
}
|
1061
1067
|
type PresetValue<T> = T | ((config: T, options: Options) => T | Promise<T>);
|
1062
1068
|
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/web-components-vite",
|
3
|
-
"version": "7.0.
|
3
|
+
"version": "7.0.17",
|
4
4
|
"description": "Storybook for web-components and Vite: Develop Web Components in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,10 +47,10 @@
|
|
47
47
|
"prep": "../../../scripts/prepare/bundle.ts"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@storybook/builder-vite": "7.0.
|
51
|
-
"@storybook/core-server": "7.0.
|
52
|
-
"@storybook/node-logger": "7.0.
|
53
|
-
"@storybook/web-components": "7.0.
|
50
|
+
"@storybook/builder-vite": "7.0.17",
|
51
|
+
"@storybook/core-server": "7.0.17",
|
52
|
+
"@storybook/node-logger": "7.0.17",
|
53
|
+
"@storybook/web-components": "7.0.17",
|
54
54
|
"magic-string": "^0.27.0"
|
55
55
|
},
|
56
56
|
"devDependencies": {
|
@@ -74,5 +74,5 @@
|
|
74
74
|
],
|
75
75
|
"platform": "node"
|
76
76
|
},
|
77
|
-
"gitHead": "
|
77
|
+
"gitHead": "e26b55b288f5fa815d41843f2405a56961dbb2a7"
|
78
78
|
}
|