@storybook/addon-docs 10.5.0-alpha.6 → 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/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-S4QKU6I5.js";
7
- import "./_browser-chunks/chunk-SL3VIQZ3.js";
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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Source
3
3
  } from "./_browser-chunks/chunk-SPXYZZB5.js";
4
- import "./_browser-chunks/chunk-SL3VIQZ3.js";
4
+ import "./_browser-chunks/chunk-UAWMPV5J.js";
5
5
 
6
6
  // src/manager.tsx
7
7
  import React, { useEffect, useState } from "react";
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_ex4aqfuxtma from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ex4aqfuxtma from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ex4aqfuxtma from "node:module";
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 = CJS_COMPAT_NODE_URL_ex4aqfuxtma.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ex4aqfuxtma.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ex4aqfuxtma.createRequire(import.meta.url);
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-HPMS3VGC.js";
15
- import "./_node-chunks/chunk-EVYDPJBT.js";
16
- import "./_node-chunks/chunk-7GHLECTU.js";
17
- import "./_node-chunks/chunk-5KAVE6JH.js";
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 CJS_COMPAT_NODE_URL_ex4aqfuxtma from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ex4aqfuxtma from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ex4aqfuxtma from "node:module";
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 = CJS_COMPAT_NODE_URL_ex4aqfuxtma.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ex4aqfuxtma.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ex4aqfuxtma.createRequire(import.meta.url);
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-5KAVE6JH.js";
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-2JQMJ6CC.js")).default, rehypeExternalLinks = (await import("./_node-chunks/rehype-external-links-55SSEHL7.js")).default, mdxLoaderOptions = await options.presets.apply("mdxLoaderOptions", {
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-SQGKMDRV.js"), { react, reactDom, mdx } = await getResolvedReact(options), packageDeduplicationPlugin = {
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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  parameters
3
- } from "./_browser-chunks/chunk-S4QKU6I5.js";
4
- import "./_browser-chunks/chunk-SL3VIQZ3.js";
3
+ } from "./_browser-chunks/chunk-6Z2O5XYJ.js";
4
+ import "./_browser-chunks/chunk-UAWMPV5J.js";
5
5
  export {
6
6
  parameters
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-docs",
3
- "version": "10.5.0-alpha.6",
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.6",
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.6",
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.6"
120
+ "storybook": "^10.5.0-alpha.7"
121
121
  },
122
122
  "peerDependenciesMeta": {
123
123
  "@types/react": {