react-native-gesture-handler 3.0.0-beta.3 → 3.0.0-beta.5

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.
Files changed (419) hide show
  1. package/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandler.kt +42 -38
  2. package/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandlerOrchestrator.kt +34 -8
  3. package/android/src/main/java/com/swmansion/gesturehandler/core/HoverGestureHandler.kt +3 -6
  4. package/android/src/main/java/com/swmansion/gesturehandler/core/ManualGestureHandler.kt +2 -0
  5. package/android/src/main/java/com/swmansion/gesturehandler/core/NativeViewGestureHandler.kt +68 -7
  6. package/android/src/main/java/com/swmansion/gesturehandler/core/OnJSResponderCancelListener.kt +6 -0
  7. package/android/src/main/java/com/swmansion/gesturehandler/core/PanGestureHandler.kt +2 -0
  8. package/android/src/main/java/com/swmansion/gesturehandler/core/PinchGestureHandler.kt +16 -6
  9. package/android/src/main/java/com/swmansion/gesturehandler/core/RotationGestureHandler.kt +17 -4
  10. package/android/src/main/java/com/swmansion/gesturehandler/core/ViewConfigurationHelper.kt +0 -1
  11. package/android/src/main/java/com/swmansion/gesturehandler/react/Extensions.kt +21 -0
  12. package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.kt +160 -55
  13. package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerDetectorView.kt +75 -98
  14. package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerInteractionManager.kt +1 -1
  15. package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt +7 -10
  16. package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRegistry.kt +64 -2
  17. package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt +18 -8
  18. package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootView.kt +15 -4
  19. package/android/src/main/java/com/swmansion/gesturehandler/react/RNViewConfigurationHelper.kt +0 -6
  20. package/apple/Handlers/RNForceTouchHandler.m +1 -1
  21. package/apple/Handlers/RNHoverHandler.m +11 -11
  22. package/apple/Handlers/RNLongPressHandler.m +2 -2
  23. package/apple/Handlers/RNManualHandler.m +5 -0
  24. package/apple/Handlers/RNNativeViewHandler.mm +114 -53
  25. package/apple/Handlers/RNPanHandler.m +7 -3
  26. package/apple/Handlers/RNPinchHandler.m +9 -3
  27. package/apple/Handlers/RNRotationHandler.m +7 -2
  28. package/apple/Handlers/RNTapHandler.m +1 -1
  29. package/apple/RNGestureHandler.h +18 -0
  30. package/apple/RNGestureHandler.mm +82 -33
  31. package/apple/RNGestureHandlerButton.h +12 -2
  32. package/apple/RNGestureHandlerButton.mm +208 -38
  33. package/apple/RNGestureHandlerButtonComponentView.mm +102 -6
  34. package/apple/RNGestureHandlerDetector.mm +99 -75
  35. package/apple/RNGestureHandlerModule.mm +11 -14
  36. package/apple/RNGestureHandlerRegistry.h +14 -1
  37. package/apple/RNGestureHandlerRegistry.m +56 -0
  38. package/apple/RNRootViewGestureRecognizer.m +4 -15
  39. package/lib/module/RNGestureHandlerModule.web.js +5 -1
  40. package/lib/module/RNGestureHandlerModule.web.js.map +1 -1
  41. package/lib/module/components/GestureButtons.js +23 -12
  42. package/lib/module/components/GestureButtons.js.map +1 -1
  43. package/lib/module/components/GestureHandlerButton.js.map +1 -1
  44. package/lib/module/components/GestureHandlerButton.web.js +113 -31
  45. package/lib/module/components/GestureHandlerButton.web.js.map +1 -1
  46. package/lib/module/components/Pressable/Pressable.js +2 -1
  47. package/lib/module/components/Pressable/Pressable.js.map +1 -1
  48. package/lib/module/components/Pressable/stateDefinitions.js +2 -0
  49. package/lib/module/components/Pressable/stateDefinitions.js.map +1 -1
  50. package/lib/module/components/ReanimatedDrawerLayout.js.map +1 -1
  51. package/lib/module/components/ReanimatedSwipeable/ReanimatedSwipeable.js +38 -5
  52. package/lib/module/components/ReanimatedSwipeable/ReanimatedSwipeable.js.map +1 -1
  53. package/lib/module/components/touchables/GenericTouchable.js +2 -6
  54. package/lib/module/components/touchables/GenericTouchable.js.map +1 -1
  55. package/lib/module/handlers/gestures/GestureDetector/useDetectorUpdater.js +1 -2
  56. package/lib/module/handlers/gestures/GestureDetector/useDetectorUpdater.js.map +1 -1
  57. package/lib/module/handlers/gestures/GestureDetector/utils.js +11 -48
  58. package/lib/module/handlers/gestures/GestureDetector/utils.js.map +1 -1
  59. package/lib/module/handlers/gestures/flingGesture.js +8 -0
  60. package/lib/module/handlers/gestures/flingGesture.js.map +1 -1
  61. package/lib/module/handlers/gestures/forceTouchGesture.js +3 -3
  62. package/lib/module/handlers/gestures/gesture.js +8 -0
  63. package/lib/module/handlers/gestures/gesture.js.map +1 -1
  64. package/lib/module/handlers/gestures/gestureComposition.js +28 -0
  65. package/lib/module/handlers/gestures/gestureComposition.js.map +1 -1
  66. package/lib/module/handlers/gestures/gestureObjects.js +27 -1
  67. package/lib/module/handlers/gestures/gestureObjects.js.map +1 -1
  68. package/lib/module/handlers/gestures/gestureStateManager.js +9 -0
  69. package/lib/module/handlers/gestures/gestureStateManager.js.map +1 -1
  70. package/lib/module/handlers/gestures/hoverGesture.js +8 -0
  71. package/lib/module/handlers/gestures/hoverGesture.js.map +1 -1
  72. package/lib/module/handlers/gestures/longPressGesture.js +8 -0
  73. package/lib/module/handlers/gestures/longPressGesture.js.map +1 -1
  74. package/lib/module/handlers/gestures/manualGesture.js +8 -0
  75. package/lib/module/handlers/gestures/manualGesture.js.map +1 -1
  76. package/lib/module/handlers/gestures/nativeGesture.js +8 -0
  77. package/lib/module/handlers/gestures/nativeGesture.js.map +1 -1
  78. package/lib/module/handlers/gestures/panGesture.js +13 -0
  79. package/lib/module/handlers/gestures/panGesture.js.map +1 -1
  80. package/lib/module/handlers/gestures/pinchGesture.js +13 -0
  81. package/lib/module/handlers/gestures/pinchGesture.js.map +1 -1
  82. package/lib/module/handlers/gestures/reanimatedWrapper.js +14 -2
  83. package/lib/module/handlers/gestures/reanimatedWrapper.js.map +1 -1
  84. package/lib/module/handlers/gestures/rotationGesture.js +8 -0
  85. package/lib/module/handlers/gestures/rotationGesture.js.map +1 -1
  86. package/lib/module/handlers/gestures/tapGesture.js +8 -0
  87. package/lib/module/handlers/gestures/tapGesture.js.map +1 -1
  88. package/lib/module/mocks/module.js +3 -2
  89. package/lib/module/mocks/module.js.map +1 -1
  90. package/lib/module/specs/NativeRNGestureHandlerModule.js.map +1 -1
  91. package/lib/module/specs/RNGestureHandlerButtonNativeComponent.ts +28 -13
  92. package/lib/module/v3/NativeProxy.js +5 -3
  93. package/lib/module/v3/NativeProxy.js.map +1 -1
  94. package/lib/module/v3/NativeProxy.web.js +2 -2
  95. package/lib/module/v3/NativeProxy.web.js.map +1 -1
  96. package/lib/module/v3/components/GestureButtons.js +11 -6
  97. package/lib/module/v3/components/GestureButtons.js.map +1 -1
  98. package/lib/module/v3/components/Pressable.js +3 -2
  99. package/lib/module/v3/components/Pressable.js.map +1 -1
  100. package/lib/module/v3/components/Touchable/Touchable.js +119 -32
  101. package/lib/module/v3/components/Touchable/Touchable.js.map +1 -1
  102. package/lib/module/v3/detectors/HostGestureDetector.web.js +180 -59
  103. package/lib/module/v3/detectors/HostGestureDetector.web.js.map +1 -1
  104. package/lib/module/v3/detectors/NativeDetector.js +3 -2
  105. package/lib/module/v3/detectors/NativeDetector.js.map +1 -1
  106. package/lib/module/v3/detectors/VirtualDetector/InterceptingGestureDetector.js +3 -4
  107. package/lib/module/v3/detectors/VirtualDetector/InterceptingGestureDetector.js.map +1 -1
  108. package/lib/module/v3/detectors/VirtualDetector/VirtualDetector.js +4 -2
  109. package/lib/module/v3/detectors/VirtualDetector/VirtualDetector.js.map +1 -1
  110. package/lib/module/v3/detectors/useGestureRelationsUpdater.js +23 -0
  111. package/lib/module/v3/detectors/useGestureRelationsUpdater.js.map +1 -0
  112. package/lib/module/v3/detectors/useNativeGestureRole.js +6 -0
  113. package/lib/module/v3/detectors/useNativeGestureRole.js.map +1 -0
  114. package/lib/module/v3/detectors/useNativeGestureRole.web.js +27 -0
  115. package/lib/module/v3/detectors/useNativeGestureRole.web.js.map +1 -0
  116. package/lib/module/v3/detectors/utils.js +10 -8
  117. package/lib/module/v3/detectors/utils.js.map +1 -1
  118. package/lib/module/v3/hooks/callbacks/useReanimatedEventHandler.js +17 -2
  119. package/lib/module/v3/hooks/callbacks/useReanimatedEventHandler.js.map +1 -1
  120. package/lib/module/v3/hooks/gestures/fling/useFlingGesture.js +2 -1
  121. package/lib/module/v3/hooks/gestures/fling/useFlingGesture.js.map +1 -1
  122. package/lib/module/v3/hooks/gestures/hover/useHoverGesture.js +2 -1
  123. package/lib/module/v3/hooks/gestures/hover/useHoverGesture.js.map +1 -1
  124. package/lib/module/v3/hooks/gestures/longPress/useLongPressGesture.js +2 -1
  125. package/lib/module/v3/hooks/gestures/longPress/useLongPressGesture.js.map +1 -1
  126. package/lib/module/v3/hooks/gestures/manual/useManualGesture.js +2 -1
  127. package/lib/module/v3/hooks/gestures/manual/useManualGesture.js.map +1 -1
  128. package/lib/module/v3/hooks/gestures/native/NativeTypes.js +1 -1
  129. package/lib/module/v3/hooks/gestures/native/NativeTypes.js.map +1 -1
  130. package/lib/module/v3/hooks/gestures/native/useNativeGesture.js +2 -1
  131. package/lib/module/v3/hooks/gestures/native/useNativeGesture.js.map +1 -1
  132. package/lib/module/v3/hooks/gestures/pan/usePanGesture.js +2 -1
  133. package/lib/module/v3/hooks/gestures/pan/usePanGesture.js.map +1 -1
  134. package/lib/module/v3/hooks/gestures/pinch/usePinchGesture.js +2 -1
  135. package/lib/module/v3/hooks/gestures/pinch/usePinchGesture.js.map +1 -1
  136. package/lib/module/v3/hooks/gestures/rotation/useRotationGesture.js +2 -1
  137. package/lib/module/v3/hooks/gestures/rotation/useRotationGesture.js.map +1 -1
  138. package/lib/module/v3/hooks/gestures/tap/useTapGesture.js +2 -1
  139. package/lib/module/v3/hooks/gestures/tap/useTapGesture.js.map +1 -1
  140. package/lib/module/v3/hooks/useGesture.js +4 -22
  141. package/lib/module/v3/hooks/useGesture.js.map +1 -1
  142. package/lib/module/v3/hooks/utils/configUtils.js +8 -6
  143. package/lib/module/v3/hooks/utils/configUtils.js.map +1 -1
  144. package/lib/module/v3/hooks/utils/eventHandlersUtils.js +31 -29
  145. package/lib/module/v3/hooks/utils/eventHandlersUtils.js.map +1 -1
  146. package/lib/module/v3/hooks/utils/index.js +1 -1
  147. package/lib/module/v3/hooks/utils/index.js.map +1 -1
  148. package/lib/module/v3/hooks/utils/propsWhiteList.js +1 -1
  149. package/lib/module/v3/hooks/utils/propsWhiteList.js.map +1 -1
  150. package/lib/module/v3/hooks/utils/reanimatedUtils.js +8 -2
  151. package/lib/module/v3/hooks/utils/reanimatedUtils.js.map +1 -1
  152. package/lib/module/web/constants.js +1 -0
  153. package/lib/module/web/constants.js.map +1 -1
  154. package/lib/module/web/detectors/RotationGestureDetector.js +18 -5
  155. package/lib/module/web/detectors/RotationGestureDetector.js.map +1 -1
  156. package/lib/module/web/detectors/ScaleGestureDetector.js +9 -1
  157. package/lib/module/web/detectors/ScaleGestureDetector.js.map +1 -1
  158. package/lib/module/web/handlers/GestureHandler.js +25 -5
  159. package/lib/module/web/handlers/GestureHandler.js.map +1 -1
  160. package/lib/module/web/handlers/HoverGestureHandler.js +1 -4
  161. package/lib/module/web/handlers/HoverGestureHandler.js.map +1 -1
  162. package/lib/module/web/handlers/ManualGestureHandler.js +1 -0
  163. package/lib/module/web/handlers/ManualGestureHandler.js.map +1 -1
  164. package/lib/module/web/handlers/NativeViewGestureHandler.js +65 -17
  165. package/lib/module/web/handlers/NativeViewGestureHandler.js.map +1 -1
  166. package/lib/module/web/handlers/PanGestureHandler.js +1 -0
  167. package/lib/module/web/handlers/PanGestureHandler.js.map +1 -1
  168. package/lib/module/web/handlers/PinchGestureHandler.js +4 -6
  169. package/lib/module/web/handlers/PinchGestureHandler.js.map +1 -1
  170. package/lib/module/web/handlers/RotationGestureHandler.js +4 -3
  171. package/lib/module/web/handlers/RotationGestureHandler.js.map +1 -1
  172. package/lib/module/web/interfaces.js +6 -0
  173. package/lib/module/web/interfaces.js.map +1 -1
  174. package/lib/module/web/tools/GestureHandlerOrchestrator.js +8 -2
  175. package/lib/module/web/tools/GestureHandlerOrchestrator.js.map +1 -1
  176. package/lib/module/web/tools/GestureLifecycleEvents.js +10 -0
  177. package/lib/module/web/tools/GestureLifecycleEvents.js.map +1 -0
  178. package/lib/module/web/tools/NodeManager.js +44 -0
  179. package/lib/module/web/tools/NodeManager.js.map +1 -1
  180. package/lib/module/web/tools/PointerEventManager.js +9 -0
  181. package/lib/module/web/tools/PointerEventManager.js.map +1 -1
  182. package/lib/typescript/RNGestureHandlerModule.web.d.ts +1 -1
  183. package/lib/typescript/RNGestureHandlerModule.web.d.ts.map +1 -1
  184. package/lib/typescript/components/GestureButtons.d.ts +14 -6
  185. package/lib/typescript/components/GestureButtons.d.ts.map +1 -1
  186. package/lib/typescript/components/GestureHandlerButton.d.ts +62 -8
  187. package/lib/typescript/components/GestureHandlerButton.d.ts.map +1 -1
  188. package/lib/typescript/components/GestureHandlerButton.web.d.ts +14 -3
  189. package/lib/typescript/components/GestureHandlerButton.web.d.ts.map +1 -1
  190. package/lib/typescript/components/Pressable/Pressable.d.ts.map +1 -1
  191. package/lib/typescript/components/Pressable/PressableProps.d.ts +1 -1
  192. package/lib/typescript/components/Pressable/PressableProps.d.ts.map +1 -1
  193. package/lib/typescript/components/Pressable/stateDefinitions.d.ts.map +1 -1
  194. package/lib/typescript/components/ReanimatedDrawerLayout.d.ts +16 -14
  195. package/lib/typescript/components/ReanimatedDrawerLayout.d.ts.map +1 -1
  196. package/lib/typescript/components/ReanimatedSwipeable/ReanimatedSwipeable.d.ts +2 -1
  197. package/lib/typescript/components/ReanimatedSwipeable/ReanimatedSwipeable.d.ts.map +1 -1
  198. package/lib/typescript/components/ReanimatedSwipeable/ReanimatedSwipeableProps.d.ts +30 -34
  199. package/lib/typescript/components/ReanimatedSwipeable/ReanimatedSwipeableProps.d.ts.map +1 -1
  200. package/lib/typescript/components/touchables/GenericTouchable.d.ts.map +1 -1
  201. package/lib/typescript/handlers/gestures/GestureDetector/useDetectorUpdater.d.ts.map +1 -1
  202. package/lib/typescript/handlers/gestures/GestureDetector/utils.d.ts +0 -1
  203. package/lib/typescript/handlers/gestures/GestureDetector/utils.d.ts.map +1 -1
  204. package/lib/typescript/handlers/gestures/flingGesture.d.ts +6 -0
  205. package/lib/typescript/handlers/gestures/flingGesture.d.ts.map +1 -1
  206. package/lib/typescript/handlers/gestures/forceTouchGesture.d.ts +3 -3
  207. package/lib/typescript/handlers/gestures/gesture.d.ts +6 -0
  208. package/lib/typescript/handlers/gestures/gesture.d.ts.map +1 -1
  209. package/lib/typescript/handlers/gestures/gestureComposition.d.ts +21 -0
  210. package/lib/typescript/handlers/gestures/gestureComposition.d.ts.map +1 -1
  211. package/lib/typescript/handlers/gestures/gestureObjects.d.ts +27 -1
  212. package/lib/typescript/handlers/gestures/gestureObjects.d.ts.map +1 -1
  213. package/lib/typescript/handlers/gestures/gestureStateManager.d.ts +6 -0
  214. package/lib/typescript/handlers/gestures/gestureStateManager.d.ts.map +1 -1
  215. package/lib/typescript/handlers/gestures/hoverGesture.d.ts +6 -0
  216. package/lib/typescript/handlers/gestures/hoverGesture.d.ts.map +1 -1
  217. package/lib/typescript/handlers/gestures/longPressGesture.d.ts +6 -0
  218. package/lib/typescript/handlers/gestures/longPressGesture.d.ts.map +1 -1
  219. package/lib/typescript/handlers/gestures/manualGesture.d.ts +6 -0
  220. package/lib/typescript/handlers/gestures/manualGesture.d.ts.map +1 -1
  221. package/lib/typescript/handlers/gestures/nativeGesture.d.ts +6 -0
  222. package/lib/typescript/handlers/gestures/nativeGesture.d.ts.map +1 -1
  223. package/lib/typescript/handlers/gestures/panGesture.d.ts +9 -0
  224. package/lib/typescript/handlers/gestures/panGesture.d.ts.map +1 -1
  225. package/lib/typescript/handlers/gestures/pinchGesture.d.ts +9 -0
  226. package/lib/typescript/handlers/gestures/pinchGesture.d.ts.map +1 -1
  227. package/lib/typescript/handlers/gestures/reanimatedWrapper.d.ts.map +1 -1
  228. package/lib/typescript/handlers/gestures/rotationGesture.d.ts +6 -0
  229. package/lib/typescript/handlers/gestures/rotationGesture.d.ts.map +1 -1
  230. package/lib/typescript/handlers/gestures/tapGesture.d.ts +6 -0
  231. package/lib/typescript/handlers/gestures/tapGesture.d.ts.map +1 -1
  232. package/lib/typescript/mocks/module.d.ts +1 -1
  233. package/lib/typescript/mocks/module.d.ts.map +1 -1
  234. package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +2 -2
  235. package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts.map +1 -1
  236. package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +19 -11
  237. package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts.map +1 -1
  238. package/lib/typescript/v3/NativeProxy.d.ts +1 -1
  239. package/lib/typescript/v3/NativeProxy.d.ts.map +1 -1
  240. package/lib/typescript/v3/NativeProxy.web.d.ts +1 -1
  241. package/lib/typescript/v3/NativeProxy.web.d.ts.map +1 -1
  242. package/lib/typescript/v3/components/GestureButtons.d.ts +1 -37
  243. package/lib/typescript/v3/components/GestureButtons.d.ts.map +1 -1
  244. package/lib/typescript/v3/components/GestureButtonsProps.d.ts +1 -1
  245. package/lib/typescript/v3/components/GestureButtonsProps.d.ts.map +1 -1
  246. package/lib/typescript/v3/components/GestureComponents.d.ts +3 -0
  247. package/lib/typescript/v3/components/GestureComponents.d.ts.map +1 -1
  248. package/lib/typescript/v3/components/GestureComponents.web.d.ts +4 -0
  249. package/lib/typescript/v3/components/GestureComponents.web.d.ts.map +1 -1
  250. package/lib/typescript/v3/components/Pressable.d.ts.map +1 -1
  251. package/lib/typescript/v3/components/Touchable/Touchable.d.ts.map +1 -1
  252. package/lib/typescript/v3/components/Touchable/TouchableProps.d.ts +48 -1
  253. package/lib/typescript/v3/components/Touchable/TouchableProps.d.ts.map +1 -1
  254. package/lib/typescript/v3/detectors/HostGestureDetector.web.d.ts +1 -1
  255. package/lib/typescript/v3/detectors/HostGestureDetector.web.d.ts.map +1 -1
  256. package/lib/typescript/v3/detectors/NativeDetector.d.ts.map +1 -1
  257. package/lib/typescript/v3/detectors/VirtualDetector/InterceptingGestureDetector.d.ts.map +1 -1
  258. package/lib/typescript/v3/detectors/VirtualDetector/VirtualDetector.d.ts.map +1 -1
  259. package/lib/typescript/v3/detectors/useGestureRelationsUpdater.d.ts +3 -0
  260. package/lib/typescript/v3/detectors/useGestureRelationsUpdater.d.ts.map +1 -0
  261. package/lib/typescript/v3/detectors/useNativeGestureRole.d.ts +3 -0
  262. package/lib/typescript/v3/detectors/useNativeGestureRole.d.ts.map +1 -0
  263. package/lib/typescript/v3/detectors/useNativeGestureRole.web.d.ts +3 -0
  264. package/lib/typescript/v3/detectors/useNativeGestureRole.web.d.ts.map +1 -0
  265. package/lib/typescript/v3/detectors/utils.d.ts +3 -3
  266. package/lib/typescript/v3/detectors/utils.d.ts.map +1 -1
  267. package/lib/typescript/v3/hooks/callbacks/useReanimatedEventHandler.d.ts.map +1 -1
  268. package/lib/typescript/v3/hooks/gestures/fling/useFlingGesture.d.ts +1 -1
  269. package/lib/typescript/v3/hooks/gestures/fling/useFlingGesture.d.ts.map +1 -1
  270. package/lib/typescript/v3/hooks/gestures/hover/useHoverGesture.d.ts +1 -1
  271. package/lib/typescript/v3/hooks/gestures/hover/useHoverGesture.d.ts.map +1 -1
  272. package/lib/typescript/v3/hooks/gestures/longPress/useLongPressGesture.d.ts +1 -1
  273. package/lib/typescript/v3/hooks/gestures/longPress/useLongPressGesture.d.ts.map +1 -1
  274. package/lib/typescript/v3/hooks/gestures/manual/useManualGesture.d.ts +1 -1
  275. package/lib/typescript/v3/hooks/gestures/manual/useManualGesture.d.ts.map +1 -1
  276. package/lib/typescript/v3/hooks/gestures/native/NativeTypes.d.ts +7 -0
  277. package/lib/typescript/v3/hooks/gestures/native/NativeTypes.d.ts.map +1 -1
  278. package/lib/typescript/v3/hooks/gestures/native/useNativeGesture.d.ts +1 -1
  279. package/lib/typescript/v3/hooks/gestures/native/useNativeGesture.d.ts.map +1 -1
  280. package/lib/typescript/v3/hooks/gestures/pan/usePanGesture.d.ts +1 -1
  281. package/lib/typescript/v3/hooks/gestures/pan/usePanGesture.d.ts.map +1 -1
  282. package/lib/typescript/v3/hooks/gestures/pinch/usePinchGesture.d.ts +1 -1
  283. package/lib/typescript/v3/hooks/gestures/pinch/usePinchGesture.d.ts.map +1 -1
  284. package/lib/typescript/v3/hooks/gestures/rotation/useRotationGesture.d.ts +1 -1
  285. package/lib/typescript/v3/hooks/gestures/rotation/useRotationGesture.d.ts.map +1 -1
  286. package/lib/typescript/v3/hooks/gestures/tap/useTapGesture.d.ts +1 -1
  287. package/lib/typescript/v3/hooks/gestures/tap/useTapGesture.d.ts.map +1 -1
  288. package/lib/typescript/v3/hooks/useGesture.d.ts.map +1 -1
  289. package/lib/typescript/v3/hooks/utils/configUtils.d.ts +2 -2
  290. package/lib/typescript/v3/hooks/utils/configUtils.d.ts.map +1 -1
  291. package/lib/typescript/v3/hooks/utils/eventHandlersUtils.d.ts.map +1 -1
  292. package/lib/typescript/v3/hooks/utils/index.d.ts +1 -1
  293. package/lib/typescript/v3/hooks/utils/index.d.ts.map +1 -1
  294. package/lib/typescript/v3/hooks/utils/propsWhiteList.d.ts +2 -2
  295. package/lib/typescript/v3/hooks/utils/propsWhiteList.d.ts.map +1 -1
  296. package/lib/typescript/v3/hooks/utils/reanimatedUtils.d.ts +1 -0
  297. package/lib/typescript/v3/hooks/utils/reanimatedUtils.d.ts.map +1 -1
  298. package/lib/typescript/v3/types/ConfigTypes.d.ts +1 -0
  299. package/lib/typescript/v3/types/ConfigTypes.d.ts.map +1 -1
  300. package/lib/typescript/web/constants.d.ts +1 -0
  301. package/lib/typescript/web/constants.d.ts.map +1 -1
  302. package/lib/typescript/web/detectors/RotationGestureDetector.d.ts.map +1 -1
  303. package/lib/typescript/web/detectors/ScaleGestureDetector.d.ts.map +1 -1
  304. package/lib/typescript/web/handlers/GestureHandler.d.ts +8 -2
  305. package/lib/typescript/web/handlers/GestureHandler.d.ts.map +1 -1
  306. package/lib/typescript/web/handlers/HoverGestureHandler.d.ts +1 -1
  307. package/lib/typescript/web/handlers/HoverGestureHandler.d.ts.map +1 -1
  308. package/lib/typescript/web/handlers/IGestureHandler.d.ts +2 -0
  309. package/lib/typescript/web/handlers/IGestureHandler.d.ts.map +1 -1
  310. package/lib/typescript/web/handlers/ManualGestureHandler.d.ts +1 -0
  311. package/lib/typescript/web/handlers/ManualGestureHandler.d.ts.map +1 -1
  312. package/lib/typescript/web/handlers/NativeViewGestureHandler.d.ts +13 -3
  313. package/lib/typescript/web/handlers/NativeViewGestureHandler.d.ts.map +1 -1
  314. package/lib/typescript/web/handlers/PanGestureHandler.d.ts +1 -0
  315. package/lib/typescript/web/handlers/PanGestureHandler.d.ts.map +1 -1
  316. package/lib/typescript/web/handlers/PinchGestureHandler.d.ts +1 -0
  317. package/lib/typescript/web/handlers/PinchGestureHandler.d.ts.map +1 -1
  318. package/lib/typescript/web/handlers/RotationGestureHandler.d.ts +1 -0
  319. package/lib/typescript/web/handlers/RotationGestureHandler.d.ts.map +1 -1
  320. package/lib/typescript/web/interfaces.d.ts +6 -0
  321. package/lib/typescript/web/interfaces.d.ts.map +1 -1
  322. package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts +1 -0
  323. package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts.map +1 -1
  324. package/lib/typescript/web/tools/GestureLifecycleEvents.d.ts +7 -0
  325. package/lib/typescript/web/tools/GestureLifecycleEvents.d.ts.map +1 -0
  326. package/lib/typescript/web/tools/NodeManager.d.ts +7 -0
  327. package/lib/typescript/web/tools/NodeManager.d.ts.map +1 -1
  328. package/lib/typescript/web/tools/PointerEventManager.d.ts.map +1 -1
  329. package/package.json +3 -3
  330. package/src/RNGestureHandlerModule.web.ts +5 -1
  331. package/src/components/GestureButtons.tsx +33 -16
  332. package/src/components/GestureHandlerButton.tsx +70 -8
  333. package/src/components/GestureHandlerButton.web.tsx +184 -48
  334. package/src/components/Pressable/Pressable.tsx +3 -1
  335. package/src/components/Pressable/PressableProps.tsx +2 -1
  336. package/src/components/Pressable/stateDefinitions.ts +3 -0
  337. package/src/components/ReanimatedDrawerLayout.tsx +27 -23
  338. package/src/components/ReanimatedSwipeable/ReanimatedSwipeable.tsx +51 -5
  339. package/src/components/ReanimatedSwipeable/ReanimatedSwipeableProps.ts +31 -39
  340. package/src/components/touchables/GenericTouchable.tsx +2 -5
  341. package/src/handlers/gestures/GestureDetector/useDetectorUpdater.ts +1 -2
  342. package/src/handlers/gestures/GestureDetector/utils.ts +11 -53
  343. package/src/handlers/gestures/flingGesture.ts +6 -0
  344. package/src/handlers/gestures/forceTouchGesture.ts +3 -3
  345. package/src/handlers/gestures/gesture.ts +6 -0
  346. package/src/handlers/gestures/gestureComposition.ts +21 -0
  347. package/src/handlers/gestures/gestureObjects.ts +27 -1
  348. package/src/handlers/gestures/gestureStateManager.ts +6 -0
  349. package/src/handlers/gestures/hoverGesture.ts +6 -0
  350. package/src/handlers/gestures/longPressGesture.ts +6 -0
  351. package/src/handlers/gestures/manualGesture.ts +6 -0
  352. package/src/handlers/gestures/nativeGesture.ts +6 -0
  353. package/src/handlers/gestures/panGesture.ts +9 -0
  354. package/src/handlers/gestures/pinchGesture.ts +9 -0
  355. package/src/handlers/gestures/reanimatedWrapper.ts +20 -2
  356. package/src/handlers/gestures/rotationGesture.ts +6 -0
  357. package/src/handlers/gestures/tapGesture.ts +6 -0
  358. package/src/mocks/module.tsx +4 -2
  359. package/src/specs/NativeRNGestureHandlerModule.ts +2 -4
  360. package/src/specs/RNGestureHandlerButtonNativeComponent.ts +28 -13
  361. package/src/v3/NativeProxy.ts +9 -7
  362. package/src/v3/NativeProxy.web.ts +2 -2
  363. package/src/v3/components/GestureButtons.tsx +18 -10
  364. package/src/v3/components/GestureButtonsProps.ts +1 -0
  365. package/src/v3/components/Pressable.tsx +2 -1
  366. package/src/v3/components/Touchable/Touchable.tsx +144 -50
  367. package/src/v3/components/Touchable/TouchableProps.ts +64 -2
  368. package/src/v3/detectors/HostGestureDetector.web.tsx +268 -108
  369. package/src/v3/detectors/NativeDetector.tsx +3 -2
  370. package/src/v3/detectors/VirtualDetector/InterceptingGestureDetector.tsx +3 -4
  371. package/src/v3/detectors/VirtualDetector/VirtualDetector.tsx +5 -2
  372. package/src/v3/detectors/useGestureRelationsUpdater.ts +30 -0
  373. package/src/v3/detectors/useNativeGestureRole.ts +8 -0
  374. package/src/v3/detectors/useNativeGestureRole.web.ts +42 -0
  375. package/src/v3/detectors/utils.ts +28 -12
  376. package/src/v3/hooks/callbacks/useReanimatedEventHandler.ts +23 -7
  377. package/src/v3/hooks/gestures/fling/useFlingGesture.ts +5 -1
  378. package/src/v3/hooks/gestures/hover/useHoverGesture.ts +5 -1
  379. package/src/v3/hooks/gestures/longPress/useLongPressGesture.ts +3 -1
  380. package/src/v3/hooks/gestures/manual/useManualGesture.ts +5 -1
  381. package/src/v3/hooks/gestures/native/NativeTypes.ts +13 -1
  382. package/src/v3/hooks/gestures/native/useNativeGesture.ts +5 -1
  383. package/src/v3/hooks/gestures/pan/usePanGesture.ts +5 -1
  384. package/src/v3/hooks/gestures/pinch/usePinchGesture.ts +5 -1
  385. package/src/v3/hooks/gestures/rotation/useRotationGesture.ts +3 -1
  386. package/src/v3/hooks/gestures/tap/useTapGesture.ts +5 -1
  387. package/src/v3/hooks/useGesture.ts +4 -18
  388. package/src/v3/hooks/utils/configUtils.ts +18 -8
  389. package/src/v3/hooks/utils/eventHandlersUtils.ts +43 -32
  390. package/src/v3/hooks/utils/index.ts +0 -1
  391. package/src/v3/hooks/utils/propsWhiteList.ts +1 -0
  392. package/src/v3/hooks/utils/reanimatedUtils.ts +10 -10
  393. package/src/v3/types/ConfigTypes.ts +1 -0
  394. package/src/web/constants.ts +1 -0
  395. package/src/web/detectors/RotationGestureDetector.ts +19 -5
  396. package/src/web/detectors/ScaleGestureDetector.ts +9 -3
  397. package/src/web/handlers/GestureHandler.ts +36 -6
  398. package/src/web/handlers/HoverGestureHandler.ts +2 -5
  399. package/src/web/handlers/IGestureHandler.ts +2 -0
  400. package/src/web/handlers/ManualGestureHandler.ts +2 -0
  401. package/src/web/handlers/NativeViewGestureHandler.ts +122 -19
  402. package/src/web/handlers/PanGestureHandler.ts +2 -0
  403. package/src/web/handlers/PinchGestureHandler.ts +5 -7
  404. package/src/web/handlers/RotationGestureHandler.ts +5 -5
  405. package/src/web/interfaces.ts +7 -0
  406. package/src/web/tools/GestureHandlerOrchestrator.ts +11 -3
  407. package/src/web/tools/GestureLifecycleEvents.ts +14 -0
  408. package/src/web/tools/NodeManager.ts +57 -0
  409. package/src/web/tools/PointerEventManager.ts +12 -0
  410. package/lib/module/RNRenderer.js +0 -6
  411. package/lib/module/RNRenderer.js.map +0 -1
  412. package/lib/module/RNRenderer.web.js +0 -6
  413. package/lib/module/RNRenderer.web.js.map +0 -1
  414. package/lib/typescript/RNRenderer.d.ts +0 -2
  415. package/lib/typescript/RNRenderer.d.ts.map +0 -1
  416. package/lib/typescript/RNRenderer.web.d.ts +0 -4
  417. package/lib/typescript/RNRenderer.web.d.ts.map +0 -1
  418. package/src/RNRenderer.ts +0 -3
  419. package/src/RNRenderer.web.ts +0 -3
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/handlers/gestures/GestureDetector/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAEV,QAAQ,EAET,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAK1D,eAAO,MAAM,aAAa,UAUzB,CAAC;AAsBF,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,WAAW;;;;EAgB3D;AAED,wBAAgB,gCAAgC,CAAC,OAAO,EAAE,WAAW,QAsCpE;AAGD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,GAAG,QA+ChD;AAED,wBAAgB,cAAc,eAO7B;AAED,wBAAgB,mBAAmB,wCAYlC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/handlers/gestures/GestureDetector/utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,QAAQ,EAET,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAK1D,eAAO,MAAM,aAAa,UAUzB,CAAC;AAgCF,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,WAAW;;;;EAgB3D;AAED,wBAAgB,gCAAgC,CAAC,OAAO,EAAE,WAAW,QAsCpE;AAED,wBAAgB,cAAc,eAO7B;AAED,wBAAgB,mBAAmB,wCAYlC"}
@@ -2,6 +2,9 @@ import type { FlingGestureConfig } from '../FlingGestureHandler';
2
2
  import type { FlingGestureHandlerEventPayload } from '../GestureHandlerEventPayload';
