@kungal/ui-vue 1.4.1 → 1.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Info.vue.d.ts","sourceRoot":"","sources":["../../src/components/Info.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Info.vue.d.ts","sourceRoot":"","sources":["../../src/components/Info.vue"],"names":[],"mappings":"AAmJA,OAAO,EAAyB,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAG3F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAgM3C,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;;;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagInput.vue.d.ts","sourceRoot":"","sources":["../../src/components/TagInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TagInput.vue.d.ts","sourceRoot":"","sources":["../../src/components/TagInput.vue"],"names":[],"mappings":"AA2ZA,OAAO,KAAK,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAIzE,KAAK,WAAW,GAAG,gBAAgB,CAAC;AA+SpC,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAgCF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA6KxD,QAAA,IAAI,OAAO;;;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,GAAG,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO3C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2978,12 +2978,12 @@ var Ze = D({
|
|
|
2978
2978
|
let t = e, n = Z(() => t.rounded), r = o(() => X[n.value]), i = o(() => {
|
|
2979
2979
|
switch (t.variant) {
|
|
2980
2980
|
case "solid":
|
|
2981
|
-
case "shadow": return " text-white";
|
|
2981
|
+
case "shadow": return "border-[1.5px] border-transparent text-white";
|
|
2982
2982
|
case "bordered": return "border-[1.5px]";
|
|
2983
|
-
case "light": return "bg-opacity-20 border-transparent";
|
|
2984
|
-
case "flat": return "bg-opacity-20 border-transparent shadow-none";
|
|
2985
|
-
case "ghost": return "bg-transparent border-transparent shadow-none hover:bg-opacity-10";
|
|
2986
|
-
default: return "";
|
|
2983
|
+
case "light": return "bg-opacity-20 border-[1.5px] border-transparent";
|
|
2984
|
+
case "flat": return "bg-opacity-20 border-[1.5px] border-transparent shadow-none";
|
|
2985
|
+
case "ghost": return "bg-transparent border-[1.5px] border-transparent shadow-none hover:bg-opacity-10";
|
|
2986
|
+
default: return "border-[1.5px] border-transparent";
|
|
2987
2987
|
}
|
|
2988
2988
|
}), a = {
|
|
2989
2989
|
solid: {
|
|
@@ -5790,7 +5790,7 @@ var Ze = D({
|
|
|
5790
5790
|
md: "text-sm",
|
|
5791
5791
|
lg: "text-base",
|
|
5792
5792
|
xl: "text-lg"
|
|
5793
|
-
}, te = o(() => q("flex flex-wrap items-center transition-shadow", a.value, G[r.size], ee[r.size], J[r.size], r.variant === "bordered" &&
|
|
5793
|
+
}, te = o(() => q("flex flex-wrap items-center transition-shadow", a.value, G[r.size], ee[r.size], J[r.size], "border border-transparent", r.variant === "bordered" && !r.error && "border-kun", r.variant === "flat" && "bg-content2", r.error ? le.danger : le[r.color], r.error && "border-danger", r.disabled && "opacity-50 cursor-not-allowed bg-default-100", r.readonly && "cursor-default", r.className)), ne = o(() => q("inline-flex items-center gap-1 rounded-full font-medium whitespace-nowrap select-none", pe("flat", r.color), se[r.size], Y[r.color])), re = o(() => d.value.length >= r.maxTags);
|
|
5794
5794
|
return (n, r) => (w(), l("div", Cs, [
|
|
5795
5795
|
e.label ? (w(), l("label", {
|
|
5796
5796
|
key: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungal/ui-vue",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "KunUI Vue 3 component layer — Nuxt-decoupled. Works in any Vue app; pairs with @kungal/ui-nuxt for Nuxt sugar.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"date-fns": "^4.1.0",
|
|
50
50
|
"focus-trap": "^8.2.1",
|
|
51
51
|
"vue-advanced-cropper": "^2.8.9",
|
|
52
|
-
"@kungal/ui-core": "1.4.
|
|
52
|
+
"@kungal/ui-core": "1.4.2"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"vue": "^3.5.0"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"vite": "^8.0.16",
|
|
62
62
|
"vue": "^3.5.35",
|
|
63
63
|
"vue-tsc": "^3.3.3",
|
|
64
|
-
"@kungal/ui-tokens": "1.4.
|
|
64
|
+
"@kungal/ui-tokens": "1.4.2"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "vite build && cp src/prose.css dist/prose.css && vue-tsc -p tsconfig.build.json",
|