evo-vue-carousel 1.0.7 → 1.0.9

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.
@@ -1083,7 +1083,7 @@ function ms(e, t = 1e3, r = {}) {
1083
1083
  }
1084
1084
  function u() {
1085
1085
  const d = Pe(t);
1086
- d <= 0 || (a.value = !0, o && e(), s(), i = setInterval(e, d));
1086
+ d <= 0 || (a.value = !0, o && e(), s(), a.value && (i = setInterval(e, d)));
1087
1087
  }
1088
1088
  if (n && it && u(), Yr(t) || typeof t == "function") {
1089
1089
  const d = G(t, () => {
@@ -3877,7 +3877,8 @@ const A = (e) => {
3877
3877
  page: t.page,
3878
3878
  pageIndex: t.pageIndex,
3879
3879
  attrs: {
3880
- onClick: () => i(t.page, t.pageIndex)
3880
+ onClick: () => i(t.page, t.pageIndex),
3881
+ disabled: t.disabled
3881
3882
  }
3882
3883
  }, () => [
3883
3884
  pe("button", ar(l.$attrs, {
@@ -4206,7 +4207,8 @@ const fl = ["disabled"], pl = ["disabled"], gl = "M31.884 8.366a1.25 1.25 0 0 1
4206
4207
  ]),
4207
4208
  ie(p.$slots, "navigation-next", {
4208
4209
  onClick: v,
4209
- currentIndex: m(n)
4210
+ currentIndex: m(n),
4211
+ disabled: d.value
4210
4212
  }, () => [
4211
4213
  pe("button", {
4212
4214
  class: N(["evo-vue-carousel__navigation-item evo-vue-carousel__navigation-next", f.value]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo-vue-carousel",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "type": "module",
5
5
  "license": "GPL-3.0-only",
6
6
  "files": [
@@ -26,17 +26,17 @@
26
26
  "prepublishOnly": "npm run build"
27
27
  },
28
28
  "devDependencies": {
29
- "@eslint/js": "^9.13.0",
29
+ "@eslint/js": "^9.14.0",
30
30
  "@vitejs/plugin-vue": "^5.1.4",
31
- "eslint": "^9.13.0",
31
+ "eslint": "^9.14.0",
32
32
  "eslint-config-prettier": "^9.1.0",
33
33
  "eslint-plugin-jsdoc": "^50.4.3",
34
- "eslint-plugin-vue": "^9.29.1",
35
- "globals": "^15.11.0",
34
+ "eslint-plugin-vue": "^9.30.0",
35
+ "globals": "^15.12.0",
36
36
  "prettier": "^3.3.3",
37
37
  "tailwind-merge": "^2.5.4",
38
38
  "tailwindcss": "^3.4.14",
39
- "vite": "^5.4.9",
39
+ "vite": "^5.4.10",
40
40
  "vite-plugin-lib-inject-css": "^2.1.1",
41
41
  "vue": "^3.5.12"
42
42
  },
@@ -48,7 +48,7 @@
48
48
  "dependencies": {
49
49
  "@evomark/vue-forward-slots": "^6.2.0",
50
50
  "@skirtle/vue-vnode-utils": "^0.2.0",
51
- "@vueuse/core": "^11.1.0",
51
+ "@vueuse/core": "^11.2.0",
52
52
  "lodash-es": "^4.17.21",
53
53
  "vue3-icon": "^3.0.3"
54
54
  }