@storybook/preact-vite 7.0.0-rc.5 → 7.0.0-rc.6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './types-2ca2a2ac.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './types-0cbefab1.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PresetProperty, S as StorybookConfig } from './types-2ca2a2ac.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './types-0cbefab1.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
@@ -1056,6 +1056,14 @@ interface StorybookConfig$1 {
1056
1056
  */
1057
1057
  previewHead?: PresetValue<string>;
1058
1058
  previewBody?: PresetValue<string>;
1059
+ /**
1060
+ * Programatically override the preview's main page template.
1061
+ * This should return a reference to a file containing an `.ejs` template
1062
+ * that will be interpolated with environment variables.
1063
+ *
1064
+ * @example '.storybook/index.ejs'
1065
+ */
1066
+ previewMainTemplate?: string;
1059
1067
  }
1060
1068
  type PresetValue<T> = T | ((config: T, options: Options) => T | Promise<T>);
1061
1069
  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/preact-vite",
3
- "version": "7.0.0-rc.5",
3
+ "version": "7.0.0-rc.6",
4
4
  "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -48,8 +48,8 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@preact/preset-vite": "^2.0.0",
51
- "@storybook/builder-vite": "7.0.0-rc.5",
52
- "@storybook/preact": "7.0.0-rc.5"
51
+ "@storybook/builder-vite": "7.0.0-rc.6",
52
+ "@storybook/preact": "7.0.0-rc.6"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^16.0.0",
@@ -73,5 +73,5 @@
73
73
  ],
74
74
  "platform": "node"
75
75
  },
76
- "gitHead": "851e100b53f1c58b6a79ca3bc0a9c295b385264d"
76
+ "gitHead": "1467fa1d714cbf43d5d87f9233c6dd42e20da787"
77
77
  }