react-native-gesture-handler 2.26.0 → 2.27.0

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 (950) hide show
  1. package/README.md +69 -0
  2. package/android/src/main/jni/CMakeLists.txt +7 -26
  3. package/package.json +4 -2
  4. package/src/components/Pressable/Pressable.tsx +357 -445
  5. package/src/components/Pressable/PressableProps.tsx +15 -0
  6. package/src/components/Pressable/StateMachine.tsx +49 -0
  7. package/src/components/Pressable/stateDefinitions.ts +125 -0
  8. package/src/components/Pressable/utils.ts +11 -7
  9. package/src/handlers/GestureHandlerEventPayload.ts +3 -0
  10. package/src/handlers/gestureHandlerTypesCompat.ts +9 -0
  11. package/src/handlers/gestures/forceTouchGesture.ts +9 -0
  12. package/src/handlers/gestures/gestureObjects.ts +3 -1
  13. package/src/web/detectors/RotationGestureDetector.ts +4 -0
  14. package/src/web/handlers/FlingGestureHandler.ts +4 -0
  15. package/src/web/handlers/GestureHandler.ts +9 -3
  16. package/src/web/handlers/PanGestureHandler.ts +25 -36
  17. package/src/web/handlers/TapGestureHandler.ts +14 -19
  18. package/src/web/tools/GestureHandlerOrchestrator.ts +1 -0
  19. package/src/web/tools/PointerEventManager.ts +1 -1
  20. package/src/web/tools/PointerTracker.ts +17 -15
  21. package/src/web/tools/Vector.ts +1 -1
  22. package/lib/commonjs/ActionType.js +0 -15
  23. package/lib/commonjs/ActionType.js.map +0 -1
  24. package/lib/commonjs/Directions.js +0 -31
  25. package/lib/commonjs/Directions.js.map +0 -1
  26. package/lib/commonjs/EnableNewWebImplementation.js +0 -40
  27. package/lib/commonjs/EnableNewWebImplementation.js.map +0 -1
  28. package/lib/commonjs/GestureHandlerRootViewContext.js +0 -10
  29. package/lib/commonjs/GestureHandlerRootViewContext.js.map +0 -1
  30. package/lib/commonjs/PlatformConstants.js +0 -9
  31. package/lib/commonjs/PlatformConstants.js.map +0 -1
  32. package/lib/commonjs/PlatformConstants.web.js +0 -12
  33. package/lib/commonjs/PlatformConstants.web.js.map +0 -1
  34. package/lib/commonjs/PointerType.js +0 -15
  35. package/lib/commonjs/PointerType.js.map +0 -1
  36. package/lib/commonjs/RNGestureHandlerModule.js +0 -12
  37. package/lib/commonjs/RNGestureHandlerModule.js.map +0 -1
  38. package/lib/commonjs/RNGestureHandlerModule.web.js +0 -95
  39. package/lib/commonjs/RNGestureHandlerModule.web.js.map +0 -1
  40. package/lib/commonjs/RNGestureHandlerModule.windows.js +0 -56
  41. package/lib/commonjs/RNGestureHandlerModule.windows.js.map +0 -1
  42. package/lib/commonjs/RNRenderer.js +0 -14
  43. package/lib/commonjs/RNRenderer.js.map +0 -1
  44. package/lib/commonjs/RNRenderer.web.js +0 -10
  45. package/lib/commonjs/RNRenderer.web.js.map +0 -1
  46. package/lib/commonjs/State.js +0 -19
  47. package/lib/commonjs/State.js.map +0 -1
  48. package/lib/commonjs/TouchEventType.js +0 -16
  49. package/lib/commonjs/TouchEventType.js.map +0 -1
  50. package/lib/commonjs/components/DrawerLayout.js +0 -548
  51. package/lib/commonjs/components/DrawerLayout.js.map +0 -1
  52. package/lib/commonjs/components/GestureButtons.js +0 -211
  53. package/lib/commonjs/components/GestureButtons.js.map +0 -1
  54. package/lib/commonjs/components/GestureButtonsProps.js +0 -6
  55. package/lib/commonjs/components/GestureButtonsProps.js.map +0 -1
  56. package/lib/commonjs/components/GestureComponents.js +0 -106
  57. package/lib/commonjs/components/GestureComponents.js.map +0 -1
  58. package/lib/commonjs/components/GestureComponents.web.js +0 -39
  59. package/lib/commonjs/components/GestureComponents.web.js.map +0 -1
  60. package/lib/commonjs/components/GestureHandlerButton.js +0 -10
  61. package/lib/commonjs/components/GestureHandlerButton.js.map +0 -1
  62. package/lib/commonjs/components/GestureHandlerButton.web.js +0 -16
  63. package/lib/commonjs/components/GestureHandlerButton.web.js.map +0 -1
  64. package/lib/commonjs/components/GestureHandlerRootView.android.js +0 -36
  65. package/lib/commonjs/components/GestureHandlerRootView.android.js.map +0 -1
  66. package/lib/commonjs/components/GestureHandlerRootView.js +0 -35
  67. package/lib/commonjs/components/GestureHandlerRootView.js.map +0 -1
  68. package/lib/commonjs/components/GestureHandlerRootView.web.js +0 -30
  69. package/lib/commonjs/components/GestureHandlerRootView.web.js.map +0 -1
  70. package/lib/commonjs/components/Pressable/Pressable.js +0 -324
  71. package/lib/commonjs/components/Pressable/Pressable.js.map +0 -1
  72. package/lib/commonjs/components/Pressable/PressableProps.js +0 -6
  73. package/lib/commonjs/components/Pressable/PressableProps.js.map +0 -1
  74. package/lib/commonjs/components/Pressable/index.js +0 -14
  75. package/lib/commonjs/components/Pressable/index.js.map +0 -1
  76. package/lib/commonjs/components/Pressable/utils.js +0 -92
  77. package/lib/commonjs/components/Pressable/utils.js.map +0 -1
  78. package/lib/commonjs/components/ReanimatedDrawerLayout.js +0 -357
  79. package/lib/commonjs/components/ReanimatedDrawerLayout.js.map +0 -1
  80. package/lib/commonjs/components/ReanimatedSwipeable.js +0 -346
  81. package/lib/commonjs/components/ReanimatedSwipeable.js.map +0 -1
  82. package/lib/commonjs/components/Swipeable.js +0 -370
  83. package/lib/commonjs/components/Swipeable.js.map +0 -1
  84. package/lib/commonjs/components/Text.js +0 -60
  85. package/lib/commonjs/components/Text.js.map +0 -1
  86. package/lib/commonjs/components/gestureHandlerRootHOC.js +0 -34
  87. package/lib/commonjs/components/gestureHandlerRootHOC.js.map +0 -1
  88. package/lib/commonjs/components/touchables/ExtraButtonProps.js +0 -2
  89. package/lib/commonjs/components/touchables/ExtraButtonProps.js.map +0 -1
  90. package/lib/commonjs/components/touchables/GenericTouchable.js +0 -245
  91. package/lib/commonjs/components/touchables/GenericTouchable.js.map +0 -1
  92. package/lib/commonjs/components/touchables/GenericTouchableProps.js +0 -6
  93. package/lib/commonjs/components/touchables/GenericTouchableProps.js.map +0 -1
  94. package/lib/commonjs/components/touchables/TouchableHighlight.js +0 -93
  95. package/lib/commonjs/components/touchables/TouchableHighlight.js.map +0 -1
  96. package/lib/commonjs/components/touchables/TouchableNativeFeedback.android.js +0 -84
  97. package/lib/commonjs/components/touchables/TouchableNativeFeedback.android.js.map +0 -1
  98. package/lib/commonjs/components/touchables/TouchableNativeFeedback.js +0 -13
  99. package/lib/commonjs/components/touchables/TouchableNativeFeedback.js.map +0 -1
  100. package/lib/commonjs/components/touchables/TouchableNativeFeedbackProps.js +0 -6
  101. package/lib/commonjs/components/touchables/TouchableNativeFeedbackProps.js.map +0 -1
  102. package/lib/commonjs/components/touchables/TouchableOpacity.js +0 -65
  103. package/lib/commonjs/components/touchables/TouchableOpacity.js.map +0 -1
  104. package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js +0 -33
  105. package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js.map +0 -1
  106. package/lib/commonjs/components/touchables/index.js +0 -35
  107. package/lib/commonjs/components/touchables/index.js.map +0 -1
  108. package/lib/commonjs/components/utils.js +0 -17
  109. package/lib/commonjs/components/utils.js.map +0 -1
  110. package/lib/commonjs/findNodeHandle.js +0 -9
  111. package/lib/commonjs/findNodeHandle.js.map +0 -1
  112. package/lib/commonjs/findNodeHandle.web.js +0 -39
  113. package/lib/commonjs/findNodeHandle.web.js.map +0 -1
  114. package/lib/commonjs/getShadowNodeFromRef.js +0 -51
  115. package/lib/commonjs/getShadowNodeFromRef.js.map +0 -1
  116. package/lib/commonjs/getShadowNodeFromRef.web.js +0 -14
  117. package/lib/commonjs/getShadowNodeFromRef.web.js.map +0 -1
  118. package/lib/commonjs/ghQueueMicrotask.js +0 -10
  119. package/lib/commonjs/ghQueueMicrotask.js.map +0 -1
  120. package/lib/commonjs/handlers/FlingGestureHandler.js +0 -31
  121. package/lib/commonjs/handlers/FlingGestureHandler.js.map +0 -1
  122. package/lib/commonjs/handlers/ForceTouchGestureHandler.js +0 -46
  123. package/lib/commonjs/handlers/ForceTouchGestureHandler.js.map +0 -1
  124. package/lib/commonjs/handlers/GestureHandlerEventPayload.js +0 -6
  125. package/lib/commonjs/handlers/GestureHandlerEventPayload.js.map +0 -1
  126. package/lib/commonjs/handlers/LongPressGestureHandler.js +0 -33
  127. package/lib/commonjs/handlers/LongPressGestureHandler.js.map +0 -1
  128. package/lib/commonjs/handlers/NativeViewGestureHandler.ts +0 -59
  129. package/lib/commonjs/handlers/PanGestureHandler.js +0 -112
  130. package/lib/commonjs/handlers/PanGestureHandler.js.map +0 -1
  131. package/lib/commonjs/handlers/PinchGestureHandler.js +0 -29
  132. package/lib/commonjs/handlers/PinchGestureHandler.js.map +0 -1
  133. package/lib/commonjs/handlers/PressabilityDebugView.js +0 -13
  134. package/lib/commonjs/handlers/PressabilityDebugView.js.map +0 -1
  135. package/lib/commonjs/handlers/PressabilityDebugView.web.js +0 -11
  136. package/lib/commonjs/handlers/PressabilityDebugView.web.js.map +0 -1
  137. package/lib/commonjs/handlers/RotationGestureHandler.js +0 -29
  138. package/lib/commonjs/handlers/RotationGestureHandler.js.map +0 -1
  139. package/lib/commonjs/handlers/TapGestureHandler.js +0 -33
  140. package/lib/commonjs/handlers/TapGestureHandler.js.map +0 -1
  141. package/lib/commonjs/handlers/createHandler.js +0 -393
  142. package/lib/commonjs/handlers/createHandler.js.map +0 -1
  143. package/lib/commonjs/handlers/createNativeWrapper.js +0 -78
  144. package/lib/commonjs/handlers/createNativeWrapper.js.map +0 -1
  145. package/lib/commonjs/handlers/customDirectEventTypes.js +0 -13
  146. package/lib/commonjs/handlers/customDirectEventTypes.js.map +0 -1
  147. package/lib/commonjs/handlers/customDirectEventTypes.web.js +0 -10
  148. package/lib/commonjs/handlers/customDirectEventTypes.web.js.map +0 -1
  149. package/lib/commonjs/handlers/gestureHandlerCommon.js +0 -27
  150. package/lib/commonjs/handlers/gestureHandlerCommon.js.map +0 -1
  151. package/lib/commonjs/handlers/gestureHandlerTypesCompat.js +0 -6
  152. package/lib/commonjs/handlers/gestureHandlerTypesCompat.js.map +0 -1
  153. package/lib/commonjs/handlers/gestures/GestureDetector/Wrap.js +0 -32
  154. package/lib/commonjs/handlers/gestures/GestureDetector/Wrap.js.map +0 -1
  155. package/lib/commonjs/handlers/gestures/GestureDetector/Wrap.web.js +0 -41
  156. package/lib/commonjs/handlers/gestures/GestureDetector/Wrap.web.js.map +0 -1
  157. package/lib/commonjs/handlers/gestures/GestureDetector/attachHandlers.js +0 -67
  158. package/lib/commonjs/handlers/gestures/GestureDetector/attachHandlers.js.map +0 -1
  159. package/lib/commonjs/handlers/gestures/GestureDetector/dropHandlers.js +0 -20
  160. package/lib/commonjs/handlers/gestures/GestureDetector/dropHandlers.js.map +0 -1
  161. package/lib/commonjs/handlers/gestures/GestureDetector/index.js +0 -125
  162. package/lib/commonjs/handlers/gestures/GestureDetector/index.js.map +0 -1
  163. package/lib/commonjs/handlers/gestures/GestureDetector/needsToReattach.js +0 -22
  164. package/lib/commonjs/handlers/gestures/GestureDetector/needsToReattach.js.map +0 -1
  165. package/lib/commonjs/handlers/gestures/GestureDetector/types.js +0 -6
  166. package/lib/commonjs/handlers/gestures/GestureDetector/types.js.map +0 -1
  167. package/lib/commonjs/handlers/gestures/GestureDetector/updateHandlers.js +0 -66
  168. package/lib/commonjs/handlers/gestures/GestureDetector/updateHandlers.js.map +0 -1
  169. package/lib/commonjs/handlers/gestures/GestureDetector/useAnimatedGesture.js +0 -143
  170. package/lib/commonjs/handlers/gestures/GestureDetector/useAnimatedGesture.js.map +0 -1
  171. package/lib/commonjs/handlers/gestures/GestureDetector/useDetectorUpdater.js +0 -47
  172. package/lib/commonjs/handlers/gestures/GestureDetector/useDetectorUpdater.js.map +0 -1
  173. package/lib/commonjs/handlers/gestures/GestureDetector/useMountReactions.js +0 -41
  174. package/lib/commonjs/handlers/gestures/GestureDetector/useMountReactions.js.map +0 -1
  175. package/lib/commonjs/handlers/gestures/GestureDetector/useViewRefHandler.js +0 -41
  176. package/lib/commonjs/handlers/gestures/GestureDetector/useViewRefHandler.js.map +0 -1
  177. package/lib/commonjs/handlers/gestures/GestureDetector/utils.js +0 -143
  178. package/lib/commonjs/handlers/gestures/GestureDetector/utils.js.map +0 -1
  179. package/lib/commonjs/handlers/gestures/eventReceiver.js +0 -106
  180. package/lib/commonjs/handlers/gestures/eventReceiver.js.map +0 -1
  181. package/lib/commonjs/handlers/gestures/flingGesture.js +0 -37
  182. package/lib/commonjs/handlers/gestures/flingGesture.js.map +0 -1
  183. package/lib/commonjs/handlers/gestures/forceTouchGesture.js +0 -68
  184. package/lib/commonjs/handlers/gestures/forceTouchGesture.js.map +0 -1
  185. package/lib/commonjs/handlers/gestures/gesture.js +0 -338
  186. package/lib/commonjs/handlers/gestures/gesture.js.map +0 -1
  187. package/lib/commonjs/handlers/gestures/gestureComposition.js +0 -90
  188. package/lib/commonjs/handlers/gestures/gestureComposition.js.map +0 -1
  189. package/lib/commonjs/handlers/gestures/gestureObjects.js +0 -130
  190. package/lib/commonjs/handlers/gestures/gestureObjects.js.map +0 -1
  191. package/lib/commonjs/handlers/gestures/gestureStateManager.js +0 -69
  192. package/lib/commonjs/handlers/gestures/gestureStateManager.js.map +0 -1
  193. package/lib/commonjs/handlers/gestures/gestureStateManager.web.js +0 -27
  194. package/lib/commonjs/handlers/gestures/gestureStateManager.web.js.map +0 -1
  195. package/lib/commonjs/handlers/gestures/hoverGesture.js +0 -57
  196. package/lib/commonjs/handlers/gestures/hoverGesture.js.map +0 -1
  197. package/lib/commonjs/handlers/gestures/longPressGesture.js +0 -46
  198. package/lib/commonjs/handlers/gestures/longPressGesture.js.map +0 -1
  199. package/lib/commonjs/handlers/gestures/manualGesture.js +0 -25
  200. package/lib/commonjs/handlers/gestures/manualGesture.js.map +0 -1
  201. package/lib/commonjs/handlers/gestures/nativeGesture.ts +0 -33
  202. package/lib/commonjs/handlers/gestures/panGesture.js +0 -197
  203. package/lib/commonjs/handlers/gestures/panGesture.js.map +0 -1
  204. package/lib/commonjs/handlers/gestures/pinchGesture.js +0 -38
  205. package/lib/commonjs/handlers/gestures/pinchGesture.js.map +0 -1
  206. package/lib/commonjs/handlers/gestures/reanimatedWrapper.js +0 -29
  207. package/lib/commonjs/handlers/gestures/reanimatedWrapper.js.map +0 -1
  208. package/lib/commonjs/handlers/gestures/rotationGesture.js +0 -38
  209. package/lib/commonjs/handlers/gestures/rotationGesture.js.map +0 -1
  210. package/lib/commonjs/handlers/gestures/tapGesture.js +0 -87
  211. package/lib/commonjs/handlers/gestures/tapGesture.js.map +0 -1
  212. package/lib/commonjs/handlers/getNextHandlerTag.js +0 -11
  213. package/lib/commonjs/handlers/getNextHandlerTag.js.map +0 -1
  214. package/lib/commonjs/handlers/handlersRegistry.js +0 -50
  215. package/lib/commonjs/handlers/handlersRegistry.js.map +0 -1
  216. package/lib/commonjs/handlers/utils.js +0 -69
  217. package/lib/commonjs/handlers/utils.js.map +0 -1
  218. package/lib/commonjs/index.js +0 -269
  219. package/lib/commonjs/index.js.map +0 -1
  220. package/lib/commonjs/init.js +0 -25
  221. package/lib/commonjs/init.js.map +0 -1
  222. package/lib/commonjs/jestUtils/index.js +0 -19
  223. package/lib/commonjs/jestUtils/index.js.map +0 -1
  224. package/lib/commonjs/jestUtils/jestUtils.js +0 -316
  225. package/lib/commonjs/jestUtils/jestUtils.js.map +0 -1
  226. package/lib/commonjs/mocks.js +0 -73
  227. package/lib/commonjs/mocks.js.map +0 -1
  228. package/lib/commonjs/mountRegistry.js +0 -37
  229. package/lib/commonjs/mountRegistry.js.map +0 -1
  230. package/lib/commonjs/package.json +0 -1
  231. package/lib/commonjs/specs/NativeRNGestureHandlerModule.ts +0 -26
  232. package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.ts +0 -22
  233. package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.ts +0 -6
  234. package/lib/commonjs/typeUtils.js +0 -2
  235. package/lib/commonjs/typeUtils.js.map +0 -1
  236. package/lib/commonjs/utils.js +0 -95
  237. package/lib/commonjs/utils.js.map +0 -1
  238. package/lib/commonjs/web/Gestures.js +0 -48
  239. package/lib/commonjs/web/Gestures.js.map +0 -1
  240. package/lib/commonjs/web/constants.js +0 -9
  241. package/lib/commonjs/web/constants.js.map +0 -1
  242. package/lib/commonjs/web/detectors/RotationGestureDetector.js +0 -121
  243. package/lib/commonjs/web/detectors/RotationGestureDetector.js.map +0 -1
  244. package/lib/commonjs/web/detectors/ScaleGestureDetector.js +0 -111
  245. package/lib/commonjs/web/detectors/ScaleGestureDetector.js.map +0 -1
  246. package/lib/commonjs/web/handlers/FlingGestureHandler.js +0 -140
  247. package/lib/commonjs/web/handlers/FlingGestureHandler.js.map +0 -1
  248. package/lib/commonjs/web/handlers/GestureHandler.js +0 -686
  249. package/lib/commonjs/web/handlers/GestureHandler.js.map +0 -1
  250. package/lib/commonjs/web/handlers/HoverGestureHandler.js +0 -45
  251. package/lib/commonjs/web/handlers/HoverGestureHandler.js.map +0 -1
  252. package/lib/commonjs/web/handlers/IGestureHandler.js +0 -2
  253. package/lib/commonjs/web/handlers/IGestureHandler.js.map +0 -1
  254. package/lib/commonjs/web/handlers/LongPressGestureHandler.js +0 -146
  255. package/lib/commonjs/web/handlers/LongPressGestureHandler.js.map +0 -1
  256. package/lib/commonjs/web/handlers/ManualGestureHandler.js +0 -38
  257. package/lib/commonjs/web/handlers/ManualGestureHandler.js.map +0 -1
  258. package/lib/commonjs/web/handlers/NativeViewGestureHandler.ts +0 -175
  259. package/lib/commonjs/web/handlers/PanGestureHandler.js +0 -408
  260. package/lib/commonjs/web/handlers/PanGestureHandler.js.map +0 -1
  261. package/lib/commonjs/web/handlers/PinchGestureHandler.js +0 -122
  262. package/lib/commonjs/web/handlers/PinchGestureHandler.js.map +0 -1
  263. package/lib/commonjs/web/handlers/RotationGestureHandler.js +0 -129
  264. package/lib/commonjs/web/handlers/RotationGestureHandler.js.map +0 -1
  265. package/lib/commonjs/web/handlers/TapGestureHandler.js +0 -217
  266. package/lib/commonjs/web/handlers/TapGestureHandler.js.map +0 -1
  267. package/lib/commonjs/web/interfaces.js +0 -32
  268. package/lib/commonjs/web/interfaces.js.map +0 -1
  269. package/lib/commonjs/web/tools/CircularBuffer.js +0 -40
  270. package/lib/commonjs/web/tools/CircularBuffer.js.map +0 -1
  271. package/lib/commonjs/web/tools/EventManager.js +0 -94
  272. package/lib/commonjs/web/tools/EventManager.js.map +0 -1
  273. package/lib/commonjs/web/tools/GestureHandlerDelegate.js +0 -6
  274. package/lib/commonjs/web/tools/GestureHandlerDelegate.js.map +0 -1
  275. package/lib/commonjs/web/tools/GestureHandlerOrchestrator.js +0 -267
  276. package/lib/commonjs/web/tools/GestureHandlerOrchestrator.js.map +0 -1
  277. package/lib/commonjs/web/tools/GestureHandlerWebDelegate.js +0 -170
  278. package/lib/commonjs/web/tools/GestureHandlerWebDelegate.js.map +0 -1
  279. package/lib/commonjs/web/tools/InteractionManager.js +0 -96
  280. package/lib/commonjs/web/tools/InteractionManager.js.map +0 -1
  281. package/lib/commonjs/web/tools/KeyboardEventManager.js +0 -82
  282. package/lib/commonjs/web/tools/KeyboardEventManager.js.map +0 -1
  283. package/lib/commonjs/web/tools/LeastSquareSolver.js +0 -159
  284. package/lib/commonjs/web/tools/LeastSquareSolver.js.map +0 -1
  285. package/lib/commonjs/web/tools/NodeManager.js +0 -39
  286. package/lib/commonjs/web/tools/NodeManager.js.map +0 -1
  287. package/lib/commonjs/web/tools/PointerEventManager.js +0 -189
  288. package/lib/commonjs/web/tools/PointerEventManager.js.map +0 -1
  289. package/lib/commonjs/web/tools/PointerTracker.js +0 -191
  290. package/lib/commonjs/web/tools/PointerTracker.js.map +0 -1
  291. package/lib/commonjs/web/tools/Vector.js +0 -37
  292. package/lib/commonjs/web/tools/Vector.js.map +0 -1
  293. package/lib/commonjs/web/tools/VelocityTracker.js +0 -85
  294. package/lib/commonjs/web/tools/VelocityTracker.js.map +0 -1
  295. package/lib/commonjs/web/tools/WheelEventManager.js +0 -55
  296. package/lib/commonjs/web/tools/WheelEventManager.js.map +0 -1
  297. package/lib/commonjs/web/utils.js +0 -235
  298. package/lib/commonjs/web/utils.js.map +0 -1
  299. package/lib/commonjs/web_hammer/DiscreteGestureHandler.js +0 -93
  300. package/lib/commonjs/web_hammer/DiscreteGestureHandler.js.map +0 -1
  301. package/lib/commonjs/web_hammer/DraggingGestureHandler.js +0 -43
  302. package/lib/commonjs/web_hammer/DraggingGestureHandler.js.map +0 -1
  303. package/lib/commonjs/web_hammer/Errors.js +0 -13
  304. package/lib/commonjs/web_hammer/Errors.js.map +0 -1
  305. package/lib/commonjs/web_hammer/FlingGestureHandler.js +0 -139
  306. package/lib/commonjs/web_hammer/FlingGestureHandler.js.map +0 -1
  307. package/lib/commonjs/web_hammer/GestureHandler.js +0 -484
  308. package/lib/commonjs/web_hammer/GestureHandler.js.map +0 -1
  309. package/lib/commonjs/web_hammer/IndiscreteGestureHandler.js +0 -45
  310. package/lib/commonjs/web_hammer/IndiscreteGestureHandler.js.map +0 -1
  311. package/lib/commonjs/web_hammer/LongPressGestureHandler.js +0 -57
  312. package/lib/commonjs/web_hammer/LongPressGestureHandler.js.map +0 -1
  313. package/lib/commonjs/web_hammer/NativeViewGestureHandler.ts +0 -47
  314. package/lib/commonjs/web_hammer/NodeManager.js +0 -41
  315. package/lib/commonjs/web_hammer/NodeManager.js.map +0 -1
  316. package/lib/commonjs/web_hammer/PanGestureHandler.js +0 -167
  317. package/lib/commonjs/web_hammer/PanGestureHandler.js.map +0 -1
  318. package/lib/commonjs/web_hammer/PinchGestureHandler.js +0 -31
  319. package/lib/commonjs/web_hammer/PinchGestureHandler.js.map +0 -1
  320. package/lib/commonjs/web_hammer/PressGestureHandler.js +0 -153
  321. package/lib/commonjs/web_hammer/PressGestureHandler.js.map +0 -1
  322. package/lib/commonjs/web_hammer/RotationGestureHandler.js +0 -32
  323. package/lib/commonjs/web_hammer/RotationGestureHandler.js.map +0 -1
  324. package/lib/commonjs/web_hammer/TapGestureHandler.js +0 -165
  325. package/lib/commonjs/web_hammer/TapGestureHandler.js.map +0 -1
  326. package/lib/commonjs/web_hammer/constants.js +0 -51
  327. package/lib/commonjs/web_hammer/constants.js.map +0 -1
  328. package/lib/commonjs/web_hammer/utils.js +0 -32
  329. package/lib/commonjs/web_hammer/utils.js.map +0 -1
  330. package/lib/module/ActionType.js +0 -11
  331. package/lib/module/ActionType.js.map +0 -1
  332. package/lib/module/Directions.js +0 -27
  333. package/lib/module/Directions.js.map +0 -1
  334. package/lib/module/EnableNewWebImplementation.js +0 -34
  335. package/lib/module/EnableNewWebImplementation.js.map +0 -1
  336. package/lib/module/GestureHandlerRootViewContext.js +0 -5
  337. package/lib/module/GestureHandlerRootViewContext.js.map +0 -1
  338. package/lib/module/PlatformConstants.js +0 -5
  339. package/lib/module/PlatformConstants.js.map +0 -1
  340. package/lib/module/PlatformConstants.web.js +0 -8
  341. package/lib/module/PlatformConstants.web.js.map +0 -1
  342. package/lib/module/PointerType.js +0 -11
  343. package/lib/module/PointerType.js.map +0 -1
  344. package/lib/module/RNGestureHandlerModule.js +0 -8
  345. package/lib/module/RNGestureHandlerModule.js.map +0 -1
  346. package/lib/module/RNGestureHandlerModule.web.js +0 -90
  347. package/lib/module/RNGestureHandlerModule.web.js.map +0 -1
  348. package/lib/module/RNGestureHandlerModule.windows.js +0 -50
  349. package/lib/module/RNGestureHandlerModule.windows.js.map +0 -1
  350. package/lib/module/RNRenderer.js +0 -6
  351. package/lib/module/RNRenderer.js.map +0 -1
  352. package/lib/module/RNRenderer.web.js +0 -6
  353. package/lib/module/RNRenderer.web.js.map +0 -1
  354. package/lib/module/State.js +0 -15
  355. package/lib/module/State.js.map +0 -1
  356. package/lib/module/TouchEventType.js +0 -12
  357. package/lib/module/TouchEventType.js.map +0 -1
  358. package/lib/module/components/DrawerLayout.js +0 -541
  359. package/lib/module/components/DrawerLayout.js.map +0 -1
  360. package/lib/module/components/GestureButtons.js +0 -199
  361. package/lib/module/components/GestureButtons.js.map +0 -1
  362. package/lib/module/components/GestureButtonsProps.js +0 -4
  363. package/lib/module/components/GestureButtonsProps.js.map +0 -1
  364. package/lib/module/components/GestureComponents.js +0 -100
  365. package/lib/module/components/GestureComponents.js.map +0 -1
  366. package/lib/module/components/GestureComponents.web.js +0 -32
  367. package/lib/module/components/GestureComponents.web.js.map +0 -1
  368. package/lib/module/components/GestureHandlerButton.js +0 -5
  369. package/lib/module/components/GestureHandlerButton.js.map +0 -1
  370. package/lib/module/components/GestureHandlerButton.web.js +0 -11
  371. package/lib/module/components/GestureHandlerButton.web.js.map +0 -1
  372. package/lib/module/components/GestureHandlerRootView.android.js +0 -30
  373. package/lib/module/components/GestureHandlerRootView.android.js.map +0 -1
  374. package/lib/module/components/GestureHandlerRootView.js +0 -29
  375. package/lib/module/components/GestureHandlerRootView.js.map +0 -1
  376. package/lib/module/components/GestureHandlerRootView.web.js +0 -24
  377. package/lib/module/components/GestureHandlerRootView.web.js.map +0 -1
  378. package/lib/module/components/Pressable/Pressable.js +0 -318
  379. package/lib/module/components/Pressable/Pressable.js.map +0 -1
  380. package/lib/module/components/Pressable/PressableProps.js +0 -4
  381. package/lib/module/components/Pressable/PressableProps.js.map +0 -1
  382. package/lib/module/components/Pressable/index.js +0 -4
  383. package/lib/module/components/Pressable/index.js.map +0 -1
  384. package/lib/module/components/Pressable/utils.js +0 -84
  385. package/lib/module/components/Pressable/utils.js.map +0 -1
  386. package/lib/module/components/ReanimatedDrawerLayout.js +0 -352
  387. package/lib/module/components/ReanimatedDrawerLayout.js.map +0 -1
  388. package/lib/module/components/ReanimatedSwipeable.js +0 -341
  389. package/lib/module/components/ReanimatedSwipeable.js.map +0 -1
  390. package/lib/module/components/Swipeable.js +0 -364
  391. package/lib/module/components/Swipeable.js.map +0 -1
  392. package/lib/module/components/Text.js +0 -55
  393. package/lib/module/components/Text.js.map +0 -1
  394. package/lib/module/components/gestureHandlerRootHOC.js +0 -28
  395. package/lib/module/components/gestureHandlerRootHOC.js.map +0 -1
  396. package/lib/module/components/touchables/ExtraButtonProps.js +0 -2
  397. package/lib/module/components/touchables/ExtraButtonProps.js.map +0 -1
  398. package/lib/module/components/touchables/GenericTouchable.js +0 -239
  399. package/lib/module/components/touchables/GenericTouchable.js.map +0 -1
  400. package/lib/module/components/touchables/GenericTouchableProps.js +0 -4
  401. package/lib/module/components/touchables/GenericTouchableProps.js.map +0 -1
  402. package/lib/module/components/touchables/TouchableHighlight.js +0 -87
  403. package/lib/module/components/touchables/TouchableHighlight.js.map +0 -1
  404. package/lib/module/components/touchables/TouchableNativeFeedback.android.js +0 -77
  405. package/lib/module/components/touchables/TouchableNativeFeedback.android.js.map +0 -1
  406. package/lib/module/components/touchables/TouchableNativeFeedback.js +0 -10
  407. package/lib/module/components/touchables/TouchableNativeFeedback.js.map +0 -1
  408. package/lib/module/components/touchables/TouchableNativeFeedbackProps.js +0 -4
  409. package/lib/module/components/touchables/TouchableNativeFeedbackProps.js.map +0 -1
  410. package/lib/module/components/touchables/TouchableOpacity.js +0 -59
  411. package/lib/module/components/touchables/TouchableOpacity.js.map +0 -1
  412. package/lib/module/components/touchables/TouchableWithoutFeedback.js +0 -27
  413. package/lib/module/components/touchables/TouchableWithoutFeedback.js.map +0 -1
  414. package/lib/module/components/touchables/index.js +0 -7
  415. package/lib/module/components/touchables/index.js.map +0 -1
  416. package/lib/module/components/utils.js +0 -13
  417. package/lib/module/components/utils.js.map +0 -1
  418. package/lib/module/findNodeHandle.js +0 -5
  419. package/lib/module/findNodeHandle.js.map +0 -1
  420. package/lib/module/findNodeHandle.web.js +0 -35
  421. package/lib/module/findNodeHandle.web.js.map +0 -1
  422. package/lib/module/getShadowNodeFromRef.js +0 -47
  423. package/lib/module/getShadowNodeFromRef.js.map +0 -1
  424. package/lib/module/getShadowNodeFromRef.web.js +0 -10
  425. package/lib/module/getShadowNodeFromRef.web.js.map +0 -1
  426. package/lib/module/ghQueueMicrotask.js +0 -6
  427. package/lib/module/ghQueueMicrotask.js.map +0 -1
  428. package/lib/module/handlers/FlingGestureHandler.js +0 -26
  429. package/lib/module/handlers/FlingGestureHandler.js.map +0 -1
  430. package/lib/module/handlers/ForceTouchGestureHandler.js +0 -41
  431. package/lib/module/handlers/ForceTouchGestureHandler.js.map +0 -1
  432. package/lib/module/handlers/GestureHandlerEventPayload.js +0 -4
  433. package/lib/module/handlers/GestureHandlerEventPayload.js.map +0 -1
  434. package/lib/module/handlers/LongPressGestureHandler.js +0 -28
  435. package/lib/module/handlers/LongPressGestureHandler.js.map +0 -1
  436. package/lib/module/handlers/NativeViewGestureHandler.ts +0 -59
  437. package/lib/module/handlers/PanGestureHandler.js +0 -105
  438. package/lib/module/handlers/PanGestureHandler.js.map +0 -1
  439. package/lib/module/handlers/PinchGestureHandler.js +0 -25
  440. package/lib/module/handlers/PinchGestureHandler.js.map +0 -1
  441. package/lib/module/handlers/PressabilityDebugView.js +0 -5
  442. package/lib/module/handlers/PressabilityDebugView.js.map +0 -1
  443. package/lib/module/handlers/PressabilityDebugView.web.js +0 -7
  444. package/lib/module/handlers/PressabilityDebugView.web.js.map +0 -1
  445. package/lib/module/handlers/RotationGestureHandler.js +0 -25
  446. package/lib/module/handlers/RotationGestureHandler.js.map +0 -1
  447. package/lib/module/handlers/TapGestureHandler.js +0 -28
  448. package/lib/module/handlers/TapGestureHandler.js.map +0 -1
  449. package/lib/module/handlers/createHandler.js +0 -387
  450. package/lib/module/handlers/createHandler.js.map +0 -1
  451. package/lib/module/handlers/createNativeWrapper.js +0 -75
  452. package/lib/module/handlers/createNativeWrapper.js.map +0 -1
  453. package/lib/module/handlers/customDirectEventTypes.js +0 -5
  454. package/lib/module/handlers/customDirectEventTypes.js.map +0 -1
  455. package/lib/module/handlers/customDirectEventTypes.web.js +0 -7
  456. package/lib/module/handlers/customDirectEventTypes.web.js.map +0 -1
  457. package/lib/module/handlers/gestureHandlerCommon.js +0 -26
  458. package/lib/module/handlers/gestureHandlerCommon.js.map +0 -1
  459. package/lib/module/handlers/gestureHandlerTypesCompat.js +0 -4
  460. package/lib/module/handlers/gestureHandlerTypesCompat.js.map +0 -1
  461. package/lib/module/handlers/gestures/GestureDetector/Wrap.js +0 -26
  462. package/lib/module/handlers/gestures/GestureDetector/Wrap.js.map +0 -1
  463. package/lib/module/handlers/gestures/GestureDetector/Wrap.web.js +0 -36
  464. package/lib/module/handlers/gestures/GestureDetector/Wrap.web.js.map +0 -1
  465. package/lib/module/handlers/gestures/GestureDetector/attachHandlers.js +0 -62
  466. package/lib/module/handlers/gestures/GestureDetector/attachHandlers.js.map +0 -1
  467. package/lib/module/handlers/gestures/GestureDetector/dropHandlers.js +0 -15
  468. package/lib/module/handlers/gestures/GestureDetector/dropHandlers.js.map +0 -1
  469. package/lib/module/handlers/gestures/GestureDetector/index.js +0 -117
  470. package/lib/module/handlers/gestures/GestureDetector/index.js.map +0 -1
  471. package/lib/module/handlers/gestures/GestureDetector/needsToReattach.js +0 -18
  472. package/lib/module/handlers/gestures/GestureDetector/needsToReattach.js.map +0 -1
  473. package/lib/module/handlers/gestures/GestureDetector/types.js +0 -4
  474. package/lib/module/handlers/gestures/GestureDetector/types.js.map +0 -1
  475. package/lib/module/handlers/gestures/GestureDetector/updateHandlers.js +0 -61
  476. package/lib/module/handlers/gestures/GestureDetector/updateHandlers.js.map +0 -1
  477. package/lib/module/handlers/gestures/GestureDetector/useAnimatedGesture.js +0 -139
  478. package/lib/module/handlers/gestures/GestureDetector/useAnimatedGesture.js.map +0 -1
  479. package/lib/module/handlers/gestures/GestureDetector/useDetectorUpdater.js +0 -43
  480. package/lib/module/handlers/gestures/GestureDetector/useDetectorUpdater.js.map +0 -1
  481. package/lib/module/handlers/gestures/GestureDetector/useMountReactions.js +0 -37
  482. package/lib/module/handlers/gestures/GestureDetector/useMountReactions.js.map +0 -1
  483. package/lib/module/handlers/gestures/GestureDetector/useViewRefHandler.js +0 -36
  484. package/lib/module/handlers/gestures/GestureDetector/useViewRefHandler.js.map +0 -1
  485. package/lib/module/handlers/gestures/GestureDetector/utils.js +0 -134
  486. package/lib/module/handlers/gestures/GestureDetector/utils.js.map +0 -1
  487. package/lib/module/handlers/gestures/eventReceiver.js +0 -100
  488. package/lib/module/handlers/gestures/eventReceiver.js.map +0 -1
  489. package/lib/module/handlers/gestures/flingGesture.js +0 -32
  490. package/lib/module/handlers/gestures/flingGesture.js.map +0 -1
  491. package/lib/module/handlers/gestures/forceTouchGesture.js +0 -63
  492. package/lib/module/handlers/gestures/forceTouchGesture.js.map +0 -1
  493. package/lib/module/handlers/gestures/gesture.js +0 -332
  494. package/lib/module/handlers/gestures/gesture.js.map +0 -1
  495. package/lib/module/handlers/gestures/gestureComposition.js +0 -83
  496. package/lib/module/handlers/gestures/gestureComposition.js.map +0 -1
  497. package/lib/module/handlers/gestures/gestureObjects.js +0 -127
  498. package/lib/module/handlers/gestures/gestureObjects.js.map +0 -1
  499. package/lib/module/handlers/gestures/gestureStateManager.js +0 -65
  500. package/lib/module/handlers/gestures/gestureStateManager.js.map +0 -1
  501. package/lib/module/handlers/gestures/gestureStateManager.web.js +0 -22
  502. package/lib/module/handlers/gestures/gestureStateManager.web.js.map +0 -1
  503. package/lib/module/handlers/gestures/hoverGesture.js +0 -52
  504. package/lib/module/handlers/gestures/hoverGesture.js.map +0 -1
  505. package/lib/module/handlers/gestures/longPressGesture.js +0 -41
  506. package/lib/module/handlers/gestures/longPressGesture.js.map +0 -1
  507. package/lib/module/handlers/gestures/manualGesture.js +0 -20
  508. package/lib/module/handlers/gestures/manualGesture.js.map +0 -1
  509. package/lib/module/handlers/gestures/nativeGesture.ts +0 -33
  510. package/lib/module/handlers/gestures/panGesture.js +0 -192
  511. package/lib/module/handlers/gestures/panGesture.js.map +0 -1
  512. package/lib/module/handlers/gestures/pinchGesture.js +0 -33
  513. package/lib/module/handlers/gestures/pinchGesture.js.map +0 -1
  514. package/lib/module/handlers/gestures/reanimatedWrapper.js +0 -26
  515. package/lib/module/handlers/gestures/reanimatedWrapper.js.map +0 -1
  516. package/lib/module/handlers/gestures/rotationGesture.js +0 -33
  517. package/lib/module/handlers/gestures/rotationGesture.js.map +0 -1
  518. package/lib/module/handlers/gestures/tapGesture.js +0 -82
  519. package/lib/module/handlers/gestures/tapGesture.js.map +0 -1
  520. package/lib/module/handlers/getNextHandlerTag.js +0 -7
  521. package/lib/module/handlers/getNextHandlerTag.js.map +0 -1
  522. package/lib/module/handlers/handlersRegistry.js +0 -39
  523. package/lib/module/handlers/handlersRegistry.js.map +0 -1
  524. package/lib/module/handlers/utils.js +0 -61
  525. package/lib/module/handlers/utils.js.map +0 -1
  526. package/lib/module/index.js +0 -31
  527. package/lib/module/index.js.map +0 -1
  528. package/lib/module/init.js +0 -19
  529. package/lib/module/init.js.map +0 -1
  530. package/lib/module/jestUtils/index.js +0 -4
  531. package/lib/module/jestUtils/index.js.map +0 -1
  532. package/lib/module/jestUtils/jestUtils.js +0 -311
  533. package/lib/module/jestUtils/jestUtils.js.map +0 -1
  534. package/lib/module/mocks.js +0 -68
  535. package/lib/module/mocks.js.map +0 -1
  536. package/lib/module/mountRegistry.js +0 -32
  537. package/lib/module/mountRegistry.js.map +0 -1
  538. package/lib/module/specs/NativeRNGestureHandlerModule.ts +0 -26
  539. package/lib/module/specs/RNGestureHandlerButtonNativeComponent.ts +0 -22
  540. package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.ts +0 -6
  541. package/lib/module/typeUtils.js +0 -2
  542. package/lib/module/typeUtils.js.map +0 -1
  543. package/lib/module/utils.js +0 -81
  544. package/lib/module/utils.js.map +0 -1
  545. package/lib/module/web/Gestures.js +0 -42
  546. package/lib/module/web/Gestures.js.map +0 -1
  547. package/lib/module/web/constants.js +0 -5
  548. package/lib/module/web/constants.js.map +0 -1
  549. package/lib/module/web/detectors/RotationGestureDetector.js +0 -116
  550. package/lib/module/web/detectors/RotationGestureDetector.js.map +0 -1
  551. package/lib/module/web/detectors/ScaleGestureDetector.js +0 -106
  552. package/lib/module/web/detectors/ScaleGestureDetector.js.map +0 -1
  553. package/lib/module/web/handlers/FlingGestureHandler.js +0 -134
  554. package/lib/module/web/handlers/FlingGestureHandler.js.map +0 -1
  555. package/lib/module/web/handlers/GestureHandler.js +0 -679
  556. package/lib/module/web/handlers/GestureHandler.js.map +0 -1
  557. package/lib/module/web/handlers/HoverGestureHandler.js +0 -39
  558. package/lib/module/web/handlers/HoverGestureHandler.js.map +0 -1
  559. package/lib/module/web/handlers/IGestureHandler.js +0 -2
  560. package/lib/module/web/handlers/IGestureHandler.js.map +0 -1
  561. package/lib/module/web/handlers/LongPressGestureHandler.js +0 -140
  562. package/lib/module/web/handlers/LongPressGestureHandler.js.map +0 -1
  563. package/lib/module/web/handlers/ManualGestureHandler.js +0 -32
  564. package/lib/module/web/handlers/ManualGestureHandler.js.map +0 -1
  565. package/lib/module/web/handlers/NativeViewGestureHandler.ts +0 -175
  566. package/lib/module/web/handlers/PanGestureHandler.js +0 -402
  567. package/lib/module/web/handlers/PanGestureHandler.js.map +0 -1
  568. package/lib/module/web/handlers/PinchGestureHandler.js +0 -116
  569. package/lib/module/web/handlers/PinchGestureHandler.js.map +0 -1
  570. package/lib/module/web/handlers/RotationGestureHandler.js +0 -123
  571. package/lib/module/web/handlers/RotationGestureHandler.js.map +0 -1
  572. package/lib/module/web/handlers/TapGestureHandler.js +0 -211
  573. package/lib/module/web/handlers/TapGestureHandler.js.map +0 -1
  574. package/lib/module/web/interfaces.js +0 -28
  575. package/lib/module/web/interfaces.js.map +0 -1
  576. package/lib/module/web/tools/CircularBuffer.js +0 -35
  577. package/lib/module/web/tools/CircularBuffer.js.map +0 -1
  578. package/lib/module/web/tools/EventManager.js +0 -89
  579. package/lib/module/web/tools/EventManager.js.map +0 -1
  580. package/lib/module/web/tools/GestureHandlerDelegate.js +0 -4
  581. package/lib/module/web/tools/GestureHandlerDelegate.js.map +0 -1
  582. package/lib/module/web/tools/GestureHandlerOrchestrator.js +0 -261
  583. package/lib/module/web/tools/GestureHandlerOrchestrator.js.map +0 -1
  584. package/lib/module/web/tools/GestureHandlerWebDelegate.js +0 -164
  585. package/lib/module/web/tools/GestureHandlerWebDelegate.js.map +0 -1
  586. package/lib/module/web/tools/InteractionManager.js +0 -91
  587. package/lib/module/web/tools/InteractionManager.js.map +0 -1
  588. package/lib/module/web/tools/KeyboardEventManager.js +0 -76
  589. package/lib/module/web/tools/KeyboardEventManager.js.map +0 -1
  590. package/lib/module/web/tools/LeastSquareSolver.js +0 -154
  591. package/lib/module/web/tools/LeastSquareSolver.js.map +0 -1
  592. package/lib/module/web/tools/NodeManager.js +0 -34
  593. package/lib/module/web/tools/NodeManager.js.map +0 -1
  594. package/lib/module/web/tools/PointerEventManager.js +0 -183
  595. package/lib/module/web/tools/PointerEventManager.js.map +0 -1
  596. package/lib/module/web/tools/PointerTracker.js +0 -185
  597. package/lib/module/web/tools/PointerTracker.js.map +0 -1
  598. package/lib/module/web/tools/Vector.js +0 -32
  599. package/lib/module/web/tools/Vector.js.map +0 -1
  600. package/lib/module/web/tools/VelocityTracker.js +0 -79
  601. package/lib/module/web/tools/VelocityTracker.js.map +0 -1
  602. package/lib/module/web/tools/WheelEventManager.js +0 -49
  603. package/lib/module/web/tools/WheelEventManager.js.map +0 -1
  604. package/lib/module/web/utils.js +0 -223
  605. package/lib/module/web/utils.js.map +0 -1
  606. package/lib/module/web_hammer/DiscreteGestureHandler.js +0 -87
  607. package/lib/module/web_hammer/DiscreteGestureHandler.js.map +0 -1
  608. package/lib/module/web_hammer/DraggingGestureHandler.js +0 -37
  609. package/lib/module/web_hammer/DraggingGestureHandler.js.map +0 -1
  610. package/lib/module/web_hammer/Errors.js +0 -8
  611. package/lib/module/web_hammer/Errors.js.map +0 -1
  612. package/lib/module/web_hammer/FlingGestureHandler.js +0 -133
  613. package/lib/module/web_hammer/FlingGestureHandler.js.map +0 -1
  614. package/lib/module/web_hammer/GestureHandler.js +0 -478
  615. package/lib/module/web_hammer/GestureHandler.js.map +0 -1
  616. package/lib/module/web_hammer/IndiscreteGestureHandler.js +0 -41
  617. package/lib/module/web_hammer/IndiscreteGestureHandler.js.map +0 -1
  618. package/lib/module/web_hammer/LongPressGestureHandler.js +0 -51
  619. package/lib/module/web_hammer/LongPressGestureHandler.js.map +0 -1
  620. package/lib/module/web_hammer/NativeViewGestureHandler.ts +0 -47
  621. package/lib/module/web_hammer/NodeManager.js +0 -33
  622. package/lib/module/web_hammer/NodeManager.js.map +0 -1
  623. package/lib/module/web_hammer/PanGestureHandler.js +0 -162
  624. package/lib/module/web_hammer/PanGestureHandler.js.map +0 -1
  625. package/lib/module/web_hammer/PinchGestureHandler.js +0 -26
  626. package/lib/module/web_hammer/PinchGestureHandler.js.map +0 -1
  627. package/lib/module/web_hammer/PressGestureHandler.js +0 -148
  628. package/lib/module/web_hammer/PressGestureHandler.js.map +0 -1
  629. package/lib/module/web_hammer/RotationGestureHandler.js +0 -27
  630. package/lib/module/web_hammer/RotationGestureHandler.js.map +0 -1
  631. package/lib/module/web_hammer/TapGestureHandler.js +0 -160
  632. package/lib/module/web_hammer/TapGestureHandler.js.map +0 -1
  633. package/lib/module/web_hammer/constants.js +0 -46
  634. package/lib/module/web_hammer/constants.js.map +0 -1
  635. package/lib/module/web_hammer/utils.js +0 -21
  636. package/lib/module/web_hammer/utils.js.map +0 -1
  637. package/lib/typescript/ActionType.d.ts +0 -8
  638. package/lib/typescript/ActionType.d.ts.map +0 -1
  639. package/lib/typescript/Directions.d.ts +0 -15
  640. package/lib/typescript/Directions.d.ts.map +0 -1
  641. package/lib/typescript/EnableNewWebImplementation.d.ts +0 -10
  642. package/lib/typescript/EnableNewWebImplementation.d.ts.map +0 -1
  643. package/lib/typescript/GestureHandlerRootViewContext.d.ts +0 -4
  644. package/lib/typescript/GestureHandlerRootViewContext.d.ts.map +0 -1
  645. package/lib/typescript/PlatformConstants.d.ts +0 -6
  646. package/lib/typescript/PlatformConstants.d.ts.map +0 -1
  647. package/lib/typescript/PlatformConstants.web.d.ts +0 -5
  648. package/lib/typescript/PlatformConstants.web.d.ts.map +0 -1
  649. package/lib/typescript/PointerType.d.ts +0 -8
  650. package/lib/typescript/PointerType.d.ts.map +0 -1
  651. package/lib/typescript/RNGestureHandlerModule.d.ts +0 -3
  652. package/lib/typescript/RNGestureHandlerModule.d.ts.map +0 -1
  653. package/lib/typescript/RNGestureHandlerModule.web.d.ts +0 -16
  654. package/lib/typescript/RNGestureHandlerModule.web.d.ts.map +0 -1
  655. package/lib/typescript/RNGestureHandlerModule.windows.d.ts +0 -33
  656. package/lib/typescript/RNGestureHandlerModule.windows.d.ts.map +0 -1
  657. package/lib/typescript/RNRenderer.d.ts +0 -2
  658. package/lib/typescript/RNRenderer.d.ts.map +0 -1
  659. package/lib/typescript/RNRenderer.web.d.ts +0 -4
  660. package/lib/typescript/RNRenderer.web.d.ts.map +0 -1
  661. package/lib/typescript/State.d.ts +0 -10
  662. package/lib/typescript/State.d.ts.map +0 -1
  663. package/lib/typescript/TouchEventType.d.ts +0 -9
  664. package/lib/typescript/TouchEventType.d.ts.map +0 -1
  665. package/lib/typescript/components/DrawerLayout.d.ts +0 -186
  666. package/lib/typescript/components/DrawerLayout.d.ts.map +0 -1
  667. package/lib/typescript/components/GestureButtons.d.ts +0 -8
  668. package/lib/typescript/components/GestureButtons.d.ts.map +0 -1
  669. package/lib/typescript/components/GestureButtonsProps.d.ts +0 -116
  670. package/lib/typescript/components/GestureButtonsProps.d.ts.map +0 -1
  671. package/lib/typescript/components/GestureComponents.d.ts +0 -23
  672. package/lib/typescript/components/GestureComponents.d.ts.map +0 -1
  673. package/lib/typescript/components/GestureComponents.web.d.ts +0 -9
  674. package/lib/typescript/components/GestureComponents.web.d.ts.map +0 -1
  675. package/lib/typescript/components/GestureHandlerButton.d.ts +0 -5
  676. package/lib/typescript/components/GestureHandlerButton.d.ts.map +0 -1
  677. package/lib/typescript/components/GestureHandlerButton.web.d.ts +0 -5
  678. package/lib/typescript/components/GestureHandlerButton.web.d.ts.map +0 -1
  679. package/lib/typescript/components/GestureHandlerRootView.android.d.ts +0 -7
  680. package/lib/typescript/components/GestureHandlerRootView.android.d.ts.map +0 -1
  681. package/lib/typescript/components/GestureHandlerRootView.d.ts +0 -7
  682. package/lib/typescript/components/GestureHandlerRootView.d.ts.map +0 -1
  683. package/lib/typescript/components/GestureHandlerRootView.web.d.ts +0 -7
  684. package/lib/typescript/components/GestureHandlerRootView.web.d.ts.map +0 -1
  685. package/lib/typescript/components/Pressable/Pressable.d.ts +0 -6
  686. package/lib/typescript/components/Pressable/Pressable.d.ts.map +0 -1
  687. package/lib/typescript/components/Pressable/PressableProps.d.ts +0 -125
  688. package/lib/typescript/components/Pressable/PressableProps.d.ts.map +0 -1
  689. package/lib/typescript/components/Pressable/index.d.ts +0 -3
  690. package/lib/typescript/components/Pressable/index.d.ts.map +0 -1
  691. package/lib/typescript/components/Pressable/utils.d.ts +0 -14
  692. package/lib/typescript/components/Pressable/utils.d.ts.map +0 -1
  693. package/lib/typescript/components/ReanimatedDrawerLayout.d.ts +0 -168
  694. package/lib/typescript/components/ReanimatedDrawerLayout.d.ts.map +0 -1
  695. package/lib/typescript/components/ReanimatedSwipeable.d.ts +0 -148
  696. package/lib/typescript/components/ReanimatedSwipeable.d.ts.map +0 -1
  697. package/lib/typescript/components/Swipeable.d.ts +0 -184
  698. package/lib/typescript/components/Swipeable.d.ts.map +0 -1
  699. package/lib/typescript/components/Text.d.ts +0 -5
  700. package/lib/typescript/components/Text.d.ts.map +0 -1
  701. package/lib/typescript/components/gestureHandlerRootHOC.d.ts +0 -4
  702. package/lib/typescript/components/gestureHandlerRootHOC.d.ts.map +0 -1
  703. package/lib/typescript/components/touchables/ExtraButtonProps.d.ts +0 -8
  704. package/lib/typescript/components/touchables/ExtraButtonProps.d.ts.map +0 -1
  705. package/lib/typescript/components/touchables/GenericTouchable.d.ts +0 -56
  706. package/lib/typescript/components/touchables/GenericTouchable.d.ts.map +0 -1
  707. package/lib/typescript/components/touchables/GenericTouchableProps.d.ts +0 -17
  708. package/lib/typescript/components/touchables/GenericTouchableProps.d.ts.map +0 -1
  709. package/lib/typescript/components/touchables/TouchableHighlight.d.ts +0 -42
  710. package/lib/typescript/components/touchables/TouchableHighlight.d.ts.map +0 -1
  711. package/lib/typescript/components/touchables/TouchableNativeFeedback.android.d.ts +0 -41
  712. package/lib/typescript/components/touchables/TouchableNativeFeedback.android.d.ts.map +0 -1
  713. package/lib/typescript/components/touchables/TouchableNativeFeedback.d.ts +0 -7
  714. package/lib/typescript/components/touchables/TouchableNativeFeedback.d.ts.map +0 -1
  715. package/lib/typescript/components/touchables/TouchableNativeFeedbackProps.d.ts +0 -9
  716. package/lib/typescript/components/touchables/TouchableNativeFeedbackProps.d.ts.map +0 -1
  717. package/lib/typescript/components/touchables/TouchableOpacity.d.ts +0 -31
  718. package/lib/typescript/components/touchables/TouchableOpacity.d.ts.map +0 -1
  719. package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts +0 -15
  720. package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts.map +0 -1
  721. package/lib/typescript/components/touchables/index.d.ts +0 -8
  722. package/lib/typescript/components/touchables/index.d.ts.map +0 -1
  723. package/lib/typescript/components/utils.d.ts +0 -5
  724. package/lib/typescript/components/utils.d.ts.map +0 -1
  725. package/lib/typescript/findNodeHandle.d.ts +0 -3
  726. package/lib/typescript/findNodeHandle.d.ts.map +0 -1
  727. package/lib/typescript/findNodeHandle.web.d.ts +0 -3
  728. package/lib/typescript/findNodeHandle.web.d.ts.map +0 -1
  729. package/lib/typescript/getShadowNodeFromRef.d.ts +0 -2
  730. package/lib/typescript/getShadowNodeFromRef.d.ts.map +0 -1
  731. package/lib/typescript/getShadowNodeFromRef.web.d.ts +0 -2
  732. package/lib/typescript/getShadowNodeFromRef.web.d.ts.map +0 -1
  733. package/lib/typescript/ghQueueMicrotask.d.ts +0 -2
  734. package/lib/typescript/ghQueueMicrotask.d.ts.map +0 -1
  735. package/lib/typescript/handlers/FlingGestureHandler.d.ts +0 -39
  736. package/lib/typescript/handlers/FlingGestureHandler.d.ts.map +0 -1
  737. package/lib/typescript/handlers/ForceTouchGestureHandler.d.ts +0 -45
  738. package/lib/typescript/handlers/ForceTouchGestureHandler.d.ts.map +0 -1
  739. package/lib/typescript/handlers/GestureHandlerEventPayload.d.ts +0 -195
  740. package/lib/typescript/handlers/GestureHandlerEventPayload.d.ts.map +0 -1
  741. package/lib/typescript/handlers/LongPressGestureHandler.d.ts +0 -36
  742. package/lib/typescript/handlers/LongPressGestureHandler.d.ts.map +0 -1
  743. package/lib/typescript/handlers/NativeViewGestureHandler.d.ts +0 -33
  744. package/lib/typescript/handlers/NativeViewGestureHandler.d.ts.map +0 -1
  745. package/lib/typescript/handlers/PanGestureHandler.d.ts +0 -100
  746. package/lib/typescript/handlers/PanGestureHandler.d.ts.map +0 -1
  747. package/lib/typescript/handlers/PinchGestureHandler.d.ts +0 -17
  748. package/lib/typescript/handlers/PinchGestureHandler.d.ts.map +0 -1
  749. package/lib/typescript/handlers/PressabilityDebugView.d.ts +0 -2
  750. package/lib/typescript/handlers/PressabilityDebugView.d.ts.map +0 -1
  751. package/lib/typescript/handlers/PressabilityDebugView.web.d.ts +0 -2
  752. package/lib/typescript/handlers/PressabilityDebugView.web.d.ts.map +0 -1
  753. package/lib/typescript/handlers/RotationGestureHandler.d.ts +0 -17
  754. package/lib/typescript/handlers/RotationGestureHandler.d.ts.map +0 -1
  755. package/lib/typescript/handlers/TapGestureHandler.d.ts +0 -62
  756. package/lib/typescript/handlers/TapGestureHandler.d.ts.map +0 -1
  757. package/lib/typescript/handlers/createHandler.d.ts +0 -12
  758. package/lib/typescript/handlers/createHandler.d.ts.map +0 -1
  759. package/lib/typescript/handlers/createNativeWrapper.d.ts +0 -4
  760. package/lib/typescript/handlers/createNativeWrapper.d.ts.map +0 -1
  761. package/lib/typescript/handlers/customDirectEventTypes.d.ts +0 -2
  762. package/lib/typescript/handlers/customDirectEventTypes.d.ts.map +0 -1
  763. package/lib/typescript/handlers/customDirectEventTypes.web.d.ts +0 -3
  764. package/lib/typescript/handlers/customDirectEventTypes.web.d.ts.map +0 -1
  765. package/lib/typescript/handlers/gestureHandlerCommon.d.ts +0 -79
  766. package/lib/typescript/handlers/gestureHandlerCommon.d.ts.map +0 -1
  767. package/lib/typescript/handlers/gestureHandlerTypesCompat.d.ts +0 -44
  768. package/lib/typescript/handlers/gestureHandlerTypesCompat.d.ts.map +0 -1
  769. package/lib/typescript/handlers/gestures/GestureDetector/Wrap.d.ts +0 -14
  770. package/lib/typescript/handlers/gestures/GestureDetector/Wrap.d.ts.map +0 -1
  771. package/lib/typescript/handlers/gestures/GestureDetector/Wrap.web.d.ts +0 -8
  772. package/lib/typescript/handlers/gestures/GestureDetector/Wrap.web.d.ts.map +0 -1
  773. package/lib/typescript/handlers/gestures/GestureDetector/attachHandlers.d.ts +0 -14
  774. package/lib/typescript/handlers/gestures/GestureDetector/attachHandlers.d.ts.map +0 -1
  775. package/lib/typescript/handlers/gestures/GestureDetector/dropHandlers.d.ts +0 -3
  776. package/lib/typescript/handlers/gestures/GestureDetector/dropHandlers.d.ts.map +0 -1
  777. package/lib/typescript/handlers/gestures/GestureDetector/index.d.ts +0 -50
  778. package/lib/typescript/handlers/gestures/GestureDetector/index.d.ts.map +0 -1
  779. package/lib/typescript/handlers/gestures/GestureDetector/needsToReattach.d.ts +0 -4
  780. package/lib/typescript/handlers/gestures/GestureDetector/needsToReattach.d.ts.map +0 -1
  781. package/lib/typescript/handlers/gestures/GestureDetector/types.d.ts +0 -21
  782. package/lib/typescript/handlers/gestures/GestureDetector/types.d.ts.map +0 -1
  783. package/lib/typescript/handlers/gestures/GestureDetector/updateHandlers.d.ts +0 -5
  784. package/lib/typescript/handlers/gestures/GestureDetector/updateHandlers.d.ts.map +0 -1
  785. package/lib/typescript/handlers/gestures/GestureDetector/useAnimatedGesture.d.ts +0 -3
  786. package/lib/typescript/handlers/gestures/GestureDetector/useAnimatedGesture.d.ts.map +0 -1
  787. package/lib/typescript/handlers/gestures/GestureDetector/useDetectorUpdater.d.ts +0 -6
  788. package/lib/typescript/handlers/gestures/GestureDetector/useDetectorUpdater.d.ts.map +0 -1
  789. package/lib/typescript/handlers/gestures/GestureDetector/useMountReactions.d.ts +0 -3
  790. package/lib/typescript/handlers/gestures/GestureDetector/useMountReactions.d.ts.map +0 -1
  791. package/lib/typescript/handlers/gestures/GestureDetector/useViewRefHandler.d.ts +0 -4
  792. package/lib/typescript/handlers/gestures/GestureDetector/useViewRefHandler.d.ts.map +0 -1
  793. package/lib/typescript/handlers/gestures/GestureDetector/utils.d.ts +0 -13
  794. package/lib/typescript/handlers/gestures/GestureDetector/utils.d.ts.map +0 -1
  795. package/lib/typescript/handlers/gestures/eventReceiver.d.ts +0 -5
  796. package/lib/typescript/handlers/gestures/eventReceiver.d.ts.map +0 -1
  797. package/lib/typescript/handlers/gestures/flingGesture.d.ts +0 -22
  798. package/lib/typescript/handlers/gestures/flingGesture.d.ts.map +0 -1
  799. package/lib/typescript/handlers/gestures/forceTouchGesture.d.ts +0 -31
  800. package/lib/typescript/handlers/gestures/forceTouchGesture.d.ts.map +0 -1
  801. package/lib/typescript/handlers/gestures/gesture.d.ts +0 -218
  802. package/lib/typescript/handlers/gestures/gesture.d.ts.map +0 -1
  803. package/lib/typescript/handlers/gestures/gestureComposition.d.ts +0 -22
  804. package/lib/typescript/handlers/gestures/gestureComposition.d.ts.map +0 -1
  805. package/lib/typescript/handlers/gestures/gestureObjects.d.ts +0 -99
  806. package/lib/typescript/handlers/gestures/gestureObjects.d.ts.map +0 -1
  807. package/lib/typescript/handlers/gestures/gestureStateManager.d.ts +0 -12
  808. package/lib/typescript/handlers/gestures/gestureStateManager.d.ts.map +0 -1
  809. package/lib/typescript/handlers/gestures/gestureStateManager.web.d.ts +0 -5
  810. package/lib/typescript/handlers/gestures/gestureStateManager.web.d.ts.map +0 -1
  811. package/lib/typescript/handlers/gestures/hoverGesture.d.ts +0 -28
  812. package/lib/typescript/handlers/gestures/hoverGesture.d.ts.map +0 -1
  813. package/lib/typescript/handlers/gestures/longPressGesture.d.ts +0 -26
  814. package/lib/typescript/handlers/gestures/longPressGesture.d.ts.map +0 -1
  815. package/lib/typescript/handlers/gestures/manualGesture.d.ts +0 -8
  816. package/lib/typescript/handlers/gestures/manualGesture.d.ts.map +0 -1
  817. package/lib/typescript/handlers/gestures/nativeGesture.d.ts +0 -19
  818. package/lib/typescript/handlers/gestures/nativeGesture.d.ts.map +0 -1
  819. package/lib/typescript/handlers/gestures/panGesture.d.ts +0 -91
  820. package/lib/typescript/handlers/gestures/panGesture.d.ts.map +0 -1
  821. package/lib/typescript/handlers/gestures/pinchGesture.d.ts +0 -12
  822. package/lib/typescript/handlers/gestures/pinchGesture.d.ts.map +0 -1
  823. package/lib/typescript/handlers/gestures/reanimatedWrapper.d.ts +0 -15
  824. package/lib/typescript/handlers/gestures/reanimatedWrapper.d.ts.map +0 -1
  825. package/lib/typescript/handlers/gestures/rotationGesture.d.ts +0 -13
  826. package/lib/typescript/handlers/gestures/rotationGesture.d.ts.map +0 -1
  827. package/lib/typescript/handlers/gestures/tapGesture.d.ts +0 -51
  828. package/lib/typescript/handlers/gestures/tapGesture.d.ts.map +0 -1
  829. package/lib/typescript/handlers/getNextHandlerTag.d.ts +0 -2
  830. package/lib/typescript/handlers/getNextHandlerTag.d.ts.map +0 -1
  831. package/lib/typescript/handlers/handlersRegistry.d.ts +0 -15
  832. package/lib/typescript/handlers/handlersRegistry.d.ts.map +0 -1
  833. package/lib/typescript/handlers/utils.d.ts +0 -8
  834. package/lib/typescript/handlers/utils.d.ts.map +0 -1
  835. package/lib/typescript/index.d.ts +0 -59
  836. package/lib/typescript/index.d.ts.map +0 -1
  837. package/lib/typescript/init.d.ts +0 -3
  838. package/lib/typescript/init.d.ts.map +0 -1
  839. package/lib/typescript/jestUtils/index.d.ts +0 -2
  840. package/lib/typescript/jestUtils/index.d.ts.map +0 -1
  841. package/lib/typescript/jestUtils/jestUtils.d.ts +0 -30
  842. package/lib/typescript/jestUtils/jestUtils.d.ts.map +0 -1
  843. package/lib/typescript/mocks.d.ts +0 -47
  844. package/lib/typescript/mocks.d.ts.map +0 -1
  845. package/lib/typescript/mountRegistry.d.ts +0 -17
  846. package/lib/typescript/mountRegistry.d.ts.map +0 -1
  847. package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +0 -15
  848. package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts.map +0 -1
  849. package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +0 -17
  850. package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts.map +0 -1
  851. package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts +0 -6
  852. package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts.map +0 -1
  853. package/lib/typescript/typeUtils.d.ts +0 -2
  854. package/lib/typescript/typeUtils.d.ts.map +0 -1
  855. package/lib/typescript/utils.d.ts +0 -21
  856. package/lib/typescript/utils.d.ts.map +0 -1
  857. package/lib/typescript/web/Gestures.d.ts +0 -37
  858. package/lib/typescript/web/Gestures.d.ts.map +0 -1
  859. package/lib/typescript/web/constants.d.ts +0 -3
  860. package/lib/typescript/web/constants.d.ts.map +0 -1
  861. package/lib/typescript/web/detectors/RotationGestureDetector.d.ts +0 -31
  862. package/lib/typescript/web/detectors/RotationGestureDetector.d.ts.map +0 -1
  863. package/lib/typescript/web/detectors/ScaleGestureDetector.d.ts +0 -30
  864. package/lib/typescript/web/detectors/ScaleGestureDetector.d.ts.map +0 -1
  865. package/lib/typescript/web/handlers/FlingGestureHandler.d.ts +0 -27
  866. package/lib/typescript/web/handlers/FlingGestureHandler.d.ts.map +0 -1
  867. package/lib/typescript/web/handlers/GestureHandler.d.ts +0 -103
  868. package/lib/typescript/web/handlers/GestureHandler.d.ts.map +0 -1
  869. package/lib/typescript/web/handlers/HoverGestureHandler.d.ts +0 -11
  870. package/lib/typescript/web/handlers/HoverGestureHandler.d.ts.map +0 -1
  871. package/lib/typescript/web/handlers/IGestureHandler.d.ts +0 -38
  872. package/lib/typescript/web/handlers/IGestureHandler.d.ts.map +0 -1
  873. package/lib/typescript/web/handlers/LongPressGestureHandler.d.ts +0 -31
  874. package/lib/typescript/web/handlers/LongPressGestureHandler.d.ts.map +0 -1
  875. package/lib/typescript/web/handlers/ManualGestureHandler.d.ts +0 -11
  876. package/lib/typescript/web/handlers/ManualGestureHandler.d.ts.map +0 -1
  877. package/lib/typescript/web/handlers/NativeViewGestureHandler.d.ts +0 -26
  878. package/lib/typescript/web/handlers/NativeViewGestureHandler.d.ts.map +0 -1
  879. package/lib/typescript/web/handlers/PanGestureHandler.d.ts +0 -62
  880. package/lib/typescript/web/handlers/PanGestureHandler.d.ts.map +0 -1
  881. package/lib/typescript/web/handlers/PinchGestureHandler.d.ts +0 -28
  882. package/lib/typescript/web/handlers/PinchGestureHandler.d.ts.map +0 -1
  883. package/lib/typescript/web/handlers/RotationGestureHandler.d.ts +0 -28
  884. package/lib/typescript/web/handlers/RotationGestureHandler.d.ts.map +0 -1
  885. package/lib/typescript/web/handlers/TapGestureHandler.d.ts +0 -39
  886. package/lib/typescript/web/handlers/TapGestureHandler.d.ts.map +0 -1
  887. package/lib/typescript/web/interfaces.d.ts +0 -158
  888. package/lib/typescript/web/interfaces.d.ts.map +0 -1
  889. package/lib/typescript/web/tools/CircularBuffer.d.ts +0 -12
  890. package/lib/typescript/web/tools/CircularBuffer.d.ts.map +0 -1
  891. package/lib/typescript/web/tools/EventManager.d.ts +0 -40
  892. package/lib/typescript/web/tools/EventManager.d.ts.map +0 -1
  893. package/lib/typescript/web/tools/GestureHandlerDelegate.d.ts +0 -25
  894. package/lib/typescript/web/tools/GestureHandlerDelegate.d.ts.map +0 -1
  895. package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts +0 -32
  896. package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts.map +0 -1
  897. package/lib/typescript/web/tools/GestureHandlerWebDelegate.d.ts +0 -36
  898. package/lib/typescript/web/tools/GestureHandlerWebDelegate.d.ts.map +0 -1
  899. package/lib/typescript/web/tools/InteractionManager.d.ts +0 -18
  900. package/lib/typescript/web/tools/InteractionManager.d.ts.map +0 -1
  901. package/lib/typescript/web/tools/KeyboardEventManager.d.ts +0 -14
  902. package/lib/typescript/web/tools/KeyboardEventManager.d.ts.map +0 -1
  903. package/lib/typescript/web/tools/LeastSquareSolver.d.ts +0 -13
  904. package/lib/typescript/web/tools/LeastSquareSolver.d.ts.map +0 -1
  905. package/lib/typescript/web/tools/NodeManager.d.ts +0 -13
  906. package/lib/typescript/web/tools/NodeManager.d.ts.map +0 -1
  907. package/lib/typescript/web/tools/PointerEventManager.d.ts +0 -20
  908. package/lib/typescript/web/tools/PointerEventManager.d.ts.map +0 -1
  909. package/lib/typescript/web/tools/PointerTracker.d.ts +0 -51
  910. package/lib/typescript/web/tools/PointerTracker.d.ts.map +0 -1
  911. package/lib/typescript/web/tools/Vector.d.ts +0 -16
  912. package/lib/typescript/web/tools/Vector.d.ts.map +0 -1
  913. package/lib/typescript/web/tools/VelocityTracker.d.ts +0 -14
  914. package/lib/typescript/web/tools/VelocityTracker.d.ts.map +0 -1
  915. package/lib/typescript/web/tools/WheelEventManager.d.ts +0 -12
  916. package/lib/typescript/web/tools/WheelEventManager.d.ts.map +0 -1
  917. package/lib/typescript/web/utils.d.ts +0 -15
  918. package/lib/typescript/web/utils.d.ts.map +0 -1
  919. package/lib/typescript/web_hammer/DiscreteGestureHandler.d.ts +0 -21
  920. package/lib/typescript/web_hammer/DiscreteGestureHandler.d.ts.map +0 -1
  921. package/lib/typescript/web_hammer/DraggingGestureHandler.d.ts +0 -16
  922. package/lib/typescript/web_hammer/DraggingGestureHandler.d.ts.map +0 -1
  923. package/lib/typescript/web_hammer/Errors.d.ts +0 -4
  924. package/lib/typescript/web_hammer/Errors.d.ts.map +0 -1
  925. package/lib/typescript/web_hammer/FlingGestureHandler.d.ts +0 -44
  926. package/lib/typescript/web_hammer/FlingGestureHandler.d.ts.map +0 -1
  927. package/lib/typescript/web_hammer/GestureHandler.d.ts +0 -146
  928. package/lib/typescript/web_hammer/GestureHandler.d.ts.map +0 -1
  929. package/lib/typescript/web_hammer/IndiscreteGestureHandler.d.ts +0 -41
  930. package/lib/typescript/web_hammer/IndiscreteGestureHandler.d.ts.map +0 -1
  931. package/lib/typescript/web_hammer/LongPressGestureHandler.d.ts +0 -39
  932. package/lib/typescript/web_hammer/LongPressGestureHandler.d.ts.map +0 -1
  933. package/lib/typescript/web_hammer/NativeViewGestureHandler.d.ts +0 -8
  934. package/lib/typescript/web_hammer/NativeViewGestureHandler.d.ts.map +0 -1
  935. package/lib/typescript/web_hammer/NodeManager.d.ts +0 -8
  936. package/lib/typescript/web_hammer/NodeManager.d.ts.map +0 -1
  937. package/lib/typescript/web_hammer/PanGestureHandler.d.ts +0 -57
  938. package/lib/typescript/web_hammer/PanGestureHandler.d.ts.map +0 -1
  939. package/lib/typescript/web_hammer/PinchGestureHandler.d.ts +0 -14
  940. package/lib/typescript/web_hammer/PinchGestureHandler.d.ts.map +0 -1
  941. package/lib/typescript/web_hammer/PressGestureHandler.d.ts +0 -84
  942. package/lib/typescript/web_hammer/PressGestureHandler.d.ts.map +0 -1
  943. package/lib/typescript/web_hammer/RotationGestureHandler.d.ts +0 -14
  944. package/lib/typescript/web_hammer/RotationGestureHandler.d.ts.map +0 -1
  945. package/lib/typescript/web_hammer/TapGestureHandler.d.ts +0 -58
  946. package/lib/typescript/web_hammer/TapGestureHandler.d.ts.map +0 -1
  947. package/lib/typescript/web_hammer/constants.d.ts +0 -40
  948. package/lib/typescript/web_hammer/constants.d.ts.map +0 -1
  949. package/lib/typescript/web_hammer/utils.d.ts +0 -10
  950. package/lib/typescript/web_hammer/utils.d.ts.map +0 -1
