@hanzogui/react-native-web-lite 8.3.1 → 8.3.3
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/AccessibilityInfo/index.js +102 -0
- package/dist/cjs/AccessibilityInfo/index.js.map +1 -0
- package/dist/cjs/ActivityIndicator/index.js +74 -0
- package/dist/cjs/ActivityIndicator/index.js.map +1 -0
- package/dist/cjs/Alert/index.js +16 -0
- package/dist/cjs/Alert/index.js.map +1 -0
- package/dist/cjs/AppRegistry/AppContainer.js +34 -0
- package/dist/cjs/AppRegistry/AppContainer.js.map +1 -0
- package/dist/cjs/AppRegistry/index.js +88 -0
- package/dist/cjs/AppRegistry/index.js.map +1 -0
- package/dist/cjs/AppRegistry/renderApplication.js +32 -0
- package/dist/cjs/AppRegistry/renderApplication.js.map +1 -0
- package/dist/cjs/AppState/index.js +78 -0
- package/dist/cjs/AppState/index.js.map +1 -0
- package/dist/cjs/Appearance/index.js +46 -0
- package/dist/cjs/Appearance/index.js.map +1 -0
- package/dist/cjs/BackHandler/index.js +23 -0
- package/dist/cjs/BackHandler/index.js.map +1 -0
- package/dist/cjs/Clipboard/index.js +58 -0
- package/dist/cjs/Clipboard/index.js.map +1 -0
- package/dist/cjs/DeviceEmitter.js +6 -0
- package/dist/cjs/DeviceEmitter.js.map +1 -0
- package/dist/cjs/DeviceInfo/index.js +53 -0
- package/dist/cjs/DeviceInfo/index.js.map +1 -0
- package/dist/cjs/Dimensions/index.js +99 -0
- package/dist/cjs/Dimensions/index.js.map +1 -0
- package/dist/cjs/FlatList.js +185 -0
- package/dist/cjs/FlatList.js.map +1 -0
- package/dist/cjs/I18nManager/index.js +24 -0
- package/dist/cjs/I18nManager/index.js.map +1 -0
- package/dist/cjs/Image/index.js +300 -0
- package/dist/cjs/Image/index.js.map +1 -0
- package/dist/cjs/Image/types.js +12 -0
- package/dist/cjs/Image/types.js.map +1 -0
- package/dist/cjs/ImageBackground/index.js +36 -0
- package/dist/cjs/ImageBackground/index.js.map +1 -0
- package/dist/cjs/InteractionManager/TaskQueue.js +90 -0
- package/dist/cjs/InteractionManager/TaskQueue.js.map +1 -0
- package/dist/cjs/InteractionManager/index.js +124 -0
- package/dist/cjs/InteractionManager/index.js.map +1 -0
- package/dist/cjs/Keyboard/index.js +24 -0
- package/dist/cjs/Keyboard/index.js.map +1 -0
- package/dist/cjs/KeyboardAvoidingView/index.js +45 -0
- package/dist/cjs/KeyboardAvoidingView/index.js.map +1 -0
- package/dist/cjs/Libraries/Pressability/Pressability.js +5 -0
- package/dist/cjs/Libraries/Pressability/Pressability.js.map +1 -0
- package/dist/cjs/Libraries/Pressability/usePressability.js +5 -0
- package/dist/cjs/Libraries/Pressability/usePressability.js.map +1 -0
- package/dist/cjs/Linking/index.js +96 -0
- package/dist/cjs/Linking/index.js.map +1 -0
- package/dist/cjs/LogBox/index.js +19 -0
- package/dist/cjs/LogBox/index.js.map +1 -0
- package/dist/cjs/Modal/ModalAnimation.js +162 -0
- package/dist/cjs/Modal/ModalAnimation.js.map +1 -0
- package/dist/cjs/Modal/ModalContent.js +66 -0
- package/dist/cjs/Modal/ModalContent.js.map +1 -0
- package/dist/cjs/Modal/ModalPortal.js +41 -0
- package/dist/cjs/Modal/ModalPortal.js.map +1 -0
- package/dist/cjs/Modal/index.js +6 -0
- package/dist/cjs/Modal/index.js.map +1 -0
- package/dist/cjs/NativeModules/index.js +17 -0
- package/dist/cjs/NativeModules/index.js.map +1 -0
- package/dist/cjs/PanResponder/Alternative.js +268 -0
- package/dist/cjs/PanResponder/Alternative.js.map +1 -0
- package/dist/cjs/PanResponder/index.js +7 -0
- package/dist/cjs/PanResponder/index.js.map +1 -0
- package/dist/cjs/PixelRatio/index.js +49 -0
- package/dist/cjs/PixelRatio/index.js.map +1 -0
- package/dist/cjs/Pressable/index.js +121 -0
- package/dist/cjs/Pressable/index.js.map +1 -0
- package/dist/cjs/RefreshControl/index.js +15 -0
- package/dist/cjs/RefreshControl/index.js.map +1 -0
- package/dist/cjs/SafeAreaView/index.js +42 -0
- package/dist/cjs/SafeAreaView/index.js.map +1 -0
- package/dist/cjs/ScrollView/ScrollViewBase.js +133 -0
- package/dist/cjs/ScrollView/ScrollViewBase.js.map +1 -0
- package/dist/cjs/ScrollView/index.js +612 -0
- package/dist/cjs/ScrollView/index.js.map +1 -0
- package/dist/cjs/SectionList.js +15 -0
- package/dist/cjs/SectionList.js.map +1 -0
- package/dist/cjs/Share/index.js +46 -0
- package/dist/cjs/Share/index.js.map +1 -0
- package/dist/cjs/StatusBar/index.js +22 -0
- package/dist/cjs/StatusBar/index.js.map +1 -0
- package/dist/cjs/Text/index.js +149 -0
- package/dist/cjs/Text/index.js.map +1 -0
- package/dist/cjs/Text/types.js +12 -0
- package/dist/cjs/Text/types.js.map +1 -0
- package/dist/cjs/TextInput/index.js +340 -0
- package/dist/cjs/TextInput/index.js.map +1 -0
- package/dist/cjs/TextInput/types.js +11 -0
- package/dist/cjs/TextInput/types.js.map +1 -0
- package/dist/cjs/TouchableNativeFeedback.js +12 -0
- package/dist/cjs/TouchableNativeFeedback.js.map +1 -0
- package/dist/cjs/TouchableOpacity.js +100 -0
- package/dist/cjs/TouchableOpacity.js.map +1 -0
- package/dist/cjs/TouchableWithoutFeedback.js +73 -0
- package/dist/cjs/TouchableWithoutFeedback.js.map +1 -0
- package/dist/cjs/UnimplementedView.js +21 -0
- package/dist/cjs/UnimplementedView.js.map +1 -0
- package/dist/cjs/Vibration/index.js +26 -0
- package/dist/cjs/Vibration/index.js.map +1 -0
- package/dist/cjs/View/index.js +92 -0
- package/dist/cjs/View/index.js.map +1 -0
- package/dist/cjs/View/types.js +12 -0
- package/dist/cjs/View/types.js.map +1 -0
- package/dist/cjs/VirtualizedList.js +15 -0
- package/dist/cjs/VirtualizedList.js.map +1 -0
- package/dist/cjs/codegenNativeCommand.js +9 -0
- package/dist/cjs/codegenNativeCommand.js.map +1 -0
- package/dist/cjs/codegenNativeComponent.js +9 -0
- package/dist/cjs/codegenNativeComponent.js.map +1 -0
- package/dist/cjs/createElement/index.js +62 -0
- package/dist/cjs/createElement/index.js.map +1 -0
- package/dist/cjs/createReactDOMStyle.js +7 -0
- package/dist/cjs/createReactDOMStyle.js.map +1 -0
- package/dist/cjs/index.js +150 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/modules/requestIdleCallback.js +31 -0
- package/dist/cjs/modules/requestIdleCallback.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/preprocess.js +10 -0
- package/dist/cjs/preprocess.js.map +1 -0
- package/dist/cjs/render/index.js +19 -0
- package/dist/cjs/render/index.js.map +1 -0
- package/dist/cjs/styleTypes.js +11 -0
- package/dist/cjs/styleTypes.js.map +1 -0
- package/dist/cjs/types.js +11 -0
- package/dist/cjs/types.js.map +1 -0
- package/dist/cjs/useColorScheme/index.js +27 -0
- package/dist/cjs/useColorScheme/index.js.map +1 -0
- package/dist/cjs/useLocaleContext/index.js +14 -0
- package/dist/cjs/useLocaleContext/index.js.map +1 -0
- package/dist/cjs/useWindowDimensions/index.js +35 -0
- package/dist/cjs/useWindowDimensions/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/Animated.js +33 -0
- package/dist/cjs/vendor/react-native/Animated/Animated.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +155 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +557 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +136 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +11 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/Easing.js +228 -0
- package/dist/cjs/vendor/react-native/Animated/Easing.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +465 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +56 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +53 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +78 -0
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +57 -0
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +69 -0
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +237 -0
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +112 -0
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/bezier.js +120 -0
- package/dist/cjs/vendor/react-native/Animated/bezier.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js +24 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +19 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +24 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js +24 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +17 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +17 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +36 -0
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +50 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +263 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +55 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +68 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +256 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +48 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +50 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +152 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +145 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +129 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +50 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +75 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +114 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +257 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +94 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +72 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +1 -0
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +146 -0
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js.map +1 -0
- package/dist/cjs/vendor/react-native/Batchinator/index.js +73 -0
- package/dist/cjs/vendor/react-native/Batchinator/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js +70 -0
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +1 -0
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +23 -0
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +1 -0
- package/dist/cjs/vendor/react-native/FeatureFlags.js +12 -0
- package/dist/cjs/vendor/react-native/FeatureFlags.js.map +1 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js +194 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/FlatList/index.js +418 -0
- package/dist/cjs/vendor/react-native/FlatList/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js +81 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.js +109 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/PanResponder/index.js +192 -0
- package/dist/cjs/vendor/react-native/PanResponder/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.js +60 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +22 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +1 -0
- package/dist/cjs/vendor/react-native/SectionList/index.js +83 -0
- package/dist/cjs/vendor/react-native/SectionList/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.js +41 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.js +25 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +113 -0
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +36 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js.map +1 -0
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +24 -0
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +1 -0
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +141 -0
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js.map +1 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.js +7 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.js.map +1 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.js +23 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +1 -0
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +59 -0
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js.map +1 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js +39 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js.map +1 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js +41 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js.map +1 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js +189 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper.js +155 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper.js.map +1 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js +166 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +118 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +1 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js +65 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +1 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +77 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +1 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +130 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +1 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +79 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +1 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +48 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +1 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js +255 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js +115 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.js +70 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +16 -0
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.js.map +1 -0
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +11 -0
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.js.map +1 -0
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +46 -0
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js.map +1 -0
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +144 -0
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js.map +1 -0
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +34 -0
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js.map +1 -0
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +85 -0
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +1 -0
- package/dist/cjs/vendor/react-native/infoLog/index.js +20 -0
- package/dist/cjs/vendor/react-native/infoLog/index.js.map +1 -0
- package/dist/cjs/vendor/react-native/useRefEffect.js +41 -0
- package/dist/cjs/vendor/react-native/useRefEffect.js.map +1 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js +119 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js.map +1 -0
- package/dist/cjs/without-animated.js +297 -0
- package/dist/cjs/without-animated.js.map +1 -0
- package/dist/esm/AccessibilityInfo/index.js +99 -0
- package/dist/esm/AccessibilityInfo/index.js.map +1 -0
- package/dist/esm/ActivityIndicator/index.js +70 -0
- package/dist/esm/ActivityIndicator/index.js.map +1 -0
- package/dist/esm/Alert/index.js +12 -0
- package/dist/esm/Alert/index.js.map +1 -0
- package/dist/esm/AppRegistry/AppContainer.js +30 -0
- package/dist/esm/AppRegistry/AppContainer.js.map +1 -0
- package/dist/esm/AppRegistry/index.js +84 -0
- package/dist/esm/AppRegistry/index.js.map +1 -0
- package/dist/esm/AppRegistry/renderApplication.js +28 -0
- package/dist/esm/AppRegistry/renderApplication.js.map +1 -0
- package/dist/esm/AppState/index.js +74 -0
- package/dist/esm/AppState/index.js.map +1 -0
- package/dist/esm/Appearance/index.js +43 -0
- package/dist/esm/Appearance/index.js.map +1 -0
- package/dist/esm/BackHandler/index.js +20 -0
- package/dist/esm/BackHandler/index.js.map +1 -0
- package/dist/esm/Clipboard/index.js +54 -0
- package/dist/esm/Clipboard/index.js.map +1 -0
- package/dist/esm/DeviceEmitter.js +3 -0
- package/dist/esm/DeviceEmitter.js.map +1 -0
- package/dist/esm/DeviceInfo/index.js +50 -0
- package/dist/esm/DeviceInfo/index.js.map +1 -0
- package/dist/esm/Dimensions/index.js +95 -0
- package/dist/esm/Dimensions/index.js.map +1 -0
- package/dist/esm/FlatList.js +181 -0
- package/dist/esm/FlatList.js.map +1 -0
- package/dist/esm/I18nManager/index.js +21 -0
- package/dist/esm/I18nManager/index.js.map +1 -0
- package/dist/esm/Image/index.js +296 -0
- package/dist/esm/Image/index.js.map +1 -0
- package/dist/esm/Image/types.js +11 -0
- package/dist/esm/Image/types.js.map +1 -0
- package/dist/esm/ImageBackground/index.js +33 -0
- package/dist/esm/ImageBackground/index.js.map +1 -0
- package/dist/esm/InteractionManager/TaskQueue.js +86 -0
- package/dist/esm/InteractionManager/TaskQueue.js.map +1 -0
- package/dist/esm/InteractionManager/index.js +120 -0
- package/dist/esm/InteractionManager/index.js.map +1 -0
- package/dist/esm/Keyboard/index.js +21 -0
- package/dist/esm/Keyboard/index.js.map +1 -0
- package/dist/esm/KeyboardAvoidingView/index.js +40 -0
- package/dist/esm/KeyboardAvoidingView/index.js.map +1 -0
- package/dist/esm/Libraries/Pressability/Pressability.js +3 -0
- package/dist/esm/Libraries/Pressability/Pressability.js.map +1 -0
- package/dist/esm/Libraries/Pressability/usePressability.js +3 -0
- package/dist/esm/Libraries/Pressability/usePressability.js.map +1 -0
- package/dist/esm/Linking/index.js +93 -0
- package/dist/esm/Linking/index.js.map +1 -0
- package/dist/esm/LogBox/index.js +16 -0
- package/dist/esm/LogBox/index.js.map +1 -0
- package/dist/esm/Modal/ModalAnimation.js +158 -0
- package/dist/esm/Modal/ModalAnimation.js.map +1 -0
- package/dist/esm/Modal/ModalContent.js +62 -0
- package/dist/esm/Modal/ModalContent.js.map +1 -0
- package/dist/esm/Modal/ModalPortal.js +37 -0
- package/dist/esm/Modal/ModalPortal.js.map +1 -0
- package/dist/esm/Modal/index.js +2 -0
- package/dist/esm/Modal/index.js.map +1 -0
- package/dist/esm/NativeModules/index.js +14 -0
- package/dist/esm/NativeModules/index.js.map +1 -0
- package/dist/esm/PanResponder/Alternative.js +265 -0
- package/dist/esm/PanResponder/Alternative.js.map +1 -0
- package/dist/esm/PanResponder/index.js +2 -0
- package/dist/esm/PanResponder/index.js.map +1 -0
- package/dist/esm/PixelRatio/index.js +45 -0
- package/dist/esm/PixelRatio/index.js.map +1 -0
- package/dist/esm/Pressable/index.js +118 -0
- package/dist/esm/Pressable/index.js.map +1 -0
- package/dist/esm/RefreshControl/index.js +12 -0
- package/dist/esm/RefreshControl/index.js.map +1 -0
- package/dist/esm/SafeAreaView/index.js +38 -0
- package/dist/esm/SafeAreaView/index.js.map +1 -0
- package/dist/esm/ScrollView/ScrollViewBase.js +129 -0
- package/dist/esm/ScrollView/ScrollViewBase.js.map +1 -0
- package/dist/esm/ScrollView/index.js +608 -0
- package/dist/esm/ScrollView/index.js.map +1 -0
- package/dist/esm/SectionList.js +9 -0
- package/dist/esm/SectionList.js.map +1 -0
- package/dist/esm/Share/index.js +42 -0
- package/dist/esm/Share/index.js.map +1 -0
- package/dist/esm/StatusBar/index.js +19 -0
- package/dist/esm/StatusBar/index.js.map +1 -0
- package/dist/esm/Text/index.js +145 -0
- package/dist/esm/Text/index.js.map +1 -0
- package/dist/esm/Text/types.js +11 -0
- package/dist/esm/Text/types.js.map +1 -0
- package/dist/esm/TextInput/index.js +336 -0
- package/dist/esm/TextInput/index.js.map +1 -0
- package/dist/esm/TextInput/types.js +10 -0
- package/dist/esm/TextInput/types.js.map +1 -0
- package/dist/esm/TouchableNativeFeedback.js +8 -0
- package/dist/esm/TouchableNativeFeedback.js.map +1 -0
- package/dist/esm/TouchableOpacity.js +97 -0
- package/dist/esm/TouchableOpacity.js.map +1 -0
- package/dist/esm/TouchableWithoutFeedback.js +69 -0
- package/dist/esm/TouchableWithoutFeedback.js.map +1 -0
- package/dist/esm/UnimplementedView.js +16 -0
- package/dist/esm/UnimplementedView.js.map +1 -0
- package/dist/esm/Vibration/index.js +23 -0
- package/dist/esm/Vibration/index.js.map +1 -0
- package/dist/esm/View/index.js +88 -0
- package/dist/esm/View/index.js.map +1 -0
- package/dist/esm/View/types.js +11 -0
- package/dist/esm/View/types.js.map +1 -0
- package/dist/esm/VirtualizedList.js +9 -0
- package/dist/esm/VirtualizedList.js.map +1 -0
- package/dist/esm/codegenNativeCommand.js +6 -0
- package/dist/esm/codegenNativeCommand.js.map +1 -0
- package/dist/esm/codegenNativeComponent.js +6 -0
- package/dist/esm/codegenNativeComponent.js.map +1 -0
- package/dist/esm/createElement/index.js +56 -0
- package/dist/esm/createElement/index.js.map +1 -0
- package/dist/esm/createReactDOMStyle.js +4 -0
- package/dist/esm/createReactDOMStyle.js.map +1 -0
- package/dist/esm/index.js +66 -59
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/modules/requestIdleCallback.js +28 -0
- package/dist/esm/modules/requestIdleCallback.js.map +1 -0
- package/dist/esm/preprocess.js +2 -0
- package/dist/esm/preprocess.js.map +1 -0
- package/dist/esm/render/index.js +13 -0
- package/dist/esm/render/index.js.map +1 -0
- package/dist/esm/styleTypes.js +10 -0
- package/dist/esm/styleTypes.js.map +1 -0
- package/dist/esm/types.js +10 -0
- package/dist/esm/types.js.map +1 -0
- package/dist/esm/useColorScheme/index.js +23 -0
- package/dist/esm/useColorScheme/index.js.map +1 -0
- package/dist/esm/useLocaleContext/index.js +10 -0
- package/dist/esm/useLocaleContext/index.js.map +1 -0
- package/dist/esm/useWindowDimensions/index.js +31 -0
- package/dist/esm/useWindowDimensions/index.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/Animated.js +30 -0
- package/dist/esm/vendor/react-native/Animated/Animated.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +151 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js +554 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.js +134 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js +11 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/Easing.js +226 -0
- package/dist/esm/vendor/react-native/Animated/Easing.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js +447 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js +50 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js +47 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/SpringConfig.js +75 -0
- package/dist/esm/vendor/react-native/Animated/SpringConfig.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/Animation.js +55 -0
- package/dist/esm/vendor/react-native/Animated/animations/Animation.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js +67 -0
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js +235 -0
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js +109 -0
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/bezier.js +119 -0
- package/dist/esm/vendor/react-native/Animated/bezier.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js +20 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js +15 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js +20 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js +20 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js +14 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js +14 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js +33 -0
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js +48 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js +260 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +52 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js +66 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +254 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js +45 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +48 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js +150 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js +142 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js +126 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +48 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js +72 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js +112 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js +255 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js +91 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +70 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js +145 -0
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js.map +1 -0
- package/dist/esm/vendor/react-native/Batchinator/index.js +71 -0
- package/dist/esm/vendor/react-native/Batchinator/index.js.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js +68 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +20 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +1 -0
- package/dist/esm/vendor/react-native/FeatureFlags.js +9 -0
- package/dist/esm/vendor/react-native/FeatureFlags.js.map +1 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.js +191 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +1 -0
- package/dist/esm/vendor/react-native/FlatList/index.js +414 -0
- package/dist/esm/vendor/react-native/FlatList/index.js.map +1 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js +79 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js.map +1 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.js +107 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.js.map +1 -0
- package/dist/esm/vendor/react-native/PanResponder/index.js +188 -0
- package/dist/esm/vendor/react-native/PanResponder/index.js.map +1 -0
- package/dist/esm/vendor/react-native/PooledClass/index.js +57 -0
- package/dist/esm/vendor/react-native/PooledClass/index.js.map +1 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +19 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +1 -0
- package/dist/esm/vendor/react-native/SectionList/index.js +79 -0
- package/dist/esm/vendor/react-native/SectionList/index.js.map +1 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.js +38 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.js.map +1 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.js +22 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.js.map +1 -0
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.js +110 -0
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.js.map +1 -0
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.js +34 -0
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.js.map +1 -0
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js +21 -0
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +1 -0
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.js +139 -0
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.js.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.js +4 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.js.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.js +22 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.js.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js +58 -0
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js +37 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.js +39 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.js.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.js +187 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.js.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.js +152 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.js +160 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +114 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js +62 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +73 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +126 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +72 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +45 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.js +252 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js +111 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js.map +1 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.js +68 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.js.map +1 -0
- package/dist/esm/vendor/react-native/emitter/EventEmitter.js +14 -0
- package/dist/esm/vendor/react-native/emitter/EventEmitter.js.map +1 -0
- package/dist/esm/vendor/react-native/emitter/EventSubscription.js +11 -0
- package/dist/esm/vendor/react-native/emitter/EventSubscription.js.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js +44 -0
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.js +141 -0
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.js.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.js +32 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.js.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js +83 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +1 -0
- package/dist/esm/vendor/react-native/infoLog/index.js +19 -0
- package/dist/esm/vendor/react-native/infoLog/index.js.map +1 -0
- package/dist/esm/vendor/react-native/useRefEffect.js +39 -0
- package/dist/esm/vendor/react-native/useRefEffect.js.map +1 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js +114 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js.map +1 -0
- package/dist/esm/without-animated.js +217 -0
- package/dist/esm/without-animated.js.map +1 -0
- package/package.json +93 -60
- package/src/ActivityIndicator/__tests__/index-test.tsx +1 -1
- package/src/ActivityIndicator/index.tsx +2 -2
- package/src/AppRegistry/AppContainer.tsx +1 -1
- package/src/AppRegistry/__tests__/index-test.node.tsx +2 -2
- package/src/AppRegistry/__tests__/index-test.tsx +1 -1
- package/src/AppRegistry/index.tsx +1 -1
- package/src/AppRegistry/renderApplication.tsx +2 -2
- package/src/AppState/__tests__/index-test.tsx +1 -1
- package/src/DeviceEmitter.ts +1 -1
- package/src/DeviceInfo/index.tsx +2 -2
- package/src/Dimensions/__tests__/index-test.tsx +1 -1
- package/src/FlatList.tsx +7 -7
- package/src/Image/index.tsx +4 -4
- package/src/Image/types.tsx +3 -3
- package/src/ImageBackground/__tests__/index-test.tsx +2 -2
- package/src/ImageBackground/index.tsx +4 -4
- package/src/InteractionManager/index.tsx +4 -4
- package/src/KeyboardAvoidingView/index.tsx +3 -3
- package/src/Linking/__tests__/index-test.tsx +1 -1
- package/src/Modal/ModalAnimation.js +1 -1
- package/src/Modal/ModalContent.js +1 -1
- package/src/PanResponder/Alternative.tsx +1 -1
- package/src/PanResponder/index.tsx +1 -1
- package/src/PixelRatio/index.tsx +1 -1
- package/src/Pressable/index.tsx +2 -2
- package/src/RefreshControl/index.tsx +3 -3
- package/src/SafeAreaView/index.tsx +2 -2
- package/src/ScrollView/ScrollViewBase.tsx +2 -2
- package/src/ScrollView/index.tsx +3 -3
- package/src/SectionList.tsx +2 -2
- package/src/Text/index.tsx +3 -3
- package/src/Text/types.tsx +2 -2
- package/src/TextInput/index.tsx +3 -3
- package/src/TextInput/types.tsx +3 -3
- package/src/TouchableNativeFeedback.tsx +1 -1
- package/src/TouchableOpacity.tsx +1 -1
- package/src/UnimplementedView.tsx +1 -1
- package/src/View/index.tsx +3 -3
- package/src/View/types.tsx +2 -2
- package/src/VirtualizedList.tsx +2 -2
- package/src/createElement/__tests__/index-test.tsx +1 -1
- package/src/index.tsx +48 -48
- package/src/styleTypes.ts +1 -1
- package/src/useColorScheme/index.tsx +2 -2
- package/src/useWindowDimensions/index.tsx +2 -2
- package/src/vendor/react-native/Animated/Animated.js +8 -8
- package/src/vendor/react-native/Animated/AnimatedEvent.js +3 -3
- package/src/vendor/react-native/Animated/AnimatedImplementation.js +18 -18
- package/src/vendor/react-native/Animated/AnimatedMock.js +8 -8
- package/src/vendor/react-native/Animated/Easing.js +1 -1
- package/src/vendor/react-native/Animated/NativeAnimatedHelper.js +6 -6
- package/src/vendor/react-native/Animated/NativeAnimatedModule.js +1 -1
- package/src/vendor/react-native/Animated/NativeAnimatedTurboModule.js +1 -1
- package/src/vendor/react-native/Animated/animations/Animation.js +1 -1
- package/src/vendor/react-native/Animated/animations/DecayAnimation.js +2 -2
- package/src/vendor/react-native/Animated/animations/SpringAnimation.js +3 -3
- package/src/vendor/react-native/Animated/animations/TimingAnimation.js +3 -3
- package/src/vendor/react-native/Animated/components/AnimatedFlatList.jsx +2 -2
- package/src/vendor/react-native/Animated/components/AnimatedImage.js +2 -2
- package/src/vendor/react-native/Animated/components/AnimatedScrollView.jsx +2 -2
- package/src/vendor/react-native/Animated/components/AnimatedSectionList.jsx +2 -2
- package/src/vendor/react-native/Animated/components/AnimatedText.js +2 -2
- package/src/vendor/react-native/Animated/components/AnimatedView.js +2 -2
- package/src/vendor/react-native/Animated/createAnimatedComponent.jsx +2 -2
- package/src/vendor/react-native/Animated/nodes/AnimatedAddition.js +3 -3
- package/src/vendor/react-native/Animated/nodes/AnimatedColor.js +3 -3
- package/src/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +2 -2
- package/src/vendor/react-native/Animated/nodes/AnimatedDivision.js +4 -4
- package/src/vendor/react-native/Animated/nodes/AnimatedInterpolation.jsx +2 -2
- package/src/vendor/react-native/Animated/nodes/AnimatedModulo.js +2 -2
- package/src/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +3 -3
- package/src/vendor/react-native/Animated/nodes/AnimatedNode.js +1 -1
- package/src/vendor/react-native/Animated/nodes/AnimatedProps.js +4 -4
- package/src/vendor/react-native/Animated/nodes/AnimatedStyle.js +4 -4
- package/src/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +3 -3
- package/src/vendor/react-native/Animated/nodes/AnimatedTracking.js +3 -3
- package/src/vendor/react-native/Animated/nodes/AnimatedTransform.js +3 -3
- package/src/vendor/react-native/Animated/nodes/AnimatedValue.js +3 -3
- package/src/vendor/react-native/Animated/nodes/AnimatedValueXY.js +2 -2
- package/src/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +2 -2
- package/src/vendor/react-native/Animated/useAnimatedProps.js +4 -4
- package/src/vendor/react-native/EventEmitter/NativeEventEmitter.js +1 -1
- package/src/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +1 -1
- package/src/vendor/react-native/FlatList/index.jsx +4 -4
- package/src/vendor/react-native/JSEventLoopWatchdog/index.js +1 -1
- package/src/vendor/react-native/PanResponder/index.js +1 -1
- package/src/vendor/react-native/SectionList/index.jsx +1 -1
- package/src/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.jsx +2 -2
- package/src/vendor/react-native/VirtualizedList/VirtualizedListContext.jsx +1 -1
- package/src/vendor/react-native/VirtualizedList/index.jsx +10 -10
- package/src/vendor/react-native/VirtualizedSectionList/index.jsx +1 -1
- package/src/vendor/react-native/emitter/EventEmitter.js +1 -1
- package/src/vendor/react-native/emitter/_EmitterSubscription.js +1 -1
- package/src/vendor/react-native/emitter/_EventEmitter.js +2 -2
- package/src/without-animated.tsx +54 -54
- package/types/AccessibilityInfo/index.d.ts +40 -0
- package/types/AccessibilityInfo/index.d.ts.map +1 -0
- package/types/ActivityIndicator/index.d.ts +76 -0
- package/types/ActivityIndicator/index.d.ts.map +1 -0
- package/types/Alert/index.d.ts +12 -0
- package/types/Alert/index.d.ts.map +1 -0
- package/types/AppRegistry/AppContainer.d.ts +19 -0
- package/types/AppRegistry/AppContainer.d.ts.map +1 -0
- package/types/AppRegistry/index.d.ts +39 -0
- package/types/AppRegistry/index.d.ts.map +1 -0
- package/types/AppRegistry/renderApplication.d.ts +21 -0
- package/types/AppRegistry/renderApplication.d.ts.map +1 -0
- package/types/AppState/index.d.ts +15 -0
- package/types/AppState/index.d.ts.map +1 -0
- package/types/Appearance/index.d.ts +13 -0
- package/types/Appearance/index.d.ts.map +1 -0
- package/types/BackHandler/index.d.ts +19 -0
- package/types/BackHandler/index.d.ts.map +1 -0
- package/types/Clipboard/index.d.ts +15 -0
- package/types/Clipboard/index.d.ts.map +1 -0
- package/types/DeviceEmitter.d.ts +3 -0
- package/types/DeviceEmitter.d.ts.map +1 -0
- package/types/DeviceInfo/index.d.ts +19 -0
- package/types/DeviceInfo/index.d.ts.map +1 -0
- package/types/Dimensions/index.d.ts +31 -0
- package/types/Dimensions/index.d.ts.map +1 -0
- package/types/FlatList.d.ts +88 -0
- package/types/FlatList.d.ts.map +1 -0
- package/types/I18nManager/index.d.ts +20 -0
- package/types/I18nManager/index.d.ts.map +1 -0
- package/types/Image/index.d.ts +143 -0
- package/types/Image/index.d.ts.map +1 -0
- package/types/Image/types.d.ts +96 -0
- package/types/Image/types.d.ts.map +1 -0
- package/types/ImageBackground/index.d.ts +92 -0
- package/types/ImageBackground/index.d.ts.map +1 -0
- package/types/InteractionManager/TaskQueue.d.ts +28 -0
- package/types/InteractionManager/TaskQueue.d.ts.map +1 -0
- package/types/InteractionManager/index.d.ts +41 -0
- package/types/InteractionManager/index.d.ts.map +1 -0
- package/types/Keyboard/index.d.ts +18 -0
- package/types/Keyboard/index.d.ts.map +1 -0
- package/types/KeyboardAvoidingView/index.d.ts +26 -0
- package/types/KeyboardAvoidingView/index.d.ts.map +1 -0
- package/types/Libraries/Pressability/Pressability.d.ts +3 -0
- package/types/Libraries/Pressability/Pressability.d.ts.map +1 -0
- package/types/Libraries/Pressability/usePressability.d.ts +3 -0
- package/types/Libraries/Pressability/usePressability.d.ts.map +1 -0
- package/types/Linking/index.d.ts +45 -0
- package/types/Linking/index.d.ts.map +1 -0
- package/types/LogBox/index.d.ts +16 -0
- package/types/LogBox/index.d.ts.map +1 -0
- package/types/Modal/ModalAnimation.d.ts +12 -0
- package/types/Modal/ModalAnimation.d.ts.map +1 -0
- package/types/Modal/ModalContent.d.ts +12 -0
- package/types/Modal/ModalContent.d.ts.map +1 -0
- package/types/Modal/ModalPortal.d.ts +12 -0
- package/types/Modal/ModalPortal.d.ts.map +1 -0
- package/types/Modal/index.d.ts +2 -0
- package/types/Modal/index.d.ts.map +1 -0
- package/types/NativeModules/index.d.ts +25 -0
- package/types/NativeModules/index.d.ts.map +1 -0
- package/types/PanResponder/Alternative.d.ts +106 -0
- package/types/PanResponder/Alternative.d.ts.map +1 -0
- package/types/PanResponder/index.d.ts +2 -0
- package/types/PanResponder/index.d.ts.map +1 -0
- package/types/PixelRatio/index.d.ts +35 -0
- package/types/PixelRatio/index.d.ts.map +1 -0
- package/types/Pressable/index.d.ts +18 -0
- package/types/Pressable/index.d.ts.map +1 -0
- package/types/RefreshControl/index.d.ts +27 -0
- package/types/RefreshControl/index.d.ts.map +1 -0
- package/types/SafeAreaView/index.d.ts +128 -0
- package/types/SafeAreaView/index.d.ts.map +1 -0
- package/types/ScrollView/ScrollViewBase.d.ts +85 -0
- package/types/ScrollView/ScrollViewBase.d.ts.map +1 -0
- package/types/ScrollView/index.d.ts +395 -0
- package/types/ScrollView/index.d.ts.map +1 -0
- package/types/SectionList.d.ts +9 -0
- package/types/SectionList.d.ts.map +1 -0
- package/types/Share/index.d.ts +32 -0
- package/types/Share/index.d.ts.map +1 -0
- package/types/StatusBar/index.d.ts +19 -0
- package/types/StatusBar/index.d.ts.map +1 -0
- package/types/Text/index.d.ts +81 -0
- package/types/Text/index.d.ts.map +1 -0
- package/types/Text/types.d.ts +58 -0
- package/types/Text/types.d.ts.map +1 -0
- package/types/TextInput/index.d.ts +116 -0
- package/types/TextInput/index.d.ts.map +1 -0
- package/types/TextInput/types.d.ts +61 -0
- package/types/TextInput/types.d.ts.map +1 -0
- package/types/TouchableNativeFeedback.d.ts +8 -0
- package/types/TouchableNativeFeedback.d.ts.map +1 -0
- package/types/TouchableOpacity.d.ts +12 -0
- package/types/TouchableOpacity.d.ts.map +1 -0
- package/types/TouchableWithoutFeedback.d.ts +12 -0
- package/types/TouchableWithoutFeedback.d.ts.map +1 -0
- package/types/UnimplementedView.d.ts +6 -0
- package/types/UnimplementedView.d.ts.map +1 -0
- package/types/Vibration/index.d.ts +16 -0
- package/types/Vibration/index.d.ts.map +1 -0
- package/types/View/index.d.ts +73 -0
- package/types/View/index.d.ts.map +1 -0
- package/types/View/types.d.ts +154 -0
- package/types/View/types.d.ts.map +1 -0
- package/types/VirtualizedList.d.ts +9 -0
- package/types/VirtualizedList.d.ts.map +1 -0
- package/types/codegenNativeCommand.d.ts +2 -0
- package/types/codegenNativeCommand.d.ts.map +1 -0
- package/types/codegenNativeComponent.d.ts +2 -0
- package/types/codegenNativeComponent.d.ts.map +1 -0
- package/types/createElement/index.d.ts +12 -0
- package/types/createElement/index.d.ts.map +1 -0
- package/types/createReactDOMStyle.d.ts +4 -0
- package/types/createReactDOMStyle.d.ts.map +1 -0
- package/types/index.d.ts +54 -0
- package/types/index.d.ts.map +1 -0
- package/types/modules/requestIdleCallback.d.ts +9 -0
- package/types/modules/requestIdleCallback.d.ts.map +1 -0
- package/types/preprocess.d.ts +2 -0
- package/types/preprocess.d.ts.map +1 -0
- package/types/render/index.d.ts +13 -0
- package/types/render/index.d.ts.map +1 -0
- package/types/styleTypes.d.ts +211 -0
- package/types/styleTypes.d.ts.map +1 -0
- package/types/types.d.ts +46 -0
- package/types/types.d.ts.map +1 -0
- package/types/useColorScheme/index.d.ts +12 -0
- package/types/useColorScheme/index.d.ts.map +1 -0
- package/types/useLocaleContext/index.d.ts +10 -0
- package/types/useLocaleContext/index.d.ts.map +1 -0
- package/types/useWindowDimensions/index.d.ts +12 -0
- package/types/useWindowDimensions/index.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/Animated.d.ts +201 -0
- package/types/vendor/react-native/Animated/Animated.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/AnimatedEvent.d.ts +26 -0
- package/types/vendor/react-native/Animated/AnimatedEvent.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/AnimatedImplementation.d.ts +291 -0
- package/types/vendor/react-native/Animated/AnimatedImplementation.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/AnimatedMock.d.ts +105 -0
- package/types/vendor/react-native/Animated/AnimatedMock.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/AnimatedPlatformConfig.d.ts +10 -0
- package/types/vendor/react-native/Animated/AnimatedPlatformConfig.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/Easing.d.ts +168 -0
- package/types/vendor/react-native/Animated/Easing.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/NativeAnimatedHelper.d.ts +102 -0
- package/types/vendor/react-native/Animated/NativeAnimatedHelper.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/NativeAnimatedModule.d.ts +43 -0
- package/types/vendor/react-native/Animated/NativeAnimatedModule.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/NativeAnimatedTurboModule.d.ts +41 -0
- package/types/vendor/react-native/Animated/NativeAnimatedTurboModule.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/SpringConfig.d.ts +24 -0
- package/types/vendor/react-native/Animated/SpringConfig.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/animations/Animation.d.ts +23 -0
- package/types/vendor/react-native/Animated/animations/Animation.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/animations/DecayAnimation.d.ts +32 -0
- package/types/vendor/react-native/Animated/animations/DecayAnimation.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/animations/SpringAnimation.d.ts +78 -0
- package/types/vendor/react-native/Animated/animations/SpringAnimation.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/animations/TimingAnimation.d.ts +36 -0
- package/types/vendor/react-native/Animated/animations/TimingAnimation.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/bezier.d.ts +13 -0
- package/types/vendor/react-native/Animated/bezier.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/components/AnimatedFlatList.d.ts +13 -0
- package/types/vendor/react-native/Animated/components/AnimatedFlatList.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/components/AnimatedImage.d.ts +13 -0
- package/types/vendor/react-native/Animated/components/AnimatedImage.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/components/AnimatedScrollView.d.ts +13 -0
- package/types/vendor/react-native/Animated/components/AnimatedScrollView.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/components/AnimatedSectionList.d.ts +13 -0
- package/types/vendor/react-native/Animated/components/AnimatedSectionList.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/components/AnimatedText.d.ts +12 -0
- package/types/vendor/react-native/Animated/components/AnimatedText.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/components/AnimatedView.d.ts +12 -0
- package/types/vendor/react-native/Animated/components/AnimatedView.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/createAnimatedComponent.d.ts +17 -0
- package/types/vendor/react-native/Animated/createAnimatedComponent.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedAddition.d.ts +27 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedAddition.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedColor.d.ts +68 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedColor.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedDiffClamp.d.ts +33 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedDiffClamp.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedDivision.d.ts +29 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedDivision.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedInterpolation.d.ts +37 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedInterpolation.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedModulo.d.ts +29 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedModulo.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedMultiplication.d.ts +27 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedMultiplication.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedNode.d.ts +59 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedNode.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedProps.d.ts +33 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedProps.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedStyle.d.ts +29 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedStyle.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedSubtraction.d.ts +27 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedSubtraction.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedTracking.d.ts +34 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedTracking.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedTransform.d.ts +26 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedTransform.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedValue.d.ts +101 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedValue.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedValueXY.d.ts +40 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedValueXY.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedWithChildren.d.ts +22 -0
- package/types/vendor/react-native/Animated/nodes/AnimatedWithChildren.d.ts.map +1 -0
- package/types/vendor/react-native/Animated/useAnimatedProps.d.ts +13 -0
- package/types/vendor/react-native/Animated/useAnimatedProps.d.ts.map +1 -0
- package/types/vendor/react-native/Batchinator/index.d.ts +44 -0
- package/types/vendor/react-native/Batchinator/index.d.ts.map +1 -0
- package/types/vendor/react-native/EventEmitter/NativeEventEmitter.d.ts +35 -0
- package/types/vendor/react-native/EventEmitter/NativeEventEmitter.d.ts.map +1 -0
- package/types/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.d.ts +19 -0
- package/types/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.d.ts.map +1 -0
- package/types/vendor/react-native/FeatureFlags.d.ts +9 -0
- package/types/vendor/react-native/FeatureFlags.d.ts.map +1 -0
- package/types/vendor/react-native/FillRateHelper/index.d.ts +51 -0
- package/types/vendor/react-native/FillRateHelper/index.d.ts.map +1 -0
- package/types/vendor/react-native/FlatList/index.d.ts +196 -0
- package/types/vendor/react-native/FlatList/index.d.ts.map +1 -0
- package/types/vendor/react-native/JSEventLoopWatchdog/index.d.ts +37 -0
- package/types/vendor/react-native/JSEventLoopWatchdog/index.d.ts.map +1 -0
- package/types/vendor/react-native/LayoutAnimation/index.d.ts +120 -0
- package/types/vendor/react-native/LayoutAnimation/index.d.ts.map +1 -0
- package/types/vendor/react-native/PanResponder/index.d.ts +31 -0
- package/types/vendor/react-native/PanResponder/index.d.ts.map +1 -0
- package/types/vendor/react-native/PooledClass/index.d.ts +26 -0
- package/types/vendor/react-native/PooledClass/index.d.ts.map +1 -0
- package/types/vendor/react-native/ReactNative/ReactNativeFeatureFlags.d.ts +19 -0
- package/types/vendor/react-native/ReactNative/ReactNativeFeatureFlags.d.ts.map +1 -0
- package/types/vendor/react-native/SectionList/index.d.ts +33 -0
- package/types/vendor/react-native/SectionList/index.d.ts.map +1 -0
- package/types/vendor/react-native/StaticContainer/index.d.ts +32 -0
- package/types/vendor/react-native/StaticContainer/index.d.ts.map +1 -0
- package/types/vendor/react-native/StaticRenderer/index.d.ts +17 -0
- package/types/vendor/react-native/StaticRenderer/index.d.ts.map +1 -0
- package/types/vendor/react-native/TouchHistoryMath/index.d.ts +37 -0
- package/types/vendor/react-native/TouchHistoryMath/index.d.ts.map +1 -0
- package/types/vendor/react-native/TurboModule/RCTExport.d.ts +31 -0
- package/types/vendor/react-native/TurboModule/RCTExport.d.ts.map +1 -0
- package/types/vendor/react-native/TurboModule/TurboModuleRegistry.d.ts +12 -0
- package/types/vendor/react-native/TurboModule/TurboModuleRegistry.d.ts.map +1 -0
- package/types/vendor/react-native/Types/CoreEventTypes.d.ts +143 -0
- package/types/vendor/react-native/Types/CoreEventTypes.d.ts.map +1 -0
- package/types/vendor/react-native/Utilities/Platform.d.ts +4 -0
- package/types/vendor/react-native/Utilities/Platform.d.ts.map +1 -0
- package/types/vendor/react-native/Utilities/clamp.d.ts +13 -0
- package/types/vendor/react-native/Utilities/clamp.d.ts.map +1 -0
- package/types/vendor/react-native/Utilities/setAndForwardRef.d.ts +46 -0
- package/types/vendor/react-native/Utilities/setAndForwardRef.d.ts.map +1 -0
- package/types/vendor/react-native/Utilities/useMergeRefs.d.ts +22 -0
- package/types/vendor/react-native/Utilities/useMergeRefs.d.ts.map +1 -0
- package/types/vendor/react-native/Utilities/useRefEffect.d.ts +27 -0
- package/types/vendor/react-native/Utilities/useRefEffect.d.ts.map +1 -0
- package/types/vendor/react-native/ViewabilityHelper/index.d.ts +56 -0
- package/types/vendor/react-native/ViewabilityHelper/index.d.ts.map +1 -0
- package/types/vendor/react-native/ViewabilityHelper.d.ts +95 -0
- package/types/vendor/react-native/ViewabilityHelper.d.ts.map +1 -0
- package/types/vendor/react-native/VirtualizeUtils/index.d.ts +34 -0
- package/types/vendor/react-native/VirtualizeUtils/index.d.ts.map +1 -0
- package/types/vendor/react-native/VirtualizedList/CellRenderMask.d.ts +20 -0
- package/types/vendor/react-native/VirtualizedList/CellRenderMask.d.ts.map +1 -0
- package/types/vendor/react-native/VirtualizedList/ChildListCollection.d.ts +22 -0
- package/types/vendor/react-native/VirtualizedList/ChildListCollection.d.ts.map +1 -0
- package/types/vendor/react-native/VirtualizedList/StateSafePureComponent.d.ts +28 -0
- package/types/vendor/react-native/VirtualizedList/StateSafePureComponent.d.ts.map +1 -0
- package/types/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.d.ts +34 -0
- package/types/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.d.ts.map +1 -0
- package/types/vendor/react-native/VirtualizedList/VirtualizedListContext.d.ts +32 -0
- package/types/vendor/react-native/VirtualizedList/VirtualizedListContext.d.ts.map +1 -0
- package/types/vendor/react-native/VirtualizedList/VirtualizedListProps.d.ts +45 -0
- package/types/vendor/react-native/VirtualizedList/VirtualizedListProps.d.ts.map +1 -0
- package/types/vendor/react-native/VirtualizedList/index.d.ts +61 -0
- package/types/vendor/react-native/VirtualizedList/index.d.ts.map +1 -0
- package/types/vendor/react-native/VirtualizedSectionList/index.d.ts +38 -0
- package/types/vendor/react-native/VirtualizedSectionList/index.d.ts.map +1 -0
- package/types/vendor/react-native/deepDiffer/index.d.ts +13 -0
- package/types/vendor/react-native/deepDiffer/index.d.ts.map +1 -0
- package/types/vendor/react-native/emitter/EventEmitter.d.ts +4 -0
- package/types/vendor/react-native/emitter/EventEmitter.d.ts.map +1 -0
- package/types/vendor/react-native/emitter/EventSubscription.d.ts +1 -0
- package/types/vendor/react-native/emitter/EventSubscription.d.ts.map +1 -0
- package/types/vendor/react-native/emitter/_EmitterSubscription.d.ts +30 -0
- package/types/vendor/react-native/emitter/_EmitterSubscription.d.ts.map +1 -0
- package/types/vendor/react-native/emitter/_EventEmitter.d.ts +83 -0
- package/types/vendor/react-native/emitter/_EventEmitter.d.ts.map +1 -0
- package/types/vendor/react-native/emitter/_EventSubscription.d.ts +19 -0
- package/types/vendor/react-native/emitter/_EventSubscription.d.ts.map +1 -0
- package/types/vendor/react-native/emitter/_EventSubscriptionVendor.d.ts +45 -0
- package/types/vendor/react-native/emitter/_EventSubscriptionVendor.d.ts.map +1 -0
- package/types/vendor/react-native/infoLog/index.d.ts +16 -0
- package/types/vendor/react-native/infoLog/index.d.ts.map +1 -0
- package/types/vendor/react-native/useRefEffect.d.ts +27 -0
- package/types/vendor/react-native/useRefEffect.d.ts.map +1 -0
- package/types/vendor/react-native/vendor/emitter/EventEmitter.d.ts +69 -0
- package/types/vendor/react-native/vendor/emitter/EventEmitter.d.ts.map +1 -0
- package/types/without-animated.d.ts +557 -0
- package/types/without-animated.d.ts.map +1 -0
- package/dist/cjs/AccessibilityInfo/index.cjs +0 -109
- package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +0 -209
- package/dist/cjs/ActivityIndicator/index.cjs +0 -130
- package/dist/cjs/Alert/index.cjs +0 -30
- package/dist/cjs/AppRegistry/AppContainer.cjs +0 -75
- package/dist/cjs/AppRegistry/__tests__/index-test.cjs +0 -97
- package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +0 -162
- package/dist/cjs/AppRegistry/index.cjs +0 -99
- package/dist/cjs/AppRegistry/renderApplication.cjs +0 -74
- package/dist/cjs/AppState/__tests__/index-test.cjs +0 -38
- package/dist/cjs/AppState/index.cjs +0 -85
- package/dist/cjs/Appearance/index.cjs +0 -64
- package/dist/cjs/BackHandler/index.cjs +0 -37
- package/dist/cjs/Clipboard/index.cjs +0 -64
- package/dist/cjs/DeviceEmitter.cjs +0 -29
- package/dist/cjs/DeviceInfo/index.cjs +0 -76
- package/dist/cjs/Dimensions/__tests__/index-test.cjs +0 -67
- package/dist/cjs/Dimensions/index.cjs +0 -112
- package/dist/cjs/FlatList.cjs +0 -241
- package/dist/cjs/I18nManager/index.cjs +0 -40
- package/dist/cjs/Image/index.cjs +0 -355
- package/dist/cjs/Image/types.cjs +0 -18
- package/dist/cjs/ImageBackground/__tests__/index-test.cjs +0 -72
- package/dist/cjs/ImageBackground/index.cjs +0 -69
- package/dist/cjs/InteractionManager/TaskQueue.cjs +0 -111
- package/dist/cjs/InteractionManager/index.cjs +0 -141
- package/dist/cjs/Keyboard/index.cjs +0 -40
- package/dist/cjs/KeyboardAvoidingView/index.cjs +0 -72
- package/dist/cjs/Libraries/Pressability/Pressability.cjs +0 -28
- package/dist/cjs/Libraries/Pressability/usePressability.cjs +0 -28
- package/dist/cjs/Linking/__tests__/index-test.cjs +0 -56
- package/dist/cjs/Linking/index.cjs +0 -103
- package/dist/cjs/LogBox/index.cjs +0 -35
- package/dist/cjs/Modal/ModalAnimation.cjs +0 -174
- package/dist/cjs/Modal/ModalContent.cjs +0 -95
- package/dist/cjs/Modal/ModalPortal.cjs +0 -63
- package/dist/cjs/Modal/index.cjs +0 -28
- package/dist/cjs/NativeModules/index.cjs +0 -31
- package/dist/cjs/PanResponder/index.cjs +0 -39
- package/dist/cjs/PixelRatio/index.cjs +0 -59
- package/dist/cjs/Pressable/index.cjs +0 -172
- package/dist/cjs/RefreshControl/index.cjs +0 -51
- package/dist/cjs/SafeAreaView/index.cjs +0 -70
- package/dist/cjs/ScrollView/ScrollViewBase.cjs +0 -167
- package/dist/cjs/ScrollView/index.cjs +0 -672
- package/dist/cjs/SectionList.cjs +0 -41
- package/dist/cjs/Share/index.cjs +0 -58
- package/dist/cjs/StatusBar/index.cjs +0 -38
- package/dist/cjs/Text/index.cjs +0 -197
- package/dist/cjs/Text/types.cjs +0 -18
- package/dist/cjs/TextInput/index.cjs +0 -396
- package/dist/cjs/TextInput/types.cjs +0 -18
- package/dist/cjs/TouchableNativeFeedback.cjs +0 -28
- package/dist/cjs/TouchableOpacity.cjs +0 -125
- package/dist/cjs/TouchableWithoutFeedback.cjs +0 -95
- package/dist/cjs/UnimplementedView.cjs +0 -52
- package/dist/cjs/Vibration/index.cjs +0 -40
- package/dist/cjs/View/index.cjs +0 -144
- package/dist/cjs/View/types.cjs +0 -18
- package/dist/cjs/VirtualizedList.cjs +0 -41
- package/dist/cjs/codegenNativeCommand.cjs +0 -31
- package/dist/cjs/codegenNativeComponent.cjs +0 -31
- package/dist/cjs/createElement/__tests__/index-test.cjs +0 -828
- package/dist/cjs/createElement/index.cjs +0 -94
- package/dist/cjs/createReactDOMStyle.cjs +0 -30
- package/dist/cjs/index.cjs +0 -174
- package/dist/cjs/modules/requestIdleCallback.cjs +0 -45
- package/dist/cjs/preprocess.cjs +0 -32
- package/dist/cjs/render/index.cjs +0 -34
- package/dist/cjs/styleTypes.cjs +0 -18
- package/dist/cjs/types.cjs +0 -18
- package/dist/cjs/useColorScheme/index.cjs +0 -53
- package/dist/cjs/useLocaleContext/index.cjs +0 -28
- package/dist/cjs/useWindowDimensions/index.cjs +0 -58
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +0 -48
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +0 -164
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +0 -587
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +0 -147
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.cjs +0 -1
- package/dist/cjs/vendor/react-native/Animated/Easing.cjs +0 -199
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +0 -402
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +0 -80
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +0 -77
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +0 -86
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +0 -72
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +0 -95
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +0 -233
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +0 -134
- package/dist/cjs/vendor/react-native/Animated/bezier.cjs +0 -124
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +0 -50
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +0 -44
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +0 -50
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +0 -50
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +0 -32
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +0 -32
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +0 -65
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +0 -69
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +0 -274
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +0 -74
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +0 -84
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +0 -225
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +0 -64
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +0 -69
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +0 -174
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +0 -151
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +0 -136
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +0 -69
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +0 -90
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +0 -127
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +0 -239
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +0 -119
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +0 -87
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +0 -104
- package/dist/cjs/vendor/react-native/Batchinator/index.cjs +0 -72
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +0 -73
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +0 -31
- package/dist/cjs/vendor/react-native/FeatureFlags.cjs +0 -35
- package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +0 -189
- package/dist/cjs/vendor/react-native/FlatList/index.cjs +0 -324
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +0 -93
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +0 -116
- package/dist/cjs/vendor/react-native/PanResponder/index.cjs +0 -207
- package/dist/cjs/vendor/react-native/PooledClass/index.cjs +0 -62
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +0 -36
- package/dist/cjs/vendor/react-native/SectionList/index.cjs +0 -128
- package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +0 -52
- package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +0 -51
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +0 -125
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +0 -36
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +0 -39
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +0 -158
- package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +0 -30
- package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +0 -40
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +0 -45
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +0 -45
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +0 -42
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +0 -184
- package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +0 -175
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +0 -144
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +0 -110
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +0 -77
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +0 -92
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +0 -182
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +0 -89
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +0 -66
- package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +0 -312
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +0 -165
- package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +0 -74
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +0 -32
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.cjs +0 -1
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +0 -59
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +0 -136
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +0 -46
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +0 -96
- package/dist/cjs/vendor/react-native/infoLog/index.cjs +0 -34
- package/dist/cjs/vendor/react-native/useRefEffect.cjs +0 -42
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +0 -103
- package/dist/cjs/without-animated.cjs +0 -348
- package/dist/esm/AccessibilityInfo/index.mjs +0 -84
- package/dist/esm/AccessibilityInfo/index.mjs.map +0 -1
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +0 -186
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs.map +0 -1
- package/dist/esm/ActivityIndicator/index.mjs +0 -93
- package/dist/esm/ActivityIndicator/index.mjs.map +0 -1
- package/dist/esm/Alert/index.mjs +0 -5
- package/dist/esm/Alert/index.mjs.map +0 -1
- package/dist/esm/AppRegistry/AppContainer.mjs +0 -38
- package/dist/esm/AppRegistry/AppContainer.mjs.map +0 -1
- package/dist/esm/AppRegistry/__tests__/index-test.mjs +0 -74
- package/dist/esm/AppRegistry/__tests__/index-test.mjs.map +0 -1
- package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +0 -139
- package/dist/esm/AppRegistry/__tests__/index-test.node.mjs.map +0 -1
- package/dist/esm/AppRegistry/index.mjs +0 -74
- package/dist/esm/AppRegistry/index.mjs.map +0 -1
- package/dist/esm/AppRegistry/renderApplication.mjs +0 -48
- package/dist/esm/AppRegistry/renderApplication.mjs.map +0 -1
- package/dist/esm/AppState/__tests__/index-test.mjs +0 -15
- package/dist/esm/AppState/__tests__/index-test.mjs.map +0 -1
- package/dist/esm/AppState/index.mjs +0 -60
- package/dist/esm/AppState/index.mjs.map +0 -1
- package/dist/esm/Appearance/index.mjs +0 -39
- package/dist/esm/Appearance/index.mjs.map +0 -1
- package/dist/esm/BackHandler/index.mjs +0 -12
- package/dist/esm/BackHandler/index.mjs.map +0 -1
- package/dist/esm/Clipboard/index.mjs +0 -39
- package/dist/esm/Clipboard/index.mjs.map +0 -1
- package/dist/esm/DeviceEmitter.mjs +0 -4
- package/dist/esm/DeviceEmitter.mjs.map +0 -1
- package/dist/esm/DeviceInfo/index.mjs +0 -51
- package/dist/esm/DeviceInfo/index.mjs.map +0 -1
- package/dist/esm/Dimensions/__tests__/index-test.mjs +0 -44
- package/dist/esm/Dimensions/__tests__/index-test.mjs.map +0 -1
- package/dist/esm/Dimensions/index.mjs +0 -86
- package/dist/esm/Dimensions/index.mjs.map +0 -1
- package/dist/esm/FlatList.mjs +0 -204
- package/dist/esm/FlatList.mjs.map +0 -1
- package/dist/esm/I18nManager/index.mjs +0 -15
- package/dist/esm/I18nManager/index.mjs.map +0 -1
- package/dist/esm/Image/index.mjs +0 -318
- package/dist/esm/Image/index.mjs.map +0 -1
- package/dist/esm/Image/types.mjs +0 -2
- package/dist/esm/Image/types.mjs.map +0 -1
- package/dist/esm/ImageBackground/__tests__/index-test.mjs +0 -49
- package/dist/esm/ImageBackground/__tests__/index-test.mjs.map +0 -1
- package/dist/esm/ImageBackground/index.mjs +0 -43
- package/dist/esm/ImageBackground/index.mjs.map +0 -1
- package/dist/esm/InteractionManager/TaskQueue.mjs +0 -86
- package/dist/esm/InteractionManager/TaskQueue.mjs.map +0 -1
- package/dist/esm/InteractionManager/index.mjs +0 -105
- package/dist/esm/InteractionManager/index.mjs.map +0 -1
- package/dist/esm/Keyboard/index.mjs +0 -15
- package/dist/esm/Keyboard/index.mjs.map +0 -1
- package/dist/esm/KeyboardAvoidingView/index.mjs +0 -35
- package/dist/esm/KeyboardAvoidingView/index.mjs.map +0 -1
- package/dist/esm/Libraries/Pressability/Pressability.mjs +0 -3
- package/dist/esm/Libraries/Pressability/Pressability.mjs.map +0 -1
- package/dist/esm/Libraries/Pressability/usePressability.mjs +0 -3
- package/dist/esm/Libraries/Pressability/usePressability.mjs.map +0 -1
- package/dist/esm/Linking/__tests__/index-test.mjs +0 -33
- package/dist/esm/Linking/__tests__/index-test.mjs.map +0 -1
- package/dist/esm/Linking/index.mjs +0 -78
- package/dist/esm/Linking/index.mjs.map +0 -1
- package/dist/esm/LogBox/index.mjs +0 -9
- package/dist/esm/LogBox/index.mjs.map +0 -1
- package/dist/esm/Modal/ModalAnimation.mjs +0 -138
- package/dist/esm/Modal/ModalAnimation.mjs.map +0 -1
- package/dist/esm/Modal/ModalContent.mjs +0 -59
- package/dist/esm/Modal/ModalContent.mjs.map +0 -1
- package/dist/esm/Modal/ModalPortal.mjs +0 -27
- package/dist/esm/Modal/ModalPortal.mjs.map +0 -1
- package/dist/esm/Modal/index.mjs +0 -3
- package/dist/esm/Modal/index.mjs.map +0 -1
- package/dist/esm/NativeModules/index.mjs +0 -6
- package/dist/esm/NativeModules/index.mjs.map +0 -1
- package/dist/esm/PanResponder/index.mjs +0 -3
- package/dist/esm/PanResponder/index.mjs.map +0 -1
- package/dist/esm/PixelRatio/index.mjs +0 -34
- package/dist/esm/PixelRatio/index.mjs.map +0 -1
- package/dist/esm/Pressable/index.mjs +0 -133
- package/dist/esm/Pressable/index.mjs.map +0 -1
- package/dist/esm/RefreshControl/index.mjs +0 -25
- package/dist/esm/RefreshControl/index.mjs.map +0 -1
- package/dist/esm/SafeAreaView/index.mjs +0 -33
- package/dist/esm/SafeAreaView/index.mjs.map +0 -1
- package/dist/esm/ScrollView/ScrollViewBase.mjs +0 -130
- package/dist/esm/ScrollView/ScrollViewBase.mjs.map +0 -1
- package/dist/esm/ScrollView/index.mjs +0 -635
- package/dist/esm/ScrollView/index.mjs.map +0 -1
- package/dist/esm/SectionList.mjs +0 -4
- package/dist/esm/SectionList.mjs.map +0 -1
- package/dist/esm/Share/index.mjs +0 -33
- package/dist/esm/Share/index.mjs.map +0 -1
- package/dist/esm/StatusBar/index.mjs +0 -12
- package/dist/esm/StatusBar/index.mjs.map +0 -1
- package/dist/esm/Text/index.mjs +0 -160
- package/dist/esm/Text/index.mjs.map +0 -1
- package/dist/esm/Text/types.mjs +0 -2
- package/dist/esm/Text/types.mjs.map +0 -1
- package/dist/esm/TextInput/index.mjs +0 -359
- package/dist/esm/TextInput/index.mjs.map +0 -1
- package/dist/esm/TextInput/types.mjs +0 -2
- package/dist/esm/TextInput/types.mjs.map +0 -1
- package/dist/esm/TouchableNativeFeedback.mjs +0 -3
- package/dist/esm/TouchableNativeFeedback.mjs.map +0 -1
- package/dist/esm/TouchableOpacity.mjs +0 -87
- package/dist/esm/TouchableOpacity.mjs.map +0 -1
- package/dist/esm/TouchableWithoutFeedback.mjs +0 -59
- package/dist/esm/TouchableWithoutFeedback.mjs.map +0 -1
- package/dist/esm/UnimplementedView.mjs +0 -16
- package/dist/esm/UnimplementedView.mjs.map +0 -1
- package/dist/esm/Vibration/index.mjs +0 -15
- package/dist/esm/Vibration/index.mjs.map +0 -1
- package/dist/esm/View/index.mjs +0 -107
- package/dist/esm/View/index.mjs.map +0 -1
- package/dist/esm/View/types.mjs +0 -2
- package/dist/esm/View/types.mjs.map +0 -1
- package/dist/esm/VirtualizedList.mjs +0 -4
- package/dist/esm/VirtualizedList.mjs.map +0 -1
- package/dist/esm/codegenNativeCommand.mjs +0 -6
- package/dist/esm/codegenNativeCommand.mjs.map +0 -1
- package/dist/esm/codegenNativeComponent.mjs +0 -6
- package/dist/esm/codegenNativeComponent.mjs.map +0 -1
- package/dist/esm/createElement/__tests__/index-test.mjs +0 -805
- package/dist/esm/createElement/__tests__/index-test.mjs.map +0 -1
- package/dist/esm/createElement/index.mjs +0 -57
- package/dist/esm/createElement/index.mjs.map +0 -1
- package/dist/esm/createReactDOMStyle.mjs +0 -4
- package/dist/esm/createReactDOMStyle.mjs.map +0 -1
- package/dist/esm/index.mjs +0 -61
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/modules/requestIdleCallback.mjs +0 -19
- package/dist/esm/modules/requestIdleCallback.mjs.map +0 -1
- package/dist/esm/preprocess.mjs +0 -3
- package/dist/esm/preprocess.mjs.map +0 -1
- package/dist/esm/render/index.mjs +0 -6
- package/dist/esm/render/index.mjs.map +0 -1
- package/dist/esm/styleTypes.mjs +0 -2
- package/dist/esm/styleTypes.mjs.map +0 -1
- package/dist/esm/types.mjs +0 -2
- package/dist/esm/types.mjs.map +0 -1
- package/dist/esm/useColorScheme/index.mjs +0 -17
- package/dist/esm/useColorScheme/index.mjs.map +0 -1
- package/dist/esm/useLocaleContext/index.mjs +0 -3
- package/dist/esm/useLocaleContext/index.mjs.map +0 -1
- package/dist/esm/useWindowDimensions/index.mjs +0 -22
- package/dist/esm/useWindowDimensions/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/Animated.mjs +0 -22
- package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +0 -136
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +0 -558
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +0 -118
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs +0 -2
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/Easing.mjs +0 -171
- package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +0 -360
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +0 -38
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +0 -35
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +0 -60
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +0 -44
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +0 -67
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +0 -205
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +0 -108
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/bezier.mjs +0 -96
- package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +0 -13
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +0 -7
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +0 -13
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +0 -13
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +0 -28
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +0 -41
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +0 -248
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +0 -48
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +0 -56
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +0 -197
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +0 -38
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +0 -41
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +0 -146
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +0 -125
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +0 -110
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +0 -41
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +0 -64
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +0 -99
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +0 -211
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +0 -93
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +0 -59
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +0 -76
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Batchinator/index.mjs +0 -44
- package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +0 -45
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +0 -1
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs +0 -5
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs.map +0 -1
- package/dist/esm/vendor/react-native/FeatureFlags.mjs +0 -10
- package/dist/esm/vendor/react-native/FeatureFlags.mjs.map +0 -1
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +0 -163
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/FlatList/index.mjs +0 -287
- package/dist/esm/vendor/react-native/FlatList/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +0 -65
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +0 -88
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/PanResponder/index.mjs +0 -170
- package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/PooledClass/index.mjs +0 -36
- package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +0 -10
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs.map +0 -1
- package/dist/esm/vendor/react-native/SectionList/index.mjs +0 -91
- package/dist/esm/vendor/react-native/SectionList/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs +0 -13
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/StaticRenderer/index.mjs +0 -12
- package/dist/esm/vendor/react-native/StaticRenderer/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs +0 -99
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +0 -8
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +0 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +0 -11
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +0 -126
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/Platform.mjs +0 -4
- package/dist/esm/vendor/react-native/Utilities/Platform.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs +0 -12
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +0 -17
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +0 -19
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +0 -16
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +0 -1
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +0 -156
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +0 -149
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +0 -116
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +0 -85
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +0 -51
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +0 -55
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +0 -145
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +0 -50
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +0 -40
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +0 -286
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +0 -128
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs +0 -46
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs +0 -4
- package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs.map +0 -1
- package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs +0 -2
- package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs +0 -31
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs +0 -110
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs +0 -18
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs +0 -68
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs.map +0 -1
- package/dist/esm/vendor/react-native/infoLog/index.mjs +0 -6
- package/dist/esm/vendor/react-native/infoLog/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/useRefEffect.mjs +0 -16
- package/dist/esm/vendor/react-native/useRefEffect.mjs.map +0 -1
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +0 -75
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +0 -1
- package/dist/esm/without-animated.mjs +0 -234
- package/dist/esm/without-animated.mjs.map +0 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*
|
|
8
|
+
* @format
|
|
9
|
+
* @format
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SpringConfig = void 0;
|
|
13
|
+
const defaultSpringConfig = {
|
|
14
|
+
stiffness: 0,
|
|
15
|
+
damping: 0,
|
|
16
|
+
};
|
|
17
|
+
function stiffnessFromOrigamiValue(oValue) {
|
|
18
|
+
return (oValue - 30) * 3.62 + 194;
|
|
19
|
+
}
|
|
20
|
+
function dampingFromOrigamiValue(oValue) {
|
|
21
|
+
return (oValue - 8) * 3 + 25;
|
|
22
|
+
}
|
|
23
|
+
function fromOrigamiTensionAndFriction(tension, friction) {
|
|
24
|
+
return {
|
|
25
|
+
stiffness: stiffnessFromOrigamiValue(tension),
|
|
26
|
+
damping: dampingFromOrigamiValue(friction),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function fromBouncinessAndSpeed(bounciness, speed) {
|
|
30
|
+
function normalize(value, startValue, endValue) {
|
|
31
|
+
return (value - startValue) / (endValue - startValue);
|
|
32
|
+
}
|
|
33
|
+
function projectNormal(n, start, end) {
|
|
34
|
+
return start + n * (end - start);
|
|
35
|
+
}
|
|
36
|
+
function linearInterpolation(t, start, end) {
|
|
37
|
+
return t * end + (1 - t) * start;
|
|
38
|
+
}
|
|
39
|
+
function quadraticOutInterpolation(t, start, end) {
|
|
40
|
+
return linearInterpolation(2 * t - t * t, start, end);
|
|
41
|
+
}
|
|
42
|
+
function b3Friction1(x) {
|
|
43
|
+
return 0.0007 * x ** 3 - 0.031 * x ** 2 + 0.64 * x + 1.28;
|
|
44
|
+
}
|
|
45
|
+
function b3Friction2(x) {
|
|
46
|
+
return 0.000044 * x ** 3 - 0.006 * x ** 2 + 0.36 * x + 2;
|
|
47
|
+
}
|
|
48
|
+
function b3Friction3(x) {
|
|
49
|
+
return 0.00000045 * x ** 3 - 0.000332 * x ** 2 + 0.1078 * x + 5.84;
|
|
50
|
+
}
|
|
51
|
+
function b3Nobounce(tension) {
|
|
52
|
+
if (tension <= 18) {
|
|
53
|
+
return b3Friction1(tension);
|
|
54
|
+
}
|
|
55
|
+
else if (tension > 18 && tension <= 44) {
|
|
56
|
+
return b3Friction2(tension);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
return b3Friction3(tension);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
let b = normalize(bounciness / 1.7, 0, 20);
|
|
63
|
+
b = projectNormal(b, 0, 0.8);
|
|
64
|
+
const s = normalize(speed / 1.7, 0, 20);
|
|
65
|
+
const bouncyTension = projectNormal(s, 0.5, 200);
|
|
66
|
+
const bouncyFriction = quadraticOutInterpolation(b, b3Nobounce(bouncyTension), 0.01);
|
|
67
|
+
return {
|
|
68
|
+
stiffness: stiffnessFromOrigamiValue(bouncyTension),
|
|
69
|
+
damping: dampingFromOrigamiValue(bouncyFriction),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
const SpringConfig = {
|
|
73
|
+
fromOrigamiTensionAndFriction,
|
|
74
|
+
fromBouncinessAndSpeed,
|
|
75
|
+
};
|
|
76
|
+
exports.SpringConfig = SpringConfig;
|
|
77
|
+
exports.default = SpringConfig;
|
|
78
|
+
//# sourceMappingURL=SpringConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpringConfig.js","sourceRoot":"","sources":["../../../../../src/vendor/react-native/Animated/SpringConfig.js"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAEH,MAAM,mBAAmB,GAAG;IAC1B,SAAS,EAAE,CAAC;IACZ,OAAO,EAAE,CAAC;CACX,CAAA;AAED,SAAS,yBAAyB,CAAC,MAAM;IACvC,OAAO,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,IAAI,GAAG,GAAG,CAAA;AACnC,CA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+
* 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
|
+
* @format
|
|
8
|
+
*/
|
|
9
|
+
'use strict';
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.Animation = void 0;
|
|
12
|
+
const NativeAnimatedHelper_js_1 = require("../NativeAnimatedHelper.js");
|
|
13
|
+
let startNativeAnimationNextId = 1;
|
|
14
|
+
// Important note: start() and stop() will only be called at most once.
|
|
15
|
+
// Once an animation has been stopped or finished its course, it will
|
|
16
|
+
// not be reused.
|
|
17
|
+
class Animation {
|
|
18
|
+
start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) { }
|
|
19
|
+
stop() {
|
|
20
|
+
if (this.__nativeId) {
|
|
21
|
+
NativeAnimatedHelper_js_1.NativeAnimatedHelper.API.stopAnimation(this.__nativeId);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
__getNativeAnimationConfig() {
|
|
25
|
+
// Subclasses that have corresponding animation implementation done in native
|
|
26
|
+
// should override this method
|
|
27
|
+
throw new Error('This animation type cannot be offloaded to native');
|
|
28
|
+
}
|
|
29
|
+
// Helper function for subclasses to make sure onEnd is only called once.
|
|
30
|
+
__debouncedOnEnd(result) {
|
|
31
|
+
const onEnd = this.__onEnd;
|
|
32
|
+
this.__onEnd = null;
|
|
33
|
+
onEnd && onEnd(result);
|
|
34
|
+
}
|
|
35
|
+
__startNativeAnimation(animatedValue) {
|
|
36
|
+
const startNativeAnimationWaitId = `${startNativeAnimationNextId}:startAnimation`;
|
|
37
|
+
startNativeAnimationNextId += 1;
|
|
38
|
+
NativeAnimatedHelper_js_1.NativeAnimatedHelper.API.setWaitingForIdentifier(startNativeAnimationWaitId);
|
|
39
|
+
try {
|
|
40
|
+
const config = this.__getNativeAnimationConfig();
|
|
41
|
+
animatedValue.__makeNative(config.platformConfig);
|
|
42
|
+
this.__nativeId = NativeAnimatedHelper_js_1.NativeAnimatedHelper.generateNewAnimationId();
|
|
43
|
+
NativeAnimatedHelper_js_1.NativeAnimatedHelper.API.startAnimatingNode(this.__nativeId, animatedValue.__getNativeTag(), config,
|
|
44
|
+
// $FlowFixMe[method-unbinding] added when improving typing for this parameters
|
|
45
|
+
this.__debouncedOnEnd.bind(this));
|
|
46
|
+
}
|
|
47
|
+
catch (e) {
|
|
48
|
+
throw e;
|
|
49
|
+
}
|
|
50
|
+
finally {
|
|
51
|
+
NativeAnimatedHelper_js_1.NativeAnimatedHelper.API.unsetWaitingForIdentifier(startNativeAnimationWaitId);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.Animation = Animation;
|
|
56
|
+
exports.default = Animation;
|
|
57
|
+
//# sourceMappingURL=Animation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Animation.js","sourceRoot":"","sources":["../../../../../../src/vendor/react-native/Animated/animations/Animation.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,YAAY,CAAA;;;AAEZ,wEAAiE;AAEjE,IAAI,0BAA0B,GAAG,CAAC,CAAA;AAElC,uEAAuE;AACvE,qEAAqE;AACrE,iBAAiB;AACjB,MAAM,SAAS;IAMb,KAAK,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,IAAG,CAAC;IACtE,IAAI;QACF,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,8CAAoB,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QACzD,CAAC;IACH,CAAC;IACD,0BAA0B;QACxB,6EAA6E;QAC7E,8BAA8B;QAC9B,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAA;IACtE,CAAC;IACD,yEAAyE;IACzE,gBAAgB,CAAC,MAAM;QACrB,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAA;QAC1B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QACnB,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,CAAA;IACxB,CAAC;IACD,sBAAsB,CAAC,aAAa;QAClC,MAAM,0BAA0B,GAAG,GAAG,0BAA0B,iBAAiB,CAAA;QACjF,0BAA0B,IAAI,CAAC,CAAA;QAC/B,8CAAoB,CAAC,GAAG,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAA;QAC5E,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,IAAI,CAAC,0BAA0B,EAAE,CAAA;YAChD,aAAa,CAAC,YAAY,CAAC,MAAM,CAAC,cAAc,CAAC,CAAA;YACjD,IAAI,CAAC,UAAU,GAAG,8CAAoB,CAAC,sBAAsB,EAAE,CAAA;YAC/D,8CAAoB,CAAC,GAAG,CAAC,kBAAkB,CACzC,IAAI,CAAC,UAAU,EACf,aAAa,CAAC,cAAc,EAAE,EAC9B,MAAM;YACN,+EAA+E;YAC/E,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CACjC,CAAA;QACH,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,CAAC,CAAA;QACT,CAAC;gBAAS,CAAC;YACT,8CAAoB,CAAC,GAAG,CAAC,yBAAyB,CAAC,0BAA0B,CAAC,CAAA;QAChF,CAAC;IACH,CAAC;CACF;QAEQ,SAAS;kBACH,SAAS"}
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
* @format
|
|
8
|
+
*/
|
|
9
|
+
'use strict';
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.DecayAnimation = void 0;
|
|
12
|
+
const Animation_js_1 = require("./Animation.js");
|
|
13
|
+
const NativeAnimatedHelper_js_1 = require("../NativeAnimatedHelper.js");
|
|
14
|
+
class DecayAnimation extends Animation_js_1.Animation {
|
|
15
|
+
constructor(config) {
|
|
16
|
+
super();
|
|
17
|
+
this._deceleration = config.deceleration ?? 0.998;
|
|
18
|
+
this._velocity = config.velocity;
|
|
19
|
+
this._useNativeDriver = (0, NativeAnimatedHelper_js_1.shouldUseNativeDriver)(config);
|
|
20
|
+
this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;
|
|
21
|
+
this.__iterations = config.iterations ?? 1;
|
|
22
|
+
}
|
|
23
|
+
__getNativeAnimationConfig() {
|
|
24
|
+
return {
|
|
25
|
+
type: 'decay',
|
|
26
|
+
deceleration: this._deceleration,
|
|
27
|
+
velocity: this._velocity,
|
|
28
|
+
iterations: this.__iterations,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {
|
|
32
|
+
this.__active = true;
|
|
33
|
+
this._lastValue = fromValue;
|
|
34
|
+
this._fromValue = fromValue;
|
|
35
|
+
this._onUpdate = onUpdate;
|
|
36
|
+
this.__onEnd = onEnd;
|
|
37
|
+
this._startTime = Date.now();
|
|
38
|
+
if (this._useNativeDriver) {
|
|
39
|
+
this.__startNativeAnimation(animatedValue);
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
onUpdate() {
|
|
46
|
+
const now = Date.now();
|
|
47
|
+
const value = this._fromValue +
|
|
48
|
+
(this._velocity / (1 - this._deceleration)) *
|
|
49
|
+
(1 - Math.exp(-(1 - this._deceleration) * (now - this._startTime)));
|
|
50
|
+
this._onUpdate(value);
|
|
51
|
+
if (Math.abs(this._lastValue - value) < 0.1) {
|
|
52
|
+
this.__debouncedOnEnd({ finished: true });
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
this._lastValue = value;
|
|
56
|
+
if (this.__active) {
|
|
57
|
+
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
stop() {
|
|
61
|
+
super.stop();
|
|
62
|
+
this.__active = false;
|
|
63
|
+
global.cancelAnimationFrame(this._animationFrame);
|
|
64
|
+
this.__debouncedOnEnd({ finished: false });
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.DecayAnimation = DecayAnimation;
|
|
68
|
+
exports.default = DecayAnimation;
|
|
69
|
+
//# sourceMappingURL=DecayAnimation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DecayAnimation.js","sourceRoot":"","sources":["../../../../../../src/vendor/react-native/Animated/animations/DecayAnimation.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,YAAY,CAAA;;;AAEZ,iDAA0C;AAE1C,wEAAkE;AAElE,MAAM,cAAe,SAAQ,wBAAS;IAUpC,YAAY,MAAM;QAChB,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,YAAY,IAAI,KAAK,CAAA;QACjD,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAA;QAChC,IAAI,CAAC,gBAAgB,GAAG,IAAA,+CAAqB,EAAC,MAAM,CAAC,CAAA;QACrD,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,aAAa,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAA;QACrE,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,UAAU,IAAI,CAAC,CAAA;IAC5C,CAAC;IAED,0BAA0B;QACxB,OAAO;YACL,IAAI,EAAE,OAAO;YACb,YAAY,EAAE,IAAI,CAAC,aAAa;YAChC,QAAQ,EAAE,IAAI,CAAC,SAAS;YACxB,UAAU,EAAE,IAAI,CAAC,YAAY;SAC9B,CAAA;IACH,CAAC;IAED,KAAK,CAAC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AAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,eAAe,GAAG,qBAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;QACxE,CAAC;IACH,CAAC;IAED,IAAI;QACF,KAAK,CAAC,IAAI,EAAE,CAAA;QACZ,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAA;QACrB,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;QACjD,IAAI,CAAC,gBAAgB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAA;IAC5C,CAAC;CACF;QAEQ,cAAc;kBACR,cAAc"}
|
|
@@ -0,0 +1,237 @@
|
|
|
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
|
+
* @format
|
|
8
|
+
*/
|
|
9
|
+
'use strict';
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.SpringAnimation = void 0;
|
|
12
|
+
const Animation_js_1 = require("./Animation.js");
|
|
13
|
+
const SpringConfig_js_1 = require("../SpringConfig.js");
|
|
14
|
+
const react_native_web_internals_1 = require("@hanzogui/react-native-web-internals");
|
|
15
|
+
const NativeAnimatedHelper_js_1 = require("../NativeAnimatedHelper.js");
|
|
16
|
+
class SpringAnimation extends Animation_js_1.Animation {
|
|
17
|
+
constructor(config) {
|
|
18
|
+
super();
|
|
19
|
+
this._overshootClamping = config.overshootClamping ?? false;
|
|
20
|
+
this._restDisplacementThreshold = config.restDisplacementThreshold ?? 0.001;
|
|
21
|
+
this._restSpeedThreshold = config.restSpeedThreshold ?? 0.001;
|
|
22
|
+
this._initialVelocity = config.velocity ?? 0;
|
|
23
|
+
this._lastVelocity = config.velocity ?? 0;
|
|
24
|
+
this._toValue = config.toValue;
|
|
25
|
+
this._delay = config.delay ?? 0;
|
|
26
|
+
this._useNativeDriver = (0, NativeAnimatedHelper_js_1.shouldUseNativeDriver)(config);
|
|
27
|
+
this._platformConfig = config.platformConfig;
|
|
28
|
+
this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;
|
|
29
|
+
this.__iterations = config.iterations ?? 1;
|
|
30
|
+
if (config.stiffness !== undefined ||
|
|
31
|
+
config.damping !== undefined ||
|
|
32
|
+
config.mass !== undefined) {
|
|
33
|
+
(0, react_native_web_internals_1.invariant)(config.bounciness === undefined &&
|
|
34
|
+
config.speed === undefined &&
|
|
35
|
+
config.tension === undefined &&
|
|
36
|
+
config.friction === undefined, 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one');
|
|
37
|
+
this._stiffness = config.stiffness ?? 100;
|
|
38
|
+
this._damping = config.damping ?? 10;
|
|
39
|
+
this._mass = config.mass ?? 1;
|
|
40
|
+
}
|
|
41
|
+
else if (config.bounciness !== undefined || config.speed !== undefined) {
|
|
42
|
+
// Convert the origami bounciness/speed values to stiffness/damping
|
|
43
|
+
// We assume mass is 1.
|
|
44
|
+
(0, react_native_web_internals_1.invariant)(config.tension === undefined &&
|
|
45
|
+
config.friction === undefined &&
|
|
46
|
+
config.stiffness === undefined &&
|
|
47
|
+
config.damping === undefined &&
|
|
48
|
+
config.mass === undefined, 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one');
|
|
49
|
+
const springConfig = SpringConfig_js_1.SpringConfig.fromBouncinessAndSpeed(config.bounciness ?? 8, config.speed ?? 12);
|
|
50
|
+
this._stiffness = springConfig.stiffness;
|
|
51
|
+
this._damping = springConfig.damping;
|
|
52
|
+
this._mass = 1;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
// Convert the origami tension/friction values to stiffness/damping
|
|
56
|
+
// We assume mass is 1.
|
|
57
|
+
const springConfig = SpringConfig_js_1.SpringConfig.fromOrigamiTensionAndFriction(config.tension ?? 40, config.friction ?? 7);
|
|
58
|
+
this._stiffness = springConfig.stiffness;
|
|
59
|
+
this._damping = springConfig.damping;
|
|
60
|
+
this._mass = 1;
|
|
61
|
+
}
|
|
62
|
+
(0, react_native_web_internals_1.invariant)(this._stiffness > 0, 'Stiffness value must be greater than 0');
|
|
63
|
+
(0, react_native_web_internals_1.invariant)(this._damping > 0, 'Damping value must be greater than 0');
|
|
64
|
+
(0, react_native_web_internals_1.invariant)(this._mass > 0, 'Mass value must be greater than 0');
|
|
65
|
+
}
|
|
66
|
+
__getNativeAnimationConfig() {
|
|
67
|
+
return {
|
|
68
|
+
type: 'spring',
|
|
69
|
+
overshootClamping: this._overshootClamping,
|
|
70
|
+
restDisplacementThreshold: this._restDisplacementThreshold,
|
|
71
|
+
restSpeedThreshold: this._restSpeedThreshold,
|
|
72
|
+
stiffness: this._stiffness,
|
|
73
|
+
damping: this._damping,
|
|
74
|
+
mass: this._mass,
|
|
75
|
+
initialVelocity: this._initialVelocity ?? this._lastVelocity,
|
|
76
|
+
toValue: this._toValue,
|
|
77
|
+
iterations: this.__iterations,
|
|
78
|
+
platformConfig: this._platformConfig,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {
|
|
82
|
+
this.__active = true;
|
|
83
|
+
this._startPosition = fromValue;
|
|
84
|
+
this._lastPosition = this._startPosition;
|
|
85
|
+
this._onUpdate = onUpdate;
|
|
86
|
+
this.__onEnd = onEnd;
|
|
87
|
+
this._lastTime = Date.now();
|
|
88
|
+
this._frameTime = 0.0;
|
|
89
|
+
if (previousAnimation instanceof SpringAnimation) {
|
|
90
|
+
const internalState = previousAnimation.getInternalState();
|
|
91
|
+
this._lastPosition = internalState.lastPosition;
|
|
92
|
+
this._lastVelocity = internalState.lastVelocity;
|
|
93
|
+
// Set the initial velocity to the last velocity
|
|
94
|
+
this._initialVelocity = this._lastVelocity;
|
|
95
|
+
this._lastTime = internalState.lastTime;
|
|
96
|
+
}
|
|
97
|
+
const start = () => {
|
|
98
|
+
if (this._useNativeDriver) {
|
|
99
|
+
this.__startNativeAnimation(animatedValue);
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
this.onUpdate();
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
// If this._delay is more than 0, we start after the timeout.
|
|
106
|
+
if (this._delay) {
|
|
107
|
+
this._timeout = setTimeout(start, this._delay);
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
start();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
getInternalState() {
|
|
114
|
+
return {
|
|
115
|
+
lastPosition: this._lastPosition,
|
|
116
|
+
lastVelocity: this._lastVelocity,
|
|
117
|
+
lastTime: this._lastTime,
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* This spring model is based off of a damped harmonic oscillator
|
|
122
|
+
* (https://en.wikipedia.org/wiki/Harmonic_oscillator#Damped_harmonic_oscillator).
|
|
123
|
+
*
|
|
124
|
+
* We use the closed form of the second order differential equation:
|
|
125
|
+
*
|
|
126
|
+
* x'' + (2ζ⍵_0)x' + ⍵^2x = 0
|
|
127
|
+
*
|
|
128
|
+
* where
|
|
129
|
+
* ⍵_0 = √(k / m) (undamped angular frequency of the oscillator),
|
|
130
|
+
* ζ = c / 2√mk (damping ratio),
|
|
131
|
+
* c = damping constant
|
|
132
|
+
* k = stiffness
|
|
133
|
+
* m = mass
|
|
134
|
+
*
|
|
135
|
+
* The derivation of the closed form is described in detail here:
|
|
136
|
+
* http://planetmath.org/sites/default/files/texpdf/39745.pdf
|
|
137
|
+
*
|
|
138
|
+
* This algorithm happens to match the algorithm used by CASpringAnimation,
|
|
139
|
+
* a QuartzCore (iOS) API that creates spring animations.
|
|
140
|
+
*/
|
|
141
|
+
onUpdate() {
|
|
142
|
+
// If for some reason we lost a lot of frames (e.g. process large payload or
|
|
143
|
+
// stopped in the debugger), we only advance by 4 frames worth of
|
|
144
|
+
// computation and will continue on the next frame. It's better to have it
|
|
145
|
+
// running at faster speed than jumping to the end.
|
|
146
|
+
const MAX_STEPS = 64;
|
|
147
|
+
let now = Date.now();
|
|
148
|
+
if (now > this._lastTime + MAX_STEPS) {
|
|
149
|
+
now = this._lastTime + MAX_STEPS;
|
|
150
|
+
}
|
|
151
|
+
const deltaTime = (now - this._lastTime) / 1000;
|
|
152
|
+
this._frameTime += deltaTime;
|
|
153
|
+
const c = this._damping;
|
|
154
|
+
const m = this._mass;
|
|
155
|
+
const k = this._stiffness;
|
|
156
|
+
const v0 = -this._initialVelocity;
|
|
157
|
+
const zeta = c / (2 * Math.sqrt(k * m)); // damping ratio
|
|
158
|
+
const omega0 = Math.sqrt(k / m); // undamped angular frequency of the oscillator (rad/ms)
|
|
159
|
+
const omega1 = omega0 * Math.sqrt(1.0 - zeta * zeta); // exponential decay
|
|
160
|
+
const x0 = this._toValue - this._startPosition; // calculate the oscillation from x0 = 1 to x = 0
|
|
161
|
+
let position = 0.0;
|
|
162
|
+
let velocity = 0.0;
|
|
163
|
+
const t = this._frameTime;
|
|
164
|
+
if (zeta < 1) {
|
|
165
|
+
// Under damped
|
|
166
|
+
const envelope = Math.exp(-zeta * omega0 * t);
|
|
167
|
+
position =
|
|
168
|
+
this._toValue -
|
|
169
|
+
envelope *
|
|
170
|
+
(((v0 + zeta * omega0 * x0) / omega1) * Math.sin(omega1 * t) +
|
|
171
|
+
x0 * Math.cos(omega1 * t));
|
|
172
|
+
// This looks crazy -- it's actually just the derivative of the
|
|
173
|
+
// oscillation function
|
|
174
|
+
velocity =
|
|
175
|
+
zeta *
|
|
176
|
+
omega0 *
|
|
177
|
+
envelope *
|
|
178
|
+
((Math.sin(omega1 * t) * (v0 + zeta * omega0 * x0)) / omega1 +
|
|
179
|
+
x0 * Math.cos(omega1 * t)) -
|
|
180
|
+
envelope *
|
|
181
|
+
(Math.cos(omega1 * t) * (v0 + zeta * omega0 * x0) -
|
|
182
|
+
omega1 * x0 * Math.sin(omega1 * t));
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
// Critically damped
|
|
186
|
+
const envelope = Math.exp(-omega0 * t);
|
|
187
|
+
position = this._toValue - envelope * (x0 + (v0 + omega0 * x0) * t);
|
|
188
|
+
velocity = envelope * (v0 * (t * omega0 - 1) + t * x0 * (omega0 * omega0));
|
|
189
|
+
}
|
|
190
|
+
this._lastTime = now;
|
|
191
|
+
this._lastPosition = position;
|
|
192
|
+
this._lastVelocity = velocity;
|
|
193
|
+
this._onUpdate(position);
|
|
194
|
+
if (!this.__active) {
|
|
195
|
+
// a listener might have stopped us in _onUpdate
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
// Conditions for stopping the spring animation
|
|
199
|
+
let isOvershooting = false;
|
|
200
|
+
if (this._overshootClamping && this._stiffness !== 0) {
|
|
201
|
+
if (this._startPosition < this._toValue) {
|
|
202
|
+
isOvershooting = position > this._toValue;
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
isOvershooting = position < this._toValue;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
const isVelocity = Math.abs(velocity) <= this._restSpeedThreshold;
|
|
209
|
+
let isDisplacement = true;
|
|
210
|
+
if (this._stiffness !== 0) {
|
|
211
|
+
isDisplacement =
|
|
212
|
+
Math.abs(this._toValue - position) <= this._restDisplacementThreshold;
|
|
213
|
+
}
|
|
214
|
+
if (isOvershooting || (isVelocity && isDisplacement)) {
|
|
215
|
+
if (this._stiffness !== 0) {
|
|
216
|
+
// Ensure that we end up with a round value
|
|
217
|
+
this._lastPosition = this._toValue;
|
|
218
|
+
this._lastVelocity = 0;
|
|
219
|
+
this._onUpdate(this._toValue);
|
|
220
|
+
}
|
|
221
|
+
this.__debouncedOnEnd({ finished: true });
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
// $FlowFixMe[method-unbinding] added when improving typing for this parameters
|
|
225
|
+
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
|
|
226
|
+
}
|
|
227
|
+
stop() {
|
|
228
|
+
super.stop();
|
|
229
|
+
this.__active = false;
|
|
230
|
+
clearTimeout(this._timeout);
|
|
231
|
+
global.cancelAnimationFrame(this._animationFrame);
|
|
232
|
+
this.__debouncedOnEnd({ finished: false });
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
exports.SpringAnimation = SpringAnimation;
|
|
236
|
+
exports.default = SpringAnimation;
|
|
237
|
+
//# sourceMappingURL=SpringAnimation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpringAnimation.js","sourceRoot":"","sources":["../../../../../../src/vendor/react-native/Animated/animations/SpringAnimation.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,YAAY,CAAA;;;AAEZ,iDAA0C;AAC1C,wDAAiD;AAEjD,qFAAgE;AAEhE,wEAAkE;AAElE,MAAM,eAAgB,SAAQ,wBAAS;IAuBrC,YAAY,MAAM;QAChB,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,kBAAkB,GAAG,MAAM,CAAC,iBAAiB,IAAI,KAAK,CAAA;QAC3D,IAAI,CAAC,0BAA0B,GAAG,MAAM,CAAC,yBAAyB,IAAI,KAAK,CAAA;QAC3E,IAAI,CAAC,mBAAmB,GAAG,MAAM,CAAC,kBAAkB,IAAI,KAAK,CAAA;QAC7D,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,QAAQ,IAAI,CAAC,CAAA;QAC5C,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,QAAQ,IAAI,CAAC,CAAA;QACzC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAA;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC,CAAA;QAC/B,IAAI,CAAC,gBAAgB,GAAG,IAAA,+CAAqB,EAAC,MAAM,CAAC,CAAA;QACrD,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,cAAc,CA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AI,IAAI,CAAC,UAAU,KAAK,CAAC,EAAE,CAAC;gBAC1B,2CAA2C;gBAC3C,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAClC,IAAI,CAAC,aAAa,GAAG,CAAC,CAAA;gBACtB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;YAC/B,CAAC;YAED,IAAI,CAAC,gBAAgB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAA;YACzC,OAAM;QACR,CAAC;QACD,+EAA+E;QAC/E,IAAI,CAAC,eAAe,GAAG,qBAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IACxE,CAAC;IAED,IAAI;QACF,KAAK,CAAC,IAAI,EAAE,CAAA;QACZ,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAA;QACrB,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QAC3B,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;QACjD,IAAI,CAAC,gBAAgB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAA;IAC5C,CAAC;CACF;QAEQ,eAAe;kBACT,eAAe"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*
|
|
8
|
+
* @format
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.TimingAnimation = void 0;
|
|
12
|
+
const Easing_js_1 = require("../Easing.js");
|
|
13
|
+
const Animation_js_1 = require("./Animation.js");
|
|
14
|
+
const NativeAnimatedHelper_js_1 = require("../NativeAnimatedHelper.js");
|
|
15
|
+
let _easeInOut;
|
|
16
|
+
function easeInOut() {
|
|
17
|
+
if (!_easeInOut) {
|
|
18
|
+
_easeInOut = Easing_js_1.Easing.inOut(Easing_js_1.Easing.ease);
|
|
19
|
+
}
|
|
20
|
+
return _easeInOut;
|
|
21
|
+
}
|
|
22
|
+
class TimingAnimation extends Animation_js_1.Animation {
|
|
23
|
+
constructor(config) {
|
|
24
|
+
super();
|
|
25
|
+
this._toValue = config.toValue;
|
|
26
|
+
this._easing = config.easing ?? easeInOut();
|
|
27
|
+
this._duration = config.duration ?? 500;
|
|
28
|
+
this._delay = config.delay ?? 0;
|
|
29
|
+
this.__iterations = config.iterations ?? 1;
|
|
30
|
+
this._useNativeDriver = (0, NativeAnimatedHelper_js_1.shouldUseNativeDriver)(config);
|
|
31
|
+
this._platformConfig = config.platformConfig;
|
|
32
|
+
this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;
|
|
33
|
+
}
|
|
34
|
+
__getNativeAnimationConfig() {
|
|
35
|
+
const frameDuration = 1000.0 / 60.0;
|
|
36
|
+
const frames = [];
|
|
37
|
+
const numFrames = Math.round(this._duration / frameDuration);
|
|
38
|
+
for (let frame = 0; frame < numFrames; frame++) {
|
|
39
|
+
frames.push(this._easing(frame / numFrames));
|
|
40
|
+
}
|
|
41
|
+
frames.push(this._easing(1));
|
|
42
|
+
return {
|
|
43
|
+
type: 'frames',
|
|
44
|
+
frames,
|
|
45
|
+
toValue: this._toValue,
|
|
46
|
+
iterations: this.__iterations,
|
|
47
|
+
platformConfig: this._platformConfig,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {
|
|
51
|
+
this.__active = true;
|
|
52
|
+
this._fromValue = fromValue;
|
|
53
|
+
this._onUpdate = onUpdate;
|
|
54
|
+
this.__onEnd = onEnd;
|
|
55
|
+
const start = () => {
|
|
56
|
+
// Animations that sometimes have 0 duration and sometimes do not
|
|
57
|
+
// still need to use the native driver when duration is 0 so as to
|
|
58
|
+
// not cause intermixed JS and native animations.
|
|
59
|
+
if (this._duration === 0 && !this._useNativeDriver) {
|
|
60
|
+
this._onUpdate(this._toValue);
|
|
61
|
+
this.__debouncedOnEnd({ finished: true });
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
this._startTime = Date.now();
|
|
65
|
+
if (this._useNativeDriver) {
|
|
66
|
+
this.__startNativeAnimation(animatedValue);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
this._animationFrame = requestAnimationFrame(
|
|
70
|
+
// $FlowFixMe[method-unbinding] added when improving typing for this parameters
|
|
71
|
+
this.onUpdate.bind(this));
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
if (this._delay) {
|
|
76
|
+
this._timeout = setTimeout(start, this._delay);
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
start();
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
onUpdate() {
|
|
83
|
+
const now = Date.now();
|
|
84
|
+
if (now >= this._startTime + this._duration) {
|
|
85
|
+
if (this._duration === 0) {
|
|
86
|
+
this._onUpdate(this._toValue);
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
this._onUpdate(this._fromValue + this._easing(1) * (this._toValue - this._fromValue));
|
|
90
|
+
}
|
|
91
|
+
this.__debouncedOnEnd({ finished: true });
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
this._onUpdate(this._fromValue +
|
|
95
|
+
this._easing((now - this._startTime) / this._duration) *
|
|
96
|
+
(this._toValue - this._fromValue));
|
|
97
|
+
if (this.__active) {
|
|
98
|
+
// $FlowFixMe[method-unbinding] added when improving typing for this parameters
|
|
99
|
+
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
stop() {
|
|
103
|
+
super.stop();
|
|
104
|
+
this.__active = false;
|
|
105
|
+
clearTimeout(this._timeout);
|
|
106
|
+
global.cancelAnimationFrame(this._animationFrame);
|
|
107
|
+
this.__debouncedOnEnd({ finished: false });
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.TimingAnimation = TimingAnimation;
|
|
111
|
+
exports.default = TimingAnimation;
|
|
112
|
+
//# sourceMappingURL=TimingAnimation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimingAnimation.js","sourceRoot":"","sources":["../../../../../../src/vendor/react-native/Animated/animations/TimingAnimation.js"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAEH,4CAAqC;AAErC,iDAA0C;AAE1C,wEAAkE;AAElE,IAAI,UAAU,CAAA;AACd,SAAS,SAAS;IAChB,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,UAAU,GAAG,kBAAM,CAAC,KAAK,CAAC,kBAAM,CAAC,IAAI,CAAC,CAAA;IACxC,CAAC;IACD,OAAO,UAAU,CAAA;AACnB,CAAC;AAED,MAAM,eAAgB,SAAQ,wBAAS;IAarC,YAAY,MAAM;QAChB,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAA;QAC9B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,IAAI,SAAS,EAAE,CAAA;QAC3C,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,QAAQ,IAAI,GAAG,CAAA;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC,CAAA;QAC/B,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,UAAU,IAAI,CAAC,CAAA;QAC1C,IAAI,CAAC,gBAAgB,GAAG,IAAA,+CAAqB,EAAC,MAAM,CAAC,CAAA;QACrD,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,cAAc,CAAA;QAC5C,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,aAAa,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAA;IACvE,CAAC;IAED,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