ablok-components 0.2.23 → 0.2.25

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.
@@ -90,6 +90,10 @@ const GR = {
90
90
  zoom: {
91
91
  type: Boolean,
92
92
  default: !1
93
+ },
94
+ animate: {
95
+ type: Boolean,
96
+ default: !0
93
97
  }
94
98
  },
95
99
  setup(t) {
@@ -105,8 +109,8 @@ const GR = {
105
109
  t.spinner && !e.value ? (W(), st(r, { key: 0 })) : we("", !0),
106
110
  Ae("img", {
107
111
  class: He(["", {
108
- "opacity-0": !e.value,
109
- "opacity-1": e.value
112
+ "opacity-0": t.animate && !e.value,
113
+ "opacity-1": !t.animate || e.value
110
114
  }]),
111
115
  src: t.src,
112
116
  alt: t.alt,
@@ -403,7 +407,7 @@ const Oue = /* @__PURE__ */ n4(r4, [["render", s4]]), o4 = ["type", "disabled"],
403
407
  },
404
408
  validate: {
405
409
  type: Boolean,
406
- default: !0
410
+ default: !1
407
411
  },
408
412
  valid: {
409
413
  type: Boolean,