3
3
  import type { BaseGestureConfig } from './gesture';
4
4
  import { BaseGesture } from './gesture';
5
+ /**
6
+ * @deprecated `FlingGesture` is deprecated and will be removed in the future. Please use `useFlingGesture` instead.
7
+ */
5
8
  export declare class FlingGesture extends BaseGesture<FlingGestureHandlerEventPayload> {
6
9
  config: BaseGestureConfig & FlingGestureConfig;
7
10
  constructor();
@@ -19,5 +22,8 @@ export declare class FlingGesture extends BaseGesture<FlingGestureHandlerEventPa
19
22
  */
20
23
  direction(direction: number): this;
21
24
  }
25
+ /**
26
+ * @deprecated `FlingGestureType` is deprecated and will be removed in the future. Please use `FlingGesture` instead.
27
+ */
22
28
  export type FlingGestureType = InstanceType<typeof FlingGesture>;
23
29
  //# sourceMappingURL=flingGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flingGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/flingGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,YAAa,SAAQ,WAAW,CAAC,+BAA+B,CAAC;IAC5D,MAAM,EAAE,iBAAiB,GAAG,kBAAkB,CAAM;;IAQpE;;;OAGG;IACH,gBAAgB,CAAC,QAAQ,EAAE,MAAM;IAKjC;;;;;;OAMG;IACH,SAAS,CAAC,SAAS,EAAE,MAAM;CAI5B;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"flingGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/flingGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW,CAAC,+BAA+B,CAAC;IAC5D,MAAM,EAAE,iBAAiB,GAAG,kBAAkB,CAAM;;IAQpE;;;OAGG;IACH,gBAAgB,CAAC,QAAQ,EAAE,MAAM;IAKjC;;;;;;OAMG;IACH,SAAS,CAAC,SAAS,EAAE,MAAM;CAI5B;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -4,13 +4,13 @@ import type { ForceTouchGestureHandlerEventPayload } from '../GestureHandlerEven
