@storybook/addon-docs 8.0.0-alpha.6 → 8.0.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/README.md CHANGED
@@ -110,20 +110,6 @@ export default {
110
110
  };
111
111
  ```
112
112
 
113
- If using in conjunction with the [storyshots add-on](https://github.com/storybookjs/storybook/blob/next/code/addons/storyshots-core/README.md), you will need to
114
- configure Jest to transform MDX stories into something Storyshots can understand:
115
-
116
- Add the following to your Jest configuration:
117
-
118
- ```json
119
- {
120
- "transform": {
121
- "^.+\\.[tj]sx?$": "babel-jest",
122
- "^.+\\.mdx$": "@storybook/addon-docs/jest-transform-mdx"
123
- }
124
- }
125
- ```
126
-
127
113
  ### Be sure to check framework specific installation needs
128
114
 
129
115
  - [React](https://github.com/storybookjs/storybook/tree/next/code/addons/docs/react) (covered here)
@@ -143,7 +129,6 @@ export default {
143
129
  {
144
130
  name: '@storybook/addon-docs',
145
131
  options: {
146
- jsxOptions: {},
147
132
  csfPluginOptions: null,
148
133
  mdxPluginOptions: {},
149
134
  },
@@ -152,8 +137,6 @@ export default {
152
137
  };
153
138
  ```
154
139
 
155
- `jsxOptions` are options that will be passed to `@babel/preset-react` for `.md` and `.mdx` files.
156
-
157
140
  `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`.
158
141
 
159
142
  > 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.
@@ -1 +1,2 @@
1
1
  export { DocsRenderer, defaultComponents } from './chunk-HLWAVYOI.mjs';
2
+ import './chunk-FG2YIYKM.mjs';
@@ -0,0 +1,3 @@
1
+ var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __commonJS=(cb,mod)=>function(){return mod||(0, cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));
2
+
3
+ export { __commonJS, __export, __toESM };
package/dist/index.mjs CHANGED
@@ -1,2 +1,3 @@
1
1
  export { DocsRenderer } from './chunk-HLWAVYOI.mjs';
2
+ import './chunk-FG2YIYKM.mjs';
2
3
  export * from '@storybook/blocks';