@storybook/react-dom-shim 7.1.0-alpha.21 → 7.1.0-alpha.23

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.
Files changed (2) hide show
  1. package/dist/preset.d.ts +7 -1
  2. package/package.json +3 -3
package/dist/preset.d.ts CHANGED
@@ -1049,13 +1049,19 @@ interface StorybookConfig {
1049
1049
  previewHead?: PresetValue<string>;
1050
1050
  previewBody?: PresetValue<string>;
1051
1051
  /**
1052
- * Programatically override the preview's main page template.
1052
+ * Programmatically override the preview's main page template.
1053
1053
  * This should return a reference to a file containing an `.ejs` template
1054
1054
  * that will be interpolated with environment variables.
1055
1055
  *
1056
1056
  * @example '.storybook/index.ejs'
1057
1057
  */
1058
1058
  previewMainTemplate?: string;
1059
+ /**
1060
+ * Programmatically modify the preview head/body HTML.
1061
+ * The managerHead function accept a string,
1062
+ * which is the existing head content, and return a modified string.
1063
+ */
1064
+ managerHead?: PresetValue<string>;
1059
1065
  }
1060
1066
  type PresetValue<T> = T | ((config: T, options: Options) => T | Promise<T>);
1061
1067
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-dom-shim",
3
- "version": "7.1.0-alpha.21",
3
+ "version": "7.1.0-alpha.23",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "storybook"
@@ -53,7 +53,7 @@
53
53
  "prep": "../../../scripts/prepare/bundle.ts"
54
54
  },
55
55
  "devDependencies": {
56
- "@storybook/types": "7.1.0-alpha.21",
56
+ "@storybook/types": "7.1.0-alpha.23",
57
57
  "typescript": "~4.9.3"
58
58
  },
59
59
  "peerDependencies": {
@@ -70,5 +70,5 @@
70
70
  "./src/react-18.tsx"
71
71
  ]
72
72
  },
73
- "gitHead": "49d49518beeb39d14ad5f978fbf2c13e05fb5a61"
73
+ "gitHead": "4e6e01b944b879104250d5f4af38451724a0ed0e"
74
74
  }