4
4
  import type { BaseGestureConfig } from './gesture';
5
5
  import { ContinousBaseGesture } from './gesture';
6
6
  /**
7
- * @deprecated ForceTouch gesture is deprecated and will be removed in the future.
7
+ * @deprecated `ForceTouchGestureChangeEventPayload` is deprecated and will be removed in the future.
8
8
  */
9
9
  export type ForceTouchGestureChangeEventPayload = {
10
10
  forceChange: number;
11
11
  };
12
12
  /**
13
- * @deprecated ForceTouch gesture is deprecated and will be removed in the future.
13
+ * @deprecated `ForceTouchGesture` is deprecated and will be removed in the future.
14
14
  */
15
15
  export declare class ForceTouchGesture extends ContinousBaseGesture<ForceTouchGestureHandlerEventPayload, ForceTouchGestureChangeEventPayload> {
16
16
  config: BaseGestureConfig & ForceTouchGestureConfig;
@@ -35,7 +35,7 @@ export declare class ForceTouchGesture extends ContinousBaseGesture<ForceTouchGe
35
35
  onChange(callback: (event: GestureUpdateEvent<GestureUpdateEvent<ForceTouchGestureHandlerEventPayload & ForceTouchGestureChangeEventPayload>>) => void): this;
36
36
  }
