react-native-gesture-handler 3.0.0-beta.3 → 3.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandler.kt +42 -38
- package/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandlerOrchestrator.kt +34 -8
- package/android/src/main/java/com/swmansion/gesturehandler/core/HoverGestureHandler.kt +3 -6
- package/android/src/main/java/com/swmansion/gesturehandler/core/ManualGestureHandler.kt +2 -0
- package/android/src/main/java/com/swmansion/gesturehandler/core/NativeViewGestureHandler.kt +68 -7
- package/android/src/main/java/com/swmansion/gesturehandler/core/OnJSResponderCancelListener.kt +6 -0
- package/android/src/main/java/com/swmansion/gesturehandler/core/PanGestureHandler.kt +2 -0
- package/android/src/main/java/com/swmansion/gesturehandler/core/PinchGestureHandler.kt +16 -6
- package/android/src/main/java/com/swmansion/gesturehandler/core/RotationGestureHandler.kt +17 -4
- package/android/src/main/java/com/swmansion/gesturehandler/core/ViewConfigurationHelper.kt +0 -1
- package/android/src/main/java/com/swmansion/gesturehandler/react/Extensions.kt +21 -0
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.kt +160 -55
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerDetectorView.kt +75 -98
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerInteractionManager.kt +1 -1
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt +7 -10
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRegistry.kt +64 -2
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt +18 -8
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootView.kt +15 -4
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNViewConfigurationHelper.kt +0 -6
- package/apple/Handlers/RNForceTouchHandler.m +1 -1
- package/apple/Handlers/RNHoverHandler.m +11 -11
- package/apple/Handlers/RNLongPressHandler.m +2 -2
- package/apple/Handlers/RNManualHandler.m +5 -0
- package/apple/Handlers/RNNativeViewHandler.mm +114 -53
- package/apple/Handlers/RNPanHandler.m +7 -3
- package/apple/Handlers/RNPinchHandler.m +9 -3
- package/apple/Handlers/RNRotationHandler.m +7 -2
- package/apple/Handlers/RNTapHandler.m +1 -1
- package/apple/RNGestureHandler.h +18 -0
- package/apple/RNGestureHandler.mm +82 -33
- package/apple/RNGestureHandlerButton.h +12 -2
- package/apple/RNGestureHandlerButton.mm +208 -38
- package/apple/RNGestureHandlerButtonComponentView.mm +102 -6
- package/apple/RNGestureHandlerDetector.mm +99 -75
- package/apple/RNGestureHandlerModule.mm +11 -14
- package/apple/RNGestureHandlerRegistry.h +14 -1
- package/apple/RNGestureHandlerRegistry.m +56 -0
- package/apple/RNRootViewGestureRecognizer.m +4 -15
- package/lib/module/RNGestureHandlerModule.web.js +5 -1
- package/lib/module/RNGestureHandlerModule.web.js.map +1 -1
- package/lib/module/components/GestureButtons.js +23 -12
- package/lib/module/components/GestureButtons.js.map +1 -1
- package/lib/module/components/GestureHandlerButton.js.map +1 -1
- package/lib/module/components/GestureHandlerButton.web.js +113 -31
- package/lib/module/components/GestureHandlerButton.web.js.map +1 -1
- package/lib/module/components/Pressable/Pressable.js +2 -1
- package/lib/module/components/Pressable/Pressable.js.map +1 -1
- package/lib/module/components/Pressable/stateDefinitions.js +2 -0
- package/lib/module/components/Pressable/stateDefinitions.js.map +1 -1
- package/lib/module/components/ReanimatedDrawerLayout.js.map +1 -1
- package/lib/module/components/ReanimatedSwipeable/ReanimatedSwipeable.js +38 -5
- package/lib/module/components/ReanimatedSwipeable/ReanimatedSwipeable.js.map +1 -1
- package/lib/module/components/touchables/GenericTouchable.js +2 -6
- package/lib/module/components/touchables/GenericTouchable.js.map +1 -1
- package/lib/module/handlers/gestures/GestureDetector/useDetectorUpdater.js +1 -2
- package/lib/module/handlers/gestures/GestureDetector/useDetectorUpdater.js.map +1 -1
- package/lib/module/handlers/gestures/GestureDetector/utils.js +11 -48
- package/lib/module/handlers/gestures/GestureDetector/utils.js.map +1 -1
- package/lib/module/handlers/gestures/flingGesture.js +8 -0
- package/lib/module/handlers/gestures/flingGesture.js.map +1 -1
- package/lib/module/handlers/gestures/forceTouchGesture.js +3 -3
- package/lib/module/handlers/gestures/gesture.js +8 -0
- package/lib/module/handlers/gestures/gesture.js.map +1 -1
- package/lib/module/handlers/gestures/gestureComposition.js +28 -0
- package/lib/module/handlers/gestures/gestureComposition.js.map +1 -1
- package/lib/module/handlers/gestures/gestureObjects.js +27 -1
- package/lib/module/handlers/gestures/gestureObjects.js.map +1 -1
- package/lib/module/handlers/gestures/gestureStateManager.js +9 -0
- package/lib/module/handlers/gestures/gestureStateManager.js.map +1 -1
- package/lib/module/handlers/gestures/hoverGesture.js +8 -0
- package/lib/module/handlers/gestures/hoverGesture.js.map +1 -1
- package/lib/module/handlers/gestures/longPressGesture.js +8 -0
- package/lib/module/handlers/gestures/longPressGesture.js.map +1 -1
- package/lib/module/handlers/gestures/manualGesture.js +8 -0
- package/lib/module/handlers/gestures/manualGesture.js.map +1 -1
- package/lib/module/handlers/gestures/nativeGesture.js +8 -0
- package/lib/module/handlers/gestures/nativeGesture.js.map +1 -1
- package/lib/module/handlers/gestures/panGesture.js +13 -0
- package/lib/module/handlers/gestures/panGesture.js.map +1 -1
- package/lib/module/handlers/gestures/pinchGesture.js +13 -0
- package/lib/module/handlers/gestures/pinchGesture.js.map +1 -1
- package/lib/module/handlers/gestures/reanimatedWrapper.js +14 -2
- package/lib/module/handlers/gestures/reanimatedWrapper.js.map +1 -1
- package/lib/module/handlers/gestures/rotationGesture.js +8 -0
- package/lib/module/handlers/gestures/rotationGesture.js.map +1 -1
- package/lib/module/handlers/gestures/tapGesture.js +8 -0
- package/lib/module/handlers/gestures/tapGesture.js.map +1 -1
- package/lib/module/mocks/module.js +3 -2
- package/lib/module/mocks/module.js.map +1 -1
- package/lib/module/specs/NativeRNGestureHandlerModule.js.map +1 -1
- package/lib/module/specs/RNGestureHandlerButtonNativeComponent.ts +28 -13
- package/lib/module/v3/NativeProxy.js +5 -3
- package/lib/module/v3/NativeProxy.js.map +1 -1
- package/lib/module/v3/NativeProxy.web.js +2 -2
- package/lib/module/v3/NativeProxy.web.js.map +1 -1
- package/lib/module/v3/components/GestureButtons.js +11 -6
- package/lib/module/v3/components/GestureButtons.js.map +1 -1
- package/lib/module/v3/components/Pressable.js +3 -2
- package/lib/module/v3/components/Pressable.js.map +1 -1
- package/lib/module/v3/components/Touchable/Touchable.js +119 -32
- package/lib/module/v3/components/Touchable/Touchable.js.map +1 -1
- package/lib/module/v3/detectors/HostGestureDetector.web.js +180 -59
- package/lib/module/v3/detectors/HostGestureDetector.web.js.map +1 -1
- package/lib/module/v3/detectors/NativeDetector.js +3 -2
- package/lib/module/v3/detectors/NativeDetector.js.map +1 -1
- package/lib/module/v3/detectors/VirtualDetector/InterceptingGestureDetector.js +3 -4
- package/lib/module/v3/detectors/VirtualDetector/InterceptingGestureDetector.js.map +1 -1
- package/lib/module/v3/detectors/VirtualDetector/VirtualDetector.js +4 -2
- package/lib/module/v3/detectors/VirtualDetector/VirtualDetector.js.map +1 -1
- package/lib/module/v3/detectors/useGestureRelationsUpdater.js +23 -0
- package/lib/module/v3/detectors/useGestureRelationsUpdater.js.map +1 -0
- package/lib/module/v3/detectors/useNativeGestureRole.js +6 -0
- package/lib/module/v3/detectors/useNativeGestureRole.js.map +1 -0
- package/lib/module/v3/detectors/useNativeGestureRole.web.js +27 -0
- package/lib/module/v3/detectors/useNativeGestureRole.web.js.map +1 -0
- package/lib/module/v3/detectors/utils.js +10 -8
- package/lib/module/v3/detectors/utils.js.map +1 -1
- package/lib/module/v3/hooks/callbacks/useReanimatedEventHandler.js +17 -2
- package/lib/module/v3/hooks/callbacks/useReanimatedEventHandler.js.map +1 -1
- package/lib/module/v3/hooks/gestures/fling/useFlingGesture.js +2 -1
- package/lib/module/v3/hooks/gestures/fling/useFlingGesture.js.map +1 -1
- package/lib/module/v3/hooks/gestures/hover/useHoverGesture.js +2 -1
- package/lib/module/v3/hooks/gestures/hover/useHoverGesture.js.map +1 -1
- package/lib/module/v3/hooks/gestures/longPress/useLongPressGesture.js +2 -1
- package/lib/module/v3/hooks/gestures/longPress/useLongPressGesture.js.map +1 -1
- package/lib/module/v3/hooks/gestures/manual/useManualGesture.js +2 -1
- package/lib/module/v3/hooks/gestures/manual/useManualGesture.js.map +1 -1
- package/lib/module/v3/hooks/gestures/native/NativeTypes.js +1 -1
- package/lib/module/v3/hooks/gestures/native/NativeTypes.js.map +1 -1
- package/lib/module/v3/hooks/gestures/native/useNativeGesture.js +2 -1
- package/lib/module/v3/hooks/gestures/native/useNativeGesture.js.map +1 -1
- package/lib/module/v3/hooks/gestures/pan/usePanGesture.js +2 -1
- package/lib/module/v3/hooks/gestures/pan/usePanGesture.js.map +1 -1
- package/lib/module/v3/hooks/gestures/pinch/usePinchGesture.js +2 -1
- package/lib/module/v3/hooks/gestures/pinch/usePinchGesture.js.map +1 -1
- package/lib/module/v3/hooks/gestures/rotation/useRotationGesture.js +2 -1
- package/lib/module/v3/hooks/gestures/rotation/useRotationGesture.js.map +1 -1
- package/lib/module/v3/hooks/gestures/tap/useTapGesture.js +2 -1
- package/lib/module/v3/hooks/gestures/tap/useTapGesture.js.map +1 -1
- package/lib/module/v3/hooks/useGesture.js +4 -22
- package/lib/module/v3/hooks/useGesture.js.map +1 -1
- package/lib/module/v3/hooks/utils/configUtils.js +8 -6
- package/lib/module/v3/hooks/utils/configUtils.js.map +1 -1
- package/lib/module/v3/hooks/utils/eventHandlersUtils.js +31 -29
- package/lib/module/v3/hooks/utils/eventHandlersUtils.js.map +1 -1
- package/lib/module/v3/hooks/utils/index.js +1 -1
- package/lib/module/v3/hooks/utils/index.js.map +1 -1
- package/lib/module/v3/hooks/utils/propsWhiteList.js +1 -1
- package/lib/module/v3/hooks/utils/propsWhiteList.js.map +1 -1
- package/lib/module/v3/hooks/utils/reanimatedUtils.js +8 -2
- package/lib/module/v3/hooks/utils/reanimatedUtils.js.map +1 -1
- package/lib/module/web/constants.js +1 -0
- package/lib/module/web/constants.js.map +1 -1
- package/lib/module/web/detectors/RotationGestureDetector.js +18 -5
- package/lib/module/web/detectors/RotationGestureDetector.js.map +1 -1
- package/lib/module/web/detectors/ScaleGestureDetector.js +9 -1
- package/lib/module/web/detectors/ScaleGestureDetector.js.map +1 -1
- package/lib/module/web/handlers/GestureHandler.js +25 -5
- package/lib/module/web/handlers/GestureHandler.js.map +1 -1
- package/lib/module/web/handlers/HoverGestureHandler.js +1 -4
- package/lib/module/web/handlers/HoverGestureHandler.js.map +1 -1
- package/lib/module/web/handlers/ManualGestureHandler.js +1 -0
- package/lib/module/web/handlers/ManualGestureHandler.js.map +1 -1
- package/lib/module/web/handlers/NativeViewGestureHandler.js +65 -17
- package/lib/module/web/handlers/NativeViewGestureHandler.js.map +1 -1
- package/lib/module/web/handlers/PanGestureHandler.js +1 -0
- package/lib/module/web/handlers/PanGestureHandler.js.map +1 -1
- package/lib/module/web/handlers/PinchGestureHandler.js +4 -6
- package/lib/module/web/handlers/PinchGestureHandler.js.map +1 -1
- package/lib/module/web/handlers/RotationGestureHandler.js +4 -3
- package/lib/module/web/handlers/RotationGestureHandler.js.map +1 -1
- package/lib/module/web/interfaces.js +6 -0
- package/lib/module/web/interfaces.js.map +1 -1
- package/lib/module/web/tools/GestureHandlerOrchestrator.js +8 -2
- package/lib/module/web/tools/GestureHandlerOrchestrator.js.map +1 -1
- package/lib/module/web/tools/GestureLifecycleEvents.js +10 -0
- package/lib/module/web/tools/GestureLifecycleEvents.js.map +1 -0
- package/lib/module/web/tools/NodeManager.js +44 -0
- package/lib/module/web/tools/NodeManager.js.map +1 -1
- package/lib/module/web/tools/PointerEventManager.js +9 -0
- package/lib/module/web/tools/PointerEventManager.js.map +1 -1
- package/lib/typescript/RNGestureHandlerModule.web.d.ts +1 -1
- package/lib/typescript/RNGestureHandlerModule.web.d.ts.map +1 -1
- package/lib/typescript/components/GestureButtons.d.ts +14 -6
- package/lib/typescript/components/GestureButtons.d.ts.map +1 -1
- package/lib/typescript/components/GestureHandlerButton.d.ts +62 -8
- package/lib/typescript/components/GestureHandlerButton.d.ts.map +1 -1
- package/lib/typescript/components/GestureHandlerButton.web.d.ts +14 -3
- package/lib/typescript/components/GestureHandlerButton.web.d.ts.map +1 -1
- package/lib/typescript/components/Pressable/Pressable.d.ts.map +1 -1
- package/lib/typescript/components/Pressable/PressableProps.d.ts +1 -1
- package/lib/typescript/components/Pressable/PressableProps.d.ts.map +1 -1
- package/lib/typescript/components/Pressable/stateDefinitions.d.ts.map +1 -1
- package/lib/typescript/components/ReanimatedDrawerLayout.d.ts +16 -14
- package/lib/typescript/components/ReanimatedDrawerLayout.d.ts.map +1 -1
- package/lib/typescript/components/ReanimatedSwipeable/ReanimatedSwipeable.d.ts +2 -1
- package/lib/typescript/components/ReanimatedSwipeable/ReanimatedSwipeable.d.ts.map +1 -1
- package/lib/typescript/components/ReanimatedSwipeable/ReanimatedSwipeableProps.d.ts +30 -34
- package/lib/typescript/components/ReanimatedSwipeable/ReanimatedSwipeableProps.d.ts.map +1 -1
- package/lib/typescript/components/touchables/GenericTouchable.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/GestureDetector/useDetectorUpdater.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/GestureDetector/utils.d.ts +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector/utils.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/flingGesture.d.ts +6 -0
- package/lib/typescript/handlers/gestures/flingGesture.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/forceTouchGesture.d.ts +3 -3
- package/lib/typescript/handlers/gestures/gesture.d.ts +6 -0
- package/lib/typescript/handlers/gestures/gesture.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/gestureComposition.d.ts +21 -0
- package/lib/typescript/handlers/gestures/gestureComposition.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/gestureObjects.d.ts +27 -1
- package/lib/typescript/handlers/gestures/gestureObjects.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/gestureStateManager.d.ts +6 -0
- package/lib/typescript/handlers/gestures/gestureStateManager.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/hoverGesture.d.ts +6 -0
- package/lib/typescript/handlers/gestures/hoverGesture.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/longPressGesture.d.ts +6 -0
- package/lib/typescript/handlers/gestures/longPressGesture.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/manualGesture.d.ts +6 -0
- package/lib/typescript/handlers/gestures/manualGesture.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/nativeGesture.d.ts +6 -0
- package/lib/typescript/handlers/gestures/nativeGesture.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/panGesture.d.ts +9 -0
- package/lib/typescript/handlers/gestures/panGesture.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/pinchGesture.d.ts +9 -0
- package/lib/typescript/handlers/gestures/pinchGesture.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/reanimatedWrapper.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/rotationGesture.d.ts +6 -0
- package/lib/typescript/handlers/gestures/rotationGesture.d.ts.map +1 -1
- package/lib/typescript/handlers/gestures/tapGesture.d.ts +6 -0
- package/lib/typescript/handlers/gestures/tapGesture.d.ts.map +1 -1
- package/lib/typescript/mocks/module.d.ts +1 -1
- package/lib/typescript/mocks/module.d.ts.map +1 -1
- package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +2 -2
- package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts.map +1 -1
- package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +19 -11
- package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts.map +1 -1
- package/lib/typescript/v3/NativeProxy.d.ts +1 -1
- package/lib/typescript/v3/NativeProxy.d.ts.map +1 -1
- package/lib/typescript/v3/NativeProxy.web.d.ts +1 -1
- package/lib/typescript/v3/NativeProxy.web.d.ts.map +1 -1
- package/lib/typescript/v3/components/GestureButtons.d.ts +1 -37
- package/lib/typescript/v3/components/GestureButtons.d.ts.map +1 -1
- package/lib/typescript/v3/components/GestureButtonsProps.d.ts +1 -1
- package/lib/typescript/v3/components/GestureButtonsProps.d.ts.map +1 -1
- package/lib/typescript/v3/components/GestureComponents.d.ts +3 -0
- package/lib/typescript/v3/components/GestureComponents.d.ts.map +1 -1
- package/lib/typescript/v3/components/GestureComponents.web.d.ts +4 -0
- package/lib/typescript/v3/components/GestureComponents.web.d.ts.map +1 -1
- package/lib/typescript/v3/components/Pressable.d.ts.map +1 -1
- package/lib/typescript/v3/components/Touchable/Touchable.d.ts.map +1 -1
- package/lib/typescript/v3/components/Touchable/TouchableProps.d.ts +48 -1
- package/lib/typescript/v3/components/Touchable/TouchableProps.d.ts.map +1 -1
- package/lib/typescript/v3/detectors/HostGestureDetector.web.d.ts +1 -1
- package/lib/typescript/v3/detectors/HostGestureDetector.web.d.ts.map +1 -1
- package/lib/typescript/v3/detectors/NativeDetector.d.ts.map +1 -1
- package/lib/typescript/v3/detectors/VirtualDetector/InterceptingGestureDetector.d.ts.map +1 -1
- package/lib/typescript/v3/detectors/VirtualDetector/VirtualDetector.d.ts.map +1 -1
- package/lib/typescript/v3/detectors/useGestureRelationsUpdater.d.ts +3 -0
- package/lib/typescript/v3/detectors/useGestureRelationsUpdater.d.ts.map +1 -0
- package/lib/typescript/v3/detectors/useNativeGestureRole.d.ts +3 -0
- package/lib/typescript/v3/detectors/useNativeGestureRole.d.ts.map +1 -0
- package/lib/typescript/v3/detectors/useNativeGestureRole.web.d.ts +3 -0
- package/lib/typescript/v3/detectors/useNativeGestureRole.web.d.ts.map +1 -0
- package/lib/typescript/v3/detectors/utils.d.ts +3 -3
- package/lib/typescript/v3/detectors/utils.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/callbacks/useReanimatedEventHandler.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/fling/useFlingGesture.d.ts +1 -1
- package/lib/typescript/v3/hooks/gestures/fling/useFlingGesture.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/hover/useHoverGesture.d.ts +1 -1
- package/lib/typescript/v3/hooks/gestures/hover/useHoverGesture.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/longPress/useLongPressGesture.d.ts +1 -1
- package/lib/typescript/v3/hooks/gestures/longPress/useLongPressGesture.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/manual/useManualGesture.d.ts +1 -1
- package/lib/typescript/v3/hooks/gestures/manual/useManualGesture.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/native/NativeTypes.d.ts +7 -0
- package/lib/typescript/v3/hooks/gestures/native/NativeTypes.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/native/useNativeGesture.d.ts +1 -1
- package/lib/typescript/v3/hooks/gestures/native/useNativeGesture.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/pan/usePanGesture.d.ts +1 -1
- package/lib/typescript/v3/hooks/gestures/pan/usePanGesture.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/pinch/usePinchGesture.d.ts +1 -1
- package/lib/typescript/v3/hooks/gestures/pinch/usePinchGesture.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/rotation/useRotationGesture.d.ts +1 -1
- package/lib/typescript/v3/hooks/gestures/rotation/useRotationGesture.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/gestures/tap/useTapGesture.d.ts +1 -1
- package/lib/typescript/v3/hooks/gestures/tap/useTapGesture.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/useGesture.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/utils/configUtils.d.ts +2 -2
- package/lib/typescript/v3/hooks/utils/configUtils.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/utils/eventHandlersUtils.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/utils/index.d.ts +1 -1
- package/lib/typescript/v3/hooks/utils/index.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/utils/propsWhiteList.d.ts +2 -2
- package/lib/typescript/v3/hooks/utils/propsWhiteList.d.ts.map +1 -1
- package/lib/typescript/v3/hooks/utils/reanimatedUtils.d.ts +1 -0
- package/lib/typescript/v3/hooks/utils/reanimatedUtils.d.ts.map +1 -1
- package/lib/typescript/v3/types/ConfigTypes.d.ts +1 -0
- package/lib/typescript/v3/types/ConfigTypes.d.ts.map +1 -1
- package/lib/typescript/web/constants.d.ts +1 -0
- package/lib/typescript/web/constants.d.ts.map +1 -1
- package/lib/typescript/web/detectors/RotationGestureDetector.d.ts.map +1 -1
- package/lib/typescript/web/detectors/ScaleGestureDetector.d.ts.map +1 -1
- package/lib/typescript/web/handlers/GestureHandler.d.ts +8 -2
- package/lib/typescript/web/handlers/GestureHandler.d.ts.map +1 -1
- package/lib/typescript/web/handlers/HoverGestureHandler.d.ts +1 -1
- package/lib/typescript/web/handlers/HoverGestureHandler.d.ts.map +1 -1
- package/lib/typescript/web/handlers/IGestureHandler.d.ts +2 -0
- package/lib/typescript/web/handlers/IGestureHandler.d.ts.map +1 -1
- package/lib/typescript/web/handlers/ManualGestureHandler.d.ts +1 -0
- package/lib/typescript/web/handlers/ManualGestureHandler.d.ts.map +1 -1
- package/lib/typescript/web/handlers/NativeViewGestureHandler.d.ts +13 -3
- package/lib/typescript/web/handlers/NativeViewGestureHandler.d.ts.map +1 -1
- package/lib/typescript/web/handlers/PanGestureHandler.d.ts +1 -0
- package/lib/typescript/web/handlers/PanGestureHandler.d.ts.map +1 -1
- package/lib/typescript/web/handlers/PinchGestureHandler.d.ts +1 -0
- package/lib/typescript/web/handlers/PinchGestureHandler.d.ts.map +1 -1
- package/lib/typescript/web/handlers/RotationGestureHandler.d.ts +1 -0
- package/lib/typescript/web/handlers/RotationGestureHandler.d.ts.map +1 -1
- package/lib/typescript/web/interfaces.d.ts +6 -0
- package/lib/typescript/web/interfaces.d.ts.map +1 -1
- package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts +1 -0
- package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts.map +1 -1
- package/lib/typescript/web/tools/GestureLifecycleEvents.d.ts +7 -0
- package/lib/typescript/web/tools/GestureLifecycleEvents.d.ts.map +1 -0
- package/lib/typescript/web/tools/NodeManager.d.ts +7 -0
- package/lib/typescript/web/tools/NodeManager.d.ts.map +1 -1
- package/lib/typescript/web/tools/PointerEventManager.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/RNGestureHandlerModule.web.ts +5 -1
- package/src/components/GestureButtons.tsx +33 -16
- package/src/components/GestureHandlerButton.tsx +70 -8
- package/src/components/GestureHandlerButton.web.tsx +184 -48
- package/src/components/Pressable/Pressable.tsx +3 -1
- package/src/components/Pressable/PressableProps.tsx +2 -1
- package/src/components/Pressable/stateDefinitions.ts +3 -0
- package/src/components/ReanimatedDrawerLayout.tsx +27 -23
- package/src/components/ReanimatedSwipeable/ReanimatedSwipeable.tsx +51 -5
- package/src/components/ReanimatedSwipeable/ReanimatedSwipeableProps.ts +31 -39
- package/src/components/touchables/GenericTouchable.tsx +2 -5
- package/src/handlers/gestures/GestureDetector/useDetectorUpdater.ts +1 -2
- package/src/handlers/gestures/GestureDetector/utils.ts +11 -53
- package/src/handlers/gestures/flingGesture.ts +6 -0
- package/src/handlers/gestures/forceTouchGesture.ts +3 -3
- package/src/handlers/gestures/gesture.ts +6 -0
- package/src/handlers/gestures/gestureComposition.ts +21 -0
- package/src/handlers/gestures/gestureObjects.ts +27 -1
- package/src/handlers/gestures/gestureStateManager.ts +6 -0
- package/src/handlers/gestures/hoverGesture.ts +6 -0
- package/src/handlers/gestures/longPressGesture.ts +6 -0
- package/src/handlers/gestures/manualGesture.ts +6 -0
- package/src/handlers/gestures/nativeGesture.ts +6 -0
- package/src/handlers/gestures/panGesture.ts +9 -0
- package/src/handlers/gestures/pinchGesture.ts +9 -0
- package/src/handlers/gestures/reanimatedWrapper.ts +20 -2
- package/src/handlers/gestures/rotationGesture.ts +6 -0
- package/src/handlers/gestures/tapGesture.ts +6 -0
- package/src/mocks/module.tsx +4 -2
- package/src/specs/NativeRNGestureHandlerModule.ts +2 -4
- package/src/specs/RNGestureHandlerButtonNativeComponent.ts +28 -13
- package/src/v3/NativeProxy.ts +9 -7
- package/src/v3/NativeProxy.web.ts +2 -2
- package/src/v3/components/GestureButtons.tsx +18 -10
- package/src/v3/components/GestureButtonsProps.ts +1 -0
- package/src/v3/components/Pressable.tsx +2 -1
- package/src/v3/components/Touchable/Touchable.tsx +144 -50
- package/src/v3/components/Touchable/TouchableProps.ts +64 -2
- package/src/v3/detectors/HostGestureDetector.web.tsx +268 -108
- package/src/v3/detectors/NativeDetector.tsx +3 -2
- package/src/v3/detectors/VirtualDetector/InterceptingGestureDetector.tsx +3 -4
- package/src/v3/detectors/VirtualDetector/VirtualDetector.tsx +5 -2
- package/src/v3/detectors/useGestureRelationsUpdater.ts +30 -0
- package/src/v3/detectors/useNativeGestureRole.ts +8 -0
- package/src/v3/detectors/useNativeGestureRole.web.ts +42 -0
- package/src/v3/detectors/utils.ts +28 -12
- package/src/v3/hooks/callbacks/useReanimatedEventHandler.ts +23 -7
- package/src/v3/hooks/gestures/fling/useFlingGesture.ts +5 -1
- package/src/v3/hooks/gestures/hover/useHoverGesture.ts +5 -1
- package/src/v3/hooks/gestures/longPress/useLongPressGesture.ts +3 -1
- package/src/v3/hooks/gestures/manual/useManualGesture.ts +5 -1
- package/src/v3/hooks/gestures/native/NativeTypes.ts +13 -1
- package/src/v3/hooks/gestures/native/useNativeGesture.ts +5 -1
- package/src/v3/hooks/gestures/pan/usePanGesture.ts +5 -1
- package/src/v3/hooks/gestures/pinch/usePinchGesture.ts +5 -1
- package/src/v3/hooks/gestures/rotation/useRotationGesture.ts +3 -1
- package/src/v3/hooks/gestures/tap/useTapGesture.ts +5 -1
- package/src/v3/hooks/useGesture.ts +4 -18
- package/src/v3/hooks/utils/configUtils.ts +18 -8
- package/src/v3/hooks/utils/eventHandlersUtils.ts +43 -32
- package/src/v3/hooks/utils/index.ts +0 -1
- package/src/v3/hooks/utils/propsWhiteList.ts +1 -0
- package/src/v3/hooks/utils/reanimatedUtils.ts +10 -10
- package/src/v3/types/ConfigTypes.ts +1 -0
- package/src/web/constants.ts +1 -0
- package/src/web/detectors/RotationGestureDetector.ts +19 -5
- package/src/web/detectors/ScaleGestureDetector.ts +9 -3
- package/src/web/handlers/GestureHandler.ts +36 -6
- package/src/web/handlers/HoverGestureHandler.ts +2 -5
- package/src/web/handlers/IGestureHandler.ts +2 -0
- package/src/web/handlers/ManualGestureHandler.ts +2 -0
- package/src/web/handlers/NativeViewGestureHandler.ts +122 -19
- package/src/web/handlers/PanGestureHandler.ts +2 -0
- package/src/web/handlers/PinchGestureHandler.ts +5 -7
- package/src/web/handlers/RotationGestureHandler.ts +5 -5
- package/src/web/interfaces.ts +7 -0
- package/src/web/tools/GestureHandlerOrchestrator.ts +11 -3
- package/src/web/tools/GestureLifecycleEvents.ts +14 -0
- package/src/web/tools/NodeManager.ts +57 -0
- package/src/web/tools/PointerEventManager.ts +12 -0
- 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/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/src/RNRenderer.ts +0 -3
- package/src/RNRenderer.web.ts +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ColorValue, ViewProps } from 'react-native';
|
|
2
|
-
import type { Float, Int32, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
2
|
+
import type { Float, Int32, UnsafeMixed, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
3
|
interface NativeProps extends ViewProps {
|
|
4
4
|
exclusive?: WithDefault<boolean, true>;
|
|
5
5
|
foreground?: boolean;
|
|
@@ -9,8 +9,11 @@ interface NativeProps extends ViewProps {
|
|
|
9
9
|
rippleRadius?: Int32;
|
|
10
10
|
touchSoundDisabled?: WithDefault<boolean, false>;
|
|
11
11
|
pointerEvents?: WithDefault<'box-none' | 'none' | 'box-only' | 'auto', 'auto'>;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
tapAnimationInDuration?: WithDefault<Int32, 50>;
|
|
13
|
+
tapAnimationOutDuration?: WithDefault<Int32, 100>;
|
|
14
|
+
longPressDuration?: WithDefault<Int32, -1>;
|
|
15
|
+
longPressAnimationOutDuration?: WithDefault<Int32, -1>;
|
|
16
|
+
needsOffscreenAlphaCompositing?: WithDefault<boolean, false>;
|
|
14
17
|
activeOpacity?: WithDefault<Float, 1>;
|
|
15
18
|
activeScale?: WithDefault<Float, 1>;
|
|
16
19
|
activeUnderlayOpacity?: WithDefault<Float, 0>;
|
|
@@ -37,14 +40,19 @@ interface NativeProps extends ViewProps {
|
|
|
37
40
|
borderBlockColor?: ColorValue;
|
|
38
41
|
borderBlockEndColor?: ColorValue;
|
|
39
42
|
borderBlockStartColor?: ColorValue;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
borderRadius?: UnsafeMixed;
|
|
44
|
+
borderTopLeftRadius?: UnsafeMixed;
|
|
45
|
+
borderTopRightRadius?: UnsafeMixed;
|
|
46
|
+
borderBottomLeftRadius?: UnsafeMixed;
|
|
47
|
+
borderBottomRightRadius?: UnsafeMixed;
|
|
48
|
+
borderTopStartRadius?: UnsafeMixed;
|
|
49
|
+
borderTopEndRadius?: UnsafeMixed;
|
|
50
|
+
borderBottomStartRadius?: UnsafeMixed;
|
|
51
|
+
borderBottomEndRadius?: UnsafeMixed;
|
|
52
|
+
borderEndEndRadius?: UnsafeMixed;
|
|
53
|
+
borderEndStartRadius?: UnsafeMixed;
|
|
54
|
+
borderStartEndRadius?: UnsafeMixed;
|
|
55
|
+
borderStartStartRadius?: UnsafeMixed;
|
|
48
56
|
}
|
|
49
57
|
declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
|
|
50
58
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNGestureHandlerButtonNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/specs/RNGestureHandlerButtonNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EACV,KAAK,EACL,KAAK,EACL,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAInD,UAAU,WAAY,SAAQ,SAAS;IACrC,SAAS,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,kBAAkB,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACjD,aAAa,CAAC,EAAE,WAAW,CACzB,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,EACzC,MAAM,CACP,CAAC;IACF,6BAA6B,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IACvD,
|
|
1
|
+
{"version":3,"file":"RNGestureHandlerButtonNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/specs/RNGestureHandlerButtonNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EACV,KAAK,EACL,KAAK,EACL,WAAW,EACX,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAInD,UAAU,WAAY,SAAQ,SAAS;IACrC,SAAS,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,kBAAkB,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACjD,aAAa,CAAC,EAAE,WAAW,CACzB,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,EACzC,MAAM,CACP,CAAC;IACF,sBAAsB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAChD,uBAAuB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAClD,iBAAiB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IAC3C,6BAA6B,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IACvD,8BAA8B,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC7D,aAAa,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACtC,WAAW,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACpC,qBAAqB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IAC9C,cAAc,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACvC,YAAY,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACrC,sBAAsB,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IAC/C,aAAa,CAAC,EAAE,UAAU,CAAC;IAG3B,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,WAAW,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAG1C,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACzB,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC1B,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACzB,cAAc,CAAC,EAAE,KAAK,CAAC;IAGvB,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,mBAAmB,CAAC,EAAE,UAAU,CAAC;IACjC,qBAAqB,CAAC,EAAE,UAAU,CAAC;IAWnC,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,mBAAmB,CAAC,EAAE,WAAW,CAAC;IAClC,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,sBAAsB,CAAC,EAAE,WAAW,CAAC;IACrC,uBAAuB,CAAC,EAAE,WAAW,CAAC;IACtC,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,kBAAkB,CAAC,EAAE,WAAW,CAAC;IACjC,uBAAuB,CAAC,EAAE,WAAW,CAAC;IACtC,qBAAqB,CAAC,EAAE,WAAW,CAAC;IACpC,kBAAkB,CAAC,EAAE,WAAW,CAAC;IACjC,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,sBAAsB,CAAC,EAAE,WAAW,CAAC;CACtC;;AAED,wBAA6E"}
|
|
@@ -5,6 +5,6 @@ export declare const NativeProxy: {
|
|
|
5
5
|
readonly updateGestureHandlerConfig: <TConfig, THandlerData, TExtendedHandlerData extends THandlerData>(handlerTag: number, newConfig: BaseGestureConfig<TConfig, THandlerData, TExtendedHandlerData>) => void;
|
|
6
6
|
readonly dropGestureHandler: (handlerTag: number) => void;
|
|
7
7
|
readonly configureRelations: (handlerTag: number, relations: GestureRelations) => void;
|
|
8
|
-
readonly
|
|
8
|
+
readonly installUIRuntimeBindings: () => boolean;
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=NativeProxy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeProxy.d.ts","sourceRoot":"","sources":["../../../src/v3/NativeProxy.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAMjB,eAAO,MAAM,WAAW;oCACC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,eACzC,iBAAiB,cAClB,MAAM,WACT,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeProxy.d.ts","sourceRoot":"","sources":["../../../src/v3/NativeProxy.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAMjB,eAAO,MAAM,WAAW;oCACC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,eACzC,iBAAiB,cAClB,MAAM,WACT,CAAC;uCAWV,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;0CAUzE,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;8CAM1C,MAAM;8CAKN,MAAM,aAAa,gBAAgB;;CAQ5D,CAAC"}
|
|
@@ -5,6 +5,6 @@ export declare const NativeProxy: {
|
|
|
5
5
|
readonly updateGestureHandlerConfig: <TConfig, THandlerData, TExtendedHandlerData extends THandlerData>(handlerTag: number, newConfig: BaseGestureConfig<TConfig, THandlerData, TExtendedHandlerData>) => void;
|
|
6
6
|
readonly dropGestureHandler: (handlerTag: number) => void;
|
|
7
7
|
readonly configureRelations: (handlerTag: number, relations: GestureRelations) => void;
|
|
8
|
-
readonly
|
|
8
|
+
readonly installUIRuntimeBindings: () => boolean;
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=NativeProxy.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeProxy.web.d.ts","sourceRoot":"","sources":["../../../src/v3/NativeProxy.web.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,WAAW;oCACC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,eACzC,iBAAiB,cAClB,MAAM,WACT,CAAC;uCASV,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;0CAKzE,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;8CAI1C,MAAM;8CAGN,MAAM,aAAa,gBAAgB
|
|
1
|
+
{"version":3,"file":"NativeProxy.web.d.ts","sourceRoot":"","sources":["../../../src/v3/NativeProxy.web.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,WAAW;oCACC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,eACzC,iBAAiB,cAClB,MAAM,WACT,CAAC;uCASV,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;0CAKzE,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,cAE7B,MAAM,aACP,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC;8CAI1C,MAAM;8CAGN,MAAM,aAAa,gBAAgB;;CAM5D,CAAC"}
|
|
@@ -1,45 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { NativeHandlerData } from '../hooks/gestures/native/NativeTypes';
|
|
3
2
|
import type { BaseButtonProps, BorderlessButtonProps, RawButtonProps, RectButtonProps } from './GestureButtonsProps';
|
|
4
3
|
/**
|
|
5
4
|
* @deprecated `RawButton` is deprecated, use `Clickable` instead
|
|
6
5
|
*/
|
|
7
|
-
export declare const RawButton:
|
|
8
|
-
(props: RawButtonProps & {
|
|
9
|
-
disableReanimated?: boolean | undefined;
|
|
10
|
-
useAnimated?: boolean | undefined;
|
|
11
|
-
testID?: string | undefined;
|
|
12
|
-
} & {
|
|
13
|
-
runOnJS?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
14
|
-
enabled?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
15
|
-
shouldCancelWhenOutside?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
16
|
-
hitSlop?: number | import("../types").SharedValue<number> | import("../types").SharedValue<null> | {
|
|
17
|
-
left?: number | import("../types").SharedValue<number> | undefined;
|
|
18
|
-
right?: number | import("../types").SharedValue<number> | undefined;
|
|
19
|
-
top?: number | import("../types").SharedValue<number> | undefined;
|
|
20
|
-
bottom?: number | import("../types").SharedValue<number> | undefined;
|
|
21
|
-
vertical?: number | import("../types").SharedValue<number> | undefined;
|
|
22
|
-
horizontal?: number | import("../types").SharedValue<number> | undefined;
|
|
23
|
-
} | {
|
|
24
|
-
left: number | import("../types").SharedValue<number>;
|
|
25
|
-
width: number | import("../types").SharedValue<number>;
|
|
26
|
-
} | {
|
|
27
|
-
right: number | import("../types").SharedValue<number>;
|
|
28
|
-
width: number | import("../types").SharedValue<number>;
|
|
29
|
-
} | {
|
|
30
|
-
top: number | import("../types").SharedValue<number>;
|
|
31
|
-
height: number | import("../types").SharedValue<number>;
|
|
32
|
-
} | {
|
|
33
|
-
bottom: number | import("../types").SharedValue<number>;
|
|
34
|
-
height: number | import("../types").SharedValue<number>;
|
|
35
|
-
} | null | undefined;
|
|
36
|
-
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
37
|
-
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
38
|
-
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
39
|
-
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
40
|
-
} & import("../types").GestureCallbacks<NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<(React.Component<import("../../components/GestureHandlerButton").ButtonProps, {}, any> & import("react-native").ReactNativeElement) | null>): React.JSX.Element;
|
|
41
|
-
displayName: any;
|
|
42
|
-
};
|
|
6
|
+
export declare const RawButton: (props: RawButtonProps) => React.JSX.Element;
|
|
43
7
|
/**
|
|
44
8
|
* @deprecated `BaseButton` is deprecated, use `Touchable` instead
|
|
45
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GestureButtons.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GestureButtons.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAOtC,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAiB/B;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,sBAE9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,sBAoEhD,CAAC;AAcF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,sBA2ChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,sBAuB5D,CAAC;AAEF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import type { NativeWrapperProperties } from '../types/NativeWrapperType';
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated `RawButtonProps` is deprecated, use `ClickableProps` instead
|
|
7
7
|
*/
|
|
8
|
-
export interface RawButtonProps extends Omit<ButtonProps, 'defaultOpacity' | 'defaultScale' | 'defaultUnderlayOpacity' | 'activeOpacity' | 'activeScale' | 'activeUnderlayOpacity'>, Omit<NativeWrapperProperties<React.ComponentRef<typeof GestureHandlerButton>>, 'hitSlop' | 'enabled'> {
|
|
8
|
+
export interface RawButtonProps extends Omit<ButtonProps, 'defaultOpacity' | 'defaultScale' | 'defaultUnderlayOpacity' | 'activeOpacity' | 'activeScale' | 'activeUnderlayOpacity' | 'needsOffscreenAlphaCompositing'>, Omit<NativeWrapperProperties<React.ComponentRef<typeof GestureHandlerButton>>, 'hitSlop' | 'enabled'> {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated `BaseButtonProps` is deprecated, use `ClickableProps` instead
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GestureButtonsProps.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtonsProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,oBAAoB,MAAM,uCAAuC,CAAC;AAC9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,cACf,SAAQ,IAAI,CACR,WAAW,EACT,gBAAgB,GAChB,cAAc,GACd,wBAAwB,GACxB,eAAe,GACf,aAAa,GACb,uBAAuB,
|
|
1
|
+
{"version":3,"file":"GestureButtonsProps.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureButtonsProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,oBAAoB,MAAM,uCAAuC,CAAC;AAC9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,cACf,SAAQ,IAAI,CACR,WAAW,EACT,gBAAgB,GAChB,cAAc,GACd,wBAAwB,GACxB,eAAe,GACf,aAAa,GACb,uBAAuB,GACvB,gCAAgC,CACnC,EACD,IAAI,CACF,uBAAuB,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC,EACxE,SAAS,GAAG,SAAS,CACtB;CAAG;AAER;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,cAAc;IACrD;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAEzD;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAEvC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC9D,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEnC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC"}
|
|
@@ -35,6 +35,7 @@ export declare const RefreshControl: {
|
|
|
35
35
|
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
36
36
|
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
37
37
|
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
38
|
+
cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
38
39
|
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
39
40
|
} & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<RNRefreshControl | null>): React.JSX.Element;
|
|
40
41
|
displayName: any;
|
|
@@ -74,6 +75,7 @@ export declare const Switch: {
|
|
|
74
75
|
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
75
76
|
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
76
77
|
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
78
|
+
cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
77
79
|
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
78
80
|
} & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<RNSwitch | null>): React.JSX.Element;
|
|
79
81
|
displayName: any;
|
|
@@ -111,6 +113,7 @@ export declare const TextInput: {
|
|
|
111
113
|
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
112
114
|
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
113
115
|
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
116
|
+
cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
114
117
|
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
115
118
|
} & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<RNTextInput | null>): React.JSX.Element;
|
|
116
119
|
displayName: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GestureComponents.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureComponents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EACV,aAAa,IAAI,eAAe,EAChC,mBAAmB,IAAI,qBAAqB,EAC5C,eAAe,IAAI,iBAAiB,EACpC,WAAW,IAAI,aAAa,EAC5B,cAAc,IAAI,gBAAgB,EACnC,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,QAAQ,IAAI,UAAU,EACtB,cAAc,IAAI,gBAAgB,EAClC,UAAU,IAAI,YAAY,EAC1B,MAAM,IAAI,QAAQ,EAClB,SAAS,IAAI,WAAW,EACzB,MAAM,cAAc,CAAC;AAOtB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"GestureComponents.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureComponents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EACV,aAAa,IAAI,eAAe,EAChC,mBAAmB,IAAI,qBAAqB,EAC5C,eAAe,IAAI,iBAAiB,EACpC,WAAW,IAAI,aAAa,EAC5B,cAAc,IAAI,gBAAgB,EACnC,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,QAAQ,IAAI,UAAU,EACtB,cAAc,IAAI,gBAAgB,EAClC,UAAU,IAAI,YAAY,EAC1B,MAAM,IAAI,QAAQ,EAClB,SAAS,IAAI,WAAW,EACzB,MAAM,cAAc,CAAC;AAOtB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAE1E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU1B,CAAC;AAGF,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,GAAG,gBAAgB,CAAC;AActE,eAAO,MAAM,UAAU,GACrB,OAAO,iBAAiB,GAAG,uBAAuB,CAAC,YAAY,GAAG,IAAI,CAAC,sBAsCxE,CAAC;AAGF,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,GAAG,YAAY,CAAC;AAE1D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjB,CAAC;AAGH,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,GAAG,QAAQ,CAAC;AAE9C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAGF,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,GAAG,WAAW,CAAC;AAEvD,eAAO,MAAM,QAAQ,EA+Df,CAAC,KAAK,GAAG,GAAG,EAChB,KAAK,EAAE,iBAAiB,CACtB,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,KAAK,CAAC,GAC3D,uBAAuB,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CACpD,KACE,YAAY,GAAG,IAAI,CAAC;AAGzB,MAAM,MAAM,QAAQ,CAAC,KAAK,GAAG,GAAG,IAAI,OAAO,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -32,6 +32,7 @@ export declare const ScrollView: {
|
|
|
32
32
|
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
33
33
|
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
34
34
|
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
35
|
+
cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
35
36
|
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
36
37
|
} & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<unknown>): React.JSX.Element;
|
|
37
38
|
displayName: any;
|
|
@@ -68,6 +69,7 @@ export declare const Switch: {
|
|
|
68
69
|
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
69
70
|
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
70
71
|
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
72
|
+
cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
71
73
|
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
72
74
|
} & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<unknown>): React.JSX.Element;
|
|
73
75
|
displayName: any;
|
|
@@ -104,6 +106,7 @@ export declare const TextInput: {
|
|
|
104
106
|
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
105
107
|
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
106
108
|
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
109
|
+
cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
107
110
|
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
108
111
|
} & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<unknown>): React.JSX.Element;
|
|
109
112
|
displayName: any;
|
|
@@ -141,6 +144,7 @@ export declare const RefreshControl: {
|
|
|
141
144
|
activeCursor?: import("../..").ActiveCursor | import("../types").SharedValue<import("../..").ActiveCursor> | undefined;
|
|
142
145
|
mouseButton?: import("../..").MouseButton | import("../types").SharedValue<import("../..").MouseButton> | undefined;
|
|
143
146
|
cancelsTouchesInView?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
147
|
+
cancelsJSResponder?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
144
148
|
manualActivation?: boolean | import("../types").SharedValue<boolean> | undefined;
|
|
145
149
|
} & import("../types").GestureCallbacks<import("../hooks/gestures/native/NativeTypes").NativeHandlerData> & import("../hooks/gestures/native/NativeTypes").NativeGestureNativeProperties & import("../types").ExternalRelations & import("../types/NativeWrapperType").WrapperSpecificProperties<unknown>): React.JSX.Element;
|
|
146
150
|
displayName: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GestureComponents.web.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureComponents.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAWlD,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"GestureComponents.web.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/GestureComponents.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAWlD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AAE1D,eAAO,MAAM,mBAAmB,yBAG/B,CAAC;AAKF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAC;AAExD,eAAO,MAAM,QAAQ,GAAI,KAAK,EAAG,OAAO,aAAa,CAAC,KAAK,CAAC,sBAK3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/Pressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAGV,cAAc,EACf,MAAM,2CAA2C,CAAC;AA4BnD,QAAA,MAAM,SAAS,GAAI,OAAO,cAAc,
|
|
1
|
+
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../../src/v3/components/Pressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAGV,cAAc,EACf,MAAM,2CAA2C,CAAC;AA4BnD,QAAA,MAAM,SAAS,GAAI,OAAO,cAAc,sBAuVvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Touchable.d.ts","sourceRoot":"","sources":["../../../../../src/v3/components/Touchable/Touchable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Touchable.d.ts","sourceRoot":"","sources":["../../../../../src/v3/components/Touchable/Touchable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,KAAK,EAIV,cAAc,EACf,MAAM,kBAAkB,CAAC;AA4D1B,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,sBA4J9C,CAAC"}
|
|
@@ -9,11 +9,53 @@ type PressableAndroidRippleConfig = {
|
|
|
9
9
|
[K in keyof RNPressableAndroidRippleConfig]?: Exclude<RNPressableAndroidRippleConfig[K], null>;
|
|
10
10
|
};
|
|
11
11
|
type RippleProps = 'rippleColor' | 'rippleRadius' | 'borderless' | 'foreground';
|
|
12
|
-
|
|
12
|
+
type DurationProps = 'tapAnimationInDuration' | 'tapAnimationOutDuration' | 'longPressDuration' | 'longPressAnimationOutDuration' | 'hoverAnimationInDuration' | 'hoverAnimationOutDuration';
|
|
13
|
+
type InOutDuration = {
|
|
14
|
+
in: number;
|
|
15
|
+
out: number;
|
|
16
|
+
};
|
|
17
|
+
type LongPressDuration = {
|
|
18
|
+
out: number;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Configuration for press / hover animation timing.
|
|
22
|
+
*
|
|
23
|
+
* - A single number applies to every phase of every category.
|
|
24
|
+
* - An object with top-level `in` / `out` sets the baseline; `tap` and
|
|
25
|
+
* `hover` may override either side or both — any field left out
|
|
26
|
+
* inherits the top-level value.
|
|
27
|
+
* - Alternatively, both categories may be specified in full without a
|
|
28
|
+
* top-level baseline.
|
|
29
|
+
*
|
|
30
|
+
* `longPress` optionally customizes the press-out duration once the
|
|
31
|
+
* press has been held past `delayLongPress`. If omitted, the long-press
|
|
32
|
+
* release falls back to the resolved tap-out timing.
|
|
33
|
+
*/
|
|
34
|
+
export type AnimationDuration = number | (InOutDuration & {
|
|
35
|
+
tap?: Partial<InOutDuration>;
|
|
36
|
+
hover?: Partial<InOutDuration>;
|
|
37
|
+
longPress?: LongPressDuration;
|
|
38
|
+
}) | {
|
|
39
|
+
tap: InOutDuration;
|
|
40
|
+
hover: InOutDuration;
|
|
41
|
+
longPress?: LongPressDuration;
|
|
42
|
+
};
|
|
43
|
+
export type TouchableProps = Omit<ButtonProps, RippleProps | 'enabled' | DurationProps> & Omit<BaseButtonProps, keyof RawButtonProps | 'onActiveStateChange' | 'onPress'> & {
|
|
44
|
+
/**
|
|
45
|
+
* Press and hover animation durations, in milliseconds. Pass a single
|
|
46
|
+
* number to apply it to every phase, or an object to customize per phase
|
|
47
|
+
* and per category. Defaults to 50ms for the in phase and 100ms for the
|
|
48
|
+
* out phase.
|
|
49
|
+
*/
|
|
50
|
+
animationDuration?: AnimationDuration | undefined;
|
|
13
51
|
/**
|
|
14
52
|
* Configuration for the ripple effect on Android.
|
|
15
53
|
*/
|
|
16
54
|
androidRipple?: PressableAndroidRippleConfig | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Called when the component gets pressed.
|
|
57
|
+
*/
|
|
58
|
+
onPress?: ((event: CallbackEventType) => void) | undefined;
|
|
17
59
|
/**
|
|
18
60
|
* Called when pointer touches the component.
|
|
19
61
|
*/
|
|
@@ -26,6 +68,11 @@ export type TouchableProps = Omit<ButtonProps, RippleProps | 'enabled'> & Omit<B
|
|
|
26
68
|
* Whether the component should ignore touches. By default set to false.
|
|
27
69
|
*/
|
|
28
70
|
disabled?: boolean | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the touch should be canceled when pointer leaves the component. By default set to true.
|
|
73
|
+
* On web this prop doesn't have any effect and behaves as if `true` was set.
|
|
74
|
+
*/
|
|
75
|
+
cancelOnLeave?: boolean | undefined;
|
|
29
76
|
};
|
|
30
77
|
export {};
|
|
31
78
|
//# sourceMappingURL=TouchableProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TouchableProps.d.ts","sourceRoot":"","sources":["../../../../../src/v3/components/Touchable/TouchableProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,IAAI,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAEnG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AAChE,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAEtE,KAAK,4BAA4B,GAAG;KACjC,CAAC,IAAI,MAAM,8BAA8B,CAAC,CAAC,EAAE,OAAO,CACnD,8BAA8B,CAAC,CAAC,CAAC,EACjC,IAAI,CACL;CACF,CAAC;AAEF,KAAK,WAAW,GAAG,aAAa,GAAG,cAAc,GAAG,YAAY,GAAG,YAAY,CAAC;AAEhF,MAAM,MAAM,cAAc,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"TouchableProps.d.ts","sourceRoot":"","sources":["../../../../../src/v3/components/Touchable/TouchableProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,IAAI,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAEnG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AAChE,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAEtE,KAAK,4BAA4B,GAAG;KACjC,CAAC,IAAI,MAAM,8BAA8B,CAAC,CAAC,EAAE,OAAO,CACnD,8BAA8B,CAAC,CAAC,CAAC,EACjC,IAAI,CACL;CACF,CAAC;AAEF,KAAK,WAAW,GAAG,aAAa,GAAG,cAAc,GAAG,YAAY,GAAG,YAAY,CAAC;AAEhF,KAAK,aAAa,GACd,wBAAwB,GACxB,yBAAyB,GACzB,mBAAmB,GACnB,+BAA+B,GAC/B,0BAA0B,GAC1B,2BAA2B,CAAC;AAEhC,KAAK,aAAa,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AACjD,KAAK,iBAAiB,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzC;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,iBAAiB,GACzB,MAAM,GACN,CAAC,aAAa,GAAG;IACf,GAAG,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,iBAAiB,CAAC;CAC/B,CAAC,GACF;IACE,GAAG,EAAE,aAAa,CAAC;IACnB,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,CAAC,EAAE,iBAAiB,CAAC;CAC/B,CAAC;AAEN,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,WAAW,EACX,WAAW,GAAG,SAAS,GAAG,aAAa,CACxC,GACC,IAAI,CACF,eAAe,EACf,MAAM,cAAc,GAAG,qBAAqB,GAAG,SAAS,CACzD,GAAG;IACF;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAClD;;OAEG;IACH,aAAa,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IAEzD;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAE3D;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAE7D;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAE9D;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE/B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACrC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RefObject } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import type { TouchAction, UserSelect } from '../../handlers/gestureHandlerCommon';
|
|
4
|
-
import type
|
|
4
|
+
import { type PropsRef } from '../../web/interfaces';
|
|
5
5
|
export interface GestureHandlerDetectorProps extends PropsRef {
|
|
6
6
|
handlerTags: number[];
|
|
7
7
|
moduleId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostGestureDetector.web.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/HostGestureDetector.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAO,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAqC,MAAM,OAAO,CAAC;AAI1D,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACX,MAAM,qCAAqC,CAAC;AAG7C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"HostGestureDetector.web.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/HostGestureDetector.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAO,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAqC,MAAM,OAAO,CAAC;AAI1D,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACX,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIrD,MAAM,WAAW,2BAA4B,SAAQ,QAAQ;IAC3D,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAC1C,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC;AA8LD,QAAA,MAAM,mBAAmB,GAAI,OAAO,2BAA2B,sBAoI9D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeDetector.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/NativeDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeDetector.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/NativeDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAOpD,wBAAgB,cAAc,CAC5B,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,EACA,OAAO,EACP,QAAQ,EACR,WAAW,EACX,UAAU,EACV,iBAAiB,GAClB,EAAE,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,qBAuElE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InterceptingGestureDetector.d.ts","sourceRoot":"","sources":["../../../../../src/v3/detectors/VirtualDetector/InterceptingGestureDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAezE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"InterceptingGestureDetector.d.ts","sourceRoot":"","sources":["../../../../../src/v3/detectors/VirtualDetector/InterceptingGestureDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAezE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,WAAW,CAAC;AAsBlE,wBAAgB,2BAA2B,CACzC,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,EACA,OAAO,EACP,QAAQ,EACR,WAAW,EACX,UAAU,EACV,iBAAiB,GAClB,EAAE,gCAAgC,CACjC,OAAO,EACP,YAAY,EACZ,oBAAoB,CACrB,qBAyPA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualDetector.d.ts","sourceRoot":"","sources":["../../../../../src/v3/detectors/VirtualDetector/VirtualDetector.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"VirtualDetector.d.ts","sourceRoot":"","sources":["../../../../../src/v3/detectors/VirtualDetector/VirtualDetector.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAoBtD,wBAAgB,eAAe,CAC7B,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,EACzC,KAAK,EAAE,oBAAoB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,+BA8EzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGestureRelationsUpdater.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/useGestureRelationsUpdater.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxC,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,YAAY,EAC9D,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,EAAE,YAAY,CAAC,QAsBzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNativeGestureRole.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/useNativeGestureRole.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,EAC5B,SAAS,EAAE,SAAS,GACnB,IAAI,CAEN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNativeGestureRole.web.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/useNativeGestureRole.web.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,EAClC,QAAQ,EAAE,SAAS,GAClB,IAAI,CAgCN"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Gesture } from '../types';
|
|
2
|
-
export declare const traverseAndConfigureRelations: (node: Gesture, simultaneousHandlers: Set<number>, waitFor?: number[]) => void;
|
|
3
|
-
export declare function configureRelations<TConfig, THandlerData>(gesture: Gesture<TConfig, THandlerData>):
|
|
1
|
+
import type { Gesture, GestureRelations } from '../types';
|
|
2
|
+
export declare const traverseAndConfigureRelations: (node: Gesture, relationsByTag: Map<number, GestureRelations>, simultaneousHandlers: Set<number>, waitFor?: number[]) => void;
|
|
3
|
+
export declare function configureRelations<TConfig, THandlerData>(gesture: Gesture<TConfig, THandlerData>): Map<number, GestureRelations>;
|
|
4
4
|
export declare function ensureNativeDetectorComponent(NativeDetectorComponent: unknown): asserts NativeDetectorComponent;
|
|
5
5
|
export declare const EMPTY_SET: Set<number>;
|
|
6
6
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/v3/detectors/utils.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAI1D,eAAO,MAAM,6BAA6B,GACxC,MAAM,OAAO,EACb,gBAAgB,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAC7C,sBAAsB,GAAG,CAAC,MAAM,CAAC,EACjC,UAAS,MAAM,EAAO,SAgIvB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,YAAY,EACtD,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,YAAY,CAAC,GACtC,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAyB/B;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,OAAO,GAC/B,OAAO,CAAC,uBAAuB,CAQjC;AAED,eAAO,MAAM,SAAS,aAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReanimatedEventHandler.d.ts","sourceRoot":"","sources":["../../../../../src/v3/hooks/callbacks/useReanimatedEventHandler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAEtF,OAAO,KAAK,EACV,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EAEb,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"useReanimatedEventHandler.d.ts","sourceRoot":"","sources":["../../../../../src/v3/hooks/callbacks/useReanimatedEventHandler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAEtF,OAAO,KAAK,EACV,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EAEb,MAAM,aAAa,CAAC;AAcrB,wBAAgB,yBAAyB,CACvC,YAAY,EACZ,oBAAoB,SAAS,YAAY,EAEzC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,gBAAgB,CAAC,YAAY,EAAE,oBAAoB,CAAC,EAC9D,iBAAiB,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,GAAG,SAAS,EACtE,qBAAqB,EAAE,oBAAoB,CAAC,oBAAoB,CAAC,GAAG,SAAS,EAC7E,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,oBAAoB,CAAC,KAAK,IAAI,0CAyD1E"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { FlingGesture, FlingGestureConfig } from './FlingTypes';
|
|
2
|
-
export declare function useFlingGesture(config
|
|
2
|
+
export declare function useFlingGesture(config?: FlingGestureConfig): FlingGesture;
|
|
3
3
|
//# sourceMappingURL=useFlingGesture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFlingGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/fling/useFlingGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAGnB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"useFlingGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/fling/useFlingGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAGnB,MAAM,cAAc,CAAC;AAItB,wBAAgB,eAAe,CAC7B,MAAM,GAAE,kBAAuC,GAC9C,YAAY,CAOd"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { HoverGesture, HoverGestureConfig } from './HoverTypes';
|
|
2
|
-
export declare function useHoverGesture(config
|
|
2
|
+
export declare function useHoverGesture(config?: HoverGestureConfig): HoverGesture;
|
|
3
3
|
//# sourceMappingURL=useHoverGesture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHoverGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/hover/useHoverGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAKnB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"useHoverGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/hover/useHoverGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAKnB,MAAM,cAAc,CAAC;AAiCtB,wBAAgB,eAAe,CAC7B,MAAM,GAAE,kBAAuC,GAC9C,YAAY,CASd"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LongPressGesture, LongPressGestureConfig } from './LongPressTypes';
|
|
2
|
-
export declare function useLongPressGesture(config
|
|
2
|
+
export declare function useLongPressGesture(config?: LongPressGestureConfig): LongPressGesture;
|
|
3
3
|
//# sourceMappingURL=useLongPressGesture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLongPressGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/longPress/useLongPressGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EAKvB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"useLongPressGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/longPress/useLongPressGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EAKvB,MAAM,kBAAkB,CAAC;AAsB1B,wBAAgB,mBAAmB,CACjC,MAAM,GAAE,sBAAgD,GACvD,gBAAgB,CAWlB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ManualGesture, ManualGestureConfig } from './ManualTypes';
|
|
2
|
-
export declare function useManualGesture(config
|
|
2
|
+
export declare function useManualGesture(config?: ManualGestureConfig): ManualGesture;
|
|
3
3
|
//# sourceMappingURL=useManualGesture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useManualGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/manual/useManualGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EAGpB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"useManualGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/manual/useManualGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EAGpB,MAAM,eAAe,CAAC;AAIvB,wBAAgB,gBAAgB,CAC9B,MAAM,GAAE,mBAAyC,GAChD,aAAa,CAOf"}
|
|
@@ -12,6 +12,13 @@ export type NativeGestureNativeProperties = {
|
|
|
12
12
|
* `NativeViewGestureHandler` receives an `ACTIVE` state event.
|
|
13
13
|
*/
|
|
14
14
|
disallowInterruption?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Composes with `disallowInterruption`. When both are `true`, the handler still
|
|
17
|
+
* resists discrete gestures but yields to continuous gestures, so a wrapping
|
|
18
|
+
* gesture can take over the touch stream. No-op when `disallowInterruption` is
|
|
19
|
+
* `false`.
|
|
20
|
+
*/
|
|
21
|
+
yieldsToContinuousGestures?: boolean;
|
|
15
22
|
};
|
|
16
23
|
export declare const NativeHandlerNativeProperties: Set<keyof NativeGestureNativeProperties>;
|
|
17
24
|
export type NativeHandlerData = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeTypes.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/native/NativeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,YAAY,EACZ,aAAa,EACb,eAAe,EAChB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeTypes.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/native/NativeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,YAAY,EACZ,aAAa,EACb,eAAe,EAChB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;;;;OAKG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,6BAA6B,0CAMxC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GACjC,eAAe,CAAC,6BAA6B,CAAC,CAAC;AAEjD,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CACzD,uBAAuB,EACvB,iBAAiB,CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAC7B,0BAA0B,CAAC,2BAA2B,CAAC,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AACjE,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAE1D,MAAM,MAAM,aAAa,GAAG,aAAa,CACvC,uBAAuB,EACvB,iBAAiB,CAClB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NativeGesture, NativeGestureConfig } from './NativeTypes';
|
|
2
|
-
export declare function useNativeGesture(config
|
|
2
|
+
export declare function useNativeGesture(config?: NativeGestureConfig): NativeGesture;
|
|
3
3
|
//# sourceMappingURL=useNativeGesture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNativeGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/native/useNativeGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EAGpB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"useNativeGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/native/useNativeGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EAGpB,MAAM,eAAe,CAAC;AAIvB,wBAAgB,gBAAgB,CAC9B,MAAM,GAAE,mBAAyC,GAChD,aAAa,CAOf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePanGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/pan/usePanGesture.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAGV,UAAU,EACV,gBAAgB,EAKjB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"usePanGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/pan/usePanGesture.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAGV,UAAU,EACV,gBAAgB,EAKjB,MAAM,YAAY,CAAC;AA0HpB,wBAAgB,aAAa,CAC3B,MAAM,GAAE,gBAAmC,GAC1C,UAAU,CAiBZ"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { PinchGesture, PinchGestureConfig } from './PinchTypes';
|
|
2
|
-
export declare function usePinchGesture(config
|
|
2
|
+
export declare function usePinchGesture(config?: PinchGestureConfig): PinchGesture;
|
|
3
3
|
//# sourceMappingURL=usePinchGesture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePinchGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/pinch/usePinchGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAInB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"usePinchGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/pinch/usePinchGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,YAAY,EACZ,kBAAkB,EAInB,MAAM,cAAc,CAAC;AA8BtB,wBAAgB,eAAe,CAC7B,MAAM,GAAE,kBAAuC,GAC9C,YAAY,CAUd"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { RotationGesture, RotationGestureConfig } from './RotationTypes';
|
|
2
|
-
export declare function useRotationGesture(config
|
|
2
|
+
export declare function useRotationGesture(config?: RotationGestureConfig): RotationGesture;
|
|
3
3
|
//# sourceMappingURL=useRotationGesture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRotationGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/rotation/useRotationGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,eAAe,EACf,qBAAqB,EAItB,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"useRotationGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/rotation/useRotationGesture.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAEV,eAAe,EACf,qBAAqB,EAItB,MAAM,iBAAiB,CAAC;AAgCzB,wBAAgB,kBAAkB,CAChC,MAAM,GAAE,qBAA6C,GACpD,eAAe,CAUjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTapGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/tap/useTapGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAIjB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"useTapGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/v3/hooks/gestures/tap/useTapGesture.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAIjB,MAAM,YAAY,CAAC;AAapB,wBAAgB,aAAa,CAC3B,MAAM,GAAE,gBAAmC,GAC1C,UAAU,CAWZ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGesture.d.ts","sourceRoot":"","sources":["../../../../src/v3/hooks/useGesture.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EAClB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"useGesture.d.ts","sourceRoot":"","sources":["../../../../src/v3/hooks/useGesture.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EAClB,MAAM,UAAU,CAAC;AASlB,wBAAgB,UAAU,CACxB,OAAO,EACP,YAAY,EACZ,oBAAoB,SAAS,YAAY,GAAG,YAAY,EAExD,IAAI,EAAE,iBAAiB,EACvB,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,GACrE,aAAa,CAAC,OAAO,EAAE,YAAY,EAAE,oBAAoB,CAAC,CAiF5D"}
|