storybook 10.2.0-alpha.5 → 10.2.0-alpha.6
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-HX32VQZR.js → chunk-KTOLYKZY.js} +1 -1
- package/dist/_browser-chunks/{chunk-6QKNWBQB.js → chunk-LOTN4ZCW.js} +14 -10
- package/dist/_node-chunks/{builder-manager-OWA7PM5D.js → builder-manager-SRWOH6O7.js} +12 -12
- package/dist/_node-chunks/{camelcase-2LEK4OOC.js → camelcase-IPCCDY4U.js} +7 -7
- package/dist/_node-chunks/{chunk-HT3TF35B.js → chunk-2BHMURQI.js} +6 -6
- package/dist/_node-chunks/chunk-2WJTWJRY.js +20 -0
- package/dist/_node-chunks/chunk-3SDF3TBW.js +18 -0
- package/dist/_node-chunks/{chunk-VG22ND3P.js → chunk-5U7Q4G4A.js} +13 -13
- package/dist/_node-chunks/{chunk-JRJT7Q2N.js → chunk-5UF6URLY.js} +7 -7
- package/dist/_node-chunks/{chunk-TUFR2XYI.js → chunk-62HH4XOF.js} +6 -6
- package/dist/_node-chunks/chunk-6COWUVY6.js +23 -0
- package/dist/_node-chunks/{chunk-O72O5WMW.js → chunk-7YD5E5Y5.js} +6 -6
- package/dist/_node-chunks/{chunk-53QZPC5B.js → chunk-AQ5XNGJR.js} +7 -7
- package/dist/_node-chunks/chunk-GE3TP4E7.js +61 -0
- package/dist/_node-chunks/{chunk-BPLKNOG7.js → chunk-GJU4KX6X.js} +7 -7
- package/dist/_node-chunks/{chunk-UIW2C2AI.js → chunk-HQCIQ33W.js} +6 -6
- package/dist/_node-chunks/{chunk-TM67IYGR.js → chunk-IBLK5VBI.js} +7 -7
- package/dist/_node-chunks/{chunk-SKKDMIEL.js → chunk-IFCVXOGP.js} +9 -9
- package/dist/_node-chunks/{chunk-ZRAJ6YTG.js → chunk-J4ASSZ5N.js} +20 -20
- package/dist/_node-chunks/{chunk-FUGUVTSE.js → chunk-JCHPJOPI.js} +8 -8
- package/dist/_node-chunks/{chunk-Q4YMOGYF.js → chunk-OKIXNWVU.js} +8 -8
- package/dist/_node-chunks/{chunk-RJ6MVIQ7.js → chunk-PI4OGMRN.js} +6 -6
- package/dist/_node-chunks/{chunk-TX3LEYMY.js → chunk-QNHQNNV2.js} +9 -9
- package/dist/_node-chunks/{chunk-MJEVYN6O.js → chunk-RMPSZ2MA.js} +7 -7
- package/dist/_node-chunks/{chunk-Q2N5EUMK.js → chunk-T53OKK5L.js} +7 -7
- package/dist/_node-chunks/{chunk-J7VMFLRZ.js → chunk-TNAUD72T.js} +6 -6
- package/dist/_node-chunks/{chunk-QUCPWX6N.js → chunk-VUL47RCU.js} +13 -13
- package/dist/_node-chunks/{chunk-3NPQ2Y77.js → chunk-XKPOBYPY.js} +10 -10
- package/dist/_node-chunks/{chunk-APNNQRRU.js → chunk-YH2VABDS.js} +6 -6
- package/dist/_node-chunks/{chunk-WMGB2RD3.js → chunk-YIC767NR.js} +7 -7
- package/dist/_node-chunks/{chunk-WAM2AUH6.js → chunk-YSCJXVR2.js} +7 -7
- package/dist/_node-chunks/{chunk-5MG7AO5M.js → chunk-ZFBKUCCD.js} +12 -12
- package/dist/_node-chunks/{dist-KMT22HT2.js → dist-JJEWCMVH.js} +9 -9
- package/dist/_node-chunks/{globby-MSDE3LN6.js → globby-VLMVNFI7.js} +9 -9
- package/dist/_node-chunks/{lib-2BTWTGXL.js → lib-FXIHPQYY.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-RO5JQN35.js → mdx-N42X6CFJ-MYO6PQF5.js} +8 -8
- package/dist/_node-chunks/{p-limit-6ZDUMRV5.js → p-limit-OTUUNSPQ.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.js +19 -19
- package/dist/components/index.js +1 -1
- package/dist/core-server/index.js +33 -33
- package/dist/core-server/presets/common-manager.js +48 -27
- 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 +2 -2
- package/dist/csf-tools/index.js +9 -9
- package/dist/docs-tools/index.js +1 -1
- package/dist/manager/globals-runtime.js +2 -2
- package/dist/manager/runtime.js +3 -3
- package/dist/manager-api/index.js +1 -1
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/preview-api/index.js +2 -2
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-4P6JV5PD.js +0 -61
- package/dist/_node-chunks/chunk-IMOJACVP.js +0 -23
- package/dist/_node-chunks/chunk-IV4K2PSX.js +0 -18
- package/dist/_node-chunks/chunk-LOJ6VLWV.js +0 -20
|
@@ -2115,7 +2115,7 @@ var SIGNATURE_REGEXP = /^\(.*\) => /, convert2 = (type) => {
|
|
|
2115
2115
|
|
|
2116
2116
|
// src/docs-tools/argTypes/convert/typescript/convert.ts
|
|
2117
2117
|
import { UnknownArgTypesError as UnknownArgTypesError2 } from "storybook/internal/preview-errors";
|
|
2118
|
-
var convertSig2 = (type) => {
|
|
2118
|
+
var isLiteral2 = (type) => type.name === "literal", isUndefined = (type) => type.name === "undefined", convertSig2 = (type) => {
|
|
2119
2119
|
switch (type.type) {
|
|
2120
2120
|
case "function":
|
|
2121
2121
|
return { name: "function" };
|
|
@@ -2142,16 +2142,20 @@ var convertSig2 = (type) => {
|
|
|
2142
2142
|
return { ...base, name: "array", value: type.elements.map(convert3) };
|
|
2143
2143
|
case "signature":
|
|
2144
2144
|
return { ...base, ...convertSig2(type) };
|
|
2145
|
-
case "union":
|
|
2146
|
-
let
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2145
|
+
case "union": {
|
|
2146
|
+
let nonUndefinedElements = type.elements.filter((element) => !isUndefined(element));
|
|
2147
|
+
if (nonUndefinedElements.length > 0 && nonUndefinedElements.every(isLiteral2)) {
|
|
2148
|
+
let literalElements = nonUndefinedElements.filter(isLiteral2);
|
|
2149
|
+
return {
|
|
2150
|
+
...base,
|
|
2151
|
+
name: "enum",
|
|
2152
|
+
value: literalElements.map((element) => parseLiteral(element.value))
|
|
2153
|
+
};
|
|
2154
|
+
}
|
|
2155
|
+
return { ...base, name, value: type.elements.map(convert3) };
|
|
2156
|
+
}
|
|
2153
2157
|
case "intersection":
|
|
2154
|
-
return { ...base, name, value: type.elements
|
|
2158
|
+
return { ...base, name, value: type.elements.map(convert3) };
|
|
2155
2159
|
default:
|
|
2156
2160
|
return { ...base, name: "other", value: name };
|
|
2157
2161
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-HQCIQ33W.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GJU4KX6X.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RMPSZ2MA.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PI4OGMRN.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-2WJTWJRY.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-62HH4XOF.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_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-62HH4XOF.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}])/gu, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, SEPARATORS = /[_.\- ]+/, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp("\\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_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// ../../node_modules/slash/index.js
|
|
14
|
+
function slash(path) {
|
|
15
|
+
return path.startsWith("\\\\?\\") ? path : path.replace(/\\/g, "/");
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
slash
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// package.json
|
|
14
|
+
var version = "10.2.0-alpha.6";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-3SDF3TBW.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
execa,
|
|
@@ -19,25 +19,25 @@ import {
|
|
|
19
19
|
getProjectRoot,
|
|
20
20
|
resolvePathInStorybookCache,
|
|
21
21
|
up
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J4ASSZ5N.js";
|
|
23
23
|
import {
|
|
24
24
|
getSessionId,
|
|
25
25
|
nanoid,
|
|
26
26
|
set
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7YD5E5Y5.js";
|
|
28
28
|
import {
|
|
29
29
|
globalSettings
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-IFCVXOGP.js";
|
|
31
31
|
import {
|
|
32
32
|
resolvePackageDir
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RMPSZ2MA.js";
|
|
34
34
|
import {
|
|
35
35
|
slash
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2WJTWJRY.js";
|
|
37
37
|
import {
|
|
38
38
|
__commonJS,
|
|
39
39
|
__toESM
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-62HH4XOF.js";
|
|
41
41
|
|
|
42
42
|
// ../../node_modules/fetch-retry/index.js
|
|
43
43
|
var require_fetch_retry = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_9jhkjsyjv7c.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__toESM
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-62HH4XOF.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/balanced-match/index.js
|
|
18
18
|
var require_balanced_match = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
any
|
|
14
|
+
} from "./chunk-YH2VABDS.js";
|
|
15
|
+
|
|
16
|
+
// src/cli/detect.ts
|
|
17
|
+
async function detectPnp() {
|
|
18
|
+
return !!any([".pnp.js", ".pnp.cjs"]);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
detectPnp
|
|
23
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-62HH4XOF.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/ts-dedent/dist/index.js
|
|
17
17
|
var require_dist = __commonJS({
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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.2.0-alpha.6",
|
|
16
|
+
"@storybook/addon-docs": "10.2.0-alpha.6",
|
|
17
|
+
"@storybook/addon-links": "10.2.0-alpha.6",
|
|
18
|
+
"@storybook/addon-onboarding": "10.2.0-alpha.6",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.2.0-alpha.6",
|
|
20
|
+
"@storybook/addon-themes": "10.2.0-alpha.6",
|
|
21
|
+
"@storybook/addon-vitest": "10.2.0-alpha.6",
|
|
22
|
+
"@storybook/builder-vite": "10.2.0-alpha.6",
|
|
23
|
+
"@storybook/builder-webpack5": "10.2.0-alpha.6",
|
|
24
|
+
storybook: "10.2.0-alpha.6",
|
|
25
|
+
"@storybook/angular": "10.2.0-alpha.6",
|
|
26
|
+
"@storybook/ember": "10.2.0-alpha.6",
|
|
27
|
+
"@storybook/html-vite": "10.2.0-alpha.6",
|
|
28
|
+
"@storybook/nextjs": "10.2.0-alpha.6",
|
|
29
|
+
"@storybook/nextjs-vite": "10.2.0-alpha.6",
|
|
30
|
+
"@storybook/preact-vite": "10.2.0-alpha.6",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.2.0-alpha.6",
|
|
32
|
+
"@storybook/react-vite": "10.2.0-alpha.6",
|
|
33
|
+
"@storybook/react-webpack5": "10.2.0-alpha.6",
|
|
34
|
+
"@storybook/server-webpack5": "10.2.0-alpha.6",
|
|
35
|
+
"@storybook/svelte-vite": "10.2.0-alpha.6",
|
|
36
|
+
"@storybook/sveltekit": "10.2.0-alpha.6",
|
|
37
|
+
"@storybook/vue3-vite": "10.2.0-alpha.6",
|
|
38
|
+
"@storybook/web-components-vite": "10.2.0-alpha.6",
|
|
39
|
+
sb: "10.2.0-alpha.6",
|
|
40
|
+
"@storybook/cli": "10.2.0-alpha.6",
|
|
41
|
+
"@storybook/codemod": "10.2.0-alpha.6",
|
|
42
|
+
"@storybook/core-webpack": "10.2.0-alpha.6",
|
|
43
|
+
"create-storybook": "10.2.0-alpha.6",
|
|
44
|
+
"@storybook/csf-plugin": "10.2.0-alpha.6",
|
|
45
|
+
"eslint-plugin-storybook": "10.2.0-alpha.6",
|
|
46
|
+
"@storybook/react-dom-shim": "10.2.0-alpha.6",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.2.0-alpha.6",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.2.0-alpha.6",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.2.0-alpha.6",
|
|
50
|
+
"@storybook/html": "10.2.0-alpha.6",
|
|
51
|
+
"@storybook/preact": "10.2.0-alpha.6",
|
|
52
|
+
"@storybook/react": "10.2.0-alpha.6",
|
|
53
|
+
"@storybook/server": "10.2.0-alpha.6",
|
|
54
|
+
"@storybook/svelte": "10.2.0-alpha.6",
|
|
55
|
+
"@storybook/vue3": "10.2.0-alpha.6",
|
|
56
|
+
"@storybook/web-components": "10.2.0-alpha.6"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_9jhkjsyjv7c.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-62HH4XOF.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/totalist/sync/index.js
|
|
18
18
|
var require_sync = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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_9jhkjsyjv7c.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-62HH4XOF.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/picomatch/lib/constants.js
|
|
18
18
|
var require_constants = __commonJS({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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-2BHMURQI.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AQ5XNGJR.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-62HH4XOF.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/globalSettings.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.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
|
versions_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GE3TP4E7.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picomatch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IBLK5VBI.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JCHPJOPI.js";
|
|
21
21
|
import {
|
|
22
22
|
any,
|
|
23
23
|
from,
|
|
24
24
|
invariant,
|
|
25
25
|
up,
|
|
26
26
|
up2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YH2VABDS.js";
|
|
28
28
|
import {
|
|
29
29
|
importModule,
|
|
30
30
|
resolveModulePath,
|
|
31
31
|
resolvePackageDir,
|
|
32
32
|
safeResolveModule
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RMPSZ2MA.js";
|
|
34
34
|
import {
|
|
35
35
|
join,
|
|
36
36
|
parse,
|
|
37
37
|
resolve
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PI4OGMRN.js";
|
|
39
39
|
import {
|
|
40
40
|
glob,
|
|
41
41
|
globSync
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5UF6URLY.js";
|
|
43
43
|
import {
|
|
44
44
|
slash
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-2WJTWJRY.js";
|
|
46
46
|
import {
|
|
47
47
|
require_dist
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-AQ5XNGJR.js";
|
|
49
49
|
import {
|
|
50
50
|
require_picocolors
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-T53OKK5L.js";
|
|
52
52
|
import {
|
|
53
53
|
__commonJS,
|
|
54
54
|
__esm,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
__require,
|
|
57
57
|
__toCommonJS,
|
|
58
58
|
__toESM
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-62HH4XOF.js";
|
|
60
60
|
|
|
61
61
|
// ../../node_modules/resolve/lib/homedir.js
|
|
62
62
|
var require_homedir = __commonJS({
|
|
@@ -11103,7 +11103,7 @@ function normalizeStoryPath(filename) {
|
|
|
11103
11103
|
|
|
11104
11104
|
// src/common/utils/envs.ts
|
|
11105
11105
|
async function loadEnvs(options = {}) {
|
|
11106
|
-
let { getEnvironment } = await import("./lib-
|
|
11106
|
+
let { getEnvironment } = await import("./lib-FXIHPQYY.js"), defaultNodeEnv = options.production ? "production" : "development", env2 = {
|
|
11107
11107
|
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
11108
11108
|
NODE_ENV: process.env.NODE_ENV || defaultNodeEnv,
|
|
11109
11109
|
NODE_PATH: process.env.NODE_PATH || "",
|
|
@@ -14770,7 +14770,7 @@ async function scanAndTransformFiles({
|
|
|
14770
14770
|
initialValue: defaultGlob
|
|
14771
14771
|
});
|
|
14772
14772
|
logger13.log("Scanning for affected files...");
|
|
14773
|
-
let globby = (await import("./globby-
|
|
14773
|
+
let globby = (await import("./globby-VLMVNFI7.js")).globby, sourceFiles = await globby([glob2], {
|
|
14774
14774
|
...commonGlobOptions(""),
|
|
14775
14775
|
ignore: ["**/node_modules/**"],
|
|
14776
14776
|
dot: !0,
|
|
@@ -14791,7 +14791,7 @@ function transformImports(source, renamedImports) {
|
|
|
14791
14791
|
return hasChanges ? transformed : null;
|
|
14792
14792
|
}
|
|
14793
14793
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
14794
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
14794
|
+
let errors = [], { default: pLimit } = await import("./p-limit-OTUUNSPQ.js"), limit = pLimit(10);
|
|
14795
14795
|
return await Promise.all(
|
|
14796
14796
|
files.map(
|
|
14797
14797
|
(file) => limit(async () => {
|