@storybook/react-vite 7.0.0-beta.62 → 7.0.0-beta.64

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-ad17db6c.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './types-e9ac69bc.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-ad17db6c.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './types-e9ac69bc.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
@@ -1061,6 +1061,15 @@ type FrameworkName = '@storybook/react-vite';
1061
1061
  type BuilderName = '@storybook/builder-vite';
1062
1062
  type FrameworkOptions = {
1063
1063
  builder?: BuilderOptions$1;
1064
+ strictMode?: boolean;
1065
+ /**
1066
+ * Use React's legacy root API to mount components
1067
+ * @description
1068
+ * React has introduced a new root API with React 18.x to enable a whole set of new features (e.g. concurrent features)
1069
+ * If this flag is true, the legacy Root API is used to mount components to make it easier to migrate step by step to React 18.
1070
+ * @default false
1071
+ */
1072
+ legacyRootApi?: boolean;
1064
1073
  };
1065
1074
  type StorybookConfigFramework = {
1066
1075
  framework: FrameworkName | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-vite",
3
- "version": "7.0.0-beta.62",
3
+ "version": "7.0.0-beta.64",
4
4
  "description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -50,8 +50,8 @@
50
50
  "dependencies": {
51
51
  "@joshwooding/vite-plugin-react-docgen-typescript": "^0.2.1",
52
52
  "@rollup/pluginutils": "^4.2.0",
53
- "@storybook/builder-vite": "7.0.0-beta.62",
54
- "@storybook/react": "7.0.0-beta.62",
53
+ "@storybook/builder-vite": "7.0.0-beta.64",
54
+ "@storybook/react": "7.0.0-beta.64",
55
55
  "@vitejs/plugin-react": "^3.0.1",
56
56
  "ast-types": "^0.14.2",
57
57
  "magic-string": "^0.27.0",
@@ -80,5 +80,5 @@
80
80
  ],
81
81
  "platform": "node"
82
82
  },
83
- "gitHead": "f70dcdb599363bfd6e6d2b63f8fadd02e9cbe00a"
83
+ "gitHead": "f33337d997ae5db03f3b7681cffe0a154e1798f3"
84
84
  }