@teamturing/react-kit 2.42.1 → 2.42.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.
package/dist/index.js CHANGED
@@ -20406,10 +20406,10 @@ const Overlay = ({
20406
20406
  React.useEffect(() => {
20407
20407
  if (isOpen) {
20408
20408
  document.addEventListener('click', handleOutsideClick);
20409
- document.addEventListener('touchstart', handleOutsideClick);
20409
+ document.addEventListener('touchend', handleOutsideClick);
20410
20410
  return () => {
20411
20411
  document.removeEventListener('click', handleOutsideClick);
20412
- document.removeEventListener('touchstart', handleOutsideClick);
20412
+ document.removeEventListener('touchend', handleOutsideClick);
20413
20413
  };
20414
20414
  }
20415
20415
  }, [isOpen, handleOutsideClick]);
@@ -57,10 +57,10 @@ const Overlay = ({
57
57
  useEffect(() => {
58
58
  if (isOpen) {
59
59
  document.addEventListener('click', handleOutsideClick);
60
- document.addEventListener('touchstart', handleOutsideClick);
60
+ document.addEventListener('touchend', handleOutsideClick);
61
61
  return () => {
62
62
  document.removeEventListener('click', handleOutsideClick);
63
- document.removeEventListener('touchstart', handleOutsideClick);
63
+ document.removeEventListener('touchend', handleOutsideClick);
64
64
  };
65
65
  }
66
66
  }, [isOpen, handleOutsideClick]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.42.1",
3
+ "version": "2.42.3",
4
4
  "description": "React components, hooks for create teamturing web application",
5
5
  "author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
6
6
  "homepage": "https://github.com/weareteamturing/bombe#readme",
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@floating-ui/react-dom": "^2.0.2",
57
57
  "@primer/behaviors": "^1.3.6",
58
- "@teamturing/icons": "^1.48.0",
58
+ "@teamturing/icons": "^1.49.0",
59
59
  "@teamturing/token-studio": "^1.10.0",
60
60
  "@teamturing/utils": "^1.4.0",
61
61
  "framer-motion": "^10.16.4",
@@ -66,5 +66,5 @@
66
66
  "react-textarea-autosize": "^8.5.3",
67
67
  "styled-system": "^5.1.5"
68
68
  },
69
- "gitHead": "c8efab2beaf98b2cdcb79ba45eaebfc50f985dfe"
69
+ "gitHead": "e21ec7a978c176d80e14e958adc570cb44281bf2"
70
70
  }