@@ -1,199 +0,0 @@
1
- "use strict";
2
-
3
- import * as React from 'react';
4
- import { Animated, Platform, processColor, StyleSheet } from 'react-native';
5
- import createNativeWrapper from '../handlers/createNativeWrapper';
6
- import GestureHandlerButton from './GestureHandlerButton';
7
- import { State } from '../State';
8
- import { isFabric } from '../utils';
9
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
- export const RawButton = createNativeWrapper(GestureHandlerButton, {
11
- shouldCancelWhenOutside: false,
12
- shouldActivateOnStart: false
13
- });
14
- let IS_FABRIC = null;
15
- class InnerBaseButton extends React.Component {
16
- static defaultProps = {
17
- delayLongPress: 600
18
- };
19
- constructor(props) {
20
- super(props);
21
- this.lastActive = false;
22
- this.longPressDetected = false;
23
- }
24
- handleEvent = ({
25
- nativeEvent
26
- }) => {
27
- const {
28
- state,
29
- oldState,
30
- pointerInside
31
- } = nativeEvent;
32
- const active = pointerInside && state === State.ACTIVE;
33
- if (active !== this.lastActive && this.props.onActiveStateChange) {
34
- this.props.onActiveStateChange(active);
35
- }
36
- if (!this.longPressDetected && oldState === State.ACTIVE && state !== State.CANCELLED && this.lastActive && this.props.onPress) {
37
- this.props.onPress(pointerInside);
38
- }
39
- if (!this.lastActive &&
40
- // NativeViewGestureHandler sends different events based on platform
41
- state === (Platform.OS !== 'android' ? State.ACTIVE : State.BEGAN) && pointerInside) {
42
- this.longPressDetected = false;
43
- if (this.props.onLongPress) {
44
- this.longPressTimeout = setTimeout(this.onLongPress, this.props.delayLongPress);
45
- }
46
- } else if (
47
- // Cancel longpress timeout if it's set and the finger moved out of the view
48
- state === State.ACTIVE && !pointerInside && this.longPressTimeout !== undefined) {
49
- clearTimeout(this.longPressTimeout);
50
- this.longPressTimeout = undefined;
51
- } else if (
52
- // Cancel longpress timeout if it's set and the gesture has finished
53
- this.longPressTimeout !== undefined && (state === State.END || state === State.CANCELLED || state === State.FAILED)) {
54
- clearTimeout(this.longPressTimeout);
55
- this.longPressTimeout = undefined;
56
- }
57
- this.lastActive = active;
58
- };
59
- onLongPress = () => {
60
- this.longPressDetected = true;
61
- this.props.onLongPress?.();
62
- };
63
-
64
- // Normally, the parent would execute it's handler first, then forward the
65
- // event to listeners. However, here our handler is virtually only forwarding
66
- // events to listeners, so we reverse the order to keep the proper order of
67
- // the callbacks (from "raw" ones to "processed").
68
- onHandlerStateChange = e => {
69
- this.props.onHandlerStateChange?.(e);
70
- this.handleEvent(e);
71
- };
72
- onGestureEvent = e => {
73
- this.props.onGestureEvent?.(e);
74
- this.handleEvent(e); // TODO: maybe it is not correct
75
- };
76
- render() {
77
- const {
78
- rippleColor: unprocessedRippleColor,
79
- style,
80
- ...rest
81
- } = this.props;
82
- if (IS_FABRIC === null) {
83
- IS_FABRIC = isFabric();
84
- }
85
- const rippleColor = IS_FABRIC ? unprocessedRippleColor : processColor(unprocessedRippleColor ?? undefined);
86
- return /*#__PURE__*/_jsx(RawButton, {
87
- ref: this.props.innerRef,
88
- rippleColor: rippleColor,
89
- style: [style, Platform.OS === 'ios' && {
90
- cursor: undefined
91
- }],
92
- ...rest,
93
- onGestureEvent: this.onGestureEvent,
94
- onHandlerStateChange: this.onHandlerStateChange
95
- });
96
- }
97
- }
98
- const AnimatedInnerBaseButton = Animated.createAnimatedComponent(InnerBaseButton);
99
- export const BaseButton = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/_jsx(InnerBaseButton, {
100
- innerRef: ref,
101
- ...props
102
- }));
103
- const AnimatedBaseButton = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/_jsx(AnimatedInnerBaseButton, {
104
- innerRef: ref,
105
- ...props
106
- }));
107
- const btnStyles = StyleSheet.create({
108
- underlay: {
109
- position: 'absolute',
110
- left: 0,
111
- right: 0,
112
- bottom: 0,
113
- top: 0
114
- }
115
- });
116
- class InnerRectButton extends React.Component {
117
- static defaultProps = {
118
- activeOpacity: 0.105,
119
- underlayColor: 'black'
120
- };
121
- constructor(props) {
122
- super(props);
123
- this.opacity = new Animated.Value(0);
124
- }
125
- onActiveStateChange = active => {
126
- if (Platform.OS !== 'android') {
127
- this.opacity.setValue(active ? this.props.activeOpacity : 0);
128
- }
129
- this.props.onActiveStateChange?.(active);
130
- };
131
- render() {
132
- const {
133
- children,
134
- style,
135
- ...rest
136
- } = this.props;
137
- const resolvedStyle = StyleSheet.flatten(style) ?? {};
138
- return /*#__PURE__*/_jsxs(BaseButton, {
139
- ...rest,
140
- ref: this.props.innerRef,
141
- style: resolvedStyle,
142
- onActiveStateChange: this.onActiveStateChange,
143
- children: [/*#__PURE__*/_jsx(Animated.View, {
144
- style: [btnStyles.underlay, {
145
- opacity: this.opacity,
146
- backgroundColor: this.props.underlayColor,
147
- borderRadius: resolvedStyle.borderRadius,
148
- borderTopLeftRadius: resolvedStyle.borderTopLeftRadius,
149
- borderTopRightRadius: resolvedStyle.borderTopRightRadius,
150
- borderBottomLeftRadius: resolvedStyle.borderBottomLeftRadius,
151
- borderBottomRightRadius: resolvedStyle.borderBottomRightRadius
152
- }]
153
- }), children]
154
- });
155
- }
156
- }
157
- export const RectButton = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/_jsx(InnerRectButton, {
158
- innerRef: ref,
159
- ...props
160
- }));
161
- class InnerBorderlessButton extends React.Component {
162
- static defaultProps = {
163
- activeOpacity: 0.3,
164
- borderless: true
165
- };
166
- constructor(props) {
167
- super(props);
168
- this.opacity = new Animated.Value(1);
169
- }
170
- onActiveStateChange = active => {
171
- if (Platform.OS !== 'android') {
172
- this.opacity.setValue(active ? this.props.activeOpacity : 1);
173
- }
174
- this.props.onActiveStateChange?.(active);
175
- };
176
- render() {
177
- const {
178
- children,
179
- style,
180
- innerRef,
181
- ...rest
182
- } = this.props;
183
- return /*#__PURE__*/_jsx(AnimatedBaseButton, {
184
- ...rest,
185
- innerRef: innerRef,
186
- onActiveStateChange: this.onActiveStateChange,
187
- style: [style, Platform.OS === 'ios' && {
188
- opacity: this.opacity
189
- }],
190
- children: children
191
- });
192
- }
193
- }
194
- export const BorderlessButton = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/_jsx(InnerBorderlessButton, {
195
- innerRef: ref,
196
- ...props
197
- }));
198
- export { default as PureNativeButton } from './GestureHandlerButton';
199
- //# sourceMappingURL=GestureButtons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Animated","Platform","processColor","StyleSheet","createNativeWrapper","GestureHandlerButton","State","isFabric","jsx","_jsx","jsxs","_jsxs","RawButton","shouldCancelWhenOutside","shouldActivateOnStart","IS_FABRIC","InnerBaseButton","Component","defaultProps","delayLongPress","constructor","props","lastActive","longPressDetected","handleEvent","nativeEvent","state","oldState","pointerInside","active","ACTIVE","onActiveStateChange","CANCELLED","onPress","OS","BEGAN","onLongPress","longPressTimeout","setTimeout","undefined","clearTimeout","END","FAILED","onHandlerStateChange","e","onGestureEvent","render","rippleColor","unprocessedRippleColor","style","rest","ref","innerRef","cursor","AnimatedInnerBaseButton","createAnimatedComponent","BaseButton","forwardRef","AnimatedBaseButton","btnStyles","create","underlay","position","left","right","bottom","top","InnerRectButton","activeOpacity","underlayColor","opacity","Value","setValue","children","resolvedStyle","flatten","View","backgroundColor","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","RectButton","InnerBorderlessButton","borderless","BorderlessButton","default","PureNativeButton"],"sourceRoot":"../../../src","sources":["components/GestureButtons.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,YAAY,EAAEC,UAAU,QAAQ,cAAc;AAE3E,OAAOC,mBAAmB,MAAM,iCAAiC;AACjE,OAAOC,oBAAoB,MAAM,wBAAwB;AACzD,SAASC,KAAK,QAAQ,UAAU;AAehC,SAASC,QAAQ,QAAQ,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEpC,OAAO,MAAMC,SAAS,GAAGR,mBAAmB,CAACC,oBAAoB,EAAE;EACjEQ,uBAAuB,EAAE,KAAK;EAC9BC,qBAAqB,EAAE;AACzB,CAAC,CAAC;AAEF,IAAIC,SAAyB,GAAG,IAAI;AAEpC,MAAMC,eAAe,SAASjB,KAAK,CAACkB,SAAS,CAAyB;EACpE,OAAOC,YAAY,GAAG;IACpBC,cAAc,EAAE;EAClB,CAAC;EAMDC,WAAWA,CAACC,KAA6B,EAAE;IACzC,KAAK,CAACA,KAAK,CAAC;IACZ,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AAK9B;AAAK,CAAG,CAAC,CAAC;AAEtE,SAASkE,OAAO,IAAIC,gBAAgB,QAAQ,wBAAwB","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export {};
4
- //# sourceMappingURL=GestureButtonsProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["components/GestureButtonsProps.ts"],"mappings":"","ignoreList":[]}
@@ -1,100 +0,0 @@
1
- "use strict";
2
-
3
- import * as React from 'react';
4
- import { ScrollView as RNScrollView, Switch as RNSwitch, TextInput as RNTextInput, DrawerLayoutAndroid as RNDrawerLayoutAndroid, FlatList as RNFlatList, RefreshControl as RNRefreshControl } from 'react-native';
5
- import createNativeWrapper from '../handlers/createNativeWrapper';
6
- import { nativeViewProps } from '../handlers/NativeViewGestureHandler';
7
- import { toArray } from '../utils';
8
- import { jsx as _jsx } from "react/jsx-runtime";
9
- export const RefreshControl = createNativeWrapper(RNRefreshControl, {
10
- disallowInterruption: true,
11
- shouldCancelWhenOutside: false
12
- });
13
- // eslint-disable-next-line @typescript-eslint/no-redeclare
14
-
15
- const GHScrollView = createNativeWrapper(RNScrollView, {
16
- disallowInterruption: true,
17
- shouldCancelWhenOutside: false
18
- });
19
- export const ScrollView = /*#__PURE__*/React.forwardRef((props, ref) => {
20
- const refreshControlGestureRef = React.useRef(null);
21
- const {
22
- refreshControl,
23
- waitFor,
24
- ...rest
25
- } = props;
26
- return /*#__PURE__*/_jsx(GHScrollView, {
27
- ...rest,
28
- // @ts-ignore `ref` exists on `GHScrollView`
29
- ref: ref,
30
- waitFor: [...toArray(waitFor ?? []), refreshControlGestureRef]
31
- // @ts-ignore we don't pass `refreshing` prop as we only want to override the ref
32
- ,
33
- refreshControl: refreshControl ? /*#__PURE__*/React.cloneElement(refreshControl, {
34
- // @ts-ignore for reasons unknown to me, `ref` doesn't exist on the type inferred by TS
35
- ref: refreshControlGestureRef
36
- }) : undefined
37
- });
38
- });
39
- // Backward type compatibility with https://github.com/software-mansion/react-native-gesture-handler/blob/db78d3ca7d48e8ba57482d3fe9b0a15aa79d9932/react-native-gesture-handler.d.ts#L440-L457
40
- // include methods of wrapped components by creating an intersection type with the RN component instead of duplicating them.
41
- // eslint-disable-next-line @typescript-eslint/no-redeclare
42
-
43
- export const Switch = createNativeWrapper(RNSwitch, {
44
- shouldCancelWhenOutside: false,
45
- shouldActivateOnStart: true,
46
- disallowInterruption: true
47
- });
48
- // eslint-disable-next-line @typescript-eslint/no-redeclare
49
-
50
- export const TextInput = createNativeWrapper(RNTextInput);
51
- // eslint-disable-next-line @typescript-eslint/no-redeclare
52
-
53
- export const DrawerLayoutAndroid = createNativeWrapper(RNDrawerLayoutAndroid, {
54
- disallowInterruption: true
55
- });
56
- // eslint-disable-next-line @typescript-eslint/no-redeclare
57
-
58
- export const FlatList = /*#__PURE__*/React.forwardRef((props, ref) => {
59
- const refreshControlGestureRef = React.useRef(null);
60
- const {
61
- waitFor,
62
- refreshControl,
63
- ...rest
64
- } = props;
65
- const flatListProps = {};
66
- const scrollViewProps = {};
67
- for (const [propName, value] of Object.entries(rest)) {
68
- // https://github.com/microsoft/TypeScript/issues/26255
69
- if (nativeViewProps.includes(propName)) {
70
- // @ts-ignore - this function cannot have generic type so we have to ignore this error
71
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
72
- scrollViewProps[propName] = value;
73
- } else {
74
- // @ts-ignore - this function cannot have generic type so we have to ignore this error
75
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
76
- flatListProps[propName] = value;
77
- }
78
- }
79
- return (
80
- /*#__PURE__*/
81
- // @ts-ignore - this function cannot have generic type so we have to ignore this error
82
- _jsx(RNFlatList, {
83
- ref: ref,
84
- ...flatListProps,
85
- renderScrollComponent: scrollProps => /*#__PURE__*/_jsx(ScrollView, {
86
- ...scrollProps,
87
- ...scrollViewProps,
88
- waitFor: [...toArray(waitFor ?? []), refreshControlGestureRef]
89
- })
90
- // @ts-ignore we don't pass `refreshing` prop as we only want to override the ref
91
- ,
92
- refreshControl: refreshControl ? /*#__PURE__*/React.cloneElement(refreshControl, {
93
- // @ts-ignore for reasons unknown to me, `ref` doesn't exist on the type inferred by TS
94
- ref: refreshControlGestureRef
95
- }) : undefined
96
- })
97
- );
98
- });
99
- // eslint-disable-next-line @typescript-eslint/no-redeclare
100
- //# sourceMappingURL=GestureComponents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","ScrollView","RNScrollView","Switch","RNSwitch","TextInput","RNTextInput","DrawerLayoutAndroid","RNDrawerLayoutAndroid","FlatList","RNFlatList","RefreshControl","RNRefreshControl","createNativeWrapper","nativeViewProps","toArray","jsx","_jsx","disallowInterruption","shouldCancelWhenOutside","GHScrollView","forwardRef","props","ref","refreshControlGestureRef","useRef","refreshControl","waitFor","rest","cloneElement","undefined","shouldActivateOnStart","flatListProps","scrollViewProps","propName","value","Object","entries","includes","renderScrollComponent","scrollProps"],"sourceRoot":"../../../src","sources":["components/GestureComponents.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAO9B,SACEC,UAAU,IAAIC,YAAY,EAE1BC,MAAM,IAAIC,QAAQ,EAElBC,SAAS,IAAIC,WAAW,EAExBC,mBAAmB,IAAIC,qBAAqB,EAE5CC,QAAQ,IAAIC,UAAU,EAEtBC,cAAc,IAAIC,gBAAgB,QAC7B,cAAc;AAErB,OAAOC,mBAAmB,MAAM,iCAAiC;AAEjE,SAEEC,eAAe,QACV,sCAAsC;AAE7C,SAASC,OAAO,QAAQ,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEnC,OAAO,MAAMN,cAAc,GAAGE,mBAAmB,CAACD,gBAAgB,EAAE;EAClEM,oBAAoB,EAAE,IAAI;EAC1BC,uBAAuB,EAAE;AAC3B,CAAC,CAAC;AACF;;AAGA,MAAMC,YAAY,GAAGP,mBAAmB,CACtCX,YAAY,EACZ;EACEgB,oBAAoB,EAAE,IAAI;EAC1BC,uBAAuB,E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;EACxB,MAAMC,eAAe,GAAG,CAAC,CAAC;EAC1B,KAAK,MAAM,CAACC,QAAQ,EAAEC,KAAK,CAAC,IAAIC,MAAM,CAACC,OAAO,CAACT,IAAI,CAAC,EAAE;IACpD;IACA,IAAKd,eAAe,CAAuBwB,QAAQ,CAACJ,QAAQ,CAAC,EAAE;MAC7D;MACA;MACAD,eAAe,CAACC,QAAQ,CAAC,GAAGC,KAAK;IACnC,CAAC,MAAM;MACL;MACA;MACAH,aAAa,CAACE,QAAQ,CAAC,GAAGC,KAAK;IACjC;EACF;EAEA;IAAA;IACE;IACAlB,IAAA,CAACP,UAAU;MACTa,GAAG,EAAEA,GAAI;MAAA,GACLS,aAAa;MACjBO,qBAAqB,EAAGC,WAAW,iBACjCvB,IAAA,CAAChB,UAAU;QAEP,GAAGuC,WAAW;QACd,GAAGP,eAAe;QAClBN,OAAO,EAAE,CAAC,GAAGZ,OAAO,CAACY,OAAO,IAAI,EAAE,CAAC,EAAEH,wBAAwB;MAAC,CAEjE;MAEH;MAAA;MACAE,cAAc,EACZA,cAAc,gBACV1B,KAAK,CAAC6B,YAAY,CAACH,cAAc,EAAE;QACjC;QACAH,GAAG,EAAEC;MACP,CAAC,CAAC,GACFM;IACL,CACF;EAAC;AAEN,CAAC,CAOuB;AACxB","ignoreList":[]}
@@ -1,32 +0,0 @@
1
- "use strict";
2
-
3
- import * as React from 'react';
4
- import { FlatList as RNFlatList, Switch as RNSwitch, TextInput as RNTextInput, ScrollView as RNScrollView, View } from 'react-native';
5
- import createNativeWrapper from '../handlers/createNativeWrapper';
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- export const ScrollView = createNativeWrapper(RNScrollView, {
8
- disallowInterruption: false
9
- });
10
- export const Switch = createNativeWrapper(RNSwitch, {
11
- shouldCancelWhenOutside: false,
12
- shouldActivateOnStart: true,
13
- disallowInterruption: true
14
- });
15
- export const TextInput = createNativeWrapper(RNTextInput);
16
- export const DrawerLayoutAndroid = () => {
17
- console.warn('DrawerLayoutAndroid is not supported on web!');
18
- return /*#__PURE__*/_jsx(View, {});
19
- };
20
-
21
- // RefreshControl is implemented as a functional component, rendering a View
22
- // NativeViewGestureHandler needs to set a ref on its child, which cannot be done
23
- // on functional components
24
- export const RefreshControl = createNativeWrapper(View);
25
- export const FlatList = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/_jsx(RNFlatList, {
26
- ref: ref,
27
- ...props,
28
- renderScrollComponent: scrollProps => /*#__PURE__*/_jsx(ScrollView, {
29
- ...scrollProps
30
- })
31
- }));
32
- //# sourceMappingURL=GestureComponents.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","FlatList","RNFlatList","Switch","RNSwitch","TextInput","RNTextInput","ScrollView","RNScrollView","View","createNativeWrapper","jsx","_jsx","disallowInterruption","shouldCancelWhenOutside","shouldActivateOnStart","DrawerLayoutAndroid","console","warn","RefreshControl","forwardRef","props","ref","renderScrollComponent","scrollProps"],"sourceRoot":"../../../src","sources":["components/GestureComponents.web.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,QAAQ,IAAIC,UAAU,EACtBC,MAAM,IAAIC,QAAQ,EAClBC,SAAS,IAAIC,WAAW,EACxBC,UAAU,IAAIC,YAAY,EAE1BC,IAAI,QACC,cAAc;AAErB,OAAOC,mBAAmB,MAAM,iCAAiC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAElE,OAAO,MAAML,UAAU,GAAGG,mBAAmB,CAACF,YAAY,EAAE;EAC1DK,oBAAoB,EAAE;AACxB,CAAC,CAAC;AAEF,OAAO,MAAMV,MAAM,GAAGO,mBAAmB,CAACN,QAAQ,EAAE;EAClDU,uBAAuB,EAAE,KAAK;EAC9BC,qBAAqB,EAAE,IAAI;EAC3BF,oBAAoB,EAAE;AACxB,CAAC,CAAC;AACF,OAAO,MAAMR,SAAS,GAAGK,mBAAmB,CAACJ,WAAW,CAAC;AACzD,OAAO,MAAMU,mBAAmB,GAAGA,CAAA,KAAM;EACvCC,OAAO,CAACC,IAAI,CAAC,8CAA8C,CAAC;EAC5D,oBAAON,IAAA,CAACH,IAAI,IAAE,CAAC;AACjB,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMU,cAAc,GAAGT,mBAAmB,CAACD,IAAI,CAAC;AAEvD,OAAO,MAAMR,QAAQ,gBAAGD,KAAK,CAACoB,UAAU,CACtC,CAASC,KAA2B,EAAEC,GAAQ,kBAC5CV,IAAA,CAACV,UAAU;EACToB,GAAG,EAAEA,GAAI;EAAA,GACLD,KAAK;EACTE,qBAAqB,EAAGC,WAAW,iBAAKZ,IAAA,CAACL,UAAU;IAAA,GAAKiB;EAAW,CAAG;AAAE,CACzE,CAEL,CAAC","ignoreList":[]}
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- import RNGestureHandlerButtonNativeComponent from '../specs/RNGestureHandlerButtonNativeComponent';
4
- export default RNGestureHandlerButtonNativeComponent;
5
- //# sourceMappingURL=GestureHandlerButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["RNGestureHandlerButtonNativeComponent"],"sourceRoot":"../../../src","sources":["components/GestureHandlerButton.tsx"],"mappings":";;AAEA,OAAOA,qCAAqC,MAAM,gDAAgD;AAElG,eAAeA,qCAAqC","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- import * as React from 'react';
4
- import { View } from 'react-native';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- export default /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/_jsx(View, {
7
- ref: ref,
8
- accessibilityRole: "button",
9
- ...props
10
- }));
11
- //# sourceMappingURL=GestureHandlerButton.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","jsx","_jsx","forwardRef","props","ref","accessibilityRole"],"sourceRoot":"../../../src","sources":["components/GestureHandlerButton.web.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEpC,4BAAeH,KAAK,CAACI,UAAU,CAC7B,CAACC,KAAK,EAAEC,GAAG,kBAAKH,IAAA,CAACF,IAAI;EAACK,GAAG,EAAEA,GAAI;EAACC,iBAAiB,EAAC,QAAQ;EAAA,GAAKF;AAAK,CAAG,CACzE,CAAC","ignoreList":[]}
@@ -1,30 +0,0 @@
1
- "use strict";
2
-
3
- import * as React from 'react';
4
- import { StyleSheet } from 'react-native';
5
- import { maybeInitializeFabric } from '../init';
6
- import GestureHandlerRootViewContext from '../GestureHandlerRootViewContext';
7
- import GestureHandlerRootViewNativeComponent from '../specs/RNGestureHandlerRootViewNativeComponent';
8
- import { jsx as _jsx } from "react/jsx-runtime";
9
- export default function GestureHandlerRootView({
10
- style,
11
- ...rest
12
- }) {
13
- // Try initialize fabric on the first render, at this point we can
14
- // reliably check if fabric is enabled (the function contains a flag
15
- // to make sure it's called only once)
16
- maybeInitializeFabric();
17
- return /*#__PURE__*/_jsx(GestureHandlerRootViewContext.Provider, {
18
- value: true,
19
- children: /*#__PURE__*/_jsx(GestureHandlerRootViewNativeComponent, {
20
- style: style ?? styles.container,
21
- ...rest
22
- })
23
- });
24
- }
25
- const styles = StyleSheet.create({
26
- container: {
27
- flex: 1
28
- }
29
- });
30
- //# sourceMappingURL=GestureHandlerRootView.android.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","StyleSheet","maybeInitializeFabric","GestureHandlerRootViewContext","GestureHandlerRootViewNativeComponent","jsx","_jsx","GestureHandlerRootView","style","rest","Provider","value","children","styles","container","create","flex"],"sourceRoot":"../../../src","sources":["components/GestureHandlerRootView.android.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAAoBC,UAAU,QAAQ,cAAc;AACpD,SAASC,qBAAqB,QAAQ,SAAS;AAC/C,OAAOC,6BAA6B,MAAM,kCAAkC;AAC5E,OAAOC,qCAAqC,MAAM,kDAAkD;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAKrG,eAAe,SAASC,sBAAsBA,CAAC;EAC7CC,KAAK;EACL,GAAGC;AACwB,CAAC,EAAE;EAC9B;EACA;EACA;EACAP,qBAAqB,CAAC,CAAC;EAEvB,oBACEI,IAAA,CAACH,6BAA6B,CAACO,QAAQ;IAACC,KAAK;IAAAC,QAAA,eAC3CN,IAAA,CAACF,qCAAqC;MACpCI,KAAK,EAAEA,KAAK,IAAIK,MAAM,CAACC,SAAU;MAAA,GAC7BL;IAAI,CACT;EAAC,CACoC,CAAC;AAE7C;AAEA,MAAMI,MAAM,GAAGZ,UAAU,CAACc,MAAM,CAAC;EAC/BD,SAAS,EAAE;IAAEE,IAAI,EAAE;EAAE;AACvB,CAAC,CAAC","ignoreList":[]}
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- import * as React from 'react';
4
- import { View, StyleSheet } from 'react-native';
5
- import { maybeInitializeFabric } from '../init';
6
- import GestureHandlerRootViewContext from '../GestureHandlerRootViewContext';
7
- import { jsx as _jsx } from "react/jsx-runtime";
8
- export default function GestureHandlerRootView({
9
- style,
10
- ...rest
11
- }) {
12
- // Try initialize fabric on the first render, at this point we can
13
- // reliably check if fabric is enabled (the function contains a flag
14
- // to make sure it's called only once)
15
- maybeInitializeFabric();
16
- return /*#__PURE__*/_jsx(GestureHandlerRootViewContext.Provider, {
17
- value: true,
18
- children: /*#__PURE__*/_jsx(View, {
19
- style: style ?? styles.container,
20
- ...rest
21
- })
22
- });
23
- }
24
- const styles = StyleSheet.create({
25
- container: {
26
- flex: 1
27
- }
28
- });
29
- //# sourceMappingURL=GestureHandlerRootView.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","StyleSheet","maybeInitializeFabric","GestureHandlerRootViewContext","jsx","_jsx","GestureHandlerRootView","style","rest","Provider","value","children","styles","container","create","flex"],"sourceRoot":"../../../src","sources":["components/GestureHandlerRootView.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,IAAI,EAAaC,UAAU,QAAQ,cAAc;AAC1D,SAASC,qBAAqB,QAAQ,SAAS;AAC/C,OAAOC,6BAA6B,MAAM,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAK7E,eAAe,SAASC,sBAAsBA,CAAC;EAC7CC,KAAK;EACL,GAAGC;AACwB,CAAC,EAAE;EAC9B;EACA;EACA;EACAN,qBAAqB,CAAC,CAAC;EAEvB,oBACEG,IAAA,CAACF,6BAA6B,CAACM,QAAQ;IAACC,KAAK;IAAAC,QAAA,eAC3CN,IAAA,CAACL,IAAI;MAACO,KAAK,EAAEA,KAAK,IAAIK,MAAM,CAACC,SAAU;MAAA,GAAKL;IAAI,CAAG;EAAC,CACd,CAAC;AAE7C;AAEA,MAAMI,MAAM,GAAGX,UAAU,CAACa,MAAM,CAAC;EAC/BD,SAAS,EAAE;IAAEE,IAAI,EAAE;EAAE;AACvB,CAAC,CAAC","ignoreList":[]}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- import * as React from 'react';
4
- import { View, StyleSheet } from 'react-native';
5
- import GestureHandlerRootViewContext from '../GestureHandlerRootViewContext';
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- export default function GestureHandlerRootView({
8
- style,
9
- ...rest
10
- }) {
11
- return /*#__PURE__*/_jsx(GestureHandlerRootViewContext.Provider, {
12
- value: true,
13
- children: /*#__PURE__*/_jsx(View, {
14
- style: style ?? styles.container,
15
- ...rest
16
- })
17
- });
18
- }
19
- const styles = StyleSheet.create({
20
- container: {
21
- flex: 1
22
- }
23
- });
24
- //# sourceMappingURL=GestureHandlerRootView.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","StyleSheet","GestureHandlerRootViewContext","jsx","_jsx","GestureHandlerRootView","style","rest","Provider","value","children","styles","container","create","flex"],"sourceRoot":"../../../src","sources":["components/GestureHandlerRootView.web.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,IAAI,EAAaC,UAAU,QAAQ,cAAc;AAC1D,OAAOC,6BAA6B,MAAM,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAK7E,eAAe,SAASC,sBAAsBA,CAAC;EAC7CC,KAAK;EACL,GAAGC;AACwB,CAAC,EAAE;EAC9B,oBACEH,IAAA,CAACF,6BAA6B,CAACM,QAAQ;IAACC,KAAK;IAAAC,QAAA,eAC3CN,IAAA,CAACJ,IAAI;MAACM,KAAK,EAAEA,KAAK,IAAIK,MAAM,CAACC,SAAU;MAAA,GAAKL;IAAI,CAAG;EAAC,CACd,CAAC;AAE7C;AAEA,MAAMI,MAAM,GAAGV,UAAU,CAACY,MAAM,CAAC;EAC/BD,SAAS,EAAE;IAAEE,IAAI,EAAE;EAAE;AACvB,CAAC,CAAC","ignoreList":[]}