@storybook/addon-docs 8.3.0-alpha.6 → 8.3.0-alpha.8
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/preset.d.ts +4 -5
- package/package.json +5 -6
- package/web-components/README.md +1 -1
package/dist/preset.d.ts
CHANGED
|
@@ -5,11 +5,10 @@ declare const viteFinal: (config: any, options: Options) => Promise<any>;
|
|
|
5
5
|
declare const webpackX: any;
|
|
6
6
|
declare const docsX: any;
|
|
7
7
|
/**
|
|
8
|
-
* If the user has not installed react explicitly in their project,
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* but ensures that there is always a resolved react.
|
|
8
|
+
* If the user has not installed react explicitly in their project, the resolvedReact preset will
|
|
9
|
+
* not be set. We then set it here in addon-docs to use addon-docs's react version that always
|
|
10
|
+
* exists. This is just a fallback that never overrides the existing preset, but ensures that there
|
|
11
|
+
* is always a resolved react.
|
|
13
12
|
*/
|
|
14
13
|
declare const resolvedReact: (existing: any) => Promise<{
|
|
15
14
|
react: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-docs",
|
|
3
|
-
"version": "8.3.0-alpha.
|
|
3
|
+
"version": "8.3.0-alpha.8",
|
|
4
4
|
"description": "Document component usage and properties in Markdown",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"addon",
|
|
@@ -98,12 +98,11 @@
|
|
|
98
98
|
"prep": "jiti ../../../scripts/prepare/bundle.ts"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@babel/core": "^7.24.4",
|
|
102
101
|
"@mdx-js/react": "^3.0.0",
|
|
103
|
-
"@storybook/blocks": "8.3.0-alpha.
|
|
104
|
-
"@storybook/csf-plugin": "8.3.0-alpha.
|
|
102
|
+
"@storybook/blocks": "8.3.0-alpha.8",
|
|
103
|
+
"@storybook/csf-plugin": "8.3.0-alpha.8",
|
|
105
104
|
"@storybook/global": "^5.0.0",
|
|
106
|
-
"@storybook/react-dom-shim": "8.3.0-alpha.
|
|
105
|
+
"@storybook/react-dom-shim": "8.3.0-alpha.8",
|
|
107
106
|
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
108
107
|
"fs-extra": "^11.1.0",
|
|
109
108
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -121,7 +120,7 @@
|
|
|
121
120
|
"vite": "^4.0.4"
|
|
122
121
|
},
|
|
123
122
|
"peerDependencies": {
|
|
124
|
-
"storybook": "^8.3.0-alpha.
|
|
123
|
+
"storybook": "^8.3.0-alpha.8"
|
|
125
124
|
},
|
|
126
125
|
"publishConfig": {
|
|
127
126
|
"access": "public"
|