@yamada-ui/cli 0.1.3 → 0.3.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.
|
@@ -36,7 +36,8 @@ var config = [
|
|
|
36
36
|
{ key: "shadows" },
|
|
37
37
|
{ key: "sizes", maxScanDepth: 2 },
|
|
38
38
|
{ key: "spaces", flatMap: (value) => [value, `-${value}`] },
|
|
39
|
-
{ key: "zIndices" }
|
|
39
|
+
{ key: "zIndices" },
|
|
40
|
+
{ key: "gradients" }
|
|
40
41
|
];
|
|
41
42
|
// Annotate the CommonJS export names for ESM import in node:
|
|
42
43
|
0 && (module.exports = {
|
|
@@ -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@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@
|
|
23
|
+
// ../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js
|
|
24
24
|
var init_cjs_shims = __esm({
|
|
25
|
-
"../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@
|
|
25
|
+
"../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js"() {
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
|
|
@@ -76,11 +76,12 @@ var config = [
|
|
|
76
76
|
{ key: "shadows" },
|
|
77
77
|
{ key: "sizes", maxScanDepth: 2 },
|
|
78
78
|
{ key: "spaces", flatMap: (value) => [value, `-${value}`] },
|
|
79
|
-
{ key: "zIndices" }
|
|
79
|
+
{ key: "zIndices" },
|
|
80
|
+
{ key: "gradients" }
|
|
80
81
|
];
|
|
81
82
|
|
|
82
83
|
// src/command/tokens/create-theme-typings.ts
|
|
83
|
-
var defaultColors = ["primary", "secondary", "warning", "danger", "link"];
|
|
84
|
+
var defaultColors = ["brand", "primary", "secondary", "warning", "danger", "link"];
|
|
84
85
|
var hues = ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900"];
|
|
85
86
|
var printComponent = (components) => `components: { ${Object.entries(components).map(
|
|
86
87
|
([key, unions]) => `${key.match(/^[a-zA-Z0-9\-_]+$/) ? key : `"${key}"`}: { ${print(unions)}}`
|
|
@@ -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@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@
|
|
38
|
+
"../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
|
@@ -6671,11 +6671,12 @@ var config = [
|
|
|
6671
6671
|
{ key: "shadows" },
|
|
6672
6672
|
{ key: "sizes", maxScanDepth: 2 },
|
|
6673
6673
|
{ key: "spaces", flatMap: (value) => [value, `-${value}`] },
|
|
6674
|
-
{ key: "zIndices" }
|
|
6674
|
+
{ key: "zIndices" },
|
|
6675
|
+
{ key: "gradients" }
|
|
6675
6676
|
];
|
|
6676
6677
|
|
|
6677
6678
|
// src/command/tokens/create-theme-typings.ts
|
|
6678
|
-
var defaultColors = ["primary", "secondary", "warning", "danger", "link"];
|
|
6679
|
+
var defaultColors = ["brand", "primary", "secondary", "warning", "danger", "link"];
|
|
6679
6680
|
var hues = ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900"];
|
|
6680
6681
|
var printComponent = (components) => `components: { ${Object.entries(components).map(
|
|
6681
6682
|
([key, unions]) => `${key.match(/^[a-zA-Z0-9\-_]+$/) ? key : `"${key}"`}: { ${print(unions)}}`
|
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@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@
|
|
39
|
+
"../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
41
41
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
42
42
|
}
|
|
@@ -17103,7 +17103,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
17103
17103
|
// package.json
|
|
17104
17104
|
var package_default = {
|
|
17105
17105
|
name: "@yamada-ui/cli",
|
|
17106
|
-
version: "0.
|
|
17106
|
+
version: "0.3.0",
|
|
17107
17107
|
description: "Generate theme tokens for autocomplete",
|
|
17108
17108
|
keywords: [
|
|
17109
17109
|
"theme",
|
|
@@ -23785,11 +23785,12 @@ var config = [
|
|
|
23785
23785
|
{ key: "shadows" },
|
|
23786
23786
|
{ key: "sizes", maxScanDepth: 2 },
|
|
23787
23787
|
{ key: "spaces", flatMap: (value) => [value, `-${value}`] },
|
|
23788
|
-
{ key: "zIndices" }
|
|
23788
|
+
{ key: "zIndices" },
|
|
23789
|
+
{ key: "gradients" }
|
|
23789
23790
|
];
|
|
23790
23791
|
|
|
23791
23792
|
// src/command/tokens/create-theme-typings.ts
|
|
23792
|
-
var defaultColors = ["primary", "secondary", "warning", "danger", "link"];
|
|
23793
|
+
var defaultColors = ["brand", "primary", "secondary", "warning", "danger", "link"];
|
|
23793
23794
|
var hues = ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900"];
|
|
23794
23795
|
var printComponent = (components) => `components: { ${Object.entries(components).map(
|
|
23795
23796
|
([key, unions]) => `${key.match(/^[a-zA-Z0-9\-_]+$/) ? key : `"${key}"`}: { ${print(unions)}}`
|
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@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@
|
|
39
|
+
"../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
41
41
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
42
42
|
}
|
|
@@ -10699,7 +10699,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
10699
10699
|
// package.json
|
|
10700
10700
|
var package_default = {
|
|
10701
10701
|
name: "@yamada-ui/cli",
|
|
10702
|
-
version: "0.
|
|
10702
|
+
version: "0.3.0",
|
|
10703
10703
|
description: "Generate theme tokens for autocomplete",
|
|
10704
10704
|
keywords: [
|
|
10705
10705
|
"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@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@
|
|
39
|
+
"../../node_modules/.pnpm/tsup@6.7.0_@swc+core@1.3.62_postcss@8.4.23_ts-node@10.9.1_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
41
41
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
42
42
|
}
|
|
@@ -10726,7 +10726,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
10726
10726
|
// package.json
|
|
10727
10727
|
var package_default = {
|
|
10728
10728
|
name: "@yamada-ui/cli",
|
|
10729
|
-
version: "0.
|
|
10729
|
+
version: "0.3.0",
|
|
10730
10730
|
description: "Generate theme tokens for autocomplete",
|
|
10731
10731
|
keywords: [
|
|
10732
10732
|
"theme",
|