@kungal/ui-vue 2.8.1 → 2.8.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.
- package/CHANGELOG.md +16 -0
- package/dist/components/Tab.vue.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @kungal/ui-vue
|
|
2
2
|
|
|
3
|
+
## 2.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1e31d5c: fix(vue): KunTab active-tab text color now tracks the sliding indicator
|
|
8
|
+
|
|
9
|
+
The per-tab text color transitioned over Tailwind's default 150ms while the
|
|
10
|
+
sliding indicator slid over 250ms (`--kun-dur-base`), so the newly-active tab's
|
|
11
|
+
text reached its final color ~100ms before the pill arrived under it. With
|
|
12
|
+
`solid`/`pills` that meant the text went white over the still-uncovered light
|
|
13
|
+
background and read as "invisible until the animation finished". The tab text
|
|
14
|
+
transition is now pinned to the indicator's duration and easing
|
|
15
|
+
(`duration-kun-base ease-kun-standard`), so color and position land in lockstep.
|
|
16
|
+
|
|
17
|
+
- @kungal/ui-core@2.8.2
|
|
18
|
+
|
|
3
19
|
## 2.8.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.vue.d.ts","sourceRoot":"","sources":["../../src/components/Tab.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tab.vue.d.ts","sourceRoot":"","sources":["../../src/components/Tab.vue"],"names":[],"mappings":"AAsgBA,OAAO,KAAK,EAAc,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAS/E,KAAK,WAAW,GAAG,WAAW,CAAC;AAya/B,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;CAClB,CAAC;AAmBF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAmIxD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
package/dist/index.js
CHANGED
|
@@ -6633,7 +6633,7 @@ var rs = { class: "relative inline-block" }, is = ["aria-expanded", "aria-contro
|
|
|
6633
6633
|
center: "justify-center",
|
|
6634
6634
|
end: "justify-end"
|
|
6635
6635
|
}, te = (e) => {
|
|
6636
|
-
let t = K(e), n = Y("relative z-10 inline-flex items-center cursor-pointer select-none whitespace-nowrap transition-colors", ee[r.align], m[r.size], h[r.size], e.disabled && "opacity-50 cursor-not-allowed", p.value && r.fullWidth && "w-full"), i = !ae.value;
|
|
6636
|
+
let t = K(e), n = Y("relative z-10 inline-flex items-center cursor-pointer select-none whitespace-nowrap transition-colors duration-kun-base ease-kun-standard", ee[r.align], m[r.size], h[r.size], e.disabled && "opacity-50 cursor-not-allowed", p.value && r.fullWidth && "w-full"), i = !ae.value;
|
|
6637
6637
|
switch (r.variant) {
|
|
6638
6638
|
case "underlined": return Y(n, t ? _e[r.color] : "text-default-500 hover:text-foreground");
|
|
6639
6639
|
case "solid": return Y(n, "rounded-kun-md", t ? Y(ge[r.color], i && me[r.color]) : "text-default-500 hover:text-foreground");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungal/ui-vue",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.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": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"focus-trap": "^8.2.1",
|
|
52
52
|
"thumbhash": "^0.1.1",
|
|
53
53
|
"vue-advanced-cropper": "^2.8.9",
|
|
54
|
-
"@kungal/ui-core": "2.8.
|
|
54
|
+
"@kungal/ui-core": "2.8.2"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"vue": "^3.5.0"
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"vite": "^8.0.16",
|
|
64
64
|
"vue": "^3.5.35",
|
|
65
65
|
"vue-tsc": "^3.3.3",
|
|
66
|
-
"@kungal/ui-tokens": "2.8.
|
|
66
|
+
"@kungal/ui-tokens": "2.8.2"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "vite build && cp src/prose.css dist/prose.css && vue-tsc -p tsconfig.build.json",
|