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

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
@@ -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.4",
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.4",
52
- "@storybook/preact": "7.0.0-rc.4"
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": "6fb713a2ca980fa241f82a076579889fcdf47ecc"
76
+ "gitHead": "1467fa1d714cbf43d5d87f9233c6dd42e20da787"
77
77
  }