storybook 10.2.0-beta.3 → 10.2.0-beta.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/assets/server/base-preview-head.html +54 -36
- package/dist/_browser-chunks/{chunk-QOXZ7W26.js → chunk-2N4WE3KZ.js} +4 -6
- package/dist/_node-chunks/{builder-manager-JZHWQECC.js → builder-manager-6HNC5XRN.js} +12 -12
- package/dist/_node-chunks/{camelcase-2NZ4BLHX.js → camelcase-IYCRRXA5.js} +7 -7
- package/dist/_node-chunks/{chunk-WH4P3VKT.js → chunk-2JDPJ6YT.js} +6 -6
- package/dist/_node-chunks/{chunk-Y3SK4LWX.js → chunk-3UIUEILA.js} +6 -6
- package/dist/_node-chunks/chunk-62RIBMM5.js +61 -0
- package/dist/_node-chunks/{chunk-GQBGRYLZ.js → chunk-6NGDJBHX.js} +6 -6
- package/dist/_node-chunks/{chunk-APWBWPND.js → chunk-BQLJQU5S.js} +7 -7
- package/dist/_node-chunks/{chunk-6OI3K47W.js → chunk-CMQAD4WN.js} +9 -9
- package/dist/_node-chunks/{chunk-RZNT4K2G.js → chunk-DMYLXMGZ.js} +6 -6
- package/dist/_node-chunks/{chunk-QAIAKYZA.js → chunk-FILQYYM4.js} +7 -7
- package/dist/_node-chunks/{chunk-ESJWIQ4Z.js → chunk-G555WVXU.js} +6 -6
- package/dist/_node-chunks/{chunk-KBE3TTUR.js → chunk-GQ3W7RNH.js} +7 -7
- package/dist/_node-chunks/{chunk-RNTIDFBO.js → chunk-JA7NYZ5J.js} +9 -9
- package/dist/_node-chunks/{chunk-P626DC5C.js → chunk-KXY4T45O.js} +20 -20
- package/dist/_node-chunks/chunk-MMY3MCUW.js +23 -0
- package/dist/_node-chunks/{chunk-AAPM4ZUE.js → chunk-MMY6BHPB.js} +7 -7
- package/dist/_node-chunks/{chunk-YDILOOT5.js → chunk-NW4ZFC4G.js} +12 -12
- package/dist/_node-chunks/{chunk-6RSHZM6F.js → chunk-OHVVMOY4.js} +10 -10
- package/dist/_node-chunks/{chunk-R6FEBIT5.js → chunk-OLBWWB7V.js} +7 -7
- package/dist/_node-chunks/{chunk-P6D6ID6E.js → chunk-OQRIJVFV.js} +6 -6
- package/dist/_node-chunks/{chunk-LCBCTN4M.js → chunk-RX5EJSWN.js} +7 -7
- package/dist/_node-chunks/chunk-SMNCEA3Q.js +18 -0
- package/dist/_node-chunks/{chunk-JIOULQ32.js → chunk-SVOF2HZJ.js} +6 -6
- package/dist/_node-chunks/{chunk-JG6ODK5N.js → chunk-T7IXSAG3.js} +20 -11
- package/dist/_node-chunks/{chunk-DWLMCD64.js → chunk-TL7YS5OJ.js} +7 -7
- package/dist/_node-chunks/{chunk-VSP4OUV7.js → chunk-UQ7G5JAB.js} +6 -6
- package/dist/_node-chunks/{chunk-KJE25OIE.js → chunk-WQ6RUO2U.js} +8 -8
- package/dist/_node-chunks/{chunk-EQ3YUBKH.js → chunk-XFRIIIR5.js} +16 -16
- package/dist/_node-chunks/{chunk-5GZNNLKU.js → chunk-Y6FR5UWD.js} +7 -7
- package/dist/_node-chunks/{chunk-4DTADLHM.js → chunk-ZHRPEVJJ.js} +43 -25
- package/dist/_node-chunks/{globby-MSU5U7ID.js → globby-FBLNM57G.js} +9 -9
- package/dist/_node-chunks/{lib-OAHUNMVL.js → lib-GDCHT75J.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-Q6YYOOB2.js → mdx-N42X6CFJ-MCJFRV3K.js} +8 -8
- package/dist/_node-chunks/{p-limit-RMVLANG5.js → p-limit-AURGZ6D4.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.d.ts +2 -0
- package/dist/components/index.js +49 -16
- package/dist/core-server/index.js +35 -35
- package/dist/core-server/presets/common-manager.js +15 -21
- 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.d.ts +333 -8
- package/dist/csf/index.js +1 -1
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +58 -25
- package/dist/manager/runtime.js +100 -102
- package/dist/manager-api/index.d.ts +14 -14
- 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/runtime.js +4 -6
- package/dist/preview-api/index.d.ts +4 -4
- package/dist/preview-api/index.js +1 -1
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.d.ts +5 -0
- package/dist/telemetry/index.js +23 -23
- package/dist/types/index.d.ts +2 -3
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-7GISRHHS.js +0 -23
- package/dist/_node-chunks/chunk-BEZTSJFQ.js +0 -61
- package/dist/_node-chunks/chunk-E63NMV7B.js +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_nd4p3i1nxyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.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-SMNCEA3Q.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
execa,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getProjectRoot,
|
|
20
20
|
resolvePathInStorybookCache,
|
|
21
21
|
up
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KXY4T45O.js";
|
|
23
23
|
import {
|
|
24
24
|
DATA_FETCHING_PACKAGES,
|
|
25
25
|
I18N_PACKAGES,
|
|
@@ -29,20 +29,20 @@ import {
|
|
|
29
29
|
TEST_PACKAGES,
|
|
30
30
|
UI_LIBRARY_PACKAGES,
|
|
31
31
|
matchesPackagePattern
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-SVOF2HZJ.js";
|
|
33
33
|
import {
|
|
34
34
|
globalSettings
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-JA7NYZ5J.js";
|
|
36
36
|
import {
|
|
37
37
|
resolvePackageDir
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-BQLJQU5S.js";
|
|
39
39
|
import {
|
|
40
40
|
slash
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6NGDJBHX.js";
|
|
42
42
|
import {
|
|
43
43
|
__commonJS,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-G555WVXU.js";
|
|
46
46
|
|
|
47
47
|
// ../../node_modules/fetch-retry/index.js
|
|
48
48
|
var require_fetch_retry = __commonJS({
|
|
@@ -143,6 +143,7 @@ var TELEMETRY_KEY_NOTIFY_DATE = "telemetry-notification-date", called = !1, noti
|
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
// src/telemetry/sanitize.ts
|
|
146
|
+
import os from "node:os";
|
|
146
147
|
import path from "node:path";
|
|
147
148
|
function regexpEscape(str) {
|
|
148
149
|
return str.replace(/[-[/{}()*+?.\\^$|]/g, "\\$&");
|
|
@@ -153,14 +154,21 @@ function removeAnsiEscapeCodes(input = "") {
|
|
|
153
154
|
function cleanPaths(str, separator = path.sep) {
|
|
154
155
|
if (!str)
|
|
155
156
|
return str;
|
|
156
|
-
let
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
|
|
157
|
+
let separators = Array.from(/* @__PURE__ */ new Set([separator, "/", "\\"]));
|
|
158
|
+
return [process.cwd(), os.homedir()].filter(Boolean).flatMap(
|
|
159
|
+
(basePath) => separators.map((sep2) => ({
|
|
160
|
+
separator: sep2,
|
|
161
|
+
normalizedPath: basePath.split(/[\\/]/).join(sep2)
|
|
162
|
+
}))
|
|
163
|
+
).forEach(({ separator: sep2, normalizedPath }) => {
|
|
164
|
+
let stack = normalizedPath.split(sep2);
|
|
165
|
+
for (; stack.length > 1; ) {
|
|
166
|
+
let currentPath = stack.join(sep2), currentRegex = new RegExp(regexpEscape(currentPath), "gi");
|
|
167
|
+
str = str.replace(currentRegex, "$SNIP");
|
|
168
|
+
let doubledSeparatorPath = stack.join(sep2 + sep2), doubledSeparatorRegex = new RegExp(regexpEscape(doubledSeparatorPath), "gi");
|
|
169
|
+
str = str.replace(doubledSeparatorRegex, "$SNIP"), stack.pop();
|
|
170
|
+
}
|
|
171
|
+
}), str;
|
|
164
172
|
}
|
|
165
173
|
function sanitizeError(error, pathSeparator = path.sep) {
|
|
166
174
|
try {
|
|
@@ -174,7 +182,7 @@ function sanitizeError(error, pathSeparator = path.sep) {
|
|
|
174
182
|
let errorString = cleanPaths(JSON.stringify(error), pathSeparator);
|
|
175
183
|
return JSON.parse(errorString);
|
|
176
184
|
} catch (err) {
|
|
177
|
-
return `Sanitization error: ${err
|
|
185
|
+
return `Sanitization error: ${err instanceof Error ? err.message : String(err)}`;
|
|
178
186
|
}
|
|
179
187
|
}
|
|
180
188
|
|
|
@@ -700,7 +708,17 @@ var metaFrameworks = {
|
|
|
700
708
|
"@tanstack/react-router": "tanstack-react",
|
|
701
709
|
"@react-router/dev": "react-router",
|
|
702
710
|
"@remix-run/dev": "remix"
|
|
703
|
-
}, sanitizeAddonName = (name) =>
|
|
711
|
+
}, sanitizeAddonName = (name) => {
|
|
712
|
+
let normalized = name.replace(/\\/g, "/"), candidate = normalized;
|
|
713
|
+
normalized.includes("/node_modules/") && (candidate = normalized.split("/node_modules/").pop() ?? normalized);
|
|
714
|
+
let cleaned = cleanPaths(candidate).replace(/^file:\/\//i, "").replace(/\/+$/, "").replace(/\/dist\/.*/, "").replace(/\.[mc]?[tj]?s[x]?$/, "").replace(/\/(register|manager|preset|index)$/, "").replace(/\$SNIP?/g, ""), prefix = "";
|
|
715
|
+
(cleaned.startsWith("file") || cleaned.startsWith(".") || cleaned.startsWith("/") || cleaned.includes(":")) && (prefix = "CUSTOM:");
|
|
716
|
+
let scopedMatches = cleaned.match(/@[^/]+\/[^/]+/g);
|
|
717
|
+
if (scopedMatches?.length)
|
|
718
|
+
return scopedMatches.at(-1);
|
|
719
|
+
let parts = cleaned.split("/").filter(Boolean), addonLike = [...parts].reverse().find((part) => part.includes("addon-") || part.includes("-addon"));
|
|
720
|
+
return addonLike ? `${prefix}${addonLike}` : parts.length >= 2 && parts[parts.length - 2].startsWith("@") ? `${prefix}${parts[parts.length - 2]}/${parts[parts.length - 1]}` : parts.length ? `${prefix}${parts[parts.length - 1]}` : `${prefix}${candidate}`;
|
|
721
|
+
}, computeStorybookMetadata = async ({
|
|
704
722
|
packageJsonPath,
|
|
705
723
|
packageJson,
|
|
706
724
|
mainConfig,
|
|
@@ -836,7 +854,7 @@ var getStorybookMetadata = async (_configDir) => {
|
|
|
836
854
|
// src/telemetry/telemetry.ts
|
|
837
855
|
var import_fetch_retry = __toESM(require_fetch_retry(), 1);
|
|
838
856
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
839
|
-
import * as
|
|
857
|
+
import * as os2 from "node:os";
|
|
840
858
|
import { join as join2 } from "node:path";
|
|
841
859
|
import { isCI as isCI2 } from "storybook/internal/common";
|
|
842
860
|
|
|
@@ -941,7 +959,7 @@ var retryingFetch = (0, import_fetch_retry.default)(fetch), URL = process.env.ST
|
|
|
941
959
|
globalContext[key] = value;
|
|
942
960
|
}, getOperatingSystem = () => {
|
|
943
961
|
try {
|
|
944
|
-
let platform2 =
|
|
962
|
+
let platform2 = os2.platform();
|
|
945
963
|
return platform2 === "win32" ? "Windows" : platform2 === "darwin" ? "macOS" : platform2 === "linux" ? "Linux" : `Other: ${platform2}`;
|
|
946
964
|
} catch {
|
|
947
965
|
return "Unknown";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_nd4p3i1nxyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
require_picomatch,
|
|
14
14
|
require_utils,
|
|
15
15
|
toPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FILQYYM4.js";
|
|
17
17
|
import {
|
|
18
18
|
slash
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6NGDJBHX.js";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|
|
22
22
|
__require,
|
|
23
23
|
__toESM
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-G555WVXU.js";
|
|
25
25
|
|
|
26
26
|
// ../../node_modules/fast-glob/out/utils/array.js
|
|
27
27
|
var require_array = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_nd4p3i1nxyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.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-G555WVXU.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_nd4p3i1nxyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.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-MMY6BHPB.js";
|
|
25
|
+
import "./chunk-G555WVXU.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_nd4p3i1nxyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.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-G555WVXU.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_nd4p3i1nxyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.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-CMQAD4WN.js";
|
|
26
|
+
import "../_node-chunks/chunk-RX5EJSWN.js";
|
|
27
|
+
import "../_node-chunks/chunk-OLBWWB7V.js";
|
|
28
|
+
import "../_node-chunks/chunk-G555WVXU.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_nd4p3i1nxyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.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-SMNCEA3Q.js";
|
|
15
15
|
import {
|
|
16
16
|
globalSettings
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-JA7NYZ5J.js";
|
|
18
|
+
import "../_node-chunks/chunk-DMYLXMGZ.js";
|
|
19
19
|
import {
|
|
20
20
|
require_dist
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-Y6FR5UWD.js";
|
|
22
22
|
import {
|
|
23
23
|
require_picocolors
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-OLBWWB7V.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__require,
|
|
28
28
|
__toESM
|
|
29
|
-
} from "../_node-chunks/chunk-
|
|
29
|
+
} from "../_node-chunks/chunk-G555WVXU.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_nd4p3i1nxyh from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.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-62RIBMM5.js";
|
|
16
16
|
import {
|
|
17
17
|
resolvePackageDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-BQLJQU5S.js";
|
|
19
19
|
import {
|
|
20
20
|
join
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-3UIUEILA.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-Y6FR5UWD.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-G555WVXU.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_nd4p3i1nxyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.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-2JDPJ6YT.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-Y6FR5UWD.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-G555WVXU.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_nd4p3i1nxyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.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-NW4ZFC4G.js";
|
|
37
37
|
import {
|
|
38
38
|
detectPnp
|
|
39
|
-
} from "../_node-chunks/chunk-
|
|
39
|
+
} from "../_node-chunks/chunk-MMY3MCUW.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-JA7NYZ5J.js";
|
|
45
|
+
import "../_node-chunks/chunk-OQRIJVFV.js";
|
|
46
|
+
import "../_node-chunks/chunk-DMYLXMGZ.js";
|
|
47
|
+
import "../_node-chunks/chunk-BQLJQU5S.js";
|
|
48
|
+
import "../_node-chunks/chunk-3UIUEILA.js";
|
|
49
|
+
import "../_node-chunks/chunk-Y6FR5UWD.js";
|
|
50
|
+
import "../_node-chunks/chunk-CMQAD4WN.js";
|
|
51
|
+
import "../_node-chunks/chunk-RX5EJSWN.js";
|
|
52
|
+
import "../_node-chunks/chunk-OLBWWB7V.js";
|
|
53
|
+
import "../_node-chunks/chunk-G555WVXU.js";
|
|
54
54
|
export {
|
|
55
55
|
ANGULAR_JSON_PATH,
|
|
56
56
|
AddonVitestService,
|
package/dist/common/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_nd4p3i1nxyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_nd4p3i1nxyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_nd4p3i1nxyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_nd4p3i1nxyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_nd4p3i1nxyh.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-KXY4T45O.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-62RIBMM5.js";
|
|
109
|
+
import "../_node-chunks/chunk-FILQYYM4.js";
|
|
110
|
+
import "../_node-chunks/chunk-WQ6RUO2U.js";
|
|
111
|
+
import "../_node-chunks/chunk-OQRIJVFV.js";
|
|
112
112
|
import {
|
|
113
113
|
groupBy,
|
|
114
114
|
invariant
|
|
115
|
-
} from "../_node-chunks/chunk-
|
|
115
|
+
} from "../_node-chunks/chunk-DMYLXMGZ.js";
|
|
116
116
|
import {
|
|
117
117
|
importMetaResolve,
|
|
118
118
|
importModule,
|
|
119
119
|
resolvePackageDir,
|
|
120
120
|
safeResolveModule
|
|
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-BQLJQU5S.js";
|
|
122
|
+
import "../_node-chunks/chunk-3UIUEILA.js";
|
|
123
|
+
import "../_node-chunks/chunk-6NGDJBHX.js";
|
|
124
|
+
import "../_node-chunks/chunk-GQ3W7RNH.js";
|
|
125
|
+
import "../_node-chunks/chunk-Y6FR5UWD.js";
|
|
126
|
+
import "../_node-chunks/chunk-OLBWWB7V.js";
|
|
127
|
+
import "../_node-chunks/chunk-G555WVXU.js";
|
|
128
128
|
export {
|
|
129
129
|
DEFAULT_FILES_PATTERN,
|
|
130
130
|
FileSystemCache,
|
|
@@ -817,6 +817,7 @@ declare const Form: StyledComponent<{
|
|
|
817
817
|
align?: Alignments;
|
|
818
818
|
valid?: ValidationStates;
|
|
819
819
|
height?: number;
|
|
820
|
+
suffix?: string;
|
|
820
821
|
}, "ref"> & React$1.RefAttributes<any> & {
|
|
821
822
|
theme?: Theme;
|
|
822
823
|
} & Omit<React$1.HTMLProps<HTMLInputElement>, "align" | "height" | "size" | "valid"> & {
|
|
@@ -824,6 +825,7 @@ declare const Form: StyledComponent<{
|
|
|
824
825
|
align?: Alignments;
|
|
825
826
|
valid?: ValidationStates;
|
|
826
827
|
height?: number;
|
|
828
|
+
suffix?: string;
|
|
827
829
|
}, {}, {}> & {
|
|
828
830
|
displayName: string;
|
|
829
831
|
};
|