@storybook/addon-docs 9.0.0-beta.4 → 9.0.0-beta.5
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/{Color-SIUCOEKT.mjs → Color-LPT2V32B.mjs} +1 -1
- package/dist/DocsRenderer-PQXLIZUC.mjs +7 -0
- package/dist/blocks.js +112 -13
- package/dist/blocks.mjs +12 -12
- package/dist/chunk-SPFYY5GD.mjs +3 -0
- package/dist/index.js +22 -1
- package/dist/index.mjs +2 -3
- package/dist/manager.js +154 -0
- package/dist/mdx-loader.js +55 -36
- package/dist/preset.js +62 -37
- package/dist/preview.js +13 -1
- package/dist/preview.mjs +3 -2
- package/dist/shims/mdx-react-shim.js +12 -1
- package/manager.js +1 -0
- package/package.json +17 -24
- package/dist/chunk-GFTNOJSG.mjs +0 -5
- package/dist/chunk-W6FI2KYE.mjs +0 -3
- package/dist/mdx-loader.d.ts +0 -7519
- package/dist/mdx-loader.mjs +0 -59
- package/dist/preset.d.ts +0 -20
package/dist/preset.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PresetProperty, Options } from 'storybook/internal/types';
|
|
2
|
-
|
|
3
|
-
declare const addons: PresetProperty<'addons'>;
|
|
4
|
-
declare const viteFinal: (config: any, options: Options) => Promise<any>;
|
|
5
|
-
declare const webpackX: any;
|
|
6
|
-
declare const docsX: any;
|
|
7
|
-
/**
|
|
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.
|
|
12
|
-
*/
|
|
13
|
-
declare const resolvedReact: (existing: any) => Promise<{
|
|
14
|
-
react: any;
|
|
15
|
-
reactDom: any;
|
|
16
|
-
mdx: any;
|
|
17
|
-
}>;
|
|
18
|
-
declare const optimizeViteDeps: string[];
|
|
19
|
-
|
|
20
|
-
export { addons, docsX as docs, optimizeViteDeps, resolvedReact, viteFinal, webpackX as webpack };
|