37
37
  /**
38
- * @deprecated ForceTouch gesture is deprecated and will be removed in the future.
38
+ * @deprecated `ForceTouchGestureType` is deprecated and will be removed in the future.
39
39
  */
40
40
  export type ForceTouchGestureType = InstanceType<typeof ForceTouchGesture>;
41
41
  //# sourceMappingURL=forceTouchGesture.d.ts.map
@@ -1,7 +1,13 @@
1
1
  import type { ActiveCursor, CommonGestureConfig, GestureStateChangeEvent, GestureTouchEvent, GestureUpdateEvent, HitSlop, MouseButton } from '../gestureHandlerCommon';
2
2
  import type { FlingGestureHandlerEventPayload, ForceTouchGestureHandlerEventPayload, HoverGestureHandlerEventPayload, LongPressGestureHandlerEventPayload, NativeViewGestureHandlerPayload, PanGestureHandlerEventPayload, PinchGestureHandlerEventPayload, RotationGestureHandlerEventPayload, TapGestureHandlerEventPayload } from '../GestureHandlerEventPayload';
3
3
  import type { GestureStateManagerType } from './gestureStateManager';
4
+ /**
5
+ * @deprecated `GestureType` is deprecated and will be removed in the future. Please use `SingleGesture` instead.
6
+ */
4
7
  export type GestureType = BaseGesture<Record<string, unknown>> | BaseGesture<Record<string, never>> | BaseGesture<TapGestureHandlerEventPayload> | BaseGesture<PanGestureHandlerEventPayload> | BaseGesture<LongPressGestureHandlerEventPayload> | BaseGesture<RotationGestureHandlerEventPayload> | BaseGesture<PinchGestureHandlerEventPayload> | BaseGesture<FlingGestureHandlerEventPayload> | BaseGesture<ForceTouchGestureHandlerEventPayload> | BaseGesture<NativeViewGestureHandlerPayload> | BaseGesture<HoverGestureHandlerEventPayload>;
