@storybook/addon-docs 7.6.0-alpha.2 → 7.6.0-alpha.3

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.
Files changed (2) hide show
  1. package/README.md +1 -9
  2. package/package.json +12 -12
package/README.md CHANGED
@@ -146,7 +146,6 @@ export default {
146
146
  jsxOptions: {},
147
147
  csfPluginOptions: null,
148
148
  mdxPluginOptions: {},
149
- transcludeMarkdown: true,
150
149
  },
151
150
  },
152
151
  ],
@@ -157,16 +156,9 @@ export default {
157
156
 
158
157
  `csfPluginOptions` is an object for configuring `@storybook/csf-plugin`. When set to `null` it tells docs not to run the `csf-plugin` at all, which can be used as an optimization, or if you're already using `csf-plugin` in your `main.js`.
159
158
 
160
- The `transcludeMarkdown` option enables mdx files to import `.md` files and render them as a component.
161
159
 
162
- ```mdx
163
- import { Meta } from '@storybook/addon-docs';
164
- import Changelog from '../CHANGELOG.md';
160
+ > With the release of version 7.0, it is no longer possible to import `.md` files directly into Storybook using the `transcludeMarkdown` [option](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#importing-plain-markdown-files-with-transcludemarkdown-has-changed). Instead, we recommend using the [`Markdown`](https://storybook.js.org/docs/react/api/doc-block-markdown) Doc Block for importing Markdown files into your Storybook documentation.
165
161
 
166
- <Meta title="Changelog" />
167
-
168
- <Changelog />
169
- ```
170
162
 
171
163
  ## TypeScript configuration
172
164
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-docs",
3
- "version": "7.6.0-alpha.2",
3
+ "version": "7.6.0-alpha.3",
4
4
  "description": "Document component usage and properties in Markdown",
5
5
  "keywords": [
6
6
  "addon",
@@ -100,19 +100,19 @@
100
100
  "dependencies": {
101
101
  "@jest/transform": "^29.3.1",
102
102
  "@mdx-js/react": "^2.1.5",
103
- "@storybook/blocks": "7.6.0-alpha.2",
104
- "@storybook/client-logger": "7.6.0-alpha.2",
105
- "@storybook/components": "7.6.0-alpha.2",
106
- "@storybook/csf-plugin": "7.6.0-alpha.2",
107
- "@storybook/csf-tools": "7.6.0-alpha.2",
103
+ "@storybook/blocks": "7.6.0-alpha.3",
104
+ "@storybook/client-logger": "7.6.0-alpha.3",
105
+ "@storybook/components": "7.6.0-alpha.3",
106
+ "@storybook/csf-plugin": "7.6.0-alpha.3",
107
+ "@storybook/csf-tools": "7.6.0-alpha.3",
108
108
  "@storybook/global": "^5.0.0",
109
109
  "@storybook/mdx2-csf": "^1.0.0",
110
- "@storybook/node-logger": "7.6.0-alpha.2",
111
- "@storybook/postinstall": "7.6.0-alpha.2",
112
- "@storybook/preview-api": "7.6.0-alpha.2",
113
- "@storybook/react-dom-shim": "7.6.0-alpha.2",
114
- "@storybook/theming": "7.6.0-alpha.2",
115
- "@storybook/types": "7.6.0-alpha.2",
110
+ "@storybook/node-logger": "7.6.0-alpha.3",
111
+ "@storybook/postinstall": "7.6.0-alpha.3",
112
+ "@storybook/preview-api": "7.6.0-alpha.3",
113
+ "@storybook/react-dom-shim": "7.6.0-alpha.3",
114
+ "@storybook/theming": "7.6.0-alpha.3",
115
+ "@storybook/types": "7.6.0-alpha.3",
116
116
  "fs-extra": "^11.1.0",
117
117
  "remark-external-links": "^8.0.0",
118
118
  "remark-slug": "^6.0.0",