@tamagui/react-native-web-lite 1.116.1 → 1.116.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AccessibilityInfo/index.js +96 -0
- package/dist/cjs/ActivityIndicator/__tests__/index-test.js +116 -0
- package/dist/cjs/ActivityIndicator/index.js +108 -0
- package/dist/cjs/Alert/index.js +25 -0
- package/dist/cjs/AppRegistry/AppContainer.js +41 -0
- package/dist/cjs/AppRegistry/__tests__/index-test.js +77 -0
- package/dist/cjs/AppRegistry/__tests__/index-test.node.js +131 -0
- package/dist/cjs/AppRegistry/index.js +98 -0
- package/dist/cjs/AppRegistry/renderApplication.js +51 -0
- package/dist/cjs/AppState/__tests__/index-test.js +33 -0
- package/dist/cjs/AppState/index.js +71 -0
- package/dist/cjs/Appearance/index.js +41 -0
- package/dist/cjs/BackHandler/index.js +32 -0
- package/dist/cjs/Batchinator/index.cjs +68 -0
- package/dist/cjs/Batchinator/index.js +57 -0
- package/dist/cjs/Batchinator/index.js.map +6 -0
- package/dist/cjs/Batchinator/index.native.js +92 -0
- package/dist/cjs/Batchinator/index.native.js.map +6 -0
- package/dist/cjs/Clipboard/index.js +47 -0
- package/dist/cjs/DeviceEmitter.js +29 -0
- package/dist/cjs/DeviceInfo/index.js +62 -0
- package/dist/cjs/Dimensions/__tests__/index-test.js +51 -0
- package/dist/cjs/Dimensions/index.js +74 -0
- package/dist/cjs/FlatList.cjs +196 -0
- package/dist/cjs/FlatList.js +193 -0
- package/dist/cjs/FlatList.js.map +6 -0
- package/dist/cjs/FlatList.native.js +256 -0
- package/dist/cjs/FlatList.native.js.map +6 -0
- package/dist/cjs/I18nManager/index.js +30 -0
- package/dist/cjs/Image/index.js +253 -0
- package/dist/cjs/Image/types.js +14 -0
- package/dist/cjs/ImageBackground/__tests__/index-test.js +48 -0
- package/dist/cjs/ImageBackground/index.js +62 -0
- package/dist/cjs/InteractionManager/TaskQueue.cjs +88 -0
- package/dist/cjs/InteractionManager/TaskQueue.js +76 -0
- package/dist/cjs/InteractionManager/TaskQueue.js.map +6 -0
- package/dist/cjs/InteractionManager/TaskQueue.native.js +134 -0
- package/dist/cjs/InteractionManager/TaskQueue.native.js.map +6 -0
- package/dist/cjs/InteractionManager/index.cjs +114 -0
- package/dist/cjs/InteractionManager/index.js +95 -0
- package/dist/cjs/InteractionManager/index.js.map +6 -0
- package/dist/cjs/InteractionManager/index.native.js +99 -0
- package/dist/cjs/InteractionManager/index.native.js.map +6 -0
- package/dist/cjs/Keyboard/index.js +35 -0
- package/dist/cjs/KeyboardAvoidingView/index.js +56 -0
- package/dist/cjs/Linking/__tests__/index-test.js +38 -0
- package/dist/cjs/Linking/index.js +86 -0
- package/dist/cjs/LogBox/index.js +31 -0
- package/dist/cjs/Modal/ModalAnimation.js +137 -0
- package/dist/cjs/Modal/ModalContent.js +75 -0
- package/dist/cjs/Modal/ModalFocusTrap.js +105 -0
- package/dist/cjs/Modal/ModalPortal.js +43 -0
- package/dist/cjs/Modal/index.js +92 -0
- package/dist/cjs/NativeModules/index.js +25 -0
- package/dist/cjs/PanResponder/index.js +29 -0
- package/dist/cjs/PixelRatio/index.js +60 -0
- package/dist/cjs/Pressable/index.js +140 -0
- package/dist/cjs/RefreshControl/index.js +48 -0
- package/dist/cjs/SafeAreaView/index.js +43 -0
- package/dist/cjs/ScrollView/ScrollViewBase.js +124 -0
- package/dist/cjs/ScrollView/index.js +374 -0
- package/dist/cjs/Share/index.js +56 -0
- package/dist/cjs/StatusBar/index.js +31 -0
- package/dist/cjs/Text/index.js +152 -0
- package/dist/cjs/Text/types.js +14 -0
- package/dist/cjs/TextInput/__tests__/index-test.js +422 -0
- package/dist/cjs/TextInput/index.js +260 -0
- package/dist/cjs/TextInput/types.js +14 -0
- package/dist/cjs/TouchableOpacity.js +123 -0
- package/dist/cjs/TouchableWithoutFeedback.js +90 -0
- package/dist/cjs/UnimplementedView.js +36 -0
- package/dist/cjs/Vibration/index.js +31 -0
- package/dist/cjs/View/index.js +101 -0
- package/dist/cjs/View/types.js +14 -0
- package/dist/cjs/createElement/__tests__/index-test.js +536 -0
- package/dist/cjs/createElement/index.js +37 -0
- package/dist/cjs/createReactDOMStyle.js +21 -0
- package/dist/cjs/findNodeHandle.js +29 -0
- package/dist/cjs/index.cjs +7 -7
- package/dist/cjs/index.js +110 -0
- package/dist/cjs/{index.cjs.map → index.js.map} +1 -1
- package/dist/cjs/index.native.js +6 -6
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/render/index.js +45 -0
- package/dist/cjs/styleTypes.js +14 -0
- package/dist/cjs/types.js +14 -0
- package/dist/cjs/useColorScheme/index.js +39 -0
- package/dist/cjs/useLocaleContext/index.js +21 -0
- package/dist/cjs/useWindowDimensions/index.js +41 -0
- package/dist/cjs/vendor/react-native/Animated/Animated.js +35 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +143 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +458 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +126 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +2 -0
- package/dist/cjs/vendor/react-native/Animated/Easing.js +189 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +335 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +29 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +29 -0
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +70 -0
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +64 -0
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +63 -0
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +146 -0
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +82 -0
- package/dist/cjs/vendor/react-native/Animated/bezier.js +72 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +29 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +38 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +29 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +29 -0
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +42 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +57 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +197 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +60 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +58 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +175 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +58 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +57 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +136 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +112 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +100 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +57 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +76 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +100 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +182 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +167 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +67 -0
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +89 -0
- package/dist/cjs/vendor/react-native/FeatureFlags.js +28 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +138 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js +124 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js +158 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js +29 -0
- package/dist/cjs/vendor/react-native/NativeEventEmitter/index.js +73 -0
- package/dist/cjs/vendor/react-native/PanResponder/index.js +272 -0
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +118 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +2 -0
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +28 -0
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +15 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +29 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.js +24 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.native.js +25 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +29 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +133 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper.js +144 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper.js.map +6 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper.native.js +199 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +106 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js +86 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js +95 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +81 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +84 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js +125 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +56 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js +59 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js +153 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +80 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +74 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +163 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +164 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +149 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +245 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +84 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +72 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +85 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +16 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +14 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +15 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +1003 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js +1021 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js +1075 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +41 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.js +47 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.native.js +48 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +30 -0
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +2 -0
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +55 -0
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +135 -0
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +37 -0
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +76 -0
- package/dist/cjs/vendor/react-native/infoLog/index.js +25 -0
- package/dist/cjs/vendor/react-native/useRefEffect.js +30 -0
- package/dist/cjs/without-animated.js +95 -0
- package/dist/esm/Batchinator/index.js +33 -0
- package/dist/esm/Batchinator/index.js.map +6 -0
- package/dist/esm/Batchinator/index.mjs +34 -0
- package/dist/esm/Batchinator/index.mjs.map +1 -0
- package/dist/esm/Batchinator/index.native.js +67 -0
- package/dist/esm/Batchinator/index.native.js.map +6 -0
- package/dist/esm/FlatList.js +176 -0
- package/dist/esm/FlatList.js.map +6 -0
- package/dist/esm/FlatList.mjs +162 -0
- package/dist/esm/FlatList.mjs.map +1 -0
- package/dist/esm/FlatList.native.js +238 -0
- package/dist/esm/FlatList.native.js.map +6 -0
- package/dist/esm/InteractionManager/TaskQueue.js +60 -0
- package/dist/esm/InteractionManager/TaskQueue.js.map +6 -0
- package/dist/esm/InteractionManager/TaskQueue.mjs +65 -0
- package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -0
- package/dist/esm/InteractionManager/TaskQueue.native.js +117 -0
- package/dist/esm/InteractionManager/TaskQueue.native.js.map +6 -0
- package/dist/esm/InteractionManager/index.js +73 -0
- package/dist/esm/InteractionManager/index.js.map +6 -0
- package/dist/esm/InteractionManager/index.mjs +80 -0
- package/dist/esm/InteractionManager/index.mjs.map +1 -0
- package/dist/esm/InteractionManager/index.native.js +77 -0
- package/dist/esm/InteractionManager/index.native.js.map +6 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/index.native.js +2 -2
- package/dist/esm/vendor/react-native/FillRateHelper/index.js +108 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +6 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +115 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.native.js +141 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.native.js.map +6 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.js +8 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.js.map +6 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs +6 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.native.js +8 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.native.js.map +6 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.js +128 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.js.map +6 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +110 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.native.js +182 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.native.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.js +70 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +80 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js +71 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +68 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +58 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js +104 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js +43 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +33 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js +136 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +51 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +46 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +139 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +132 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +130 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +224 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +50 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +47 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +56 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +2 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.js +1016 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +969 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.native.js +1065 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.native.js.map +6 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.js +31 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.js.map +6 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs +18 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.native.js +31 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.native.js.map +6 -0
- package/package.json +6 -6
- package/src/Batchinator/index.tsx +78 -0
- package/src/FlatList.tsx +330 -0
- package/src/InteractionManager/TaskQueue.tsx +114 -0
- package/src/InteractionManager/index.tsx +139 -0
- package/src/index.tsx +2 -2
- package/src/vendor/react-native/FillRateHelper/index.tsx +218 -0
- package/src/vendor/react-native/Utilities/clamp.ts +21 -0
- package/src/vendor/react-native/ViewabilityHelper.ts +291 -0
- package/src/vendor/react-native/VirtualizeUtils/index.tsx +212 -0
- package/src/vendor/react-native/VirtualizedList/CellRenderMask.ts +147 -0
- package/src/vendor/react-native/VirtualizedList/ChildListCollection.tsx +73 -0
- package/src/vendor/react-native/VirtualizedList/StateSafePureComponent.tsx +79 -0
- package/src/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.tsx +210 -0
- package/src/vendor/react-native/VirtualizedList/VirtualizedListContext.tsx +116 -0
- package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.ts +130 -0
- package/src/vendor/react-native/VirtualizedList/index.tsx +1797 -0
- package/src/vendor/react-native/deepDiffer/index.tsx +56 -0
- package/dist/cjs/PanResponder/Alternative.cjs +0 -198
- package/dist/cjs/PanResponder/Alternative.cjs.map +0 -6
- /package/dist/cjs/AccessibilityInfo/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/ActivityIndicator/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
- /package/dist/cjs/ActivityIndicator/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Alert/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/AppRegistry/{AppContainer.cjs.map → AppContainer.js.map} +0 -0
- /package/dist/cjs/AppRegistry/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
- /package/dist/cjs/AppRegistry/__tests__/{index-test.node.cjs.map → index-test.node.js.map} +0 -0
- /package/dist/cjs/AppRegistry/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/AppRegistry/{renderApplication.cjs.map → renderApplication.js.map} +0 -0
- /package/dist/cjs/AppState/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
- /package/dist/cjs/AppState/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Appearance/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/BackHandler/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Clipboard/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/{DeviceEmitter.cjs.map → DeviceEmitter.js.map} +0 -0
- /package/dist/cjs/DeviceInfo/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Dimensions/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
- /package/dist/cjs/Dimensions/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/I18nManager/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Image/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Image/{types.cjs.map → types.js.map} +0 -0
- /package/dist/cjs/ImageBackground/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
- /package/dist/cjs/ImageBackground/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Keyboard/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/KeyboardAvoidingView/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Linking/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
- /package/dist/cjs/Linking/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/LogBox/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Modal/{ModalAnimation.cjs.map → ModalAnimation.js.map} +0 -0
- /package/dist/cjs/Modal/{ModalContent.cjs.map → ModalContent.js.map} +0 -0
- /package/dist/cjs/Modal/{ModalFocusTrap.cjs.map → ModalFocusTrap.js.map} +0 -0
- /package/dist/cjs/Modal/{ModalPortal.cjs.map → ModalPortal.js.map} +0 -0
- /package/dist/cjs/Modal/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/NativeModules/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/PanResponder/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/PixelRatio/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Pressable/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/RefreshControl/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/SafeAreaView/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/ScrollView/{ScrollViewBase.cjs.map → ScrollViewBase.js.map} +0 -0
- /package/dist/cjs/ScrollView/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Share/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/StatusBar/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Text/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/Text/{types.cjs.map → types.js.map} +0 -0
- /package/dist/cjs/TextInput/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
- /package/dist/cjs/TextInput/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/TextInput/{types.cjs.map → types.js.map} +0 -0
- /package/dist/cjs/{TouchableOpacity.cjs.map → TouchableOpacity.js.map} +0 -0
- /package/dist/cjs/{TouchableWithoutFeedback.cjs.map → TouchableWithoutFeedback.js.map} +0 -0
- /package/dist/cjs/{UnimplementedView.cjs.map → UnimplementedView.js.map} +0 -0
- /package/dist/cjs/Vibration/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/View/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/View/{types.cjs.map → types.js.map} +0 -0
- /package/dist/cjs/createElement/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
- /package/dist/cjs/createElement/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/{createReactDOMStyle.cjs.map → createReactDOMStyle.js.map} +0 -0
- /package/dist/cjs/{findNodeHandle.cjs.map → findNodeHandle.js.map} +0 -0
- /package/dist/cjs/render/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/{styleTypes.cjs.map → styleTypes.js.map} +0 -0
- /package/dist/cjs/{types.cjs.map → types.js.map} +0 -0
- /package/dist/cjs/useColorScheme/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/useLocaleContext/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/useWindowDimensions/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{Animated.cjs.map → Animated.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedEvent.cjs.map → AnimatedEvent.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedImplementation.cjs.map → AnimatedImplementation.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedMock.cjs.map → AnimatedMock.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedPlatformConfig.cjs.map → AnimatedPlatformConfig.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{Easing.cjs.map → Easing.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedHelper.cjs.map → NativeAnimatedHelper.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedModule.cjs.map → NativeAnimatedModule.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedTurboModule.cjs.map → NativeAnimatedTurboModule.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{SpringConfig.cjs.map → SpringConfig.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{Animation.cjs.map → Animation.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{DecayAnimation.cjs.map → DecayAnimation.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{SpringAnimation.cjs.map → SpringAnimation.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{TimingAnimation.cjs.map → TimingAnimation.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{bezier.cjs.map → bezier.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedImage.cjs.map → AnimatedImage.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedScrollView.cjs.map → AnimatedScrollView.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedText.cjs.map → AnimatedText.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedView.cjs.map → AnimatedView.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{createAnimatedComponent.cjs.map → createAnimatedComponent.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedAddition.cjs.map → AnimatedAddition.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedColor.cjs.map → AnimatedColor.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDiffClamp.cjs.map → AnimatedDiffClamp.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDivision.cjs.map → AnimatedDivision.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedInterpolation.cjs.map → AnimatedInterpolation.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedModulo.cjs.map → AnimatedModulo.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedMultiplication.cjs.map → AnimatedMultiplication.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedNode.cjs.map → AnimatedNode.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedProps.cjs.map → AnimatedProps.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedStyle.cjs.map → AnimatedStyle.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedSubtraction.cjs.map → AnimatedSubtraction.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTracking.cjs.map → AnimatedTracking.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTransform.cjs.map → AnimatedTransform.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValue.cjs.map → AnimatedValue.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValueXY.cjs.map → AnimatedValueXY.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedWithChildren.cjs.map → AnimatedWithChildren.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{useAnimatedProps.cjs.map → useAnimatedProps.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/{FeatureFlags.cjs.map → FeatureFlags.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/NativeEventEmitter/{RCTDeviceEventEmitter.cjs.map → RCTDeviceEventEmitter.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/NativeEventEmitter/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/PanResponder/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/TouchHistoryMath/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/TurboModule/{RCTExport.cjs.map → RCTExport.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/TurboModule/{TurboModuleRegistry.cjs.map → TurboModuleRegistry.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Types/{CoreEventTypes.cjs.map → CoreEventTypes.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/Utilities/{setAndForwardRef.cjs.map → setAndForwardRef.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{EventEmitter.cjs.map → EventEmitter.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{EventSubscription.cjs.map → EventSubscription.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EmitterSubscription.cjs.map → _EmitterSubscription.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EventEmitter.cjs.map → _EventEmitter.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EventSubscription.cjs.map → _EventSubscription.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EventSubscriptionVendor.cjs.map → _EventSubscriptionVendor.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/infoLog/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/vendor/react-native/{useRefEffect.cjs.map → useRefEffect.js.map} +0 -0
- /package/dist/cjs/{without-animated.cjs.map → without-animated.js.map} +0 -0
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
10
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
+
mod
|
|
23
|
+
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
+
var AnimatedImplementation_exports = {};
|
|
25
|
+
__export(AnimatedImplementation_exports, {
|
|
26
|
+
default: () => AnimatedImplementation_default
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(AnimatedImplementation_exports);
|
|
29
|
+
var import_AnimatedEvent = require("./AnimatedEvent"), import_DecayAnimation = __toESM(require("./animations/DecayAnimation")), import_SpringAnimation = __toESM(require("./animations/SpringAnimation")), import_TimingAnimation = __toESM(require("./animations/TimingAnimation")), import_createAnimatedComponent = __toESM(require("./createAnimatedComponent")), import_AnimatedAddition = __toESM(require("./nodes/AnimatedAddition")), import_AnimatedColor = __toESM(require("./nodes/AnimatedColor")), import_AnimatedDiffClamp = __toESM(require("./nodes/AnimatedDiffClamp")), import_AnimatedDivision = __toESM(require("./nodes/AnimatedDivision")), import_AnimatedInterpolation = __toESM(require("./nodes/AnimatedInterpolation")), import_AnimatedModulo = __toESM(require("./nodes/AnimatedModulo")), import_AnimatedMultiplication = __toESM(require("./nodes/AnimatedMultiplication")), import_AnimatedNode = __toESM(require("./nodes/AnimatedNode")), import_AnimatedSubtraction = __toESM(require("./nodes/AnimatedSubtraction")), import_AnimatedTracking = __toESM(require("./nodes/AnimatedTracking")), import_AnimatedValue = __toESM(require("./nodes/AnimatedValue")), import_AnimatedValueXY = __toESM(require("./nodes/AnimatedValueXY")), add = function(a, b) {
|
|
30
|
+
return new import_AnimatedAddition.default(a, b);
|
|
31
|
+
}, subtract = function(a, b) {
|
|
32
|
+
return new import_AnimatedSubtraction.default(a, b);
|
|
33
|
+
}, divide = function(a, b) {
|
|
34
|
+
return new import_AnimatedDivision.default(a, b);
|
|
35
|
+
}, multiply = function(a, b) {
|
|
36
|
+
return new import_AnimatedMultiplication.default(a, b);
|
|
37
|
+
}, modulo = function(a, modulus) {
|
|
38
|
+
return new import_AnimatedModulo.default(a, modulus);
|
|
39
|
+
}, diffClamp = function(a, min, max) {
|
|
40
|
+
return new import_AnimatedDiffClamp.default(a, min, max);
|
|
41
|
+
}, _combineCallbacks = function(callback, config) {
|
|
42
|
+
return callback && config.onComplete ? function() {
|
|
43
|
+
config.onComplete && config.onComplete(...arguments), callback && callback(...arguments);
|
|
44
|
+
} : callback || config.onComplete;
|
|
45
|
+
}, maybeVectorAnim = function(value, config, anim) {
|
|
46
|
+
if (value instanceof import_AnimatedValueXY.default) {
|
|
47
|
+
var configX = { ...config }, configY = { ...config };
|
|
48
|
+
for (var key in config) {
|
|
49
|
+
var _config$key = config[key], x = _config$key.x, y = _config$key.y;
|
|
50
|
+
x !== void 0 && y !== void 0 && (configX[key] = x, configY[key] = y);
|
|
51
|
+
}
|
|
52
|
+
var aX = anim(value.x, configX), aY = anim(value.y, configY);
|
|
53
|
+
return parallel([aX, aY], {
|
|
54
|
+
stopTogether: !1
|
|
55
|
+
});
|
|
56
|
+
} else if (value instanceof import_AnimatedColor.default) {
|
|
57
|
+
var configR = { ...config }, configG = { ...config }, configB = { ...config }, configA = { ...config };
|
|
58
|
+
for (var _key in config) {
|
|
59
|
+
var _config$_key = config[_key], r = _config$_key.r, g = _config$_key.g, b = _config$_key.b, a = _config$_key.a;
|
|
60
|
+
r !== void 0 && g !== void 0 && b !== void 0 && a !== void 0 && (configR[_key] = r, configG[_key] = g, configB[_key] = b, configA[_key] = a);
|
|
61
|
+
}
|
|
62
|
+
var aR = anim(value.r, configR), aG = anim(value.g, configG), aB = anim(value.b, configB), aA = anim(value.a, configA);
|
|
63
|
+
return parallel([aR, aG, aB, aA], {
|
|
64
|
+
stopTogether: !1
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
return null;
|
|
68
|
+
}, spring = function spring2(value, config) {
|
|
69
|
+
var _start = function(animatedValue, configuration, callback) {
|
|
70
|
+
callback = _combineCallbacks(callback, configuration);
|
|
71
|
+
var singleValue = animatedValue, singleConfig = configuration;
|
|
72
|
+
singleValue.stopTracking(), configuration.toValue instanceof import_AnimatedNode.default ? singleValue.track(
|
|
73
|
+
new import_AnimatedTracking.default(
|
|
74
|
+
singleValue,
|
|
75
|
+
configuration.toValue,
|
|
76
|
+
import_SpringAnimation.default,
|
|
77
|
+
singleConfig,
|
|
78
|
+
callback
|
|
79
|
+
)
|
|
80
|
+
) : singleValue.animate(new import_SpringAnimation.default(singleConfig), callback);
|
|
81
|
+
};
|
|
82
|
+
return maybeVectorAnim(value, config, spring2) || {
|
|
83
|
+
start: function(callback) {
|
|
84
|
+
_start(value, config, callback);
|
|
85
|
+
},
|
|
86
|
+
stop: function() {
|
|
87
|
+
value.stopAnimation();
|
|
88
|
+
},
|
|
89
|
+
reset: function() {
|
|
90
|
+
value.resetAnimation();
|
|
91
|
+
},
|
|
92
|
+
_startNativeLoop: function(iterations) {
|
|
93
|
+
var singleConfig = {
|
|
94
|
+
...config,
|
|
95
|
+
iterations
|
|
96
|
+
};
|
|
97
|
+
_start(value, singleConfig);
|
|
98
|
+
},
|
|
99
|
+
_isUsingNativeDriver: function() {
|
|
100
|
+
return config.useNativeDriver || !1;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
}, timing = function timing2(value, config) {
|
|
104
|
+
var _start2 = function(animatedValue, configuration, callback) {
|
|
105
|
+
callback = _combineCallbacks(callback, configuration);
|
|
106
|
+
var singleValue = animatedValue, singleConfig = configuration;
|
|
107
|
+
singleValue.stopTracking(), configuration.toValue instanceof import_AnimatedNode.default ? singleValue.track(
|
|
108
|
+
new import_AnimatedTracking.default(
|
|
109
|
+
singleValue,
|
|
110
|
+
configuration.toValue,
|
|
111
|
+
import_TimingAnimation.default,
|
|
112
|
+
singleConfig,
|
|
113
|
+
callback
|
|
114
|
+
)
|
|
115
|
+
) : singleValue.animate(new import_TimingAnimation.default(singleConfig), callback);
|
|
116
|
+
};
|
|
117
|
+
return maybeVectorAnim(value, config, timing2) || {
|
|
118
|
+
start: function(callback) {
|
|
119
|
+
_start2(value, config, callback);
|
|
120
|
+
},
|
|
121
|
+
stop: function() {
|
|
122
|
+
value.stopAnimation();
|
|
123
|
+
},
|
|
124
|
+
reset: function() {
|
|
125
|
+
value.resetAnimation();
|
|
126
|
+
},
|
|
127
|
+
_startNativeLoop: function(iterations) {
|
|
128
|
+
var singleConfig = {
|
|
129
|
+
...config,
|
|
130
|
+
iterations
|
|
131
|
+
};
|
|
132
|
+
_start2(value, singleConfig);
|
|
133
|
+
},
|
|
134
|
+
_isUsingNativeDriver: function() {
|
|
135
|
+
return config.useNativeDriver || !1;
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}, decay = function decay2(value, config) {
|
|
139
|
+
var _start3 = function(animatedValue, configuration, callback) {
|
|
140
|
+
callback = _combineCallbacks(callback, configuration);
|
|
141
|
+
var singleValue = animatedValue, singleConfig = configuration;
|
|
142
|
+
singleValue.stopTracking(), singleValue.animate(new import_DecayAnimation.default(singleConfig), callback);
|
|
143
|
+
};
|
|
144
|
+
return maybeVectorAnim(value, config, decay2) || {
|
|
145
|
+
start: function(callback) {
|
|
146
|
+
_start3(value, config, callback);
|
|
147
|
+
},
|
|
148
|
+
stop: function() {
|
|
149
|
+
value.stopAnimation();
|
|
150
|
+
},
|
|
151
|
+
reset: function() {
|
|
152
|
+
value.resetAnimation();
|
|
153
|
+
},
|
|
154
|
+
_startNativeLoop: function(iterations) {
|
|
155
|
+
var singleConfig = {
|
|
156
|
+
...config,
|
|
157
|
+
iterations
|
|
158
|
+
};
|
|
159
|
+
_start3(value, singleConfig);
|
|
160
|
+
},
|
|
161
|
+
_isUsingNativeDriver: function() {
|
|
162
|
+
return config.useNativeDriver || !1;
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
}, sequence = function(animations) {
|
|
166
|
+
var current = 0;
|
|
167
|
+
return {
|
|
168
|
+
start: function(callback) {
|
|
169
|
+
var onComplete = function onComplete2(result) {
|
|
170
|
+
if (!result.finished) {
|
|
171
|
+
callback && callback(result);
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
if (current++, current === animations.length) {
|
|
175
|
+
callback && callback(result);
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
animations[current].start(onComplete2);
|
|
179
|
+
};
|
|
180
|
+
animations.length === 0 ? callback && callback({
|
|
181
|
+
finished: !0
|
|
182
|
+
}) : animations[current].start(onComplete);
|
|
183
|
+
},
|
|
184
|
+
stop: function() {
|
|
185
|
+
current < animations.length && animations[current].stop();
|
|
186
|
+
},
|
|
187
|
+
reset: function() {
|
|
188
|
+
animations.forEach((animation, idx) => {
|
|
189
|
+
idx <= current && animation.reset();
|
|
190
|
+
}), current = 0;
|
|
191
|
+
},
|
|
192
|
+
_startNativeLoop: function() {
|
|
193
|
+
throw new Error(
|
|
194
|
+
"Loops run using the native driver cannot contain Animated.sequence animations"
|
|
195
|
+
);
|
|
196
|
+
},
|
|
197
|
+
_isUsingNativeDriver: function() {
|
|
198
|
+
return !1;
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
}, parallel = function(animations, config) {
|
|
202
|
+
var doneCount = 0, hasEnded = {}, stopTogether = !(config && config.stopTogether === !1), result = {
|
|
203
|
+
start: function(callback) {
|
|
204
|
+
if (doneCount === animations.length) {
|
|
205
|
+
callback && callback({
|
|
206
|
+
finished: !0
|
|
207
|
+
});
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
animations.forEach((animation, idx) => {
|
|
211
|
+
var cb = function(endResult) {
|
|
212
|
+
if (hasEnded[idx] = !0, doneCount++, doneCount === animations.length) {
|
|
213
|
+
doneCount = 0, callback && callback(endResult);
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
!endResult.finished && stopTogether && result.stop();
|
|
217
|
+
};
|
|
218
|
+
animation ? animation.start(cb) : cb({
|
|
219
|
+
finished: !0
|
|
220
|
+
});
|
|
221
|
+
});
|
|
222
|
+
},
|
|
223
|
+
stop: function() {
|
|
224
|
+
animations.forEach((animation, idx) => {
|
|
225
|
+
!hasEnded[idx] && animation.stop(), hasEnded[idx] = !0;
|
|
226
|
+
});
|
|
227
|
+
},
|
|
228
|
+
reset: function() {
|
|
229
|
+
animations.forEach((animation, idx) => {
|
|
230
|
+
animation.reset(), hasEnded[idx] = !1, doneCount = 0;
|
|
231
|
+
});
|
|
232
|
+
},
|
|
233
|
+
_startNativeLoop: function() {
|
|
234
|
+
throw new Error(
|
|
235
|
+
"Loops run using the native driver cannot contain Animated.parallel animations"
|
|
236
|
+
);
|
|
237
|
+
},
|
|
238
|
+
_isUsingNativeDriver: function() {
|
|
239
|
+
return !1;
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
return result;
|
|
243
|
+
}, delay = function(time) {
|
|
244
|
+
return timing(new import_AnimatedValue.default(0), {
|
|
245
|
+
toValue: 0,
|
|
246
|
+
delay: time,
|
|
247
|
+
duration: 0,
|
|
248
|
+
useNativeDriver: !1
|
|
249
|
+
});
|
|
250
|
+
}, stagger = function(time, animations) {
|
|
251
|
+
return parallel(
|
|
252
|
+
animations.map((animation, i) => sequence([delay(time * i), animation]))
|
|
253
|
+
);
|
|
254
|
+
}, loop = function(animation, _temp) {
|
|
255
|
+
var _ref = _temp === void 0 ? {} : _temp, _ref$iterations = _ref.iterations, iterations = _ref$iterations === void 0 ? -1 : _ref$iterations, _ref$resetBeforeItera = _ref.resetBeforeIteration, resetBeforeIteration = _ref$resetBeforeItera === void 0 ? !0 : _ref$resetBeforeItera, isFinished = !1, iterationsSoFar = 0;
|
|
256
|
+
return {
|
|
257
|
+
start: function(callback) {
|
|
258
|
+
var restart = function restart2(result) {
|
|
259
|
+
result === void 0 && (result = {
|
|
260
|
+
finished: !0
|
|
261
|
+
}), isFinished || iterationsSoFar === iterations || result.finished === !1 ? callback && callback(result) : (iterationsSoFar++, resetBeforeIteration && animation.reset(), animation.start(restart2));
|
|
262
|
+
};
|
|
263
|
+
!animation || iterations === 0 ? callback && callback({
|
|
264
|
+
finished: !0
|
|
265
|
+
}) : animation._isUsingNativeDriver() ? animation._startNativeLoop(iterations) : restart();
|
|
266
|
+
},
|
|
267
|
+
stop: function() {
|
|
268
|
+
isFinished = !0, animation.stop();
|
|
269
|
+
},
|
|
270
|
+
reset: function() {
|
|
271
|
+
iterationsSoFar = 0, isFinished = !1, animation.reset();
|
|
272
|
+
},
|
|
273
|
+
_startNativeLoop: function() {
|
|
274
|
+
throw new Error(
|
|
275
|
+
"Loops run using the native driver cannot contain Animated.loop animations"
|
|
276
|
+
);
|
|
277
|
+
},
|
|
278
|
+
_isUsingNativeDriver: function() {
|
|
279
|
+
return animation._isUsingNativeDriver();
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
function forkEvent(event3, listener) {
|
|
284
|
+
return event3 ? event3 instanceof import_AnimatedEvent.AnimatedEvent ? (event3.__addListener(listener), event3) : function() {
|
|
285
|
+
typeof event3 == "function" && event3(...arguments), listener(...arguments);
|
|
286
|
+
} : listener;
|
|
287
|
+
}
|
|
288
|
+
function unforkEvent(event3, listener) {
|
|
289
|
+
event3 && event3 instanceof import_AnimatedEvent.AnimatedEvent && event3.__removeListener(listener);
|
|
290
|
+
}
|
|
291
|
+
var event = function(argMapping, config) {
|
|
292
|
+
var animatedEvent = new import_AnimatedEvent.AnimatedEvent(argMapping, config);
|
|
293
|
+
return animatedEvent.__isNative ? animatedEvent : animatedEvent.__getHandler();
|
|
294
|
+
}, AnimatedImplementation_default = {
|
|
295
|
+
/**
|
|
296
|
+
* Standard value class for driving animations. Typically initialized with
|
|
297
|
+
* `new Animated.Value(0);`
|
|
298
|
+
*
|
|
299
|
+
* See https://reactnative.dev/docs/animated#value
|
|
300
|
+
*/
|
|
301
|
+
Value: import_AnimatedValue.default,
|
|
302
|
+
/**
|
|
303
|
+
* 2D value class for driving 2D animations, such as pan gestures.
|
|
304
|
+
*
|
|
305
|
+
* See https://reactnative.dev/docs/animatedvaluexy
|
|
306
|
+
*/
|
|
307
|
+
ValueXY: import_AnimatedValueXY.default,
|
|
308
|
+
/**
|
|
309
|
+
* Value class for driving color animations.
|
|
310
|
+
*/
|
|
311
|
+
Color: import_AnimatedColor.default,
|
|
312
|
+
/**
|
|
313
|
+
* Exported to use the Interpolation type in flow.
|
|
314
|
+
*
|
|
315
|
+
* See https://reactnative.dev/docs/animated#interpolation
|
|
316
|
+
*/
|
|
317
|
+
Interpolation: import_AnimatedInterpolation.default,
|
|
318
|
+
/**
|
|
319
|
+
* Exported for ease of type checking. All animated values derive from this
|
|
320
|
+
* class.
|
|
321
|
+
*
|
|
322
|
+
* See https://reactnative.dev/docs/animated#node
|
|
323
|
+
*/
|
|
324
|
+
Node: import_AnimatedNode.default,
|
|
325
|
+
/**
|
|
326
|
+
* Animates a value from an initial velocity to zero based on a decay
|
|
327
|
+
* coefficient.
|
|
328
|
+
*
|
|
329
|
+
* See https://reactnative.dev/docs/animated#decay
|
|
330
|
+
*/
|
|
331
|
+
decay,
|
|
332
|
+
/**
|
|
333
|
+
* Animates a value along a timed easing curve. The Easing module has tons of
|
|
334
|
+
* predefined curves, or you can use your own function.
|
|
335
|
+
*
|
|
336
|
+
* See https://reactnative.dev/docs/animated#timing
|
|
337
|
+
*/
|
|
338
|
+
timing,
|
|
339
|
+
/**
|
|
340
|
+
* Animates a value according to an analytical spring model based on
|
|
341
|
+
* damped harmonic oscillation.
|
|
342
|
+
*
|
|
343
|
+
* See https://reactnative.dev/docs/animated#spring
|
|
344
|
+
*/
|
|
345
|
+
spring,
|
|
346
|
+
/**
|
|
347
|
+
* Creates a new Animated value composed from two Animated values added
|
|
348
|
+
* together.
|
|
349
|
+
*
|
|
350
|
+
* See https://reactnative.dev/docs/animated#add
|
|
351
|
+
*/
|
|
352
|
+
add,
|
|
353
|
+
/**
|
|
354
|
+
* Creates a new Animated value composed by subtracting the second Animated
|
|
355
|
+
* value from the first Animated value.
|
|
356
|
+
*
|
|
357
|
+
* See https://reactnative.dev/docs/animated#subtract
|
|
358
|
+
*/
|
|
359
|
+
subtract,
|
|
360
|
+
/**
|
|
361
|
+
* Creates a new Animated value composed by dividing the first Animated value
|
|
362
|
+
* by the second Animated value.
|
|
363
|
+
*
|
|
364
|
+
* See https://reactnative.dev/docs/animated#divide
|
|
365
|
+
*/
|
|
366
|
+
divide,
|
|
367
|
+
/**
|
|
368
|
+
* Creates a new Animated value composed from two Animated values multiplied
|
|
369
|
+
* together.
|
|
370
|
+
*
|
|
371
|
+
* See https://reactnative.dev/docs/animated#multiply
|
|
372
|
+
*/
|
|
373
|
+
multiply,
|
|
374
|
+
/**
|
|
375
|
+
* Creates a new Animated value that is the (non-negative) modulo of the
|
|
376
|
+
* provided Animated value.
|
|
377
|
+
*
|
|
378
|
+
* See https://reactnative.dev/docs/animated#modulo
|
|
379
|
+
*/
|
|
380
|
+
modulo,
|
|
381
|
+
/**
|
|
382
|
+
* Create a new Animated value that is limited between 2 values. It uses the
|
|
383
|
+
* difference between the last value so even if the value is far from the
|
|
384
|
+
* bounds it will start changing when the value starts getting closer again.
|
|
385
|
+
*
|
|
386
|
+
* See https://reactnative.dev/docs/animated#diffclamp
|
|
387
|
+
*/
|
|
388
|
+
diffClamp,
|
|
389
|
+
/**
|
|
390
|
+
* Starts an animation after the given delay.
|
|
391
|
+
*
|
|
392
|
+
* See https://reactnative.dev/docs/animated#delay
|
|
393
|
+
*/
|
|
394
|
+
delay,
|
|
395
|
+
/**
|
|
396
|
+
* Starts an array of animations in order, waiting for each to complete
|
|
397
|
+
* before starting the next. If the current running animation is stopped, no
|
|
398
|
+
* following animations will be started.
|
|
399
|
+
*
|
|
400
|
+
* See https://reactnative.dev/docs/animated#sequence
|
|
401
|
+
*/
|
|
402
|
+
sequence,
|
|
403
|
+
/**
|
|
404
|
+
* Starts an array of animations all at the same time. By default, if one
|
|
405
|
+
* of the animations is stopped, they will all be stopped. You can override
|
|
406
|
+
* this with the `stopTogether` flag.
|
|
407
|
+
*
|
|
408
|
+
* See https://reactnative.dev/docs/animated#parallel
|
|
409
|
+
*/
|
|
410
|
+
parallel,
|
|
411
|
+
/**
|
|
412
|
+
* Array of animations may run in parallel (overlap), but are started in
|
|
413
|
+
* sequence with successive delays. Nice for doing trailing effects.
|
|
414
|
+
*
|
|
415
|
+
* See https://reactnative.dev/docs/animated#stagger
|
|
416
|
+
*/
|
|
417
|
+
stagger,
|
|
418
|
+
/**
|
|
419
|
+
* Loops a given animation continuously, so that each time it reaches the
|
|
420
|
+
* end, it resets and begins again from the start.
|
|
421
|
+
*
|
|
422
|
+
* See https://reactnative.dev/docs/animated#loop
|
|
423
|
+
*/
|
|
424
|
+
loop,
|
|
425
|
+
/**
|
|
426
|
+
* Takes an array of mappings and extracts values from each arg accordingly,
|
|
427
|
+
* then calls `setValue` on the mapped outputs.
|
|
428
|
+
*
|
|
429
|
+
* See https://reactnative.dev/docs/animated#event
|
|
430
|
+
*/
|
|
431
|
+
event,
|
|
432
|
+
/**
|
|
433
|
+
* Make any React component Animatable. Used to create `Animated.View`, etc.
|
|
434
|
+
*
|
|
435
|
+
* See https://reactnative.dev/docs/animated#createanimatedcomponent
|
|
436
|
+
*/
|
|
437
|
+
createAnimatedComponent: import_createAnimatedComponent.default,
|
|
438
|
+
/**
|
|
439
|
+
* Imperative API to attach an animated value to an event on a view. Prefer
|
|
440
|
+
* using `Animated.event` with `useNativeDrive: true` if possible.
|
|
441
|
+
*
|
|
442
|
+
* See https://reactnative.dev/docs/animated#attachnativeevent
|
|
443
|
+
*/
|
|
444
|
+
attachNativeEvent: import_AnimatedEvent.attachNativeEvent,
|
|
445
|
+
/**
|
|
446
|
+
* Advanced imperative API for snooping on animated events that are passed in
|
|
447
|
+
* through props. Use values directly where possible.
|
|
448
|
+
*
|
|
449
|
+
* See https://reactnative.dev/docs/animated#forkevent
|
|
450
|
+
*/
|
|
451
|
+
forkEvent,
|
|
452
|
+
unforkEvent,
|
|
453
|
+
/**
|
|
454
|
+
* Expose Event class, so it can be used as a type for type checkers.
|
|
455
|
+
*/
|
|
456
|
+
Event: import_AnimatedEvent.AnimatedEvent
|
|
457
|
+
};
|
|
458
|
+
//# sourceMappingURL=AnimatedImplementation.js.map
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
10
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
+
mod
|
|
23
|
+
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
+
var AnimatedMock_exports = {};
|
|
25
|
+
__export(AnimatedMock_exports, {
|
|
26
|
+
default: () => AnimatedMock_default
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(AnimatedMock_exports);
|
|
29
|
+
var import_AnimatedEvent = require("./AnimatedEvent"), import_AnimatedImplementation = __toESM(require("./AnimatedImplementation")), import_createAnimatedComponent = __toESM(require("./createAnimatedComponent")), import_AnimatedColor = __toESM(require("./nodes/AnimatedColor")), import_AnimatedInterpolation = __toESM(require("./nodes/AnimatedInterpolation")), import_AnimatedNode = __toESM(require("./nodes/AnimatedNode")), import_AnimatedValue = __toESM(require("./nodes/AnimatedValue")), import_AnimatedValueXY = __toESM(require("./nodes/AnimatedValueXY")), inAnimationCallback = !1;
|
|
30
|
+
function mockAnimationStart(start) {
|
|
31
|
+
return (callback) => {
|
|
32
|
+
var guardedCallback = callback == null ? callback : function() {
|
|
33
|
+
if (inAnimationCallback) {
|
|
34
|
+
console.warn(
|
|
35
|
+
"Ignoring recursive animation callback when running mock animations"
|
|
36
|
+
);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
inAnimationCallback = !0;
|
|
40
|
+
try {
|
|
41
|
+
callback(...arguments);
|
|
42
|
+
} finally {
|
|
43
|
+
inAnimationCallback = !1;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
start(guardedCallback);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
var emptyAnimation = {
|
|
50
|
+
start: () => {
|
|
51
|
+
},
|
|
52
|
+
stop: () => {
|
|
53
|
+
},
|
|
54
|
+
reset: () => {
|
|
55
|
+
},
|
|
56
|
+
_startNativeLoop: () => {
|
|
57
|
+
},
|
|
58
|
+
_isUsingNativeDriver: () => !1
|
|
59
|
+
}, mockCompositeAnimation = (animations) => ({
|
|
60
|
+
...emptyAnimation,
|
|
61
|
+
start: mockAnimationStart((callback) => {
|
|
62
|
+
animations.forEach((animation) => animation.start()), callback?.({
|
|
63
|
+
finished: !0
|
|
64
|
+
});
|
|
65
|
+
})
|
|
66
|
+
}), spring = function(value, config) {
|
|
67
|
+
var anyValue = value;
|
|
68
|
+
return {
|
|
69
|
+
...emptyAnimation,
|
|
70
|
+
start: mockAnimationStart((callback) => {
|
|
71
|
+
anyValue.setValue(config.toValue), callback?.({
|
|
72
|
+
finished: !0
|
|
73
|
+
});
|
|
74
|
+
})
|
|
75
|
+
};
|
|
76
|
+
}, timing = function(value, config) {
|
|
77
|
+
var anyValue = value;
|
|
78
|
+
return {
|
|
79
|
+
...emptyAnimation,
|
|
80
|
+
start: mockAnimationStart((callback) => {
|
|
81
|
+
anyValue.setValue(config.toValue), callback?.({
|
|
82
|
+
finished: !0
|
|
83
|
+
});
|
|
84
|
+
})
|
|
85
|
+
};
|
|
86
|
+
}, decay = function(value, config) {
|
|
87
|
+
return emptyAnimation;
|
|
88
|
+
}, sequence = function(animations) {
|
|
89
|
+
return mockCompositeAnimation(animations);
|
|
90
|
+
}, parallel = function(animations, config) {
|
|
91
|
+
return mockCompositeAnimation(animations);
|
|
92
|
+
}, delay = function(time) {
|
|
93
|
+
return emptyAnimation;
|
|
94
|
+
}, stagger = function(time, animations) {
|
|
95
|
+
return mockCompositeAnimation(animations);
|
|
96
|
+
}, loop = function(animation, _temp) {
|
|
97
|
+
var _ref = _temp === void 0 ? {} : _temp, _ref$iterations = _ref.iterations, iterations = _ref$iterations === void 0 ? -1 : _ref$iterations;
|
|
98
|
+
return emptyAnimation;
|
|
99
|
+
}, AnimatedMock_default = {
|
|
100
|
+
Value: import_AnimatedValue.default,
|
|
101
|
+
ValueXY: import_AnimatedValueXY.default,
|
|
102
|
+
Color: import_AnimatedColor.default,
|
|
103
|
+
Interpolation: import_AnimatedInterpolation.default,
|
|
104
|
+
Node: import_AnimatedNode.default,
|
|
105
|
+
decay,
|
|
106
|
+
timing,
|
|
107
|
+
spring,
|
|
108
|
+
add: import_AnimatedImplementation.default.add,
|
|
109
|
+
subtract: import_AnimatedImplementation.default.subtract,
|
|
110
|
+
divide: import_AnimatedImplementation.default.divide,
|
|
111
|
+
multiply: import_AnimatedImplementation.default.multiply,
|
|
112
|
+
modulo: import_AnimatedImplementation.default.modulo,
|
|
113
|
+
diffClamp: import_AnimatedImplementation.default.diffClamp,
|
|
114
|
+
delay,
|
|
115
|
+
sequence,
|
|
116
|
+
parallel,
|
|
117
|
+
stagger,
|
|
118
|
+
loop,
|
|
119
|
+
event: import_AnimatedImplementation.default.event,
|
|
120
|
+
createAnimatedComponent: import_createAnimatedComponent.default,
|
|
121
|
+
attachNativeEvent: import_AnimatedEvent.attachNativeEvent,
|
|
122
|
+
forkEvent: import_AnimatedImplementation.default.forkEvent,
|
|
123
|
+
unforkEvent: import_AnimatedImplementation.default.unforkEvent,
|
|
124
|
+
Event: import_AnimatedEvent.AnimatedEvent
|
|
125
|
+
};
|
|
126
|
+
//# sourceMappingURL=AnimatedMock.js.map
|