8
+ /**
9
+ * @deprecated `GestureRef` is deprecated and will be removed in the future.
10
+ */
5
11
  export type GestureRef = number | GestureType | React.RefObject<GestureType | undefined> | React.RefObject<React.ComponentType | undefined | null>;
6
12
  export interface BaseGestureConfig extends CommonGestureConfig, Record<string, unknown> {
7
13
  ref?: React.MutableRefObject<GestureType | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"gesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/gesture.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,OAAO,EACP,WAAW,EACZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACV,+BAA+B,EAC/B,oCAAoC,EACpC,+BAA+B,EAC/B,mCAAmC,EACnC,+BAA+B,EAC/B,6BAA6B,EAC7B,+BAA+B,EAC/B,kCAAkC,EAClC,6BAA6B,EAC9B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAErE,MAAM,MAAM,WAAW,GACnB,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACpC,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,GAClC,WAAW,CAAC,6BAA6B,CAAC,GAC1C,WAAW,CAAC,6BAA6B,CAAC,GAC1C,WAAW,CAAC,mCAAmC,CAAC,GAChD,WAAW,CAAC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P,IAAI,mBAAmB,IAAI,OAAO,CASjC;CACF;AAED,8BAAsB,oBAAoB,CACxC,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7C,mBAAmB,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CACnD,SAAQ,WAAW,CAAC,aAAa,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,aAAa,CAAC,KAAK,IAAI;IAMrE;;;;OAIG;IACH,QAAQ,CACN,QAAQ,EAAE,CACR,KAAK,EAAE,kBAAkB,CAAC,aAAa,GAAG,mBAAmB,CAAC,KAC3D,IAAI;IAOX;;;;OAIG;IACH,gBAAgB,CAAC,gBAAgB,EAAE,OAAO;CAI3C"}
@@ -1,5 +1,8 @@
1
1
  import type { GestureType } from './gesture';
2
2
  import { Gesture } from './gesture';
