@yamada-ui/cli 0.4.0 → 0.5.0
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/command/tokens/config.js +1 -0
- package/dist/command/tokens/create-theme-typings.js +4 -3
- package/dist/command/tokens/index.js +4 -3
- package/dist/index.js +5 -4
- package/dist/utils/assertion.js +1 -1
- package/dist/utils/cli.js +3 -3
- package/dist/utils/index.js +4 -4
- package/package.json +1 -1
|
@@ -20,9 +20,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
20
20
|
};
|
|
21
21
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
22
22
|
|
|
23
|
-
// ../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.
|
|
23
|
+
// ../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.92_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js
|
|
24
24
|
var init_cjs_shims = __esm({
|
|
25
|
-
"../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.
|
|
25
|
+
"../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.92_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js"() {
|
|
26
26
|
"use strict";
|
|
27
27
|
}
|
|
28
28
|
});
|
|
@@ -44,7 +44,7 @@ init_cjs_shims();
|
|
|
44
44
|
|
|
45
45
|
// src/utils/assertion.ts
|
|
46
46
|
init_cjs_shims();
|
|
47
|
-
var isObject = (obj) => obj !== null && (typeof obj === "object" || typeof obj === "function") && !
|
|
47
|
+
var isObject = (obj) => obj !== null && (typeof obj === "object" || typeof obj === "function") && !isArray(obj);
|
|
48
48
|
var isArray = (value) => Array.isArray(value);
|
|
49
49
|
|
|
50
50
|
// src/utils/prettier.ts
|
|
@@ -75,6 +75,7 @@ var config = [
|
|
|
75
75
|
{ key: "lineHeights" },
|
|
76
76
|
{ key: "radii" },
|
|
77
77
|
{ key: "shadows" },
|
|
78
|
+
{ key: "blurs" },
|
|
78
79
|
{ key: "sizes", maxScanDepth: 2 },
|
|
79
80
|
{ key: "spaces", flatMap: (value) => [value, `-${value}`] },
|
|
80
81
|
{ key: "zIndices" },
|
|
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.92_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.
|
|
38
|
+
"../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.92_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -6428,7 +6428,7 @@ init_cjs_shims();
|
|
|
6428
6428
|
|
|
6429
6429
|
// src/utils/assertion.ts
|
|
6430
6430
|
init_cjs_shims();
|
|
6431
|
-
var isObject = (obj) => obj !== null && (typeof obj === "object" || typeof obj === "function") && !
|
|
6431
|
+
var isObject = (obj) => obj !== null && (typeof obj === "object" || typeof obj === "function") && !isArray(obj);
|
|
6432
6432
|
var isArray = (value) => Array.isArray(value);
|
|
6433
6433
|
|
|
6434
6434
|
// src/utils/prettier.ts
|
|
@@ -6459,6 +6459,7 @@ var config = [
|
|
|
6459
6459
|
{ key: "lineHeights" },
|
|
6460
6460
|
{ key: "radii" },
|
|
6461
6461
|
{ key: "shadows" },
|
|
6462
|
+
{ key: "blurs" },
|
|
6462
6463
|
{ key: "sizes", maxScanDepth: 2 },
|
|
6463
6464
|
{ key: "spaces", flatMap: (value) => [value, `-${value}`] },
|
|
6464
6465
|
{ key: "zIndices" },
|
package/dist/index.js
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.92_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.92_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -18723,7 +18723,7 @@ init_cjs_shims();
|
|
|
18723
18723
|
|
|
18724
18724
|
// src/utils/assertion.ts
|
|
18725
18725
|
init_cjs_shims();
|
|
18726
|
-
var isObject = (obj) => obj !== null && (typeof obj === "object" || typeof obj === "function") && !
|
|
18726
|
+
var isObject = (obj) => obj !== null && (typeof obj === "object" || typeof obj === "function") && !isArray(obj);
|
|
18727
18727
|
var isArray = (value) => Array.isArray(value);
|
|
18728
18728
|
|
|
18729
18729
|
// src/utils/cli.ts
|
|
@@ -18735,7 +18735,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
18735
18735
|
// package.json
|
|
18736
18736
|
var package_default = {
|
|
18737
18737
|
name: "@yamada-ui/cli",
|
|
18738
|
-
version: "0.
|
|
18738
|
+
version: "0.5.0",
|
|
18739
18739
|
description: "Generate theme tokens for autocomplete",
|
|
18740
18740
|
keywords: [
|
|
18741
18741
|
"theme",
|
|
@@ -25910,6 +25910,7 @@ var config = [
|
|
|
25910
25910
|
{ key: "lineHeights" },
|
|
25911
25911
|
{ key: "radii" },
|
|
25912
25912
|
{ key: "shadows" },
|
|
25913
|
+
{ key: "blurs" },
|
|
25913
25914
|
{ key: "sizes", maxScanDepth: 2 },
|
|
25914
25915
|
{ key: "spaces", flatMap: (value) => [value, `-${value}`] },
|
|
25915
25916
|
{ key: "zIndices" },
|
package/dist/utils/assertion.js
CHANGED
|
@@ -37,7 +37,7 @@ var isNumeric = (value) => value != null && parseFloat(value.toString()) - parse
|
|
|
37
37
|
var isString = (value) => Object.prototype.toString.call(value) === "[object String]";
|
|
38
38
|
var isUndefined = (value) => typeof value === "undefined" && value === void 0;
|
|
39
39
|
var isNull = (value) => value === null;
|
|
40
|
-
var isObject = (obj) => obj !== null && (typeof obj === "object" || typeof obj === "function") && !
|
|
40
|
+
var isObject = (obj) => obj !== null && (typeof obj === "object" || typeof obj === "function") && !isArray(obj);
|
|
41
41
|
var isArray = (value) => Array.isArray(value);
|
|
42
42
|
var isFunction = (value) => typeof value === "function";
|
|
43
43
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/utils/cli.js
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.92_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.92_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -12631,7 +12631,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
12631
12631
|
// package.json
|
|
12632
12632
|
var package_default = {
|
|
12633
12633
|
name: "@yamada-ui/cli",
|
|
12634
|
-
version: "0.
|
|
12634
|
+
version: "0.5.0",
|
|
12635
12635
|
description: "Generate theme tokens for autocomplete",
|
|
12636
12636
|
keywords: [
|
|
12637
12637
|
"theme",
|
package/dist/utils/index.js
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.92_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@7.2.0_@swc+core@1.3.92_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -12643,7 +12643,7 @@ var isNumeric = (value) => value != null && parseFloat(value.toString()) - parse
|
|
|
12643
12643
|
var isString = (value) => Object.prototype.toString.call(value) === "[object String]";
|
|
12644
12644
|
var isUndefined = (value) => typeof value === "undefined" && value === void 0;
|
|
12645
12645
|
var isNull = (value) => value === null;
|
|
12646
|
-
var isObject = (obj) => obj !== null && (typeof obj === "object" || typeof obj === "function") && !
|
|
12646
|
+
var isObject = (obj) => obj !== null && (typeof obj === "object" || typeof obj === "function") && !isArray(obj);
|
|
12647
12647
|
var isArray = (value) => Array.isArray(value);
|
|
12648
12648
|
var isFunction = (value) => typeof value === "function";
|
|
12649
12649
|
|
|
@@ -12656,7 +12656,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
12656
12656
|
// package.json
|
|
12657
12657
|
var package_default = {
|
|
12658
12658
|
name: "@yamada-ui/cli",
|
|
12659
|
-
version: "0.
|
|
12659
|
+
version: "0.5.0",
|
|
12660
12660
|
description: "Generate theme tokens for autocomplete",
|
|
12661
12661
|
keywords: [
|
|
12662
12662
|
"theme",
|