urfu-ui-kit-react 0.0.94 → 0.0.95
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.
|
@@ -9984,10 +9984,10 @@ const Vr = [
|
|
|
9984
9984
|
}) => {
|
|
9985
9985
|
const [g, y] = he(!1);
|
|
9986
9986
|
return ye(() => {
|
|
9987
|
-
|
|
9988
|
-
const _ = document.getElementById(`u-datepicker${m}`);
|
|
9989
|
-
_ && !_.contains(k.target) &&
|
|
9990
|
-
}
|
|
9987
|
+
const x = (k) => {
|
|
9988
|
+
const _ = document.getElementById(`u-datepicker${m}`), S = document.querySelector(`#u-datepicker${m} > div > div > input`);
|
|
9989
|
+
g && (S && S.focus(), _ && !_.contains(k.target) && (y(!1), S && S.blur()));
|
|
9990
|
+
};
|
|
9991
9991
|
return document.addEventListener("click", x), () => {
|
|
9992
9992
|
document.removeEventListener("click", x);
|
|
9993
9993
|
};
|
|
@@ -10096,7 +10096,7 @@ const Vr = [
|
|
|
10096
10096
|
),
|
|
10097
10097
|
placeholderText: r,
|
|
10098
10098
|
customInputRef: "inputRef",
|
|
10099
|
-
customInput: /* @__PURE__ */ p.jsx(kd, { mask: "99.99.9999" }),
|
|
10099
|
+
customInput: /* @__PURE__ */ p.jsx(kd, { mask: "99.99.9999", id: `custom-input-mask-${m}` }),
|
|
10100
10100
|
selected: n,
|
|
10101
10101
|
onChange: a,
|
|
10102
10102
|
locale: "ru",
|