3
+ /**
4
+ * @deprecated `ComposedGesture` is deprecated and will be removed in the future. Please use `useCompetingGestures` instead.
5
+ */
3
6
  export declare class ComposedGesture extends Gesture {
4
7
  protected gestures: Gesture[];
5
8
  protected simultaneousGestures: GestureType[];
@@ -10,14 +13,32 @@ export declare class ComposedGesture extends Gesture {
10
13
  initialize(): void;
11
14
  toGestureArray(): GestureType[];
12
15
  }
16
+ /**
17
+ * @deprecated `SimultaneousGesture` is deprecated and will be removed in the future. Please use `useSimultaneousGestures` instead.
18
+ */
13
19
  export declare class SimultaneousGesture extends ComposedGesture {
14
20
  prepare(): void;
15
21
  }
22
+ /**
23
+ * @deprecated `ExclusiveGesture` is deprecated and will be removed in the future. Please use `useExclusiveGestures` instead.
24
+ */
16
25
  export declare class ExclusiveGesture extends ComposedGesture {
17
26
  prepare(): void;
18
27
  }
28
+ /**
29
+ * @deprecated `ComposedGestureType` is deprecated and will be removed in the future. Please use `ComposedGesture` instead.
30
+ */
19
31
  export type ComposedGestureType = InstanceType<typeof ComposedGesture>;
32
+ /**
33
+ * @deprecated `RaceGestureType` is deprecated and will be removed in the future. Please use `ComposedGesture` instead.
34
+ */
20
35
  export type RaceGestureType = ComposedGestureType;
36
+ /**
37
+ * @deprecated `SimultaneousGestureType` is deprecated and will be removed in the future. Please use `ComposedGesture` instead.
38
+ */
21
39
  export type SimultaneousGestureType = InstanceType<typeof SimultaneousGesture>;
40
+ /**
41
+ * @deprecated `ExclusiveGestureType` is deprecated and will be removed in the future. Please use `ComposedGesture` instead.
42
+ */
22
43
  export type ExclusiveGestureType = InstanceType<typeof ExclusiveGesture>;
23
44
  //# sourceMappingURL=gestureComposition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gestureComposition.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/gestureComposition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAe,OAAO,EAAE,MAAM,WAAW,CAAC;AAajD,qBAAa,eAAgB,SAAQ,OAAO;IAC1C,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE,CAAM;IACnC,SAAS,CAAC,oBAAoB,EAAE,WAAW,EAAE,CAAM;IACnD,SAAS,CAAC,qBAAqB,EAAE,WAAW,EAAE,CAAM;gBAExC,GAAG,QAAQ,EAAE,OAAO,EAAE;IAKlC,SAAS,CAAC,oBAAoB,CAC5B,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,WAAW,EAAE,EACnC,qBAAqB,EAAE,WAAW,EAAE;IAwBtC,OAAO;IAUP,UAAU;IAMV,cAAc,IAAI,WAAW,EAAE;CAGhC;AAED,qBAAa,mBAAoB,SAAQ,eAAe;IAC7C,OAAO;CAuBjB;AAED,qBAAa,gBAAiB,SAAQ,eAAe;IAC1C,OAAO;CAoBjB;AAED,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC;AACvE,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAClD,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAC/E,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"gestureComposition.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/gestureComposition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAe,OAAO,EAAE,MAAM,WAAW,CAAC;AAajD;;GAEG;AACH,qBAAa,eAAgB,SAAQ,OAAO;IAC1C,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE,CAAM;IACnC,SAAS,CAAC,oBAAoB,EAAE,WAAW,EAAE,CAAM;IACnD,SAAS,CAAC,qBAAqB,EAAE,WAAW,EAAE,CAAM;gBAExC,GAAG,QAAQ,EAAE,OAAO,EAAE;IAKlC,SAAS,CAAC,oBAAoB,CAC5B,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,WAAW,EAAE,EACnC,qBAAqB,EAAE,WAAW,EAAE;IAwBtC,OAAO;IAUP,UAAU;IAMV,cAAc,IAAI,WAAW,EAAE;CAGhC;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,eAAe;IAC7C,OAAO;CAuBjB;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,eAAe;IAC1C,OAAO;CAoBjB;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC;AACvE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAClD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAC/E;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -11,6 +11,8 @@ import { PinchGesture } from './pinchGesture';
11
11
  import { RotationGesture } from './rotationGesture';
12
12
  import { TapGesture } from './tapGesture';
13
13
  /**
14
+ * @deprecated `Gesture` builder API is deprecated and will be removed in a future version of Gesture Handler. Please migrate to the new, hook-based API.
15
+ *
14
16
  * `Gesture` is the object that allows you to create and compose gestures.
15
17
  *
16
18
  * ### Remarks
@@ -20,37 +22,49 @@ import { TapGesture } from './tapGesture';
20
22
  */
21
23
  export declare const GestureObjects: {
22
24
  /**
25
+ * @deprecated `Gesture.Tap()` is deprecated and will be removed in the future. Please use `useTapGesture` instead.
26
+ *
23
27
  * A discrete gesture that recognizes one or many taps.
24
28
  * @see https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/tap-gesture
25
29
  */
26
30
  Tap: () => TapGesture;
27
31
  /**
32
+ * @deprecated `Gesture.Pan()` is deprecated and will be removed in the future. Please use `usePanGesture` instead.
33
+ *
28
34
  * A continuous gesture that can recognize a panning (dragging) gesture and track its movement.
29
35
  * @see https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/pan-gesture
30
36
  */
31
37
  Pan: () => PanGesture;
32
38
  /**
39
+ * @deprecated `Gesture.Pinch()` is deprecated and will be removed in the future. Please use `usePinchGesture` instead.
40
+ *
33
41
  * A continuous gesture that recognizes pinch gesture. It allows for tracking the distance between two fingers and use that information to scale or zoom your content.
34
42
  * @see https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/pinch-gesture
35
43
  */
36
44
  Pinch: () => PinchGesture;
37
45
  /**
46
+ * @deprecated `Gesture.Rotation()` is deprecated and will be removed in the future. Please use `useRotationGesture` instead.
47
+ *
38
48
  * A continuous gesture that can recognize rotation and track its movement.
39
49
  * @see https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/rotation-gesture
40
50
  */
41
51
  Rotation: () => RotationGesture;
42
52
  /**
53
+ * @deprecated `Gesture.Fling()` is deprecated and will be removed in the future. Please use `useFlingGesture` instead.
54
+ *
43
55
  * A discrete gesture that activates when the movement is sufficiently fast.
44
56
  * @see https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/fling-gesture
45
57
  */
46
58
  Fling: () => FlingGesture;
47
59
  /**
60
+ * @deprecated `Gesture.LongPress()` is deprecated and will be removed in the future. Please use `useLongPressGesture` instead.
61
+ *
48
62
  * A discrete gesture that activates when the corresponding view is pressed for a sufficiently long time.
49
63
  * @see https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/long-press-gesture
50
64
  */
51
65
  LongPress: () => LongPressGesture;
52
66
  /**
53
- * @deprecated ForceTouch gesture is deprecated and will be removed in the future.
67
+ * @deprecated `Gesture.ForceTouch()` is deprecated and will be removed in the future.
54
68
  *
55
69
  * #### iOS only
56
70
  * A continuous gesture that recognizes force of a touch. It allows for tracking pressure of touch on some iOS devices.
@@ -58,12 +72,16 @@ export declare const GestureObjects: {
58
72
  */
59
73
  ForceTouch: () => ForceTouchGesture;
60
74
  /**
75
+ * @deprecated `Gesture.Native()` is deprecated and will be removed in the future. Please use `useNativeGesture` instead.
76
+ *
61
77
  * A gesture that allows other touch handling components to participate in RNGH's gesture system.
62
78
  * When used, the other component should be the direct child of a `GestureDetector`.
63
79
  * @see https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/native-gesture
64
80
  */
65
81
  Native: () => NativeGesture;
66
82
  /**
83
+ * @deprecated `Gesture.Manual()` is deprecated and will be removed in the future. Please use `useManualGesture` instead.
84
+ *
67
85
  * A plain gesture that has no specific activation criteria nor event data set.
68
86
  * Its state has to be controlled manually using a state manager.
69
87
  * It will not fail when all the pointers are lifted from the screen.
@@ -71,6 +89,8 @@ export declare const GestureObjects: {
71
89
  */
72
90
  Manual: () => ManualGesture;
73
91
  /**
92
+ * @deprecated `Gesture.Hover()` is deprecated and will be removed in the future. Please use `useHoverGesture` instead.
93
+ *
74
94
  * A continuous gesture that can recognize hovering above the view it's attached to.
75
95
  * The hover effect may be activated by moving a mouse or a stylus over the view.
76
96
  *
@@ -78,17 +98,23 @@ export declare const GestureObjects: {
78
98
  */
79
99
  Hover: () => HoverGesture;
80
100
  /**
101
+ * @deprecated `Gesture.Race()` is deprecated and will be removed in the future. Please use `useCompetingGestures` instead.
102
+ *
81
103
  * Builds a composed gesture consisting of gestures provided as parameters.
82
104
  * The first one that becomes active cancels the rest of gestures.
83
105
  * @see https://docs.swmansion.com/react-native-gesture-handler/docs/fundamentals/gesture-composition/#race
84
106
  */
85
107
  Race: (...gestures: Gesture[]) => ComposedGesture;
86
108
  /**
109
+ * @deprecated `Gesture.Simultaneous()` is deprecated and will be removed in the future. Please use `useSimultaneousGestures` instead.
110
+ *
87
111
  * Builds a composed gesture that allows all base gestures to run simultaneously.
88
112
  * @see https://docs.swmansion.com/react-native-gesture-handler/docs/fundamentals/gesture-composition/#simultaneous
89
113
  */
90
114
  Simultaneous(...gestures: Gesture[]): SimultaneousGesture;
91
115
  /**
116
+ * @deprecated `Gesture.Exclusive()` is deprecated and will be removed in the future. Please use `useExclusiveGestures` instead.
117
+ *
92
118
  * Builds a composed gesture where only one of the provided gestures can become active.
93
119
  * Priority is decided through the order of gestures: the first one has higher priority
94
120
  * than the second one, second one has higher priority than the third one, and so on.
@@ -1 +1 @@
1
- {"version":3,"file":"gestureObjects.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/gestureObjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MA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;AAE1C;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc;IACzB;;;;;OAKG;;IAKH;;;;;OAKG;;IAKH;;;;;OAKG;;IAKH;;;;;OAKG;;IAKH;;;;;OAKG;;IAKH;;;;;OAKG;;IAKH;;;;;;OAMG;;IAKH;;;;;;OAMG;;IAKH;;;;;;;OAOG;;IAKH;;;;;;;OAOG;;IAKH;;;;;;OAMG;wBACiB,OAAO,EAAE;IAI7B;;;;;OAKG;8BACuB,OAAO,EAAE;IAInC;;;;;;;;;OASG;2BACoB,OAAO,EAAE;CAGjC,CAAC"}
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @deprecated `LegacyGestureStateManagerType` is deprecated and will be removed in the future. Please use the new, hook-based API instead.
3
+ */
1
4
  export interface GestureStateManagerType {
2
5
  begin: () => void;
3
6
  activate: () => void;
@@ -7,6 +10,9 @@ export interface GestureStateManagerType {
7
10
  handlerTag: number;
8
11
  }
9
12
  declare function create(handlerTag: number): GestureStateManagerType;
13
+ /**
14
+ * @deprecated `LegacyGestureStateManager` is deprecated and will be removed in the future. Please use the new, hook-based API instead.
15
+ */
10
16
  export declare const GestureStateManager: {
11
17
  create: typeof create;
12
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"gestureStateManager.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/gestureStateManager.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,GAAG,EAAE,MAAM,IAAI,CAAC;IAChB,gBAAgB;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB;AAcD,iBAAS,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,uBAAuB,CAyB3D;AAED,eAAO,MAAM,mBAAmB;;CAE/B,CAAC"}
1
+ {"version":3,"file":"gestureStateManager.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/gestureStateManager.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,GAAG,EAAE,MAAM,IAAI,CAAC;IAChB,gBAAgB;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB;AAcD,iBAAS,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,uBAAuB,CAyB3D;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB;;CAE/B,CAAC"}
@@ -15,6 +15,9 @@ export interface HoverGestureConfig {
15
15
  hoverEffect?: HoverEffect;
16
16
  }
17
17
  export declare const hoverGestureHandlerProps: readonly ["hoverEffect"];
18
+ /**
19
+ * @deprecated `HoverGesture` is deprecated and will be removed in the future. Please use `useHoverGesture` instead.
20
+ */
18
21
  export declare class HoverGesture extends ContinousBaseGesture<HoverGestureHandlerEventPayload, HoverGestureChangeEventPayload> {
19
22
  config: BaseGestureConfig & HoverGestureConfig;
20
23
  constructor();
@@ -25,5 +28,8 @@ export declare class HoverGesture extends ContinousBaseGesture<HoverGestureHandl
25
28
  effect(effect: HoverEffect): this;
26
29
  onChange(callback: (event: GestureUpdateEvent<HoverGestureHandlerEventPayload & HoverGestureChangeEventPayload>) => void): this;
27
30
  }
31
+ /**
32
+ * @deprecated `HoverGestureType` is deprecated and will be removed in the future. Please use `HoverGesture` instead.
33
+ */
28
34
  export type HoverGestureType = InstanceType<typeof HoverGesture>;
29
35
  //# sourceMappingURL=hoverGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hoverGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/hoverGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,C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;IACR,SAAS,IAAI;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,eAAO,MAAM,wBAAwB,0BAA2B,CAAC;AAuBjE;;GAEG;AACH,qBAAa,YAAa,SAAQ,oBAAoB,CACpD,+BAA+B,EAC/B,8BAA8B,CAC/B;IACiB,MAAM,EAAE,iBAAiB,GAAG,kBAAkB,CAAM;;IAQpE;;;OAGG;IACH,MAAM,CAAC,MAAM,EAAE,WAAW;IAKjB,QAAQ,CACf,QAAQ,EAAE,CACR,KAAK,EAAE,kBAAkB,CACvB,+BAA+B,GAAG,8BAA8B,CACjE,KACE,IAAI;CAMZ;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -2,6 +2,9 @@ import type { LongPressGestureHandlerEventPayload } from '../GestureHandlerEvent
2
2
  import type { LongPressGestureConfig } from '../LongPressGestureHandler';
3
3
  import type { BaseGestureConfig } from './gesture';
4
4
  import { BaseGesture } from './gesture';
5
+ /**
6
+ * @deprecated `LongPressGesture` is deprecated and will be removed in the future. Please use `useLongPressGesture` instead.
7
+ */
5
8
  export declare class LongPressGesture extends BaseGesture<LongPressGestureHandlerEventPayload> {
6
9
  config: BaseGestureConfig & LongPressGestureConfig;
7
10
  constructor();
@@ -23,5 +26,8 @@ export declare class LongPressGesture extends BaseGesture<LongPressGestureHandle
23
26
  */
24
27
  numberOfPointers(pointers: number): this;
25
28
  }
29
+ /**
30
+ * @deprecated `LongPressGestureType` is deprecated and will be removed in the future. Please use `LongPressGesture` instead.
31
+ */
26
32
  export type LongPressGestureType = InstanceType<typeof LongPressGesture>;
27
33
  //# sourceMappingURL=longPressGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"longPressGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/longPressGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mCAAmC,E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
  import type { GestureUpdateEvent } from '../gestureHandlerCommon';
2
2
  import { ContinousBaseGesture } from './gesture';
3
+ /**
4
+ * @deprecated `ManualGesture` is deprecated and will be removed in the future. Please use `useManualGesture` instead.
5
+ */
3
6
  export declare class ManualGesture extends ContinousBaseGesture<Record<string, never>, Record<string, never>> {
4
7
  constructor();
5
8
  onChange(callback: (event: GestureUpdateEvent<Record<string, never>>) => void): this;
6
9
  }
10
+ /**
11
+ * @deprecated `ManualGestureType` is deprecated and will be removed in the future. Please use `ManualGesture` instead.
12
+ */
7
13
  export type ManualGestureType = InstanceType<typeof ManualGesture>;
8
14
  //# sourceMappingURL=manualGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"manualGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/manualGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAUjD,qBAAa,aAAc,SAAQ,oBAAoB,CACrD,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CACtB;;IAOU,QAAQ,CACf,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,KAAK,IAAI;CAMvE;AAED,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"manualGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/manualGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAUjD;;GAEG;AACH,qBAAa,aAAc,SAAQ,oBAAoB,CACrD,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CACtB;;IAOU,QAAQ,CACf,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,KAAK,IAAI;CAMvE;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -2,6 +2,9 @@ import type { NativeViewGestureHandlerPayload } from '../GestureHandlerEventPayl
2
2
  import type { NativeViewGestureConfig } from '../NativeViewGestureHandler';
3
3
  import type { BaseGestureConfig } from './gesture';
4
4
  import { BaseGesture } from './gesture';
5
+ /**
6
+ * @deprecated `NativeGesture` is deprecated and will be removed in the future. Please use `useNativeGesture` instead.
7
+ */
5
8
  export declare class NativeGesture extends BaseGesture<NativeViewGestureHandlerPayload> {
6
9
  config: BaseGestureConfig & NativeViewGestureConfig;
7
10
  constructor();
@@ -16,5 +19,8 @@ export declare class NativeGesture extends BaseGesture<NativeViewGestureHandlerP
16
19
  */
17
20
  disallowInterruption(value: boolean): this;
18
21
  }
22
+ /**
23
+ * @deprecated `NativeGestureType` is deprecated and will be removed in the future. Please use `NativeGesture` instead.
24
+ */
19
25
  export type NativeGestureType = InstanceType<typeof NativeGesture>;
20
26
  //# sourceMappingURL=nativeGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nativeGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/nativeGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,aAAc,SAAQ,WAAW,CAAC,+BAA+B,CAAC;IAC7D,MAAM,EAAE,iBAAiB,GAAG,uBAAuB,CAAM;;IAQzE;;;OAGG;IACH,qBAAqB,CAAC,KAAK,EAAE,OAAO;IAKpC;;;OAGG;IACH,oBAAoB,CAAC,KAAK,EAAE,OAAO;CAIpC;AAED,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"nativeGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/nativeGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW,CAAC,+BAA+B,CAAC;IAC7D,MAAM,EAAE,iBAAiB,GAAG,uBAAuB,CAAM;;IAQzE;;;OAGG;IACH,qBAAqB,CAAC,KAAK,EAAE,OAAO;IAKpC;;;OAGG;IACH,oBAAoB,CAAC,KAAK,EAAE,OAAO;CAIpC;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -3,10 +3,16 @@ import type { PanGestureHandlerEventPayload } from '../GestureHandlerEventPayloa
3
3
  import type { PanGestureConfig } from '../PanGestureHandler';
4
4
  import type { BaseGestureConfig } from './gesture';
5
5
  import { ContinousBaseGesture } from './gesture';
6
+ /**
7
+ * @deprecated `PanGestureChangeEventPayload` is deprecated and will be removed in the future. Please use `PanGestureActiveEvent` instead.
8
+ */
6
9
  export type PanGestureChangeEventPayload = {
7
10
  changeX: number;
8
11
  changeY: number;
9
12
  };
13
+ /**
14
+ * @deprecated `PanGesture` is deprecated and will be removed in the future. Please use `usePanGesture` instead.
15
+ */
10
16
  export declare class PanGesture extends ContinousBaseGesture<PanGestureHandlerEventPayload, PanGestureChangeEventPayload> {
11
17
  config: BaseGestureConfig & PanGestureConfig;
12
18
  constructor();
@@ -88,5 +94,8 @@ export declare class PanGesture extends ContinousBaseGesture<PanGestureHandlerEv
88
94
  activateAfterLongPress(duration: number): this;
89
95
  onChange(callback: (event: GestureUpdateEvent<PanGestureHandlerEventPayload & PanGestureChangeEventPayload>) => void): this;
90
96
  }
97
+ /**
98
+ * @deprecated `PanGestureType` is deprecated and will be removed in the future. Please use `PanGesture` instead.
99
+ */
91
100
  export type PanGestureType = InstanceType<typeof PanGesture>;
92
101
  //# sourceMappingURL=panGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"panGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/panGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAuBF,qBAAa,UAAW,SAAQ,oBAAoB,CAClD,6BAA6B,EAC7B,4BAA4B,CAC7B;IACiB,MAAM,EAAE,iBAAiB,GAAG,gBAAgB,CAAM;;IAQlE;;;;OAIG;IACH,aAAa,CACX,MAAM,EAAE,MAAM,GAAG,CAAC,kBAAkB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,CAAC;IAazE;;;;OAIG;IACH,aAAa,CACX,MAAM,EAAE,MAAM,GAAG,CAAC,kBAAkB,EAAE,MAAM,EAA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Q,CACf,QAAQ,EAAE,CACR,KAAK,EAAE,kBAAkB,CACvB,6BAA6B,GAAG,4BAA4B,CAC7D,KACE,IAAI;CAMZ;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -1,12 +1,21 @@
1
1
  import type { GestureUpdateEvent } from '../gestureHandlerCommon';
2
2
  import type { PinchGestureHandlerEventPayload } from '../GestureHandlerEventPayload';
3
3
  import { ContinousBaseGesture } from './gesture';
4
+ /**
5
+ * @deprecated `PinchGestureChangeEventPayload` is deprecated and will be removed in the future. Please use `PinchGestureActiveEvent` instead.
6
+ */
4
7
  export type PinchGestureChangeEventPayload = {
5
8
  scaleChange: number;
6
9
  };
10
+ /**
11
+ * @deprecated `PinchGesture` is deprecated and will be removed in the future. Please use `usePinchGesture` instead.
12
+ */
7
13
  export declare class PinchGesture extends ContinousBaseGesture<PinchGestureHandlerEventPayload, PinchGestureChangeEventPayload> {
8
14
  constructor();
9
15
  onChange(callback: (event: GestureUpdateEvent<PinchGestureHandlerEventPayload & PinchGestureChangeEventPayload>) => void): this;
10
16
  }
17
+ /**
18
+ * @deprecated `PinchGestureType` is deprecated and will be removed in the future. Please use `PinchGesture` instead.
19
+ */
11
20
  export type PinchGestureType = InstanceType<typeof PinchGesture>;
12
21
  //# sourceMappingURL=pinchGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pinchGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/pinchGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAqBF,qBAAa,YAAa,SAAQ,oBAAoB,CACpD,+BAA+B,EAC/B,8BAA8B,CAC/B;;IAOU,QAAQ,CACf,QAAQ,EAAE,CACR,KAAK,EAAE,kBAAkB,CACvB,+BAA+B,GAAG,8BAA8B,CACjE,KACE,IAAI;CAMZ;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"pinchGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/pinchGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAqBF;;GAEG;AACH,qBAAa,YAAa,SAAQ,oBAAoB,CACpD,+BAA+B,EAC/B,8BAA8B,CAC/B;;IAOU,QAAQ,CACf,QAAQ,EAAE,CACR,KAAK,EAAE,kBAAkB,CACvB,+BAA+B,GAAG,8BAA8B,CACjE,KACE,IAAI;CAMZ;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reanimatedWrapper.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/reanimatedWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,KAAK,EACV,gBAAgB,EAChB,iCAAiC,EACjC,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,iBAAiB,CAAC,YAAY,IAAI;IAC5C,eAAe,EAAE,iCAAiC,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;CAC9E,CAAC;AAEF,U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,CAAC,GAAG,IAAI,CAAC,EAAE,GACxC,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACtB,OAAO,CAAC,CAAC,SAAS,GAAG,EAAE,EAAE,CAAC,EACxB,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,GACpB,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;CAC7C,GACD,SAAS,CAAC;AA+Cd,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -4,10 +4,16 @@ import { ContinousBaseGesture } from './gesture';
4
4
  type RotationGestureChangeEventPayload = {
5
5
  rotationChange: number;
6
6
  };
7
+ /**
8
+ * @deprecated `RotationGesture` is deprecated and will be removed in the future. Please use `useRotationGesture` instead.
9
+ */
7
10
  export declare class RotationGesture extends ContinousBaseGesture<RotationGestureHandlerEventPayload, RotationGestureChangeEventPayload> {
8
11
  constructor();
9
12
  onChange(callback: (event: GestureUpdateEvent<RotationGestureHandlerEventPayload & RotationGestureChangeEventPayload>) => void): this;
10
13
  }
14
+ /**
15
+ * @deprecated `RotationGestureType` is deprecated and will be removed in the future. Please use `RotationGesture` instead.
16
+ */
11
17
  export type RotationGestureType = InstanceType<typeof RotationGesture>;
12
18
  export {};
13
19
  //# sourceMappingURL=rotationGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rotationGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/rotationGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,+BAA+B,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,KAAK,iCAAiC,GAAG;IACvC,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAqBF,qBAAa,eAAgB,SAAQ,oBAAoB,CACvD,kCAAkC,EAClC,iCAAiC,CAClC;;IAOU,QAAQ,CACf,QAAQ,EAAE,CACR,KAAK,EAAE,kBAAkB,CACvB,kCAAkC,GAAG,iCAAiC,CACvE,KACE,IAAI;CAMZ;AAED,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"rotationGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/rotationGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,+BAA+B,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,KAAK,iCAAiC,GAAG;IACvC,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAqBF;;GAEG;AACH,qBAAa,eAAgB,SAAQ,oBAAoB,CACvD,kCAAkC,EAClC,iCAAiC,CAClC;;IAOU,QAAQ,CACf,QAAQ,EAAE,CACR,KAAK,EAAE,kBAAkB,CACvB,kCAAkC,GAAG,iCAAiC,CACvE,KACE,IAAI;CAMZ;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -2,6 +2,9 @@ import type { TapGestureHandlerEventPayload } from '../GestureHandlerEventPayloa
2
2
  import type { TapGestureConfig } from '../TapGestureHandler';
3
3
  import type { BaseGestureConfig } from './gesture';
4
4
  import { BaseGesture } from './gesture';
5
+ /**
6
+ * @deprecated `TapGesture` is deprecated and will be removed in the future. Please use `useTapGesture` instead.
7
+ */
5
8
  export declare class TapGesture extends BaseGesture<TapGestureHandlerEventPayload> {
6
9
  config: BaseGestureConfig & TapGestureConfig;
7
10
  constructor();
@@ -48,5 +51,8 @@ export declare class TapGesture extends BaseGesture<TapGestureHandlerEventPayloa
48
51
  */
49
52
  maxDeltaY(delta: number): this;
50
53
  }
54
+ /**
55
+ * @deprecated `TapGestureType` is deprecated and will be removed in the future. Please use `TapGesture` instead.
56
+ */
51
57
  export type TapGestureType = InstanceType<typeof TapGesture>;
52
58
  //# sourceMappingURL=tapGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tapGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/tapGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,UAAW,SAAQ,WAAW,CAAC,6BAA6B,CAAC;IACxD,MAAM,EAAE,iBAAiB,GAAG,gBAAgB,CAAM;;IASlE;;;;OAIG;IACH,WAAW,CAAC,WAAW,EAAE,MAAM;IAK/B;;;;OAIG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM;IAK1B;;;;OAIG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM;IAK3B;;;;OAIG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM;IAK5B;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM;IAKtB;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM;IAKvB;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM;CAIxB;AAED,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"tapGesture.d.ts","sourceRoot":"","sources":["../../../../src/handlers/gestures/tapGesture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW,CAAC,6BAA6B,CAAC;IACxD,MAAM,EAAE,iBAAiB,GAAG,gBAAgB,CAAM;;IASlE;;;;OAIG;IACH,WAAW,CAAC,WAAW,EAAE,MAAM;IAK/B;;;;OAIG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM;IAK1B;;;;OAIG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM;IAK3B;;;;OAIG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM;IAK5B;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM;IAKtB;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM;IAKvB;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM;CAIxB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -5,7 +5,7 @@ declare const _default: {
5
5
  readonly setGestureHandlerConfig: () => void;
6
6
  readonly updateGestureHandlerConfig: () => void;
7
7
  readonly configureRelations: () => void;
8
- readonly setReanimatedAvailable: () => void;
8
+ readonly installUIRuntimeBindings: () => boolean;
9
9
  readonly flushOperations: () => void;
10
10
  readonly install: () => void;
11
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/mocks/module.tsx"],"names":[],"mappings":";;;;;;;;;;;AAcA,wBAUW"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/mocks/module.tsx"],"names":[],"mappings":";;;;;;;;;;;AAgBA,wBAUW"}
@@ -1,14 +1,14 @@
1
1
  import type { TurboModule } from 'react-native';
2
2
  import type { Double } from 'react-native/Libraries/Types/CodegenTypes';
3
3
  export interface Spec extends TurboModule {
4
- createGestureHandler: (handlerName: string, handlerTag: Double, config: Object) => boolean;
4
+ createGestureHandler: (handlerName: string, handlerTag: Double, config: Object) => void;
5
5
  attachGestureHandler: (handlerTag: Double, newView: Double, actionType: Double) => void;
6
6
  setGestureHandlerConfig: (handlerTag: Double, newConfig: Object) => void;
7
7
  updateGestureHandlerConfig: (handlerTag: Double, newConfig: Object) => void;
8
8
  configureRelations: (handlerTag: Double, relations: Object) => void;
9
9
  dropGestureHandler: (handlerTag: Double) => void;
10
10
  flushOperations: () => void;
11
- setReanimatedAvailable: (isAvailable: boolean) => void;
11
+ installUIRuntimeBindings: () => boolean;
12
12
  }
13
13
  declare const _default: Spec;
14
14
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"NativeRNGestureHandlerModule.d.ts","sourceRoot":"","sources":["../../../src/specs/NativeRNGestureHandlerModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAExE,MAAM,WAAW,IAAK,SAAQ,WAAW;IAGvC,oBAAoB,EAAE,CACpB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAGlB,MAAM,EAAE,MAAM,KACX,OAAO,CAAC;IACb,oBAAoB,EAAE,CACpB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,KACf,IAAI,CAAC;IAEV,uBAAuB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAEzE,0BAA0B,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAE5E,kBAAkB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpE,kBAAkB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,eAAe,EAAE,MAAM,IAAI,CAAC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