@avakhula/ui 0.0.90 → 0.0.92
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/dist/index.js +10 -2
- package/dist/index.umd.cjs +29 -29
- package/package.json +1 -1
- package/src/App.vue +8 -124
- package/src/components/Button/Button.vue +8 -0
package/dist/index.js
CHANGED
|
@@ -181,6 +181,12 @@ const wa = {
|
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
methods: {
|
|
184
|
+
onMouseenter(t) {
|
|
185
|
+
this.$emit("mouseenter", t);
|
|
186
|
+
},
|
|
187
|
+
onMouseleave(t) {
|
|
188
|
+
this.$emit("mouseleave", t);
|
|
189
|
+
},
|
|
184
190
|
onClick(t) {
|
|
185
191
|
if ((this.preventDefault || this.isDisabled) && t.preventDefault(), this.confirmMessage.length > 0 && !confirm(this.confirmMessage)) {
|
|
186
192
|
t.preventDefault();
|
|
@@ -212,7 +218,9 @@ const wa = {
|
|
|
212
218
|
}, Oa = ["method", "action"], ka = ["value"], Ca = ["value"], Ea = ["name", "value"];
|
|
213
219
|
function Sa(t, n, e, i, o, r) {
|
|
214
220
|
return G(), $e($r(e.href.length ? "a" : "button"), Et({
|
|
215
|
-
onClick: n[0] || (n[0] = (l) => r.onClick(l))
|
|
221
|
+
onClick: n[0] || (n[0] = (l) => r.onClick(l)),
|
|
222
|
+
onMouseenter: r.onMouseenter,
|
|
223
|
+
onMouseleave: r.onMouseleave
|
|
216
224
|
}, r.attrs), {
|
|
217
225
|
default: be(() => [
|
|
218
226
|
Te(t.$slots, "icon"),
|
|
@@ -244,7 +252,7 @@ function Sa(t, n, e, i, o, r) {
|
|
|
244
252
|
]) : he("", !0)
|
|
245
253
|
]),
|
|
246
254
|
_: 3
|
|
247
|
-
}, 16);
|
|
255
|
+
}, 16, ["onMouseenter", "onMouseleave"]);
|
|
248
256
|
}
|
|
249
257
|
const xa = /* @__PURE__ */ Ae(wa, [["render", Sa]]), Ta = {
|
|
250
258
|
topLeft: "top-left",
|