storybook 10.1.3 → 10.1.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/_browser-chunks/{chunk-2XZMBGTA.js → chunk-7S2XPX5M.js} +1 -1
- package/dist/_browser-chunks/{chunk-SS2NHR7W.js → chunk-GPBRNGY5.js} +1 -1
- package/dist/{_node-chunks/chunk-U6IY6QQN.js → _browser-chunks/chunk-JVRDBUUP.js} +20 -13
- package/dist/_browser-chunks/{chunk-GFY5R5EY.js → chunk-V5NV5R37.js} +1 -1
- package/dist/_node-chunks/{builder-manager-N4D23FLX.js → builder-manager-ZXJBDRXR.js} +12 -12
- package/dist/_node-chunks/{camelcase-EXGV75P2.js → camelcase-WRTIKEO6.js} +7 -7
- package/dist/_node-chunks/{chunk-A7QREOLM.js → chunk-255LKCUD.js} +6 -6
- package/dist/_node-chunks/chunk-3GJDB3VJ.js +18 -0
- package/dist/_node-chunks/{chunk-CD52AW7X.js → chunk-3N5PBWO5.js} +9 -9
- package/dist/_node-chunks/{chunk-TCNV3SSR.js → chunk-52EAUB7R.js} +7 -7
- package/dist/_node-chunks/{chunk-4FES3Z32.js → chunk-56BVIMJO.js} +7 -7
- package/dist/_node-chunks/{chunk-IHWETTDK.js → chunk-5H7WLGZC.js} +7 -7
- package/dist/_node-chunks/{chunk-RIFAW6Y4.js → chunk-AJ7QOTOZ.js} +43 -27
- package/dist/{_browser-chunks/chunk-FQ7SLVLR.js → _node-chunks/chunk-B2EXFXPG.js} +32 -1
- package/dist/_node-chunks/{chunk-3PAK6HOZ.js → chunk-C3CWELCD.js} +7 -7
- package/dist/_node-chunks/{chunk-EE622TFR.js → chunk-CUUCEXYW.js} +6 -6
- package/dist/_node-chunks/chunk-EBMWZDZG.js +23 -0
- package/dist/_node-chunks/{chunk-PDCQDYS4.js → chunk-FCQVKOY4.js} +72 -11
- package/dist/_node-chunks/{chunk-2S4J6WRI.js → chunk-FD76ZM2X.js} +8 -8
- package/dist/_node-chunks/{chunk-J33WT6V7.js → chunk-GJ5FSAL5.js} +6 -6
- package/dist/_node-chunks/{chunk-RCCMX64R.js → chunk-GUCJOBT7.js} +6 -6
- package/dist/_node-chunks/{chunk-EY7WWLFP.js → chunk-HNDTWAF5.js} +7 -7
- package/dist/_node-chunks/{chunk-W77J252D.js → chunk-ITMM32VP.js} +9 -9
- package/dist/_node-chunks/{chunk-KQCVPCQD.js → chunk-KYHFIXVV.js} +6 -6
- package/dist/_node-chunks/{chunk-O5HLDMLW.js → chunk-PL7KUITS.js} +12 -12
- package/dist/_node-chunks/{chunk-TTAIHANB.js → chunk-QCZPELNP.js} +7 -7
- package/dist/_node-chunks/{chunk-745ARPQW.js → chunk-RZ3SV46Y.js} +40 -24
- package/dist/_node-chunks/{chunk-V6NSKAAJ.js → chunk-SNGQFKE7.js} +7 -7
- package/dist/_node-chunks/{chunk-4K33EHJJ.js → chunk-VGBOM5PD.js} +21 -17
- package/dist/_node-chunks/chunk-VRODUWUT.js +61 -0
- package/dist/_node-chunks/{chunk-NAZXVKZR.js → chunk-WUVM2V22.js} +6 -6
- package/dist/_node-chunks/{chunk-YF6BQNR6.js → chunk-WYREEMWZ.js} +6 -6
- package/dist/_node-chunks/{chunk-OBA5XT44.js → chunk-XPWMJEXT.js} +7 -7
- package/dist/_node-chunks/{chunk-DUT2G4P5.js → chunk-ZIG3SZMN.js} +8 -8
- package/dist/_node-chunks/{dist-BV4S5XPY.js → dist-XHCP6OFU.js} +9 -9
- package/dist/_node-chunks/{globby-MMDNVX5S.js → globby-YHL6UTMA.js} +9 -9
- package/dist/_node-chunks/{lib-ZNCEKZ43.js → lib-RWWG7TOS.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-KXIBNMFG.js → mdx-N42X6CFJ-ZALEYAPJ.js} +8 -8
- package/dist/_node-chunks/{p-limit-RIAILNZP.js → p-limit-LLBQLQ7I.js} +7 -7
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +12 -12
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +18 -18
- package/dist/common/index.d.ts +25 -18
- package/dist/common/index.js +19 -19
- package/dist/core-server/index.d.ts +68 -1
- package/dist/core-server/index.js +33 -33
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -25
- package/dist/csf/index.js +1 -1
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +21 -2
- package/dist/manager-api/index.js +4 -4
- package/dist/manager-errors.d.ts +24 -0
- package/dist/manager-errors.js +2 -2
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/preview/runtime.js +21 -2
- package/dist/preview-api/index.js +1 -1
- package/dist/preview-errors.d.ts +24 -0
- package/dist/preview-errors.js +2 -2
- package/dist/server-errors.d.ts +59 -3
- package/dist/server-errors.js +22 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-6WT5T7D6.js +0 -23
- package/dist/_node-chunks/chunk-ABYOUG2G.js +0 -18
- package/dist/_node-chunks/chunk-UQA3ZWVX.js +0 -61
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// src/common/versions.ts
|
|
14
|
+
var versions_default = {
|
|
15
|
+
"@storybook/addon-a11y": "10.1.5",
|
|
16
|
+
"@storybook/addon-docs": "10.1.5",
|
|
17
|
+
"@storybook/addon-links": "10.1.5",
|
|
18
|
+
"@storybook/addon-onboarding": "10.1.5",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.1.5",
|
|
20
|
+
"@storybook/addon-themes": "10.1.5",
|
|
21
|
+
"@storybook/addon-vitest": "10.1.5",
|
|
22
|
+
"@storybook/builder-vite": "10.1.5",
|
|
23
|
+
"@storybook/builder-webpack5": "10.1.5",
|
|
24
|
+
storybook: "10.1.5",
|
|
25
|
+
"@storybook/angular": "10.1.5",
|
|
26
|
+
"@storybook/ember": "10.1.5",
|
|
27
|
+
"@storybook/html-vite": "10.1.5",
|
|
28
|
+
"@storybook/nextjs": "10.1.5",
|
|
29
|
+
"@storybook/nextjs-vite": "10.1.5",
|
|
30
|
+
"@storybook/preact-vite": "10.1.5",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.1.5",
|
|
32
|
+
"@storybook/react-vite": "10.1.5",
|
|
33
|
+
"@storybook/react-webpack5": "10.1.5",
|
|
34
|
+
"@storybook/server-webpack5": "10.1.5",
|
|
35
|
+
"@storybook/svelte-vite": "10.1.5",
|
|
36
|
+
"@storybook/sveltekit": "10.1.5",
|
|
37
|
+
"@storybook/vue3-vite": "10.1.5",
|
|
38
|
+
"@storybook/web-components-vite": "10.1.5",
|
|
39
|
+
sb: "10.1.5",
|
|
40
|
+
"@storybook/cli": "10.1.5",
|
|
41
|
+
"@storybook/codemod": "10.1.5",
|
|
42
|
+
"@storybook/core-webpack": "10.1.5",
|
|
43
|
+
"create-storybook": "10.1.5",
|
|
44
|
+
"@storybook/csf-plugin": "10.1.5",
|
|
45
|
+
"eslint-plugin-storybook": "10.1.5",
|
|
46
|
+
"@storybook/react-dom-shim": "10.1.5",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.1.5",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.1.5",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.1.5",
|
|
50
|
+
"@storybook/html": "10.1.5",
|
|
51
|
+
"@storybook/preact": "10.1.5",
|
|
52
|
+
"@storybook/react": "10.1.5",
|
|
53
|
+
"@storybook/server": "10.1.5",
|
|
54
|
+
"@storybook/svelte": "10.1.5",
|
|
55
|
+
"@storybook/vue3": "10.1.5",
|
|
56
|
+
"@storybook/web-components": "10.1.5"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_f2mg11kr5cs.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WYREEMWZ.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/picomatch/lib/constants.js
|
|
18
18
|
var require_constants = __commonJS({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QCZPELNP.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WYREEMWZ.js";
|
|
18
18
|
|
|
19
19
|
// src/csf-tools/CsfFile.ts
|
|
20
20
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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
|
toEstree
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-HNDTWAF5.js";
|
|
15
|
+
import "./chunk-WYREEMWZ.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/@storybook/docs-mdx/dist/index.js
|
|
18
18
|
var getAttr = (elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute" && n.name.name === what), getAttrValue = (elt, what) => getAttr(elt, what)?.value, getAttrLiteral = (elt, what) => {
|
|
@@ -107,7 +107,7 @@ var getAttr = (elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute
|
|
|
107
107
|
isTemplate: !1,
|
|
108
108
|
metaTags: void 0,
|
|
109
109
|
imports: void 0
|
|
110
|
-
}, { compile } = await import("./mdx-N42X6CFJ-
|
|
110
|
+
}, { compile } = await import("./mdx-N42X6CFJ-ZALEYAPJ.js");
|
|
111
111
|
await compile(code, {
|
|
112
112
|
rehypePlugins: [[plugin, store]]
|
|
113
113
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,15 +12,15 @@ var require = CJS_COMPAT_NODE_MODULE_f2mg11kr5cs.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_picomatch,
|
|
14
14
|
require_utils
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XPWMJEXT.js";
|
|
16
16
|
import {
|
|
17
17
|
slash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WUVM2V22.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WYREEMWZ.js";
|
|
24
24
|
|
|
25
25
|
// ../node_modules/fast-glob/out/utils/array.js
|
|
26
26
|
var require_array = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WYREEMWZ.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/app-root-dir/lib/index.js
|
|
19
19
|
var require_lib = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
position,
|
|
22
22
|
start,
|
|
23
23
|
toEstree
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-HNDTWAF5.js";
|
|
25
|
+
import "./chunk-WYREEMWZ.js";
|
|
26
26
|
|
|
27
27
|
// ../node_modules/@storybook/docs-mdx/dist/mdx-N42X6CFJ.js
|
|
28
28
|
import { default as default2 } from "path";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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 "./chunk-
|
|
12
|
+
import "./chunk-WYREEMWZ.js";
|
|
13
13
|
|
|
14
14
|
// ../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|
package/dist/babel/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
recast,
|
|
23
23
|
traverse,
|
|
24
24
|
types
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
28
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-3N5PBWO5.js";
|
|
26
|
+
import "../_node-chunks/chunk-C3CWELCD.js";
|
|
27
|
+
import "../_node-chunks/chunk-56BVIMJO.js";
|
|
28
|
+
import "../_node-chunks/chunk-WYREEMWZ.js";
|
|
29
29
|
var export_transformSync = import_core.transformSync;
|
|
30
30
|
export {
|
|
31
31
|
BabelFileClass,
|
package/dist/bin/core.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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
|
version
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-3GJDB3VJ.js";
|
|
15
15
|
import {
|
|
16
16
|
globalSettings
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-ITMM32VP.js";
|
|
18
|
+
import "../_node-chunks/chunk-GJ5FSAL5.js";
|
|
19
19
|
import {
|
|
20
20
|
require_dist
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-QCZPELNP.js";
|
|
22
22
|
import {
|
|
23
23
|
require_picocolors
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-56BVIMJO.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__require,
|
|
28
28
|
__toESM
|
|
29
|
-
} from "../_node-chunks/chunk-
|
|
29
|
+
} from "../_node-chunks/chunk-WYREEMWZ.js";
|
|
30
30
|
|
|
31
31
|
// ../node_modules/commander/lib/error.js
|
|
32
32
|
var require_error = __commonJS({
|
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
12
12
|
// ------------------------------------------------------------
|
|
13
13
|
import {
|
|
14
14
|
versions_default
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-VRODUWUT.js";
|
|
16
16
|
import {
|
|
17
17
|
resolvePackageDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-SNGQFKE7.js";
|
|
19
19
|
import {
|
|
20
20
|
join
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-CUUCEXYW.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-QCZPELNP.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-WYREEMWZ.js";
|
|
28
28
|
|
|
29
29
|
// src/bin/dispatcher.ts
|
|
30
30
|
import { pathToFileURL } from "node:url";
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.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
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-KYHFIXVV.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-QCZPELNP.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-WYREEMWZ.js";
|
|
21
21
|
|
|
22
22
|
// src/bin/loader.ts
|
|
23
23
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -33,24 +33,24 @@ import {
|
|
|
33
33
|
readFileAsJson,
|
|
34
34
|
suggestESLintPlugin,
|
|
35
35
|
writeFileAsJson
|
|
36
|
-
} from "../_node-chunks/chunk-
|
|
36
|
+
} from "../_node-chunks/chunk-PL7KUITS.js";
|
|
37
37
|
import {
|
|
38
38
|
detectPnp
|
|
39
|
-
} from "../_node-chunks/chunk-
|
|
39
|
+
} from "../_node-chunks/chunk-EBMWZDZG.js";
|
|
40
40
|
import {
|
|
41
41
|
Settings,
|
|
42
42
|
_clearGlobalSettings,
|
|
43
43
|
globalSettings
|
|
44
|
-
} from "../_node-chunks/chunk-
|
|
45
|
-
import "../_node-chunks/chunk-
|
|
46
|
-
import "../_node-chunks/chunk-
|
|
47
|
-
import "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
50
|
-
import "../_node-chunks/chunk-
|
|
51
|
-
import "../_node-chunks/chunk-
|
|
52
|
-
import "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
44
|
+
} from "../_node-chunks/chunk-ITMM32VP.js";
|
|
45
|
+
import "../_node-chunks/chunk-255LKCUD.js";
|
|
46
|
+
import "../_node-chunks/chunk-SNGQFKE7.js";
|
|
47
|
+
import "../_node-chunks/chunk-GJ5FSAL5.js";
|
|
48
|
+
import "../_node-chunks/chunk-CUUCEXYW.js";
|
|
49
|
+
import "../_node-chunks/chunk-QCZPELNP.js";
|
|
50
|
+
import "../_node-chunks/chunk-3N5PBWO5.js";
|
|
51
|
+
import "../_node-chunks/chunk-C3CWELCD.js";
|
|
52
|
+
import "../_node-chunks/chunk-56BVIMJO.js";
|
|
53
|
+
import "../_node-chunks/chunk-WYREEMWZ.js";
|
|
54
54
|
export {
|
|
55
55
|
ANGULAR_JSON_PATH,
|
|
56
56
|
AddonVitestService,
|
package/dist/common/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { WriteStream } from 'node:fs';
|
|
|
5
5
|
import { Buffer } from 'node:buffer';
|
|
6
6
|
import { ChildProcess } from 'node:child_process';
|
|
7
7
|
import { Readable, Writable, Stream } from 'node:stream';
|
|
8
|
-
import * as prettier from 'prettier';
|
|
9
8
|
import { ConfigFile } from 'storybook/internal/csf-tools';
|
|
10
9
|
import { types } from 'storybook/internal/babel';
|
|
11
10
|
|
|
@@ -1392,24 +1391,32 @@ declare function validateConfigurationFiles(configDir: string, cwd?: string): Pr
|
|
|
1392
1391
|
/** Mimicking the satisfies operator until we can upgrade to TS4.9 */
|
|
1393
1392
|
declare function satisfies<A>(): <T extends A>(x: T) => T;
|
|
1394
1393
|
|
|
1395
|
-
|
|
1396
|
-
resolveConfig: (
|
|
1397
|
-
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
formatWithCursor(
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
getFileInfo(
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1394
|
+
interface Prettier {
|
|
1395
|
+
resolveConfig: (filePath: string, options?: {
|
|
1396
|
+
editorconfig?: boolean;
|
|
1397
|
+
}) => Promise<any>;
|
|
1398
|
+
format: (content: string, options?: any) => Promise<string> | string;
|
|
1399
|
+
check: (content: string, options?: any) => Promise<boolean>;
|
|
1400
|
+
clearConfigCache: () => Promise<void>;
|
|
1401
|
+
formatWithCursor: (content: string, options?: any) => Promise<{
|
|
1402
|
+
formatted: string;
|
|
1403
|
+
cursorOffset: number;
|
|
1404
|
+
}>;
|
|
1405
|
+
getFileInfo: (filePath: string, options?: any) => Promise<{
|
|
1406
|
+
ignored: boolean;
|
|
1407
|
+
inferredParser: string | null;
|
|
1408
|
+
}>;
|
|
1409
|
+
getSupportInfo: () => Promise<{
|
|
1410
|
+
languages: any[];
|
|
1411
|
+
options: any[];
|
|
1412
|
+
}>;
|
|
1413
|
+
resolveConfigFile: (filePath?: string) => Promise<string | null>;
|
|
1410
1414
|
version: string;
|
|
1411
|
-
|
|
1412
|
-
|
|
1415
|
+
AstPath: any;
|
|
1416
|
+
doc: any;
|
|
1417
|
+
util: any;
|
|
1418
|
+
}
|
|
1419
|
+
declare function getPrettier(): Promise<Prettier>;
|
|
1413
1420
|
/**
|
|
1414
1421
|
* Format the content of a file using prettier. If prettier is not available in the user's project,
|
|
1415
1422
|
* it will fallback to use editorconfig settings if available and formats the file by a
|
package/dist/common/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_16w7d0j2rs7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_16w7d0j2rs7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_16w7d0j2rs7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_16w7d0j2rs7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_16w7d0j2rs7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_16w7d0j2rs7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -102,29 +102,29 @@ import {
|
|
|
102
102
|
validateConfigurationFiles,
|
|
103
103
|
validateFrameworkName,
|
|
104
104
|
wrapValueWithGetAbsolutePathWrapper
|
|
105
|
-
} from "../_node-chunks/chunk-
|
|
105
|
+
} from "../_node-chunks/chunk-RZ3SV46Y.js";
|
|
106
106
|
import {
|
|
107
107
|
versions_default
|
|
108
|
-
} from "../_node-chunks/chunk-
|
|
109
|
-
import "../_node-chunks/chunk-
|
|
110
|
-
import "../_node-chunks/chunk-
|
|
111
|
-
import "../_node-chunks/chunk-
|
|
108
|
+
} from "../_node-chunks/chunk-VRODUWUT.js";
|
|
109
|
+
import "../_node-chunks/chunk-XPWMJEXT.js";
|
|
110
|
+
import "../_node-chunks/chunk-FD76ZM2X.js";
|
|
111
|
+
import "../_node-chunks/chunk-255LKCUD.js";
|
|
112
112
|
import {
|
|
113
113
|
importMetaResolve,
|
|
114
114
|
importModule,
|
|
115
115
|
resolvePackageDir,
|
|
116
116
|
safeResolveModule
|
|
117
|
-
} from "../_node-chunks/chunk-
|
|
117
|
+
} from "../_node-chunks/chunk-SNGQFKE7.js";
|
|
118
118
|
import {
|
|
119
119
|
groupBy,
|
|
120
120
|
invariant
|
|
121
|
-
} from "../_node-chunks/chunk-
|
|
122
|
-
import "../_node-chunks/chunk-
|
|
123
|
-
import "../_node-chunks/chunk-
|
|
124
|
-
import "../_node-chunks/chunk-
|
|
125
|
-
import "../_node-chunks/chunk-
|
|
126
|
-
import "../_node-chunks/chunk-
|
|
127
|
-
import "../_node-chunks/chunk-
|
|
121
|
+
} from "../_node-chunks/chunk-GJ5FSAL5.js";
|
|
122
|
+
import "../_node-chunks/chunk-CUUCEXYW.js";
|
|
123
|
+
import "../_node-chunks/chunk-52EAUB7R.js";
|
|
124
|
+
import "../_node-chunks/chunk-WUVM2V22.js";
|
|
125
|
+
import "../_node-chunks/chunk-QCZPELNP.js";
|
|
126
|
+
import "../_node-chunks/chunk-56BVIMJO.js";
|
|
127
|
+
import "../_node-chunks/chunk-WYREEMWZ.js";
|
|
128
128
|
export {
|
|
129
129
|
DEFAULT_FILES_PATTERN,
|
|
130
130
|
FileSystemCache,
|