@storybook/addon-docs 10.5.0-alpha.5 → 10.5.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/_browser-chunks/{Color-MQE2NRD4.js → Color-AVMI7ZZZ.js} +3 -3
- package/dist/_browser-chunks/{DocsRenderer-LL677BLK.js → DocsRenderer-JROSPFPF.js} +1 -1
- package/dist/_browser-chunks/{chunk-S4QKU6I5.js → chunk-6Z2O5XYJ.js} +2 -2
- package/dist/_browser-chunks/{chunk-SL3VIQZ3.js → chunk-UAWMPV5J.js} +5 -1
- package/dist/_node-chunks/{chunk-UVV6FRUF.js → chunk-2WTY7RHL.js} +198 -198
- package/dist/_node-chunks/{chunk-CR22MHHI.js → chunk-AR7B7DGI.js} +18 -9
- package/dist/_node-chunks/{chunk-OBCKO6Y3.js → chunk-BS47STAB.js} +6 -6
- package/dist/_node-chunks/{chunk-2QFSQ4RB.js → chunk-ZM6M6OKB.js} +6 -6
- package/dist/_node-chunks/{mdx-plugin-DT6OS2CV.js → mdx-plugin-R2MYDMMD.js} +11 -11
- package/dist/_node-chunks/{rehype-external-links-SIYDSVTO.js → rehype-external-links-QE2YWBRR.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-XCUUIQBS.js → rehype-slug-EPMUVHIS.js} +8 -8
- package/dist/angular/index.js +1 -1
- package/dist/blocks.d.ts +14 -1
- package/dist/blocks.js +286 -112
- package/dist/ember/index.js +1 -1
- package/dist/index.js +2 -2
- package/dist/manager.js +1 -1
- package/dist/mdx-loader.js +10 -10
- package/dist/preset.js +9 -9
- package/dist/preview.js +2 -2
- package/package.json +4 -4
package/dist/ember/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "./_browser-chunks/chunk-OATZR77O.js";
|
|
4
4
|
import {
|
|
5
5
|
preview_exports
|
|
6
|
-
} from "./_browser-chunks/chunk-
|
|
7
|
-
import "./_browser-chunks/chunk-
|
|
6
|
+
} from "./_browser-chunks/chunk-6Z2O5XYJ.js";
|
|
7
|
+
import "./_browser-chunks/chunk-UAWMPV5J.js";
|
|
8
8
|
|
|
9
9
|
// src/index.ts
|
|
10
10
|
import { definePreviewAddon } from "storybook/internal/csf";
|
package/dist/manager.js
CHANGED
package/dist/mdx-loader.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6gmdae9o5xc from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6gmdae9o5xc from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6gmdae9o5xc from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6gmdae9o5xc.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6gmdae9o5xc.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6gmdae9o5xc.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
compile
|
|
14
|
-
} from "./_node-chunks/chunk-
|
|
15
|
-
import "./_node-chunks/chunk-
|
|
16
|
-
import "./_node-chunks/chunk-
|
|
17
|
-
import "./_node-chunks/chunk-
|
|
14
|
+
} from "./_node-chunks/chunk-2WTY7RHL.js";
|
|
15
|
+
import "./_node-chunks/chunk-BS47STAB.js";
|
|
16
|
+
import "./_node-chunks/chunk-ZM6M6OKB.js";
|
|
17
|
+
import "./_node-chunks/chunk-AR7B7DGI.js";
|
|
18
18
|
|
|
19
19
|
// src/mdx-loader.ts
|
|
20
20
|
var DEFAULT_RENDERER = `
|
package/dist/preset.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6gmdae9o5xc from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6gmdae9o5xc from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6gmdae9o5xc from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6gmdae9o5xc.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6gmdae9o5xc.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6gmdae9o5xc.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./_node-chunks/chunk-
|
|
12
|
+
import "./_node-chunks/chunk-AR7B7DGI.js";
|
|
13
13
|
|
|
14
14
|
// src/preset.ts
|
|
15
15
|
import { isAbsolute as isAbsolute2 } from "node:path";
|
|
@@ -322,7 +322,7 @@ var getResolvedReact = async (options) => {
|
|
|
322
322
|
};
|
|
323
323
|
};
|
|
324
324
|
async function webpack(webpackConfig = {}, options) {
|
|
325
|
-
let { module = {} } = webpackConfig, { csfPluginOptions = {}, mdxPluginOptions = {} } = options, enrichCsf = await options.presets.apply("experimental_enrichCsf"), rehypeSlug = (await import("./_node-chunks/rehype-slug-
|
|
325
|
+
let { module = {} } = webpackConfig, { csfPluginOptions = {}, mdxPluginOptions = {} } = options, enrichCsf = await options.presets.apply("experimental_enrichCsf"), rehypeSlug = (await import("./_node-chunks/rehype-slug-EPMUVHIS.js")).default, rehypeExternalLinks = (await import("./_node-chunks/rehype-external-links-QE2YWBRR.js")).default, mdxLoaderOptions = await options.presets.apply("mdxLoaderOptions", {
|
|
326
326
|
...mdxPluginOptions,
|
|
327
327
|
mdxCompileOptions: {
|
|
328
328
|
providerImportSource: fileURLToPath2(
|
|
@@ -400,7 +400,7 @@ var docs = (input = {}, options) => {
|
|
|
400
400
|
}, addons = [
|
|
401
401
|
import.meta.resolve("@storybook/react-dom-shim/preset")
|
|
402
402
|
], viteFinal = async (config, options) => {
|
|
403
|
-
let { plugins = [] } = config, { mdxPlugin } = await import("./_node-chunks/mdx-plugin-
|
|
403
|
+
let { plugins = [] } = config, { mdxPlugin } = await import("./_node-chunks/mdx-plugin-R2MYDMMD.js"), { react, reactDom, mdx } = await getResolvedReact(options), packageDeduplicationPlugin = {
|
|
404
404
|
name: "storybook:package-deduplication",
|
|
405
405
|
enforce: "pre",
|
|
406
406
|
config: () => ({
|
package/dist/preview.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-docs",
|
|
3
|
-
"version": "10.5.0-alpha.
|
|
3
|
+
"version": "10.5.0-alpha.7",
|
|
4
4
|
"description": "Storybook Docs: Document UI components automatically with stories and MDX",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
],
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"@mdx-js/react": "^3.0.0",
|
|
90
|
-
"@storybook/csf-plugin": "10.5.0-alpha.
|
|
90
|
+
"@storybook/csf-plugin": "10.5.0-alpha.7",
|
|
91
91
|
"@storybook/icons": "^2.0.2",
|
|
92
|
-
"@storybook/react-dom-shim": "10.5.0-alpha.
|
|
92
|
+
"@storybook/react-dom-shim": "10.5.0-alpha.7",
|
|
93
93
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
94
94
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
95
95
|
"ts-dedent": "^2.0.0"
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
119
|
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
120
|
-
"storybook": "^10.5.0-alpha.
|
|
120
|
+
"storybook": "^10.5.0-alpha.7"
|
|
121
121
|
},
|
|
122
122
|
"peerDependenciesMeta": {
|
|
123
123
|
"@types/react": {
|