@storybook/addon-docs 8.6.0-alpha.4 → 8.6.0-beta.0

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/preview.mjs CHANGED
@@ -1,5 +1,2 @@
1
+ export { parameters } from './chunk-PRSJUHPQ.mjs';
1
2
  import './chunk-H6MOWX77.mjs';
2
-
3
- var excludeTags=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((acc,entry)=>{let[tag,option]=entry;return option.excludeFromDocsStories&&(acc[tag]=!0),acc},{}),parameters={docs:{renderer:async()=>{let{DocsRenderer}=await import('./DocsRenderer-CFRXHY34.mjs');return new DocsRenderer},stories:{filter:story=>(story.tags||[]).filter(tag=>excludeTags[tag]).length===0&&!story.parameters.docs?.disable}}};
4
-
5
- export { parameters };
@@ -0,0 +1 @@
1
+ export declare const setJSONDoc: (jsonDoc: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-docs",
3
- "version": "8.6.0-alpha.4",
3
+ "version": "8.6.0-beta.0",
4
4
  "description": "Document component usage and properties in Markdown",
5
5
  "keywords": [
6
6
  "addon",
@@ -81,6 +81,25 @@
81
81
  "main": "dist/index.js",
82
82
  "module": "dist/index.mjs",
83
83
  "types": "dist/index.d.ts",
84
+ "typesVersions": {
85
+ "*": {
86
+ "*": [
87
+ "dist/index.d.ts"
88
+ ],
89
+ "angular": [
90
+ "angular/index.d.ts"
91
+ ],
92
+ "blocks": [
93
+ "dist/blocks.d.ts"
94
+ ],
95
+ "ember": [
96
+ "ember/index.d.ts"
97
+ ],
98
+ "preview": [
99
+ "dist/preview.d.ts"
100
+ ]
101
+ }
102
+ },
84
103
  "files": [
85
104
  "dist/**/*",
86
105
  "angular/**/*",
@@ -103,17 +122,17 @@
103
122
  },
104
123
  "dependencies": {
105
124
  "@mdx-js/react": "^3.0.0",
106
- "@storybook/blocks": "8.6.0-alpha.4",
107
- "@storybook/csf-plugin": "8.6.0-alpha.4",
108
- "@storybook/react-dom-shim": "8.6.0-alpha.4",
109
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
110
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
125
+ "@storybook/blocks": "8.6.0-beta.0",
126
+ "@storybook/csf-plugin": "8.6.0-beta.0",
127
+ "@storybook/react-dom-shim": "8.6.0-beta.0",
128
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
129
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
111
130
  "ts-dedent": "^2.0.0"
112
131
  },
113
132
  "devDependencies": {
114
133
  "@mdx-js/mdx": "^3.0.0",
115
134
  "@rollup/pluginutils": "^5.0.2",
116
- "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
135
+ "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
117
136
  "react": "^18.2.0",
118
137
  "react-dom": "^18.2.0",
119
138
  "rehype-external-links": "^3.0.0",
@@ -122,7 +141,7 @@
122
141
  "vite": "^4.0.4"
123
142
  },
124
143
  "peerDependencies": {
125
- "storybook": "^8.6.0-alpha.4"
144
+ "storybook": "^8.6.0-beta.0"
126
145
  },
127
146
  "publishConfig": {
128
147
  "access": "public"