@tamagui/react-native-web-lite 1.129.13 → 1.129.15
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/dist/cjs/InteractionManager/index.cjs +3 -2
- package/dist/cjs/InteractionManager/index.js +2 -2
- package/dist/cjs/InteractionManager/index.js.map +2 -2
- package/dist/cjs/InteractionManager/index.native.js +2 -2
- package/dist/cjs/InteractionManager/index.native.js.map +1 -1
- package/dist/cjs/ScrollView/index.cjs +172 -4
- package/dist/cjs/ScrollView/index.js +153 -5
- package/dist/cjs/ScrollView/index.js.map +2 -2
- package/dist/cjs/ScrollView/index.native.js +155 -7
- package/dist/cjs/ScrollView/index.native.js.map +2 -2
- package/dist/cjs/SectionList.cjs +38 -0
- package/dist/cjs/SectionList.js +29 -0
- package/dist/cjs/SectionList.js.map +6 -0
- package/dist/cjs/SectionList.native.js +30 -0
- package/dist/cjs/SectionList.native.js.map +6 -0
- package/dist/cjs/TextInput/index.cjs +18 -2
- package/dist/cjs/TextInput/index.js +20 -3
- package/dist/cjs/TextInput/index.js.map +1 -1
- package/dist/cjs/TextInput/index.native.js +19 -4
- package/dist/cjs/TextInput/index.native.js.map +2 -2
- package/dist/cjs/TouchableNativeFeedback.cjs +38 -0
- package/dist/cjs/TouchableNativeFeedback.js +29 -0
- package/dist/cjs/TouchableNativeFeedback.js.map +6 -0
- package/dist/cjs/TouchableNativeFeedback.native.js +30 -0
- package/dist/cjs/TouchableNativeFeedback.native.js.map +6 -0
- package/dist/cjs/VirtualizedList.cjs +38 -0
- package/dist/cjs/VirtualizedList.js +29 -0
- package/dist/cjs/VirtualizedList.js.map +6 -0
- package/dist/cjs/VirtualizedList.native.js +30 -0
- package/dist/cjs/VirtualizedList.native.js.map +6 -0
- package/dist/cjs/createElement/index.cjs +3 -3
- package/dist/cjs/createElement/index.js +3 -3
- package/dist/cjs/createElement/index.js.map +1 -1
- package/dist/cjs/createElement/index.native.js +3 -3
- package/dist/cjs/createElement/index.native.js.map +1 -1
- package/dist/cjs/index.cjs +6 -4
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +3 -3
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/modules/requestIdleCallback.cjs +44 -0
- package/dist/cjs/modules/requestIdleCallback.js +35 -0
- package/dist/cjs/modules/requestIdleCallback.js.map +6 -0
- package/dist/cjs/modules/requestIdleCallback.native.js +39 -0
- package/dist/cjs/modules/requestIdleCallback.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +15 -12
- package/dist/cjs/vendor/react-native/Animated/Animated.js +6 -2
- package/dist/cjs/vendor/react-native/Animated/Animated.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/Animated.native.js +4 -2
- package/dist/cjs/vendor/react-native/Animated/Animated.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +26 -27
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +24 -28
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js +23 -20
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +236 -234
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +59 -79
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.native.js +34 -29
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +39 -40
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +13 -18
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.native.js +6 -4
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/Easing.cjs +11 -12
- package/dist/cjs/vendor/react-native/Animated/Easing.js +11 -11
- package/dist/cjs/vendor/react-native/Animated/Easing.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/Easing.native.js +11 -11
- package/dist/cjs/vendor/react-native/Animated/Easing.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +28 -36
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +26 -33
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.native.js +48 -48
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +40 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +61 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.native.js +67 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +37 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +56 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +62 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +5 -7
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +5 -6
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +10 -5
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +16 -6
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.native.js +10 -2
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +12 -5
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +13 -10
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.native.js +17 -3
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +53 -42
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +55 -39
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.native.js +41 -13
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +20 -9
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +21 -16
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.native.js +22 -3
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/bezier.cjs +16 -18
- package/dist/cjs/vendor/react-native/Animated/bezier.js +22 -13
- package/dist/cjs/vendor/react-native/Animated/bezier.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/bezier.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +46 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js +31 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js.map +6 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.native.js +36 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.native.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +7 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +3 -10
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.native.js +2 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +46 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js +31 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js.map +6 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.native.js +36 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +1 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.native.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +1 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.native.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +17 -18
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +14 -11
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js.map +3 -3
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.native.js +3 -3
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +9 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +35 -49
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +32 -51
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.native.js +23 -32
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +6 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +6 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +10 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +5 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +5 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +9 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +26 -31
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +24 -25
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +13 -13
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +2 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +10 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +9 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +14 -9
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +14 -9
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.native.js +13 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +21 -23
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +22 -20
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.native.js +2 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +25 -25
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +23 -21
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +12 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +9 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +14 -9
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +12 -12
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +14 -4
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +20 -19
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +18 -17
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +10 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +12 -7
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +10 -4
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.native.js +10 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +8 -76
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +5 -83
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +4 -70
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +5 -11
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +17 -11
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +42 -9
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +16 -25
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +14 -22
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.native.js +24 -16
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.native.js.map +2 -2
- package/dist/cjs/{Batchinator → vendor/react-native/Batchinator}/index.cjs +9 -18
- package/dist/cjs/{Batchinator → vendor/react-native/Batchinator}/index.js +6 -13
- package/dist/cjs/vendor/react-native/Batchinator/index.js.map +6 -0
- package/dist/cjs/{Batchinator → vendor/react-native/Batchinator}/index.native.js +5 -14
- package/dist/cjs/vendor/react-native/Batchinator/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/{NativeEventEmitter/index.cjs → EventEmitter/NativeEventEmitter.cjs} +8 -15
- package/dist/cjs/vendor/react-native/{NativeEventEmitter/index.js → EventEmitter/NativeEventEmitter.js} +10 -17
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +6 -0
- package/dist/cjs/vendor/react-native/{NativeEventEmitter/index.native.js → EventEmitter/NativeEventEmitter.native.js} +19 -11
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +6 -0
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +3 -3
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js +3 -3
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +2 -2
- package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js +5 -4
- package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/FlatList/index.cjs +262 -0
- package/dist/cjs/vendor/react-native/FlatList/index.js +270 -0
- package/dist/cjs/vendor/react-native/FlatList/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/FlatList/index.native.js +352 -0
- package/dist/cjs/vendor/react-native/FlatList/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +88 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js +64 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.native.js +69 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +121 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.js +108 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.native.js +112 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/PanResponder/index.cjs +22 -209
- package/dist/cjs/vendor/react-native/PanResponder/index.js +16 -212
- package/dist/cjs/vendor/react-native/PanResponder/index.js.map +3 -3
- package/dist/cjs/vendor/react-native/PanResponder/index.native.js +29 -200
- package/dist/cjs/vendor/react-native/PanResponder/index.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/PooledClass/index.cjs +47 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.js +37 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.native.js +38 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +33 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +28 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +6 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js +38 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/SectionList/index.cjs +102 -0
- package/dist/cjs/vendor/react-native/SectionList/index.js +85 -0
- package/dist/cjs/vendor/react-native/SectionList/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/SectionList/index.native.js +190 -0
- package/dist/cjs/vendor/react-native/SectionList/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +49 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.js +40 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.native.js +110 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +48 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.js +39 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.native.js +109 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js.map +2 -2
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +34 -1
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +25 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js.map +2 -2
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.native.js +32 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +3 -1
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +6 -1
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +2 -2
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +3 -1
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +158 -8
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +123 -1
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js.map +2 -2
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.native.js +159 -1
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +27 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.js +21 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.native.js +22 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +2 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.js +1 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +2 -2
- package/dist/cjs/vendor/react-native/Utilities/clamp.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +5 -4
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +5 -3
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js.map +1 -1
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.native.js +2 -2
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +33 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js +31 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.native.js +46 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +32 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js +30 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.native.js +30 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +142 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js +152 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.native.js +205 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +1 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +2 -8
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js +1 -9
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +16 -9
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +16 -7
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +19 -11
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +4 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +6 -13
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +2 -1
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +56 -8
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +46 -1
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +49 -1
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +136 -865
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js +126 -894
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js +92 -853
- package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +129 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js +118 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.native.js +219 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +5 -3
- package/dist/cjs/vendor/react-native/deepDiffer/index.js +4 -3
- package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +3 -3
- package/dist/cjs/vendor/react-native/deepDiffer/index.native.js +3 -3
- package/dist/cjs/vendor/react-native/deepDiffer/index.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/infoLog/index.js.map +2 -2
- package/dist/cjs/vendor/react-native/infoLog/index.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +86 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js +85 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js.map +6 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.native.js +163 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.native.js.map +6 -0
- package/dist/cjs/without-animated.cjs +1 -1
- package/dist/cjs/without-animated.js +1 -1
- package/dist/cjs/without-animated.js.map +1 -1
- package/dist/cjs/without-animated.native.js +1 -1
- package/dist/cjs/without-animated.native.js.map +1 -1
- package/dist/esm/InteractionManager/index.js +1 -0
- package/dist/esm/InteractionManager/index.js.map +1 -1
- package/dist/esm/InteractionManager/index.mjs +1 -0
- package/dist/esm/InteractionManager/index.mjs.map +1 -1
- package/dist/esm/InteractionManager/index.native.js +1 -0
- package/dist/esm/InteractionManager/index.native.js.map +1 -1
- package/dist/esm/ScrollView/index.js +155 -4
- package/dist/esm/ScrollView/index.js.map +1 -1
- package/dist/esm/ScrollView/index.mjs +173 -5
- package/dist/esm/ScrollView/index.mjs.map +1 -1
- package/dist/esm/ScrollView/index.native.js +176 -7
- package/dist/esm/ScrollView/index.native.js.map +1 -1
- package/dist/esm/SectionList.js +6 -0
- package/dist/esm/SectionList.js.map +6 -0
- package/dist/esm/SectionList.mjs +4 -0
- package/dist/esm/SectionList.mjs.map +1 -0
- package/dist/esm/SectionList.native.js +4 -0
- package/dist/esm/SectionList.native.js.map +1 -0
- package/dist/esm/TextInput/index.js +20 -3
- package/dist/esm/TextInput/index.js.map +1 -1
- package/dist/esm/TextInput/index.mjs +18 -2
- package/dist/esm/TextInput/index.mjs.map +1 -1
- package/dist/esm/TextInput/index.native.js +18 -2
- package/dist/esm/TextInput/index.native.js.map +1 -1
- package/dist/esm/TouchableNativeFeedback.js +6 -0
- package/dist/esm/TouchableNativeFeedback.js.map +6 -0
- package/dist/esm/TouchableNativeFeedback.mjs +4 -0
- package/dist/esm/TouchableNativeFeedback.mjs.map +1 -0
- package/dist/esm/TouchableNativeFeedback.native.js +4 -0
- package/dist/esm/TouchableNativeFeedback.native.js.map +1 -0
- package/dist/esm/VirtualizedList.js +6 -0
- package/dist/esm/VirtualizedList.js.map +6 -0
- package/dist/esm/VirtualizedList.mjs +4 -0
- package/dist/esm/VirtualizedList.mjs.map +1 -0
- package/dist/esm/VirtualizedList.native.js +4 -0
- package/dist/esm/VirtualizedList.native.js.map +1 -0
- package/dist/esm/createElement/index.js +3 -3
- package/dist/esm/createElement/index.js.map +1 -1
- package/dist/esm/createElement/index.mjs +3 -3
- package/dist/esm/createElement/index.mjs.map +1 -1
- package/dist/esm/createElement/index.native.js +3 -3
- package/dist/esm/createElement/index.native.js.map +1 -1
- package/dist/esm/index.js +12 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +6 -4
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +6 -4
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/modules/requestIdleCallback.js +19 -0
- package/dist/esm/modules/requestIdleCallback.js.map +6 -0
- package/dist/esm/modules/requestIdleCallback.mjs +20 -0
- package/dist/esm/modules/requestIdleCallback.mjs.map +1 -0
- package/dist/esm/modules/requestIdleCallback.native.js +20 -0
- package/dist/esm/modules/requestIdleCallback.native.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/Animated.js +9 -5
- package/dist/esm/vendor/react-native/Animated/Animated.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Animated.mjs +14 -11
- package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Animated.native.js +7 -4
- package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +25 -30
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +25 -26
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +21 -14
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js +65 -84
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +236 -234
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +49 -43
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.js +14 -20
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +38 -39
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +8 -7
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Easing.js +10 -11
- package/dist/esm/vendor/react-native/Animated/Easing.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/Easing.mjs +10 -11
- package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Easing.native.js +12 -11
- package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js +27 -34
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +24 -32
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +45 -44
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js +60 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +35 -2
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +35 -2
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js +55 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +32 -2
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +32 -2
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.js +5 -5
- package/dist/esm/vendor/react-native/Animated/SpringConfig.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +5 -5
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.js +15 -6
- package/dist/esm/vendor/react-native/Animated/animations/Animation.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +9 -4
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +10 -2
- package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js +13 -10
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +11 -4
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +17 -3
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js +56 -40
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +52 -41
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +46 -16
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js +21 -16
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +20 -7
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +23 -3
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/bezier.js +22 -13
- package/dist/esm/vendor/react-native/Animated/bezier.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/bezier.mjs +16 -18
- package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js +10 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js.map +6 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +12 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.native.js +14 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.native.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js +4 -11
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +8 -7
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +3 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js +10 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js.map +6 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +12 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.native.js +14 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.native.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js +16 -12
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +15 -16
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +11 -11
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +9 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js +33 -52
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +34 -46
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +27 -32
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +11 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js +5 -2
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +5 -2
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +9 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +25 -28
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +26 -31
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +13 -12
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +11 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +9 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js +14 -10
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +13 -8
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +13 -5
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js +23 -20
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +19 -19
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +4 -2
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js +24 -22
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +24 -22
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +14 -4
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +9 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js +13 -11
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +13 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +16 -4
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js +18 -17
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +18 -17
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +10 -2
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js +11 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +11 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +11 -3
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js +5 -83
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +7 -73
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +7 -70
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +16 -11
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +4 -10
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +43 -8
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js +15 -31
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +14 -23
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +25 -19
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +1 -1
- package/dist/esm/{Batchinator → vendor/react-native/Batchinator}/index.js +2 -2
- package/dist/esm/vendor/react-native/Batchinator/index.js.map +6 -0
- package/dist/esm/{Batchinator → vendor/react-native/Batchinator}/index.mjs +2 -2
- package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -0
- package/dist/esm/{Batchinator → vendor/react-native/Batchinator}/index.native.js +2 -4
- package/dist/esm/vendor/react-native/Batchinator/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js +42 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +6 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +34 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/{NativeEventEmitter/index.native.js → EventEmitter/NativeEventEmitter.native.js} +19 -12
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.native.js.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +6 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js.map +1 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.js +3 -3
- package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +2 -2
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +3 -3
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/FillRateHelper/index.native.js +7 -7
- package/dist/esm/vendor/react-native/FillRateHelper/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/FlatList/index.js +254 -0
- package/dist/esm/vendor/react-native/FlatList/index.js.map +6 -0
- package/dist/esm/vendor/react-native/FlatList/index.mjs +228 -0
- package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/FlatList/index.native.js +330 -0
- package/dist/esm/vendor/react-native/FlatList/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js +39 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js.map +6 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +52 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.native.js +53 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.js +84 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.js.map +6 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +85 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.native.js +86 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/PanResponder/index.js +14 -202
- package/dist/esm/vendor/react-native/PanResponder/index.js.map +2 -2
- package/dist/esm/vendor/react-native/PanResponder/index.mjs +18 -192
- package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/PanResponder/index.native.js +33 -192
- package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/PooledClass/index.js +21 -0
- package/dist/esm/vendor/react-native/PooledClass/index.js.map +6 -0
- package/dist/esm/vendor/react-native/PooledClass/index.mjs +24 -0
- package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/PooledClass/index.native.js +24 -0
- package/dist/esm/vendor/react-native/PooledClass/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +12 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +6 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +10 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs.map +1 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js +20 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js.map +1 -0
- package/dist/esm/vendor/react-native/SectionList/index.js +63 -0
- package/dist/esm/vendor/react-native/SectionList/index.js.map +6 -0
- package/dist/esm/vendor/react-native/SectionList/index.mjs +68 -0
- package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/SectionList/index.native.js +161 -0
- package/dist/esm/vendor/react-native/SectionList/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.js +15 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.js.map +6 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs +13 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.native.js +77 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.js +14 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.js.map +6 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.mjs +12 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.native.js +76 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.js.map +2 -2
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.js +9 -0
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.js.map +2 -2
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +7 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +9 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js +6 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +3 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +3 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.js +119 -0
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.js.map +2 -2
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +131 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +135 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/Platform.js +6 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.js.map +6 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.mjs +4 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.native.js +4 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.native.js.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.js.map +2 -2
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/clamp.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js +5 -3
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +5 -4
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +5 -3
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js +15 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js.map +6 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +10 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.native.js +25 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.native.js.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.js +14 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.js.map +6 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +9 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.native.js +9 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.native.js.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.js +135 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.js.map +6 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +117 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.native.js +185 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +2 -8
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +1 -3
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js +1 -9
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +16 -10
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +14 -7
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +16 -9
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +6 -12
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +3 -2
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +3 -2
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +42 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +39 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +39 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/index.js +135 -910
- package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +138 -867
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/index.native.js +128 -912
- package/dist/esm/vendor/react-native/VirtualizedList/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js +96 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +95 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.native.js +204 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.js +3 -3
- package/dist/esm/vendor/react-native/deepDiffer/index.js.map +3 -3
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs +3 -3
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/deepDiffer/index.native.js +3 -3
- package/dist/esm/vendor/react-native/deepDiffer/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/infoLog/index.js.map +2 -2
- package/dist/esm/vendor/react-native/infoLog/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/infoLog/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js +69 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js.map +6 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +61 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.native.js +122 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.native.js.map +1 -0
- package/dist/esm/without-animated.js +1 -1
- package/dist/esm/without-animated.mjs +1 -1
- package/dist/esm/without-animated.native.js +1 -1
- package/package.json +6 -6
- package/src/InteractionManager/index.tsx +1 -0
- package/src/ScrollView/index.tsx +238 -1
- package/src/SectionList.tsx +9 -0
- package/src/TextInput/index.tsx +20 -1
- package/src/TextInput/types.tsx +2 -0
- package/src/TouchableNativeFeedback.tsx +9 -0
- package/src/VirtualizedList.tsx +9 -0
- package/src/createElement/index.tsx +4 -4
- package/src/index.tsx +7 -5
- package/src/modules/requestIdleCallback.ts +34 -0
- package/src/vendor/react-native/Animated/Animated.js +17 -13
- package/src/vendor/react-native/Animated/AnimatedEvent.js +40 -65
- package/src/vendor/react-native/Animated/AnimatedImplementation.js +151 -190
- package/src/vendor/react-native/Animated/AnimatedMock.js +30 -44
- package/src/vendor/react-native/Animated/AnimatedPlatformConfig.js +4 -2
- package/src/vendor/react-native/Animated/Easing.js +60 -65
- package/src/vendor/react-native/Animated/NativeAnimatedHelper.js +87 -123
- package/src/vendor/react-native/Animated/NativeAnimatedModule.js +59 -3
- package/src/vendor/react-native/Animated/NativeAnimatedTurboModule.js +55 -3
- package/src/vendor/react-native/Animated/SpringConfig.js +14 -9
- package/src/vendor/react-native/Animated/animations/Animation.js +44 -31
- package/src/vendor/react-native/Animated/animations/DecayAnimation.js +52 -54
- package/src/vendor/react-native/Animated/animations/SpringAnimation.js +84 -140
- package/src/vendor/react-native/Animated/animations/TimingAnimation.js +29 -57
- package/src/vendor/react-native/Animated/bezier.js +80 -71
- package/src/vendor/react-native/Animated/components/AnimatedFlatList.jsx +23 -0
- package/src/vendor/react-native/Animated/components/AnimatedImage.js +2 -2
- package/src/vendor/react-native/Animated/components/{AnimatedScrollView.js → AnimatedScrollView.jsx} +9 -15
- package/src/vendor/react-native/Animated/components/AnimatedSectionList.jsx +23 -0
- package/src/vendor/react-native/Animated/components/AnimatedText.js +1 -3
- package/src/vendor/react-native/Animated/components/AnimatedView.js +1 -3
- package/src/vendor/react-native/Animated/createAnimatedComponent.jsx +46 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedAddition.js +28 -26
- package/src/vendor/react-native/Animated/nodes/AnimatedColor.js +56 -122
- package/src/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +10 -7
- package/src/vendor/react-native/Animated/nodes/AnimatedDivision.js +36 -41
- package/src/vendor/react-native/Animated/nodes/{AnimatedInterpolation.js → AnimatedInterpolation.jsx} +55 -70
- package/src/vendor/react-native/Animated/nodes/AnimatedModulo.js +4 -4
- package/src/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +28 -27
- package/src/vendor/react-native/Animated/nodes/AnimatedNode.js +23 -40
- package/src/vendor/react-native/Animated/nodes/AnimatedProps.js +25 -45
- package/src/vendor/react-native/Animated/nodes/AnimatedStyle.js +32 -46
- package/src/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +27 -26
- package/src/vendor/react-native/Animated/nodes/AnimatedTracking.js +16 -22
- package/src/vendor/react-native/Animated/nodes/AnimatedTransform.js +53 -62
- package/src/vendor/react-native/Animated/nodes/AnimatedValue.js +33 -59
- package/src/vendor/react-native/Animated/nodes/AnimatedValueXY.js +8 -101
- package/src/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +21 -25
- package/src/vendor/react-native/Animated/useAnimatedProps.js +45 -93
- package/src/{Batchinator/index.tsx → vendor/react-native/Batchinator/index.js} +10 -12
- package/src/vendor/react-native/{NativeEventEmitter/index.js → EventEmitter/NativeEventEmitter.js} +14 -34
- package/src/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.js +4 -2
- package/src/vendor/react-native/FillRateHelper/{index.tsx → index.js} +41 -47
- package/src/vendor/react-native/FlatList/index.jsx +529 -0
- package/src/vendor/react-native/JSEventLoopWatchdog/index.js +84 -0
- package/src/vendor/react-native/LayoutAnimation/index.js +121 -0
- package/src/vendor/react-native/PanResponder/index.js +131 -0
- package/src/vendor/react-native/PooledClass/index.js +61 -0
- package/src/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +19 -0
- package/src/vendor/react-native/SectionList/index.jsx +97 -0
- package/src/vendor/react-native/StaticContainer/index.js +45 -0
- package/src/vendor/react-native/StaticRenderer/index.js +26 -0
- package/src/vendor/react-native/TouchHistoryMath/{index.tsx → index.js} +53 -36
- package/src/vendor/react-native/TurboModule/RCTExport.js +13 -2
- package/src/vendor/react-native/TurboModule/TurboModuleRegistry.js +12 -2
- package/src/vendor/react-native/Types/CoreEventTypes.js +153 -0
- package/src/vendor/react-native/Utilities/Platform.js +2 -0
- package/src/vendor/react-native/Utilities/{clamp.ts → clamp.js} +8 -6
- package/src/vendor/react-native/Utilities/setAndForwardRef.js +18 -11
- package/src/vendor/react-native/Utilities/useMergeRefs.js +41 -0
- package/src/vendor/react-native/Utilities/useRefEffect.js +44 -0
- package/src/vendor/react-native/ViewabilityHelper/index.js +250 -0
- package/src/vendor/react-native/ViewabilityHelper.ts +1 -1
- package/src/vendor/react-native/VirtualizeUtils/{index.tsx → index.js} +40 -48
- package/src/vendor/react-native/VirtualizedList/{CellRenderMask.ts → CellRenderMask.js} +14 -26
- package/src/vendor/react-native/VirtualizedList/{ChildListCollection.tsx → ChildListCollection.js} +10 -11
- package/src/vendor/react-native/VirtualizedList/{StateSafePureComponent.tsx → StateSafePureComponent.js} +19 -19
- package/src/vendor/react-native/VirtualizedList/{VirtualizedListCellRenderer.tsx → VirtualizedListCellRenderer.jsx} +43 -70
- package/src/vendor/react-native/VirtualizedList/{VirtualizedListContext.tsx → VirtualizedListContext.jsx} +24 -44
- package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.js +46 -0
- package/src/vendor/react-native/VirtualizedList/index.jsx +395 -0
- package/src/vendor/react-native/VirtualizedSectionList/index.jsx +148 -0
- package/src/vendor/react-native/deepDiffer/{index.tsx → index.js} +32 -16
- package/src/vendor/react-native/infoLog/{index.tsx → index.js} +7 -3
- package/src/vendor/react-native/useRefEffect.js +1 -1
- package/src/vendor/react-native/vendor/emitter/EventEmitter.js +118 -0
- package/src/without-animated.tsx +1 -1
- package/dist/cjs/Batchinator/index.js.map +0 -6
- package/dist/cjs/Batchinator/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js.map +0 -6
- package/dist/cjs/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/NativeEventEmitter/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/NativeEventEmitter/index.native.js.map +0 -6
- package/dist/esm/Batchinator/index.js.map +0 -6
- package/dist/esm/Batchinator/index.mjs.map +0 -1
- package/dist/esm/Batchinator/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js.map +0 -6
- package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.mjs.map +0 -1
- package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +0 -1
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.js +0 -50
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.js.map +0 -6
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.mjs +0 -41
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js.map +0 -1
- package/src/vendor/react-native/Animated/createAnimatedComponent.js +0 -51
- package/src/vendor/react-native/PanResponder/index.tsx +0 -594
- package/src/vendor/react-native/Types/CoreEventTypes.tsx +0 -88
- package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.ts +0 -130
- package/src/vendor/react-native/VirtualizedList/index.tsx +0 -1797
- /package/dist/cjs/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.cjs +0 -0
- /package/dist/cjs/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.js +0 -0
- /package/dist/cjs/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.native.js +0 -0
- /package/dist/esm/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.js +0 -0
- /package/dist/esm/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.mjs +0 -0
- /package/dist/esm/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.native.js +0 -0
|
@@ -1,594 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
'use strict'
|
|
9
|
-
|
|
10
|
-
import { InteractionManager } from '@tamagui/react-native-web-internals'
|
|
11
|
-
|
|
12
|
-
import TouchHistoryMath from '../TouchHistoryMath'
|
|
13
|
-
|
|
14
|
-
type PressEvent = any
|
|
15
|
-
|
|
16
|
-
const currentCentroidXOfTouchesChangedAfter =
|
|
17
|
-
TouchHistoryMath.currentCentroidXOfTouchesChangedAfter
|
|
18
|
-
const currentCentroidYOfTouchesChangedAfter =
|
|
19
|
-
TouchHistoryMath.currentCentroidYOfTouchesChangedAfter
|
|
20
|
-
const previousCentroidXOfTouchesChangedAfter =
|
|
21
|
-
TouchHistoryMath.previousCentroidXOfTouchesChangedAfter
|
|
22
|
-
const previousCentroidYOfTouchesChangedAfter =
|
|
23
|
-
TouchHistoryMath.previousCentroidYOfTouchesChangedAfter
|
|
24
|
-
const currentCentroidX = TouchHistoryMath.currentCentroidX
|
|
25
|
-
const currentCentroidY = TouchHistoryMath.currentCentroidY
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* `PanResponder` reconciles several touches into a single gesture. It makes
|
|
29
|
-
* single-touch gestures resilient to extra touches, and can be used to
|
|
30
|
-
* recognize simple multi-touch gestures.
|
|
31
|
-
*
|
|
32
|
-
* By default, `PanResponder` holds an `InteractionManager` handle to block
|
|
33
|
-
* long-running JS events from interrupting active gestures.
|
|
34
|
-
*
|
|
35
|
-
* It provides a predictable wrapper of the responder handlers provided by the
|
|
36
|
-
* [gesture responder system](docs/gesture-responder-system.html).
|
|
37
|
-
* For each handler, it provides a new `gestureState` object alongside the
|
|
38
|
-
* native event object:
|
|
39
|
-
*
|
|
40
|
-
* ```
|
|
41
|
-
* onPanResponderMove: (event, gestureState) => {}
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* A native event is a synthetic touch event with the following form:
|
|
45
|
-
*
|
|
46
|
-
* - `nativeEvent`
|
|
47
|
-
* + `changedTouches` - Array of all touch events that have changed since the last event
|
|
48
|
-
* + `identifier` - The ID of the touch
|
|
49
|
-
* + `locationX` - The X position of the touch, relative to the element
|
|
50
|
-
* + `locationY` - The Y position of the touch, relative to the element
|
|
51
|
-
* + `pageX` - The X position of the touch, relative to the root element
|
|
52
|
-
* + `pageY` - The Y position of the touch, relative to the root element
|
|
53
|
-
* + `target` - The node id of the element receiving the touch event
|
|
54
|
-
* + `timestamp` - A time identifier for the touch, useful for velocity calculation
|
|
55
|
-
* + `touches` - Array of all current touches on the screen
|
|
56
|
-
*
|
|
57
|
-
* A `gestureState` object has the following:
|
|
58
|
-
*
|
|
59
|
-
* - `stateID` - ID of the gestureState- persisted as long as there at least
|
|
60
|
-
* one touch on screen
|
|
61
|
-
* - `moveX` - the latest screen coordinates of the recently-moved touch
|
|
62
|
-
* - `moveY` - the latest screen coordinates of the recently-moved touch
|
|
63
|
-
* - `x0` - the screen coordinates of the responder grant
|
|
64
|
-
* - `y0` - the screen coordinates of the responder grant
|
|
65
|
-
* - `dx` - accumulated distance of the gesture since the touch started
|
|
66
|
-
* - `dy` - accumulated distance of the gesture since the touch started
|
|
67
|
-
* - `vx` - current velocity of the gesture
|
|
68
|
-
* - `vy` - current velocity of the gesture
|
|
69
|
-
* - `numberActiveTouches` - Number of touches currently on screen
|
|
70
|
-
*
|
|
71
|
-
* ### Basic Usage
|
|
72
|
-
*
|
|
73
|
-
* ```
|
|
74
|
-
* componentWillMount: function() {
|
|
75
|
-
* this._panResponder = PanResponder.create({
|
|
76
|
-
* // Ask to be the responder:
|
|
77
|
-
* onStartShouldSetPanResponder: (evt, gestureState) => true,
|
|
78
|
-
* onStartShouldSetPanResponderCapture: (evt, gestureState) => true,
|
|
79
|
-
* onMoveShouldSetPanResponder: (evt, gestureState) => true,
|
|
80
|
-
* onMoveShouldSetPanResponderCapture: (evt, gestureState) => true,
|
|
81
|
-
*
|
|
82
|
-
* onPanResponderGrant: (evt, gestureState) => {
|
|
83
|
-
* // The gesture has started. Show visual feedback so the user knows
|
|
84
|
-
* // what is happening!
|
|
85
|
-
*
|
|
86
|
-
* // gestureState.d{x,y} will be set to zero now
|
|
87
|
-
* },
|
|
88
|
-
* onPanResponderMove: (evt, gestureState) => {
|
|
89
|
-
* // The most recent move distance is gestureState.move{X,Y}
|
|
90
|
-
*
|
|
91
|
-
* // The accumulated gesture distance since becoming responder is
|
|
92
|
-
* // gestureState.d{x,y}
|
|
93
|
-
* },
|
|
94
|
-
* onPanResponderTerminationRequest: (evt, gestureState) => true,
|
|
95
|
-
* onPanResponderRelease: (evt, gestureState) => {
|
|
96
|
-
* // The user has released all touches while this view is the
|
|
97
|
-
* // responder. This typically means a gesture has succeeded
|
|
98
|
-
* },
|
|
99
|
-
* onPanResponderTerminate: (evt, gestureState) => {
|
|
100
|
-
* // Another component has become the responder, so this gesture
|
|
101
|
-
* // should be cancelled
|
|
102
|
-
* },
|
|
103
|
-
* onShouldBlockNativeResponder: (evt, gestureState) => {
|
|
104
|
-
* // Returns whether this component should block native components from becoming the JS
|
|
105
|
-
* // responder. Returns true by default. Is currently only supported on android.
|
|
106
|
-
* return true;
|
|
107
|
-
* },
|
|
108
|
-
* });
|
|
109
|
-
* },
|
|
110
|
-
*
|
|
111
|
-
* render: function() {
|
|
112
|
-
* return (
|
|
113
|
-
* <View {...this._panResponder.panHandlers} />
|
|
114
|
-
* );
|
|
115
|
-
* },
|
|
116
|
-
*
|
|
117
|
-
* ```
|
|
118
|
-
*
|
|
119
|
-
* ### Working Example
|
|
120
|
-
*
|
|
121
|
-
* To see it in action, try the
|
|
122
|
-
* [PanResponder example in RNTester](https://github.com/facebook/react-native/blob/master/RNTester/js/PanResponderExample.js)
|
|
123
|
-
*/
|
|
124
|
-
|
|
125
|
-
export type GestureState = {
|
|
126
|
-
/**
|
|
127
|
-
* ID of the gestureState - persisted as long as there at least one touch on screen
|
|
128
|
-
*/
|
|
129
|
-
stateID: number
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* The latest screen coordinates of the recently-moved touch
|
|
133
|
-
*/
|
|
134
|
-
moveX: number
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* The latest screen coordinates of the recently-moved touch
|
|
138
|
-
*/
|
|
139
|
-
moveY: number
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* The screen coordinates of the responder grant
|
|
143
|
-
*/
|
|
144
|
-
x0: number
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* The screen coordinates of the responder grant
|
|
148
|
-
*/
|
|
149
|
-
y0: number
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Accumulated distance of the gesture since the touch started
|
|
153
|
-
*/
|
|
154
|
-
dx: number
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Accumulated distance of the gesture since the touch started
|
|
158
|
-
*/
|
|
159
|
-
dy: number
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* Current velocity of the gesture
|
|
163
|
-
*/
|
|
164
|
-
vx: number
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Current velocity of the gesture
|
|
168
|
-
*/
|
|
169
|
-
vy: number
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Number of touches currently on screen
|
|
173
|
-
*/
|
|
174
|
-
numberActiveTouches: number
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* All `gestureState` accounts for timeStamps up until this value
|
|
178
|
-
*
|
|
179
|
-
* @private
|
|
180
|
-
*/
|
|
181
|
-
_accountsForMovesUpTo: number
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
type ActiveCallback = (event: PressEvent, gestureState: GestureState) => boolean
|
|
185
|
-
|
|
186
|
-
type InteractionState = {
|
|
187
|
-
handle: number | null
|
|
188
|
-
shouldCancelClick: boolean
|
|
189
|
-
timeout: any
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
type PassiveCallback = (event: PressEvent, gestureState: GestureState) => any
|
|
193
|
-
|
|
194
|
-
type PanResponderConfig = {
|
|
195
|
-
onMoveShouldSetPanResponder?: ActiveCallback | null
|
|
196
|
-
onMoveShouldSetPanResponderCapture?: ActiveCallback | null
|
|
197
|
-
onStartShouldSetPanResponder?: ActiveCallback | null
|
|
198
|
-
onStartShouldSetPanResponderCapture?: ActiveCallback | null
|
|
199
|
-
/**
|
|
200
|
-
* The body of `onResponderGrant` returns a bool, but the vast majority of
|
|
201
|
-
* callsites return void and this TODO notice is found in it:
|
|
202
|
-
* TODO: t7467124 investigate if this can be removed
|
|
203
|
-
*/
|
|
204
|
-
onPanResponderGrant?: PassiveCallback | null | ActiveCallback
|
|
205
|
-
onPanResponderReject?: PassiveCallback | null
|
|
206
|
-
onPanResponderStart?: PassiveCallback | null
|
|
207
|
-
onPanResponderEnd?: PassiveCallback | null
|
|
208
|
-
onPanResponderRelease?: PassiveCallback | null
|
|
209
|
-
onPanResponderMove?: PassiveCallback | null
|
|
210
|
-
onPanResponderTerminate?: PassiveCallback | null
|
|
211
|
-
onPanResponderTerminationRequest?: ActiveCallback | null
|
|
212
|
-
onShouldBlockNativeResponder?: ActiveCallback | null
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
const PanResponder = {
|
|
216
|
-
/**
|
|
217
|
-
*
|
|
218
|
-
* A graphical explanation of the touch data flow:
|
|
219
|
-
*
|
|
220
|
-
* +----------------------------+ +--------------------------------+
|
|
221
|
-
* | ResponderTouchHistoryStore | |TouchHistoryMath |
|
|
222
|
-
* +----------------------------+ +----------+---------------------+
|
|
223
|
-
* |Global store of touchHistory| |Allocation-less math util |
|
|
224
|
-
* |including activeness, start | |on touch history (centroids |
|
|
225
|
-
* |position, prev/cur position.| |and multitouch movement etc) |
|
|
226
|
-
* | | | |
|
|
227
|
-
* +----^-----------------------+ +----^---------------------------+
|
|
228
|
-
* | |
|
|
229
|
-
* | (records relevant history |
|
|
230
|
-
* | of touches relevant for |
|
|
231
|
-
* | implementing higher level |
|
|
232
|
-
* | gestures) |
|
|
233
|
-
* | |
|
|
234
|
-
* +----+-----------------------+ +----|---------------------------+
|
|
235
|
-
* | ResponderEventPlugin | | | Your App/Component |
|
|
236
|
-
* +----------------------------+ +----|---------------------------+
|
|
237
|
-
* |Negotiates which view gets | Low level | | High level |
|
|
238
|
-
* |onResponderMove events. | events w/ | +-+-------+ events w/ |
|
|
239
|
-
* |Also records history into | touchHistory| | Pan | multitouch + |
|
|
240
|
-
* |ResponderTouchHistoryStore. +---------------->Responder+-----> accumulative|
|
|
241
|
-
* +----------------------------+ attached to | | | distance and |
|
|
242
|
-
* each event | +---------+ velocity. |
|
|
243
|
-
* | |
|
|
244
|
-
* | |
|
|
245
|
-
* +--------------------------------+
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* Gesture that calculates cumulative movement over time in a way that just
|
|
250
|
-
* "does the right thing" for multiple touches. The "right thing" is very
|
|
251
|
-
* nuanced. When moving two touches in opposite directions, the cumulative
|
|
252
|
-
* distance is zero in each dimension. When two touches move in parallel five
|
|
253
|
-
* pixels in the same direction, the cumulative distance is five, not ten. If
|
|
254
|
-
* two touches start, one moves five in a direction, then stops and the other
|
|
255
|
-
* touch moves fives in the same direction, the cumulative distance is ten.
|
|
256
|
-
*
|
|
257
|
-
* This logic requires a kind of processing of time "clusters" of touch events
|
|
258
|
-
* so that two touch moves that essentially occur in parallel but move every
|
|
259
|
-
* other frame respectively, are considered part of the same movement.
|
|
260
|
-
*
|
|
261
|
-
* Explanation of some of the non-obvious fields:
|
|
262
|
-
*
|
|
263
|
-
* - moveX/moveY: If no move event has been observed, then `(moveX, moveY)` is
|
|
264
|
-
* invalid. If a move event has been observed, `(moveX, moveY)` is the
|
|
265
|
-
* centroid of the most recently moved "cluster" of active touches.
|
|
266
|
-
* (Currently all move have the same timeStamp, but later we should add some
|
|
267
|
-
* threshold for what is considered to be "moving"). If a palm is
|
|
268
|
-
* accidentally counted as a touch, but a finger is moving greatly, the palm
|
|
269
|
-
* will move slightly, but we only want to count the single moving touch.
|
|
270
|
-
* - x0/y0: Centroid location (non-cumulative) at the time of becoming
|
|
271
|
-
* responder.
|
|
272
|
-
* - dx/dy: Cumulative touch distance - not the same thing as sum of each touch
|
|
273
|
-
* distance. Accounts for touch moves that are clustered together in time,
|
|
274
|
-
* moving the same direction. Only valid when currently responder (otherwise,
|
|
275
|
-
* it only represents the drag distance below the threshold).
|
|
276
|
-
* - vx/vy: Velocity.
|
|
277
|
-
*/
|
|
278
|
-
|
|
279
|
-
_initializeGestureState(gestureState: GestureState) {
|
|
280
|
-
gestureState.moveX = 0
|
|
281
|
-
gestureState.moveY = 0
|
|
282
|
-
gestureState.x0 = 0
|
|
283
|
-
gestureState.y0 = 0
|
|
284
|
-
gestureState.dx = 0
|
|
285
|
-
gestureState.dy = 0
|
|
286
|
-
gestureState.vx = 0
|
|
287
|
-
gestureState.vy = 0
|
|
288
|
-
gestureState.numberActiveTouches = 0
|
|
289
|
-
// All `gestureState` accounts for timeStamps up until:
|
|
290
|
-
gestureState._accountsForMovesUpTo = 0
|
|
291
|
-
},
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* This is nuanced and is necessary. It is incorrect to continuously take all
|
|
295
|
-
* active *and* recently moved touches, find the centroid, and track how that
|
|
296
|
-
* result changes over time. Instead, we must take all recently moved
|
|
297
|
-
* touches, and calculate how the centroid has changed just for those
|
|
298
|
-
* recently moved touches, and append that change to an accumulator. This is
|
|
299
|
-
* to (at least) handle the case where the user is moving three fingers, and
|
|
300
|
-
* then one of the fingers stops but the other two continue.
|
|
301
|
-
*
|
|
302
|
-
* This is very different than taking all of the recently moved touches and
|
|
303
|
-
* storing their centroid as `dx/dy`. For correctness, we must *accumulate
|
|
304
|
-
* changes* in the centroid of recently moved touches.
|
|
305
|
-
*
|
|
306
|
-
* There is also some nuance with how we handle multiple moved touches in a
|
|
307
|
-
* single event. With the way `ReactNativeEventEmitter` dispatches touches as
|
|
308
|
-
* individual events, multiple touches generate two 'move' events, each of
|
|
309
|
-
* them triggering `onResponderMove`. But with the way `PanResponder` works,
|
|
310
|
-
* all of the gesture inference is performed on the first dispatch, since it
|
|
311
|
-
* looks at all of the touches (even the ones for which there hasn't been a
|
|
312
|
-
* native dispatch yet). Therefore, `PanResponder` does not call
|
|
313
|
-
* `onResponderMove` passed the first dispatch. This diverges from the
|
|
314
|
-
* typical responder callback pattern (without using `PanResponder`), but
|
|
315
|
-
* avoids more dispatches than necessary.
|
|
316
|
-
*/
|
|
317
|
-
_updateGestureStateOnMove(gestureState: GestureState, touchHistory: any) {
|
|
318
|
-
gestureState.numberActiveTouches = touchHistory.numberActiveTouches
|
|
319
|
-
gestureState.moveX = currentCentroidXOfTouchesChangedAfter(
|
|
320
|
-
touchHistory,
|
|
321
|
-
gestureState._accountsForMovesUpTo
|
|
322
|
-
)
|
|
323
|
-
gestureState.moveY = currentCentroidYOfTouchesChangedAfter(
|
|
324
|
-
touchHistory,
|
|
325
|
-
gestureState._accountsForMovesUpTo
|
|
326
|
-
)
|
|
327
|
-
const movedAfter = gestureState._accountsForMovesUpTo
|
|
328
|
-
const prevX = previousCentroidXOfTouchesChangedAfter(touchHistory, movedAfter)
|
|
329
|
-
const x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter)
|
|
330
|
-
const prevY = previousCentroidYOfTouchesChangedAfter(touchHistory, movedAfter)
|
|
331
|
-
const y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter)
|
|
332
|
-
const nextDX = gestureState.dx + (x - prevX)
|
|
333
|
-
const nextDY = gestureState.dy + (y - prevY)
|
|
334
|
-
|
|
335
|
-
// TODO: This must be filtered intelligently.
|
|
336
|
-
const dt = touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo
|
|
337
|
-
gestureState.vx = (nextDX - gestureState.dx) / dt
|
|
338
|
-
gestureState.vy = (nextDY - gestureState.dy) / dt
|
|
339
|
-
|
|
340
|
-
gestureState.dx = nextDX
|
|
341
|
-
gestureState.dy = nextDY
|
|
342
|
-
gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp
|
|
343
|
-
},
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* @param {object} config Enhanced versions of all of the responder callbacks
|
|
347
|
-
* that provide not only the typical `ResponderSyntheticEvent`, but also the
|
|
348
|
-
* `PanResponder` gesture state. Simply replace the word `Responder` with
|
|
349
|
-
* `PanResponder` in each of the typical `onResponder*` callbacks. For
|
|
350
|
-
* example, the `config` object would look like:
|
|
351
|
-
*
|
|
352
|
-
* - `onMoveShouldSetPanResponder: (e, gestureState) => {...}`
|
|
353
|
-
* - `onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}`
|
|
354
|
-
* - `onStartShouldSetPanResponder: (e, gestureState) => {...}`
|
|
355
|
-
* - `onStartShouldSetPanResponderCapture: (e, gestureState) => {...}`
|
|
356
|
-
* - `onPanResponderReject: (e, gestureState) => {...}`
|
|
357
|
-
* - `onPanResponderGrant: (e, gestureState) => {...}`
|
|
358
|
-
* - `onPanResponderStart: (e, gestureState) => {...}`
|
|
359
|
-
* - `onPanResponderEnd: (e, gestureState) => {...}`
|
|
360
|
-
* - `onPanResponderRelease: (e, gestureState) => {...}`
|
|
361
|
-
* - `onPanResponderMove: (e, gestureState) => {...}`
|
|
362
|
-
* - `onPanResponderTerminate: (e, gestureState) => {...}`
|
|
363
|
-
* - `onPanResponderTerminationRequest: (e, gestureState) => {...}`
|
|
364
|
-
* - `onShouldBlockNativeResponder: (e, gestureState) => {...}`
|
|
365
|
-
*
|
|
366
|
-
* In general, for events that have capture equivalents, we update the
|
|
367
|
-
* gestureState once in the capture phase and can use it in the bubble phase
|
|
368
|
-
* as well.
|
|
369
|
-
*
|
|
370
|
-
* Be careful with onStartShould* callbacks. They only reflect updated
|
|
371
|
-
* `gestureState` for start/end events that bubble/capture to the Node.
|
|
372
|
-
* Once the node is the responder, you can rely on every start/end event
|
|
373
|
-
* being processed by the gesture and `gestureState` being updated
|
|
374
|
-
* accordingly. (numberActiveTouches) may not be totally accurate unless you
|
|
375
|
-
* are the responder.
|
|
376
|
-
*/
|
|
377
|
-
create(config: PanResponderConfig): {
|
|
378
|
-
getInteractionHandle: () => number | null
|
|
379
|
-
panHandlers: {
|
|
380
|
-
onClickCapture: (event: any) => void
|
|
381
|
-
onMoveShouldSetResponder: (event: PressEvent) => boolean
|
|
382
|
-
onMoveShouldSetResponderCapture: (event: PressEvent) => boolean
|
|
383
|
-
onResponderEnd: (event: PressEvent) => void
|
|
384
|
-
onResponderGrant: (event: PressEvent) => boolean
|
|
385
|
-
onResponderMove: (event: PressEvent) => void
|
|
386
|
-
onResponderReject: (event: PressEvent) => void
|
|
387
|
-
onResponderRelease: (event: PressEvent) => void
|
|
388
|
-
onResponderStart: (event: PressEvent) => void
|
|
389
|
-
onResponderTerminate: (event: PressEvent) => void
|
|
390
|
-
onResponderTerminationRequest: (event: PressEvent) => boolean
|
|
391
|
-
onStartShouldSetResponder: (event: PressEvent) => boolean
|
|
392
|
-
onStartShouldSetResponderCapture: (event: PressEvent) => boolean
|
|
393
|
-
}
|
|
394
|
-
} {
|
|
395
|
-
const interactionState: InteractionState = {
|
|
396
|
-
handle: null,
|
|
397
|
-
shouldCancelClick: false,
|
|
398
|
-
timeout: null,
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
const gestureState: GestureState = {
|
|
402
|
-
// Useful for debugging
|
|
403
|
-
stateID: Math.random(),
|
|
404
|
-
moveX: 0,
|
|
405
|
-
moveY: 0,
|
|
406
|
-
x0: 0,
|
|
407
|
-
y0: 0,
|
|
408
|
-
dx: 0,
|
|
409
|
-
dy: 0,
|
|
410
|
-
vx: 0,
|
|
411
|
-
vy: 0,
|
|
412
|
-
numberActiveTouches: 0,
|
|
413
|
-
_accountsForMovesUpTo: 0,
|
|
414
|
-
}
|
|
415
|
-
const panHandlers = {
|
|
416
|
-
onStartShouldSetResponder(event: PressEvent): boolean {
|
|
417
|
-
return config.onStartShouldSetPanResponder == null
|
|
418
|
-
? false
|
|
419
|
-
: config.onStartShouldSetPanResponder(event, gestureState)
|
|
420
|
-
},
|
|
421
|
-
onMoveShouldSetResponder(event: PressEvent): boolean {
|
|
422
|
-
return config.onMoveShouldSetPanResponder == null
|
|
423
|
-
? false
|
|
424
|
-
: config.onMoveShouldSetPanResponder(event, gestureState)
|
|
425
|
-
},
|
|
426
|
-
onStartShouldSetResponderCapture(event: PressEvent): boolean {
|
|
427
|
-
// TODO: Actually, we should reinitialize the state any time
|
|
428
|
-
// touches.length increases from 0 active to > 0 active.
|
|
429
|
-
if (event.nativeEvent.touches.length === 1) {
|
|
430
|
-
PanResponder._initializeGestureState(gestureState)
|
|
431
|
-
}
|
|
432
|
-
gestureState.numberActiveTouches = event.touchHistory.numberActiveTouches
|
|
433
|
-
return config.onStartShouldSetPanResponderCapture != null
|
|
434
|
-
? config.onStartShouldSetPanResponderCapture(event, gestureState)
|
|
435
|
-
: false
|
|
436
|
-
},
|
|
437
|
-
|
|
438
|
-
onMoveShouldSetResponderCapture(event: PressEvent): boolean {
|
|
439
|
-
const touchHistory = event.touchHistory
|
|
440
|
-
// Responder system incorrectly dispatches should* to current responder
|
|
441
|
-
// Filter out any touch moves past the first one - we would have
|
|
442
|
-
// already processed multi-touch geometry during the first event.
|
|
443
|
-
if (gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp) {
|
|
444
|
-
return false
|
|
445
|
-
}
|
|
446
|
-
PanResponder._updateGestureStateOnMove(gestureState, touchHistory)
|
|
447
|
-
return config.onMoveShouldSetPanResponderCapture
|
|
448
|
-
? config.onMoveShouldSetPanResponderCapture(event, gestureState)
|
|
449
|
-
: false
|
|
450
|
-
},
|
|
451
|
-
|
|
452
|
-
onResponderGrant(event: PressEvent): boolean {
|
|
453
|
-
if (!interactionState.handle) {
|
|
454
|
-
interactionState.handle = InteractionManager.createInteractionHandle()
|
|
455
|
-
}
|
|
456
|
-
if (interactionState.timeout) {
|
|
457
|
-
clearInteractionTimeout(interactionState)
|
|
458
|
-
}
|
|
459
|
-
interactionState.shouldCancelClick = true
|
|
460
|
-
gestureState.x0 = currentCentroidX(event.touchHistory)
|
|
461
|
-
gestureState.y0 = currentCentroidY(event.touchHistory)
|
|
462
|
-
gestureState.dx = 0
|
|
463
|
-
gestureState.dy = 0
|
|
464
|
-
if (config.onPanResponderGrant) {
|
|
465
|
-
config.onPanResponderGrant(event, gestureState)
|
|
466
|
-
}
|
|
467
|
-
// TODO: t7467124 investigate if this can be removed
|
|
468
|
-
return config.onShouldBlockNativeResponder == null
|
|
469
|
-
? true
|
|
470
|
-
: config.onShouldBlockNativeResponder(event, gestureState)
|
|
471
|
-
},
|
|
472
|
-
|
|
473
|
-
onResponderReject(event: PressEvent): void {
|
|
474
|
-
clearInteractionHandle(
|
|
475
|
-
interactionState,
|
|
476
|
-
// @ts-ignore
|
|
477
|
-
config.onPanResponderReject,
|
|
478
|
-
event,
|
|
479
|
-
gestureState
|
|
480
|
-
)
|
|
481
|
-
},
|
|
482
|
-
|
|
483
|
-
onResponderRelease(event: PressEvent): void {
|
|
484
|
-
// @ts-ignore
|
|
485
|
-
clearInteractionHandle(
|
|
486
|
-
interactionState,
|
|
487
|
-
config.onPanResponderRelease,
|
|
488
|
-
event,
|
|
489
|
-
gestureState
|
|
490
|
-
)
|
|
491
|
-
setInteractionTimeout(interactionState)
|
|
492
|
-
PanResponder._initializeGestureState(gestureState)
|
|
493
|
-
},
|
|
494
|
-
|
|
495
|
-
onResponderStart(event: PressEvent): void {
|
|
496
|
-
const touchHistory = event.touchHistory
|
|
497
|
-
gestureState.numberActiveTouches = touchHistory.numberActiveTouches
|
|
498
|
-
if (config.onPanResponderStart) {
|
|
499
|
-
config.onPanResponderStart(event, gestureState)
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
|
|
503
|
-
onResponderMove(event: PressEvent): void {
|
|
504
|
-
const touchHistory = event.touchHistory
|
|
505
|
-
// Guard against the dispatch of two touch moves when there are two
|
|
506
|
-
// simultaneously changed touches.
|
|
507
|
-
if (gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp) {
|
|
508
|
-
return
|
|
509
|
-
}
|
|
510
|
-
// Filter out any touch moves past the first one - we would have
|
|
511
|
-
// already processed multi-touch geometry during the first event.
|
|
512
|
-
PanResponder._updateGestureStateOnMove(gestureState, touchHistory)
|
|
513
|
-
if (config.onPanResponderMove) {
|
|
514
|
-
config.onPanResponderMove(event, gestureState)
|
|
515
|
-
}
|
|
516
|
-
},
|
|
517
|
-
|
|
518
|
-
onResponderEnd(event: PressEvent): void {
|
|
519
|
-
const touchHistory = event.touchHistory
|
|
520
|
-
gestureState.numberActiveTouches = touchHistory.numberActiveTouches
|
|
521
|
-
// @ts-ignore
|
|
522
|
-
clearInteractionHandle(
|
|
523
|
-
interactionState,
|
|
524
|
-
config.onPanResponderEnd,
|
|
525
|
-
event,
|
|
526
|
-
gestureState
|
|
527
|
-
)
|
|
528
|
-
},
|
|
529
|
-
|
|
530
|
-
onResponderTerminate(event: PressEvent): void {
|
|
531
|
-
clearInteractionHandle(
|
|
532
|
-
interactionState,
|
|
533
|
-
// @ts-ignore
|
|
534
|
-
config.onPanResponderTerminate,
|
|
535
|
-
event,
|
|
536
|
-
gestureState
|
|
537
|
-
)
|
|
538
|
-
setInteractionTimeout(interactionState)
|
|
539
|
-
PanResponder._initializeGestureState(gestureState)
|
|
540
|
-
},
|
|
541
|
-
|
|
542
|
-
onResponderTerminationRequest(event: PressEvent): boolean {
|
|
543
|
-
return config.onPanResponderTerminationRequest == null
|
|
544
|
-
? true
|
|
545
|
-
: config.onPanResponderTerminationRequest(event, gestureState)
|
|
546
|
-
},
|
|
547
|
-
|
|
548
|
-
// We do not want to trigger 'click' activated gestures or native behaviors
|
|
549
|
-
// on any pan target that is under a mouse cursor when it is released.
|
|
550
|
-
// Browsers will natively cancel 'click' events on a target if a non-mouse
|
|
551
|
-
// active pointer moves.
|
|
552
|
-
onClickCapture: (event: any): void => {
|
|
553
|
-
if (interactionState.shouldCancelClick === true) {
|
|
554
|
-
event.stopPropagation()
|
|
555
|
-
event.preventDefault()
|
|
556
|
-
}
|
|
557
|
-
},
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
return {
|
|
561
|
-
panHandlers,
|
|
562
|
-
getInteractionHandle(): number | null {
|
|
563
|
-
return interactionState.handle
|
|
564
|
-
},
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
function clearInteractionHandle(
|
|
570
|
-
interactionState: InteractionState,
|
|
571
|
-
callback: any,
|
|
572
|
-
event: PressEvent,
|
|
573
|
-
gestureState: GestureState
|
|
574
|
-
) {
|
|
575
|
-
if (interactionState.handle) {
|
|
576
|
-
InteractionManager.clearInteractionHandle(interactionState.handle)
|
|
577
|
-
interactionState.handle = null
|
|
578
|
-
}
|
|
579
|
-
if (callback) {
|
|
580
|
-
callback(event, gestureState)
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
function clearInteractionTimeout(interactionState: InteractionState) {
|
|
585
|
-
clearTimeout(interactionState.timeout)
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
function setInteractionTimeout(interactionState: InteractionState) {
|
|
589
|
-
interactionState.timeout = setTimeout(() => {
|
|
590
|
-
interactionState.shouldCancelClick = false
|
|
591
|
-
}, 250)
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
export default PanResponder
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @flow strict
|
|
8
|
-
* @format
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
'use strict'
|
|
12
|
-
|
|
13
|
-
export type SyntheticEvent<T> = {
|
|
14
|
-
readonly bubbles: boolean | null
|
|
15
|
-
readonly cancelable: boolean | null
|
|
16
|
-
readonly currentTarget: HTMLElement
|
|
17
|
-
readonly defaultPrevented: boolean | null
|
|
18
|
-
readonly dispatchConfig: {
|
|
19
|
-
readonly registrationName: string
|
|
20
|
-
}
|
|
21
|
-
readonly eventPhase: number | null
|
|
22
|
-
readonly preventDefault: () => void
|
|
23
|
-
readonly isDefaultPrevented: () => boolean
|
|
24
|
-
readonly stopPropagation: () => void
|
|
25
|
-
readonly isPropagationStopped: () => boolean
|
|
26
|
-
readonly isTrusted: boolean | null
|
|
27
|
-
readonly nativeEvent: T
|
|
28
|
-
readonly persist: () => void
|
|
29
|
-
readonly target: HTMLElement | null
|
|
30
|
-
readonly timeStamp: number
|
|
31
|
-
readonly type: string | null
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export type ResponderSyntheticEvent<T> = {
|
|
35
|
-
touchHistory: {
|
|
36
|
-
readonly indexOfSingleActiveTouch: number
|
|
37
|
-
readonly mostRecentTimeStamp: number
|
|
38
|
-
readonly numberActiveTouches: number
|
|
39
|
-
readonly touchBank: ReadonlyArray<{
|
|
40
|
-
readonly touchActive: boolean
|
|
41
|
-
readonly startPageX: number
|
|
42
|
-
readonly startPageY: number
|
|
43
|
-
readonly startTimeStamp: number
|
|
44
|
-
readonly currentPageX: number
|
|
45
|
-
readonly currentPageY: number
|
|
46
|
-
readonly currentTimeStamp: number
|
|
47
|
-
readonly previousPageX: number
|
|
48
|
-
readonly previousPageY: number
|
|
49
|
-
readonly previousTimeStamp: number
|
|
50
|
-
}>
|
|
51
|
-
}
|
|
52
|
-
} & React.SyntheticEvent
|
|
53
|
-
|
|
54
|
-
export type Layout = {
|
|
55
|
-
readonly x: number
|
|
56
|
-
readonly y: number
|
|
57
|
-
readonly width: number
|
|
58
|
-
readonly height: number
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export type TextLayout = {
|
|
62
|
-
ascender: number
|
|
63
|
-
capHeight: number
|
|
64
|
-
descender: number
|
|
65
|
-
text: string
|
|
66
|
-
xHeight: number
|
|
67
|
-
} & Layout
|
|
68
|
-
|
|
69
|
-
export type LayoutEvent = React.SyntheticEvent
|
|
70
|
-
|
|
71
|
-
export type TextLayoutEvent = React.SyntheticEvent
|
|
72
|
-
|
|
73
|
-
export type PressEvent = ResponderSyntheticEvent<{
|
|
74
|
-
readonly changedTouches: ReadonlyArray<PressEvent['nativeEvent']>
|
|
75
|
-
readonly force: number
|
|
76
|
-
readonly identifier: number
|
|
77
|
-
readonly locationX: number
|
|
78
|
-
readonly locationY: number
|
|
79
|
-
readonly pageX: number
|
|
80
|
-
readonly pageY: number
|
|
81
|
-
readonly target: HTMLElement | null
|
|
82
|
-
readonly timestamp: number
|
|
83
|
-
readonly touches: ReadonlyArray<PressEvent['nativeEvent']>
|
|
84
|
-
}>
|
|
85
|
-
|
|
86
|
-
export type ScrollEvent = React.SyntheticEvent
|
|
87
|
-
|
|
88
|
-
export type SwitchChangeEvent = React.SyntheticEvent
|