@storybook/addon-docs 10.0.0-beta.6 → 10.0.0-beta.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/index.js CHANGED
@@ -3,8 +3,7 @@ import {
3
3
  } from "./_browser-chunks/chunk-74ZUTOZN.js";
4
4
  import {
5
5
  preview_exports
6
- } from "./_browser-chunks/chunk-RX6225WF.js";
7
- import "./_browser-chunks/chunk-TQ5Q4DDG.js";
6
+ } from "./_browser-chunks/chunk-YDZYZRYC.js";
8
7
  import {
9
8
  __name
10
9
  } from "./_browser-chunks/chunk-MM7DTO55.js";
@@ -1,22 +1,22 @@
1
- import CJS_COMPAT_NODE_URL_tbmksyatnk from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_tbmksyatnk from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_tbmksyatnk from "node:module";
1
+ import CJS_COMPAT_NODE_URL_kvlic0uo7yf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_kvlic0uo7yf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_kvlic0uo7yf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_tbmksyatnk.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_tbmksyatnk.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_tbmksyatnk.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_kvlic0uo7yf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_kvlic0uo7yf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_kvlic0uo7yf.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-WPX3EHQF.js";
15
- import "./_node-chunks/chunk-474OTJE6.js";
16
- import "./_node-chunks/chunk-GRMC7DCB.js";
14
+ } from "./_node-chunks/chunk-PZ25TROW.js";
15
+ import "./_node-chunks/chunk-YXA7CFIU.js";
16
+ import "./_node-chunks/chunk-AGJIZPPI.js";
17
17
  import {
18
18
  __name
19
- } from "./_node-chunks/chunk-6E7NEV5H.js";
19
+ } from "./_node-chunks/chunk-ZWB5EL6N.js";
20
20
 
21
21
  // src/mdx-loader.ts
22
22
  var DEFAULT_RENDERER = `
package/dist/preset.js CHANGED
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_tbmksyatnk from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_tbmksyatnk from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_tbmksyatnk from "node:module";
1
+ import CJS_COMPAT_NODE_URL_kvlic0uo7yf from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_kvlic0uo7yf from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_kvlic0uo7yf from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_tbmksyatnk.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_tbmksyatnk.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_tbmksyatnk.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_kvlic0uo7yf.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_kvlic0uo7yf.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_kvlic0uo7yf.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
  __name
14
- } from "./_node-chunks/chunk-6E7NEV5H.js";
14
+ } from "./_node-chunks/chunk-ZWB5EL6N.js";
15
15
 
16
16
  // src/preset.ts
17
17
  import { isAbsolute as isAbsolute2 } from "node:path";
@@ -184,8 +184,8 @@ var getResolvedReact = /* @__PURE__ */ __name(async (options) => {
184
184
  async function webpack(webpackConfig = {}, options) {
185
185
  const { module = {} } = webpackConfig;
186
186
  const { csfPluginOptions = {}, mdxPluginOptions = {} } = options;
187
- const rehypeSlug = (await import("./_node-chunks/rehype-slug-N3RD6447.js")).default;
188
- const rehypeExternalLinks = (await import("./_node-chunks/rehype-external-links-MDDVGRIG.js")).default;
187
+ const rehypeSlug = (await import("./_node-chunks/rehype-slug-UITIK4GV.js")).default;
188
+ const rehypeExternalLinks = (await import("./_node-chunks/rehype-external-links-46MRPJIG.js")).default;
189
189
  const mdxLoaderOptions = await options.presets.apply("mdxLoaderOptions", {
190
190
  ...mdxPluginOptions,
191
191
  mdxCompileOptions: {
@@ -274,7 +274,7 @@ var addons = [
274
274
  ];
275
275
  var viteFinal = /* @__PURE__ */ __name(async (config, options) => {
276
276
  const { plugins = [] } = config;
277
- const { mdxPlugin } = await import("./_node-chunks/mdx-plugin-JIWJW5QN.js");
277
+ const { mdxPlugin } = await import("./_node-chunks/mdx-plugin-YI33UEWL.js");
278
278
  const { react, reactDom, mdx } = await getResolvedReact(options);
279
279
  const packageDeduplicationPlugin = {
280
280
  name: "storybook:package-deduplication",
package/dist/preview.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  parameters
3
- } from "./_browser-chunks/chunk-RX6225WF.js";
4
- import "./_browser-chunks/chunk-TQ5Q4DDG.js";
3
+ } from "./_browser-chunks/chunk-YDZYZRYC.js";
5
4
  import "./_browser-chunks/chunk-MM7DTO55.js";
6
5
  export {
7
6
  parameters
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-docs",
3
- "version": "10.0.0-beta.6",
3
+ "version": "10.0.0-beta.7",
4
4
  "description": "Storybook Docs: Document UI components automatically with stories and MDX",
5
5
  "keywords": [
6
6
  "docs",
@@ -84,9 +84,9 @@
84
84
  },
85
85
  "dependencies": {
86
86
  "@mdx-js/react": "^3.0.0",
87
- "@storybook/csf-plugin": "10.0.0-beta.6",
87
+ "@storybook/csf-plugin": "10.0.0-beta.7",
88
88
  "@storybook/icons": "^1.6.0",
89
- "@storybook/react-dom-shim": "10.0.0-beta.6",
89
+ "@storybook/react-dom-shim": "10.0.0-beta.7",
90
90
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
91
91
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
92
92
  "ts-dedent": "^2.0.0"
@@ -113,7 +113,7 @@
113
113
  "vite": "^7.0.4"
114
114
  },
115
115
  "peerDependencies": {
116
- "storybook": "^10.0.0-beta.6"
116
+ "storybook": "^10.0.0-beta.7"
117
117
  },
118
118
  "publishConfig": {
119
119
  "access": "public"