@storybook/addon-docs 8.3.0-alpha.5 → 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/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
- * the resolvedReact preset will not be set.
10
- * We then set it here in addon-docs to use addon-docs's react version that always exists.
11
- * This is just a fallback that never overrides the existing preset,
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.5",
3
+ "version": "8.3.0-alpha.7",
4
4
  "description": "Document component usage and properties in Markdown",
5
5
  "keywords": [
6
6
  "addon",
@@ -100,10 +100,10 @@
100
100
  "dependencies": {
101
101
  "@babel/core": "^7.24.4",
102
102
  "@mdx-js/react": "^3.0.0",
103
- "@storybook/blocks": "8.3.0-alpha.5",
104
- "@storybook/csf-plugin": "8.3.0-alpha.5",
103
+ "@storybook/blocks": "8.3.0-alpha.7",
104
+ "@storybook/csf-plugin": "8.3.0-alpha.7",
105
105
  "@storybook/global": "^5.0.0",
106
- "@storybook/react-dom-shim": "8.3.0-alpha.5",
106
+ "@storybook/react-dom-shim": "8.3.0-alpha.7",
107
107
  "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
108
108
  "fs-extra": "^11.1.0",
109
109
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@@ -121,7 +121,7 @@
121
121
  "vite": "^4.0.4"
122
122
  },
123
123
  "peerDependencies": {
124
- "storybook": "^8.3.0-alpha.5"
124
+ "storybook": "^8.3.0-alpha.7"
125
125
  },
126
126
  "publishConfig": {
127
127
  "access": "public"
@@ -14,7 +14,7 @@
14
14
  ```js
15
15
  import { setCustomElementsManifest } from '@storybook/web-components';
16
16
  import customElements from '../custom-elements.json';
17
-
17
+
18
18
  setCustomElementsManifest(customElements);
19
19
  ```
20
20