@kungal/ui-vue 1.10.0 → 1.10.1
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 +15 -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,20 @@
|
|
|
1
1
|
# @kungal/ui-vue
|
|
2
2
|
|
|
3
|
+
## 1.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 56bd509: fix(vue): vertical underlined Tab indicator jumping on hydration (SSR)
|
|
8
|
+
|
|
9
|
+
The pre-hydration fallback bar (drawn before the JS-measured indicator mounts) was
|
|
10
|
+
hardcoded to the BOTTOM edge, so a vertical `underlined` tab showed its indicator
|
|
11
|
+
under the active tab on the server and then jumped to the LEFT once the measured
|
|
12
|
+
indicator took over. The fallback now follows orientation — a LEFT inset bar for
|
|
13
|
+
vertical, BOTTOM for horizontal — so the SSR axis matches the final one and there's
|
|
14
|
+
no jump.
|
|
15
|
+
|
|
16
|
+
- @kungal/ui-core@1.10.1
|
|
17
|
+
|
|
3
18
|
## 1.10.0
|
|
4
19
|
|
|
5
20
|
### Minor 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":"AAmfA,OAAO,KAAK,EAAc,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAS/E,KAAK,WAAW,GAAG,WAAW,CAAC;AAoZ/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
|
@@ -5800,7 +5800,7 @@ var et = Symbol("kun-accordion"), tt = /* @__PURE__ */ p({
|
|
|
5800
5800
|
case "pills": return J(n, "rounded-full", t ? pe[r.color] : "text-default-500 hover:text-foreground");
|
|
5801
5801
|
default: return n;
|
|
5802
5802
|
}
|
|
5803
|
-
}, ne = (e) => r.variant === "underlined" && K(e) && !se.value ? { boxShadow: "inset 0 -2px 0 0 currentColor" } : void 0, re = {
|
|
5803
|
+
}, ne = (e) => r.variant === "underlined" && K(e) && !se.value ? { boxShadow: p.value ? "inset 2px 0 0 0 currentColor" : "inset 0 -2px 0 0 currentColor" } : void 0, re = {
|
|
5804
5804
|
default: "bg-default/15",
|
|
5805
5805
|
primary: "bg-primary/15",
|
|
5806
5806
|
secondary: "bg-secondary/15",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungal/ui-vue",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.1",
|
|
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": "1.10.
|
|
53
|
+
"@kungal/ui-core": "1.10.1"
|
|
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": "1.10.
|
|
65
|
+
"@kungal/ui-tokens": "1.10.1"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "vite build && cp src/prose.css dist/prose.css && vue-tsc -p tsconfig.build.json",
|