@storybook/react-vite 8.3.0-alpha.6 → 8.3.0-alpha.7
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 +7 -9
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -9,9 +9,11 @@ type FrameworkOptions = {
|
|
|
9
9
|
strictMode?: boolean;
|
|
10
10
|
/**
|
|
11
11
|
* Use React's legacy root API to mount components
|
|
12
|
-
*
|
|
13
|
-
* React has introduced a new root API with React 18.x to enable a whole set of new features (e.g.
|
|
14
|
-
* If this flag is true, the legacy Root API is used to mount components to
|
|
12
|
+
*
|
|
13
|
+
* React has introduced a new root API with React 18.x to enable a whole set of new features (e.g.
|
|
14
|
+
* concurrent features) If this flag is true, the legacy Root API is used to mount components to
|
|
15
|
+
* make it easier to migrate step by step to React 18.
|
|
16
|
+
*
|
|
15
17
|
* @default false
|
|
16
18
|
*/
|
|
17
19
|
legacyRootApi?: boolean;
|
|
@@ -35,14 +37,10 @@ type TypescriptOptions = TypescriptOptions$1 & {
|
|
|
35
37
|
* @default `'react-docgen'`
|
|
36
38
|
*/
|
|
37
39
|
reactDocgen: 'react-docgen-typescript' | 'react-docgen' | false;
|
|
38
|
-
/**
|
|
39
|
-
* Configures `@joshwooding/vite-plugin-react-docgen-typescript`
|
|
40
|
-
*/
|
|
40
|
+
/** Configures `@joshwooding/vite-plugin-react-docgen-typescript` */
|
|
41
41
|
reactDocgenTypescriptOptions: Parameters<typeof docgenTypescript>[0];
|
|
42
42
|
};
|
|
43
|
-
/**
|
|
44
|
-
* The interface for Storybook configuration in `main.ts` files.
|
|
45
|
-
*/
|
|
43
|
+
/** The interface for Storybook configuration in `main.ts` files. */
|
|
46
44
|
type StorybookConfig = Omit<StorybookConfig$1, keyof StorybookConfigVite | keyof StorybookConfigFramework | 'typescript'> & StorybookConfigVite & StorybookConfigFramework & {
|
|
47
45
|
typescript?: Partial<TypescriptOptions>;
|
|
48
46
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-vite",
|
|
3
|
-
"version": "8.3.0-alpha.
|
|
3
|
+
"version": "8.3.0-alpha.7",
|
|
4
4
|
"description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@joshwooding/vite-plugin-react-docgen-typescript": "0.3.1",
|
|
51
51
|
"@rollup/pluginutils": "^5.0.2",
|
|
52
|
-
"@storybook/builder-vite": "8.3.0-alpha.
|
|
53
|
-
"@storybook/react": "8.3.0-alpha.
|
|
52
|
+
"@storybook/builder-vite": "8.3.0-alpha.7",
|
|
53
|
+
"@storybook/react": "8.3.0-alpha.7",
|
|
54
54
|
"find-up": "^5.0.0",
|
|
55
55
|
"magic-string": "^0.30.0",
|
|
56
56
|
"react-docgen": "^7.0.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
|
|
67
67
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
|
|
68
|
-
"storybook": "^8.3.0-alpha.
|
|
68
|
+
"storybook": "^8.3.0-alpha.7",
|
|
69
69
|
"vite": "^4.0.0 || ^5.0.0"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|