@storybook/react-webpack5 7.0.0-rc.4 → 7.0.0-rc.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/preset.d.ts +8 -0
  2. 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.4",
3
+ "version": "7.0.0-rc.6",
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.4",
52
- "@storybook/preset-react-webpack": "7.0.0-rc.4",
53
- "@storybook/react": "7.0.0-rc.4",
51
+ "@storybook/builder-webpack5": "7.0.0-rc.6",
52
+ "@storybook/preset-react-webpack": "7.0.0-rc.6",
53
+ "@storybook/react": "7.0.0-rc.6",
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": "6fb713a2ca980fa241f82a076579889fcdf47ecc"
86
+ "gitHead": "1467fa1d714cbf43d5d87f9233c6dd42e20da787"
87
87
  }