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
- function x(k) {
9988
- const _ = document.getElementById(`u-datepicker${m}`);
9989
- _ && !_.contains(k.target) && g && y(!1);
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",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "UrFU UI-Kit for React Web",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
- "version": "0.0.94",
6
+ "version": "0.0.95",
7
7
  "type": "module",
8
8
  "main": "dist/urfu-ui-kit-react",
9
9
  "types": "dist/urfu-ui-kit-react",