@dao-style/core 1.5.1-beta.2 → 1.5.1-beta.3

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.
@@ -4910,7 +4910,7 @@ const $g = /* @__PURE__ */ x(yg, [["render", Eg]]), Dg = $g, et = Dg, Tg = q({
4910
4910
  l.value || r.value !== "search" || (ae(""), t("after-reset"), (C = v.value) == null || C.focus());
4911
4911
  }, me = (C, V) => parseFloat(C.toFixed(V)), he = (C) => {
4912
4912
  var _;
4913
- if (r.value !== "number")
4913
+ if (r.value !== "number" || l.value)
4914
4914
  return;
4915
4915
  const V = parseFloat(n.min), ee = parseFloat(n.max), ve = p.value || p.value === 0 ? ee <= (p == null ? void 0 : p.value) : !1, be = p.value || p.value === 0 ? V >= (p == null ? void 0 : p.value) : !1;
4916
4916
  if (C === "increase" && ve || C === "decrease" && be)
@@ -5018,7 +5018,7 @@ function Sg(e, t, n, o, a, s) {
5018
5018
  "dao-input-number-icon",
5019
5019
  "icon-arrow-sharp",
5020
5020
  "number-icon-up",
5021
- { "dao-input-number-icon__disabled": e.isIncreaseDisabled }
5021
+ { "dao-input-number-icon__disabled": e.disabled || e.isIncreaseDisabled }
5022
5022
  ]),
5023
5023
  onMousedown: t[1] || (t[1] = (i) => e.changeNumberValue("increase"))
5024
5024
  }, null, 34),
@@ -5027,7 +5027,7 @@ function Sg(e, t, n, o, a, s) {
5027
5027
  "dao-input-number-icon",
5028
5028
  "icon-arrow-sharp",
5029
5029
  "number-icon-down",
5030
- { "dao-input-number-icon__disabled": e.isDecreaseDisabled }
5030
+ { "dao-input-number-icon__disabled": e.disabled || e.isDecreaseDisabled }
5031
5031
  ]),
5032
5032
  onMousedown: t[2] || (t[2] = (i) => e.changeNumberValue("decrease"))
5033
5033
  }, null, 34)