@tamagui/react-native-web-lite 2.7.7 → 3.0.0-beta.643.1
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.cjs +82 -87
- package/dist/cjs/ActivityIndicator/index.cjs +83 -103
- package/dist/cjs/Alert/index.cjs +17 -20
- package/dist/cjs/AppRegistry/AppContainer.cjs +37 -52
- package/dist/cjs/AppRegistry/index.cjs +69 -81
- package/dist/cjs/AppRegistry/renderApplication.cjs +42 -54
- package/dist/cjs/AppState/index.cjs +60 -67
- package/dist/cjs/Appearance/index.cjs +40 -49
- package/dist/cjs/BackHandler/index.cjs +20 -25
- package/dist/cjs/Clipboard/index.cjs +50 -53
- package/dist/cjs/DeviceEmitter.cjs +15 -18
- package/dist/cjs/DeviceInfo/index.cjs +50 -63
- package/dist/cjs/Dimensions/index.cjs +86 -89
- package/dist/cjs/FlatList.cjs +177 -211
- package/dist/cjs/I18nManager/index.cjs +24 -29
- package/dist/cjs/Image/index.cjs +277 -308
- package/dist/cjs/Image/types.cjs +10 -11
- package/dist/cjs/ImageBackground/index.cjs +35 -48
- package/dist/cjs/InteractionManager/TaskQueue.cjs +95 -100
- package/dist/cjs/InteractionManager/index.cjs +105 -115
- package/dist/cjs/Keyboard/index.cjs +23 -28
- package/dist/cjs/KeyboardAvoidingView/index.cjs +41 -54
- package/dist/cjs/Libraries/Pressability/Pressability.cjs +15 -18
- package/dist/cjs/Libraries/Pressability/usePressability.cjs +15 -18
- package/dist/cjs/Linking/index.cjs +86 -89
- package/dist/cjs/LogBox/index.cjs +20 -21
- package/dist/cjs/Modal/ModalAnimation.cjs +131 -151
- package/dist/cjs/Modal/ModalContent.cjs +57 -77
- package/dist/cjs/Modal/ModalPortal.cjs +38 -46
- package/dist/cjs/Modal/index.cjs +15 -18
- package/dist/cjs/NativeModules/index.cjs +15 -20
- package/dist/cjs/PanResponder/index.cjs +18 -26
- package/dist/cjs/PixelRatio/index.cjs +45 -48
- package/dist/cjs/Pressable/index.cjs +130 -142
- package/dist/cjs/RefreshControl/index.cjs +18 -35
- package/dist/cjs/SafeAreaView/index.cjs +35 -46
- package/dist/cjs/ScrollView/WebScrollView.cjs +270 -0
- package/dist/cjs/ScrollView/index.cjs +15 -662
- package/dist/cjs/SectionList.cjs +19 -25
- package/dist/cjs/Share/index.cjs +44 -47
- package/dist/cjs/StatusBar/index.cjs +17 -18
- package/dist/cjs/Text/index.cjs +133 -171
- package/dist/cjs/Text/types.cjs +10 -11
- package/dist/cjs/TextInput/index.cjs +281 -359
- package/dist/cjs/TextInput/types.cjs +10 -11
- package/dist/cjs/TouchableNativeFeedback.cjs +15 -18
- package/dist/cjs/TouchableOpacity.cjs +91 -99
- package/dist/cjs/TouchableWithoutFeedback.cjs +65 -74
- package/dist/cjs/UnimplementedView.cjs +26 -36
- package/dist/cjs/Vibration/index.cjs +25 -28
- package/dist/cjs/View/index.cjs +89 -121
- package/dist/cjs/View/types.cjs +10 -11
- package/dist/cjs/VirtualizedList.cjs +19 -25
- package/dist/cjs/codegenNativeCommands.cjs +32 -0
- package/dist/cjs/codegenNativeComponent.cjs +19 -18
- package/dist/cjs/createElement/index.cjs +52 -70
- package/dist/cjs/createReactDOMStyle.cjs +16 -17
- package/dist/cjs/index.cjs +106 -106
- package/dist/cjs/modules/requestIdleCallback.cjs +28 -29
- package/dist/cjs/preprocess.cjs +19 -20
- package/dist/cjs/render/index.cjs +18 -19
- package/dist/cjs/styleTypes.cjs +10 -11
- package/dist/cjs/types.cjs +10 -11
- package/dist/cjs/useColorScheme/index.cjs +27 -37
- package/dist/cjs/useLocaleContext/index.cjs +15 -18
- package/dist/cjs/useWindowDimensions/index.cjs +32 -42
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +23 -24
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +136 -141
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +500 -533
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +100 -109
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.cjs +2 -1
- package/dist/cjs/vendor/react-native/Animated/Easing.cjs +182 -183
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +302 -328
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +48 -56
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +46 -53
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +63 -64
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +52 -56
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +74 -79
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +210 -215
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +107 -116
- package/dist/cjs/vendor/react-native/Animated/bezier.cjs +83 -88
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +23 -29
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +19 -25
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +23 -29
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +23 -29
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +16 -17
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +16 -17
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +32 -44
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +51 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +244 -247
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +59 -60
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +65 -66
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +185 -188
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +49 -50
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +51 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +152 -156
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +133 -134
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +113 -116
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +51 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +73 -75
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +109 -110
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +212 -216
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +96 -103
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +70 -71
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +75 -76
- package/dist/cjs/vendor/react-native/Batchinator/index.cjs +46 -57
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +54 -57
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +16 -17
- package/dist/cjs/vendor/react-native/FeatureFlags.cjs +21 -24
- package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +165 -173
- package/dist/cjs/vendor/react-native/FlatList/index.cjs +259 -294
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +66 -69
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +87 -91
- package/dist/cjs/vendor/react-native/PanResponder/index.cjs +170 -176
- package/dist/cjs/vendor/react-native/PooledClass/index.cjs +42 -43
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +21 -22
- package/dist/cjs/vendor/react-native/SectionList/index.cjs +95 -110
- package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +28 -34
- package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +27 -33
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +82 -111
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +17 -22
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +20 -21
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +124 -127
- package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +16 -17
- package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +23 -24
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +26 -30
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +27 -30
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +26 -27
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +154 -163
- package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +147 -156
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +124 -125
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +100 -99
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +63 -64
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +66 -75
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +104 -160
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +56 -64
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +51 -52
- package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +222 -284
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +124 -144
- package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +58 -59
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +16 -17
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.cjs +2 -1
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +43 -44
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +115 -120
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +31 -32
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +80 -81
- package/dist/cjs/vendor/react-native/infoLog/index.cjs +17 -18
- package/dist/cjs/vendor/react-native/useRefEffect.cjs +26 -27
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +88 -89
- package/dist/cjs/without-animated.cjs +255 -267
- package/dist/esm/AccessibilityInfo/index.mjs +69 -69
- package/dist/esm/AccessibilityInfo/index.mjs.map +1 -1
- package/dist/esm/ActivityIndicator/index.mjs +66 -78
- package/dist/esm/ActivityIndicator/index.mjs.map +1 -1
- package/dist/esm/Alert/index.mjs +4 -3
- package/dist/esm/Alert/index.mjs.map +1 -1
- package/dist/esm/AppRegistry/AppContainer.mjs +21 -28
- package/dist/esm/AppRegistry/AppContainer.mjs.map +1 -1
- package/dist/esm/AppRegistry/index.mjs +58 -65
- package/dist/esm/AppRegistry/index.mjs.map +1 -1
- package/dist/esm/AppRegistry/renderApplication.mjs +30 -40
- package/dist/esm/AppRegistry/renderApplication.mjs.map +1 -1
- package/dist/esm/AppState/index.mjs +48 -50
- package/dist/esm/AppState/index.mjs.map +1 -1
- package/dist/esm/Appearance/index.mjs +27 -31
- package/dist/esm/Appearance/index.mjs.map +1 -1
- package/dist/esm/BackHandler/index.mjs +6 -7
- package/dist/esm/BackHandler/index.mjs.map +1 -1
- package/dist/esm/Clipboard/index.mjs +37 -36
- package/dist/esm/Clipboard/index.mjs.map +1 -1
- package/dist/esm/DeviceEmitter.mjs +2 -0
- package/dist/esm/DeviceEmitter.mjs.map +1 -1
- package/dist/esm/DeviceInfo/index.mjs +37 -45
- package/dist/esm/DeviceInfo/index.mjs.map +1 -1
- package/dist/esm/Dimensions/index.mjs +72 -72
- package/dist/esm/Dimensions/index.mjs.map +1 -1
- package/dist/esm/FlatList.mjs +162 -188
- package/dist/esm/FlatList.mjs.map +1 -1
- package/dist/esm/I18nManager/index.mjs +10 -11
- package/dist/esm/I18nManager/index.mjs.map +1 -1
- package/dist/esm/Image/index.mjs +261 -285
- package/dist/esm/Image/index.mjs.map +1 -1
- package/dist/esm/Image/types.mjs +0 -2
- package/dist/esm/ImageBackground/index.mjs +21 -31
- package/dist/esm/ImageBackground/index.mjs.map +1 -1
- package/dist/esm/InteractionManager/TaskQueue.mjs +83 -83
- package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -1
- package/dist/esm/InteractionManager/index.mjs +89 -89
- package/dist/esm/InteractionManager/index.mjs.map +1 -1
- package/dist/esm/Keyboard/index.mjs +10 -10
- package/dist/esm/Keyboard/index.mjs.map +1 -1
- package/dist/esm/KeyboardAvoidingView/index.mjs +24 -29
- package/dist/esm/KeyboardAvoidingView/index.mjs.map +1 -1
- package/dist/esm/Libraries/Pressability/Pressability.mjs +1 -0
- package/dist/esm/Libraries/Pressability/Pressability.mjs.map +1 -1
- package/dist/esm/Libraries/Pressability/usePressability.mjs +2 -1
- package/dist/esm/Libraries/Pressability/usePressability.mjs.map +1 -1
- package/dist/esm/Linking/index.mjs +73 -71
- package/dist/esm/Linking/index.mjs.map +1 -1
- package/dist/esm/LogBox/index.mjs +5 -4
- package/dist/esm/LogBox/index.mjs.map +1 -1
- package/dist/esm/Modal/ModalAnimation.mjs +116 -126
- package/dist/esm/Modal/ModalAnimation.mjs.map +1 -1
- package/dist/esm/Modal/ModalContent.mjs +41 -51
- package/dist/esm/Modal/ModalContent.mjs.map +1 -1
- package/dist/esm/Modal/ModalPortal.mjs +22 -20
- package/dist/esm/Modal/ModalPortal.mjs.map +1 -1
- package/dist/esm/Modal/index.mjs +1 -0
- package/dist/esm/Modal/index.mjs.map +1 -1
- package/dist/esm/NativeModules/index.mjs +3 -3
- package/dist/esm/NativeModules/index.mjs.map +1 -1
- package/dist/esm/PanResponder/index.mjs +3 -3
- package/dist/esm/PixelRatio/index.mjs +33 -31
- package/dist/esm/PixelRatio/index.mjs.map +1 -1
- package/dist/esm/Pressable/index.mjs +114 -119
- package/dist/esm/Pressable/index.mjs.map +1 -1
- package/dist/esm/RefreshControl/index.mjs +4 -18
- package/dist/esm/RefreshControl/index.mjs.map +1 -1
- package/dist/esm/SafeAreaView/index.mjs +18 -21
- package/dist/esm/SafeAreaView/index.mjs.map +1 -1
- package/dist/esm/ScrollView/WebScrollView.mjs +244 -0
- package/dist/esm/ScrollView/WebScrollView.mjs.map +1 -0
- package/dist/esm/ScrollView/index.mjs +3 -635
- package/dist/esm/SectionList.mjs +3 -4
- package/dist/esm/Share/index.mjs +32 -30
- package/dist/esm/Share/index.mjs.map +1 -1
- package/dist/esm/StatusBar/index.mjs +2 -1
- package/dist/esm/StatusBar/index.mjs.map +1 -1
- package/dist/esm/Text/index.mjs +116 -146
- package/dist/esm/Text/index.mjs.map +1 -1
- package/dist/esm/Text/types.mjs +0 -2
- package/dist/esm/TextInput/index.mjs +265 -336
- package/dist/esm/TextInput/index.mjs.map +1 -1
- package/dist/esm/TextInput/types.mjs +0 -2
- package/dist/esm/TouchableNativeFeedback.mjs +2 -2
- package/dist/esm/TouchableOpacity.mjs +75 -73
- package/dist/esm/TouchableOpacity.mjs.map +1 -1
- package/dist/esm/TouchableWithoutFeedback.mjs +49 -48
- package/dist/esm/TouchableWithoutFeedback.mjs.map +1 -1
- package/dist/esm/UnimplementedView.mjs +11 -11
- package/dist/esm/UnimplementedView.mjs.map +1 -1
- package/dist/esm/Vibration/index.mjs +11 -10
- package/dist/esm/Vibration/index.mjs.map +1 -1
- package/dist/esm/View/index.mjs +73 -97
- package/dist/esm/View/index.mjs.map +1 -1
- package/dist/esm/View/types.mjs +0 -2
- package/dist/esm/VirtualizedList.mjs +3 -4
- package/dist/esm/codegenNativeCommands.mjs +8 -0
- package/dist/esm/codegenNativeCommands.mjs.map +1 -0
- package/dist/esm/codegenNativeComponent.mjs +5 -3
- package/dist/esm/codegenNativeComponent.mjs.map +1 -1
- package/dist/esm/createElement/index.mjs +35 -45
- package/dist/esm/createElement/index.mjs.map +1 -1
- package/dist/esm/createReactDOMStyle.mjs +2 -0
- package/dist/esm/createReactDOMStyle.mjs.map +1 -1
- package/dist/esm/index.js +15 -10
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +15 -10
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/modules/requestIdleCallback.mjs +13 -12
- package/dist/esm/modules/requestIdleCallback.mjs.map +1 -1
- package/dist/esm/preprocess.mjs +3 -3
- package/dist/esm/render/index.mjs +1 -0
- package/dist/esm/render/index.mjs.map +1 -1
- package/dist/esm/styleTypes.mjs +0 -2
- package/dist/esm/types.mjs +0 -2
- package/dist/esm/useColorScheme/index.mjs +11 -11
- package/dist/esm/useColorScheme/index.mjs.map +1 -1
- package/dist/esm/useLocaleContext/index.mjs +2 -2
- package/dist/esm/useWindowDimensions/index.mjs +16 -16
- package/dist/esm/useWindowDimensions/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Animated.mjs +12 -10
- package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +124 -127
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +485 -515
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +85 -91
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs +0 -2
- package/dist/esm/vendor/react-native/Animated/Easing.mjs +169 -167
- package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +273 -296
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +26 -26
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +24 -23
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +48 -47
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +38 -39
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +60 -62
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +196 -198
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +93 -99
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/bezier.mjs +68 -71
- package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +7 -5
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +3 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +7 -5
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +7 -5
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +15 -19
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +37 -35
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +230 -230
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +45 -43
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +51 -49
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +172 -172
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +35 -33
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +37 -35
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +138 -139
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +119 -117
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +99 -99
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +37 -35
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +60 -59
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +95 -93
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +198 -199
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +82 -86
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +56 -54
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +61 -59
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Batchinator/index.mjs +32 -40
- package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +40 -40
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -1
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs +2 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs.map +1 -1
- package/dist/esm/vendor/react-native/FeatureFlags.mjs +7 -6
- package/dist/esm/vendor/react-native/FeatureFlags.mjs.map +1 -1
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +150 -156
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/FlatList/index.mjs +244 -271
- package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +52 -52
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +73 -74
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/PanResponder/index.mjs +153 -151
- package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/PooledClass/index.mjs +27 -26
- package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +6 -5
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs.map +1 -1
- package/dist/esm/vendor/react-native/SectionList/index.mjs +78 -85
- package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs +11 -9
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/StaticRenderer/index.mjs +10 -8
- package/dist/esm/vendor/react-native/StaticRenderer/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs +67 -94
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +3 -6
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +6 -4
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +105 -106
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/Platform.mjs +2 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs +8 -7
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +11 -13
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +13 -13
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +12 -10
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -1
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +140 -146
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +133 -139
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +107 -106
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +88 -82
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +49 -47
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +49 -50
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +87 -135
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +38 -38
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +36 -35
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +207 -266
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +107 -119
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs +43 -42
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs +2 -0
- package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs.map +1 -1
- package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs +0 -2
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs +29 -27
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs.map +1 -1
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs +101 -103
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs.map +1 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs +16 -15
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs.map +1 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs +66 -64
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs.map +1 -1
- package/dist/esm/vendor/react-native/infoLog/index.mjs +2 -1
- package/dist/esm/vendor/react-native/infoLog/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/useRefEffect.mjs +12 -10
- package/dist/esm/vendor/react-native/useRefEffect.mjs.map +1 -1
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +71 -70
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -1
- package/dist/esm/without-animated.mjs +172 -187
- package/dist/esm/without-animated.mjs.map +1 -1
- package/package.json +12 -12
- package/src/ScrollView/WebScrollView.tsx +383 -0
- package/src/ScrollView/index.tsx +6 -892
- package/src/codegenNativeCommands.ts +6 -0
- package/src/codegenNativeComponent.ts +2 -2
- package/src/index.tsx +3 -0
- package/src/without-animated.tsx +1 -0
- package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +0 -209
- package/dist/cjs/AppRegistry/__tests__/index-test.cjs +0 -97
- package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +0 -162
- package/dist/cjs/AppState/__tests__/index-test.cjs +0 -38
- package/dist/cjs/Dimensions/__tests__/index-test.cjs +0 -67
- package/dist/cjs/ImageBackground/__tests__/index-test.cjs +0 -72
- package/dist/cjs/Linking/__tests__/index-test.cjs +0 -56
- package/dist/cjs/ScrollView/ScrollViewBase.cjs +0 -167
- package/dist/cjs/codegenNativeCommand.cjs +0 -31
- package/dist/cjs/createElement/__tests__/index-test.cjs +0 -828
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +0 -186
- package/dist/esm/ActivityIndicator/__tests__/index-test.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/AppState/__tests__/index-test.mjs +0 -15
- package/dist/esm/AppState/__tests__/index-test.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/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/Linking/__tests__/index-test.mjs +0 -33
- package/dist/esm/Linking/__tests__/index-test.mjs.map +0 -1
- package/dist/esm/PanResponder/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.map +0 -1
- package/dist/esm/SectionList.mjs.map +0 -1
- package/dist/esm/Text/types.mjs.map +0 -1
- package/dist/esm/TextInput/types.mjs.map +0 -1
- package/dist/esm/TouchableNativeFeedback.mjs.map +0 -1
- package/dist/esm/View/types.mjs.map +0 -1
- 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/createElement/__tests__/index-test.mjs +0 -805
- package/dist/esm/createElement/__tests__/index-test.mjs.map +0 -1
- package/dist/esm/preprocess.mjs.map +0 -1
- package/dist/esm/styleTypes.mjs.map +0 -1
- package/dist/esm/types.mjs.map +0 -1
- package/dist/esm/useLocaleContext/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs.map +0 -1
- package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs.map +0 -1
- package/src/ActivityIndicator/__tests__/__snapshots__/index-test.js.snap +0 -466
- package/src/ActivityIndicator/__tests__/index-test.tsx +0 -147
- package/src/AppRegistry/__tests__/index-test.node.tsx +0 -144
- package/src/AppRegistry/__tests__/index-test.tsx +0 -94
- package/src/AppState/__tests__/index-test.tsx +0 -24
- package/src/Dimensions/__tests__/index-test.tsx +0 -54
- package/src/ImageBackground/__tests__/index-test.tsx +0 -49
- package/src/Linking/__tests__/index-test.tsx +0 -37
- package/src/Pressable/__tests__/__snapshots__/index-test.js.snap +0 -196
- package/src/ScrollView/ScrollViewBase.tsx +0 -183
- package/src/ScrollView/__tests__/__snapshots__/index-test.js.snap +0 -49
- package/src/Text/__tests__/__snapshots__/index-test.js.snap +0 -218
- package/src/codegenNativeCommand.ts +0 -6
- package/src/createElement/__tests__/__snapshots__/index-test.js.snap +0 -13
- package/src/createElement/__tests__/index-test.tsx +0 -647
|
@@ -1,108 +1,102 @@
|
|
|
1
1
|
import { Easing } from "../Easing.mjs";
|
|
2
2
|
import { Animation } from "./Animation.mjs";
|
|
3
3
|
import { shouldUseNativeDriver } from "../NativeAnimatedHelper.mjs";
|
|
4
|
+
|
|
4
5
|
let _easeInOut;
|
|
5
6
|
function easeInOut() {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
class TimingAnimation extends Animation {
|
|
12
|
-
_startTime;
|
|
13
|
-
_fromValue;
|
|
14
|
-
_toValue;
|
|
15
|
-
_duration;
|
|
16
|
-
_delay;
|
|
17
|
-
_easing;
|
|
18
|
-
_onUpdate;
|
|
19
|
-
_animationFrame;
|
|
20
|
-
_timeout;
|
|
21
|
-
_useNativeDriver;
|
|
22
|
-
_platformConfig;
|
|
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 = shouldUseNativeDriver(config);
|
|
31
|
-
this._platformConfig = config.platformConfig;
|
|
32
|
-
this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;
|
|
33
|
-
}
|
|
34
|
-
__getNativeAnimationConfig() {
|
|
35
|
-
const frameDuration = 1e3 / 60;
|
|
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
|
-
if (this._duration === 0 && !this._useNativeDriver) {
|
|
57
|
-
this._onUpdate(this._toValue);
|
|
58
|
-
this.__debouncedOnEnd({
|
|
59
|
-
finished: true
|
|
60
|
-
});
|
|
61
|
-
} else {
|
|
62
|
-
this._startTime = Date.now();
|
|
63
|
-
if (this._useNativeDriver) {
|
|
64
|
-
this.__startNativeAnimation(animatedValue);
|
|
65
|
-
} else {
|
|
66
|
-
this._animationFrame = requestAnimationFrame(
|
|
67
|
-
// $FlowFixMe[method-unbinding] added when improving typing for this parameters
|
|
68
|
-
this.onUpdate.bind(this));
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
if (this._delay) {
|
|
73
|
-
this._timeout = setTimeout(start, this._delay);
|
|
74
|
-
} else {
|
|
75
|
-
start();
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
onUpdate() {
|
|
79
|
-
const now = Date.now();
|
|
80
|
-
if (now >= this._startTime + this._duration) {
|
|
81
|
-
if (this._duration === 0) {
|
|
82
|
-
this._onUpdate(this._toValue);
|
|
83
|
-
} else {
|
|
84
|
-
this._onUpdate(this._fromValue + this._easing(1) * (this._toValue - this._fromValue));
|
|
85
|
-
}
|
|
86
|
-
this.__debouncedOnEnd({
|
|
87
|
-
finished: true
|
|
88
|
-
});
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
this._onUpdate(this._fromValue + this._easing((now - this._startTime) / this._duration) * (this._toValue - this._fromValue));
|
|
92
|
-
if (this.__active) {
|
|
93
|
-
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
stop() {
|
|
97
|
-
super.stop();
|
|
98
|
-
this.__active = false;
|
|
99
|
-
clearTimeout(this._timeout);
|
|
100
|
-
global.cancelAnimationFrame(this._animationFrame);
|
|
101
|
-
this.__debouncedOnEnd({
|
|
102
|
-
finished: false
|
|
103
|
-
});
|
|
104
|
-
}
|
|
7
|
+
if (!_easeInOut) {
|
|
8
|
+
_easeInOut = Easing.inOut(Easing.ease);
|
|
9
|
+
}
|
|
10
|
+
return _easeInOut;
|
|
105
11
|
}
|
|
12
|
+
var TimingAnimation = class extends Animation {
|
|
13
|
+
_startTime;
|
|
14
|
+
_fromValue;
|
|
15
|
+
_toValue;
|
|
16
|
+
_duration;
|
|
17
|
+
_delay;
|
|
18
|
+
_easing;
|
|
19
|
+
_onUpdate;
|
|
20
|
+
_animationFrame;
|
|
21
|
+
_timeout;
|
|
22
|
+
_useNativeDriver;
|
|
23
|
+
_platformConfig;
|
|
24
|
+
constructor(config) {
|
|
25
|
+
super();
|
|
26
|
+
this._toValue = config.toValue;
|
|
27
|
+
this._easing = config.easing ?? easeInOut();
|
|
28
|
+
this._duration = config.duration ?? 500;
|
|
29
|
+
this._delay = config.delay ?? 0;
|
|
30
|
+
this.__iterations = config.iterations ?? 1;
|
|
31
|
+
this._useNativeDriver = shouldUseNativeDriver(config);
|
|
32
|
+
this._platformConfig = config.platformConfig;
|
|
33
|
+
this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;
|
|
34
|
+
}
|
|
35
|
+
__getNativeAnimationConfig() {
|
|
36
|
+
const frameDuration = 1e3 / 60;
|
|
37
|
+
const frames = [];
|
|
38
|
+
const numFrames = Math.round(this._duration / frameDuration);
|
|
39
|
+
for (let frame = 0; frame < numFrames; frame++) {
|
|
40
|
+
frames.push(this._easing(frame / numFrames));
|
|
41
|
+
}
|
|
42
|
+
frames.push(this._easing(1));
|
|
43
|
+
return {
|
|
44
|
+
type: "frames",
|
|
45
|
+
frames,
|
|
46
|
+
toValue: this._toValue,
|
|
47
|
+
iterations: this.__iterations,
|
|
48
|
+
platformConfig: this._platformConfig
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {
|
|
52
|
+
this.__active = true;
|
|
53
|
+
this._fromValue = fromValue;
|
|
54
|
+
this._onUpdate = onUpdate;
|
|
55
|
+
this.__onEnd = onEnd;
|
|
56
|
+
const start = () => {
|
|
57
|
+
if (this._duration === 0 && !this._useNativeDriver) {
|
|
58
|
+
this._onUpdate(this._toValue);
|
|
59
|
+
this.__debouncedOnEnd({ finished: true });
|
|
60
|
+
} else {
|
|
61
|
+
this._startTime = Date.now();
|
|
62
|
+
if (this._useNativeDriver) {
|
|
63
|
+
this.__startNativeAnimation(animatedValue);
|
|
64
|
+
} else {
|
|
65
|
+
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
if (this._delay) {
|
|
70
|
+
this._timeout = setTimeout(start, this._delay);
|
|
71
|
+
} else {
|
|
72
|
+
start();
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
onUpdate() {
|
|
76
|
+
const now = Date.now();
|
|
77
|
+
if (now >= this._startTime + this._duration) {
|
|
78
|
+
if (this._duration === 0) {
|
|
79
|
+
this._onUpdate(this._toValue);
|
|
80
|
+
} else {
|
|
81
|
+
this._onUpdate(this._fromValue + this._easing(1) * (this._toValue - this._fromValue));
|
|
82
|
+
}
|
|
83
|
+
this.__debouncedOnEnd({ finished: true });
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
this._onUpdate(this._fromValue + this._easing((now - this._startTime) / this._duration) * (this._toValue - this._fromValue));
|
|
87
|
+
if (this.__active) {
|
|
88
|
+
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
stop() {
|
|
92
|
+
super.stop();
|
|
93
|
+
this.__active = false;
|
|
94
|
+
clearTimeout(this._timeout);
|
|
95
|
+
global.cancelAnimationFrame(this._animationFrame);
|
|
96
|
+
this.__debouncedOnEnd({ finished: false });
|
|
97
|
+
}
|
|
98
|
+
};
|
|
106
99
|
var TimingAnimation_default = TimingAnimation;
|
|
100
|
+
|
|
107
101
|
export { TimingAnimation, TimingAnimation_default as default };
|
|
108
102
|
//# sourceMappingURL=TimingAnimation.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"TimingAnimation.js","names":[],"sources":["esm/vendor/react-native/Animated/animations/TimingAnimation.js"],"sourcesContent":["import { Easing } from \"../Easing\";\nimport { Animation } from \"./Animation\";\nimport { shouldUseNativeDriver } from \"../NativeAnimatedHelper\";\nlet _easeInOut;\nfunction easeInOut() {\n if (!_easeInOut) {\n _easeInOut = Easing.inOut(Easing.ease);\n }\n return _easeInOut;\n}\nclass TimingAnimation extends Animation {\n _startTime;\n _fromValue;\n _toValue;\n _duration;\n _delay;\n _easing;\n _onUpdate;\n _animationFrame;\n _timeout;\n _useNativeDriver;\n _platformConfig;\n constructor(config) {\n super();\n this._toValue = config.toValue;\n this._easing = config.easing ?? easeInOut();\n this._duration = config.duration ?? 500;\n this._delay = config.delay ?? 0;\n this.__iterations = config.iterations ?? 1;\n this._useNativeDriver = shouldUseNativeDriver(config);\n this._platformConfig = config.platformConfig;\n this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;\n }\n __getNativeAnimationConfig() {\n const frameDuration = 1e3 / 60;\n const frames = [];\n const numFrames = Math.round(this._duration / frameDuration);\n for (let frame = 0; frame < numFrames; frame++) {\n frames.push(this._easing(frame / numFrames));\n }\n frames.push(this._easing(1));\n return {\n type: \"frames\",\n frames,\n toValue: this._toValue,\n iterations: this.__iterations,\n platformConfig: this._platformConfig\n };\n }\n start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {\n this.__active = true;\n this._fromValue = fromValue;\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n const start = () => {\n if (this._duration === 0 && !this._useNativeDriver) {\n this._onUpdate(this._toValue);\n this.__debouncedOnEnd({ finished: true });\n } else {\n this._startTime = Date.now();\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n this._animationFrame = requestAnimationFrame(\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.onUpdate.bind(this)\n );\n }\n }\n };\n if (this._delay) {\n this._timeout = setTimeout(start, this._delay);\n } else {\n start();\n }\n }\n onUpdate() {\n const now = Date.now();\n if (now >= this._startTime + this._duration) {\n if (this._duration === 0) {\n this._onUpdate(this._toValue);\n } else {\n this._onUpdate(\n this._fromValue + this._easing(1) * (this._toValue - this._fromValue)\n );\n }\n this.__debouncedOnEnd({ finished: true });\n return;\n }\n this._onUpdate(\n this._fromValue + this._easing((now - this._startTime) / this._duration) * (this._toValue - this._fromValue)\n );\n if (this.__active) {\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n stop() {\n super.stop();\n this.__active = false;\n clearTimeout(this._timeout);\n global.cancelAnimationFrame(this._animationFrame);\n this.__debouncedOnEnd({ finished: false });\n }\n}\nvar TimingAnimation_default = TimingAnimation;\nexport {\n TimingAnimation,\n TimingAnimation_default as default\n};\n//# sourceMappingURL=TimingAnimation.js.map\n"],"mappings":";;;;;AAGA,IAAI;AACJ,SAAS,YAAY;CACnB,IAAI,CAAC,YAAY;EACf,aAAa,OAAO,MAAM,OAAO,IAAI;CACvC;CACA,OAAO;AACT;AACA,IAAM,kBAAN,cAA8B,UAAU;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,YAAY,QAAQ;EAClB,MAAM;EACN,KAAK,WAAW,OAAO;EACvB,KAAK,UAAU,OAAO,UAAU,UAAU;EAC1C,KAAK,YAAY,OAAO,YAAY;EACpC,KAAK,SAAS,OAAO,SAAS;EAC9B,KAAK,eAAe,OAAO,cAAc;EACzC,KAAK,mBAAmB,sBAAsB,MAAM;EACpD,KAAK,kBAAkB,OAAO;EAC9B,KAAK,kBAAkB,OAAO,iBAAiB,CAAC,KAAK;CACvD;CACA,6BAA6B;EAC3B,MAAM,gBAAgB,MAAM;EAC5B,MAAM,SAAS,CAAC;EAChB,MAAM,YAAY,KAAK,MAAM,KAAK,YAAY,aAAa;EAC3D,KAAK,IAAI,QAAQ,GAAG,QAAQ,WAAW,SAAS;GAC9C,OAAO,KAAK,KAAK,QAAQ,QAAQ,SAAS,CAAC;EAC7C;EACA,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC;EAC3B,OAAO;GACL,MAAM;GACN;GACA,SAAS,KAAK;GACd,YAAY,KAAK;GACjB,gBAAgB,KAAK;EACvB;CACF;CACA,MAAM,WAAW,UAAU,OAAO,mBAAmB,eAAe;EAClE,KAAK,WAAW;EAChB,KAAK,aAAa;EAClB,KAAK,YAAY;EACjB,KAAK,UAAU;EACf,MAAM,cAAc;GAClB,IAAI,KAAK,cAAc,KAAK,CAAC,KAAK,kBAAkB;IAClD,KAAK,UAAU,KAAK,QAAQ;IAC5B,KAAK,iBAAiB,EAAE,UAAU,KAAK,CAAC;GAC1C,OAAO;IACL,KAAK,aAAa,KAAK,IAAI;IAC3B,IAAI,KAAK,kBAAkB;KACzB,KAAK,uBAAuB,aAAa;IAC3C,OAAO;KACL,KAAK,kBAAkB,sBAErB,KAAK,SAAS,KAAK,IAAI,CACzB;IACF;GACF;EACF;EACA,IAAI,KAAK,QAAQ;GACf,KAAK,WAAW,WAAW,OAAO,KAAK,MAAM;EAC/C,OAAO;GACL,MAAM;EACR;CACF;CACA,WAAW;EACT,MAAM,MAAM,KAAK,IAAI;EACrB,IAAI,OAAO,KAAK,aAAa,KAAK,WAAW;GAC3C,IAAI,KAAK,cAAc,GAAG;IACxB,KAAK,UAAU,KAAK,QAAQ;GAC9B,OAAO;IACL,KAAK,UACH,KAAK,aAAa,KAAK,QAAQ,CAAC,KAAK,KAAK,WAAW,KAAK,WAC5D;GACF;GACA,KAAK,iBAAiB,EAAE,UAAU,KAAK,CAAC;GACxC;EACF;EACA,KAAK,UACH,KAAK,aAAa,KAAK,SAAS,MAAM,KAAK,cAAc,KAAK,SAAS,KAAK,KAAK,WAAW,KAAK,WACnG;EACA,IAAI,KAAK,UAAU;GACjB,KAAK,kBAAkB,sBAAsB,KAAK,SAAS,KAAK,IAAI,CAAC;EACvE;CACF;CACA,OAAO;EACL,MAAM,KAAK;EACX,KAAK,WAAW;EAChB,aAAa,KAAK,QAAQ;EAC1B,OAAO,qBAAqB,KAAK,eAAe;EAChD,KAAK,iBAAiB,EAAE,UAAU,MAAM,CAAC;CAC3C;AACF;AACA,IAAI,0BAA0B"}
|
|
@@ -1,96 +1,93 @@
|
|
|
1
1
|
const NEWTON_ITERATIONS = 4;
|
|
2
|
-
const NEWTON_MIN_SLOPE =
|
|
2
|
+
const NEWTON_MIN_SLOPE = .001;
|
|
3
3
|
const SUBDIVISION_PRECISION = 1e-7;
|
|
4
4
|
const SUBDIVISION_MAX_ITERATIONS = 10;
|
|
5
5
|
const kSplineTableSize = 11;
|
|
6
6
|
const kSampleStepSize = 1 / (kSplineTableSize - 1);
|
|
7
7
|
const float32ArraySupported = typeof Float32Array === "function";
|
|
8
8
|
function A(aA1, aA2) {
|
|
9
|
-
|
|
9
|
+
return 1 - 3 * aA2 + 3 * aA1;
|
|
10
10
|
}
|
|
11
11
|
function B(aA1, aA2) {
|
|
12
|
-
|
|
12
|
+
return 3 * aA2 - 6 * aA1;
|
|
13
13
|
}
|
|
14
14
|
function C(aA1) {
|
|
15
|
-
|
|
15
|
+
return 3 * aA1;
|
|
16
16
|
}
|
|
17
17
|
function calcBezier(aT, aA1, aA2) {
|
|
18
|
-
|
|
18
|
+
return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;
|
|
19
19
|
}
|
|
20
20
|
function getSlope(aT, aA1, aA2) {
|
|
21
|
-
|
|
21
|
+
return 3 * A(aA1, aA2) * aT * aT + 2 * B(aA1, aA2) * aT + C(aA1);
|
|
22
22
|
}
|
|
23
23
|
function binarySubdivide(aX, _aA, _aB, mX1, mX2) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
aA = currentT;
|
|
36
|
-
}
|
|
37
|
-
} while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);
|
|
38
|
-
return currentT;
|
|
24
|
+
let currentX, currentT, i = 0, aA = _aA, aB = _aB;
|
|
25
|
+
do {
|
|
26
|
+
currentT = aA + (aB - aA) / 2;
|
|
27
|
+
currentX = calcBezier(currentT, mX1, mX2) - aX;
|
|
28
|
+
if (currentX > 0) {
|
|
29
|
+
aB = currentT;
|
|
30
|
+
} else {
|
|
31
|
+
aA = currentT;
|
|
32
|
+
}
|
|
33
|
+
} while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);
|
|
34
|
+
return currentT;
|
|
39
35
|
}
|
|
40
36
|
function newtonRaphsonIterate(aX, _aGuessT, mX1, mX2) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
37
|
+
let aGuessT = _aGuessT;
|
|
38
|
+
for (let i = 0; i < NEWTON_ITERATIONS; ++i) {
|
|
39
|
+
const currentSlope = getSlope(aGuessT, mX1, mX2);
|
|
40
|
+
if (currentSlope === 0) {
|
|
41
|
+
return aGuessT;
|
|
42
|
+
}
|
|
43
|
+
const currentX = calcBezier(aGuessT, mX1, mX2) - aX;
|
|
44
|
+
aGuessT -= currentX / currentSlope;
|
|
45
|
+
}
|
|
46
|
+
return aGuessT;
|
|
51
47
|
}
|
|
52
48
|
function bezier(mX1, mY1, mX2, mY2) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
49
|
+
if (!(mX1 >= 0 && mX1 <= 1 && mX2 >= 0 && mX2 <= 1)) {
|
|
50
|
+
throw new Error("bezier x values must be in [0, 1] range");
|
|
51
|
+
}
|
|
52
|
+
const sampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize);
|
|
53
|
+
if (mX1 !== mY1 || mX2 !== mY2) {
|
|
54
|
+
for (let i = 0; i < kSplineTableSize; ++i) {
|
|
55
|
+
sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function getTForX(aX) {
|
|
59
|
+
let intervalStart = 0;
|
|
60
|
+
let currentSample = 1;
|
|
61
|
+
const lastSample = kSplineTableSize - 1;
|
|
62
|
+
for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {
|
|
63
|
+
intervalStart += kSampleStepSize;
|
|
64
|
+
}
|
|
65
|
+
--currentSample;
|
|
66
|
+
const dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]);
|
|
67
|
+
const guessForT = intervalStart + dist * kSampleStepSize;
|
|
68
|
+
const initialSlope = getSlope(guessForT, mX1, mX2);
|
|
69
|
+
if (initialSlope >= NEWTON_MIN_SLOPE) {
|
|
70
|
+
return newtonRaphsonIterate(aX, guessForT, mX1, mX2);
|
|
71
|
+
} else if (initialSlope === 0) {
|
|
72
|
+
return guessForT;
|
|
73
|
+
} else {
|
|
74
|
+
return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return function BezierEasing(x) {
|
|
78
|
+
if (mX1 === mY1 && mX2 === mY2) {
|
|
79
|
+
return x;
|
|
80
|
+
}
|
|
81
|
+
if (x === 0) {
|
|
82
|
+
return 0;
|
|
83
|
+
}
|
|
84
|
+
if (x === 1) {
|
|
85
|
+
return 1;
|
|
86
|
+
}
|
|
87
|
+
return calcBezier(getTForX(x), mY1, mY2);
|
|
88
|
+
};
|
|
93
89
|
}
|
|
94
90
|
var bezier_default = bezier;
|
|
91
|
+
|
|
95
92
|
export { bezier, bezier_default as default };
|
|
96
93
|
//# sourceMappingURL=bezier.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"bezier.js","names":[],"sources":["esm/vendor/react-native/Animated/bezier.js"],"sourcesContent":["const NEWTON_ITERATIONS = 4;\nconst NEWTON_MIN_SLOPE = 1e-3;\nconst SUBDIVISION_PRECISION = 1e-7;\nconst SUBDIVISION_MAX_ITERATIONS = 10;\nconst kSplineTableSize = 11;\nconst kSampleStepSize = 1 / (kSplineTableSize - 1);\nconst float32ArraySupported = typeof Float32Array === \"function\";\nfunction A(aA1, aA2) {\n return 1 - 3 * aA2 + 3 * aA1;\n}\nfunction B(aA1, aA2) {\n return 3 * aA2 - 6 * aA1;\n}\nfunction C(aA1) {\n return 3 * aA1;\n}\nfunction calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n}\nfunction getSlope(aT, aA1, aA2) {\n return 3 * A(aA1, aA2) * aT * aT + 2 * B(aA1, aA2) * aT + C(aA1);\n}\nfunction binarySubdivide(aX, _aA, _aB, mX1, mX2) {\n let currentX, currentT, i = 0, aA = _aA, aB = _aB;\n do {\n currentT = aA + (aB - aA) / 2;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);\n return currentT;\n}\nfunction newtonRaphsonIterate(aX, _aGuessT, mX1, mX2) {\n let aGuessT = _aGuessT;\n for (let i = 0; i < NEWTON_ITERATIONS; ++i) {\n const currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0) {\n return aGuessT;\n }\n const currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n}\nfunction bezier(mX1, mY1, mX2, mY2) {\n if (!(mX1 >= 0 && mX1 <= 1 && mX2 >= 0 && mX2 <= 1)) {\n throw new Error(\"bezier x values must be in [0, 1] range\");\n }\n const sampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize);\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (let i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n function getTForX(aX) {\n let intervalStart = 0;\n let currentSample = 1;\n const lastSample = kSplineTableSize - 1;\n for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n --currentSample;\n const dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n const guessForT = intervalStart + dist * kSampleStepSize;\n const initialSlope = getSlope(guessForT, mX1, mX2);\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0) {\n return guessForT;\n } else {\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);\n }\n }\n return function BezierEasing(x) {\n if (mX1 === mY1 && mX2 === mY2) {\n return x;\n }\n if (x === 0) {\n return 0;\n }\n if (x === 1) {\n return 1;\n }\n return calcBezier(getTForX(x), mY1, mY2);\n };\n}\nvar bezier_default = bezier;\nexport {\n bezier,\n bezier_default as default\n};\n//# sourceMappingURL=bezier.js.map\n"],"mappings":";AAAA,MAAM,oBAAoB;AAC1B,MAAM,mBAAmB;AACzB,MAAM,wBAAwB;AAC9B,MAAM,6BAA6B;AACnC,MAAM,mBAAmB;AACzB,MAAM,kBAAkB,KAAK,mBAAmB;AAChD,MAAM,wBAAwB,OAAO,iBAAiB;AACtD,SAAS,EAAE,KAAK,KAAK;CACnB,OAAO,IAAI,IAAI,MAAM,IAAI;AAC3B;AACA,SAAS,EAAE,KAAK,KAAK;CACnB,OAAO,IAAI,MAAM,IAAI;AACvB;AACA,SAAS,EAAE,KAAK;CACd,OAAO,IAAI;AACb;AACA,SAAS,WAAW,IAAI,KAAK,KAAK;CAChC,SAAS,EAAE,KAAK,GAAG,IAAI,KAAK,EAAE,KAAK,GAAG,KAAK,KAAK,EAAE,GAAG,KAAK;AAC5D;AACA,SAAS,SAAS,IAAI,KAAK,KAAK;CAC9B,OAAO,IAAI,EAAE,KAAK,GAAG,IAAI,KAAK,KAAK,IAAI,EAAE,KAAK,GAAG,IAAI,KAAK,EAAE,GAAG;AACjE;AACA,SAAS,gBAAgB,IAAI,KAAK,KAAK,KAAK,KAAK;CAC/C,IAAI,UAAU,UAAU,IAAI,GAAG,KAAK,KAAK,KAAK;CAC9C,GAAG;EACD,WAAW,MAAM,KAAK,MAAM;EAC5B,WAAW,WAAW,UAAU,KAAK,GAAG,IAAI;EAC5C,IAAI,WAAW,GAAG;GAChB,KAAK;EACP,OAAO;GACL,KAAK;EACP;CACF,SAAS,KAAK,IAAI,QAAQ,IAAI,yBAAyB,EAAE,IAAI;CAC7D,OAAO;AACT;AACA,SAAS,qBAAqB,IAAI,UAAU,KAAK,KAAK;CACpD,IAAI,UAAU;CACd,KAAK,IAAI,IAAI,GAAG,IAAI,mBAAmB,EAAE,GAAG;EAC1C,MAAM,eAAe,SAAS,SAAS,KAAK,GAAG;EAC/C,IAAI,iBAAiB,GAAG;GACtB,OAAO;EACT;EACA,MAAM,WAAW,WAAW,SAAS,KAAK,GAAG,IAAI;EACjD,WAAW,WAAW;CACxB;CACA,OAAO;AACT;AACA,SAAS,OAAO,KAAK,KAAK,KAAK,KAAK;CAClC,IAAI,EAAE,OAAO,KAAK,OAAO,KAAK,OAAO,KAAK,OAAO,IAAI;EACnD,MAAM,IAAI,MAAM,yCAAyC;CAC3D;CACA,MAAM,eAAe,wBAAwB,IAAI,aAAa,gBAAgB,IAAI,IAAI,MAAM,gBAAgB;CAC5G,IAAI,QAAQ,OAAO,QAAQ,KAAK;EAC9B,KAAK,IAAI,IAAI,GAAG,IAAI,kBAAkB,EAAE,GAAG;GACzC,aAAa,KAAK,WAAW,IAAI,iBAAiB,KAAK,GAAG;EAC5D;CACF;CACA,SAAS,SAAS,IAAI;EACpB,IAAI,gBAAgB;EACpB,IAAI,gBAAgB;EACpB,MAAM,aAAa,mBAAmB;EACtC,OAAO,kBAAkB,cAAc,aAAa,kBAAkB,IAAI,EAAE,eAAe;GACzF,iBAAiB;EACnB;EACA,EAAE;EACF,MAAM,QAAQ,KAAK,aAAa,mBAAmB,aAAa,gBAAgB,KAAK,aAAa;EAClG,MAAM,YAAY,gBAAgB,OAAO;EACzC,MAAM,eAAe,SAAS,WAAW,KAAK,GAAG;EACjD,IAAI,gBAAgB,kBAAkB;GACpC,OAAO,qBAAqB,IAAI,WAAW,KAAK,GAAG;EACrD,OAAO,IAAI,iBAAiB,GAAG;GAC7B,OAAO;EACT,OAAO;GACL,OAAO,gBAAgB,IAAI,eAAe,gBAAgB,iBAAiB,KAAK,GAAG;EACrF;CACF;CACA,OAAO,SAAS,aAAa,GAAG;EAC9B,IAAI,QAAQ,OAAO,QAAQ,KAAK;GAC9B,OAAO;EACT;EACA,IAAI,MAAM,GAAG;GACX,OAAO;EACT;EACA,IAAI,MAAM,GAAG;GACX,OAAO;EACT;EACA,OAAO,WAAW,SAAS,CAAC,GAAG,KAAK,GAAG;CACzC;AACF;AACA,IAAI,iBAAiB"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { FlatList as
|
|
2
|
+
import { FlatList as FlatList$1 } from "../../../../FlatList.mjs";
|
|
3
3
|
import { createAnimatedComponent } from "../createAnimatedComponent.mjs";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
|
|
6
|
+
const FlatListWithEventThrottle = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(FlatList$1, {
|
|
7
|
+
scrollEventThrottle: 1e-4,
|
|
8
|
+
...props,
|
|
9
|
+
ref
|
|
9
10
|
}));
|
|
10
11
|
const FlatList = createAnimatedComponent(FlatListWithEventThrottle);
|
|
11
12
|
var AnimatedFlatList_default = FlatList;
|
|
13
|
+
|
|
12
14
|
export { FlatList, AnimatedFlatList_default as default };
|
|
13
15
|
//# sourceMappingURL=AnimatedFlatList.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"AnimatedFlatList.js","names":["FlatListComponent"],"sources":["esm/vendor/react-native/Animated/components/AnimatedFlatList.js"],"sourcesContent":["import * as React from \"react\";\nimport { FlatList as FlatListComponent } from \"../../../../FlatList\";\nimport { createAnimatedComponent } from \"../createAnimatedComponent\";\nimport { jsx } from \"react/jsx-runtime\";\nconst FlatListWithEventThrottle = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(FlatListComponent, { scrollEventThrottle: 1e-4, ...props, ref }));\nconst FlatList = createAnimatedComponent(FlatListWithEventThrottle);\nvar AnimatedFlatList_default = FlatList;\nexport {\n FlatList,\n AnimatedFlatList_default as default\n};\n//# sourceMappingURL=AnimatedFlatList.js.map\n"],"mappings":";;;;;;AAIA,MAAM,4BAA4B,MAAM,YAAY,OAAO,QAAwB,oBAAIA,YAAmB;CAAE,qBAAqB;CAAM,GAAG;CAAO;AAAI,CAAC,CAAC;AACvJ,MAAM,WAAW,wBAAwB,yBAAyB;AAClE,IAAI,2BAA2B"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "react";
|
|
2
2
|
import { Image } from "../../../../Image/index.mjs";
|
|
3
3
|
import { createAnimatedComponent } from "../createAnimatedComponent.mjs";
|
|
4
|
+
|
|
4
5
|
const AnimatedImage = createAnimatedComponent(Image);
|
|
5
6
|
var AnimatedImage_default = AnimatedImage;
|
|
7
|
+
|
|
6
8
|
export { AnimatedImage, AnimatedImage_default as default };
|
|
7
9
|
//# sourceMappingURL=AnimatedImage.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"AnimatedImage.js","names":[],"sources":["esm/vendor/react-native/Animated/components/AnimatedImage.js"],"sourcesContent":["import * as React from \"react\";\nimport { Image } from \"../../../../Image\";\nimport { createAnimatedComponent } from \"../createAnimatedComponent\";\nconst AnimatedImage = createAnimatedComponent(Image);\nvar AnimatedImage_default = AnimatedImage;\nexport {\n AnimatedImage,\n AnimatedImage_default as default\n};\n//# sourceMappingURL=AnimatedImage.js.map\n"],"mappings":";;;;;AAGA,MAAM,gBAAgB,wBAAwB,KAAK;AACnD,IAAI,wBAAwB"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { ScrollView as
|
|
2
|
+
import { ScrollView as ScrollView$1 } from "../../../../ScrollView/index.mjs";
|
|
3
3
|
import { createAnimatedComponent } from "../createAnimatedComponent.mjs";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
|
|
6
|
+
const ScrollViewWithEventThrottle = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(ScrollView$1, {
|
|
7
|
+
scrollEventThrottle: 1e-4,
|
|
8
|
+
...props,
|
|
9
|
+
ref
|
|
9
10
|
}));
|
|
10
11
|
const ScrollView = createAnimatedComponent(ScrollViewWithEventThrottle);
|
|
11
12
|
var AnimatedScrollView_default = ScrollView;
|
|
13
|
+
|
|
12
14
|
export { ScrollView, AnimatedScrollView_default as default };
|
|
13
15
|
//# sourceMappingURL=AnimatedScrollView.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"AnimatedScrollView.js","names":["ScrollViewComponent"],"sources":["esm/vendor/react-native/Animated/components/AnimatedScrollView.js"],"sourcesContent":["import * as React from \"react\";\nimport { ScrollView as ScrollViewComponent } from \"../../../../ScrollView\";\nimport { createAnimatedComponent } from \"../createAnimatedComponent\";\nimport { jsx } from \"react/jsx-runtime\";\nconst ScrollViewWithEventThrottle = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(ScrollViewComponent, { scrollEventThrottle: 1e-4, ...props, ref }));\nconst ScrollView = createAnimatedComponent(ScrollViewWithEventThrottle);\nvar AnimatedScrollView_default = ScrollView;\nexport {\n ScrollView,\n AnimatedScrollView_default as default\n};\n//# sourceMappingURL=AnimatedScrollView.js.map\n"],"mappings":";;;;;;AAIA,MAAM,8BAA8B,MAAM,YAAY,OAAO,QAAwB,oBAAIA,cAAqB;CAAE,qBAAqB;CAAM,GAAG;CAAO;AAAI,CAAC,CAAC;AAC3J,MAAM,aAAa,wBAAwB,2BAA2B;AACtE,IAAI,6BAA6B"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { SectionList as
|
|
2
|
+
import { SectionList as SectionList$1 } from "../../../../SectionList.mjs";
|
|
3
3
|
import { createAnimatedComponent } from "../createAnimatedComponent.mjs";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
|
|
6
|
+
const SectionListWithEventThrottle = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(SectionList$1, {
|
|
7
|
+
scrollEventThrottle: 1e-4,
|
|
8
|
+
...props,
|
|
9
|
+
ref
|
|
9
10
|
}));
|
|
10
11
|
const SectionList = createAnimatedComponent(SectionListWithEventThrottle);
|
|
11
12
|
var AnimatedSectionList_default = SectionList;
|
|
13
|
+
|
|
12
14
|
export { SectionList, AnimatedSectionList_default as default };
|
|
13
15
|
//# sourceMappingURL=AnimatedSectionList.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"AnimatedSectionList.js","names":["SectionListComponent"],"sources":["esm/vendor/react-native/Animated/components/AnimatedSectionList.js"],"sourcesContent":["import * as React from \"react\";\nimport { SectionList as SectionListComponent } from \"../../../../SectionList\";\nimport { createAnimatedComponent } from \"../createAnimatedComponent\";\nimport { jsx } from \"react/jsx-runtime\";\nconst SectionListWithEventThrottle = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(SectionListComponent, { scrollEventThrottle: 1e-4, ...props, ref }));\nconst SectionList = createAnimatedComponent(SectionListWithEventThrottle);\nvar AnimatedSectionList_default = SectionList;\nexport {\n SectionList,\n AnimatedSectionList_default as default\n};\n//# sourceMappingURL=AnimatedSectionList.js.map\n"],"mappings":";;;;;;AAIA,MAAM,+BAA+B,MAAM,YAAY,OAAO,QAAwB,oBAAIA,eAAsB;CAAE,qBAAqB;CAAM,GAAG;CAAO;AAAI,CAAC,CAAC;AAC7J,MAAM,cAAc,wBAAwB,4BAA4B;AACxE,IAAI,8BAA8B"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Text } from "../../../../Text/index.mjs";
|
|
2
2
|
import { createAnimatedComponent } from "../createAnimatedComponent.mjs";
|
|
3
|
+
|
|
3
4
|
const AnimatedText = createAnimatedComponent(Text);
|
|
4
5
|
var AnimatedText_default = AnimatedText;
|
|
6
|
+
|
|
5
7
|
export { AnimatedText, AnimatedText_default as default };
|
|
6
8
|
//# sourceMappingURL=AnimatedText.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"AnimatedText.js","names":[],"sources":["esm/vendor/react-native/Animated/components/AnimatedText.js"],"sourcesContent":["import { Text } from \"../../../../Text\";\nimport { createAnimatedComponent } from \"../createAnimatedComponent\";\nconst AnimatedText = createAnimatedComponent(Text);\nvar AnimatedText_default = AnimatedText;\nexport {\n AnimatedText,\n AnimatedText_default as default\n};\n//# sourceMappingURL=AnimatedText.js.map\n"],"mappings":";;;;AAEA,MAAM,eAAe,wBAAwB,IAAI;AACjD,IAAI,uBAAuB"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { View } from "../../../../View/index.mjs";
|
|
2
2
|
import { createAnimatedComponent } from "../createAnimatedComponent.mjs";
|
|
3
|
+
|
|
3
4
|
const AnimatedView = createAnimatedComponent(View);
|
|
4
5
|
var AnimatedView_default = AnimatedView;
|
|
6
|
+
|
|
5
7
|
export { AnimatedView, AnimatedView_default as default };
|
|
6
8
|
//# sourceMappingURL=AnimatedView.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"AnimatedView.js","names":[],"sources":["esm/vendor/react-native/Animated/components/AnimatedView.js"],"sourcesContent":["import { View } from \"../../../../View\";\nimport { createAnimatedComponent } from \"../createAnimatedComponent\";\nconst AnimatedView = createAnimatedComponent(View);\nvar AnimatedView_default = AnimatedView;\nexport {\n AnimatedView,\n AnimatedView_default as default\n};\n//# sourceMappingURL=AnimatedView.js.map\n"],"mappings":";;;;AAEA,MAAM,eAAe,wBAAwB,IAAI;AACjD,IAAI,uBAAuB"}
|