@kungal/ui-vue 1.14.2 → 2.0.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/CHANGELOG.md +23 -0
- package/dist/components/Info.vue.d.ts.map +1 -1
- package/dist/index.js +0 -10
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @kungal/ui-vue
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- c0e69ae: Remove the `ghost` variant.
|
|
8
|
+
|
|
9
|
+
`ghost` was visually indistinguishable from `bordered`: at rest both are just
|
|
10
|
+
`border + bg-transparent + colored text`. `ghost` only added a faint `hover` fill,
|
|
11
|
+
so the two looked identical until hovered. It has been dropped from `KunUIVariant`,
|
|
12
|
+
which affects every variant consumer — `KunButton`, `KunChip`, `KunDropdown` and
|
|
13
|
+
`KunInfo`.
|
|
14
|
+
|
|
15
|
+
**Migration:** replace `variant="ghost"` with `variant="bordered"` (the outline
|
|
16
|
+
look it overlapped). For a softer fill instead, `variant="flat"` or `variant="light"`.
|
|
17
|
+
|
|
18
|
+
(This mirrors the earlier removal of the `faded` variant for the same reason; the
|
|
19
|
+
remaining set — solid / bordered / light / flat / shadow — has no visual overlap.)
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [c0e69ae]
|
|
24
|
+
- @kungal/ui-core@2.0.0
|
|
25
|
+
|
|
3
26
|
## 1.14.2
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -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":"AAsJA,OAAO,EAIL,KAAK,YAAY,EACjB,KAAK,UAAU,EAChB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA6L3C,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"}
|
package/dist/index.js
CHANGED
|
@@ -3245,7 +3245,6 @@ var et = /* @__PURE__ */ "KunAccordion.KunAccordionItem.KunAlertProvider.KunAuto
|
|
|
3245
3245
|
case "bordered": return "border-[1.5px]";
|
|
3246
3246
|
case "light": return "bg-opacity-20 border-[1.5px] border-transparent";
|
|
3247
3247
|
case "flat": return "bg-opacity-20 border-[1.5px] border-transparent shadow-none";
|
|
3248
|
-
case "ghost": return "bg-transparent border-[1.5px] border-transparent shadow-none hover:bg-opacity-10";
|
|
3249
3248
|
default: return "border-[1.5px] border-transparent";
|
|
3250
3249
|
}
|
|
3251
3250
|
}), a = {
|
|
@@ -3275,15 +3274,6 @@ var et = /* @__PURE__ */ "KunAccordion.KunAccordionItem.KunAlertProvider.KunAuto
|
|
|
3275
3274
|
warning: "bg-warning/15 text-warning-800 dark:text-warning",
|
|
3276
3275
|
danger: "bg-danger/15 text-danger-800 dark:text-danger-500",
|
|
3277
3276
|
info: "bg-info/15 text-info-800 dark:text-info-500"
|
|
3278
|
-
},
|
|
3279
|
-
ghost: {
|
|
3280
|
-
default: "border-default",
|
|
3281
|
-
primary: "border-primary text-primary",
|
|
3282
|
-
secondary: "border-secondary text-secondary",
|
|
3283
|
-
success: "border-success text-success",
|
|
3284
|
-
warning: "border-warning text-warning",
|
|
3285
|
-
danger: "border-danger text-danger",
|
|
3286
|
-
info: "border-info text-info"
|
|
3287
3277
|
}
|
|
3288
3278
|
}, d = {
|
|
3289
3279
|
default: "shadow-lg shadow-default/40",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungal/ui-vue",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
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": [
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"date-fns": "^4.1.0",
|
|
51
51
|
"focus-trap": "^8.2.1",
|
|
52
52
|
"vue-advanced-cropper": "^2.8.9",
|
|
53
|
-
"@kungal/ui-core": "
|
|
53
|
+
"@kungal/ui-core": "2.0.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"vue": "^3.5.0"
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"vite": "^8.0.16",
|
|
63
63
|
"vue": "^3.5.35",
|
|
64
64
|
"vue-tsc": "^3.3.3",
|
|
65
|
-
"@kungal/ui-tokens": "
|
|
65
|
+
"@kungal/ui-tokens": "2.0.0"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "vite build && cp src/prose.css dist/prose.css && vue-tsc -p tsconfig.build.json",
|