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,5 +1,5 @@
1
1
  import type { ColorValue, ViewProps } from 'react-native';
2
- import type { Float, Int32, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
2
+ import type { Float, Int32, UnsafeMixed, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
3
3
  interface NativeProps extends ViewProps {
4
4
  exclusive?: WithDefault<boolean, true>;
5
5
  foreground?: boolean;
@@ -9,8 +9,11 @@ interface NativeProps extends ViewProps {
9
9
  rippleRadius?: Int32;
10
10
  touchSoundDisabled?: WithDefault<boolean, false>;
11
11
  pointerEvents?: WithDefault<'box-none' | 'none' | 'box-only' | 'auto', 'auto'>;
12
- pressAndHoldAnimationDuration?: WithDefault<Int32, -1>;
13
- tapAnimationDuration?: WithDefault<Int32, 100>;
12
+ tapAnimationInDuration?: WithDefault<Int32, 50>;
13
+ tapAnimationOutDuration?: WithDefault<Int32, 100>;
14
+ longPressDuration?: WithDefault<Int32, -1>;
15
+ longPressAnimationOutDuration?: WithDefault<Int32, -1>;
16
+ needsOffscreenAlphaCompositing?: WithDefault<boolean, false>;
14
17
  activeOpacity?: WithDefault<Float, 1>;
15
18
  activeScale?: WithDefault<Float, 1>;
16
19
  activeUnderlayOpacity?: WithDefault<Float, 0>;
@@ -37,14 +40,19 @@ interface NativeProps extends ViewProps {
37
40
  borderBlockColor?: ColorValue;
38
41
  borderBlockEndColor?: ColorValue;
39
42
  borderBlockStartColor?: ColorValue;
40
- borderTopStartRadius?: WithDefault<Float, -1>;
41
- borderTopEndRadius?: WithDefault<Float, -1>;
42
- borderBottomStartRadius?: WithDefault<Float, -1>;
43
- borderBottomEndRadius?: WithDefault<Float, -1>;
44
- borderEndEndRadius?: WithDefault<Float, -1>;
45
- borderEndStartRadius?: WithDefault<Float, -1>;
46
- borderStartEndRadius?: WithDefault<Float, -1>;
47
- borderStartStartRadius?: WithDefault<Float, -1>;
43
+ borderRadius?: UnsafeMixed;
44
+ borderTopLeftRadius?: UnsafeMixed;
45
+ borderTopRightRadius?: UnsafeMixed;
46
+ borderBottomLeftRadius?: UnsafeMixed;
47
+ borderBottomRightRadius?: UnsafeMixed;
48
+ borderTopStartRadius?: UnsafeMixed;
49
+ borderTopEndRadius?: UnsafeMixed;
50
+ borderBottomStartRadius?: UnsafeMixed;
51
+ borderBottomEndRadius?: UnsafeMixed;
52
+ borderEndEndRadius?: UnsafeMixed;
53
+ borderEndStartRadius?: UnsafeMixed;
54
+ borderStartEndRadius?: UnsafeMixed;
55
+ borderStartStartRadius?: UnsafeMixed;
48
56
  }
49
57
  declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
50
58
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"RNGestureHandlerButtonNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/specs/RNGestureHandlerButtonNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EACV,KAAK,EACL,KAAK,EACL,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAInD,UAAU,WAAY,SAAQ,SAAS;IACrC,SAAS,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,kBAAkB,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACjD,aAAa,CAAC,EAAE,WAAW,CACzB,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,EACzC,MAAM,CACP,CAAC;IACF,6BAA6B,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IACvD,oBAAoB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC/C,aAAa,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACtC,WAAW,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACpC,qBAAqB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IAC9C,cAAc,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACvC,YAAY,CAAC,EAAE,WAAW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/C,kBAAkB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IAC5C,oBAAoB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IAC9C,oBAAoB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IAC9C,sBAAsB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;CACjD;;AAED,wBAA6E"}
1
+ {"version":3,"file":"RNGestureHandlerButtonNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/specs/RNGestureHandlerButtonNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EACV,KAAK,EACL,KAAK,EACL,WAAW,EACX,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAInD,UAAU,WAAY,SAAQ,SAAS;IACrC,SAAS,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,kBAAkB,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACjD,aAAa,CAAC,EAAE,WAAW,CACzB,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,EACzC,MAAM,CACP,CAAC;IACF,sBAAsB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAChD,uBAAuB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAClD,iBAAiB,CAAC,EAAE,WA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gB,CAAC,EAAE,UAAU,CAAC;IAC9B,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,mBAAmB,CAAC,EAAE,UAAU,CAAC;IACjC,qBAAqB,CAAC,EAAE,UAAU,CAAC;IAWnC,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,mBAAmB,CAAC,EAAE,WAAW,CAAC;IAClC,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,sBAAsB,CAAC,EAAE,WAAW,CAAC;IACrC,uBAAuB,CAAC,EAAE,WAAW,CAAC;IACtC,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,kBAAkB,CAAC,EAAE,WAAW,CAAC;IACjC,uBAAuB,CAAC,EAAE,WAAW,CAAC;IACtC,qBAAqB,CAAC,EAAE,WAAW,CAAC;IACpC,kBAAkB,CAAC,EAAE,WAAW,CAAC;IACjC,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,sBAAsB,CAAC,EAAE,WAAW,CAAC;CACtC;;AAED,wBAA6E"}
@@ -5,6 +5,6 @@ export declare const NativeProxy: {
5
5
  readonly updateGestureHandlerConfig: <TConfig, THandlerData, TExtendedHandlerData extends THandlerData>(handlerTag: number, newConfig: BaseGestureConfig<TConfig, THandlerData, TExtendedHandlerData>) => void;
6
6
  readonly dropGestureHandler: (handlerTag: number) => void;
7
7
  readonly configureRelations: (handlerTag: number, relations: GestureRelations) => void;
8
- readonly setReanimatedAvailable: (isAvailable: boolean) => void;
8
+ readonly installUIRuntimeBindings: () => boolean;
9
9
  };
10
10
  //# sourceMappingURL=NativeProxy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NativeProxy.d.ts","sourceRoot":"","sources":["../../../src/v3/NativeProxy.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAMjB,eAAO,MAAM,WAAW;oCACC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,eACzC,iBAAiB,cAClB,MAAM,WACT,CAAC;uCASV,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;0CAUzE,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;8CAM1C,MAAM;8CAKN,MAAM,aAAa,gBAAgB;mDAK9B,OAAO;CAGrC,CAAC"}
1
+ {"version":3,"file":"NativeProxy.d.ts","sourceRoot":"","sources":["../../../src/v3/NativeProxy.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAMjB,eAAO,MAAM,WAAW;oCACC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,eACzC,iBAAiB,cAClB,MAAM,WACT,CAAC;uCAWV,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;0CAUzE,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;8CAM1C,MAAM;8CAKN,MAAM,aAAa,gBAAgB;;CAQ5D,CAAC"}
@@ -5,6 +5,6 @@ export declare const NativeProxy: {
5
5
  readonly updateGestureHandlerConfig: <TConfig, THandlerData, TExtendedHandlerData extends THandlerData>(handlerTag: number, newConfig: BaseGestureConfig<TConfig, THandlerData, TExtendedHandlerData>) => void;
6
6
  readonly dropGestureHandler: (handlerTag: number) => void;
7
7
  readonly configureRelations: (handlerTag: number, relations: GestureRelations) => void;
8
- readonly setReanimatedAvailable: (isAvailable: boolean) => void;
8
+ readonly installUIRuntimeBindings: () => boolean;
9
9
  };
10
10
  //# sourceMappingURL=NativeProxy.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NativeProxy.web.d.ts","sourceRoot":"","sources":["../../../src/v3/NativeProxy.web.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,WAAW;oCACC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,eACzC,iBAAiB,cAClB,MAAM,WACT,CAAC;uCASV,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;0CAKzE,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;8CAI1C,MAAM;8CAGN,MAAM,aAAa,gBAAgB;mDAG9B,OAAO;CAGrC,CAAC"}
1
+ {"version":3,"file":"NativeProxy.web.d.ts","sourceRoot":"","sources":["../../../src/v3/NativeProxy.web.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,WAAW;oCACC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,eACzC,iBAAiB,cAClB,MAAM,WACT,CAAC;uCASV,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;0CAKzE,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;8CAI1C,MAAM;8CAGN,MAAM,aAAa,gBAAgB;;CAM5D,CAAC"}
@@ -1,45 +1,9 @@
1
1
  import React from 'react';
2
- import type { NativeHandlerData } from '../hooks/gestures/native/NativeTypes';
3
2
  import type { BaseButtonProps, BorderlessButtonProps, RawButtonProps, RectButtonProps } from './GestureButtonsProps';
4
3
  /**
5
4
  * @deprecated `RawButton` is deprecated, use `Clickable` instead
6
5
  */
7
- export declare const RawButton: {
8
- (props: RawButtonProps & {
9
- disableReanimated?: boolean | undefined;
10
- useAnimated?: boolean | undefined;
11
- testID?: string | undefined;
12
- } & {
13
- runOnJS?: boolean | import("../types").SharedValue<boolean> | undefined;
14
- enabled?: boolean | import("../types").SharedValue<boolean> | undefined;
15
- shouldCancelWhenOutside?: boolean | import("../types").SharedValue<boolean> | undefined;
16
- hitSlop?: number | import("../types").SharedValue<number> | import("../types").SharedValue<null> | {
17
- left?: number | import("../types").SharedValue<number> | undefined;
18
- right?: number | import("../types").SharedValue<number> | undefined;
19
- top?: number | import("../types").SharedValue<number> | undefined;
20
- bottom?: number | import("../types").SharedValue<number> | undefined;
21
- vertical?: number | import("../types").SharedValue<number> | undefined;
22
- horizontal?: number | import("../types").SharedValue<number> | undefined;
23
- } | {
24
- left: number | import("../types").SharedValue<number>;
25
- width: number | import("../types").SharedValue<number>;
26
- } | {
27
- right: number | import("../types").SharedValue<number>;
28
- width: number | import("../types").SharedValue<number>;
29
- } | {
30
- top: number | import("../types").SharedValue<number>;
31
- height: number | import("../types").SharedValue<number>;
32
- } | {
33
- bottom: number | import("../types").SharedValue<number>;
34
- height: number | import("../types").SharedValue<number>;
35
- } | null | undefined;
36
- activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
37
- mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
38
- cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
39
- manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
40
- } & import("../types").GestureCallbacks<NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<(React.Component<import("../../components/GestureHandlerButton").ButtonProps, {}, any> & import("react-native").ReactNativeElement) | null>): React.JSX.Element;
41
- displayName: any;
42
- };
6
+ export declare const RawButton: (props: RawButtonProps) => React.JSX.Element;
43
7
  /**
44
8
  * @deprecated `BaseButton` is deprecated, use `Touchable` instead
45
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"GestureButtons.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAKtC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAK/B;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,sBAoEhD,CAAC;AAcF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,sBA2ChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,sBAuB5D,CAAC;AAEF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uCAAuC,CAAC"}
1
+ {"version":3,"file":"GestureButtons.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAOtC,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAiB/B;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,sBAE9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,sBAoEhD,CAAC;AAcF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,sBA2ChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,sBAuB5D,CAAC;AAEF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uCAAuC,CAAC"}
@@ -5,7 +5,7 @@ import type { NativeWrapperProperties } from '../types/NativeWrapperType';
5
5
  /**
6
6
  * @deprecated `RawButtonProps` is deprecated, use `ClickableProps` instead
7
7
  */
8
- export interface RawButtonProps extends Omit<ButtonProps, 'defaultOpacity' | 'defaultScale' | 'defaultUnderlayOpacity' | 'activeOpacity' | 'activeScale' | 'activeUnderlayOpacity'>, Omit<NativeWrapperProperties<React.ComponentRef<typeof GestureHandlerButton>>, 'hitSlop' | 'enabled'> {
8
+ export interface RawButtonProps extends Omit<ButtonProps, 'defaultOpacity' | 'defaultScale' | 'defaultUnderlayOpacity' | 'activeOpacity' | 'activeScale' | 'activeUnderlayOpacity' | 'needsOffscreenAlphaCompositing'>, Omit<NativeWrapperProperties<React.ComponentRef<typeof GestureHandlerButton>>, 'hitSlop' | 'enabled'> {
9
9
  }
10
10
  /**
11
11
  * @deprecated `BaseButtonProps` is deprecated, use `ClickableProps` instead
@@ -1 +1 @@
1
- {"version":3,"file":"GestureButtonsProps.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtonsProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,oBAAoB,MAAM,uCAAuC,CAAC;AAC9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,cACf,SAAQ,IAAI,CACR,WAAW,EACT,gBAAgB,GAChB,cAAc,GACd,wBAAwB,GACxB,eAAe,GACf,aAAa,GACb,uBAAuB,CAC1B,EACD,IAAI,CACF,uBAAuB,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC,EACxE,SAAS,GAAG,SAAS,CACtB;CAAG;AAER;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,cAAc;IACrD;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAEzD;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAEvC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC9D,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEnC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC"}
1
+ {"version":3,"file":"GestureButtonsProps.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtonsProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EA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,6 +35,7 @@ export declare const RefreshControl: {
35
35
  activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
36
36
  mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
37
37
  cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
38
+ cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
38
39
  manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
39
40
  } & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<RNRefreshControl | null>): React.JSX.Element;
40
41
  displayName: any;
@@ -74,6 +75,7 @@ export declare const Switch: {
74
75
  activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
75
76
  mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
76
77
  cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
78
+ cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
77
79
  manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
78
80
  } & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<RNSwitch | null>): React.JSX.Element;
79
81
  displayName: any;
@@ -111,6 +113,7 @@ export declare const TextInput: {
111
113
  activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
112
114
  mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
113
115
  cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
116
+ cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
114
117
  manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
115
118
  } & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<RNTextInput | null>): React.JSX.Element;
116
119
  displayName: any;
@@ -1 +1 @@
1
- {"version":3,"file":"GestureComponents.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureComponents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EACV,aAAa,IAAI,eAAe,EAChC,mBAAmB,IAAI,qBAAqB,EAC5C,eAAe,IAAI,iBAAiB,EACpC,WAAW,IAAI,aAAa,EAC5B,cAAc,IAAI,gBAAgB,EACnC,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,QAAQ,IAAI,UAAU,EACtB,cAAc,IAAI,gBAAgB,EAClC,UAAU,IAAI,YAAY,EAC1B,MAAM,IAAI,QAAQ,EAClB,SAAS,IAAI,WAAW,EACzB,MAAM,cAAc,CAAC;AAOtB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU1B,CAAC;AAGF,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,GAAG,gBAAgB,CAAC;AActE,eAAO,MAAM,UAAU,GACrB,OAAO,iBAAiB,GAAG,uBAAuB,CAAC,YAAY,GAAG,IAAI,CAAC,sBAsCxE,CAAC;AAGF,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,GAAG,YAAY,CAAC;AAE1D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjB,CAAC;AAGH,MAA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MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,GAAG,gBAAgB,CAAC;AActE,eAAO,MAAM,UAAU,GACrB,OAAO,iBAAiB,GAAG,uBAAuB,CAAC,YAAY,GAAG,IAAI,CAAC,sBAsCxE,CAAC;AAGF,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,GAAG,YAAY,CAAC;AAE1D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjB,CAAC;AAGH,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,GAAG,QAAQ,CAAC;AAE9C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAGF,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,GAAG,WAAW,CAAC;AAEvD,eAAO,MAAM,QAAQ,EA+Df,CAAC,KAAK,GAAG,GAAG,EAChB,KAAK,EAAE,iBAAiB,CACtB,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,KAAK,CAAC,GAC3D,uBAAuB,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CACpD,KACE,YAAY,GAAG,IAAI,CAAC;AAGzB,MAAM,MAAM,QAAQ,CAAC,KAAK,GAAG,GAAG,IAAI,OAAO,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC"}
@@ -32,6 +32,7 @@ export declare const ScrollView: {
32
32
  activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
33
33
  mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
34
34
  cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
35
+ cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
35
36
  manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
36
37
  } & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<unknown>): React.JSX.Element;
37
38
  displayName: any;
@@ -68,6 +69,7 @@ export declare const Switch: {
68
69
  activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
69
70
  mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
70
71
  cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
72
+ cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
71
73
  manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
72
74
  } & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<unknown>): React.JSX.Element;
73
75
  displayName: any;
@@ -104,6 +106,7 @@ export declare const TextInput: {
104
106
  activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
105
107
  mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
106
108
  cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
109
+ cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
107
110
  manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
108
111
  } & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<unknown>): React.JSX.Element;
109
112
  displayName: any;
@@ -141,6 +144,7 @@ export declare const RefreshControl: {
141
144
  activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
142
145
  mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
143
146
  cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
147
+ cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
144
148
  manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
145
149
  } & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<unknown>): React.JSX.Element;
146
150
  displayName: any;
@@ -1 +1 @@
1
- {"version":3,"file":"GestureComponents.web.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureComponents.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAWlD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AAE1D,eAAO,MAAM,mBAAmB,yBAG/B,CAAC;AAKF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAC;AAExD,eAAO,MAAM,QAAQ,GAAI,KAAK,EAAG,OAAO,aAAa,CAAC,KAAK,CAAC,sBAK3D,CAAC"}
1
+ {"version":3,"file":"GestureComponents.web.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureComponents.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAWlD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AAE1D,eAAO,MAAM,mBAAmB,yBAG/B,CAAC;AAKF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAC;AAExD,eAAO,MAAM,QAAQ,GAAI,KAAK,EAAG,OAAO,aAAa,CAAC,KAAK,CAAC,sBAK3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/Pressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAGV,cAAc,EACf,MAAM,2CAA2C,CAAC;AA4BnD,QAAA,MAAM,SAAS,GAAI,OAAO,cAAc,sBAsVvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/Pressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAGV,cAAc,EACf,MAAM,2CAA2C,CAAC;AA4BnD,QAAA,MAAM,SAAS,GAAI,OAAO,cAAc,sBAuVvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Touchable.d.ts","sourceRoot":"","sources":["../../../../../src/v3/components/Touchable/Touchable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,KAAK,EAGV,cAAc,EACf,MAAM,kBAAkB,CAAC;AAa1B,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,sBA8G9C,CAAC"}
1
+ {"version":3,"file":"Touchable.d.ts","sourceRoot":"","sources":["../../../../../src/v3/components/Touchable/Touchable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,KAAK,EAIV,cAAc,EACf,MAAM,kBAAkB,CAAC;AA4D1B,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,sBA4J9C,CAAC"}
@@ -9,11 +9,53 @@ type PressableAndroidRippleConfig = {
9
9
  [K in keyof RNPressableAndroidRippleConfig]?: Exclude<RNPressableAndroidRippleConfig[K], null>;
10
10
  };
11
11
  type RippleProps = 'rippleColor' | 'rippleRadius' | 'borderless' | 'foreground';
12
- export type TouchableProps = Omit<ButtonProps, RippleProps | 'enabled'> & Omit<BaseButtonProps, keyof RawButtonProps> & {
12
+ type DurationProps = 'tapAnimationInDuration' | 'tapAnimationOutDuration' | 'longPressDuration' | 'longPressAnimationOutDuration' | 'hoverAnimationInDuration' | 'hoverAnimationOutDuration';
13
+ type InOutDuration = {
14
+ in: number;
15
+ out: number;
16
+ };
17
+ type LongPressDuration = {
18
+ out: number;
19
+ };
20
+ /**
21
+ * Configuration for press / hover animation timing.
22
+ *
23
+ * - A single number applies to every phase of every category.
24
+ * - An object with top-level `in` / `out` sets the baseline; `tap` and
25
+ * `hover` may override either side or both — any field left out
26
+ * inherits the top-level value.
27
+ * - Alternatively, both categories may be specified in full without a
28
+ * top-level baseline.
29
+ *
30
+ * `longPress` optionally customizes the press-out duration once the
31
+ * press has been held past `delayLongPress`. If omitted, the long-press
32
+ * release falls back to the resolved tap-out timing.
33
+ */
34
+ export type AnimationDuration = number | (InOutDuration & {
35
+ tap?: Partial<InOutDuration>;
36
+ hover?: Partial<InOutDuration>;
37
+ longPress?: LongPressDuration;
38
+ }) | {
39
+ tap: InOutDuration;
40
+ hover: InOutDuration;
41
+ longPress?: LongPressDuration;
42
+ };
43
+ export type TouchableProps = Omit<ButtonProps, RippleProps | 'enabled' | DurationProps> & Omit<BaseButtonProps, keyof RawButtonProps | 'onActiveStateChange' | 'onPress'> & {
44
+ /**
45
+ * Press and hover animation durations, in milliseconds. Pass a single
46
+ * number to apply it to every phase, or an object to customize per phase
47
+ * and per category. Defaults to 50ms for the in phase and 100ms for the
48
+ * out phase.
49
+ */
50
+ animationDuration?: AnimationDuration | undefined;
13
51
  /**
14
52
  * Configuration for the ripple effect on Android.
15
53
  */
16
54
  androidRipple?: PressableAndroidRippleConfig | undefined;
55
+ /**
56
+ * Called when the component gets pressed.
57
+ */
58
+ onPress?: ((event: CallbackEventType) => void) | undefined;
17
59
  /**
18
60
  * Called when pointer touches the component.
19
61
  */
@@ -26,6 +68,11 @@ export type TouchableProps = Omit<ButtonProps, RippleProps | 'enabled'> & Omit<B
26
68
  * Whether the component should ignore touches. By default set to false.
27
69
  */
28
70
  disabled?: boolean | undefined;
71
+ /**
72
+ * Whether the touch should be canceled when pointer leaves the component. By default set to true.
73
+ * On web this prop doesn't have any effect and behaves as if `true` was set.
74
+ */
75
+ cancelOnLeave?: boolean | undefined;
29
76
  };
30
77
  export {};
31
78
  //# sourceMappingURL=TouchableProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TouchableProps.d.ts","sourceRoot":"","sources":["../../../../../src/v3/components/Touchable/TouchableProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,IAAI,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAEnG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AAChE,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAEtE,KAAK,4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KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAE3D;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAE7D;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAE9D;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE/B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACrC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { RefObject } from 'react';
2
2
  import React from 'react';
3
3
  import type { TouchAction, UserSelect } from '../../handlers/gestureHandlerCommon';
4
- import type { PropsRef } from '../../web/interfaces';
4
+ import { type PropsRef } from '../../web/interfaces';
5
5
  export interface GestureHandlerDetectorProps extends PropsRef {
6
6
  handlerTags: number[];
7
7
  moduleId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"HostGestureDetector.web.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/HostGestureDetector.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAO,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAqC,MAAM,OAAO,CAAC;AAI1D,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACX,MAAM,qCAAqC,CAAC;AAG7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,WAAW,2BAA4B,SAAQ,QAAQ;IAC3D,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAC1C,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,WAAW,C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AChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC;AA8LD,QAAA,MAAM,mBAAmB,GAAI,OAAO,2BAA2B,sBAoI9D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NativeDetector.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/NativeDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD,wBAAgB,cAAc,CAC5B,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,EACA,OAAO,EACP,QAAQ,EACR,WAAW,EACX,UAAU,EACV,iBAAiB,GAClB,EAAE,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,qBAuElE"}
1
+ {"version":3,"file":"NativeDetector.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/NativeDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAOpD,wBAAgB,cAAc,CAC5B,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,EACA,OAAO,EACP,QAAQ,EACR,WAAW,EACX,UAAU,EACV,iBAAiB,GAClB,EAAE,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,qBAuElE"}
@@ -1 +1 @@
1
- {"version":3,"file":"InterceptingGestureDetector.d.ts","sourceRoot":"","sources":["../../../../../src/v3/detectors/VirtualDetector/InterceptingGestureDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAezE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,WAAW,CAAC;AAqBlE,wBAAgB,2BAA2B,CACzC,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,EACA,OAAO,EACP,QAAQ,EACR,WAAW,EACX,UAAU,EACV,iBAAiB,GAClB,EAAE,gCAAgC,CACjC,OAAO,EACP,YAAY,EACZ,oBAAoB,CACrB,qBA2PA"}
1
+ {"version":3,"file":"InterceptingGestureDetector.d.ts","sourceRoot":"","sources":["../../../../../src/v3/detectors/VirtualDetector/InterceptingGestureDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAezE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,WAAW,CAAC;AAsBlE,wBAAgB,2BAA2B,CACzC,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,EACA,OAAO,EACP,QAAQ,EACR,WAAW,EACX,UAAU,EACV,iBAAiB,GAClB,EAAE,gCAAgC,CACjC,OAAO,EACP,YAAY,EACZ,oBAAoB,CACrB,qBAyPA"}
@@ -1 +1 @@
1
- {"version":3,"file":"VirtualDetector.d.ts","sourceRoot":"","sources":["../../../../../src/v3/detectors/VirtualDetector/VirtualDetector.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAmBtD,wBAAgB,eAAe,CAC7B,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,KAAK,EAAE,oBAAoB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,+BA4EzE"}
1
+ {"version":3,"file":"VirtualDetector.d.ts","sourceRoot":"","sources":["../../../../../src/v3/detectors/VirtualDetector/VirtualDetector.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAoBtD,wBAAgB,eAAe,CAC7B,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,KAAK,EAAE,oBAAoB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,+BA8EzE"}
@@ -0,0 +1,3 @@
1
+ import type { Gesture } from '../types';
2
+ export declare function useGestureRelationsUpdater<TConfig, THandlerData>(gesture?: Gesture<TConfig, THandlerData>): void;
3
+ //# sourceMappingURL=useGestureRelationsUpdater.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGestureRelationsUpdater.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/useGestureRelationsUpdater.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxC,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,YAAY,EAC9D,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,EAAE,YAAY,CAAC,QAsBzC"}
@@ -0,0 +1,3 @@
1
+ import type { ReactNode, RefObject } from 'react';
2
+ export declare function useNativeGestureRole(_viewRef: RefObject<unknown>, _children: ReactNode): void;
3
+ //# sourceMappingURL=useNativeGestureRole.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNativeGestureRole.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/useNativeGestureRole.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,EAC5B,SAAS,EAAE,SAAS,GACnB,IAAI,CAEN"}
@@ -0,0 +1,3 @@
1
+ import type { ReactNode, RefObject } from 'react';
2
+ export declare function useNativeGestureRole(viewRef: RefObject<Element | null>, children: ReactNode): void;
3
+ //# sourceMappingURL=useNativeGestureRole.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNativeGestureRole.web.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/useNativeGestureRole.web.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,EAClC,QAAQ,EAAE,SAAS,GAClB,IAAI,CAgCN"}
@@ -1,6 +1,6 @@
1
- import type { Gesture } from '../types';
2
- export declare const traverseAndConfigureRelations: (node: Gesture, simultaneousHandlers: Set<number>, waitFor?: number[]) => void;
3
- export declare function configureRelations<TConfig, THandlerData>(gesture: Gesture<TConfig, THandlerData>): void;
1
+ import type { Gesture, GestureRelations } from '../types';
2
+ export declare const traverseAndConfigureRelations: (node: Gesture, relationsByTag: Map<number, GestureRelations>, simultaneousHandlers: Set<number>, waitFor?: number[]) => void;
3
+ export declare function configureRelations<TConfig, THandlerData>(gesture: Gesture<TConfig, THandlerData>): Map<number, GestureRelations>;
4
4
  export declare function ensureNativeDetectorComponent(NativeDetectorComponent: unknown): asserts NativeDetectorComponent;
5
5
  export declare const EMPTY_SET: Set<number>;
6
6
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/utils.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAIxC,eAAO,MAAM,6BAA6B,GACxC,MAAM,OAAO,EACb,sBAAsB,GAAG,CAAC,MAAM,CAAC,EACjC,UAAS,MAAM,EAAO,SAqHvB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,YAAY,EACtD,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,YAAY,CAAC,QAqBxC;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,OAAO,GAC/B,OAAO,CAAC,uBAAuB,CAQjC;AAED,eAAO,MAAM,SAAS,aAAoB,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/utils.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAI1D,eAAO,MAAM,6BAA6B,GACxC,MAAM,OAAO,EACb,gBAAgB,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAC7C,sBAAsB,GAAG,CAAC,MAAM,CAAC,EACjC,UAAS,MAAM,EAAO,SAgIvB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,YAAY,EACtD,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,YAAY,CAAC,GACtC,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAyB/B;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,OAAO,GAC/B,OAAO,CAAC,uBAAuB,CAQjC;AAED,eAAO,MAAM,SAAS,aAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useReanimatedEventHandler.d.ts","sourceRoot":"","sources":["../../../../../src/v3/hooks/callbacks/useReanimatedEventHandler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAEtF,OAAO,KAAK,EACV,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EAEb,MAAM,aAAa,CAAC;AAQrB,wBAAgB,yBAAyB,CACvC,YAAY,EACZ,oBAAoB,SAAS,YAAY,EAEzC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,gBAAgB,CAAC,YAAY,EAAE,oBAAoB,CAAC,EAC9D,iBAAiB,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,GAAG,SAAS,EACtE,qBAAqB,EAAE,oBAAoB,CAAC,oBAAoB,CAAC,GAAG,SAAS,EAC7E,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,oBAAoB,CAAC,KAAK,IAAI,0CA+C1E"}
1
+ {"version":3,"file":"useReanimatedEventHandler.d.ts","sourceRoot":"","sources":["../../../../../src/v3/hooks/callbacks/useReanimatedEventHandler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAEtF,OAAO,KAAK,EACV,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EAEb,MAAM,aAAa,CAAC;AAcrB,wBAAgB,yBAAyB,CACvC,YAAY,EACZ,oBAAoB,SAAS,YAAY,EAEzC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,gBAAgB,CAAC,YAAY,EAAE,oBAAoB,CAAC,EAC9D,iBAAiB,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,GAAG,SAAS,EACtE,qBAAqB,EAAE,oBAAoB,CAAC,oBAAoB,CAAC,GAAG,SAAS,EAC7E,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,oBAAoB,CAAC,KAAK,IAAI,0CAyD1E"}
@@ -1,3 +1,3 @@
1
1
  import type { FlingGesture, FlingGestureConfig } from './FlingTypes';
2
- export declare function useFlingGesture(config: FlingGestureConfig): FlingGesture;
2
+ export declare function useFlingGesture(config?: FlingGestureConfig): FlingGesture;
3
3
  //# sourceMappingURL=useFlingGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFlingGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/fling/useFlingGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAGnB,MAAM,cAAc,CAAC;AAEtB,wBAAgB,eAAe,CAAC,MAAM,EAAE,kBAAkB,GAAG,YAAY,CAOxE"}
1
+ {"version":3,"file":"useFlingGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/fling/useFlingGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAGnB,MAAM,cAAc,CAAC;AAItB,wBAAgB,eAAe,CAC7B,MAAM,GAAE,kBAAuC,GAC9C,YAAY,CAOd"}
@@ -1,3 +1,3 @@
1
1
  import type { HoverGesture, HoverGestureConfig } from './HoverTypes';
2
- export declare function useHoverGesture(config: HoverGestureConfig): HoverGesture;
2
+ export declare function useHoverGesture(config?: HoverGestureConfig): HoverGesture;
3
3
  //# sourceMappingURL=useHoverGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useHoverGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/hover/useHoverGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAKnB,MAAM,cAAc,CAAC;AA+BtB,wBAAgB,eAAe,CAAC,MAAM,EAAE,kBAAkB,GAAG,YAAY,CASxE"}
1
+ {"version":3,"file":"useHoverGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/hover/useHoverGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAKnB,MAAM,cAAc,CAAC;AAiCtB,wBAAgB,eAAe,CAC7B,MAAM,GAAE,kBAAuC,GAC9C,YAAY,CASd"}
@@ -1,3 +1,3 @@
1
1
  import type { LongPressGesture, LongPressGestureConfig } from './LongPressTypes';
2
- export declare function useLongPressGesture(config: LongPressGestureConfig): LongPressGesture;
2
+ export declare function useLongPressGesture(config?: LongPressGestureConfig): LongPressGesture;
3
3
  //# sourceMappingURL=useLongPressGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLongPressGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/longPress/useLongPressGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EAKvB,MAAM,kBAAkB,CAAC;AAoB1B,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,sBAAsB,GAC7B,gBAAgB,CAWlB"}
1
+ {"version":3,"file":"useLongPressGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/longPress/useLongPressGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EAKvB,MAAM,kBAAkB,CAAC;AAsB1B,wBAAgB,mBAAmB,CACjC,MAAM,GAAE,sBAAgD,GACvD,gBAAgB,CAWlB"}
@@ -1,3 +1,3 @@
1
1
  import type { ManualGesture, ManualGestureConfig } from './ManualTypes';
2
- export declare function useManualGesture(config: ManualGestureConfig): ManualGesture;
2
+ export declare function useManualGesture(config?: ManualGestureConfig): ManualGesture;
3
3
  //# sourceMappingURL=useManualGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useManualGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/manual/useManualGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EAGpB,MAAM,eAAe,CAAC;AAEvB,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,mBAAmB,GAAG,aAAa,CAO3E"}
1
+ {"version":3,"file":"useManualGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/manual/useManualGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EAGpB,MAAM,eAAe,CAAC;AAIvB,wBAAgB,gBAAgB,CAC9B,MAAM,GAAE,mBAAyC,GAChD,aAAa,CAOf"}
@@ -12,6 +12,13 @@ export type NativeGestureNativeProperties = {
12
12
  * `NativeViewGestureHandler` receives an `ACTIVE` state event.
13
13
  */
14
14
  disallowInterruption?: boolean;
15
+ /**
16
+ * Composes with `disallowInterruption`. When both are `true`, the handler still
17
+ * resists discrete gestures but yields to continuous gestures, so a wrapping
18
+ * gesture can take over the touch stream. No-op when `disallowInterruption` is
19
+ * `false`.
20
+ */
21
+ yieldsToContinuousGestures?: boolean;
15
22
  };
16
23
  export declare const NativeHandlerNativeProperties: Set<keyof NativeGestureNativeProperties>;
17
24
  export type NativeHandlerData = {
@@ -1 +1 @@
1
- {"version":3,"file":"NativeTypes.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/native/NativeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,YAAY,EACZ,aAAa,EACb,eAAe,EAChB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,6BAA6B,0CAEU,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GACjC,eAAe,CAAC,6BAA6B,CAAC,CAAC;AAEjD,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CACzD,uBAAuB,EACvB,iBAAiB,CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAC7B,0BAA0B,CAAC,2BAA2B,CAAC,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AACjE,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAE1D,MAAM,MAAM,aAAa,GAAG,aAAa,CACvC,uBAAuB,EACvB,iBAAiB,CAClB,CAAC"}
1
+ {"version":3,"file":"NativeTypes.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/native/NativeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,YAAY,EACZ,aAAa,EACb,eAAe,EAChB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;;;;OAKG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,6BAA6B,0CAMxC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GACjC,eAAe,CAAC,6BAA6B,CAAC,CAAC;AAEjD,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CACzD,uBAAuB,EACvB,iBAAiB,CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAC7B,0BAA0B,CAAC,2BAA2B,CAAC,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AACjE,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAE1D,MAAM,MAAM,aAAa,GAAG,aAAa,CACvC,uBAAuB,EACvB,iBAAiB,CAClB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { NativeGesture, NativeGestureConfig } from './NativeTypes';
2
- export declare function useNativeGesture(config: NativeGestureConfig): NativeGesture;
2
+ export declare function useNativeGesture(config?: NativeGestureConfig): NativeGesture;
3
3
  //# sourceMappingURL=useNativeGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNativeGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/native/useNativeGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EAGpB,MAAM,eAAe,CAAC;AAEvB,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,mBAAmB,GAAG,aAAa,CAO3E"}
1
+ {"version":3,"file":"useNativeGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/native/useNativeGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EAGpB,MAAM,eAAe,CAAC;AAIvB,wBAAgB,gBAAgB,CAC9B,MAAM,GAAE,mBAAyC,GAChD,aAAa,CAOf"}
@@ -1,3 +1,3 @@
1
1
  import type { PanGesture, PanGestureConfig } from './PanTypes';
2
- export declare function usePanGesture(config: PanGestureConfig): PanGesture;
2
+ export declare function usePanGesture(config?: PanGestureConfig): PanGesture;
3
3
  //# sourceMappingURL=usePanGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePanGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/pan/usePanGesture.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAGV,UAAU,EACV,gBAAgB,EAKjB,MAAM,YAAY,CAAC;AAwHpB,wBAAgB,aAAa,CAAC,MAAM,EAAE,gBAAgB,GAAG,UAAU,CAiBlE"}
1
+ {"version":3,"file":"usePanGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/pan/usePanGesture.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAGV,UAAU,EACV,gBAAgB,EAKjB,MAAM,YAAY,CAAC;AA0HpB,wBAAgB,aAAa,CAC3B,MAAM,GAAE,gBAAmC,GAC1C,UAAU,CAiBZ"}
@@ -1,3 +1,3 @@
1
1
  import type { PinchGesture, PinchGestureConfig } from './PinchTypes';
2
- export declare function usePinchGesture(config: PinchGestureConfig): PinchGesture;
2
+ export declare function usePinchGesture(config?: PinchGestureConfig): PinchGesture;
3
3
  //# sourceMappingURL=usePinchGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePinchGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/pinch/usePinchGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAInB,MAAM,cAAc,CAAC;AA4BtB,wBAAgB,eAAe,CAAC,MAAM,EAAE,kBAAkB,GAAG,YAAY,CAUxE"}
1
+ {"version":3,"file":"usePinchGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/pinch/usePinchGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAInB,MAAM,cAAc,CAAC;AA8BtB,wBAAgB,eAAe,CAC7B,MAAM,GAAE,kBAAuC,GAC9C,YAAY,CAUd"}
@@ -1,3 +1,3 @@
1
1
  import type { RotationGesture, RotationGestureConfig } from './RotationTypes';
2
- export declare function useRotationGesture(config: RotationGestureConfig): RotationGesture;
2
+ export declare function useRotationGesture(config?: RotationGestureConfig): RotationGesture;
3
3
  //# sourceMappingURL=useRotationGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRotationGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/rotation/useRotationGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,eAAe,EACf,qBAAqB,EAItB,MAAM,iBAAiB,CAAC;AA8BzB,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,qBAAqB,GAC5B,eAAe,CAUjB"}
1
+ {"version":3,"file":"useRotationGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/rotation/useRotationGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,eAAe,EACf,qBAAqB,EAItB,MAAM,iBAAiB,CAAC;AAgCzB,wBAAgB,kBAAkB,CAChC,MAAM,GAAE,qBAA6C,GACpD,eAAe,CAUjB"}
@@ -1,3 +1,3 @@
1
1
  import type { TapGesture, TapGestureConfig } from './TapTypes';
2
- export declare function useTapGesture(config: TapGestureConfig): TapGesture;
2
+ export declare function useTapGesture(config?: TapGestureConfig): TapGesture;
3
3
  //# sourceMappingURL=useTapGesture.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTapGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/tap/useTapGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAIjB,MAAM,YAAY,CAAC;AAWpB,wBAAgB,aAAa,CAAC,MAAM,EAAE,gBAAgB,GAAG,UAAU,CAWlE"}
1
+ {"version":3,"file":"useTapGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/tap/useTapGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAIjB,MAAM,YAAY,CAAC;AAapB,wBAAgB,aAAa,CAC3B,MAAM,GAAE,gBAAmC,GAC1C,UAAU,CAWZ"}
@@ -1 +1 @@
1
- {"version":3,"file":"useGesture.d.ts","sourceRoot":"","sources":["../../../../src/v3/hooks/useGesture.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAUlB,wBAAgB,UAAU,CACxB,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,GAAG,YAAY,EAExD,IAAI,EAAE,iBAAiB,EACvB,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,GACrE,aAAa,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,CA8F5D"}
1
+ {"version":3,"file":"useGesture.d.ts","sourceRoot":"","sources":["../../../../src/v3/hooks/useGesture.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EAClB,MAAM,UAAU,CAAC;AASlB,wBAAgB,UAAU,CACxB,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,GAAG,YAAY,EAExD,IAAI,EAAE,iBAAiB,EACvB,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,GACrE,aAAa,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,CAiF5D"}