storybook 10.0.0-rc.2 → 10.0.0-rc.4
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/_node-chunks/{builder-manager-ZNPRP22E.js → builder-manager-CMPC7SCH.js} +12 -12
- package/dist/_node-chunks/camelcase-PH4ACE3G.js +18 -0
- package/dist/_node-chunks/{chunk-62KDMWXX.js → chunk-2JIAOYKO.js} +7 -7
- package/dist/_node-chunks/{chunk-DOCRBDQH.js → chunk-4TLOQYBC.js} +7 -7
- package/dist/_node-chunks/{chunk-D5WSRTEX.js → chunk-A3UOLOFM.js} +7 -7
- package/dist/_node-chunks/{chunk-X35XJZ7G.js → chunk-AA6WD3A7.js} +7 -7
- package/dist/_node-chunks/chunk-AHFZBAQF.js +61 -0
- package/dist/_node-chunks/{chunk-VDCU2LFF.js → chunk-AS5N7GY5.js} +7 -7
- package/dist/_node-chunks/{chunk-LUDM5RD2.js → chunk-BEHPCFQ2.js} +8 -8
- package/dist/_node-chunks/{chunk-VHPYGR5X.js → chunk-BSVBH2ZA.js} +7 -7
- package/dist/_node-chunks/{chunk-WD2QJDGV.js → chunk-BZXQJZUK.js} +7 -7
- package/dist/_node-chunks/{chunk-6VEWXDI5.js → chunk-DLIUMR5R.js} +6 -6
- package/dist/_node-chunks/{chunk-K5GJVTVF.js → chunk-E7XUDQ3W.js} +7 -7
- package/dist/_node-chunks/{chunk-H6J6LJQQ.js → chunk-EJGHDAYE.js} +6 -6
- package/dist/_node-chunks/{chunk-VSPERFYF.js → chunk-JGDH6YYG.js} +20 -20
- package/dist/_node-chunks/{chunk-XJRUDTSD.js → chunk-JPPACTL4.js} +7 -7
- package/dist/_node-chunks/{chunk-SSK6CTPD.js → chunk-MC6BOBJJ.js} +12 -12
- package/dist/_node-chunks/{chunk-54MOKOMZ.js → chunk-MQY4ZI62.js} +8 -8
- package/dist/_node-chunks/{chunk-SF4YWMS2.js → chunk-NCKTVDON.js} +37 -35
- package/dist/_node-chunks/{chunk-QD4TA2GK.js → chunk-OJSXOILA.js} +7 -7
- package/dist/_node-chunks/{chunk-BPYW7SFB.js → chunk-OOXEC2LP.js} +7 -7
- package/dist/_node-chunks/{chunk-M2Y5JVSX.js → chunk-P7GFT5HG.js} +8 -8
- package/dist/_node-chunks/{chunk-OCPCEJ7D.js → chunk-PCQGHIXN.js} +7 -7
- package/dist/_node-chunks/{chunk-TR7IYGK4.js → chunk-PJCDP6ZD.js} +7 -7
- package/dist/_node-chunks/{chunk-MTIN3LKM.js → chunk-PW2V2I6I.js} +7 -7
- package/dist/_node-chunks/{chunk-2IEV7XG2.js → chunk-QK5IGJ3H.js} +9 -9
- package/dist/_node-chunks/{chunk-ZZMPRSOL.js → chunk-RZ77GUAF.js} +10 -10
- package/dist/_node-chunks/{chunk-LR47LSEQ.js → chunk-SN3TDU74.js} +8 -8
- package/dist/_node-chunks/{chunk-AFW3U6QG.js → chunk-SX2UZK74.js} +7 -7
- package/dist/_node-chunks/{chunk-FXGD2HHQ.js → chunk-USMWLOGR.js} +7 -7
- package/dist/_node-chunks/chunk-VBFCHLFV.js +1518 -0
- package/dist/_node-chunks/{chunk-6SGQF6CF.js → chunk-VWIHOMFU.js} +8 -8
- package/dist/_node-chunks/chunk-XQN3THEO.js +18 -0
- package/dist/_node-chunks/{chunk-J34Y4L4Q.js → chunk-YW2UKPPH.js} +9 -9
- package/dist/_node-chunks/{chunk-FWBLOTP7.js → chunk-ZW5XA6KG.js} +7 -7
- package/dist/_node-chunks/{dist-47EE2CMC.js → dist-U664B537.js} +9 -9
- package/dist/_node-chunks/{globby-ZEUQ6QPC.js → globby-HQ3ESL52.js} +9 -9
- package/dist/_node-chunks/{lib-LCU5VXJS.js → lib-2IOH44LB.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-7LUZM4HR.js → mdx-N42X6CFJ-M54WITPV.js} +8 -8
- package/dist/_node-chunks/{p-limit-XJGTO6H5.js → p-limit-PBXTEA6N.js} +7 -7
- package/dist/_node-chunks/{plugin-ZN5KCYM2.js → plugin-34QU2FG7.js} +10 -10
- package/dist/_node-chunks/{plugin-YZRPWYO5.js → plugin-RSI6B3JI.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-CRH6N7YZ.js → webpack-inject-mocker-runtime-plugin-UMXHXRC2.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-NQXGMVTF.js → webpack-mock-plugin-6GKO2XIO.js} +9 -9
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +11 -11
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +136 -1561
- package/dist/common/index.js +20 -20
- package/dist/core-server/index.js +48 -35
- package/dist/core-server/presets/common-manager.js +1 -0
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +38 -26
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
- package/dist/csf-tools/index.js +9 -9
- package/dist/instrumenter/index.js +1 -1
- package/dist/manager/globals-runtime.js +9 -6
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/node-logger/index.js +14 -14
- package/dist/preview/runtime.js +8 -5
- package/dist/preview-api/index.d.ts +67 -68
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.d.ts +21 -1
- package/dist/telemetry/index.js +24 -24
- package/dist/test/index.js +7 -4
- package/dist/types/index.d.ts +3 -1
- package/package.json +1 -1
- package/dist/_node-chunks/camelcase-EY6MYFU4.js +0 -18
- package/dist/_node-chunks/chunk-JT5JXOKC.js +0 -61
- package/dist/_node-chunks/chunk-N4S7XZKB.js +0 -18
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DLIUMR5R.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2JIAOYKO.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VWIHOMFU.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OJSXOILA.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZW5XA6KG.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__esm,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
__require,
|
|
37
37
|
__toCommonJS,
|
|
38
38
|
__toESM
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EJGHDAYE.js";
|
|
40
40
|
|
|
41
41
|
// ../node_modules/tslib/tslib.es6.mjs
|
|
42
42
|
var tslib_es6_exports = {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
camelCase
|
|
14
|
+
} from "./chunk-OOXEC2LP.js";
|
|
15
|
+
import "./chunk-EJGHDAYE.js";
|
|
16
|
+
export {
|
|
17
|
+
camelCase as default
|
|
18
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EJGHDAYE.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/totalist/sync/index.js
|
|
19
19
|
var require_sync = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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_oali8g6joqi.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EJGHDAYE.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/picocolors/picocolors.js
|
|
18
18
|
var require_picocolors = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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_oali8g6joqi.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EJGHDAYE.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js
|
|
18
18
|
var require_resolve_uri_umd = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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 "./chunk-
|
|
14
|
+
} from "./chunk-EJGHDAYE.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
17
17
|
var isProduction = process.env.NODE_ENV === "production";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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.0.0-rc.4",
|
|
16
|
+
"@storybook/addon-docs": "10.0.0-rc.4",
|
|
17
|
+
"@storybook/addon-links": "10.0.0-rc.4",
|
|
18
|
+
"@storybook/addon-onboarding": "10.0.0-rc.4",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.0.0-rc.4",
|
|
20
|
+
"@storybook/addon-themes": "10.0.0-rc.4",
|
|
21
|
+
"@storybook/addon-vitest": "10.0.0-rc.4",
|
|
22
|
+
"@storybook/builder-vite": "10.0.0-rc.4",
|
|
23
|
+
"@storybook/builder-webpack5": "10.0.0-rc.4",
|
|
24
|
+
storybook: "10.0.0-rc.4",
|
|
25
|
+
"@storybook/angular": "10.0.0-rc.4",
|
|
26
|
+
"@storybook/ember": "10.0.0-rc.4",
|
|
27
|
+
"@storybook/html-vite": "10.0.0-rc.4",
|
|
28
|
+
"@storybook/nextjs": "10.0.0-rc.4",
|
|
29
|
+
"@storybook/nextjs-vite": "10.0.0-rc.4",
|
|
30
|
+
"@storybook/preact-vite": "10.0.0-rc.4",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.0.0-rc.4",
|
|
32
|
+
"@storybook/react-vite": "10.0.0-rc.4",
|
|
33
|
+
"@storybook/react-webpack5": "10.0.0-rc.4",
|
|
34
|
+
"@storybook/server-webpack5": "10.0.0-rc.4",
|
|
35
|
+
"@storybook/svelte-vite": "10.0.0-rc.4",
|
|
36
|
+
"@storybook/sveltekit": "10.0.0-rc.4",
|
|
37
|
+
"@storybook/vue3-vite": "10.0.0-rc.4",
|
|
38
|
+
"@storybook/web-components-vite": "10.0.0-rc.4",
|
|
39
|
+
sb: "10.0.0-rc.4",
|
|
40
|
+
"@storybook/cli": "10.0.0-rc.4",
|
|
41
|
+
"@storybook/codemod": "10.0.0-rc.4",
|
|
42
|
+
"@storybook/core-webpack": "10.0.0-rc.4",
|
|
43
|
+
"create-storybook": "10.0.0-rc.4",
|
|
44
|
+
"@storybook/csf-plugin": "10.0.0-rc.4",
|
|
45
|
+
"eslint-plugin-storybook": "10.0.0-rc.4",
|
|
46
|
+
"@storybook/react-dom-shim": "10.0.0-rc.4",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.0.0-rc.4",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.0.0-rc.4",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.0.0-rc.4",
|
|
50
|
+
"@storybook/html": "10.0.0-rc.4",
|
|
51
|
+
"@storybook/preact": "10.0.0-rc.4",
|
|
52
|
+
"@storybook/react": "10.0.0-rc.4",
|
|
53
|
+
"@storybook/server": "10.0.0-rc.4",
|
|
54
|
+
"@storybook/svelte": "10.0.0-rc.4",
|
|
55
|
+
"@storybook/vue3": "10.0.0-rc.4",
|
|
56
|
+
"@storybook/web-components": "10.0.0-rc.4"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EJGHDAYE.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/pretty-hrtime/index.js
|
|
17
17
|
var require_pretty_hrtime = __commonJS({
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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
|
camelCase
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OOXEC2LP.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__name,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EJGHDAYE.js";
|
|
20
20
|
|
|
21
21
|
// ../node_modules/boxen/node_modules/emoji-regex/index.js
|
|
22
22
|
var require_emoji_regex = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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_oali8g6joqi.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EJGHDAYE.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/ts-dedent/dist/index.js
|
|
18
18
|
var require_dist = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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 "./chunk-
|
|
14
|
+
} from "./chunk-EJGHDAYE.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
17
17
|
var comma = ",".charCodeAt(0);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EJGHDAYE.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/ms/index.js
|
|
19
19
|
var require_ms = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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 "./chunk-
|
|
14
|
+
} from "./chunk-XQN3THEO.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
resolvePathInStorybookCache,
|
|
18
18
|
up
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NCKTVDON.js";
|
|
20
20
|
import {
|
|
21
21
|
globalSettings
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SN3TDU74.js";
|
|
23
23
|
import {
|
|
24
24
|
execaCommand,
|
|
25
25
|
getProjectRoot
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YW2UKPPH.js";
|
|
27
27
|
import {
|
|
28
28
|
getSessionId,
|
|
29
29
|
nanoid,
|
|
30
30
|
set
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PW2V2I6I.js";
|
|
32
32
|
import {
|
|
33
33
|
resolvePackageDir
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VWIHOMFU.js";
|
|
35
35
|
import {
|
|
36
36
|
slash
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-ZW5XA6KG.js";
|
|
38
38
|
import {
|
|
39
39
|
require_picocolors
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-4TLOQYBC.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__name,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-EJGHDAYE.js";
|
|
46
46
|
|
|
47
47
|
// ../node_modules/fetch-retry/index.js
|
|
48
48
|
var require_fetch_retry = __commonJS({
|
|
@@ -1164,16 +1164,16 @@ var telemetry = /* @__PURE__ */ __name(async (eventType, payload = {}, options =
|
|
|
1164
1164
|
telemetryData.metadata = await getStorybookMetadata(options?.configDir);
|
|
1165
1165
|
}
|
|
1166
1166
|
} catch (error) {
|
|
1167
|
-
|
|
1167
|
+
payload.metadataErrorMessage = sanitizeError(error).message;
|
|
1168
1168
|
if (options?.enableCrashReports) {
|
|
1169
|
-
|
|
1169
|
+
payload.metadataError = sanitizeError(error);
|
|
1170
1170
|
}
|
|
1171
1171
|
} finally {
|
|
1172
|
-
const { error } =
|
|
1172
|
+
const { error } = payload;
|
|
1173
1173
|
if (error) {
|
|
1174
|
-
|
|
1174
|
+
payload.error = sanitizeError(error);
|
|
1175
1175
|
}
|
|
1176
|
-
if (!
|
|
1176
|
+
if (!payload.error || options?.enableCrashReports) {
|
|
1177
1177
|
if (process.env?.STORYBOOK_TELEMETRY_DEBUG) {
|
|
1178
1178
|
logger2.info("\n[telemetry]");
|
|
1179
1179
|
logger2.info(JSON.stringify(telemetryData, null, 2));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EJGHDAYE.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/picomatch/lib/constants.js
|
|
19
19
|
var require_constants = __commonJS({
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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_build
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2JIAOYKO.js";
|
|
15
15
|
import {
|
|
16
16
|
resolvePackageDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VWIHOMFU.js";
|
|
18
18
|
import {
|
|
19
19
|
require_prompts
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SX2UZK74.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BSVBH2ZA.js";
|
|
24
24
|
import {
|
|
25
25
|
require_picocolors
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4TLOQYBC.js";
|
|
27
27
|
import {
|
|
28
28
|
__name,
|
|
29
29
|
__toESM
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EJGHDAYE.js";
|
|
31
31
|
|
|
32
32
|
// src/core-server/utils/server-statics.ts
|
|
33
33
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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-BSVBH2ZA.js";
|
|
15
15
|
import {
|
|
16
16
|
__name,
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EJGHDAYE.js";
|
|
19
19
|
|
|
20
20
|
// src/csf-tools/CsfFile.ts
|
|
21
21
|
var import_ts_dedent = __toESM(require_dist(), 1);
|