storybook 10.4.1 → 10.4.2
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-H3RE756K.js → builder-manager-LFGO35U5.js} +12 -12
- package/dist/_node-chunks/{camelcase-3C63TIAT.js → camelcase-45NXQBQZ.js} +7 -7
- package/dist/_node-chunks/{chunk-NXYAADHN.js → chunk-3BNLXRMT.js} +6 -6
- package/dist/_node-chunks/{chunk-UHVMRW65.js → chunk-3MJQGFKY.js} +7 -7
- package/dist/_node-chunks/{chunk-CXHD3UA6.js → chunk-6YHOQD7F.js} +9 -9
- package/dist/_node-chunks/{chunk-JBJRWIDV.js → chunk-73L4GC4E.js} +9 -9
- package/dist/_node-chunks/{chunk-2E2JVUNS.js → chunk-7VTLE5YX.js} +7 -7
- package/dist/_node-chunks/{chunk-3LVSS6GN.js → chunk-7WEMCKHC.js} +9 -9
- package/dist/_node-chunks/{chunk-BV5YQP4B.js → chunk-AFCIL7SS.js} +7 -7
- package/dist/_node-chunks/{chunk-KZ7QL465.js → chunk-AKZIDWJD.js} +15 -15
- package/dist/_node-chunks/{chunk-5L7EORB4.js → chunk-BNXXMARY.js} +6 -6
- package/dist/_node-chunks/chunk-BOVST5A6.js +84 -0
- package/dist/_node-chunks/{chunk-UEFVJ4BB.js → chunk-C4WK5T7L.js} +6 -6
- package/dist/_node-chunks/{chunk-PNYLLFX3.js → chunk-FL7EBVLJ.js} +86 -62
- package/dist/_node-chunks/{chunk-2W743EA3.js → chunk-FODLNFCP.js} +7 -7
- package/dist/_node-chunks/{chunk-RYS45SZ5.js → chunk-GD4AVVJ6.js} +10 -10
- package/dist/_node-chunks/{chunk-TGEJ6REI.js → chunk-HKR2K7HF.js} +6 -6
- package/dist/_node-chunks/{chunk-XSYEGQMM.js → chunk-IDGTLYPU.js} +7 -7
- package/dist/_node-chunks/{chunk-FFFNDE22.js → chunk-ISPUBAVT.js} +7 -7
- package/dist/_node-chunks/chunk-JJ2VMJ7Z.js +20 -0
- package/dist/_node-chunks/{chunk-3BPHYDN5.js → chunk-L36PKDQP.js} +8 -8
- package/dist/_node-chunks/{chunk-C43BFJMS.js → chunk-MLJ5DCGH.js} +6 -6
- package/dist/_node-chunks/{chunk-XQ72YXLB.js → chunk-O7TSSZXM.js} +6 -6
- package/dist/_node-chunks/{chunk-CUZMMOHY.js → chunk-PU4IASEN.js} +19 -19
- package/dist/_node-chunks/{chunk-UZQ7S6LH.js → chunk-QGWCIQDL.js} +7 -7
- package/dist/_node-chunks/{chunk-JM4QTCUN.js → chunk-QHMIIPJD.js} +10 -10
- package/dist/_node-chunks/{chunk-5IHDTMLC.js → chunk-R7BVFC2D.js} +6 -6
- package/dist/_node-chunks/{chunk-R3VBEOHQ.js → chunk-TAYACG5Y.js} +7 -7
- package/dist/_node-chunks/chunk-U5UFYVZ7.js +18 -0
- package/dist/_node-chunks/{chunk-UQRAUAGM.js → chunk-V4WSMXU3.js} +7 -7
- package/dist/_node-chunks/{chunk-ZJMC6JVU.js → chunk-VSZP3IVO.js} +9 -9
- package/dist/_node-chunks/{chunk-4ISTEHCM.js → chunk-ZFGCKAOI.js} +17 -20
- package/dist/_node-chunks/{globby-JBOYUSB4.js → globby-A5OBERQV.js} +9 -9
- package/dist/_node-chunks/{lib-6NOKBEFE.js → lib-B44OSHMG.js} +7 -7
- package/dist/_node-chunks/p-limit-WM2X6HTW.js +20 -0
- package/dist/_node-chunks/session-id-U53AF2GP.js +22 -0
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +12 -13
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.d.ts +0 -6
- package/dist/cli/index.js +19 -19
- package/dist/common/index.d.ts +13 -16
- package/dist/common/index.js +20 -20
- package/dist/components/index.d.ts +178 -113
- package/dist/core-events/index.d.ts +0 -6
- package/dist/core-server/index.d.ts +0 -6
- package/dist/core-server/index.js +35 -35
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +26 -26
- package/dist/csf/index.d.ts +770 -163
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.d.ts +0 -6
- package/dist/manager-api/index.js +1 -1
- package/dist/manager-errors.d.ts +0 -6
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +11 -11
- package/dist/oxc-parser/worker.js +11 -11
- package/dist/preview-api/index.d.ts +0 -6
- package/dist/preview-errors.d.ts +0 -6
- package/dist/server-errors.d.ts +0 -6
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +25 -25
- package/dist/test/index.d.ts +1 -1
- package/dist/types/index.d.ts +210 -140
- package/package.json +2 -2
- package/dist/_node-chunks/chunk-6GCVEFD6.js +0 -18
- package/dist/_node-chunks/chunk-BV2M6I75.js +0 -84
- package/dist/_node-chunks/chunk-JQXQP7A4.js +0 -20
- package/dist/_node-chunks/p-limit-J2VX66LD.js +0 -20
- package/dist/_node-chunks/session-id-TNKIKECX.js +0 -22
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,26 +13,26 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-C4WK5T7L.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-V4WSMXU3.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3MJQGFKY.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HKR2K7HF.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-JJ2VMJ7Z.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-R7BVFC2D.js";
|
|
36
36
|
|
|
37
37
|
// ../../node_modules/ejs/lib/utils.js
|
|
38
38
|
var require_utils = __commonJS({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.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-R7BVFC2D.js";
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/camelcase/index.js
|
|
15
15
|
var UPPERCASE = /[\p{Lu}]/u, LOWERCASE = /[\p{Ll}]/u, LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/u, SEPARATORS = /[_.\- ]+/, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp(String.raw`\d+` + IDENTIFIER.source, "gu"), preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.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_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.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_ret6ivvuly.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HKR2K7HF.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/exsolve/dist/index.mjs
|
|
18
18
|
import fs, { lstatSync, realpathSync, statSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.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_ret6ivvuly.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_lib,
|
|
14
14
|
require_src
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TAYACG5Y.js";
|
|
16
16
|
import {
|
|
17
17
|
require_picocolors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AFCIL7SS.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-R7BVFC2D.js";
|
|
24
24
|
|
|
25
25
|
// ../../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
26
26
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.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
|
invariant
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BNXXMARY.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IDGTLYPU.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-R7BVFC2D.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/globalSettings.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.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_ret6ivvuly.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__toESM
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-R7BVFC2D.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/balanced-match/index.js
|
|
18
18
|
var require_balanced_match = __commonJS({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.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-IDGTLYPU.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AFCIL7SS.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-R7BVFC2D.js";
|
|
21
21
|
|
|
22
22
|
// src/server-errors.ts
|
|
23
23
|
var import_picocolors = __toESM(require_picocolors(), 1), import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.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-R7BVFC2D.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/picocolors/picocolors.js
|
|
17
17
|
var require_picocolors = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,17 +12,17 @@ var require = CJS_COMPAT_NODE_MODULE_ret6ivvuly.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
getSessionId,
|
|
14
14
|
nanoid
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MLJ5DCGH.js";
|
|
16
16
|
import {
|
|
17
17
|
version
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-U5UFYVZ7.js";
|
|
19
19
|
import {
|
|
20
20
|
createFileSystemCache,
|
|
21
21
|
execa,
|
|
22
22
|
execaCommand,
|
|
23
23
|
resolvePathInStorybookCache,
|
|
24
24
|
up
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FL7EBVLJ.js";
|
|
26
26
|
import {
|
|
27
27
|
DATA_FETCHING_PACKAGES,
|
|
28
28
|
I18N_PACKAGES,
|
|
@@ -33,23 +33,23 @@ import {
|
|
|
33
33
|
UI_LIBRARY_PACKAGES,
|
|
34
34
|
matchesPackagePattern,
|
|
35
35
|
set
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-QGWCIQDL.js";
|
|
37
37
|
import {
|
|
38
38
|
getProjectRoot
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-VSZP3IVO.js";
|
|
40
40
|
import {
|
|
41
41
|
globalSettings
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-73L4GC4E.js";
|
|
43
43
|
import {
|
|
44
44
|
resolvePackageDir
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3MJQGFKY.js";
|
|
46
46
|
import {
|
|
47
47
|
slash
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-JJ2VMJ7Z.js";
|
|
49
49
|
import {
|
|
50
50
|
__commonJS,
|
|
51
51
|
__toESM
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-R7BVFC2D.js";
|
|
53
53
|
|
|
54
54
|
// ../../node_modules/fetch-retry/index.js
|
|
55
55
|
var require_fetch_retry = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.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.4.2",
|
|
16
|
+
"@storybook/addon-docs": "10.4.2",
|
|
17
|
+
"@storybook/addon-links": "10.4.2",
|
|
18
|
+
"@storybook/addon-onboarding": "10.4.2",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.4.2",
|
|
20
|
+
"@storybook/addon-themes": "10.4.2",
|
|
21
|
+
"@storybook/addon-vitest": "10.4.2",
|
|
22
|
+
"@storybook/builder-vite": "10.4.2",
|
|
23
|
+
"@storybook/builder-webpack5": "10.4.2",
|
|
24
|
+
storybook: "10.4.2",
|
|
25
|
+
"@storybook/angular": "10.4.2",
|
|
26
|
+
"@storybook/ember": "10.4.2",
|
|
27
|
+
"@storybook/html-vite": "10.4.2",
|
|
28
|
+
"@storybook/nextjs": "10.4.2",
|
|
29
|
+
"@storybook/nextjs-vite": "10.4.2",
|
|
30
|
+
"@storybook/preact-vite": "10.4.2",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.4.2",
|
|
32
|
+
"@storybook/react-vite": "10.4.2",
|
|
33
|
+
"@storybook/react-webpack5": "10.4.2",
|
|
34
|
+
"@storybook/server-webpack5": "10.4.2",
|
|
35
|
+
"@storybook/svelte-vite": "10.4.2",
|
|
36
|
+
"@storybook/sveltekit": "10.4.2",
|
|
37
|
+
"@storybook/tanstack-react": "10.4.2",
|
|
38
|
+
"@storybook/vue3-vite": "10.4.2",
|
|
39
|
+
"@storybook/web-components-vite": "10.4.2",
|
|
40
|
+
sb: "10.4.2",
|
|
41
|
+
"@storybook/cli": "10.4.2",
|
|
42
|
+
"@storybook/codemod": "10.4.2",
|
|
43
|
+
"@storybook/core-webpack": "10.4.2",
|
|
44
|
+
"create-storybook": "10.4.2",
|
|
45
|
+
"@storybook/csf-plugin": "10.4.2",
|
|
46
|
+
"eslint-plugin-storybook": "10.4.2",
|
|
47
|
+
"@storybook/react-dom-shim": "10.4.2",
|
|
48
|
+
"@storybook/preset-create-react-app": "10.4.2",
|
|
49
|
+
"@storybook/preset-react-webpack": "10.4.2",
|
|
50
|
+
"@storybook/preset-server-webpack": "10.4.2",
|
|
51
|
+
"@storybook/html": "10.4.2",
|
|
52
|
+
"@storybook/preact": "10.4.2",
|
|
53
|
+
"@storybook/react": "10.4.2",
|
|
54
|
+
"@storybook/server": "10.4.2",
|
|
55
|
+
"@storybook/svelte": "10.4.2",
|
|
56
|
+
"@storybook/vue3": "10.4.2",
|
|
57
|
+
"@storybook/web-components": "10.4.2"
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
// src/common/node-version.ts
|
|
61
|
+
import { satisfies } from "semver";
|
|
62
|
+
var MIN_SUPPORTED_NODE_VERSIONS = [
|
|
63
|
+
{ major: 20, minor: 19, patch: 0 },
|
|
64
|
+
{ major: 22, minor: 12, patch: 0 }
|
|
65
|
+
];
|
|
66
|
+
function formatMinVersion(v) {
|
|
67
|
+
return v.minor === 0 && v.patch === 0 ? `${v.major}+` : v.patch === 0 ? `${v.major}.${v.minor}+` : `${v.major}.${v.minor}.${v.patch}+`;
|
|
68
|
+
}
|
|
69
|
+
var MIN_SUPPORTED_NODE_DESCRIPTION = MIN_SUPPORTED_NODE_VERSIONS.map(formatMinVersion).join(" or ");
|
|
70
|
+
function isNodeVersionSupported(major, minor, patch) {
|
|
71
|
+
let sortedMinimums = [...MIN_SUPPORTED_NODE_VERSIONS].sort((a, b) => a.major - b.major), supportedRange = sortedMinimums.map((min, index) => {
|
|
72
|
+
let next = sortedMinimums[index + 1], lowerBound = `>=${min.major}.${min.minor}.${min.patch}`;
|
|
73
|
+
return next ? `${lowerBound} <${next.major}.0.0` : lowerBound;
|
|
74
|
+
}).join(" || ");
|
|
75
|
+
return satisfies(`${major}.${minor}.${patch}`, supportedRange);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export {
|
|
79
|
+
versions_default,
|
|
80
|
+
MIN_SUPPORTED_NODE_VERSIONS,
|
|
81
|
+
formatMinVersion,
|
|
82
|
+
MIN_SUPPORTED_NODE_DESCRIPTION,
|
|
83
|
+
isNodeVersionSupported
|
|
84
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4v6y6ql4n5 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4v6y6ql4n5 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4v6y6ql4n5.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4v6y6ql4n5.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4v6y6ql4n5.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|