@tamagui/react-native-web-lite 1.132.19 → 1.132.20
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/index.cjs +3 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +2 -1
- package/dist/esm/index.mjs.map +1 -1
- package/package.json +9 -17
- package/src/index.tsx +4 -0
- package/dist/cjs/AccessibilityInfo/index.native.js +0 -98
- package/dist/cjs/AccessibilityInfo/index.native.js.map +0 -6
- package/dist/cjs/ActivityIndicator/__tests__/index-test.native.js +0 -152
- package/dist/cjs/ActivityIndicator/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/ActivityIndicator/index.native.js +0 -124
- package/dist/cjs/ActivityIndicator/index.native.js.map +0 -6
- package/dist/cjs/Alert/index.native.js +0 -47
- package/dist/cjs/Alert/index.native.js.map +0 -6
- package/dist/cjs/AppRegistry/AppContainer.native.js +0 -53
- package/dist/cjs/AppRegistry/AppContainer.native.js.map +0 -6
- package/dist/cjs/AppRegistry/__tests__/index-test.native.js +0 -90
- package/dist/cjs/AppRegistry/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/AppRegistry/__tests__/index-test.node.native.js +0 -156
- package/dist/cjs/AppRegistry/__tests__/index-test.node.native.js.map +0 -6
- package/dist/cjs/AppRegistry/index.native.js +0 -138
- package/dist/cjs/AppRegistry/index.native.js.map +0 -6
- package/dist/cjs/AppRegistry/renderApplication.native.js +0 -69
- package/dist/cjs/AppRegistry/renderApplication.native.js.map +0 -6
- package/dist/cjs/AppState/__tests__/index-test.native.js +0 -40
- package/dist/cjs/AppState/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/AppState/index.native.js +0 -115
- package/dist/cjs/AppState/index.native.js.map +0 -6
- package/dist/cjs/Appearance/index.native.js +0 -46
- package/dist/cjs/Appearance/index.native.js.map +0 -6
- package/dist/cjs/BackHandler/index.native.js +0 -32
- package/dist/cjs/BackHandler/index.native.js.map +0 -6
- package/dist/cjs/Clipboard/index.native.js +0 -74
- package/dist/cjs/Clipboard/index.native.js.map +0 -6
- package/dist/cjs/DeviceEmitter.native.js +0 -30
- package/dist/cjs/DeviceEmitter.native.js.map +0 -6
- package/dist/cjs/DeviceInfo/index.native.js +0 -61
- package/dist/cjs/DeviceInfo/index.native.js.map +0 -6
- package/dist/cjs/Dimensions/__tests__/index-test.native.js +0 -54
- package/dist/cjs/Dimensions/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/Dimensions/index.native.js +0 -110
- package/dist/cjs/Dimensions/index.native.js.map +0 -6
- package/dist/cjs/FlatList.native.js +0 -256
- package/dist/cjs/FlatList.native.js.map +0 -6
- package/dist/cjs/I18nManager/index.native.js +0 -32
- package/dist/cjs/I18nManager/index.native.js.map +0 -6
- package/dist/cjs/Image/index.native.js +0 -259
- package/dist/cjs/Image/index.native.js.map +0 -6
- package/dist/cjs/Image/types.native.js +0 -15
- package/dist/cjs/Image/types.native.js.map +0 -6
- package/dist/cjs/ImageBackground/__tests__/index-test.native.js +0 -56
- package/dist/cjs/ImageBackground/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/ImageBackground/index.native.js +0 -61
- package/dist/cjs/ImageBackground/index.native.js.map +0 -6
- package/dist/cjs/InteractionManager/TaskQueue.native.js +0 -134
- package/dist/cjs/InteractionManager/TaskQueue.native.js.map +0 -6
- package/dist/cjs/InteractionManager/index.native.js +0 -99
- package/dist/cjs/InteractionManager/index.native.js.map +0 -6
- package/dist/cjs/Keyboard/index.native.js +0 -36
- package/dist/cjs/Keyboard/index.native.js.map +0 -6
- package/dist/cjs/KeyboardAvoidingView/index.native.js +0 -142
- package/dist/cjs/KeyboardAvoidingView/index.native.js.map +0 -6
- package/dist/cjs/Linking/__tests__/index-test.native.js +0 -39
- package/dist/cjs/Linking/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/Linking/index.native.js +0 -116
- package/dist/cjs/Linking/index.native.js.map +0 -6
- package/dist/cjs/LogBox/index.native.js +0 -31
- package/dist/cjs/LogBox/index.native.js.map +0 -6
- package/dist/cjs/Modal/ModalAnimation.native.js +0 -159
- package/dist/cjs/Modal/ModalAnimation.native.js.map +0 -6
- package/dist/cjs/Modal/ModalContent.native.js +0 -80
- package/dist/cjs/Modal/ModalContent.native.js.map +0 -6
- package/dist/cjs/Modal/ModalPortal.native.js +0 -44
- package/dist/cjs/Modal/ModalPortal.native.js.map +0 -6
- package/dist/cjs/Modal/index.native.js +0 -24
- package/dist/cjs/Modal/index.native.js.map +0 -6
- package/dist/cjs/NativeModules/index.native.js +0 -24
- package/dist/cjs/NativeModules/index.native.js.map +0 -6
- package/dist/cjs/PanResponder/Alternative.js +0 -151
- package/dist/cjs/PanResponder/Alternative.js.map +0 -6
- package/dist/cjs/PanResponder/index.native.js +0 -30
- package/dist/cjs/PanResponder/index.native.js.map +0 -6
- package/dist/cjs/PixelRatio/index.native.js +0 -100
- package/dist/cjs/PixelRatio/index.native.js.map +0 -6
- package/dist/cjs/Pressable/index.native.js +0 -125
- package/dist/cjs/Pressable/index.native.js.map +0 -6
- package/dist/cjs/RefreshControl/index.native.js +0 -51
- package/dist/cjs/RefreshControl/index.native.js.map +0 -6
- package/dist/cjs/SafeAreaView/index.native.js +0 -48
- package/dist/cjs/SafeAreaView/index.native.js.map +0 -6
- package/dist/cjs/ScrollView/ScrollViewBase.native.js +0 -114
- package/dist/cjs/ScrollView/ScrollViewBase.native.js.map +0 -6
- package/dist/cjs/ScrollView/index.native.js +0 -678
- package/dist/cjs/ScrollView/index.native.js.map +0 -6
- package/dist/cjs/SectionList.native.js +0 -30
- package/dist/cjs/SectionList.native.js.map +0 -6
- package/dist/cjs/Share/index.native.js +0 -77
- package/dist/cjs/Share/index.native.js.map +0 -6
- package/dist/cjs/StatusBar/index.native.js +0 -32
- package/dist/cjs/StatusBar/index.native.js.map +0 -6
- package/dist/cjs/Text/index.native.js +0 -130
- package/dist/cjs/Text/index.native.js.map +0 -6
- package/dist/cjs/Text/types.native.js +0 -15
- package/dist/cjs/Text/types.native.js.map +0 -6
- package/dist/cjs/TextInput/index.native.js +0 -220
- package/dist/cjs/TextInput/index.native.js.map +0 -6
- package/dist/cjs/TextInput/types.native.js +0 -15
- package/dist/cjs/TextInput/types.native.js.map +0 -6
- package/dist/cjs/TouchableNativeFeedback.native.js +0 -30
- package/dist/cjs/TouchableNativeFeedback.native.js.map +0 -6
- package/dist/cjs/TouchableOpacity.native.js +0 -108
- package/dist/cjs/TouchableOpacity.native.js.map +0 -6
- package/dist/cjs/TouchableWithoutFeedback.native.js +0 -80
- package/dist/cjs/TouchableWithoutFeedback.native.js.map +0 -6
- package/dist/cjs/UnimplementedView.native.js +0 -117
- package/dist/cjs/UnimplementedView.native.js.map +0 -6
- package/dist/cjs/Vibration/index.native.js +0 -32
- package/dist/cjs/Vibration/index.native.js.map +0 -6
- package/dist/cjs/View/index.native.js +0 -83
- package/dist/cjs/View/index.native.js.map +0 -6
- package/dist/cjs/View/types.native.js +0 -15
- package/dist/cjs/View/types.native.js.map +0 -6
- package/dist/cjs/VirtualizedList.native.js +0 -30
- package/dist/cjs/VirtualizedList.native.js.map +0 -6
- package/dist/cjs/createElement/__tests__/index-test.native.js +0 -561
- package/dist/cjs/createElement/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/createElement/index.native.js +0 -87
- package/dist/cjs/createElement/index.native.js.map +0 -6
- package/dist/cjs/createReactDOMStyle.native.js +0 -22
- package/dist/cjs/createReactDOMStyle.native.js.map +0 -6
- package/dist/cjs/index.native.js +0 -192
- package/dist/cjs/index.native.js.map +0 -6
- package/dist/cjs/modules/requestIdleCallback.native.js +0 -39
- package/dist/cjs/modules/requestIdleCallback.native.js.map +0 -6
- package/dist/cjs/render/index.native.js +0 -38
- package/dist/cjs/render/index.native.js.map +0 -6
- package/dist/cjs/styleTypes.native.js +0 -15
- package/dist/cjs/styleTypes.native.js.map +0 -6
- package/dist/cjs/types.native.js +0 -15
- package/dist/cjs/types.native.js.map +0 -6
- package/dist/cjs/useColorScheme/index.native.js +0 -40
- package/dist/cjs/useColorScheme/index.native.js.map +0 -6
- package/dist/cjs/useLocaleContext/index.native.js +0 -26
- package/dist/cjs/useLocaleContext/index.native.js.map +0 -6
- package/dist/cjs/useWindowDimensions/index.native.js +0 -44
- package/dist/cjs/useWindowDimensions/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/Animated.native.js +0 -38
- package/dist/cjs/vendor/react-native/Animated/Animated.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js +0 -174
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.native.js +0 -465
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.native.js +0 -132
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +0 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/Easing.native.js +0 -301
- package/dist/cjs/vendor/react-native/Animated/Easing.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.native.js +0 -374
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.native.js +0 -96
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +0 -91
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.native.js +0 -70
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.native.js +0 -104
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.native.js +0 -201
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.native.js +0 -290
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.native.js +0 -223
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/bezier.native.js +0 -72
- package/dist/cjs/vendor/react-native/Animated/bezier.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.native.js +0 -36
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.native.js +0 -30
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.native.js +0 -36
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.native.js +0 -36
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.native.js +0 -30
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.native.js +0 -30
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.native.js +0 -44
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +0 -163
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.native.js +0 -311
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +0 -164
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +0 -164
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +0 -259
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +0 -162
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +0 -163
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.native.js +0 -214
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.native.js +0 -220
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +0 -214
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +0 -163
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +0 -172
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +0 -205
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.native.js +0 -306
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +0 -197
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +0 -192
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.native.js +0 -111
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Batchinator/index.native.js +0 -83
- package/dist/cjs/vendor/react-native/Batchinator/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.native.js +0 -105
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js +0 -30
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/FeatureFlags.native.js +0 -45
- package/dist/cjs/vendor/react-native/FeatureFlags.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js +0 -159
- package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/FlatList/index.native.js +0 -352
- package/dist/cjs/vendor/react-native/FlatList/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.native.js +0 -69
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.native.js +0 -112
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/PanResponder/index.native.js +0 -84
- package/dist/cjs/vendor/react-native/PanResponder/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/PooledClass/index.native.js +0 -38
- package/dist/cjs/vendor/react-native/PooledClass/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js +0 -38
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/SectionList/index.native.js +0 -190
- package/dist/cjs/vendor/react-native/SectionList/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/StaticContainer/index.native.js +0 -110
- package/dist/cjs/vendor/react-native/StaticContainer/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/StaticRenderer/index.native.js +0 -109
- package/dist/cjs/vendor/react-native/StaticRenderer/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.native.js +0 -116
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.native.js +0 -34
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +0 -35
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.native.js +0 -173
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/Platform.native.js +0 -22
- package/dist/cjs/vendor/react-native/Utilities/Platform.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/clamp.native.js +0 -25
- package/dist/cjs/vendor/react-native/Utilities/clamp.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.native.js +0 -29
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.native.js +0 -46
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.native.js +0 -30
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.native.js +0 -205
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/ViewabilityHelper.native.js +0 -199
- package/dist/cjs/vendor/react-native/ViewabilityHelper.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js +0 -95
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js +0 -117
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js +0 -153
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +0 -163
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +0 -255
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +0 -86
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +0 -63
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js +0 -314
- package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.native.js +0 -219
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/deepDiffer/index.native.js +0 -48
- package/dist/cjs/vendor/react-native/deepDiffer/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.native.js +0 -30
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.native.js +0 -2
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.native.js +0 -113
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.native.js +0 -159
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.native.js +0 -50
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +0 -99
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/infoLog/index.native.js +0 -27
- package/dist/cjs/vendor/react-native/infoLog/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/useRefEffect.native.js +0 -30
- package/dist/cjs/vendor/react-native/useRefEffect.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.native.js +0 -163
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.native.js.map +0 -6
- package/dist/cjs/without-animated.native.js +0 -158
- package/dist/cjs/without-animated.native.js.map +0 -6
- package/dist/esm/AccessibilityInfo/index.native.js +0 -77
- package/dist/esm/AccessibilityInfo/index.native.js.map +0 -1
- package/dist/esm/ActivityIndicator/__tests__/index-test.native.js +0 -167
- package/dist/esm/ActivityIndicator/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/ActivityIndicator/index.native.js +0 -95
- package/dist/esm/ActivityIndicator/index.native.js.map +0 -1
- package/dist/esm/Alert/index.native.js +0 -26
- package/dist/esm/Alert/index.native.js.map +0 -1
- package/dist/esm/AppRegistry/AppContainer.native.js +0 -36
- package/dist/esm/AppRegistry/AppContainer.native.js.map +0 -1
- package/dist/esm/AppRegistry/__tests__/index-test.native.js +0 -72
- package/dist/esm/AppRegistry/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/AppRegistry/__tests__/index-test.node.native.js +0 -152
- package/dist/esm/AppRegistry/__tests__/index-test.node.native.js.map +0 -1
- package/dist/esm/AppRegistry/index.native.js +0 -110
- package/dist/esm/AppRegistry/index.native.js.map +0 -1
- package/dist/esm/AppRegistry/renderApplication.native.js +0 -51
- package/dist/esm/AppRegistry/renderApplication.native.js.map +0 -1
- package/dist/esm/AppState/__tests__/index-test.native.js +0 -19
- package/dist/esm/AppState/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/AppState/index.native.js +0 -92
- package/dist/esm/AppState/index.native.js.map +0 -1
- package/dist/esm/Appearance/index.native.js +0 -32
- package/dist/esm/Appearance/index.native.js.map +0 -1
- package/dist/esm/BackHandler/index.native.js +0 -13
- package/dist/esm/BackHandler/index.native.js.map +0 -1
- package/dist/esm/Clipboard/index.native.js +0 -52
- package/dist/esm/Clipboard/index.native.js.map +0 -1
- package/dist/esm/DeviceEmitter.native.js +0 -4
- package/dist/esm/DeviceEmitter.native.js.map +0 -1
- package/dist/esm/DeviceInfo/index.native.js +0 -46
- package/dist/esm/DeviceInfo/index.native.js.map +0 -1
- package/dist/esm/Dimensions/__tests__/index-test.native.js +0 -35
- package/dist/esm/Dimensions/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/Dimensions/index.native.js +0 -89
- package/dist/esm/Dimensions/index.native.js.map +0 -1
- package/dist/esm/FlatList.native.js +0 -244
- package/dist/esm/FlatList.native.js.map +0 -1
- package/dist/esm/I18nManager/index.native.js +0 -12
- package/dist/esm/I18nManager/index.native.js.map +0 -1
- package/dist/esm/Image/index.native.js +0 -266
- package/dist/esm/Image/index.native.js.map +0 -1
- package/dist/esm/Image/types.native.js +0 -2
- package/dist/esm/Image/types.native.js.map +0 -1
- package/dist/esm/ImageBackground/__tests__/index-test.native.js +0 -48
- package/dist/esm/ImageBackground/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/ImageBackground/index.native.js +0 -44
- package/dist/esm/ImageBackground/index.native.js.map +0 -1
- package/dist/esm/InteractionManager/TaskQueue.native.js +0 -112
- package/dist/esm/InteractionManager/TaskQueue.native.js.map +0 -1
- package/dist/esm/InteractionManager/index.native.js +0 -84
- package/dist/esm/InteractionManager/index.native.js.map +0 -1
- package/dist/esm/Keyboard/index.native.js +0 -16
- package/dist/esm/Keyboard/index.native.js.map +0 -1
- package/dist/esm/KeyboardAvoidingView/index.native.js +0 -109
- package/dist/esm/KeyboardAvoidingView/index.native.js.map +0 -1
- package/dist/esm/Linking/__tests__/index-test.native.js +0 -19
- package/dist/esm/Linking/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/Linking/index.native.js +0 -92
- package/dist/esm/Linking/index.native.js.map +0 -1
- package/dist/esm/LogBox/index.native.js +0 -9
- package/dist/esm/LogBox/index.native.js.map +0 -1
- package/dist/esm/Modal/ModalAnimation.native.js +0 -114
- package/dist/esm/Modal/ModalAnimation.native.js.map +0 -1
- package/dist/esm/Modal/ModalContent.native.js +0 -56
- package/dist/esm/Modal/ModalContent.native.js.map +0 -1
- package/dist/esm/Modal/ModalPortal.native.js +0 -19
- package/dist/esm/Modal/ModalPortal.native.js.map +0 -1
- package/dist/esm/Modal/index.native.js +0 -5
- package/dist/esm/Modal/index.native.js.map +0 -1
- package/dist/esm/NativeModules/index.native.js +0 -7
- package/dist/esm/NativeModules/index.native.js.map +0 -1
- package/dist/esm/PanResponder/Alternative.js +0 -163
- package/dist/esm/PanResponder/Alternative.js.map +0 -1
- package/dist/esm/PanResponder/index.native.js +0 -4
- package/dist/esm/PanResponder/index.native.js.map +0 -1
- package/dist/esm/PixelRatio/index.native.js +0 -64
- package/dist/esm/PixelRatio/index.native.js.map +0 -1
- package/dist/esm/Pressable/index.native.js +0 -109
- package/dist/esm/Pressable/index.native.js.map +0 -1
- package/dist/esm/RefreshControl/index.native.js +0 -25
- package/dist/esm/RefreshControl/index.native.js.map +0 -1
- package/dist/esm/SafeAreaView/index.native.js +0 -30
- package/dist/esm/SafeAreaView/index.native.js.map +0 -1
- package/dist/esm/ScrollView/ScrollViewBase.native.js +0 -103
- package/dist/esm/ScrollView/ScrollViewBase.native.js.map +0 -1
- package/dist/esm/ScrollView/index.native.js +0 -652
- package/dist/esm/ScrollView/index.native.js.map +0 -1
- package/dist/esm/SectionList.native.js +0 -4
- package/dist/esm/SectionList.native.js.map +0 -1
- package/dist/esm/Share/index.native.js +0 -53
- package/dist/esm/Share/index.native.js.map +0 -1
- package/dist/esm/StatusBar/index.native.js +0 -12
- package/dist/esm/StatusBar/index.native.js.map +0 -1
- package/dist/esm/Text/index.native.js +0 -137
- package/dist/esm/Text/index.native.js.map +0 -1
- package/dist/esm/Text/types.native.js +0 -2
- package/dist/esm/Text/types.native.js.map +0 -1
- package/dist/esm/TextInput/index.native.js +0 -263
- package/dist/esm/TextInput/index.native.js.map +0 -1
- package/dist/esm/TextInput/types.native.js +0 -2
- package/dist/esm/TextInput/types.native.js.map +0 -1
- package/dist/esm/TouchableNativeFeedback.native.js +0 -4
- package/dist/esm/TouchableNativeFeedback.native.js.map +0 -1
- package/dist/esm/TouchableOpacity.native.js +0 -83
- package/dist/esm/TouchableOpacity.native.js.map +0 -1
- package/dist/esm/TouchableWithoutFeedback.native.js +0 -62
- package/dist/esm/TouchableWithoutFeedback.native.js.map +0 -1
- package/dist/esm/UnimplementedView.native.js +0 -86
- package/dist/esm/UnimplementedView.native.js.map +0 -1
- package/dist/esm/Vibration/index.native.js +0 -15
- package/dist/esm/Vibration/index.native.js.map +0 -1
- package/dist/esm/View/index.native.js +0 -90
- package/dist/esm/View/index.native.js.map +0 -1
- package/dist/esm/View/types.native.js +0 -2
- package/dist/esm/View/types.native.js.map +0 -1
- package/dist/esm/VirtualizedList.native.js +0 -4
- package/dist/esm/VirtualizedList.native.js.map +0 -1
- package/dist/esm/createElement/__tests__/index-test.native.js +0 -747
- package/dist/esm/createElement/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/createElement/index.native.js +0 -68
- package/dist/esm/createElement/index.native.js.map +0 -1
- package/dist/esm/createReactDOMStyle.native.js +0 -4
- package/dist/esm/createReactDOMStyle.native.js.map +0 -1
- package/dist/esm/index.native.js +0 -58
- package/dist/esm/index.native.js.map +0 -1
- package/dist/esm/modules/requestIdleCallback.native.js +0 -20
- package/dist/esm/modules/requestIdleCallback.native.js.map +0 -1
- package/dist/esm/render/index.native.js +0 -6
- package/dist/esm/render/index.native.js.map +0 -1
- package/dist/esm/styleTypes.native.js +0 -2
- package/dist/esm/styleTypes.native.js.map +0 -1
- package/dist/esm/types.native.js +0 -2
- package/dist/esm/types.native.js.map +0 -1
- package/dist/esm/useColorScheme/index.native.js +0 -16
- package/dist/esm/useColorScheme/index.native.js.map +0 -1
- package/dist/esm/useLocaleContext/index.native.js +0 -3
- package/dist/esm/useLocaleContext/index.native.js.map +0 -1
- package/dist/esm/useWindowDimensions/index.native.js +0 -20
- package/dist/esm/useWindowDimensions/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/Animated.native.js +0 -21
- package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +0 -124
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +0 -487
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +0 -120
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +0 -2
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/Easing.native.js +0 -240
- package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +0 -321
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +0 -37
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +0 -34
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js +0 -53
- package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +0 -67
- package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +0 -165
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +0 -270
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +0 -186
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/bezier.native.js +0 -58
- package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.native.js +0 -14
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +0 -14
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.native.js +0 -14
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +0 -5
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +0 -5
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +0 -27
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +0 -124
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +0 -276
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +0 -129
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +0 -127
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +0 -221
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +0 -126
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +0 -124
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +0 -163
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +0 -182
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +0 -176
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +0 -124
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +0 -138
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +0 -169
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +0 -255
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +0 -159
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +0 -158
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +0 -82
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Batchinator/index.native.js +0 -61
- package/dist/esm/vendor/react-native/Batchinator/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.native.js +0 -72
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.native.js.map +0 -1
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js +0 -4
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js.map +0 -1
- package/dist/esm/vendor/react-native/FeatureFlags.native.js +0 -22
- package/dist/esm/vendor/react-native/FeatureFlags.native.js.map +0 -1
- package/dist/esm/vendor/react-native/FillRateHelper/index.native.js +0 -140
- package/dist/esm/vendor/react-native/FillRateHelper/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/FlatList/index.native.js +0 -330
- package/dist/esm/vendor/react-native/FlatList/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.native.js +0 -53
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/LayoutAnimation/index.native.js +0 -86
- package/dist/esm/vendor/react-native/LayoutAnimation/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/PanResponder/index.native.js +0 -78
- package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/PooledClass/index.native.js +0 -24
- package/dist/esm/vendor/react-native/PooledClass/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js +0 -20
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js.map +0 -1
- package/dist/esm/vendor/react-native/SectionList/index.native.js +0 -161
- package/dist/esm/vendor/react-native/SectionList/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/StaticContainer/index.native.js +0 -77
- package/dist/esm/vendor/react-native/StaticContainer/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/StaticRenderer/index.native.js +0 -76
- package/dist/esm/vendor/react-native/StaticRenderer/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js +0 -76
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +0 -10
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +0 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +0 -10
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +0 -136
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/Platform.native.js +0 -4
- package/dist/esm/vendor/react-native/Utilities/Platform.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/clamp.native.js +0 -6
- package/dist/esm/vendor/react-native/Utilities/clamp.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +0 -13
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.native.js +0 -25
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.native.js +0 -9
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.native.js.map +0 -1
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.native.js +0 -185
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/ViewabilityHelper.native.js +0 -180
- package/dist/esm/vendor/react-native/ViewabilityHelper.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js +0 -72
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js +0 -83
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js +0 -136
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +0 -132
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +0 -227
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +0 -55
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +0 -40
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/index.native.js +0 -338
- package/dist/esm/vendor/react-native/VirtualizedList/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.native.js +0 -204
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/deepDiffer/index.native.js +0 -19
- package/dist/esm/vendor/react-native/deepDiffer/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js +0 -4
- package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js +0 -2
- package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js +0 -79
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js +0 -126
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js +0 -29
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +0 -77
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +0 -1
- package/dist/esm/vendor/react-native/infoLog/index.native.js +0 -7
- package/dist/esm/vendor/react-native/infoLog/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/useRefEffect.native.js +0 -9
- package/dist/esm/vendor/react-native/useRefEffect.native.js.map +0 -1
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.native.js +0 -122
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.native.js.map +0 -1
- package/dist/esm/without-animated.native.js +0 -57
- package/dist/esm/without-animated.native.js.map +0 -1
|
@@ -1,652 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { Platform, StyleSheet, TextInputState, UIManager, dismissKeyboard, invariant, mergeRefs, warning } from "@tamagui/react-native-web-internals";
|
|
4
|
-
import Dimensions from "../Dimensions/index.native.js";
|
|
5
|
-
import View from "../View/index.native.js";
|
|
6
|
-
import ScrollViewBase from "./ScrollViewBase.native.js";
|
|
7
|
-
function _assert_this_initialized(self) {
|
|
8
|
-
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
9
|
-
return self;
|
|
10
|
-
}
|
|
11
|
-
function _call_super(_this, derived, args) {
|
|
12
|
-
return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
13
|
-
}
|
|
14
|
-
function _class_call_check(instance, Constructor) {
|
|
15
|
-
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
16
|
-
}
|
|
17
|
-
function _defineProperties(target, props) {
|
|
18
|
-
for (var i = 0; i < props.length; i++) {
|
|
19
|
-
var descriptor = props[i];
|
|
20
|
-
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
24
|
-
return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
|
|
25
|
-
}
|
|
26
|
-
function _define_property(obj, key, value) {
|
|
27
|
-
return key in obj ? Object.defineProperty(obj, key, {
|
|
28
|
-
value,
|
|
29
|
-
enumerable: !0,
|
|
30
|
-
configurable: !0,
|
|
31
|
-
writable: !0
|
|
32
|
-
}) : obj[key] = value, obj;
|
|
33
|
-
}
|
|
34
|
-
function _get_prototype_of(o) {
|
|
35
|
-
return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function (o2) {
|
|
36
|
-
return o2.__proto__ || Object.getPrototypeOf(o2);
|
|
37
|
-
}, _get_prototype_of(o);
|
|
38
|
-
}
|
|
39
|
-
function _inherits(subClass, superClass) {
|
|
40
|
-
if (typeof superClass != "function" && superClass !== null) throw new TypeError("Super expression must either be null or a function");
|
|
41
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
42
|
-
constructor: {
|
|
43
|
-
value: subClass,
|
|
44
|
-
writable: !0,
|
|
45
|
-
configurable: !0
|
|
46
|
-
}
|
|
47
|
-
}), superClass && _set_prototype_of(subClass, superClass);
|
|
48
|
-
}
|
|
49
|
-
function _possible_constructor_return(self, call) {
|
|
50
|
-
return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
|
|
51
|
-
}
|
|
52
|
-
function _set_prototype_of(o, p) {
|
|
53
|
-
return _set_prototype_of = Object.setPrototypeOf || function (o2, p2) {
|
|
54
|
-
return o2.__proto__ = p2, o2;
|
|
55
|
-
}, _set_prototype_of(o, p);
|
|
56
|
-
}
|
|
57
|
-
function _type_of(obj) {
|
|
58
|
-
"@swc/helpers - typeof";
|
|
59
|
-
|
|
60
|
-
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
61
|
-
}
|
|
62
|
-
function _is_native_reflect_construct() {
|
|
63
|
-
try {
|
|
64
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
65
|
-
} catch {}
|
|
66
|
-
return (_is_native_reflect_construct = function () {
|
|
67
|
-
return !!result;
|
|
68
|
-
})();
|
|
69
|
-
}
|
|
70
|
-
var emptyObject = {},
|
|
71
|
-
IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
|
|
72
|
-
ScrollView = /* @__PURE__ */function (_React_Component) {
|
|
73
|
-
"use strict";
|
|
74
|
-
|
|
75
|
-
_inherits(ScrollView2, _React_Component);
|
|
76
|
-
function ScrollView2() {
|
|
77
|
-
_class_call_check(this, ScrollView2);
|
|
78
|
-
var _this;
|
|
79
|
-
return _this = _call_super(this, ScrollView2, arguments), _define_property(_this, "_scrollNodeRef", void 0), _define_property(_this, "_innerViewRef", void 0), _define_property(_this, "keyboardWillOpenTo", null), _define_property(_this, "additionalScrollOffset", 0), _define_property(_this, "preventNegativeScrollOffset", !1), _define_property(_this, "isTouching", !1), _define_property(_this, "lastMomentumScrollBeginTime", 0), _define_property(_this, "lastMomentumScrollEndTime", 0),
|
|
80
|
-
// Reset to false every time becomes responder. This is used to:
|
|
81
|
-
// - Determine if the scroll view has been scrolled and therefore should
|
|
82
|
-
// refuse to give up its responder lock.
|
|
83
|
-
// - Determine if releasing should dismiss the keyboard when we are in
|
|
84
|
-
// tap-to-dismiss mode (!this.props.keyboardShouldPersistTaps).
|
|
85
|
-
_define_property(_this, "observedScrollSinceBecomingResponder", !1), _define_property(_this, "becameResponderWhileAnimating", !1), _define_property(_this, "flashScrollIndicators", function () {
|
|
86
|
-
_this.scrollResponderFlashScrollIndicators();
|
|
87
|
-
}),
|
|
88
|
-
/**
|
|
89
|
-
* Scrolls to a given x, y offset, either immediately or with a smooth animation.
|
|
90
|
-
* Syntax:
|
|
91
|
-
*
|
|
92
|
-
* scrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})
|
|
93
|
-
*
|
|
94
|
-
* Note: The weird argument signature is due to the fact that, for historical reasons,
|
|
95
|
-
* the function also accepts separate arguments as as alternative to the options object.
|
|
96
|
-
* This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
|
|
97
|
-
*/
|
|
98
|
-
_define_property(_this, "scrollTo", function (y, x, animated) {
|
|
99
|
-
typeof y == "number" ? console.warn("`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.") : {
|
|
100
|
-
x,
|
|
101
|
-
y,
|
|
102
|
-
animated
|
|
103
|
-
} = y || emptyObject, _this.scrollResponderScrollTo({
|
|
104
|
-
x: x || 0,
|
|
105
|
-
y: y || 0,
|
|
106
|
-
animated: animated !== !1
|
|
107
|
-
});
|
|
108
|
-
}),
|
|
109
|
-
/**
|
|
110
|
-
* If this is a vertical ScrollView scrolls to the bottom.
|
|
111
|
-
* If this is a horizontal ScrollView scrolls to the right.
|
|
112
|
-
*
|
|
113
|
-
* Use `scrollToEnd({ animated: true })` for smooth animated scrolling,
|
|
114
|
-
* `scrollToEnd({ animated: false })` for immediate scrolling.
|
|
115
|
-
* If no options are passed, `animated` defaults to true.
|
|
116
|
-
*/
|
|
117
|
-
_define_property(_this, "scrollToEnd", function (options) {
|
|
118
|
-
var animated = (options && options.animated) !== !1,
|
|
119
|
-
{
|
|
120
|
-
horizontal
|
|
121
|
-
} = _this.props,
|
|
122
|
-
scrollResponderNode = _this.getScrollableNode(),
|
|
123
|
-
x = horizontal ? scrollResponderNode.scrollWidth : 0,
|
|
124
|
-
y = horizontal ? 0 : scrollResponderNode.scrollHeight;
|
|
125
|
-
_this.scrollResponderScrollTo({
|
|
126
|
-
x,
|
|
127
|
-
y,
|
|
128
|
-
animated
|
|
129
|
-
});
|
|
130
|
-
}),
|
|
131
|
-
/**
|
|
132
|
-
* A helper function to scroll to a specific point in the scrollview.
|
|
133
|
-
* This is currently used to help focus on child textviews, but can also
|
|
134
|
-
* be used to quickly scroll to any element we want to focus. Syntax:
|
|
135
|
-
*
|
|
136
|
-
* scrollResponderScrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})
|
|
137
|
-
*
|
|
138
|
-
* Note: The weird argument signature is due to the fact that, for historical reasons,
|
|
139
|
-
* the function also accepts separate arguments as as alternative to the options object.
|
|
140
|
-
* This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
|
|
141
|
-
*/
|
|
142
|
-
_define_property(_this, "scrollResponderScrollTo", function (x, y, animated) {
|
|
143
|
-
typeof x == "number" ? console.warn("`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead.") : {
|
|
144
|
-
x,
|
|
145
|
-
y,
|
|
146
|
-
animated
|
|
147
|
-
} = x || emptyObject;
|
|
148
|
-
var node = _this.getScrollableNode(),
|
|
149
|
-
left = x || 0,
|
|
150
|
-
top = y || 0;
|
|
151
|
-
node != null && (typeof node.scroll == "function" ? node.scroll({
|
|
152
|
-
top,
|
|
153
|
-
left,
|
|
154
|
-
behavior: animated ? "smooth" : "auto"
|
|
155
|
-
}) : (node.scrollLeft = left, node.scrollTop = top));
|
|
156
|
-
}),
|
|
157
|
-
/**
|
|
158
|
-
* A helper function to zoom to a specific rect in the scrollview. The argument has the shape
|
|
159
|
-
* {x: number; y: number; width: number; height: number; animated: boolean = true}
|
|
160
|
-
*
|
|
161
|
-
* @platform ios
|
|
162
|
-
*/
|
|
163
|
-
_define_property(_this, "scrollResponderZoomTo", function (rect, animated) {
|
|
164
|
-
Platform.OS !== "ios" && invariant("zoomToRect is not implemented");
|
|
165
|
-
}),
|
|
166
|
-
/**
|
|
167
|
-
* This method should be used as the callback to onFocus in a TextInputs'
|
|
168
|
-
* parent view. Note that any module using this mixin needs to return
|
|
169
|
-
* the parent view's ref in getScrollViewRef() in order to use this method.
|
|
170
|
-
* @param {any} nodeHandle The TextInput node handle
|
|
171
|
-
* @param {number} additionalOffset The scroll view's top "contentInset".
|
|
172
|
-
* Default is 0.
|
|
173
|
-
* @param {bool} preventNegativeScrolling Whether to allow pulling the content
|
|
174
|
-
* down to make it meet the keyboard's top. Default is false.
|
|
175
|
-
*/
|
|
176
|
-
_define_property(_this, "scrollResponderScrollNativeHandleToKeyboard", function (nodeHandle, additionalOffset, preventNegativeScrollOffset) {
|
|
177
|
-
_this.additionalScrollOffset = additionalOffset || 0, _this.preventNegativeScrollOffset = !!preventNegativeScrollOffset, UIManager.measureLayout(nodeHandle, _this.getInnerViewNode(), _this.scrollResponderTextInputFocusError, _this.scrollResponderInputMeasureAndScrollToKeyboard);
|
|
178
|
-
}),
|
|
179
|
-
/**
|
|
180
|
-
* The calculations performed here assume the scroll view takes up the entire
|
|
181
|
-
* screen - even if has some content inset. We then measure the offsets of the
|
|
182
|
-
* keyboard, and compensate both for the scroll view's "contentInset".
|
|
183
|
-
*
|
|
184
|
-
* @param {number} left Position of input w.r.t. table view.
|
|
185
|
-
* @param {number} top Position of input w.r.t. table view.
|
|
186
|
-
* @param {number} width Width of the text input.
|
|
187
|
-
* @param {number} height Height of the text input.
|
|
188
|
-
*/
|
|
189
|
-
_define_property(_this, "scrollResponderInputMeasureAndScrollToKeyboard", function (left, top, width, height) {
|
|
190
|
-
var keyboardScreenY = Dimensions.get("window").height;
|
|
191
|
-
_this.keyboardWillOpenTo && (keyboardScreenY = _this.keyboardWillOpenTo.endCoordinates.screenY);
|
|
192
|
-
var scrollOffsetY = top - keyboardScreenY + height + _this.additionalScrollOffset;
|
|
193
|
-
_this.preventNegativeScrollOffset && (scrollOffsetY = Math.max(0, scrollOffsetY)), _this.scrollResponderScrollTo({
|
|
194
|
-
x: 0,
|
|
195
|
-
y: scrollOffsetY,
|
|
196
|
-
animated: !0
|
|
197
|
-
}), _this.additionalScrollOffset = 0, _this.preventNegativeScrollOffset = !1;
|
|
198
|
-
}),
|
|
199
|
-
/**
|
|
200
|
-
* Warning, this may be called several times for a single keyboard opening.
|
|
201
|
-
* It's best to store the information in this method and then take any action
|
|
202
|
-
* at a later point (either in `keyboardDidShow` or other).
|
|
203
|
-
*
|
|
204
|
-
* Here's the order that events occur in:
|
|
205
|
-
* - focus
|
|
206
|
-
* - willShow {startCoordinates, endCoordinates} several times
|
|
207
|
-
* - didShow several times
|
|
208
|
-
* - blur
|
|
209
|
-
* - willHide {startCoordinates, endCoordinates} several times
|
|
210
|
-
* - didHide several times
|
|
211
|
-
*
|
|
212
|
-
* The `ScrollResponder` providesModule callbacks for each of these events.
|
|
213
|
-
* Even though any user could have easily listened to keyboard events
|
|
214
|
-
* themselves, using these `props` callbacks ensures that ordering of events
|
|
215
|
-
* is consistent - and not dependent on the order that the keyboard events are
|
|
216
|
-
* subscribed to. This matters when telling the scroll view to scroll to where
|
|
217
|
-
* the keyboard is headed - the scroll responder better have been notified of
|
|
218
|
-
* the keyboard destination before being instructed to scroll to where the
|
|
219
|
-
* keyboard will be. Stick to the `ScrollResponder` callbacks, and everything
|
|
220
|
-
* will work.
|
|
221
|
-
*
|
|
222
|
-
* WARNING: These callbacks will fire even if a keyboard is displayed in a
|
|
223
|
-
* different navigation pane. Filter out the events to determine if they are
|
|
224
|
-
* relevant to you. (For example, only if you receive these callbacks after
|
|
225
|
-
* you had explicitly focused a node etc).
|
|
226
|
-
*/
|
|
227
|
-
_define_property(_this, "scrollResponderKeyboardWillShow", function (e) {
|
|
228
|
-
_this.keyboardWillOpenTo = e, _this.props.onKeyboardWillShow && _this.props.onKeyboardWillShow(e);
|
|
229
|
-
}), _define_property(_this, "scrollResponderKeyboardWillHide", function (e) {
|
|
230
|
-
_this.keyboardWillOpenTo = null, _this.props.onKeyboardWillHide && _this.props.onKeyboardWillHide(e);
|
|
231
|
-
}), _define_property(_this, "scrollResponderKeyboardDidShow", function (e) {
|
|
232
|
-
e && (_this.keyboardWillOpenTo = e), _this.props.onKeyboardDidShow && _this.props.onKeyboardDidShow(e);
|
|
233
|
-
}), _define_property(_this, "scrollResponderKeyboardDidHide", function (e) {
|
|
234
|
-
_this.keyboardWillOpenTo = null, _this.props.onKeyboardDidHide && _this.props.onKeyboardDidHide(e);
|
|
235
|
-
}), _this;
|
|
236
|
-
}
|
|
237
|
-
return _create_class(ScrollView2, [{
|
|
238
|
-
/**
|
|
239
|
-
* Returns a reference to the underlying scroll responder, which supports
|
|
240
|
-
* operations like `scrollTo`. All ScrollView-like components should
|
|
241
|
-
* implement this method so that they can be composed while providing access
|
|
242
|
-
* to the underlying scroll responder's methods.
|
|
243
|
-
*/
|
|
244
|
-
key: "getScrollResponder",
|
|
245
|
-
value: function () {
|
|
246
|
-
return this;
|
|
247
|
-
}
|
|
248
|
-
}, {
|
|
249
|
-
key: "getScrollableNode",
|
|
250
|
-
value: function () {
|
|
251
|
-
return this._scrollNodeRef;
|
|
252
|
-
}
|
|
253
|
-
}, {
|
|
254
|
-
key: "getInnerViewRef",
|
|
255
|
-
value: function () {
|
|
256
|
-
return this._innerViewRef;
|
|
257
|
-
}
|
|
258
|
-
}, {
|
|
259
|
-
key: "getInnerViewNode",
|
|
260
|
-
value: function () {
|
|
261
|
-
return this._innerViewRef;
|
|
262
|
-
}
|
|
263
|
-
}, {
|
|
264
|
-
key: "getNativeScrollRef",
|
|
265
|
-
value: function () {
|
|
266
|
-
return this._scrollNodeRef;
|
|
267
|
-
}
|
|
268
|
-
}, {
|
|
269
|
-
key: "render",
|
|
270
|
-
value: function () {
|
|
271
|
-
var {
|
|
272
|
-
contentContainerStyle,
|
|
273
|
-
horizontal,
|
|
274
|
-
onContentSizeChange,
|
|
275
|
-
refreshControl,
|
|
276
|
-
stickyHeaderIndices,
|
|
277
|
-
pagingEnabled,
|
|
278
|
-
/* eslint-disable */
|
|
279
|
-
forwardedRef,
|
|
280
|
-
keyboardDismissMode,
|
|
281
|
-
onScroll,
|
|
282
|
-
centerContent,
|
|
283
|
-
/* eslint-enable */
|
|
284
|
-
...other
|
|
285
|
-
} = this.props;
|
|
286
|
-
if (process.env.NODE_ENV !== "production" && this.props.style) {
|
|
287
|
-
var style = StyleSheet.flatten(this.props.style),
|
|
288
|
-
childLayoutProps = ["alignItems", "justifyContent"].filter(function (prop) {
|
|
289
|
-
return style && style[prop] !== void 0;
|
|
290
|
-
});
|
|
291
|
-
invariant(childLayoutProps.length === 0, `ScrollView child layout (${JSON.stringify(childLayoutProps)}) must be applied through the contentContainerStyle prop.`);
|
|
292
|
-
}
|
|
293
|
-
var contentSizeChangeProps = {};
|
|
294
|
-
onContentSizeChange && (contentSizeChangeProps = {
|
|
295
|
-
onLayout: this._handleContentOnLayout.bind(this)
|
|
296
|
-
});
|
|
297
|
-
var hasStickyHeaderIndices = !horizontal && Array.isArray(stickyHeaderIndices),
|
|
298
|
-
children = hasStickyHeaderIndices || pagingEnabled ? React.Children.map(this.props.children, function (child, i) {
|
|
299
|
-
var isSticky = hasStickyHeaderIndices && stickyHeaderIndices.indexOf(i) > -1;
|
|
300
|
-
return child != null && (isSticky || pagingEnabled) ? /* @__PURE__ */_jsx(View, {
|
|
301
|
-
style: StyleSheet.compose(isSticky && styles.stickyHeader, pagingEnabled && styles.pagingEnabledChild),
|
|
302
|
-
children: child
|
|
303
|
-
}) : child;
|
|
304
|
-
}) : this.props.children,
|
|
305
|
-
contentContainer = /* @__PURE__ */_jsx(View, {
|
|
306
|
-
...contentSizeChangeProps,
|
|
307
|
-
// @ts-ignore
|
|
308
|
-
collapsable: !1,
|
|
309
|
-
ref: this._setInnerViewRef.bind(this),
|
|
310
|
-
style: [horizontal && styles.contentContainerHorizontal, centerContent && styles.contentContainerCenterContent, contentContainerStyle],
|
|
311
|
-
children
|
|
312
|
-
}),
|
|
313
|
-
baseStyle = horizontal ? styles.baseHorizontal : styles.baseVertical,
|
|
314
|
-
pagingEnabledStyle = horizontal ? styles.pagingEnabledHorizontal : styles.pagingEnabledVertical,
|
|
315
|
-
props = {
|
|
316
|
-
...other,
|
|
317
|
-
style: [baseStyle, pagingEnabled && pagingEnabledStyle, this.props.style],
|
|
318
|
-
onTouchStart: this.scrollResponderHandleTouchStart.bind(this),
|
|
319
|
-
onTouchMove: this.scrollResponderHandleTouchMove.bind(this),
|
|
320
|
-
onTouchEnd: this.scrollResponderHandleTouchEnd.bind(this),
|
|
321
|
-
onScrollBeginDrag: this.scrollResponderHandleScrollBeginDrag.bind(this),
|
|
322
|
-
onScrollEndDrag: this.scrollResponderHandleScrollEndDrag.bind(this),
|
|
323
|
-
onMomentumScrollBegin: this.scrollResponderHandleMomentumScrollBegin.bind(this),
|
|
324
|
-
onMomentumScrollEnd: this.scrollResponderHandleMomentumScrollEnd.bind(this),
|
|
325
|
-
onStartShouldSetResponder: this.scrollResponderHandleStartShouldSetResponder.bind(this),
|
|
326
|
-
onStartShouldSetResponderCapture: this.scrollResponderHandleStartShouldSetResponderCapture.bind(this),
|
|
327
|
-
onScrollShouldSetResponder: this.scrollResponderHandleScrollShouldSetResponder.bind(this),
|
|
328
|
-
onScroll: this._handleScroll.bind(this),
|
|
329
|
-
onResponderGrant: this.scrollResponderHandleResponderGrant.bind(this),
|
|
330
|
-
onResponderTerminationRequest: this.scrollResponderHandleTerminationRequest.bind(this),
|
|
331
|
-
onResponderRelease: this.scrollResponderHandleResponderRelease.bind(this),
|
|
332
|
-
onResponderReject: this.scrollResponderHandleResponderReject.bind(this),
|
|
333
|
-
onResponderTerminate: this.scrollResponderHandleTerminate.bind(this)
|
|
334
|
-
},
|
|
335
|
-
ScrollViewClass = ScrollViewBase;
|
|
336
|
-
invariant(ScrollViewClass !== void 0, "ScrollViewClass must not be undefined");
|
|
337
|
-
var scrollView = /* @__PURE__ */_jsx(ScrollViewClass, {
|
|
338
|
-
...props,
|
|
339
|
-
ref: this._setScrollNodeRef.bind(this),
|
|
340
|
-
children: contentContainer
|
|
341
|
-
});
|
|
342
|
-
return refreshControl ? /* @__PURE__ */React.cloneElement(refreshControl, {
|
|
343
|
-
style: props.style
|
|
344
|
-
}, scrollView) : scrollView;
|
|
345
|
-
}
|
|
346
|
-
}, {
|
|
347
|
-
key: "_handleContentOnLayout",
|
|
348
|
-
value: function (e) {
|
|
349
|
-
var _this_props_onContentSizeChange,
|
|
350
|
-
_this_props,
|
|
351
|
-
{
|
|
352
|
-
width,
|
|
353
|
-
height
|
|
354
|
-
} = e.nativeEvent.layout;
|
|
355
|
-
(_this_props_onContentSizeChange = (_this_props = this.props).onContentSizeChange) === null || _this_props_onContentSizeChange === void 0 || _this_props_onContentSizeChange.call(_this_props, width, height);
|
|
356
|
-
}
|
|
357
|
-
}, {
|
|
358
|
-
key: "_handleScroll",
|
|
359
|
-
value: function (e) {
|
|
360
|
-
process.env.NODE_ENV !== "production" && this.props.onScroll && this.props.scrollEventThrottle == null && console.info("You specified `onScroll` on a <ScrollView> but not `scrollEventThrottle`. You will only receive one event. Using `16` you get all the events but be aware that it may cause frame drops, use a bigger number if you don't need as much precision."), this.props.keyboardDismissMode === "on-drag" && dismissKeyboard(), this.scrollResponderHandleScroll(e);
|
|
361
|
-
}
|
|
362
|
-
}, {
|
|
363
|
-
key: "_setInnerViewRef",
|
|
364
|
-
value: function (node) {
|
|
365
|
-
this._innerViewRef = node;
|
|
366
|
-
}
|
|
367
|
-
}, {
|
|
368
|
-
key: "_setScrollNodeRef",
|
|
369
|
-
value: function (node) {
|
|
370
|
-
this._scrollNodeRef = node, node != null && (node.getScrollResponder = this.getScrollResponder, node.getInnerViewNode = this.getInnerViewNode, node.getInnerViewRef = this.getInnerViewRef, node.getNativeScrollRef = this.getNativeScrollRef, node.getScrollableNode = this.getScrollableNode, node.scrollTo = this.scrollTo, node.scrollToEnd = this.scrollToEnd, node.flashScrollIndicators = this.flashScrollIndicators, node.scrollResponderZoomTo = this.scrollResponderZoomTo, node.scrollResponderScrollNativeHandleToKeyboard = this.scrollResponderScrollNativeHandleToKeyboard);
|
|
371
|
-
var ref = mergeRefs(this.props.forwardedRef);
|
|
372
|
-
ref(node);
|
|
373
|
-
}
|
|
374
|
-
}, {
|
|
375
|
-
/**
|
|
376
|
-
* Invoke this from an `onScroll` event.
|
|
377
|
-
*/
|
|
378
|
-
key: "scrollResponderHandleScrollShouldSetResponder",
|
|
379
|
-
value: function () {
|
|
380
|
-
return this.isTouching;
|
|
381
|
-
}
|
|
382
|
-
}, {
|
|
383
|
-
/**
|
|
384
|
-
* Merely touch starting is not sufficient for a scroll view to become the
|
|
385
|
-
* responder. Being the "responder" means that the very next touch move/end
|
|
386
|
-
* event will result in an action/movement.
|
|
387
|
-
*
|
|
388
|
-
* Invoke this from an `onStartShouldSetResponder` event.
|
|
389
|
-
*
|
|
390
|
-
* `onStartShouldSetResponder` is used when the next move/end will trigger
|
|
391
|
-
* some UI movement/action, but when you want to yield priority to views
|
|
392
|
-
* nested inside of the view.
|
|
393
|
-
*
|
|
394
|
-
* There may be some cases where scroll views actually should return `true`
|
|
395
|
-
* from `onStartShouldSetResponder`: Any time we are detecting a standard tap
|
|
396
|
-
* that gives priority to nested views.
|
|
397
|
-
*
|
|
398
|
-
* - If a single tap on the scroll view triggers an action such as
|
|
399
|
-
* recentering a map style view yet wants to give priority to interaction
|
|
400
|
-
* views inside (such as dropped pins or labels), then we would return true
|
|
401
|
-
* from this method when there is a single touch.
|
|
402
|
-
*
|
|
403
|
-
* - Similar to the previous case, if a two finger "tap" should trigger a
|
|
404
|
-
* zoom, we would check the `touches` count, and if `>= 2`, we would return
|
|
405
|
-
* true.
|
|
406
|
-
*
|
|
407
|
-
*/
|
|
408
|
-
key: "scrollResponderHandleStartShouldSetResponder",
|
|
409
|
-
value: function () {
|
|
410
|
-
return !1;
|
|
411
|
-
}
|
|
412
|
-
}, {
|
|
413
|
-
/**
|
|
414
|
-
* There are times when the scroll view wants to become the responder
|
|
415
|
-
* (meaning respond to the next immediate `touchStart/touchEnd`), in a way
|
|
416
|
-
* that *doesn't* give priority to nested views (hence the capture phase):
|
|
417
|
-
*
|
|
418
|
-
* - Currently animating.
|
|
419
|
-
* - Tapping anywhere that is not the focused input, while the keyboard is
|
|
420
|
-
* up (which should dismiss the keyboard).
|
|
421
|
-
*
|
|
422
|
-
* Invoke this from an `onStartShouldSetResponderCapture` event.
|
|
423
|
-
*/
|
|
424
|
-
key: "scrollResponderHandleStartShouldSetResponderCapture",
|
|
425
|
-
value: function (e) {
|
|
426
|
-
return this.scrollResponderIsAnimating();
|
|
427
|
-
}
|
|
428
|
-
}, {
|
|
429
|
-
/**
|
|
430
|
-
* Invoke this from an `onResponderReject` event.
|
|
431
|
-
*
|
|
432
|
-
* Some other element is not yielding its role as responder. Normally, we'd
|
|
433
|
-
* just disable the `UIScrollView`, but a touch has already began on it, the
|
|
434
|
-
* `UIScrollView` will not accept being disabled after that. The easiest
|
|
435
|
-
* solution for now is to accept the limitation of disallowing this
|
|
436
|
-
* altogether. To improve this, find a way to disable the `UIScrollView` after
|
|
437
|
-
* a touch has already started.
|
|
438
|
-
*/
|
|
439
|
-
key: "scrollResponderHandleResponderReject",
|
|
440
|
-
value: function () {
|
|
441
|
-
warning(!1, "ScrollView doesn't take rejection well - scrolls anyway");
|
|
442
|
-
}
|
|
443
|
-
}, {
|
|
444
|
-
/**
|
|
445
|
-
* We will allow the scroll view to give up its lock iff it acquired the lock
|
|
446
|
-
* during an animation. This is a very useful default that happens to satisfy
|
|
447
|
-
* many common user experiences.
|
|
448
|
-
*
|
|
449
|
-
* - Stop a scroll on the left edge, then turn that into an outer view's
|
|
450
|
-
* backswipe.
|
|
451
|
-
* - Stop a scroll mid-bounce at the top, continue pulling to have the outer
|
|
452
|
-
* view dismiss.
|
|
453
|
-
* - However, without catching the scroll view mid-bounce (while it is
|
|
454
|
-
* motionless), if you drag far enough for the scroll view to become
|
|
455
|
-
* responder (and therefore drag the scroll view a bit), any backswipe
|
|
456
|
-
* navigation of a swipe gesture higher in the view hierarchy, should be
|
|
457
|
-
* rejected.
|
|
458
|
-
*/
|
|
459
|
-
key: "scrollResponderHandleTerminationRequest",
|
|
460
|
-
value: function () {
|
|
461
|
-
return !this.observedScrollSinceBecomingResponder;
|
|
462
|
-
}
|
|
463
|
-
}, {
|
|
464
|
-
/**
|
|
465
|
-
* Invoke this from an `onTouchEnd` event.
|
|
466
|
-
*
|
|
467
|
-
* @param {SyntheticEvent} e Event.
|
|
468
|
-
*/
|
|
469
|
-
key: "scrollResponderHandleTouchEnd",
|
|
470
|
-
value: function (e) {
|
|
471
|
-
var nativeEvent = e.nativeEvent;
|
|
472
|
-
this.isTouching = nativeEvent.touches.length !== 0, this.props.onTouchEnd && this.props.onTouchEnd(e);
|
|
473
|
-
}
|
|
474
|
-
}, {
|
|
475
|
-
/**
|
|
476
|
-
* Invoke this from an `onResponderRelease` event.
|
|
477
|
-
*/
|
|
478
|
-
key: "scrollResponderHandleResponderRelease",
|
|
479
|
-
value: function (e) {
|
|
480
|
-
this.props.onResponderRelease && this.props.onResponderRelease(e);
|
|
481
|
-
var currentlyFocusedTextInput = TextInputState.currentlyFocusedField();
|
|
482
|
-
!this.props.keyboardShouldPersistTaps && currentlyFocusedTextInput != null && e.target !== currentlyFocusedTextInput && !this.observedScrollSinceBecomingResponder && !this.becameResponderWhileAnimating && (this.props.onScrollResponderKeyboardDismissed && this.props.onScrollResponderKeyboardDismissed(e), TextInputState.blurTextInput(currentlyFocusedTextInput));
|
|
483
|
-
}
|
|
484
|
-
}, {
|
|
485
|
-
key: "scrollResponderHandleScroll",
|
|
486
|
-
value: function (e) {
|
|
487
|
-
this.observedScrollSinceBecomingResponder = !0, this.props.onScroll && this.props.onScroll(e);
|
|
488
|
-
}
|
|
489
|
-
}, {
|
|
490
|
-
/**
|
|
491
|
-
* Invoke this from an `onResponderGrant` event.
|
|
492
|
-
*/
|
|
493
|
-
key: "scrollResponderHandleResponderGrant",
|
|
494
|
-
value: function (e) {
|
|
495
|
-
this.observedScrollSinceBecomingResponder = !1, this.props.onResponderGrant && this.props.onResponderGrant(e), this.becameResponderWhileAnimating = this.scrollResponderIsAnimating();
|
|
496
|
-
}
|
|
497
|
-
}, {
|
|
498
|
-
/**
|
|
499
|
-
* Unfortunately, `onScrollBeginDrag` also fires when *stopping* the scroll
|
|
500
|
-
* animation, and there's not an easy way to distinguish a drag vs. stopping
|
|
501
|
-
* momentum.
|
|
502
|
-
*
|
|
503
|
-
* Invoke this from an `onScrollBeginDrag` event.
|
|
504
|
-
*/
|
|
505
|
-
key: "scrollResponderHandleScrollBeginDrag",
|
|
506
|
-
value: function (e) {
|
|
507
|
-
this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);
|
|
508
|
-
}
|
|
509
|
-
}, {
|
|
510
|
-
/**
|
|
511
|
-
* Invoke this from an `onScrollEndDrag` event.
|
|
512
|
-
*/
|
|
513
|
-
key: "scrollResponderHandleScrollEndDrag",
|
|
514
|
-
value: function (e) {
|
|
515
|
-
this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);
|
|
516
|
-
}
|
|
517
|
-
}, {
|
|
518
|
-
/**
|
|
519
|
-
* Invoke this from an `onMomentumScrollBegin` event.
|
|
520
|
-
*/
|
|
521
|
-
key: "scrollResponderHandleMomentumScrollBegin",
|
|
522
|
-
value: function (e) {
|
|
523
|
-
this.lastMomentumScrollBeginTime = Date.now(), this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);
|
|
524
|
-
}
|
|
525
|
-
}, {
|
|
526
|
-
/**
|
|
527
|
-
* Invoke this from an `onMomentumScrollEnd` event.
|
|
528
|
-
*/
|
|
529
|
-
key: "scrollResponderHandleMomentumScrollEnd",
|
|
530
|
-
value: function (e) {
|
|
531
|
-
this.lastMomentumScrollEndTime = Date.now(), this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);
|
|
532
|
-
}
|
|
533
|
-
}, {
|
|
534
|
-
/**
|
|
535
|
-
* Invoke this from an `onTouchStart` event.
|
|
536
|
-
*
|
|
537
|
-
* Since we know that the `SimpleEventPlugin` occurs later in the plugin
|
|
538
|
-
* order, after `ResponderEventPlugin`, we can detect that we were *not*
|
|
539
|
-
* permitted to be the responder (presumably because a contained view became
|
|
540
|
-
* responder). The `onResponderReject` won't fire in that case - it only
|
|
541
|
-
* fires when a *current* responder rejects our request.
|
|
542
|
-
*
|
|
543
|
-
* @param {SyntheticEvent} e Touch Start event.
|
|
544
|
-
*/
|
|
545
|
-
key: "scrollResponderHandleTouchStart",
|
|
546
|
-
value: function (e) {
|
|
547
|
-
this.isTouching = !0, this.props.onTouchStart && this.props.onTouchStart(e);
|
|
548
|
-
}
|
|
549
|
-
}, {
|
|
550
|
-
/**
|
|
551
|
-
* Invoke this from an `onTouchMove` event.
|
|
552
|
-
*
|
|
553
|
-
* Since we know that the `SimpleEventPlugin` occurs later in the plugin
|
|
554
|
-
* order, after `ResponderEventPlugin`, we can detect that we were *not*
|
|
555
|
-
* permitted to be the responder (presumably because a contained view became
|
|
556
|
-
* responder). The `onResponderReject` won't fire in that case - it only
|
|
557
|
-
* fires when a *current* responder rejects our request.
|
|
558
|
-
*
|
|
559
|
-
* @param {SyntheticEvent} e Touch Start event.
|
|
560
|
-
*/
|
|
561
|
-
key: "scrollResponderHandleTouchMove",
|
|
562
|
-
value: function (e) {
|
|
563
|
-
this.props.onTouchMove && this.props.onTouchMove(e);
|
|
564
|
-
}
|
|
565
|
-
}, {
|
|
566
|
-
key: "scrollResponderHandleTerminate",
|
|
567
|
-
value: function (e) {
|
|
568
|
-
this.props.onResponderTerminate && this.props.onResponderTerminate(e);
|
|
569
|
-
}
|
|
570
|
-
}, {
|
|
571
|
-
/**
|
|
572
|
-
* A helper function for this class that lets us quickly determine if the
|
|
573
|
-
* view is currently animating. This is particularly useful to know when
|
|
574
|
-
* a touch has just started or ended.
|
|
575
|
-
*/
|
|
576
|
-
key: "scrollResponderIsAnimating",
|
|
577
|
-
value: function () {
|
|
578
|
-
var now = Date.now(),
|
|
579
|
-
timeSinceLastMomentumScrollEnd = now - this.lastMomentumScrollEndTime,
|
|
580
|
-
isAnimating = timeSinceLastMomentumScrollEnd < IS_ANIMATING_TOUCH_START_THRESHOLD_MS || this.lastMomentumScrollEndTime < this.lastMomentumScrollBeginTime;
|
|
581
|
-
return isAnimating;
|
|
582
|
-
}
|
|
583
|
-
}, {
|
|
584
|
-
/**
|
|
585
|
-
* Displays the scroll indicators momentarily.
|
|
586
|
-
*/
|
|
587
|
-
key: "scrollResponderFlashScrollIndicators",
|
|
588
|
-
value: function () {}
|
|
589
|
-
}, {
|
|
590
|
-
key: "scrollResponderTextInputFocusError",
|
|
591
|
-
value: function (e) {
|
|
592
|
-
console.error("Error measuring text field: ", e);
|
|
593
|
-
}
|
|
594
|
-
}]), ScrollView2;
|
|
595
|
-
}(React.Component),
|
|
596
|
-
commonStyle = {
|
|
597
|
-
flexGrow: 1,
|
|
598
|
-
flexShrink: 1,
|
|
599
|
-
// Enable hardware compositing in modern browsers.
|
|
600
|
-
// Creates a new layer with its own backing surface that can significantly
|
|
601
|
-
// improve scroll performance.
|
|
602
|
-
transform: [{
|
|
603
|
-
translateZ: 0
|
|
604
|
-
}],
|
|
605
|
-
// iOS native scrolling
|
|
606
|
-
WebkitOverflowScrolling: "touch"
|
|
607
|
-
},
|
|
608
|
-
styles = {
|
|
609
|
-
baseVertical: {
|
|
610
|
-
...commonStyle,
|
|
611
|
-
flexDirection: "column",
|
|
612
|
-
overflowX: "hidden",
|
|
613
|
-
overflowY: "auto"
|
|
614
|
-
},
|
|
615
|
-
baseHorizontal: {
|
|
616
|
-
...commonStyle,
|
|
617
|
-
flexDirection: "row",
|
|
618
|
-
overflowX: "auto",
|
|
619
|
-
overflowY: "hidden"
|
|
620
|
-
},
|
|
621
|
-
contentContainerHorizontal: {
|
|
622
|
-
flexDirection: "row"
|
|
623
|
-
},
|
|
624
|
-
contentContainerCenterContent: {
|
|
625
|
-
justifyContent: "center",
|
|
626
|
-
flexGrow: 1
|
|
627
|
-
},
|
|
628
|
-
stickyHeader: {
|
|
629
|
-
position: "sticky",
|
|
630
|
-
top: 0,
|
|
631
|
-
zIndex: 10
|
|
632
|
-
},
|
|
633
|
-
pagingEnabledHorizontal: {
|
|
634
|
-
scrollSnapType: "x mandatory"
|
|
635
|
-
},
|
|
636
|
-
pagingEnabledVertical: {
|
|
637
|
-
scrollSnapType: "y mandatory"
|
|
638
|
-
},
|
|
639
|
-
pagingEnabledChild: {
|
|
640
|
-
scrollSnapAlign: "start"
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
ForwardedScrollView = /* @__PURE__ */React.forwardRef(function (props, forwardedRef) {
|
|
644
|
-
return /* @__PURE__ */_jsx(ScrollView, {
|
|
645
|
-
...props,
|
|
646
|
-
forwardedRef
|
|
647
|
-
});
|
|
648
|
-
});
|
|
649
|
-
ForwardedScrollView.displayName = "ScrollView";
|
|
650
|
-
var ScrollView_default = ForwardedScrollView;
|
|
651
|
-
export { ScrollView_default as default };
|
|
652
|
-
//# sourceMappingURL=index.native.js.map
|