@kungal/ui-vue 2.0.0 → 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,23 @@
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
+
3
21
  ## 2.0.0
4
22
 
5
23
  ### Major Changes
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.vue.d.ts","sourceRoot":"","sources":["../../src/components/Carousel.vue"],"names":[],"mappings":"AA6SA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AA8Y/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
+ {"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"}
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),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kungal/ui-vue",
3
- "version": "2.0.0",
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": "2.0.0"
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": "2.0.0"
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",