cattle-care-ui 0.5.3 → 0.5.4

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 CHANGED
@@ -1532,7 +1532,7 @@ function St({ value: e, onChange: t, minDate: n, maxDate: r, locale: i = "en", w
1532
1532
  ].filter(Boolean).join(" "),
1533
1533
  onMouseDown: a ? (e) => e.preventDefault() : void 0,
1534
1534
  onClick: a || u ? void 0 : () => ue(t),
1535
- onMouseEnter: g && !u ? () => g(t) : void 0,
1535
+ onPointerEnter: g && !u ? (e) => e.pointerType === "mouse" && g(t) : void 0,
1536
1536
  onFocus: g && !u ? () => g(t) : void 0,
1537
1537
  children: t.getDate()
1538
1538
  }, yt(t));
@@ -2316,7 +2316,7 @@ function Zt(e) {
2316
2316
  selected: !A && e.value === B,
2317
2317
  disabled: e.disabled,
2318
2318
  onClick: () => ye(e.value),
2319
- onMouseEnter: (t) => !e.disabled && ve(t.currentTarget),
2319
+ onPointerEnter: (t) => t.pointerType === "mouse" && !e.disabled && ve(t.currentTarget),
2320
2320
  onFocus: (e) => ve(e.currentTarget),
2321
2321
  onKeyDown: (t) => _e(t, e.value),
2322
2322
  children: e.label
@@ -2398,7 +2398,7 @@ function nn({ children: e, className: t, ...n }) {
2398
2398
  children: /* @__PURE__ */ y("div", {
2399
2399
  ref: r,
2400
2400
  className: [Qt.list, t].filter(Boolean).join(" "),
2401
- onMouseOver: (e) => f(e.target),
2401
+ onPointerOver: (e) => e.pointerType === "mouse" && f(e.target),
2402
2402
  onMouseLeave: () => c(!1),
2403
2403
  onFocus: (e) => e.target.matches(":focus-visible") && f(e.target),
2404
2404
  onBlur: () => c(!1),