@tamagui/react-native-web-lite 2.7.7 → 3.0.0-beta.1093.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 +81 -87
- package/dist/cjs/ActivityIndicator/index.cjs +82 -103
- package/dist/cjs/Alert/index.cjs +16 -20
- package/dist/cjs/AppRegistry/AppContainer.cjs +36 -52
- package/dist/cjs/AppRegistry/index.cjs +68 -81
- package/dist/cjs/AppRegistry/renderApplication.cjs +41 -54
- package/dist/cjs/AppState/index.cjs +59 -67
- package/dist/cjs/Appearance/index.cjs +39 -49
- package/dist/cjs/BackHandler/index.cjs +19 -25
- package/dist/cjs/Clipboard/index.cjs +49 -53
- package/dist/cjs/DeviceEmitter.cjs +14 -18
- package/dist/cjs/DeviceInfo/index.cjs +49 -63
- package/dist/cjs/Dimensions/index.cjs +85 -89
- package/dist/cjs/FlatList.cjs +176 -211
- package/dist/cjs/I18nManager/index.cjs +23 -29
- package/dist/cjs/Image/index.cjs +276 -308
- package/dist/cjs/Image/types.cjs +9 -11
- package/dist/cjs/ImageBackground/index.cjs +34 -48
- package/dist/cjs/InteractionManager/TaskQueue.cjs +94 -100
- package/dist/cjs/InteractionManager/index.cjs +104 -115
- package/dist/cjs/Keyboard/index.cjs +22 -28
- package/dist/cjs/KeyboardAvoidingView/index.cjs +40 -54
- package/dist/cjs/Libraries/Pressability/Pressability.cjs +14 -18
- package/dist/cjs/Libraries/Pressability/usePressability.cjs +14 -18
- package/dist/cjs/Linking/index.cjs +85 -89
- package/dist/cjs/LogBox/index.cjs +19 -21
- package/dist/cjs/Modal/ModalAnimation.cjs +130 -151
- package/dist/cjs/Modal/ModalContent.cjs +56 -77
- package/dist/cjs/Modal/ModalPortal.cjs +37 -46
- package/dist/cjs/Modal/index.cjs +14 -18
- package/dist/cjs/NativeModules/index.cjs +14 -20
- package/dist/cjs/PanResponder/index.cjs +17 -26
- package/dist/cjs/PixelRatio/index.cjs +44 -48
- package/dist/cjs/Pressable/index.cjs +129 -142
- package/dist/cjs/RefreshControl/index.cjs +17 -35
- package/dist/cjs/SafeAreaView/index.cjs +34 -46
- package/dist/cjs/ScrollView/WebScrollView.cjs +269 -0
- package/dist/cjs/ScrollView/index.cjs +14 -662
- package/dist/cjs/SectionList.cjs +18 -25
- package/dist/cjs/Share/index.cjs +43 -47
- package/dist/cjs/StatusBar/index.cjs +16 -18
- package/dist/cjs/Text/index.cjs +132 -171
- package/dist/cjs/Text/types.cjs +9 -11
- package/dist/cjs/TextInput/index.cjs +280 -359
- package/dist/cjs/TextInput/types.cjs +9 -11
- package/dist/cjs/TouchableNativeFeedback.cjs +14 -18
- package/dist/cjs/TouchableOpacity.cjs +90 -99
- package/dist/cjs/TouchableWithoutFeedback.cjs +64 -74
- package/dist/cjs/UnimplementedView.cjs +25 -36
- package/dist/cjs/Vibration/index.cjs +24 -28
- package/dist/cjs/View/index.cjs +88 -121
- package/dist/cjs/View/types.cjs +9 -11
- package/dist/cjs/VirtualizedList.cjs +18 -25
- package/dist/cjs/codegenNativeCommands.cjs +31 -0
- package/dist/cjs/codegenNativeComponent.cjs +18 -18
- package/dist/cjs/createElement/index.cjs +51 -70
- package/dist/cjs/createReactDOMStyle.cjs +15 -17
- package/dist/cjs/index.cjs +105 -106
- package/dist/cjs/modules/requestIdleCallback.cjs +27 -29
- package/dist/cjs/preprocess.cjs +18 -20
- package/dist/cjs/render/index.cjs +17 -19
- package/dist/cjs/styleTypes.cjs +9 -11
- package/dist/cjs/types.cjs +9 -11
- package/dist/cjs/useColorScheme/index.cjs +26 -37
- package/dist/cjs/useLocaleContext/index.cjs +14 -18
- package/dist/cjs/useWindowDimensions/index.cjs +31 -42
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +22 -24
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +135 -141
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +499 -533
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +99 -109
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.cjs +1 -1
- package/dist/cjs/vendor/react-native/Animated/Easing.cjs +181 -183
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +301 -328
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +47 -56
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +45 -53
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +62 -64
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +51 -56
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +73 -79
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +209 -215
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +106 -116
- package/dist/cjs/vendor/react-native/Animated/bezier.cjs +82 -88
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +22 -29
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +18 -25
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +22 -29
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +22 -29
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +15 -17
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +15 -17
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +31 -44
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +50 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +243 -247
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +58 -60
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +64 -66
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +184 -188
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +48 -50
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +50 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +151 -156
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +132 -134
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +112 -116
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +50 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +72 -75
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +108 -110
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +211 -216
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +95 -103
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +69 -71
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +74 -76
- package/dist/cjs/vendor/react-native/Batchinator/index.cjs +45 -57
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +53 -57
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +15 -17
- package/dist/cjs/vendor/react-native/FeatureFlags.cjs +20 -24
- package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +164 -173
- package/dist/cjs/vendor/react-native/FlatList/index.cjs +258 -294
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +65 -69
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +86 -91
- package/dist/cjs/vendor/react-native/PanResponder/index.cjs +169 -176
- package/dist/cjs/vendor/react-native/PooledClass/index.cjs +41 -43
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +20 -22
- package/dist/cjs/vendor/react-native/SectionList/index.cjs +94 -110
- package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +27 -34
- package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +26 -33
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +81 -111
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +16 -22
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +19 -21
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +123 -127
- package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +15 -17
- package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +22 -24
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +25 -30
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +26 -30
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +25 -27
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +153 -163
- package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +146 -156
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +123 -125
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +99 -99
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +62 -64
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +65 -75
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +103 -160
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +55 -64
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +50 -52
- package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +221 -284
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +123 -144
- package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +57 -59
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +15 -17
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.cjs +1 -1
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +42 -44
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +114 -120
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +30 -32
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +79 -81
- package/dist/cjs/vendor/react-native/infoLog/index.cjs +16 -18
- package/dist/cjs/vendor/react-native/useRefEffect.cjs +25 -27
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +87 -89
- package/dist/cjs/without-animated.cjs +254 -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 +14 -14
- package/src/AppState/index.tsx +1 -6
- 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/vendor/react-native/Animated/NativeAnimatedHelper.js +4 -4
- 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
|
@@ -5,41 +5,34 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
12
|
};
|
|
13
13
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
21
|
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
-
value: mod,
|
|
29
|
-
enumerable: true
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
+
value: mod,
|
|
24
|
+
enumerable: true
|
|
30
25
|
}) : target, mod));
|
|
31
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
-
value: true
|
|
33
|
-
}), mod);
|
|
26
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
34
27
|
var NativeAnimatedModule_exports = {};
|
|
35
28
|
__export(NativeAnimatedModule_exports, {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
AnimatedNodeConfig: () => AnimatedNodeConfig,
|
|
30
|
+
AnimatingNodeConfig: () => AnimatingNodeConfig,
|
|
31
|
+
EndCallback: () => EndCallback,
|
|
32
|
+
EventMapping: () => EventMapping,
|
|
33
|
+
NativeAnimatedNonTurboModule: () => NativeAnimatedNonTurboModule,
|
|
34
|
+
SaveValueCallback: () => SaveValueCallback,
|
|
35
|
+
default: () => NativeAnimatedModule_default
|
|
43
36
|
});
|
|
44
37
|
module.exports = __toCommonJS(NativeAnimatedModule_exports);
|
|
45
38
|
var TurboModuleRegistry = __toESM(require("../TurboModule/TurboModuleRegistry.cjs"), 1);
|
|
@@ -49,32 +42,30 @@ const AnimatingNodeConfig = {};
|
|
|
49
42
|
const SaveValueCallback = () => {};
|
|
50
43
|
const EndCallback = () => {};
|
|
51
44
|
const spec = {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
// All of the above in a batched mode
|
|
77
|
-
queueAndExecuteBatchedOperations: operationsAndArgs => {}
|
|
45
|
+
startOperationBatch: () => {},
|
|
46
|
+
finishOperationBatch: () => {},
|
|
47
|
+
createAnimatedNode: (tag, config) => {},
|
|
48
|
+
updateAnimatedNodeConfig: (tag, config) => {},
|
|
49
|
+
getValue: (tag, saveValueCallback) => {},
|
|
50
|
+
startListeningToAnimatedNodeValue: (tag) => {},
|
|
51
|
+
stopListeningToAnimatedNodeValue: (tag) => {},
|
|
52
|
+
connectAnimatedNodes: (parentTag, childTag) => {},
|
|
53
|
+
disconnectAnimatedNodes: (parentTag, childTag) => {},
|
|
54
|
+
startAnimatingNode: (animationId, nodeTag, config, endCallback) => {},
|
|
55
|
+
stopAnimation: (animationId) => {},
|
|
56
|
+
setAnimatedNodeValue: (nodeTag, value) => {},
|
|
57
|
+
setAnimatedNodeOffset: (nodeTag, offset) => {},
|
|
58
|
+
flattenAnimatedNodeOffset: (nodeTag) => {},
|
|
59
|
+
extractAnimatedNodeOffset: (nodeTag) => {},
|
|
60
|
+
connectAnimatedNodeToView: (nodeTag, viewTag) => {},
|
|
61
|
+
disconnectAnimatedNodeFromView: (nodeTag, viewTag) => {},
|
|
62
|
+
restoreDefaultValues: (nodeTag) => {},
|
|
63
|
+
dropAnimatedNode: (tag) => {},
|
|
64
|
+
addAnimatedEventToView: (viewTag, eventName, eventMapping) => {},
|
|
65
|
+
removeAnimatedEventFromView: (viewTag, eventName, animatedNodeTag) => {},
|
|
66
|
+
addListener: (eventName) => {},
|
|
67
|
+
removeListeners: (count) => {},
|
|
68
|
+
queueAndExecuteBatchedOperations: (operationsAndArgs) => {}
|
|
78
69
|
};
|
|
79
70
|
const NativeAnimatedNonTurboModule = TurboModuleRegistry.get("NativeAnimatedModule") || spec;
|
|
80
|
-
var NativeAnimatedModule_default = NativeAnimatedNonTurboModule;
|
|
71
|
+
var NativeAnimatedModule_default = NativeAnimatedNonTurboModule;
|
|
@@ -5,41 +5,34 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
12
|
};
|
|
13
13
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
21
|
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
-
value: mod,
|
|
29
|
-
enumerable: true
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
+
value: mod,
|
|
24
|
+
enumerable: true
|
|
30
25
|
}) : target, mod));
|
|
31
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
-
value: true
|
|
33
|
-
}), mod);
|
|
26
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
34
27
|
var NativeAnimatedTurboModule_exports = {};
|
|
35
28
|
__export(NativeAnimatedTurboModule_exports, {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
AnimatedNodeConfig: () => AnimatedNodeConfig,
|
|
30
|
+
AnimatingNodeConfig: () => AnimatingNodeConfig,
|
|
31
|
+
EndCallback: () => EndCallback,
|
|
32
|
+
EventMapping: () => EventMapping,
|
|
33
|
+
NativeAnimatedTurboModule: () => NativeAnimatedTurboModule,
|
|
34
|
+
SaveValueCallback: () => SaveValueCallback,
|
|
35
|
+
default: () => NativeAnimatedTurboModule_default
|
|
43
36
|
});
|
|
44
37
|
module.exports = __toCommonJS(NativeAnimatedTurboModule_exports);
|
|
45
38
|
var TurboModuleRegistry = __toESM(require("../TurboModule/TurboModuleRegistry.cjs"), 1);
|
|
@@ -49,29 +42,28 @@ const AnimatingNodeConfig = {};
|
|
|
49
42
|
const SaveValueCallback = () => {};
|
|
50
43
|
const EndCallback = () => {};
|
|
51
44
|
const spec = {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
removeListeners: count => {}
|
|
45
|
+
startOperationBatch: () => {},
|
|
46
|
+
finishOperationBatch: () => {},
|
|
47
|
+
createAnimatedNode: (tag, config) => {},
|
|
48
|
+
getValue: (tag, saveValueCallback) => {},
|
|
49
|
+
startListeningToAnimatedNodeValue: (tag) => {},
|
|
50
|
+
stopListeningToAnimatedNodeValue: (tag) => {},
|
|
51
|
+
connectAnimatedNodes: (parentTag, childTag) => {},
|
|
52
|
+
disconnectAnimatedNodes: (parentTag, childTag) => {},
|
|
53
|
+
startAnimatingNode: (animationId, nodeTag, config, endCallback) => {},
|
|
54
|
+
stopAnimation: (animationId) => {},
|
|
55
|
+
setAnimatedNodeValue: (nodeTag, value) => {},
|
|
56
|
+
setAnimatedNodeOffset: (nodeTag, offset) => {},
|
|
57
|
+
flattenAnimatedNodeOffset: (nodeTag) => {},
|
|
58
|
+
extractAnimatedNodeOffset: (nodeTag) => {},
|
|
59
|
+
connectAnimatedNodeToView: (nodeTag, viewTag) => {},
|
|
60
|
+
disconnectAnimatedNodeFromView: (nodeTag, viewTag) => {},
|
|
61
|
+
restoreDefaultValues: (nodeTag) => {},
|
|
62
|
+
dropAnimatedNode: (tag) => {},
|
|
63
|
+
addAnimatedEventToView: (viewTag, eventName, eventMapping) => {},
|
|
64
|
+
removeAnimatedEventFromView: (viewTag, eventName, animatedNodeTag) => {},
|
|
65
|
+
addListener: (eventName) => {},
|
|
66
|
+
removeListeners: (count) => {}
|
|
75
67
|
};
|
|
76
68
|
const NativeAnimatedTurboModule = TurboModuleRegistry.get("NativeAnimatedTurboModule") || spec;
|
|
77
|
-
var NativeAnimatedTurboModule_default = NativeAnimatedTurboModule;
|
|
69
|
+
var NativeAnimatedTurboModule_default = NativeAnimatedTurboModule;
|
|
@@ -3,84 +3,82 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
10
|
};
|
|
11
11
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
19
|
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
21
|
var SpringConfig_exports = {};
|
|
24
22
|
__export(SpringConfig_exports, {
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
SpringConfig: () => SpringConfig,
|
|
24
|
+
default: () => SpringConfig_default
|
|
27
25
|
});
|
|
28
26
|
module.exports = __toCommonJS(SpringConfig_exports);
|
|
29
27
|
function stiffnessFromOrigamiValue(oValue) {
|
|
30
|
-
|
|
28
|
+
return (oValue - 30) * 3.62 + 194;
|
|
31
29
|
}
|
|
32
30
|
function dampingFromOrigamiValue(oValue) {
|
|
33
|
-
|
|
31
|
+
return (oValue - 8) * 3 + 25;
|
|
34
32
|
}
|
|
35
33
|
function fromOrigamiTensionAndFriction(tension, friction) {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
return {
|
|
35
|
+
stiffness: stiffnessFromOrigamiValue(tension),
|
|
36
|
+
damping: dampingFromOrigamiValue(friction)
|
|
37
|
+
};
|
|
40
38
|
}
|
|
41
39
|
function fromBouncinessAndSpeed(bounciness, speed) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
-
|
|
40
|
+
function normalize(value, startValue, endValue) {
|
|
41
|
+
return (value - startValue) / (endValue - startValue);
|
|
42
|
+
}
|
|
43
|
+
function projectNormal(n, start, end) {
|
|
44
|
+
return start + n * (end - start);
|
|
45
|
+
}
|
|
46
|
+
function linearInterpolation(t, start, end) {
|
|
47
|
+
return t * end + (1 - t) * start;
|
|
48
|
+
}
|
|
49
|
+
function quadraticOutInterpolation(t, start, end) {
|
|
50
|
+
return linearInterpolation(2 * t - t * t, start, end);
|
|
51
|
+
}
|
|
52
|
+
function b3Friction1(x) {
|
|
53
|
+
return 7e-4 * x ** 3 - .031 * x ** 2 + .64 * x + 1.28;
|
|
54
|
+
}
|
|
55
|
+
function b3Friction2(x) {
|
|
56
|
+
return 44e-6 * x ** 3 - .006 * x ** 2 + .36 * x + 2;
|
|
57
|
+
}
|
|
58
|
+
function b3Friction3(x) {
|
|
59
|
+
return 45e-8 * x ** 3 - 332e-6 * x ** 2 + .1078 * x + 5.84;
|
|
60
|
+
}
|
|
61
|
+
function b3Nobounce(tension) {
|
|
62
|
+
if (tension <= 18) {
|
|
63
|
+
return b3Friction1(tension);
|
|
64
|
+
} else if (tension > 18 && tension <= 44) {
|
|
65
|
+
return b3Friction2(tension);
|
|
66
|
+
} else {
|
|
67
|
+
return b3Friction3(tension);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
let b = normalize(bounciness / 1.7, 0, 20);
|
|
71
|
+
b = projectNormal(b, 0, .8);
|
|
72
|
+
const s = normalize(speed / 1.7, 0, 20);
|
|
73
|
+
const bouncyTension = projectNormal(s, .5, 200);
|
|
74
|
+
const bouncyFriction = quadraticOutInterpolation(b, b3Nobounce(bouncyTension), .01);
|
|
75
|
+
return {
|
|
76
|
+
stiffness: stiffnessFromOrigamiValue(bouncyTension),
|
|
77
|
+
damping: dampingFromOrigamiValue(bouncyFriction)
|
|
78
|
+
};
|
|
81
79
|
}
|
|
82
80
|
const SpringConfig = {
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
fromOrigamiTensionAndFriction,
|
|
82
|
+
fromBouncinessAndSpeed
|
|
85
83
|
};
|
|
86
|
-
var SpringConfig_default = SpringConfig;
|
|
84
|
+
var SpringConfig_default = SpringConfig;
|
|
@@ -5,68 +5,63 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
12
|
};
|
|
13
13
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
21
|
};
|
|
22
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
-
value: true
|
|
24
|
-
}), mod);
|
|
22
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
23
|
var Animation_exports = {};
|
|
26
24
|
__export(Animation_exports, {
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
Animation: () => Animation,
|
|
26
|
+
default: () => Animation_default
|
|
29
27
|
});
|
|
30
28
|
module.exports = __toCommonJS(Animation_exports);
|
|
31
29
|
var import_NativeAnimatedHelper = require("../NativeAnimatedHelper.cjs");
|
|
32
30
|
let startNativeAnimationNextId = 1;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
var Animation_default = Animation;
|
|
31
|
+
var Animation = class {
|
|
32
|
+
__active;
|
|
33
|
+
__isInteraction;
|
|
34
|
+
__nativeId;
|
|
35
|
+
__onEnd;
|
|
36
|
+
__iterations;
|
|
37
|
+
start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {}
|
|
38
|
+
stop() {
|
|
39
|
+
if (this.__nativeId) {
|
|
40
|
+
import_NativeAnimatedHelper.NativeAnimatedHelper.API.stopAnimation(this.__nativeId);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
__getNativeAnimationConfig() {
|
|
44
|
+
throw new Error("This animation type cannot be offloaded to native");
|
|
45
|
+
}
|
|
46
|
+
__debouncedOnEnd(result) {
|
|
47
|
+
const onEnd = this.__onEnd;
|
|
48
|
+
this.__onEnd = null;
|
|
49
|
+
onEnd && onEnd(result);
|
|
50
|
+
}
|
|
51
|
+
__startNativeAnimation(animatedValue) {
|
|
52
|
+
const startNativeAnimationWaitId = `${startNativeAnimationNextId}:startAnimation`;
|
|
53
|
+
startNativeAnimationNextId += 1;
|
|
54
|
+
import_NativeAnimatedHelper.NativeAnimatedHelper.API.setWaitingForIdentifier(startNativeAnimationWaitId);
|
|
55
|
+
try {
|
|
56
|
+
const config = this.__getNativeAnimationConfig();
|
|
57
|
+
animatedValue.__makeNative(config.platformConfig);
|
|
58
|
+
this.__nativeId = import_NativeAnimatedHelper.NativeAnimatedHelper.generateNewAnimationId();
|
|
59
|
+
import_NativeAnimatedHelper.NativeAnimatedHelper.API.startAnimatingNode(this.__nativeId, animatedValue.__getNativeTag(), config, this.__debouncedOnEnd.bind(this));
|
|
60
|
+
} catch (e) {
|
|
61
|
+
throw e;
|
|
62
|
+
} finally {
|
|
63
|
+
import_NativeAnimatedHelper.NativeAnimatedHelper.API.unsetWaitingForIdentifier(startNativeAnimationWaitId);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
var Animation_default = Animation;
|