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.
- package/README.md +69 -0
- package/android/src/main/jni/CMakeLists.txt +7 -26
- package/package.json +4 -2
- package/src/components/Pressable/Pressable.tsx +357 -445
- package/src/components/Pressable/PressableProps.tsx +15 -0
- package/src/components/Pressable/StateMachine.tsx +49 -0
- package/src/components/Pressable/stateDefinitions.ts +125 -0
- package/src/components/Pressable/utils.ts +11 -7
- package/src/handlers/GestureHandlerEventPayload.ts +3 -0
- package/src/handlers/gestureHandlerTypesCompat.ts +9 -0
- package/src/handlers/gestures/forceTouchGesture.ts +9 -0
- package/src/handlers/gestures/gestureObjects.ts +3 -1
- package/src/web/detectors/RotationGestureDetector.ts +4 -0
- package/src/web/handlers/FlingGestureHandler.ts +4 -0
- package/src/web/handlers/GestureHandler.ts +9 -3
- package/src/web/handlers/PanGestureHandler.ts +25 -36
- package/src/web/handlers/TapGestureHandler.ts +14 -19
- package/src/web/tools/GestureHandlerOrchestrator.ts +1 -0
- package/src/web/tools/PointerEventManager.ts +1 -1
- package/src/web/tools/PointerTracker.ts +17 -15
- package/src/web/tools/Vector.ts +1 -1
- package/lib/commonjs/ActionType.js +0 -15
- package/lib/commonjs/ActionType.js.map +0 -1
- package/lib/commonjs/Directions.js +0 -31
- package/lib/commonjs/Directions.js.map +0 -1
- package/lib/commonjs/EnableNewWebImplementation.js +0 -40
- package/lib/commonjs/EnableNewWebImplementation.js.map +0 -1
- package/lib/commonjs/GestureHandlerRootViewContext.js +0 -10
- package/lib/commonjs/GestureHandlerRootViewContext.js.map +0 -1
- package/lib/commonjs/PlatformConstants.js +0 -9
- package/lib/commonjs/PlatformConstants.js.map +0 -1
- package/lib/commonjs/PlatformConstants.web.js +0 -12
- package/lib/commonjs/PlatformConstants.web.js.map +0 -1
- package/lib/commonjs/PointerType.js +0 -15
- package/lib/commonjs/PointerType.js.map +0 -1
- package/lib/commonjs/RNGestureHandlerModule.js +0 -12
- package/lib/commonjs/RNGestureHandlerModule.js.map +0 -1
- package/lib/commonjs/RNGestureHandlerModule.web.js +0 -95
- package/lib/commonjs/RNGestureHandlerModule.web.js.map +0 -1
- package/lib/commonjs/RNGestureHandlerModule.windows.js +0 -56
- package/lib/commonjs/RNGestureHandlerModule.windows.js.map +0 -1
- package/lib/commonjs/RNRenderer.js +0 -14
- package/lib/commonjs/RNRenderer.js.map +0 -1
- package/lib/commonjs/RNRenderer.web.js +0 -10
- package/lib/commonjs/RNRenderer.web.js.map +0 -1
- package/lib/commonjs/State.js +0 -19
- package/lib/commonjs/State.js.map +0 -1
- package/lib/commonjs/TouchEventType.js +0 -16
- package/lib/commonjs/TouchEventType.js.map +0 -1
- package/lib/commonjs/components/DrawerLayout.js +0 -548
- package/lib/commonjs/components/DrawerLayout.js.map +0 -1
- package/lib/commonjs/components/GestureButtons.js +0 -211
- package/lib/commonjs/components/GestureButtons.js.map +0 -1
- package/lib/commonjs/components/GestureButtonsProps.js +0 -6
- package/lib/commonjs/components/GestureButtonsProps.js.map +0 -1
- package/lib/commonjs/components/GestureComponents.js +0 -106
- package/lib/commonjs/components/GestureComponents.js.map +0 -1
- package/lib/commonjs/components/GestureComponents.web.js +0 -39
- package/lib/commonjs/components/GestureComponents.web.js.map +0 -1
- package/lib/commonjs/components/GestureHandlerButton.js +0 -10
- package/lib/commonjs/components/GestureHandlerButton.js.map +0 -1
- package/lib/commonjs/components/GestureHandlerButton.web.js +0 -16
- package/lib/commonjs/components/GestureHandlerButton.web.js.map +0 -1
- package/lib/commonjs/components/GestureHandlerRootView.android.js +0 -36
- package/lib/commonjs/components/GestureHandlerRootView.android.js.map +0 -1
- package/lib/commonjs/components/GestureHandlerRootView.js +0 -35
- package/lib/commonjs/components/GestureHandlerRootView.js.map +0 -1
- package/lib/commonjs/components/GestureHandlerRootView.web.js +0 -30
- package/lib/commonjs/components/GestureHandlerRootView.web.js.map +0 -1
- package/lib/commonjs/components/Pressable/Pressable.js +0 -324
- package/lib/commonjs/components/Pressable/Pressable.js.map +0 -1
- package/lib/commonjs/components/Pressable/PressableProps.js +0 -6
- package/lib/commonjs/components/Pressable/PressableProps.js.map +0 -1
- package/lib/commonjs/components/Pressable/index.js +0 -14
- package/lib/commonjs/components/Pressable/index.js.map +0 -1
- package/lib/commonjs/components/Pressable/utils.js +0 -92
- package/lib/commonjs/components/Pressable/utils.js.map +0 -1
- package/lib/commonjs/components/ReanimatedDrawerLayout.js +0 -357
- package/lib/commonjs/components/ReanimatedDrawerLayout.js.map +0 -1
- package/lib/commonjs/components/ReanimatedSwipeable.js +0 -346
- package/lib/commonjs/components/ReanimatedSwipeable.js.map +0 -1
- package/lib/commonjs/components/Swipeable.js +0 -370
- package/lib/commonjs/components/Swipeable.js.map +0 -1
- package/lib/commonjs/components/Text.js +0 -60
- package/lib/commonjs/components/Text.js.map +0 -1
- package/lib/commonjs/components/gestureHandlerRootHOC.js +0 -34
- package/lib/commonjs/components/gestureHandlerRootHOC.js.map +0 -1
- package/lib/commonjs/components/touchables/ExtraButtonProps.js +0 -2
- package/lib/commonjs/components/touchables/ExtraButtonProps.js.map +0 -1
- package/lib/commonjs/components/touchables/GenericTouchable.js +0 -245
- package/lib/commonjs/components/touchables/GenericTouchable.js.map +0 -1
- package/lib/commonjs/components/touchables/GenericTouchableProps.js +0 -6
- package/lib/commonjs/components/touchables/GenericTouchableProps.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableHighlight.js +0 -93
- package/lib/commonjs/components/touchables/TouchableHighlight.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableNativeFeedback.android.js +0 -84
- package/lib/commonjs/components/touchables/TouchableNativeFeedback.android.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableNativeFeedback.js +0 -13
- package/lib/commonjs/components/touchables/TouchableNativeFeedback.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableNativeFeedbackProps.js +0 -6
- package/lib/commonjs/components/touchables/TouchableNativeFeedbackProps.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableOpacity.js +0 -65
- package/lib/commonjs/components/touchables/TouchableOpacity.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js +0 -33
- package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js.map +0 -1
- package/lib/commonjs/components/touchables/index.js +0 -35
- package/lib/commonjs/components/touchables/index.js.map +0 -1
- package/lib/commonjs/components/utils.js +0 -17
- package/lib/commonjs/components/utils.js.map +0 -1
- package/lib/commonjs/findNodeHandle.js +0 -9
- package/lib/commonjs/findNodeHandle.js.map +0 -1
- package/lib/commonjs/findNodeHandle.web.js +0 -39
- package/lib/commonjs/findNodeHandle.web.js.map +0 -1
- package/lib/commonjs/getShadowNodeFromRef.js +0 -51
- package/lib/commonjs/getShadowNodeFromRef.js.map +0 -1
- package/lib/commonjs/getShadowNodeFromRef.web.js +0 -14
- package/lib/commonjs/getShadowNodeFromRef.web.js.map +0 -1
- package/lib/commonjs/ghQueueMicrotask.js +0 -10
- package/lib/commonjs/ghQueueMicrotask.js.map +0 -1
- package/lib/commonjs/handlers/FlingGestureHandler.js +0 -31
- package/lib/commonjs/handlers/FlingGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/ForceTouchGestureHandler.js +0 -46
- package/lib/commonjs/handlers/ForceTouchGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/GestureHandlerEventPayload.js +0 -6
- package/lib/commonjs/handlers/GestureHandlerEventPayload.js.map +0 -1
- package/lib/commonjs/handlers/LongPressGestureHandler.js +0 -33
- package/lib/commonjs/handlers/LongPressGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/NativeViewGestureHandler.ts +0 -59
- package/lib/commonjs/handlers/PanGestureHandler.js +0 -112
- package/lib/commonjs/handlers/PanGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/PinchGestureHandler.js +0 -29
- package/lib/commonjs/handlers/PinchGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/PressabilityDebugView.js +0 -13
- package/lib/commonjs/handlers/PressabilityDebugView.js.map +0 -1
- package/lib/commonjs/handlers/PressabilityDebugView.web.js +0 -11
- package/lib/commonjs/handlers/PressabilityDebugView.web.js.map +0 -1
- package/lib/commonjs/handlers/RotationGestureHandler.js +0 -29
- package/lib/commonjs/handlers/RotationGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/TapGestureHandler.js +0 -33
- package/lib/commonjs/handlers/TapGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/createHandler.js +0 -393
- package/lib/commonjs/handlers/createHandler.js.map +0 -1
- package/lib/commonjs/handlers/createNativeWrapper.js +0 -78
- package/lib/commonjs/handlers/createNativeWrapper.js.map +0 -1
- package/lib/commonjs/handlers/customDirectEventTypes.js +0 -13
- package/lib/commonjs/handlers/customDirectEventTypes.js.map +0 -1
- package/lib/commonjs/handlers/customDirectEventTypes.web.js +0 -10
- package/lib/commonjs/handlers/customDirectEventTypes.web.js.map +0 -1
- package/lib/commonjs/handlers/gestureHandlerCommon.js +0 -27
- package/lib/commonjs/handlers/gestureHandlerCommon.js.map +0 -1
- package/lib/commonjs/handlers/gestureHandlerTypesCompat.js +0 -6
- package/lib/commonjs/handlers/gestureHandlerTypesCompat.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/Wrap.js +0 -32
- package/lib/commonjs/handlers/gestures/GestureDetector/Wrap.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/Wrap.web.js +0 -41
- package/lib/commonjs/handlers/gestures/GestureDetector/Wrap.web.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/attachHandlers.js +0 -67
- package/lib/commonjs/handlers/gestures/GestureDetector/attachHandlers.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/dropHandlers.js +0 -20
- package/lib/commonjs/handlers/gestures/GestureDetector/dropHandlers.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/index.js +0 -125
- package/lib/commonjs/handlers/gestures/GestureDetector/index.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/needsToReattach.js +0 -22
- package/lib/commonjs/handlers/gestures/GestureDetector/needsToReattach.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/types.js +0 -6
- package/lib/commonjs/handlers/gestures/GestureDetector/types.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/updateHandlers.js +0 -66
- package/lib/commonjs/handlers/gestures/GestureDetector/updateHandlers.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/useAnimatedGesture.js +0 -143
- package/lib/commonjs/handlers/gestures/GestureDetector/useAnimatedGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/useDetectorUpdater.js +0 -47
- package/lib/commonjs/handlers/gestures/GestureDetector/useDetectorUpdater.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/useMountReactions.js +0 -41
- package/lib/commonjs/handlers/gestures/GestureDetector/useMountReactions.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/useViewRefHandler.js +0 -41
- package/lib/commonjs/handlers/gestures/GestureDetector/useViewRefHandler.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector/utils.js +0 -143
- package/lib/commonjs/handlers/gestures/GestureDetector/utils.js.map +0 -1
- package/lib/commonjs/handlers/gestures/eventReceiver.js +0 -106
- package/lib/commonjs/handlers/gestures/eventReceiver.js.map +0 -1
- package/lib/commonjs/handlers/gestures/flingGesture.js +0 -37
- package/lib/commonjs/handlers/gestures/flingGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/forceTouchGesture.js +0 -68
- package/lib/commonjs/handlers/gestures/forceTouchGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/gesture.js +0 -338
- package/lib/commonjs/handlers/gestures/gesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/gestureComposition.js +0 -90
- package/lib/commonjs/handlers/gestures/gestureComposition.js.map +0 -1
- package/lib/commonjs/handlers/gestures/gestureObjects.js +0 -130
- package/lib/commonjs/handlers/gestures/gestureObjects.js.map +0 -1
- package/lib/commonjs/handlers/gestures/gestureStateManager.js +0 -69
- package/lib/commonjs/handlers/gestures/gestureStateManager.js.map +0 -1
- package/lib/commonjs/handlers/gestures/gestureStateManager.web.js +0 -27
- package/lib/commonjs/handlers/gestures/gestureStateManager.web.js.map +0 -1
- package/lib/commonjs/handlers/gestures/hoverGesture.js +0 -57
- package/lib/commonjs/handlers/gestures/hoverGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/longPressGesture.js +0 -46
- package/lib/commonjs/handlers/gestures/longPressGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/manualGesture.js +0 -25
- package/lib/commonjs/handlers/gestures/manualGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/nativeGesture.ts +0 -33
- package/lib/commonjs/handlers/gestures/panGesture.js +0 -197
- package/lib/commonjs/handlers/gestures/panGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/pinchGesture.js +0 -38
- package/lib/commonjs/handlers/gestures/pinchGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/reanimatedWrapper.js +0 -29
- package/lib/commonjs/handlers/gestures/reanimatedWrapper.js.map +0 -1
- package/lib/commonjs/handlers/gestures/rotationGesture.js +0 -38
- package/lib/commonjs/handlers/gestures/rotationGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/tapGesture.js +0 -87
- package/lib/commonjs/handlers/gestures/tapGesture.js.map +0 -1
- package/lib/commonjs/handlers/getNextHandlerTag.js +0 -11
- package/lib/commonjs/handlers/getNextHandlerTag.js.map +0 -1
- package/lib/commonjs/handlers/handlersRegistry.js +0 -50
- package/lib/commonjs/handlers/handlersRegistry.js.map +0 -1
- package/lib/commonjs/handlers/utils.js +0 -69
- package/lib/commonjs/handlers/utils.js.map +0 -1
- package/lib/commonjs/index.js +0 -269
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/init.js +0 -25
- package/lib/commonjs/init.js.map +0 -1
- package/lib/commonjs/jestUtils/index.js +0 -19
- package/lib/commonjs/jestUtils/index.js.map +0 -1
- package/lib/commonjs/jestUtils/jestUtils.js +0 -316
- package/lib/commonjs/jestUtils/jestUtils.js.map +0 -1
- package/lib/commonjs/mocks.js +0 -73
- package/lib/commonjs/mocks.js.map +0 -1
- package/lib/commonjs/mountRegistry.js +0 -37
- package/lib/commonjs/mountRegistry.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/specs/NativeRNGestureHandlerModule.ts +0 -26
- package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.ts +0 -22
- package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.ts +0 -6
- package/lib/commonjs/typeUtils.js +0 -2
- package/lib/commonjs/typeUtils.js.map +0 -1
- package/lib/commonjs/utils.js +0 -95
- package/lib/commonjs/utils.js.map +0 -1
- package/lib/commonjs/web/Gestures.js +0 -48
- package/lib/commonjs/web/Gestures.js.map +0 -1
- package/lib/commonjs/web/constants.js +0 -9
- package/lib/commonjs/web/constants.js.map +0 -1
- package/lib/commonjs/web/detectors/RotationGestureDetector.js +0 -121
- package/lib/commonjs/web/detectors/RotationGestureDetector.js.map +0 -1
- package/lib/commonjs/web/detectors/ScaleGestureDetector.js +0 -111
- package/lib/commonjs/web/detectors/ScaleGestureDetector.js.map +0 -1
- package/lib/commonjs/web/handlers/FlingGestureHandler.js +0 -140
- package/lib/commonjs/web/handlers/FlingGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/GestureHandler.js +0 -686
- package/lib/commonjs/web/handlers/GestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/HoverGestureHandler.js +0 -45
- package/lib/commonjs/web/handlers/HoverGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/IGestureHandler.js +0 -2
- package/lib/commonjs/web/handlers/IGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/LongPressGestureHandler.js +0 -146
- package/lib/commonjs/web/handlers/LongPressGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/ManualGestureHandler.js +0 -38
- package/lib/commonjs/web/handlers/ManualGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/NativeViewGestureHandler.ts +0 -175
- package/lib/commonjs/web/handlers/PanGestureHandler.js +0 -408
- package/lib/commonjs/web/handlers/PanGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/PinchGestureHandler.js +0 -122
- package/lib/commonjs/web/handlers/PinchGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/RotationGestureHandler.js +0 -129
- package/lib/commonjs/web/handlers/RotationGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/TapGestureHandler.js +0 -217
- package/lib/commonjs/web/handlers/TapGestureHandler.js.map +0 -1
- package/lib/commonjs/web/interfaces.js +0 -32
- package/lib/commonjs/web/interfaces.js.map +0 -1
- package/lib/commonjs/web/tools/CircularBuffer.js +0 -40
- package/lib/commonjs/web/tools/CircularBuffer.js.map +0 -1
- package/lib/commonjs/web/tools/EventManager.js +0 -94
- package/lib/commonjs/web/tools/EventManager.js.map +0 -1
- package/lib/commonjs/web/tools/GestureHandlerDelegate.js +0 -6
- package/lib/commonjs/web/tools/GestureHandlerDelegate.js.map +0 -1
- package/lib/commonjs/web/tools/GestureHandlerOrchestrator.js +0 -267
- package/lib/commonjs/web/tools/GestureHandlerOrchestrator.js.map +0 -1
- package/lib/commonjs/web/tools/GestureHandlerWebDelegate.js +0 -170
- package/lib/commonjs/web/tools/GestureHandlerWebDelegate.js.map +0 -1
- package/lib/commonjs/web/tools/InteractionManager.js +0 -96
- package/lib/commonjs/web/tools/InteractionManager.js.map +0 -1
- package/lib/commonjs/web/tools/KeyboardEventManager.js +0 -82
- package/lib/commonjs/web/tools/KeyboardEventManager.js.map +0 -1
- package/lib/commonjs/web/tools/LeastSquareSolver.js +0 -159
- package/lib/commonjs/web/tools/LeastSquareSolver.js.map +0 -1
- package/lib/commonjs/web/tools/NodeManager.js +0 -39
- package/lib/commonjs/web/tools/NodeManager.js.map +0 -1
- package/lib/commonjs/web/tools/PointerEventManager.js +0 -189
- package/lib/commonjs/web/tools/PointerEventManager.js.map +0 -1
- package/lib/commonjs/web/tools/PointerTracker.js +0 -191
- package/lib/commonjs/web/tools/PointerTracker.js.map +0 -1
- package/lib/commonjs/web/tools/Vector.js +0 -37
- package/lib/commonjs/web/tools/Vector.js.map +0 -1
- package/lib/commonjs/web/tools/VelocityTracker.js +0 -85
- package/lib/commonjs/web/tools/VelocityTracker.js.map +0 -1
- package/lib/commonjs/web/tools/WheelEventManager.js +0 -55
- package/lib/commonjs/web/tools/WheelEventManager.js.map +0 -1
- package/lib/commonjs/web/utils.js +0 -235
- package/lib/commonjs/web/utils.js.map +0 -1
- package/lib/commonjs/web_hammer/DiscreteGestureHandler.js +0 -93
- package/lib/commonjs/web_hammer/DiscreteGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/DraggingGestureHandler.js +0 -43
- package/lib/commonjs/web_hammer/DraggingGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/Errors.js +0 -13
- package/lib/commonjs/web_hammer/Errors.js.map +0 -1
- package/lib/commonjs/web_hammer/FlingGestureHandler.js +0 -139
- package/lib/commonjs/web_hammer/FlingGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/GestureHandler.js +0 -484
- package/lib/commonjs/web_hammer/GestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/IndiscreteGestureHandler.js +0 -45
- package/lib/commonjs/web_hammer/IndiscreteGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/LongPressGestureHandler.js +0 -57
- package/lib/commonjs/web_hammer/LongPressGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/NativeViewGestureHandler.ts +0 -47
- package/lib/commonjs/web_hammer/NodeManager.js +0 -41
- package/lib/commonjs/web_hammer/NodeManager.js.map +0 -1
- package/lib/commonjs/web_hammer/PanGestureHandler.js +0 -167
- package/lib/commonjs/web_hammer/PanGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/PinchGestureHandler.js +0 -31
- package/lib/commonjs/web_hammer/PinchGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/PressGestureHandler.js +0 -153
- package/lib/commonjs/web_hammer/PressGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/RotationGestureHandler.js +0 -32
- package/lib/commonjs/web_hammer/RotationGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/TapGestureHandler.js +0 -165
- package/lib/commonjs/web_hammer/TapGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/constants.js +0 -51
- package/lib/commonjs/web_hammer/constants.js.map +0 -1
- package/lib/commonjs/web_hammer/utils.js +0 -32
- package/lib/commonjs/web_hammer/utils.js.map +0 -1
- package/lib/module/ActionType.js +0 -11
- package/lib/module/ActionType.js.map +0 -1
- package/lib/module/Directions.js +0 -27
- package/lib/module/Directions.js.map +0 -1
- package/lib/module/EnableNewWebImplementation.js +0 -34
- package/lib/module/EnableNewWebImplementation.js.map +0 -1
- package/lib/module/GestureHandlerRootViewContext.js +0 -5
- package/lib/module/GestureHandlerRootViewContext.js.map +0 -1
- package/lib/module/PlatformConstants.js +0 -5
- package/lib/module/PlatformConstants.js.map +0 -1
- package/lib/module/PlatformConstants.web.js +0 -8
- package/lib/module/PlatformConstants.web.js.map +0 -1
- package/lib/module/PointerType.js +0 -11
- package/lib/module/PointerType.js.map +0 -1
- package/lib/module/RNGestureHandlerModule.js +0 -8
- package/lib/module/RNGestureHandlerModule.js.map +0 -1
- package/lib/module/RNGestureHandlerModule.web.js +0 -90
- package/lib/module/RNGestureHandlerModule.web.js.map +0 -1
- package/lib/module/RNGestureHandlerModule.windows.js +0 -50
- package/lib/module/RNGestureHandlerModule.windows.js.map +0 -1
- package/lib/module/RNRenderer.js +0 -6
- package/lib/module/RNRenderer.js.map +0 -1
- package/lib/module/RNRenderer.web.js +0 -6
- package/lib/module/RNRenderer.web.js.map +0 -1
- package/lib/module/State.js +0 -15
- package/lib/module/State.js.map +0 -1
- package/lib/module/TouchEventType.js +0 -12
- package/lib/module/TouchEventType.js.map +0 -1
- package/lib/module/components/DrawerLayout.js +0 -541
- package/lib/module/components/DrawerLayout.js.map +0 -1
- package/lib/module/components/GestureButtons.js +0 -199
- package/lib/module/components/GestureButtons.js.map +0 -1
- package/lib/module/components/GestureButtonsProps.js +0 -4
- package/lib/module/components/GestureButtonsProps.js.map +0 -1
- package/lib/module/components/GestureComponents.js +0 -100
- package/lib/module/components/GestureComponents.js.map +0 -1
- package/lib/module/components/GestureComponents.web.js +0 -32
- package/lib/module/components/GestureComponents.web.js.map +0 -1
- package/lib/module/components/GestureHandlerButton.js +0 -5
- package/lib/module/components/GestureHandlerButton.js.map +0 -1
- package/lib/module/components/GestureHandlerButton.web.js +0 -11
- package/lib/module/components/GestureHandlerButton.web.js.map +0 -1
- package/lib/module/components/GestureHandlerRootView.android.js +0 -30
- package/lib/module/components/GestureHandlerRootView.android.js.map +0 -1
- package/lib/module/components/GestureHandlerRootView.js +0 -29
- package/lib/module/components/GestureHandlerRootView.js.map +0 -1
- package/lib/module/components/GestureHandlerRootView.web.js +0 -24
- package/lib/module/components/GestureHandlerRootView.web.js.map +0 -1
- package/lib/module/components/Pressable/Pressable.js +0 -318
- package/lib/module/components/Pressable/Pressable.js.map +0 -1
- package/lib/module/components/Pressable/PressableProps.js +0 -4
- package/lib/module/components/Pressable/PressableProps.js.map +0 -1
- package/lib/module/components/Pressable/index.js +0 -4
- package/lib/module/components/Pressable/index.js.map +0 -1
- package/lib/module/components/Pressable/utils.js +0 -84
- package/lib/module/components/Pressable/utils.js.map +0 -1
- package/lib/module/components/ReanimatedDrawerLayout.js +0 -352
- package/lib/module/components/ReanimatedDrawerLayout.js.map +0 -1
- package/lib/module/components/ReanimatedSwipeable.js +0 -341
- package/lib/module/components/ReanimatedSwipeable.js.map +0 -1
- package/lib/module/components/Swipeable.js +0 -364
- package/lib/module/components/Swipeable.js.map +0 -1
- package/lib/module/components/Text.js +0 -55
- package/lib/module/components/Text.js.map +0 -1
- package/lib/module/components/gestureHandlerRootHOC.js +0 -28
- package/lib/module/components/gestureHandlerRootHOC.js.map +0 -1
- package/lib/module/components/touchables/ExtraButtonProps.js +0 -2
- package/lib/module/components/touchables/ExtraButtonProps.js.map +0 -1
- package/lib/module/components/touchables/GenericTouchable.js +0 -239
- package/lib/module/components/touchables/GenericTouchable.js.map +0 -1
- package/lib/module/components/touchables/GenericTouchableProps.js +0 -4
- package/lib/module/components/touchables/GenericTouchableProps.js.map +0 -1
- package/lib/module/components/touchables/TouchableHighlight.js +0 -87
- package/lib/module/components/touchables/TouchableHighlight.js.map +0 -1
- package/lib/module/components/touchables/TouchableNativeFeedback.android.js +0 -77
- package/lib/module/components/touchables/TouchableNativeFeedback.android.js.map +0 -1
- package/lib/module/components/touchables/TouchableNativeFeedback.js +0 -10
- package/lib/module/components/touchables/TouchableNativeFeedback.js.map +0 -1
- package/lib/module/components/touchables/TouchableNativeFeedbackProps.js +0 -4
- package/lib/module/components/touchables/TouchableNativeFeedbackProps.js.map +0 -1
- package/lib/module/components/touchables/TouchableOpacity.js +0 -59
- package/lib/module/components/touchables/TouchableOpacity.js.map +0 -1
- package/lib/module/components/touchables/TouchableWithoutFeedback.js +0 -27
- package/lib/module/components/touchables/TouchableWithoutFeedback.js.map +0 -1
- package/lib/module/components/touchables/index.js +0 -7
- package/lib/module/components/touchables/index.js.map +0 -1
- package/lib/module/components/utils.js +0 -13
- package/lib/module/components/utils.js.map +0 -1
- package/lib/module/findNodeHandle.js +0 -5
- package/lib/module/findNodeHandle.js.map +0 -1
- package/lib/module/findNodeHandle.web.js +0 -35
- package/lib/module/findNodeHandle.web.js.map +0 -1
- package/lib/module/getShadowNodeFromRef.js +0 -47
- package/lib/module/getShadowNodeFromRef.js.map +0 -1
- package/lib/module/getShadowNodeFromRef.web.js +0 -10
- package/lib/module/getShadowNodeFromRef.web.js.map +0 -1
- package/lib/module/ghQueueMicrotask.js +0 -6
- package/lib/module/ghQueueMicrotask.js.map +0 -1
- package/lib/module/handlers/FlingGestureHandler.js +0 -26
- package/lib/module/handlers/FlingGestureHandler.js.map +0 -1
- package/lib/module/handlers/ForceTouchGestureHandler.js +0 -41
- package/lib/module/handlers/ForceTouchGestureHandler.js.map +0 -1
- package/lib/module/handlers/GestureHandlerEventPayload.js +0 -4
- package/lib/module/handlers/GestureHandlerEventPayload.js.map +0 -1
- package/lib/module/handlers/LongPressGestureHandler.js +0 -28
- package/lib/module/handlers/LongPressGestureHandler.js.map +0 -1
- package/lib/module/handlers/NativeViewGestureHandler.ts +0 -59
- package/lib/module/handlers/PanGestureHandler.js +0 -105
- package/lib/module/handlers/PanGestureHandler.js.map +0 -1
- package/lib/module/handlers/PinchGestureHandler.js +0 -25
- package/lib/module/handlers/PinchGestureHandler.js.map +0 -1
- package/lib/module/handlers/PressabilityDebugView.js +0 -5
- package/lib/module/handlers/PressabilityDebugView.js.map +0 -1
- package/lib/module/handlers/PressabilityDebugView.web.js +0 -7
- package/lib/module/handlers/PressabilityDebugView.web.js.map +0 -1
- package/lib/module/handlers/RotationGestureHandler.js +0 -25
- package/lib/module/handlers/RotationGestureHandler.js.map +0 -1
- package/lib/module/handlers/TapGestureHandler.js +0 -28
- package/lib/module/handlers/TapGestureHandler.js.map +0 -1
- package/lib/module/handlers/createHandler.js +0 -387
- package/lib/module/handlers/createHandler.js.map +0 -1
- package/lib/module/handlers/createNativeWrapper.js +0 -75
- package/lib/module/handlers/createNativeWrapper.js.map +0 -1
- package/lib/module/handlers/customDirectEventTypes.js +0 -5
- package/lib/module/handlers/customDirectEventTypes.js.map +0 -1
- package/lib/module/handlers/customDirectEventTypes.web.js +0 -7
- package/lib/module/handlers/customDirectEventTypes.web.js.map +0 -1
- package/lib/module/handlers/gestureHandlerCommon.js +0 -26
- package/lib/module/handlers/gestureHandlerCommon.js.map +0 -1
- package/lib/module/handlers/gestureHandlerTypesCompat.js +0 -4
- package/lib/module/handlers/gestureHandlerTypesCompat.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/Wrap.js +0 -26
- package/lib/module/handlers/gestures/GestureDetector/Wrap.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/Wrap.web.js +0 -36
- package/lib/module/handlers/gestures/GestureDetector/Wrap.web.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/attachHandlers.js +0 -62
- package/lib/module/handlers/gestures/GestureDetector/attachHandlers.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/dropHandlers.js +0 -15
- package/lib/module/handlers/gestures/GestureDetector/dropHandlers.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/index.js +0 -117
- package/lib/module/handlers/gestures/GestureDetector/index.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/needsToReattach.js +0 -18
- package/lib/module/handlers/gestures/GestureDetector/needsToReattach.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/types.js +0 -4
- package/lib/module/handlers/gestures/GestureDetector/types.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/updateHandlers.js +0 -61
- package/lib/module/handlers/gestures/GestureDetector/updateHandlers.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/useAnimatedGesture.js +0 -139
- package/lib/module/handlers/gestures/GestureDetector/useAnimatedGesture.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/useDetectorUpdater.js +0 -43
- package/lib/module/handlers/gestures/GestureDetector/useDetectorUpdater.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/useMountReactions.js +0 -37
- package/lib/module/handlers/gestures/GestureDetector/useMountReactions.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/useViewRefHandler.js +0 -36
- package/lib/module/handlers/gestures/GestureDetector/useViewRefHandler.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector/utils.js +0 -134
- package/lib/module/handlers/gestures/GestureDetector/utils.js.map +0 -1
- package/lib/module/handlers/gestures/eventReceiver.js +0 -100
- package/lib/module/handlers/gestures/eventReceiver.js.map +0 -1
- package/lib/module/handlers/gestures/flingGesture.js +0 -32
- package/lib/module/handlers/gestures/flingGesture.js.map +0 -1
- package/lib/module/handlers/gestures/forceTouchGesture.js +0 -63
- package/lib/module/handlers/gestures/forceTouchGesture.js.map +0 -1
- package/lib/module/handlers/gestures/gesture.js +0 -332
- package/lib/module/handlers/gestures/gesture.js.map +0 -1
- package/lib/module/handlers/gestures/gestureComposition.js +0 -83
- package/lib/module/handlers/gestures/gestureComposition.js.map +0 -1
- package/lib/module/handlers/gestures/gestureObjects.js +0 -127
- package/lib/module/handlers/gestures/gestureObjects.js.map +0 -1
- package/lib/module/handlers/gestures/gestureStateManager.js +0 -65
- package/lib/module/handlers/gestures/gestureStateManager.js.map +0 -1
- package/lib/module/handlers/gestures/gestureStateManager.web.js +0 -22
- package/lib/module/handlers/gestures/gestureStateManager.web.js.map +0 -1
- package/lib/module/handlers/gestures/hoverGesture.js +0 -52
- package/lib/module/handlers/gestures/hoverGesture.js.map +0 -1
- package/lib/module/handlers/gestures/longPressGesture.js +0 -41
- package/lib/module/handlers/gestures/longPressGesture.js.map +0 -1
- package/lib/module/handlers/gestures/manualGesture.js +0 -20
- package/lib/module/handlers/gestures/manualGesture.js.map +0 -1
- package/lib/module/handlers/gestures/nativeGesture.ts +0 -33
- package/lib/module/handlers/gestures/panGesture.js +0 -192
- package/lib/module/handlers/gestures/panGesture.js.map +0 -1
- package/lib/module/handlers/gestures/pinchGesture.js +0 -33
- package/lib/module/handlers/gestures/pinchGesture.js.map +0 -1
- package/lib/module/handlers/gestures/reanimatedWrapper.js +0 -26
- package/lib/module/handlers/gestures/reanimatedWrapper.js.map +0 -1
- package/lib/module/handlers/gestures/rotationGesture.js +0 -33
- package/lib/module/handlers/gestures/rotationGesture.js.map +0 -1
- package/lib/module/handlers/gestures/tapGesture.js +0 -82
- package/lib/module/handlers/gestures/tapGesture.js.map +0 -1
- package/lib/module/handlers/getNextHandlerTag.js +0 -7
- package/lib/module/handlers/getNextHandlerTag.js.map +0 -1
- package/lib/module/handlers/handlersRegistry.js +0 -39
- package/lib/module/handlers/handlersRegistry.js.map +0 -1
- package/lib/module/handlers/utils.js +0 -61
- package/lib/module/handlers/utils.js.map +0 -1
- package/lib/module/index.js +0 -31
- package/lib/module/index.js.map +0 -1
- package/lib/module/init.js +0 -19
- package/lib/module/init.js.map +0 -1
- package/lib/module/jestUtils/index.js +0 -4
- package/lib/module/jestUtils/index.js.map +0 -1
- package/lib/module/jestUtils/jestUtils.js +0 -311
- package/lib/module/jestUtils/jestUtils.js.map +0 -1
- package/lib/module/mocks.js +0 -68
- package/lib/module/mocks.js.map +0 -1
- package/lib/module/mountRegistry.js +0 -32
- package/lib/module/mountRegistry.js.map +0 -1
- package/lib/module/specs/NativeRNGestureHandlerModule.ts +0 -26
- package/lib/module/specs/RNGestureHandlerButtonNativeComponent.ts +0 -22
- package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.ts +0 -6
- package/lib/module/typeUtils.js +0 -2
- package/lib/module/typeUtils.js.map +0 -1
- package/lib/module/utils.js +0 -81
- package/lib/module/utils.js.map +0 -1
- package/lib/module/web/Gestures.js +0 -42
- package/lib/module/web/Gestures.js.map +0 -1
- package/lib/module/web/constants.js +0 -5
- package/lib/module/web/constants.js.map +0 -1
- package/lib/module/web/detectors/RotationGestureDetector.js +0 -116
- package/lib/module/web/detectors/RotationGestureDetector.js.map +0 -1
- package/lib/module/web/detectors/ScaleGestureDetector.js +0 -106
- package/lib/module/web/detectors/ScaleGestureDetector.js.map +0 -1
- package/lib/module/web/handlers/FlingGestureHandler.js +0 -134
- package/lib/module/web/handlers/FlingGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/GestureHandler.js +0 -679
- package/lib/module/web/handlers/GestureHandler.js.map +0 -1
- package/lib/module/web/handlers/HoverGestureHandler.js +0 -39
- package/lib/module/web/handlers/HoverGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/IGestureHandler.js +0 -2
- package/lib/module/web/handlers/IGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/LongPressGestureHandler.js +0 -140
- package/lib/module/web/handlers/LongPressGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/ManualGestureHandler.js +0 -32
- package/lib/module/web/handlers/ManualGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/NativeViewGestureHandler.ts +0 -175
- package/lib/module/web/handlers/PanGestureHandler.js +0 -402
- package/lib/module/web/handlers/PanGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/PinchGestureHandler.js +0 -116
- package/lib/module/web/handlers/PinchGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/RotationGestureHandler.js +0 -123
- package/lib/module/web/handlers/RotationGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/TapGestureHandler.js +0 -211
- package/lib/module/web/handlers/TapGestureHandler.js.map +0 -1
- package/lib/module/web/interfaces.js +0 -28
- package/lib/module/web/interfaces.js.map +0 -1
- package/lib/module/web/tools/CircularBuffer.js +0 -35
- package/lib/module/web/tools/CircularBuffer.js.map +0 -1
- package/lib/module/web/tools/EventManager.js +0 -89
- package/lib/module/web/tools/EventManager.js.map +0 -1
- package/lib/module/web/tools/GestureHandlerDelegate.js +0 -4
- package/lib/module/web/tools/GestureHandlerDelegate.js.map +0 -1
- package/lib/module/web/tools/GestureHandlerOrchestrator.js +0 -261
- package/lib/module/web/tools/GestureHandlerOrchestrator.js.map +0 -1
- package/lib/module/web/tools/GestureHandlerWebDelegate.js +0 -164
- package/lib/module/web/tools/GestureHandlerWebDelegate.js.map +0 -1
- package/lib/module/web/tools/InteractionManager.js +0 -91
- package/lib/module/web/tools/InteractionManager.js.map +0 -1
- package/lib/module/web/tools/KeyboardEventManager.js +0 -76
- package/lib/module/web/tools/KeyboardEventManager.js.map +0 -1
- package/lib/module/web/tools/LeastSquareSolver.js +0 -154
- package/lib/module/web/tools/LeastSquareSolver.js.map +0 -1
- package/lib/module/web/tools/NodeManager.js +0 -34
- package/lib/module/web/tools/NodeManager.js.map +0 -1
- package/lib/module/web/tools/PointerEventManager.js +0 -183
- package/lib/module/web/tools/PointerEventManager.js.map +0 -1
- package/lib/module/web/tools/PointerTracker.js +0 -185
- package/lib/module/web/tools/PointerTracker.js.map +0 -1
- package/lib/module/web/tools/Vector.js +0 -32
- package/lib/module/web/tools/Vector.js.map +0 -1
- package/lib/module/web/tools/VelocityTracker.js +0 -79
- package/lib/module/web/tools/VelocityTracker.js.map +0 -1
- package/lib/module/web/tools/WheelEventManager.js +0 -49
- package/lib/module/web/tools/WheelEventManager.js.map +0 -1
- package/lib/module/web/utils.js +0 -223
- package/lib/module/web/utils.js.map +0 -1
- package/lib/module/web_hammer/DiscreteGestureHandler.js +0 -87
- package/lib/module/web_hammer/DiscreteGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/DraggingGestureHandler.js +0 -37
- package/lib/module/web_hammer/DraggingGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/Errors.js +0 -8
- package/lib/module/web_hammer/Errors.js.map +0 -1
- package/lib/module/web_hammer/FlingGestureHandler.js +0 -133
- package/lib/module/web_hammer/FlingGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/GestureHandler.js +0 -478
- package/lib/module/web_hammer/GestureHandler.js.map +0 -1
- package/lib/module/web_hammer/IndiscreteGestureHandler.js +0 -41
- package/lib/module/web_hammer/IndiscreteGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/LongPressGestureHandler.js +0 -51
- package/lib/module/web_hammer/LongPressGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/NativeViewGestureHandler.ts +0 -47
- package/lib/module/web_hammer/NodeManager.js +0 -33
- package/lib/module/web_hammer/NodeManager.js.map +0 -1
- package/lib/module/web_hammer/PanGestureHandler.js +0 -162
- package/lib/module/web_hammer/PanGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/PinchGestureHandler.js +0 -26
- package/lib/module/web_hammer/PinchGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/PressGestureHandler.js +0 -148
- package/lib/module/web_hammer/PressGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/RotationGestureHandler.js +0 -27
- package/lib/module/web_hammer/RotationGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/TapGestureHandler.js +0 -160
- package/lib/module/web_hammer/TapGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/constants.js +0 -46
- package/lib/module/web_hammer/constants.js.map +0 -1
- package/lib/module/web_hammer/utils.js +0 -21
- package/lib/module/web_hammer/utils.js.map +0 -1
- package/lib/typescript/ActionType.d.ts +0 -8
- package/lib/typescript/ActionType.d.ts.map +0 -1
- package/lib/typescript/Directions.d.ts +0 -15
- package/lib/typescript/Directions.d.ts.map +0 -1
- package/lib/typescript/EnableNewWebImplementation.d.ts +0 -10
- package/lib/typescript/EnableNewWebImplementation.d.ts.map +0 -1
- package/lib/typescript/GestureHandlerRootViewContext.d.ts +0 -4
- package/lib/typescript/GestureHandlerRootViewContext.d.ts.map +0 -1
- package/lib/typescript/PlatformConstants.d.ts +0 -6
- package/lib/typescript/PlatformConstants.d.ts.map +0 -1
- package/lib/typescript/PlatformConstants.web.d.ts +0 -5
- package/lib/typescript/PlatformConstants.web.d.ts.map +0 -1
- package/lib/typescript/PointerType.d.ts +0 -8
- package/lib/typescript/PointerType.d.ts.map +0 -1
- package/lib/typescript/RNGestureHandlerModule.d.ts +0 -3
- package/lib/typescript/RNGestureHandlerModule.d.ts.map +0 -1
- package/lib/typescript/RNGestureHandlerModule.web.d.ts +0 -16
- package/lib/typescript/RNGestureHandlerModule.web.d.ts.map +0 -1
- package/lib/typescript/RNGestureHandlerModule.windows.d.ts +0 -33
- package/lib/typescript/RNGestureHandlerModule.windows.d.ts.map +0 -1
- package/lib/typescript/RNRenderer.d.ts +0 -2
- package/lib/typescript/RNRenderer.d.ts.map +0 -1
- package/lib/typescript/RNRenderer.web.d.ts +0 -4
- package/lib/typescript/RNRenderer.web.d.ts.map +0 -1
- package/lib/typescript/State.d.ts +0 -10
- package/lib/typescript/State.d.ts.map +0 -1
- package/lib/typescript/TouchEventType.d.ts +0 -9
- package/lib/typescript/TouchEventType.d.ts.map +0 -1
- package/lib/typescript/components/DrawerLayout.d.ts +0 -186
- package/lib/typescript/components/DrawerLayout.d.ts.map +0 -1
- package/lib/typescript/components/GestureButtons.d.ts +0 -8
- package/lib/typescript/components/GestureButtons.d.ts.map +0 -1
- package/lib/typescript/components/GestureButtonsProps.d.ts +0 -116
- package/lib/typescript/components/GestureButtonsProps.d.ts.map +0 -1
- package/lib/typescript/components/GestureComponents.d.ts +0 -23
- package/lib/typescript/components/GestureComponents.d.ts.map +0 -1
- package/lib/typescript/components/GestureComponents.web.d.ts +0 -9
- package/lib/typescript/components/GestureComponents.web.d.ts.map +0 -1
- package/lib/typescript/components/GestureHandlerButton.d.ts +0 -5
- package/lib/typescript/components/GestureHandlerButton.d.ts.map +0 -1
- package/lib/typescript/components/GestureHandlerButton.web.d.ts +0 -5
- package/lib/typescript/components/GestureHandlerButton.web.d.ts.map +0 -1
- package/lib/typescript/components/GestureHandlerRootView.android.d.ts +0 -7
- package/lib/typescript/components/GestureHandlerRootView.android.d.ts.map +0 -1
- package/lib/typescript/components/GestureHandlerRootView.d.ts +0 -7
- package/lib/typescript/components/GestureHandlerRootView.d.ts.map +0 -1
- package/lib/typescript/components/GestureHandlerRootView.web.d.ts +0 -7
- package/lib/typescript/components/GestureHandlerRootView.web.d.ts.map +0 -1
- package/lib/typescript/components/Pressable/Pressable.d.ts +0 -6
- package/lib/typescript/components/Pressable/Pressable.d.ts.map +0 -1
- package/lib/typescript/components/Pressable/PressableProps.d.ts +0 -125
- package/lib/typescript/components/Pressable/PressableProps.d.ts.map +0 -1
- package/lib/typescript/components/Pressable/index.d.ts +0 -3
- package/lib/typescript/components/Pressable/index.d.ts.map +0 -1
- package/lib/typescript/components/Pressable/utils.d.ts +0 -14
- package/lib/typescript/components/Pressable/utils.d.ts.map +0 -1
- package/lib/typescript/components/ReanimatedDrawerLayout.d.ts +0 -168
- package/lib/typescript/components/ReanimatedDrawerLayout.d.ts.map +0 -1
- package/lib/typescript/components/ReanimatedSwipeable.d.ts +0 -148
- package/lib/typescript/components/ReanimatedSwipeable.d.ts.map +0 -1
- package/lib/typescript/components/Swipeable.d.ts +0 -184
- package/lib/typescript/components/Swipeable.d.ts.map +0 -1
- package/lib/typescript/components/Text.d.ts +0 -5
- package/lib/typescript/components/Text.d.ts.map +0 -1
- package/lib/typescript/components/gestureHandlerRootHOC.d.ts +0 -4
- package/lib/typescript/components/gestureHandlerRootHOC.d.ts.map +0 -1
- package/lib/typescript/components/touchables/ExtraButtonProps.d.ts +0 -8
- package/lib/typescript/components/touchables/ExtraButtonProps.d.ts.map +0 -1
- package/lib/typescript/components/touchables/GenericTouchable.d.ts +0 -56
- package/lib/typescript/components/touchables/GenericTouchable.d.ts.map +0 -1
- package/lib/typescript/components/touchables/GenericTouchableProps.d.ts +0 -17
- package/lib/typescript/components/touchables/GenericTouchableProps.d.ts.map +0 -1
- package/lib/typescript/components/touchables/TouchableHighlight.d.ts +0 -42
- package/lib/typescript/components/touchables/TouchableHighlight.d.ts.map +0 -1
- package/lib/typescript/components/touchables/TouchableNativeFeedback.android.d.ts +0 -41
- package/lib/typescript/components/touchables/TouchableNativeFeedback.android.d.ts.map +0 -1
- package/lib/typescript/components/touchables/TouchableNativeFeedback.d.ts +0 -7
- package/lib/typescript/components/touchables/TouchableNativeFeedback.d.ts.map +0 -1
- package/lib/typescript/components/touchables/TouchableNativeFeedbackProps.d.ts +0 -9
- package/lib/typescript/components/touchables/TouchableNativeFeedbackProps.d.ts.map +0 -1
- package/lib/typescript/components/touchables/TouchableOpacity.d.ts +0 -31
- package/lib/typescript/components/touchables/TouchableOpacity.d.ts.map +0 -1
- package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts +0 -15
- package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts.map +0 -1
- package/lib/typescript/components/touchables/index.d.ts +0 -8
- package/lib/typescript/components/touchables/index.d.ts.map +0 -1
- package/lib/typescript/components/utils.d.ts +0 -5
- package/lib/typescript/components/utils.d.ts.map +0 -1
- package/lib/typescript/findNodeHandle.d.ts +0 -3
- package/lib/typescript/findNodeHandle.d.ts.map +0 -1
- package/lib/typescript/findNodeHandle.web.d.ts +0 -3
- package/lib/typescript/findNodeHandle.web.d.ts.map +0 -1
- package/lib/typescript/getShadowNodeFromRef.d.ts +0 -2
- package/lib/typescript/getShadowNodeFromRef.d.ts.map +0 -1
- package/lib/typescript/getShadowNodeFromRef.web.d.ts +0 -2
- package/lib/typescript/getShadowNodeFromRef.web.d.ts.map +0 -1
- package/lib/typescript/ghQueueMicrotask.d.ts +0 -2
- package/lib/typescript/ghQueueMicrotask.d.ts.map +0 -1
- package/lib/typescript/handlers/FlingGestureHandler.d.ts +0 -39
- package/lib/typescript/handlers/FlingGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/ForceTouchGestureHandler.d.ts +0 -45
- package/lib/typescript/handlers/ForceTouchGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/GestureHandlerEventPayload.d.ts +0 -195
- package/lib/typescript/handlers/GestureHandlerEventPayload.d.ts.map +0 -1
- package/lib/typescript/handlers/LongPressGestureHandler.d.ts +0 -36
- package/lib/typescript/handlers/LongPressGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/NativeViewGestureHandler.d.ts +0 -33
- package/lib/typescript/handlers/NativeViewGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/PanGestureHandler.d.ts +0 -100
- package/lib/typescript/handlers/PanGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/PinchGestureHandler.d.ts +0 -17
- package/lib/typescript/handlers/PinchGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/PressabilityDebugView.d.ts +0 -2
- package/lib/typescript/handlers/PressabilityDebugView.d.ts.map +0 -1
- package/lib/typescript/handlers/PressabilityDebugView.web.d.ts +0 -2
- package/lib/typescript/handlers/PressabilityDebugView.web.d.ts.map +0 -1
- package/lib/typescript/handlers/RotationGestureHandler.d.ts +0 -17
- package/lib/typescript/handlers/RotationGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/TapGestureHandler.d.ts +0 -62
- package/lib/typescript/handlers/TapGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/createHandler.d.ts +0 -12
- package/lib/typescript/handlers/createHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/createNativeWrapper.d.ts +0 -4
- package/lib/typescript/handlers/createNativeWrapper.d.ts.map +0 -1
- package/lib/typescript/handlers/customDirectEventTypes.d.ts +0 -2
- package/lib/typescript/handlers/customDirectEventTypes.d.ts.map +0 -1
- package/lib/typescript/handlers/customDirectEventTypes.web.d.ts +0 -3
- package/lib/typescript/handlers/customDirectEventTypes.web.d.ts.map +0 -1
- package/lib/typescript/handlers/gestureHandlerCommon.d.ts +0 -79
- package/lib/typescript/handlers/gestureHandlerCommon.d.ts.map +0 -1
- package/lib/typescript/handlers/gestureHandlerTypesCompat.d.ts +0 -44
- package/lib/typescript/handlers/gestureHandlerTypesCompat.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/Wrap.d.ts +0 -14
- package/lib/typescript/handlers/gestures/GestureDetector/Wrap.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/Wrap.web.d.ts +0 -8
- package/lib/typescript/handlers/gestures/GestureDetector/Wrap.web.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/attachHandlers.d.ts +0 -14
- package/lib/typescript/handlers/gestures/GestureDetector/attachHandlers.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/dropHandlers.d.ts +0 -3
- package/lib/typescript/handlers/gestures/GestureDetector/dropHandlers.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/index.d.ts +0 -50
- package/lib/typescript/handlers/gestures/GestureDetector/index.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/needsToReattach.d.ts +0 -4
- package/lib/typescript/handlers/gestures/GestureDetector/needsToReattach.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/types.d.ts +0 -21
- package/lib/typescript/handlers/gestures/GestureDetector/types.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/updateHandlers.d.ts +0 -5
- package/lib/typescript/handlers/gestures/GestureDetector/updateHandlers.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/useAnimatedGesture.d.ts +0 -3
- package/lib/typescript/handlers/gestures/GestureDetector/useAnimatedGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/useDetectorUpdater.d.ts +0 -6
- package/lib/typescript/handlers/gestures/GestureDetector/useDetectorUpdater.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/useMountReactions.d.ts +0 -3
- package/lib/typescript/handlers/gestures/GestureDetector/useMountReactions.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/useViewRefHandler.d.ts +0 -4
- package/lib/typescript/handlers/gestures/GestureDetector/useViewRefHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/utils.d.ts +0 -13
- package/lib/typescript/handlers/gestures/GestureDetector/utils.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/eventReceiver.d.ts +0 -5
- package/lib/typescript/handlers/gestures/eventReceiver.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/flingGesture.d.ts +0 -22
- package/lib/typescript/handlers/gestures/flingGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/forceTouchGesture.d.ts +0 -31
- package/lib/typescript/handlers/gestures/forceTouchGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/gesture.d.ts +0 -218
- package/lib/typescript/handlers/gestures/gesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/gestureComposition.d.ts +0 -22
- package/lib/typescript/handlers/gestures/gestureComposition.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/gestureObjects.d.ts +0 -99
- package/lib/typescript/handlers/gestures/gestureObjects.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/gestureStateManager.d.ts +0 -12
- package/lib/typescript/handlers/gestures/gestureStateManager.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/gestureStateManager.web.d.ts +0 -5
- package/lib/typescript/handlers/gestures/gestureStateManager.web.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/hoverGesture.d.ts +0 -28
- package/lib/typescript/handlers/gestures/hoverGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/longPressGesture.d.ts +0 -26
- package/lib/typescript/handlers/gestures/longPressGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/manualGesture.d.ts +0 -8
- package/lib/typescript/handlers/gestures/manualGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/nativeGesture.d.ts +0 -19
- package/lib/typescript/handlers/gestures/nativeGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/panGesture.d.ts +0 -91
- package/lib/typescript/handlers/gestures/panGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/pinchGesture.d.ts +0 -12
- package/lib/typescript/handlers/gestures/pinchGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/reanimatedWrapper.d.ts +0 -15
- package/lib/typescript/handlers/gestures/reanimatedWrapper.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/rotationGesture.d.ts +0 -13
- package/lib/typescript/handlers/gestures/rotationGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/tapGesture.d.ts +0 -51
- package/lib/typescript/handlers/gestures/tapGesture.d.ts.map +0 -1
- package/lib/typescript/handlers/getNextHandlerTag.d.ts +0 -2
- package/lib/typescript/handlers/getNextHandlerTag.d.ts.map +0 -1
- package/lib/typescript/handlers/handlersRegistry.d.ts +0 -15
- package/lib/typescript/handlers/handlersRegistry.d.ts.map +0 -1
- package/lib/typescript/handlers/utils.d.ts +0 -8
- package/lib/typescript/handlers/utils.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -59
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/init.d.ts +0 -3
- package/lib/typescript/init.d.ts.map +0 -1
- package/lib/typescript/jestUtils/index.d.ts +0 -2
- package/lib/typescript/jestUtils/index.d.ts.map +0 -1
- package/lib/typescript/jestUtils/jestUtils.d.ts +0 -30
- package/lib/typescript/jestUtils/jestUtils.d.ts.map +0 -1
- package/lib/typescript/mocks.d.ts +0 -47
- package/lib/typescript/mocks.d.ts.map +0 -1
- package/lib/typescript/mountRegistry.d.ts +0 -17
- package/lib/typescript/mountRegistry.d.ts.map +0 -1
- package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +0 -15
- package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts.map +0 -1
- package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +0 -17
- package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts.map +0 -1
- package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts +0 -6
- package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/typeUtils.d.ts +0 -2
- package/lib/typescript/typeUtils.d.ts.map +0 -1
- package/lib/typescript/utils.d.ts +0 -21
- package/lib/typescript/utils.d.ts.map +0 -1
- package/lib/typescript/web/Gestures.d.ts +0 -37
- package/lib/typescript/web/Gestures.d.ts.map +0 -1
- package/lib/typescript/web/constants.d.ts +0 -3
- package/lib/typescript/web/constants.d.ts.map +0 -1
- package/lib/typescript/web/detectors/RotationGestureDetector.d.ts +0 -31
- package/lib/typescript/web/detectors/RotationGestureDetector.d.ts.map +0 -1
- package/lib/typescript/web/detectors/ScaleGestureDetector.d.ts +0 -30
- package/lib/typescript/web/detectors/ScaleGestureDetector.d.ts.map +0 -1
- package/lib/typescript/web/handlers/FlingGestureHandler.d.ts +0 -27
- package/lib/typescript/web/handlers/FlingGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/handlers/GestureHandler.d.ts +0 -103
- package/lib/typescript/web/handlers/GestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/handlers/HoverGestureHandler.d.ts +0 -11
- package/lib/typescript/web/handlers/HoverGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/handlers/IGestureHandler.d.ts +0 -38
- package/lib/typescript/web/handlers/IGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/handlers/LongPressGestureHandler.d.ts +0 -31
- package/lib/typescript/web/handlers/LongPressGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/handlers/ManualGestureHandler.d.ts +0 -11
- package/lib/typescript/web/handlers/ManualGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/handlers/NativeViewGestureHandler.d.ts +0 -26
- package/lib/typescript/web/handlers/NativeViewGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/handlers/PanGestureHandler.d.ts +0 -62
- package/lib/typescript/web/handlers/PanGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/handlers/PinchGestureHandler.d.ts +0 -28
- package/lib/typescript/web/handlers/PinchGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/handlers/RotationGestureHandler.d.ts +0 -28
- package/lib/typescript/web/handlers/RotationGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/handlers/TapGestureHandler.d.ts +0 -39
- package/lib/typescript/web/handlers/TapGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web/interfaces.d.ts +0 -158
- package/lib/typescript/web/interfaces.d.ts.map +0 -1
- package/lib/typescript/web/tools/CircularBuffer.d.ts +0 -12
- package/lib/typescript/web/tools/CircularBuffer.d.ts.map +0 -1
- package/lib/typescript/web/tools/EventManager.d.ts +0 -40
- package/lib/typescript/web/tools/EventManager.d.ts.map +0 -1
- package/lib/typescript/web/tools/GestureHandlerDelegate.d.ts +0 -25
- package/lib/typescript/web/tools/GestureHandlerDelegate.d.ts.map +0 -1
- package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts +0 -32
- package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts.map +0 -1
- package/lib/typescript/web/tools/GestureHandlerWebDelegate.d.ts +0 -36
- package/lib/typescript/web/tools/GestureHandlerWebDelegate.d.ts.map +0 -1
- package/lib/typescript/web/tools/InteractionManager.d.ts +0 -18
- package/lib/typescript/web/tools/InteractionManager.d.ts.map +0 -1
- package/lib/typescript/web/tools/KeyboardEventManager.d.ts +0 -14
- package/lib/typescript/web/tools/KeyboardEventManager.d.ts.map +0 -1
- package/lib/typescript/web/tools/LeastSquareSolver.d.ts +0 -13
- package/lib/typescript/web/tools/LeastSquareSolver.d.ts.map +0 -1
- package/lib/typescript/web/tools/NodeManager.d.ts +0 -13
- package/lib/typescript/web/tools/NodeManager.d.ts.map +0 -1
- package/lib/typescript/web/tools/PointerEventManager.d.ts +0 -20
- package/lib/typescript/web/tools/PointerEventManager.d.ts.map +0 -1
- package/lib/typescript/web/tools/PointerTracker.d.ts +0 -51
- package/lib/typescript/web/tools/PointerTracker.d.ts.map +0 -1
- package/lib/typescript/web/tools/Vector.d.ts +0 -16
- package/lib/typescript/web/tools/Vector.d.ts.map +0 -1
- package/lib/typescript/web/tools/VelocityTracker.d.ts +0 -14
- package/lib/typescript/web/tools/VelocityTracker.d.ts.map +0 -1
- package/lib/typescript/web/tools/WheelEventManager.d.ts +0 -12
- package/lib/typescript/web/tools/WheelEventManager.d.ts.map +0 -1
- package/lib/typescript/web/utils.d.ts +0 -15
- package/lib/typescript/web/utils.d.ts.map +0 -1
- package/lib/typescript/web_hammer/DiscreteGestureHandler.d.ts +0 -21
- package/lib/typescript/web_hammer/DiscreteGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/DraggingGestureHandler.d.ts +0 -16
- package/lib/typescript/web_hammer/DraggingGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/Errors.d.ts +0 -4
- package/lib/typescript/web_hammer/Errors.d.ts.map +0 -1
- package/lib/typescript/web_hammer/FlingGestureHandler.d.ts +0 -44
- package/lib/typescript/web_hammer/FlingGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/GestureHandler.d.ts +0 -146
- package/lib/typescript/web_hammer/GestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/IndiscreteGestureHandler.d.ts +0 -41
- package/lib/typescript/web_hammer/IndiscreteGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/LongPressGestureHandler.d.ts +0 -39
- package/lib/typescript/web_hammer/LongPressGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/NativeViewGestureHandler.d.ts +0 -8
- package/lib/typescript/web_hammer/NativeViewGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/NodeManager.d.ts +0 -8
- package/lib/typescript/web_hammer/NodeManager.d.ts.map +0 -1
- package/lib/typescript/web_hammer/PanGestureHandler.d.ts +0 -57
- package/lib/typescript/web_hammer/PanGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/PinchGestureHandler.d.ts +0 -14
- package/lib/typescript/web_hammer/PinchGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/PressGestureHandler.d.ts +0 -84
- package/lib/typescript/web_hammer/PressGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/RotationGestureHandler.d.ts +0 -14
- package/lib/typescript/web_hammer/RotationGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/TapGestureHandler.d.ts +0 -58
- package/lib/typescript/web_hammer/TapGestureHandler.d.ts.map +0 -1
- package/lib/typescript/web_hammer/constants.d.ts +0 -40
- package/lib/typescript/web_hammer/constants.d.ts.map +0 -1
- package/lib/typescript/web_hammer/utils.d.ts +0 -10
- package/lib/typescript/web_hammer/utils.d.ts.map +0 -1
@@ -1,324 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.default = void 0;
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
8
|
-
var _gestureObjects = require("../../handlers/gestures/gestureObjects");
|
9
|
-
var _GestureDetector = require("../../handlers/gestures/GestureDetector");
|
10
|
-
var _reactNative = require("react-native");
|
11
|
-
var _GestureHandlerButton = _interopRequireDefault(require("../GestureHandlerButton"));
|
12
|
-
var _utils = require("./utils");
|
13
|
-
var _PressabilityDebugView = require("../../handlers/PressabilityDebugView");
|
14
|
-
var _utils2 = require("../../utils");
|
15
|
-
var _utils3 = require("../utils");
|
16
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
17
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
18
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
19
|
-
const DEFAULT_LONG_PRESS_DURATION = 500;
|
20
|
-
const IS_TEST_ENV = (0, _utils2.isTestEnv)();
|
21
|
-
let IS_FABRIC = null;
|
22
|
-
const Pressable = /*#__PURE__*/(0, _react.forwardRef)((props, pressableRef) => {
|
23
|
-
const {
|
24
|
-
testOnly_pressed,
|
25
|
-
hitSlop,
|
26
|
-
pressRetentionOffset,
|
27
|
-
delayHoverIn,
|
28
|
-
onHoverIn,
|
29
|
-
delayHoverOut,
|
30
|
-
onHoverOut,
|
31
|
-
delayLongPress,
|
32
|
-
unstable_pressDelay,
|
33
|
-
onPress,
|
34
|
-
onPressIn,
|
35
|
-
onPressOut,
|
36
|
-
onLongPress,
|
37
|
-
style,
|
38
|
-
children,
|
39
|
-
android_disableSound,
|
40
|
-
android_ripple,
|
41
|
-
disabled,
|
42
|
-
accessible,
|
43
|
-
simultaneousWithExternalGesture,
|
44
|
-
requireExternalGestureToFail,
|
45
|
-
blocksExternalGesture,
|
46
|
-
...remainingProps
|
47
|
-
} = props;
|
48
|
-
const relationProps = {
|
49
|
-
simultaneousWithExternalGesture,
|
50
|
-
requireExternalGestureToFail,
|
51
|
-
blocksExternalGesture
|
52
|
-
};
|
53
|
-
const [pressedState, setPressedState] = (0, _react.useState)(testOnly_pressed ?? false);
|
54
|
-
|
55
|
-
// Disabled when onLongPress has been called
|
56
|
-
const isPressCallbackEnabled = (0, _react.useRef)(true);
|
57
|
-
const hasPassedBoundsChecks = (0, _react.useRef)(false);
|
58
|
-
const shouldPreventNativeEffects = (0, _react.useRef)(false);
|
59
|
-
const normalizedHitSlop = (0, _react.useMemo)(() => typeof hitSlop === 'number' ? (0, _utils.numberAsInset)(hitSlop) : hitSlop ?? {}, [hitSlop]);
|
60
|
-
const normalizedPressRetentionOffset = (0, _react.useMemo)(() => typeof pressRetentionOffset === 'number' ? (0, _utils.numberAsInset)(pressRetentionOffset) : pressRetentionOffset ?? {}, [pressRetentionOffset]);
|
61
|
-
const hoverInTimeout = (0, _react.useRef)(null);
|
62
|
-
const hoverOutTimeout = (0, _react.useRef)(null);
|
63
|
-
const hoverGesture = (0, _react.useMemo)(() => _gestureObjects.GestureObjects.Hover().manualActivation(true) // Stops Hover from blocking Native gesture activation on web
|
64
|
-
.cancelsTouchesInView(false).onBegin(event => {
|
65
|
-
if (hoverOutTimeout.current) {
|
66
|
-
clearTimeout(hoverOutTimeout.current);
|
67
|
-
}
|
68
|
-
if (delayHoverIn) {
|
69
|
-
hoverInTimeout.current = setTimeout(() => onHoverIn?.((0, _utils.gestureToPressableEvent)(event)), delayHoverIn);
|
70
|
-
return;
|
71
|
-
}
|
72
|
-
onHoverIn?.((0, _utils.gestureToPressableEvent)(event));
|
73
|
-
}).onFinalize(event => {
|
74
|
-
if (hoverInTimeout.current) {
|
75
|
-
clearTimeout(hoverInTimeout.current);
|
76
|
-
}
|
77
|
-
if (delayHoverOut) {
|
78
|
-
hoverOutTimeout.current = setTimeout(() => onHoverOut?.((0, _utils.gestureToPressableEvent)(event)), delayHoverOut);
|
79
|
-
return;
|
80
|
-
}
|
81
|
-
onHoverOut?.((0, _utils.gestureToPressableEvent)(event));
|
82
|
-
}), [delayHoverIn, delayHoverOut, onHoverIn, onHoverOut]);
|
83
|
-
const pressDelayTimeoutRef = (0, _react.useRef)(null);
|
84
|
-
const isTouchPropagationAllowed = (0, _react.useRef)(false);
|
85
|
-
|
86
|
-
// iOS only: due to varying flow of gestures, events sometimes have to be saved for later use
|
87
|
-
const deferredEventPayload = (0, _react.useRef)(null);
|
88
|
-
const pressInHandler = (0, _react.useCallback)(event => {
|
89
|
-
if (handlingOnTouchesDown.current) {
|
90
|
-
deferredEventPayload.current = event;
|
91
|
-
}
|
92
|
-
if (!isTouchPropagationAllowed.current) {
|
93
|
-
return;
|
94
|
-
}
|
95
|
-
deferredEventPayload.current = null;
|
96
|
-
onPressIn?.(event);
|
97
|
-
isPressCallbackEnabled.current = true;
|
98
|
-
pressDelayTimeoutRef.current = null;
|
99
|
-
setPressedState(true);
|
100
|
-
}, [onPressIn]);
|
101
|
-
const pressOutHandler = (0, _react.useCallback)(event => {
|
102
|
-
if (!isTouchPropagationAllowed.current) {
|
103
|
-
hasPassedBoundsChecks.current = false;
|
104
|
-
isPressCallbackEnabled.current = true;
|
105
|
-
deferredEventPayload.current = null;
|
106
|
-
if (longPressTimeoutRef.current) {
|
107
|
-
clearTimeout(longPressTimeoutRef.current);
|
108
|
-
longPressTimeoutRef.current = null;
|
109
|
-
}
|
110
|
-
if (pressDelayTimeoutRef.current) {
|
111
|
-
clearTimeout(pressDelayTimeoutRef.current);
|
112
|
-
pressDelayTimeoutRef.current = null;
|
113
|
-
}
|
114
|
-
return;
|
115
|
-
}
|
116
|
-
if (!hasPassedBoundsChecks.current || event.nativeEvent.touches.length > event.nativeEvent.changedTouches.length) {
|
117
|
-
return;
|
118
|
-
}
|
119
|
-
if (unstable_pressDelay && pressDelayTimeoutRef.current !== null) {
|
120
|
-
// When delay is preemptively finished by lifting touches,
|
121
|
-
// we want to immediately activate it's effects - pressInHandler,
|
122
|
-
// even though we are located at the pressOutHandler
|
123
|
-
clearTimeout(pressDelayTimeoutRef.current);
|
124
|
-
pressInHandler(event);
|
125
|
-
}
|
126
|
-
if (deferredEventPayload.current) {
|
127
|
-
onPressIn?.(deferredEventPayload.current);
|
128
|
-
deferredEventPayload.current = null;
|
129
|
-
}
|
130
|
-
onPressOut?.(event);
|
131
|
-
if (isPressCallbackEnabled.current) {
|
132
|
-
onPress?.(event);
|
133
|
-
}
|
134
|
-
if (longPressTimeoutRef.current) {
|
135
|
-
clearTimeout(longPressTimeoutRef.current);
|
136
|
-
longPressTimeoutRef.current = null;
|
137
|
-
}
|
138
|
-
isTouchPropagationAllowed.current = false;
|
139
|
-
hasPassedBoundsChecks.current = false;
|
140
|
-
isPressCallbackEnabled.current = true;
|
141
|
-
setPressedState(false);
|
142
|
-
}, [onPress, onPressIn, onPressOut, pressInHandler, unstable_pressDelay]);
|
143
|
-
const handlingOnTouchesDown = (0, _react.useRef)(false);
|
144
|
-
const onEndHandlingTouchesDown = (0, _react.useRef)(null);
|
145
|
-
const cancelledMidPress = (0, _react.useRef)(false);
|
146
|
-
const activateLongPress = (0, _react.useCallback)(event => {
|
147
|
-
if (!isTouchPropagationAllowed.current) {
|
148
|
-
return;
|
149
|
-
}
|
150
|
-
if (hasPassedBoundsChecks.current && onLongPress) {
|
151
|
-
onLongPress((0, _utils.gestureTouchToPressableEvent)(event));
|
152
|
-
isPressCallbackEnabled.current = false;
|
153
|
-
}
|
154
|
-
if (longPressTimeoutRef.current) {
|
155
|
-
clearTimeout(longPressTimeoutRef.current);
|
156
|
-
longPressTimeoutRef.current = null;
|
157
|
-
}
|
158
|
-
}, [onLongPress]);
|
159
|
-
const longPressTimeoutRef = (0, _react.useRef)(null);
|
160
|
-
const longPressMinDuration = (delayLongPress ?? DEFAULT_LONG_PRESS_DURATION) + (unstable_pressDelay ?? 0);
|
161
|
-
const innerPressableRef = (0, _react.useRef)(null);
|
162
|
-
const measureCallback = (0, _react.useCallback)((width, height, event) => {
|
163
|
-
if (!(0, _utils.isTouchWithinInset)({
|
164
|
-
width,
|
165
|
-
height
|
166
|
-
}, normalizedHitSlop, event.changedTouches.at(-1)) || hasPassedBoundsChecks.current || cancelledMidPress.current) {
|
167
|
-
cancelledMidPress.current = false;
|
168
|
-
onEndHandlingTouchesDown.current = null;
|
169
|
-
handlingOnTouchesDown.current = false;
|
170
|
-
return;
|
171
|
-
}
|
172
|
-
hasPassedBoundsChecks.current = true;
|
173
|
-
|
174
|
-
// In case of multiple touches, the first one starts long press gesture
|
175
|
-
if (longPressTimeoutRef.current === null) {
|
176
|
-
// Start long press gesture timer
|
177
|
-
longPressTimeoutRef.current = setTimeout(() => activateLongPress(event), longPressMinDuration);
|
178
|
-
}
|
179
|
-
if (unstable_pressDelay) {
|
180
|
-
pressDelayTimeoutRef.current = setTimeout(() => {
|
181
|
-
pressInHandler((0, _utils.gestureTouchToPressableEvent)(event));
|
182
|
-
}, unstable_pressDelay);
|
183
|
-
} else {
|
184
|
-
pressInHandler((0, _utils.gestureTouchToPressableEvent)(event));
|
185
|
-
}
|
186
|
-
onEndHandlingTouchesDown.current?.();
|
187
|
-
onEndHandlingTouchesDown.current = null;
|
188
|
-
handlingOnTouchesDown.current = false;
|
189
|
-
}, [activateLongPress, longPressMinDuration, normalizedHitSlop, pressInHandler, unstable_pressDelay]);
|
190
|
-
const pressAndTouchGesture = (0, _react.useMemo)(() => _gestureObjects.GestureObjects.LongPress().minDuration(_utils2.INT32_MAX) // Stops long press from blocking native gesture
|
191
|
-
.maxDistance(_utils2.INT32_MAX) // Stops long press from cancelling after set distance
|
192
|
-
.cancelsTouchesInView(false).onTouchesDown(event => {
|
193
|
-
handlingOnTouchesDown.current = true;
|
194
|
-
if (pressableRef) {
|
195
|
-
pressableRef.current?.measure((_x, _y, width, height) => {
|
196
|
-
measureCallback(width, height, event);
|
197
|
-
});
|
198
|
-
} else {
|
199
|
-
innerPressableRef.current?.measure((_x, _y, width, height) => {
|
200
|
-
measureCallback(width, height, event);
|
201
|
-
});
|
202
|
-
}
|
203
|
-
}).onTouchesUp(event => {
|
204
|
-
if (handlingOnTouchesDown.current) {
|
205
|
-
onEndHandlingTouchesDown.current = () => pressOutHandler((0, _utils.gestureTouchToPressableEvent)(event));
|
206
|
-
return;
|
207
|
-
}
|
208
|
-
// On iOS, short taps will make LongPress gesture call onTouchesUp before Native gesture calls onStart
|
209
|
-
// This variable ensures that onStart isn't detected as the first gesture since Pressable is pressed.
|
210
|
-
if (deferredEventPayload.current !== null) {
|
211
|
-
shouldPreventNativeEffects.current = true;
|
212
|
-
}
|
213
|
-
pressOutHandler((0, _utils.gestureTouchToPressableEvent)(event));
|
214
|
-
}).onTouchesCancelled(event => {
|
215
|
-
isPressCallbackEnabled.current = false;
|
216
|
-
if (handlingOnTouchesDown.current) {
|
217
|
-
cancelledMidPress.current = true;
|
218
|
-
onEndHandlingTouchesDown.current = () => pressOutHandler((0, _utils.gestureTouchToPressableEvent)(event));
|
219
|
-
return;
|
220
|
-
}
|
221
|
-
if (!hasPassedBoundsChecks.current || event.allTouches.length > event.changedTouches.length) {
|
222
|
-
return;
|
223
|
-
}
|
224
|
-
pressOutHandler((0, _utils.gestureTouchToPressableEvent)(event));
|
225
|
-
}), [pressableRef, measureCallback, pressOutHandler]);
|
226
|
-
|
227
|
-
// RNButton is placed inside ButtonGesture to enable Android's ripple and to capture non-propagating events
|
228
|
-
const buttonGesture = (0, _react.useMemo)(() => _gestureObjects.GestureObjects.Native().onBegin(() => {
|
229
|
-
// Android sets BEGAN state on press down
|
230
|
-
if (_reactNative.Platform.OS === 'android' || _reactNative.Platform.OS === 'macos') {
|
231
|
-
isTouchPropagationAllowed.current = true;
|
232
|
-
}
|
233
|
-
}).onStart(() => {
|
234
|
-
if (_reactNative.Platform.OS === 'web') {
|
235
|
-
isTouchPropagationAllowed.current = true;
|
236
|
-
}
|
237
|
-
|
238
|
-
// iOS sets ACTIVE state on press down
|
239
|
-
if (_reactNative.Platform.OS !== 'ios') {
|
240
|
-
return;
|
241
|
-
}
|
242
|
-
if (deferredEventPayload.current) {
|
243
|
-
isTouchPropagationAllowed.current = true;
|
244
|
-
if (hasPassedBoundsChecks.current) {
|
245
|
-
pressInHandler(deferredEventPayload.current);
|
246
|
-
deferredEventPayload.current = null;
|
247
|
-
} else {
|
248
|
-
pressOutHandler(deferredEventPayload.current);
|
249
|
-
isTouchPropagationAllowed.current = false;
|
250
|
-
}
|
251
|
-
return;
|
252
|
-
}
|
253
|
-
if (hasPassedBoundsChecks.current) {
|
254
|
-
isTouchPropagationAllowed.current = true;
|
255
|
-
return;
|
256
|
-
}
|
257
|
-
if (shouldPreventNativeEffects.current) {
|
258
|
-
shouldPreventNativeEffects.current = false;
|
259
|
-
if (!handlingOnTouchesDown.current) {
|
260
|
-
return;
|
261
|
-
}
|
262
|
-
}
|
263
|
-
isTouchPropagationAllowed.current = true;
|
264
|
-
}), [pressInHandler, pressOutHandler]);
|
265
|
-
const appliedHitSlop = (0, _utils.addInsets)(normalizedHitSlop, normalizedPressRetentionOffset);
|
266
|
-
const isPressableEnabled = disabled !== true;
|
267
|
-
const gestures = [buttonGesture, pressAndTouchGesture, hoverGesture];
|
268
|
-
for (const gesture of gestures) {
|
269
|
-
gesture.enabled(isPressableEnabled);
|
270
|
-
gesture.runOnJS(true);
|
271
|
-
gesture.hitSlop(appliedHitSlop);
|
272
|
-
gesture.shouldCancelWhenOutside(_reactNative.Platform.OS === 'web' ? false : true);
|
273
|
-
Object.entries(relationProps).forEach(([relationName, relation]) => {
|
274
|
-
(0, _utils3.applyRelationProp)(gesture, relationName, relation);
|
275
|
-
});
|
276
|
-
}
|
277
|
-
|
278
|
-
// Uses different hitSlop, to activate on hitSlop area instead of pressRetentionOffset area
|
279
|
-
buttonGesture.hitSlop(normalizedHitSlop);
|
280
|
-
const gesture = _gestureObjects.GestureObjects.Simultaneous(...gestures);
|
281
|
-
|
282
|
-
// `cursor: 'pointer'` on `RNButton` crashes iOS
|
283
|
-
const pointerStyle = _reactNative.Platform.OS === 'web' ? {
|
284
|
-
cursor: 'pointer'
|
285
|
-
} : {};
|
286
|
-
const styleProp = typeof style === 'function' ? style({
|
287
|
-
pressed: pressedState
|
288
|
-
}) : style;
|
289
|
-
const childrenProp = typeof children === 'function' ? children({
|
290
|
-
pressed: pressedState
|
291
|
-
}) : children;
|
292
|
-
const rippleColor = (0, _react.useMemo)(() => {
|
293
|
-
if (IS_FABRIC === null) {
|
294
|
-
IS_FABRIC = (0, _utils2.isFabric)();
|
295
|
-
}
|
296
|
-
const defaultRippleColor = android_ripple ? undefined : 'transparent';
|
297
|
-
const unprocessedRippleColor = android_ripple?.color ?? defaultRippleColor;
|
298
|
-
return IS_FABRIC ? unprocessedRippleColor : (0, _reactNative.processColor)(unprocessedRippleColor);
|
299
|
-
}, [android_ripple]);
|
300
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GestureDetector.GestureDetector, {
|
301
|
-
gesture: gesture,
|
302
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_GestureHandlerButton.default, {
|
303
|
-
...remainingProps,
|
304
|
-
ref: pressableRef ?? innerPressableRef,
|
305
|
-
accessible: accessible !== false,
|
306
|
-
hitSlop: appliedHitSlop,
|
307
|
-
enabled: isPressableEnabled,
|
308
|
-
touchSoundDisabled: android_disableSound ?? undefined,
|
309
|
-
rippleColor: rippleColor,
|
310
|
-
rippleRadius: android_ripple?.radius ?? undefined,
|
311
|
-
style: [pointerStyle, styleProp],
|
312
|
-
testOnly_onPress: IS_TEST_ENV ? onPress : undefined,
|
313
|
-
testOnly_onPressIn: IS_TEST_ENV ? onPressIn : undefined,
|
314
|
-
testOnly_onPressOut: IS_TEST_ENV ? onPressOut : undefined,
|
315
|
-
testOnly_onLongPress: IS_TEST_ENV ? onLongPress : undefined,
|
316
|
-
children: [childrenProp, __DEV__ ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_PressabilityDebugView.PressabilityDebugView, {
|
317
|
-
color: "red",
|
318
|
-
hitSlop: normalizedHitSlop
|
319
|
-
}) : null]
|
320
|
-
})
|
321
|
-
});
|
322
|
-
});
|
323
|
-
var _default = exports.default = Pressable;
|
324
|
-
//# sourceMappingURL=Pressable.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_gestureObjects","_GestureDetector","_reactNative","_GestureHandlerButton","_interopRequireDefault","_utils","_PressabilityDebugView","_utils2","_utils3","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","DEFAULT_LONG_PRESS_DURATION","IS_TEST_ENV","isTestEnv","IS_FABRIC","Pressable","forwardRef","props","pressableRef","testOnly_pressed","hitSlop","pressRetentionOffset","delayHoverIn","onHoverIn","delayHoverOut","onHoverOut","delayLongPress","unstable_pressDelay","onPress","onPressIn","onPressOut","onLongPress","style","children","android_disableSound","android_ripple","disabled","accessible","simultaneousWithExternalGesture","requireExternalGestureToFail","blocksExternalGesture","remainingProps","relationProps","pressedState","setPressedState","useState","isPressCallbackEnabled","useRef","hasPassedBoundsChecks","shouldPreventNativeEffects","normalizedHitSlop","useMemo","numberAsInset","normalizedPressRetentionOffset","hoverInTimeout","hoverOutTimeout","hoverGesture","Gesture","Hover","manualActivation","cancelsTouchesInView","onBegin","event","current","clearTimeout","setTimeout","gestureToPressableEvent","onFinalize","pressDelayTimeoutRef","isTouchPropagationAllowed","deferredEventPayload","pressInHandler","useCallback","handlingOnTouchesDown","pressOutHandler","longPressTimeoutRef","nativeEvent","touches","length","changedTouches","onEndHandlingTouchesDown","cancelledMidPress","activateLongPress","gestureTouchToPressableEvent","longPressMinDuration","innerPressableRef","measureCallback","width","height","isTouchWithinInset","at","pressAndTouchGesture","LongPress","minDuration","INT32_MAX","maxDistance","onTouchesDown","measure","_x","_y","onTouchesUp","onTouchesCancelled","allTouches","buttonGesture","Native","Platform","OS","onStart","appliedHitSlop","addInsets","isPressableEnabled","gestures","gesture","enabled","runOnJS","shouldCancelWhenOutside","entries","forEach","relationName","relation","applyRelationProp","Simultaneous","pointerStyle","cursor","styleProp","pressed","childrenProp","rippleColor","isFabric","defaultRippleColor","undefined","unprocessedRippleColor","color","processColor","jsx","GestureDetector","jsxs","ref","touchSoundDisabled","rippleRadius","radius","testOnly_onPress","testOnly_onPressIn","testOnly_onPressOut","testOnly_onLongPress","__DEV__","PressabilityDebugView","_default","exports"],"sourceRoot":"../../../../src","sources":["components/Pressable/Pressable.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AASA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,gBAAA,GAAAF,OAAA;AAEA,IAAAG,YAAA,GAAAH,OAAA;AAQA,IAAAI,qBAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AAOA,IAAAO,sBAAA,GAAAP,OAAA;AAEA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AAIkB,IAAAU,WAAA,GAAAV,OAAA;AAAA,SAAAK,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAZ,wBAAAY,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAhB,uBAAA,YAAAA,CAAAY,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAA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AA,GAC3D6F,YAAY,EACZmB,OAAO,gBACN,IAAA1J,WAAA,CAAA+I,GAAA,EAAClJ,sBAAA,CAAA8J,qBAAqB;QAACd,KAAK,EAAC,KAAK;QAAChH,OAAO,EAAE8B;MAAkB,CAAE,CAAC,GAC/D,IAAI;IAAA,CACI;EAAC,CACA,CAAC;AAEtB,CACF,CAAC;AAAC,IAAAiG,QAAA,GAAAC,OAAA,CAAA1J,OAAA,GAEaqB,SAAS","ignoreList":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Pressable/PressableProps.tsx"],"mappings":"","ignoreList":[]}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "default", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function () {
|
9
|
-
return _Pressable.default;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
var _Pressable = _interopRequireDefault(require("./Pressable"));
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
14
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["_Pressable","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../../../src","sources":["components/Pressable/index.ts"],"mappings":";;;;;;;;;;;AAIA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAsC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
@@ -1,92 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.numberAsInset = exports.isTouchWithinInset = exports.gestureTouchToPressableEvent = exports.gestureToPressableEvent = exports.addInsets = void 0;
|
7
|
-
const numberAsInset = value => ({
|
8
|
-
left: value,
|
9
|
-
right: value,
|
10
|
-
top: value,
|
11
|
-
bottom: value
|
12
|
-
});
|
13
|
-
exports.numberAsInset = numberAsInset;
|
14
|
-
const addInsets = (a, b) => ({
|
15
|
-
left: (a.left ?? 0) + (b.left ?? 0),
|
16
|
-
right: (a.right ?? 0) + (b.right ?? 0),
|
17
|
-
top: (a.top ?? 0) + (b.top ?? 0),
|
18
|
-
bottom: (a.bottom ?? 0) + (b.bottom ?? 0)
|
19
|
-
});
|
20
|
-
exports.addInsets = addInsets;
|
21
|
-
const touchDataToPressEvent = (data, timestamp, targetId) => ({
|
22
|
-
identifier: data.id,
|
23
|
-
locationX: data.x,
|
24
|
-
locationY: data.y,
|
25
|
-
pageX: data.absoluteX,
|
26
|
-
pageY: data.absoluteY,
|
27
|
-
target: targetId,
|
28
|
-
timestamp: timestamp,
|
29
|
-
touches: [],
|
30
|
-
// Always empty - legacy compatibility
|
31
|
-
changedTouches: [] // Always empty - legacy compatibility
|
32
|
-
});
|
33
|
-
const gestureToPressEvent = (event, timestamp, targetId) => ({
|
34
|
-
identifier: event.handlerTag,
|
35
|
-
locationX: event.x,
|
36
|
-
locationY: event.y,
|
37
|
-
pageX: event.absoluteX,
|
38
|
-
pageY: event.absoluteY,
|
39
|
-
target: targetId,
|
40
|
-
timestamp: timestamp,
|
41
|
-
touches: [],
|
42
|
-
// Always empty - legacy compatibility
|
43
|
-
changedTouches: [] // Always empty - legacy compatibility
|
44
|
-
});
|
45
|
-
const isTouchWithinInset = (dimensions, inset, touch) => (touch?.x ?? 0) < (inset.right ?? 0) + dimensions.width && (touch?.y ?? 0) < (inset.bottom ?? 0) + dimensions.height && (touch?.x ?? 0) > -(inset.left ?? 0) && (touch?.y ?? 0) > -(inset.top ?? 0);
|
46
|
-
exports.isTouchWithinInset = isTouchWithinInset;
|
47
|
-
const gestureToPressableEvent = event => {
|
48
|
-
const timestamp = Date.now();
|
49
|
-
|
50
|
-
// As far as I can see, there isn't a conventional way of getting targetId with the data we get
|
51
|
-
const targetId = 0;
|
52
|
-
const pressEvent = gestureToPressEvent(event, timestamp, targetId);
|
53
|
-
return {
|
54
|
-
nativeEvent: {
|
55
|
-
touches: [pressEvent],
|
56
|
-
changedTouches: [pressEvent],
|
57
|
-
identifier: pressEvent.identifier,
|
58
|
-
locationX: event.x,
|
59
|
-
locationY: event.y,
|
60
|
-
pageX: event.absoluteX,
|
61
|
-
pageY: event.absoluteY,
|
62
|
-
target: targetId,
|
63
|
-
timestamp: timestamp,
|
64
|
-
force: undefined
|
65
|
-
}
|
66
|
-
};
|
67
|
-
};
|
68
|
-
exports.gestureToPressableEvent = gestureToPressableEvent;
|
69
|
-
const gestureTouchToPressableEvent = event => {
|
70
|
-
const timestamp = Date.now();
|
71
|
-
|
72
|
-
// As far as I can see, there isn't a conventional way of getting targetId with the data we get
|
73
|
-
const targetId = 0;
|
74
|
-
const touchesList = event.allTouches.map(touch => touchDataToPressEvent(touch, timestamp, targetId));
|
75
|
-
const changedTouchesList = event.changedTouches.map(touch => touchDataToPressEvent(touch, timestamp, targetId));
|
76
|
-
return {
|
77
|
-
nativeEvent: {
|
78
|
-
touches: touchesList,
|
79
|
-
changedTouches: changedTouchesList,
|
80
|
-
identifier: event.handlerTag,
|
81
|
-
locationX: event.allTouches.at(0)?.x ?? -1,
|
82
|
-
locationY: event.allTouches.at(0)?.y ?? -1,
|
83
|
-
pageX: event.allTouches.at(0)?.absoluteX ?? -1,
|
84
|
-
pageY: event.allTouches.at(0)?.absoluteY ?? -1,
|
85
|
-
target: targetId,
|
86
|
-
timestamp: timestamp,
|
87
|
-
force: undefined
|
88
|
-
}
|
89
|
-
};
|
90
|
-
};
|
91
|
-
exports.gestureTouchToPressableEvent = gestureTouchToPressableEvent;
|
92
|
-
//# sourceMappingURL=utils.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["numberAsInset","value","left","right","top","bottom","exports","addInsets","a","b","touchDataToPressEvent","data","timestamp","targetId","identifier","id","locationX","x","locationY","y","pageX","absoluteX","pageY","absoluteY","target","touches","changedTouches","gestureToPressEvent","event","handlerTag","isTouchWithinInset","dimensions","inset","touch","width","height","gestureToPressableEvent","Date","now","pressEvent","nativeEvent","force","undefined","gestureTouchToPressableEvent","touchesList","allTouches","map","changedTouchesList","at"],"sourceRoot":"../../../../src","sources":["components/Pressable/utils.ts"],"mappings":";;;;;;AAYA,MAAMA,aAAa,GAAIC,KAAa,KAAc;EAChDC,IAAI,EAAED,KAAK;EACXE,KAAK,EAAEF,KAAK;EACZG,GAAG,EAAEH,KAAK;EACVI,MAAM,EAAEJ;AACV,CAAC,CAAC;AAACK,OAAA,CAAAN,aAAA,GAAAA,aAAA;AAEH,MAAMO,SAAS,GAAGA,CAACC,CAAS,EAAEC,CAAS,MAAc;EACnDP,IAAI,EAAE,CAACM,CAAC,CAACN,IAAI,IAAI,CAAC,KAAKO,CAAC,CAACP,IAAI,IAAI,CAAC,CAAC;EACnCC,KAAK,EAAE,CAACK,CAAC,CAACL,KAAK,IAAI,CAAC,KAAKM,CAAC,CAACN,KAAK,IAAI,CAAC,CAAC;EACtCC,GAAG,EAAE,CAACI,CAAC,CAACJ,GAAG,IAAI,CAAC,KAAKK,CAAC,CAACL,GAAG,IAAI,CAAC,CAAC;EAChCC,MAAM,EAAE,CAACG,CAAC,CAACH,MAAM,IAAI,CAAC,KAAKI,CAAC,CAACJ,MAAM,IAAI,CAAC;AAC1C,CAAC,CAAC;AAACC,OAAA,CAAAC,SAAA,GAAAA,SAAA;AAEH,MAAMG,qBAAqB,GAAGA,CAC5BC,IAAe,EACfC,SAAiB,EACjBC,QAAgB,MACS;EACzBC,UAAU,EAAEH,IAAI,CAACI,EAAE;EACnBC,SAAS,EAAEL,IAAI,CAACM,CAAC;EACjBC,SAAS,EAAEP,IAAI,CAACQ,CAAC;EACjBC,KAAK,EAAET,IAAI,CAACU,SAAS;EACrBC,KAAK,EA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