@kungal/ui-vue 1.14.2 → 2.0.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
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @kungal/ui-vue
|
|
2
2
|
|
|
3
|
+
## 2.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 373c616: fix(vue): KunCarousel runaway auto-advance / "wild flicker" on Chromium
|
|
8
|
+
|
|
9
|
+
The seamless loop is a scroll-jacked container — it programmatically reorders
|
|
10
|
+
slides (CSS `order`) and resets `scrollLeft` to re-home. Chromium's default
|
|
11
|
+
**scroll anchoring** reacts to that reorder/reflow by nudging `scrollLeft` to keep
|
|
12
|
+
an anchor element in view; the re-home logic then misreads the nudge as "the user
|
|
13
|
+
moved to the next slide", advances, reorders again, and loops — so the carousel
|
|
14
|
+
races through slides far faster than the autoplay interval (looks like everything
|
|
15
|
+
flickering/stacking; reported on Chrome + Edge, desktop). The track now sets
|
|
16
|
+
`overflow-anchor: none`, handing scroll control entirely to the component. No API
|
|
17
|
+
or behaviour change otherwise.
|
|
18
|
+
|
|
19
|
+
- @kungal/ui-core@2.0.1
|
|
20
|
+
|
|
21
|
+
## 2.0.0
|
|
22
|
+
|
|
23
|
+
### Major Changes
|
|
24
|
+
|
|
25
|
+
- c0e69ae: Remove the `ghost` variant.
|
|
26
|
+
|
|
27
|
+
`ghost` was visually indistinguishable from `bordered`: at rest both are just
|
|
28
|
+
`border + bg-transparent + colored text`. `ghost` only added a faint `hover` fill,
|
|
29
|
+
so the two looked identical until hovered. It has been dropped from `KunUIVariant`,
|
|
30
|
+
which affects every variant consumer — `KunButton`, `KunChip`, `KunDropdown` and
|
|
31
|
+
`KunInfo`.
|
|
32
|
+
|
|
33
|
+
**Migration:** replace `variant="ghost"` with `variant="bordered"` (the outline
|
|
34
|
+
look it overlapped). For a softer fill instead, `variant="flat"` or `variant="light"`.
|
|
35
|
+
|
|
36
|
+
(This mirrors the earlier removal of the `faded` variant for the same reason; the
|
|
37
|
+
remaining set — solid / bordered / light / flat / shadow — has no visual overlap.)
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [c0e69ae]
|
|
42
|
+
- @kungal/ui-core@2.0.0
|
|
43
|
+
|
|
3
44
|
## 1.14.2
|
|
4
45
|
|
|
5
46
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.vue.d.ts","sourceRoot":"","sources":["../../src/components/Carousel.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Carousel.vue.d.ts","sourceRoot":"","sources":["../../src/components/Carousel.vue"],"names":[],"mappings":"AAoTA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AA+Y/C,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/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":"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
|
@@ -1281,7 +1281,7 @@ var et = /* @__PURE__ */ "KunAccordion.KunAccordionItem.KunAlertProvider.KunAuto
|
|
|
1281
1281
|
u("ul", {
|
|
1282
1282
|
ref_key: "trackRef",
|
|
1283
1283
|
ref: r,
|
|
1284
|
-
class: "scrollbar-hide flex snap-x snap-mandatory overflow-x-auto",
|
|
1284
|
+
class: "scrollbar-hide flex snap-x snap-mandatory overflow-x-auto [overflow-anchor:none]",
|
|
1285
1285
|
style: b({ gap: e.gap }),
|
|
1286
1286
|
onScrollPassive: H
|
|
1287
1287
|
}, [k(n.$slots, "default")], 36),
|
|
@@ -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.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": "
|
|
53
|
+
"@kungal/ui-core": "2.0.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": "
|
|
65
|
+
"@kungal/ui-tokens": "2.0.1"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "vite build && cp src/prose.css dist/prose.css && vue-tsc -p tsconfig.build.json",
|