urfu-ui-kit-react 1.4.7 → 1.4.9

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.
@@ -10008,8 +10008,8 @@ const Jr = [
10008
10008
  const d = (u) => {
10009
10009
  s.current && !s.current.contains(u.target) && i();
10010
10010
  };
10011
- return document.addEventListener("mousedown", d), () => {
10012
- document.removeEventListener("mousedown", d);
10011
+ return document.addEventListener("click", d), () => {
10012
+ document.removeEventListener("click", d);
10013
10013
  };
10014
10014
  }, [i]);
10015
10015
  const l = n.find((d) => d.value === a);
@@ -10083,7 +10083,6 @@ const Jr = [
10083
10083
  onClick: (u) => {
10084
10084
  u.stopPropagation(), i(), t(d.value);
10085
10085
  },
10086
- onMouseDown: (u) => u.preventDefault(),
10087
10086
  children: d.label
10088
10087
  },
10089
10088
  d.value
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "UrFU UI-Kit for React Web",
4
4
  "license": "Apache-2.0",
5
5
  "private": false,
6
- "version": "1.4.7",
6
+ "version": "1.4.9",
7
7
  "type": "module",
8
8
  "main": "dist/urfu-ui-kit-react",
9
9
  "types": "dist/urfu-ui-kit-react",
@@ -20,7 +20,7 @@
20
20
  "date-fns": "^3.6.0",
21
21
  "react-datepicker": "^7.4.0",
22
22
  "react-input-mask": "^2.0.4",
23
- "urfu-ui-kit-vanilla": "^2.2.0"
23
+ "urfu-ui-kit-vanilla": "^2.2.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@chromatic-com/storybook": "^1.3.3",