evo-vue-carousel 2.1.0 → 2.1.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.
@@ -3511,7 +3511,7 @@ var hi = /* @__PURE__ */ mi({
3511
3511
  }
3512
3512
  },
3513
3513
  setup(e) {
3514
- ae((e) => ({ v3acf4188: E.value }));
3514
+ ae((e) => ({ d62beeb4: E.value }));
3515
3515
  let t = typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, n = Object.freeze({
3516
3516
  element: !0,
3517
3517
  component: !0,
@@ -3535,12 +3535,13 @@ var hi = /* @__PURE__ */ mi({
3535
3535
  P(a, (e) => {
3536
3536
  r.isInit && (u.value === !1 && (b.value = y.value), y.value = C(e), t && ie());
3537
3537
  }, { immediate: !0 });
3538
- let k = () => {
3539
- d(!0);
3540
- }, ie = async () => {
3538
+ let k = (e) => {
3539
+ e.target.classList.contains("evo-vue-carousel__viewport-track") !== !1 && d(!0);
3540
+ }, ie = async (e) => {
3541
+ if (e.target.classList.contains("evo-vue-carousel__viewport-track") === !1) return;
3541
3542
  _.value = !0, await oi();
3542
- let e = r.totalSlides;
3543
- s(ei(a.value, 0, e)), await oi(), _.value = !1, d(!1);
3543
+ let t = r.totalSlides;
3544
+ s(ei(a.value, 0, t)), await oi(), _.value = !1, d(!1);
3544
3545
  };
3545
3546
  P(c, (e) => {
3546
3547
  i.value.pauseOnHover === !0 && (e ? p() : m());
@@ -3604,7 +3605,7 @@ var hi = /* @__PURE__ */ mi({
3604
3605
  _: 1
3605
3606
  }, 8, ["slots"])], 8, Si));
3606
3607
  }
3607
- }), [["__scopeId", "data-v-c93dd04e"]]), wi = ["data-height"], Ti = {
3608
+ }), [["__scopeId", "data-v-049f31e0"]]), wi = ["data-height"], Ti = {
3608
3609
  __name: "Gallery",
3609
3610
  props: {
3610
3611
  totalSlides: {
package/dist/main.css CHANGED
@@ -1 +1 @@
1
- .evo-vue-carousel__pagination{pointer-events:none}.evo-vue-carousel__pagination>*{pointer-events:auto}.evo-vue-carousel__navigation{pointer-events:none}.evo-vue-carousel__navigation>*{pointer-events:auto}.evo-vue-carousel__viewport-track[data-v-c93dd04e]{--slide-width:var(--v3acf4188)}
1
+ .evo-vue-carousel__pagination{pointer-events:none}.evo-vue-carousel__pagination>*{pointer-events:auto}.evo-vue-carousel__navigation{pointer-events:none}.evo-vue-carousel__navigation>*{pointer-events:auto}.evo-vue-carousel__viewport-track[data-v-049f31e0]{--slide-width:var(--d62beeb4)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo-vue-carousel",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "type": "module",
5
5
  "license": "GPL-3.0-only",
6
6
  "files": [