expo-dev-menu 2.2.0 → 3.0.0
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/CHANGELOG.md +28 -8
- package/README.md +2 -2
- package/android/build.gradle +4 -63
- package/android/src/debug/java/expo/modules/devmenu/DevMenuActivity.kt +39 -1
- package/android/src/debug/java/expo/modules/devmenu/DevMenuHost.kt +0 -7
- package/android/src/debug/java/expo/modules/devmenu/DevMenuManager.kt +9 -10
- package/android/src/main/java/expo/modules/devmenu/DevMenuPackage.kt +62 -5
- package/android/src/main/java/expo/modules/devmenu/modules/DevMenuInternalModule.kt +3 -0
- package/android/src/main/java/expo/modules/devmenu/modules/DevMenuModule.kt +23 -7
- package/android/src/main/java/expo/modules/devmenu/modules/internals/DevMenuInternalMenuControllerModule.kt +9 -4
- package/android/src/main/res/layout/bottom_sheet.xml +24 -0
- package/android/src/release/java/expo/modules/devmenu/DevMenuManager.kt +3 -1
- package/app/App.tsx +3 -3
- package/app/components/AppProviders.tsx +1 -4
- package/app/components/Main.tsx +197 -184
- package/app/components/Onboarding.tsx +7 -10
- package/app/hooks/useDevSettings.tsx +8 -9
- package/app/native-modules/DevMenu.ts +10 -2
- package/assets/EXDevMenuApp.android.js +455 -701
- package/assets/EXDevMenuApp.ios.js +455 -702
- package/build/DevMenu.d.ts +2 -0
- package/build/DevMenu.d.ts.map +1 -1
- package/build/DevMenu.js +7 -1
- package/build/DevMenu.js.map +1 -1
- package/build/ExpoDevMenu.types.d.ts +7 -1
- package/build/ExpoDevMenu.types.d.ts.map +1 -1
- package/build/ExpoDevMenu.types.js.map +1 -1
- package/build/ExpoDevMenu.web.d.ts.map +1 -1
- package/build/ExpoDevMenu.web.js +6 -0
- package/build/ExpoDevMenu.web.js.map +1 -1
- package/expo-dev-menu.podspec +21 -103
- package/expo-module.config.json +6 -0
- package/ios/DevMenuAppInstance.swift +8 -6
- package/ios/DevMenuManager.swift +36 -19
- package/ios/DevMenuRCTBridge.h +4 -0
- package/ios/{DevMenuRCTBridge.m → DevMenuRCTBridge.mm} +45 -6
- package/ios/DevMenuViewController.swift +1 -1
- package/ios/DevMenuWindow.swift +97 -4
- package/ios/EXDevMenuAppInfo.m +12 -10
- package/ios/Headers/EXDevMenu-Bridging-Header.h +0 -1
- package/ios/Modules/DevMenuInternalModule.swift +59 -85
- package/ios/Modules/DevMenuModule.swift +34 -15
- package/ios/Modules/DevMenuPreferences.swift +15 -26
- package/ios/OverlayContainer/Internal/ConcreteOverlayContainerContextTargetNotchPolicy.swift +25 -0
- package/ios/OverlayContainer/Internal/ConcreteOverlayContainerContextTransitioning.swift +36 -0
- package/ios/OverlayContainer/Internal/ConcreteOverlayContainerDimissingPolicyContext.swift +41 -0
- package/ios/OverlayContainer/Internal/ConcreteOverlayTranslationParameters.swift +14 -0
- package/ios/OverlayContainer/Internal/DraggingOverlayContainerTransitionCoordinator.swift +76 -0
- package/ios/OverlayContainer/Internal/Extensions/CGFloat+Round.swift +16 -0
- package/ios/OverlayContainer/Internal/Extensions/CGGeometry+Utils.swift +26 -0
- package/ios/OverlayContainer/Internal/Extensions/OverlayContainerViewControllerDelegate+Defaults.swift +58 -0
- package/ios/OverlayContainer/Internal/Extensions/UIPanGesture+Utils.swift +28 -0
- package/ios/OverlayContainer/Internal/Extensions/UIScrollViiew+Utils.swift +40 -0
- package/ios/OverlayContainer/Internal/Extensions/UIView+Constraints.swift +28 -0
- package/ios/OverlayContainer/Internal/Extensions/UIView+Subviews.swift +14 -0
- package/ios/OverlayContainer/Internal/Extensions/UIViewController+Children.swift +40 -0
- package/ios/OverlayContainer/Internal/HeightContraintOverlayTranslationController.swift +296 -0
- package/ios/OverlayContainer/Internal/InterruptibleAnimatorOverlayContainerTransitionCoordinator.swift +75 -0
- package/ios/OverlayContainer/Internal/OverlayContainerConfiguration.swift +63 -0
- package/ios/OverlayContainer/Internal/OverlayContainerConfigurationImplementation.swift +130 -0
- package/ios/OverlayContainer/Internal/OverlayScrollViewDelegate.swift +16 -0
- package/ios/OverlayContainer/Internal/OverlayScrollViewDelegateProxy.swift +96 -0
- package/ios/OverlayContainer/Internal/OverlayTranslationController.swift +26 -0
- package/ios/OverlayContainer/Internal/OverlayTranslationDriver.swift +12 -0
- package/ios/OverlayContainer/Internal/OverlayTranslationGestureRecognizer.swift +40 -0
- package/ios/OverlayContainer/Internal/PanGestureOverlayTranslationDriver.swift +68 -0
- package/ios/OverlayContainer/Internal/ScrollViewOverlayTranslationDriver.swift +135 -0
- package/ios/OverlayContainer/Internal/Views/GroundView.swift +10 -0
- package/ios/OverlayContainer/Internal/Views/OverlayContainerView.swift +10 -0
- package/ios/OverlayContainer/Internal/Views/OverlayTranslationContainerView.swift +10 -0
- package/ios/OverlayContainer/Internal/Views/OverlayTranslationView.swift +10 -0
- package/ios/OverlayContainer/OverlayContainerPresentationController.swift +88 -0
- package/ios/OverlayContainer/OverlayContainerSheetDimmingView.swift +81 -0
- package/ios/OverlayContainer/OverlayContainerSheetDismissalPolicy.swift +91 -0
- package/ios/OverlayContainer/OverlayContainerSheetPresentationController.swift +156 -0
- package/ios/OverlayContainer/OverlayContainerSheetPresentationControllerDelegate.swift +26 -0
- package/ios/OverlayContainer/OverlayContainerTransitionCoordinator.swift +80 -0
- package/ios/OverlayContainer/OverlayContainerViewController.swift +412 -0
- package/ios/OverlayContainer/OverlayContainerViewControllerDelegate.swift +155 -0
- package/ios/OverlayContainer/OverlayTransitioningDelegate.swift +67 -0
- package/ios/OverlayContainer/OverlayTranslationFunction.swift +29 -0
- package/ios/OverlayContainer/PassThroughView.swift +24 -0
- package/ios/OverlayContainer/RubberBandOverlayTranslationFunction.swift +44 -0
- package/ios/OverlayContainer/RushingForwardTargetNotchPolicy.swift +52 -0
- package/ios/OverlayContainer/SpringOverlayTranslationAnimationController.swift +70 -0
- package/ios/Tests/DevMenuAppInstanceTest.swift +2 -4
- package/ios/Tests/DevMenuInternalModuleTest.swift +7 -6
- package/mocks/react-native-gesture-handler/src/index.tsx +39 -0
- package/package.json +6 -6
- package/scripts/start.sh +1 -1
- package/setupTests.ts +0 -11
- package/src/DevMenu.ts +10 -2
- package/src/ExpoDevMenu.types.ts +4 -1
- package/src/ExpoDevMenu.web.ts +6 -0
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProvider.swift +52 -0
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProviderManager.swift +54 -0
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewEdges.swift +9 -0
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewMode.swift +7 -0
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/RCTView+DevMenuSafeAreaCompat.swift +47 -0
- package/vendored/react-native-safe-area-context/src/InitialWindow.native.ts +7 -8
- package/vendored/react-native-safe-area-context/src/NativeSafeAreaProvider.native.tsx +5 -4
- package/android/src/expo-44/java/expo/modules/devmenu/DevMenuPackageDelegate.kt +0 -13
- package/android/src/expo-45/java/expo/modules/devmenu/DevMenuPackageDelegate.kt +0 -65
- package/android/src/release/java/expo/modules/devmenu/DevMenuPackageDelegate.kt +0 -13
- package/app/components/BottomSheet.tsx +0 -705
- package/app/components/GestureHandlerTouchableWrapper.tsx +0 -15
- package/app/hooks/useBottomSheet.tsx +0 -95
- package/ios/DevMenuBaseAppInstance+Reanimated.mm +0 -52
- package/ios/DevMenuBaseAppInstance.h +0 -6
- package/ios/DevMenuVendoredModulesUtils.h +0 -13
- package/ios/DevMenuVendoredModulesUtils.m +0 -56
- package/ios/Modules/DevMenuInternalModule.m +0 -34
- package/ios/Modules/DevMenuModule.m +0 -15
- package/ios/Modules/DevMenuPreferences.m +0 -10
- package/ios/Tests/DevMenuVendoredModulesUtilsTests.swift +0 -17
- package/scripts/reanimated_utils.rb +0 -91
- package/vendored/react-native-gesture-handler/RNGestureHandler.podspec.json +0 -21
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/common/GestureHandlerStateManager.kt +0 -5
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/BaseGestureHandlerInteractionController.kt +0 -18
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/Extensions.kt +0 -11
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/FlingGestureHandler.kt +0 -96
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureHandler.kt +0 -713
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureHandlerInteractionController.kt +0 -8
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureHandlerOrchestrator.kt +0 -562
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureHandlerRegistry.kt +0 -8
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureHandlerRegistryImpl.kt +0 -21
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureUtils.kt +0 -49
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/LongPressGestureHandler.kt +0 -97
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/ManualGestureHandler.kt +0 -11
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/NativeViewGestureHandler.kt +0 -129
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/OnTouchEventListener.kt +0 -9
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/PanGestureHandler.kt +0 -289
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/PinchGestureHandler.kt +0 -88
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/PointerEventsConfig.kt +0 -23
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/RotationGestureDetector.kt +0 -125
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/RotationGestureHandler.kt +0 -79
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/TapGestureHandler.kt +0 -167
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/ViewConfigurationHelper.kt +0 -10
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.kt +0 -349
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerEnabledRootView.kt +0 -57
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerEvent.kt +0 -59
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerEventDataExtractor.kt +0 -8
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerInteractionManager.kt +0 -61
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt +0 -686
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerPackage.kt +0 -17
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerRegistry.kt +0 -95
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt +0 -132
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerRootInterface.kt +0 -5
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerRootView.kt +0 -68
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerRootViewManager.kt +0 -34
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerStateChangeEvent.kt +0 -66
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt +0 -69
- package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNViewConfigurationHelper.kt +0 -51
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandler.h +0 -87
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandler.m +0 -454
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerButton.h +0 -18
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerButton.m +0 -70
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerDirection.h +0 -8
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerEvents.h +0 -65
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerEvents.m +0 -255
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerManager.h +0 -36
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerManager.m +0 -221
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerModule.h +0 -10
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerModule.m +0 -235
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerPointerTracker.h +0 -26
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerPointerTracker.m +0 -237
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerRegistry.h +0 -19
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerRegistry.m +0 -60
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerState.h +0 -10
- package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerStateManager.h +0 -5
- package/vendored/react-native-gesture-handler/ios/DevMenuRNManualActivationRecognizer.h +0 -10
- package/vendored/react-native-gesture-handler/ios/DevMenuRNManualActivationRecognizer.m +0 -80
- package/vendored/react-native-gesture-handler/ios/DevMenuRNRootViewGestureRecognizer.h +0 -17
- package/vendored/react-native-gesture-handler/ios/DevMenuRNRootViewGestureRecognizer.m +0 -93
- package/vendored/react-native-gesture-handler/ios/DevMenuRNTouchEventType.h +0 -9
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNFlingHandler.h +0 -4
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNFlingHandler.m +0 -106
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNForceTouchHandler.h +0 -4
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNForceTouchHandler.m +0 -173
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNLongPressHandler.h +0 -12
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNLongPressHandler.m +0 -185
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNManualHandler.h +0 -4
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNManualHandler.m +0 -73
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNNativeViewHandler.h +0 -15
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNNativeViewHandler.m +0 -177
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNPanHandler.h +0 -12
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNPanHandler.m +0 -306
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNPinchHandler.h +0 -12
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNPinchHandler.m +0 -94
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNRotationHandler.h +0 -12
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNRotationHandler.m +0 -94
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNTapHandler.h +0 -12
- package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNTapHandler.m +0 -265
- package/vendored/react-native-gesture-handler/jestSetup.js +0 -7
- package/vendored/react-native-gesture-handler/src/Directions.ts +0 -9
- package/vendored/react-native-gesture-handler/src/EventType.ts +0 -10
- package/vendored/react-native-gesture-handler/src/GestureHandlerRootView.android.tsx +0 -18
- package/vendored/react-native-gesture-handler/src/GestureHandlerRootView.tsx +0 -12
- package/vendored/react-native-gesture-handler/src/PlatformConstants.ts +0 -8
- package/vendored/react-native-gesture-handler/src/PlatformConstants.web.ts +0 -5
- package/vendored/react-native-gesture-handler/src/RNGestureHandlerModule.ts +0 -35
- package/vendored/react-native-gesture-handler/src/RNGestureHandlerModule.web.ts +0 -61
- package/vendored/react-native-gesture-handler/src/State.ts +0 -13
- package/vendored/react-native-gesture-handler/src/components/DrawerLayout.tsx +0 -695
- package/vendored/react-native-gesture-handler/src/components/GestureButtons.tsx +0 -254
- package/vendored/react-native-gesture-handler/src/components/GestureComponents.tsx +0 -92
- package/vendored/react-native-gesture-handler/src/components/GestureComponents.web.tsx +0 -37
- package/vendored/react-native-gesture-handler/src/components/GestureHandlerButton.tsx +0 -7
- package/vendored/react-native-gesture-handler/src/components/GestureHandlerButton.web.tsx +0 -6
- package/vendored/react-native-gesture-handler/src/components/Swipeable.tsx +0 -510
- package/vendored/react-native-gesture-handler/src/components/touchables/GenericTouchable.tsx +0 -285
- package/vendored/react-native-gesture-handler/src/components/touchables/TouchableHighlight.tsx +0 -112
- package/vendored/react-native-gesture-handler/src/components/touchables/TouchableNativeFeedback.android.tsx +0 -89
- package/vendored/react-native-gesture-handler/src/components/touchables/TouchableNativeFeedback.tsx +0 -3
- package/vendored/react-native-gesture-handler/src/components/touchables/TouchableOpacity.tsx +0 -70
- package/vendored/react-native-gesture-handler/src/components/touchables/TouchableWithoutFeedback.tsx +0 -12
- package/vendored/react-native-gesture-handler/src/components/touchables/index.ts +0 -4
- package/vendored/react-native-gesture-handler/src/gestureHandlerRootHOC.tsx +0 -29
- package/vendored/react-native-gesture-handler/src/handlers/FlingGestureHandler.ts +0 -57
- package/vendored/react-native-gesture-handler/src/handlers/ForceTouchGestureHandler.ts +0 -83
- package/vendored/react-native-gesture-handler/src/handlers/LongPressGestureHandler.ts +0 -84
- package/vendored/react-native-gesture-handler/src/handlers/NativeViewGestureHandler.ts +0 -53
- package/vendored/react-native-gesture-handler/src/handlers/PanGestureHandler.ts +0 -321
- package/vendored/react-native-gesture-handler/src/handlers/PinchGestureHandler.ts +0 -46
- package/vendored/react-native-gesture-handler/src/handlers/RotationGestureHandler.ts +0 -46
- package/vendored/react-native-gesture-handler/src/handlers/TapGestureHandler.ts +0 -90
- package/vendored/react-native-gesture-handler/src/handlers/createHandler.ts +0 -430
- package/vendored/react-native-gesture-handler/src/handlers/createNativeWrapper.tsx +0 -74
- package/vendored/react-native-gesture-handler/src/handlers/gestureHandlerCommon.ts +0 -185
- package/vendored/react-native-gesture-handler/src/handlers/gestureHandlerTypesCompat.ts +0 -89
- package/vendored/react-native-gesture-handler/src/handlers/gestures/GestureDetector.tsx +0 -519
- package/vendored/react-native-gesture-handler/src/handlers/gestures/eventReceiver.ts +0 -151
- package/vendored/react-native-gesture-handler/src/handlers/gestures/flingGesture.ts +0 -27
- package/vendored/react-native-gesture-handler/src/handlers/gestures/forceTouchGesture.ts +0 -74
- package/vendored/react-native-gesture-handler/src/handlers/gestures/gesture.ts +0 -292
- package/vendored/react-native-gesture-handler/src/handlers/gestures/gestureComposition.ts +0 -109
- package/vendored/react-native-gesture-handler/src/handlers/gestures/gestureObjects.ts +0 -79
- package/vendored/react-native-gesture-handler/src/handlers/gestures/gestureStateManager.ts +0 -60
- package/vendored/react-native-gesture-handler/src/handlers/gestures/longPressGesture.ts +0 -27
- package/vendored/react-native-gesture-handler/src/handlers/gestures/manualGesture.ts +0 -31
- package/vendored/react-native-gesture-handler/src/handlers/gestures/nativeGesture.ts +0 -27
- package/vendored/react-native-gesture-handler/src/handlers/gestures/panGesture.ts +0 -147
- package/vendored/react-native-gesture-handler/src/handlers/gestures/pinchGesture.ts +0 -51
- package/vendored/react-native-gesture-handler/src/handlers/gestures/reanimatedWrapper.ts +0 -45
- package/vendored/react-native-gesture-handler/src/handlers/gestures/rotationGesture.ts +0 -51
- package/vendored/react-native-gesture-handler/src/handlers/gestures/tapGesture.ts +0 -52
- package/vendored/react-native-gesture-handler/src/handlers/handlersRegistry.ts +0 -22
- package/vendored/react-native-gesture-handler/src/index.ts +0 -156
- package/vendored/react-native-gesture-handler/src/init.ts +0 -5
- package/vendored/react-native-gesture-handler/src/mocks.ts +0 -65
- package/vendored/react-native-gesture-handler/src/typeUtils.ts +0 -1
- package/vendored/react-native-gesture-handler/src/utils.ts +0 -7
- package/vendored/react-native-gesture-handler/src/web/DiscreteGestureHandler.ts +0 -82
- package/vendored/react-native-gesture-handler/src/web/DraggingGestureHandler.ts +0 -34
- package/vendored/react-native-gesture-handler/src/web/Errors.ts +0 -7
- package/vendored/react-native-gesture-handler/src/web/FlingGestureHandler.ts +0 -134
- package/vendored/react-native-gesture-handler/src/web/GestureHandler.ts +0 -547
- package/vendored/react-native-gesture-handler/src/web/IndiscreteGestureHandler.ts +0 -33
- package/vendored/react-native-gesture-handler/src/web/LongPressGestureHandler.ts +0 -56
- package/vendored/react-native-gesture-handler/src/web/NativeViewGestureHandler.ts +0 -43
- package/vendored/react-native-gesture-handler/src/web/NodeManager.ts +0 -37
- package/vendored/react-native-gesture-handler/src/web/PanGestureHandler.ts +0 -220
- package/vendored/react-native-gesture-handler/src/web/PinchGestureHandler.ts +0 -25
- package/vendored/react-native-gesture-handler/src/web/PressGestureHandler.ts +0 -167
- package/vendored/react-native-gesture-handler/src/web/RotationGestureHandler.ts +0 -25
- package/vendored/react-native-gesture-handler/src/web/TapGestureHandler.ts +0 -172
- package/vendored/react-native-gesture-handler/src/web/constants.ts +0 -48
- package/vendored/react-native-gesture-handler/src/web/utils.ts +0 -24
- package/vendored/react-native-reanimated/Common/cpp/AnimatedSensor/AnimatedSensorModule.cpp +0 -75
- package/vendored/react-native-reanimated/Common/cpp/AnimatedSensor/DevMenuAnimatedSensorModule.h +0 -41
- package/vendored/react-native-reanimated/Common/cpp/LayoutAnimations/DevMenuLayoutAnimationsProxy.h +0 -32
- package/vendored/react-native-reanimated/Common/cpp/LayoutAnimations/LayoutAnimationsProxy.cpp +0 -45
- package/vendored/react-native-reanimated/Common/cpp/NativeModules/DevMenuNativeReanimatedModule.h +0 -121
- package/vendored/react-native-reanimated/Common/cpp/NativeModules/DevMenuNativeReanimatedModuleSpec.h +0 -90
- package/vendored/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp +0 -371
- package/vendored/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModuleSpec.cpp +0 -192
- package/vendored/react-native-reanimated/Common/cpp/Registries/DevMenuEventHandlerRegistry.h +0 -37
- package/vendored/react-native-reanimated/Common/cpp/Registries/DevMenuMapperRegistry.h +0 -29
- package/vendored/react-native-reanimated/Common/cpp/Registries/DevMenuWorkletsCache.h +0 -24
- package/vendored/react-native-reanimated/Common/cpp/Registries/EventHandlerRegistry.cpp +0 -68
- package/vendored/react-native-reanimated/Common/cpp/Registries/MapperRegistry.cpp +0 -147
- package/vendored/react-native-reanimated/Common/cpp/Registries/WorkletsCache.cpp +0 -41
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuFrozenObject.h +0 -36
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuHostFunctionHandler.h +0 -28
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuMutableValue.h +0 -54
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuMutableValueSetterProxy.h +0 -25
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuRemoteObject.h +0 -35
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuRuntimeManager.h +0 -75
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuShareableValue.h +0 -63
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuSharedParent.h +0 -27
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuValueWrapper.h +0 -158
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/FrozenObject.cpp +0 -35
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/MutableValue.cpp +0 -134
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/MutableValueSetterProxy.cpp +0 -47
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/RemoteObject.cpp +0 -45
- package/vendored/react-native-reanimated/Common/cpp/SharedItems/ShareableValue.cpp +0 -512
- package/vendored/react-native-reanimated/Common/cpp/SpecTools/DevMenuErrorHandler.h +0 -32
- package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuFeaturesConfig.h +0 -19
- package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuJSIStoreValueUser.h +0 -37
- package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuMapper.h +0 -51
- package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuPlatformDepMethodsHolder.h +0 -51
- package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuReanimatedHiddenHeaders.h +0 -11
- package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuReanimatedVersion.h +0 -11
- package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuRuntimeDecorator.h +0 -89
- package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuScheduler.h +0 -89
- package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuSingleInstanceChecker.h +0 -58
- package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuWorkletEventHandler.h +0 -30
- package/vendored/react-native-reanimated/Common/cpp/Tools/FeaturesConfig.cpp +0 -5
- package/vendored/react-native-reanimated/Common/cpp/Tools/JSIStoreValueUser.cpp +0 -55
- package/vendored/react-native-reanimated/Common/cpp/Tools/Mapper.cpp +0 -67
- package/vendored/react-native-reanimated/Common/cpp/Tools/ReanimatedVersion.cpp +0 -17
- package/vendored/react-native-reanimated/Common/cpp/Tools/RuntimeDecorator.cpp +0 -242
- package/vendored/react-native-reanimated/Common/cpp/Tools/Scheduler.cpp +0 -37
- package/vendored/react-native-reanimated/Common/cpp/Tools/WorkletEventHandler.cpp +0 -11
- package/vendored/react-native-reanimated/Common/cpp/hidden_headers/DevMenuLogger.h +0 -22
- package/vendored/react-native-reanimated/Common/cpp/hidden_headers/DevMenuLoggerInterface.h +0 -14
- package/vendored/react-native-reanimated/Common/cpp/hidden_headers/DevMenuSpeedChecker.h +0 -29
- package/vendored/react-native-reanimated/android/71-hermes/classes.jar +0 -0
- package/vendored/react-native-reanimated/android/71-hermes/jni/arm64-v8a/libdevmenureanimated.so +0 -0
- package/vendored/react-native-reanimated/android/71-hermes/jni/armeabi-v7a/libdevmenureanimated.so +0 -0
- package/vendored/react-native-reanimated/android/71-hermes/jni/x86/libdevmenureanimated.so +0 -0
- package/vendored/react-native-reanimated/android/71-hermes/jni/x86_64/libdevmenureanimated.so +0 -0
- package/vendored/react-native-reanimated/android/71-jsc/classes.jar +0 -0
- package/vendored/react-native-reanimated/android/71-jsc/jni/arm64-v8a/libdevmenureanimated.so +0 -0
- package/vendored/react-native-reanimated/android/71-jsc/jni/armeabi-v7a/libdevmenureanimated.so +0 -0
- package/vendored/react-native-reanimated/android/71-jsc/jni/x86/libdevmenureanimated.so +0 -0
- package/vendored/react-native-reanimated/android/71-jsc/jni/x86_64/libdevmenureanimated.so +0 -0
- package/vendored/react-native-reanimated/ios/DevMenuREAEventDispatcher.h +0 -10
- package/vendored/react-native-reanimated/ios/DevMenuREAEventDispatcher.m +0 -19
- package/vendored/react-native-reanimated/ios/DevMenuREAModule.h +0 -17
- package/vendored/react-native-reanimated/ios/DevMenuREAModule.mm +0 -221
- package/vendored/react-native-reanimated/ios/DevMenuREANodesManager.h +0 -83
- package/vendored/react-native-reanimated/ios/DevMenuREANodesManager.m +0 -649
- package/vendored/react-native-reanimated/ios/DevMenuREAUtils.h +0 -7
- package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREAAnimationsManager.h +0 -32
- package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREAAnimationsManager.m +0 -360
- package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREASnapshot.h +0 -13
- package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREASnapshot.m +0 -29
- package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREAUIManager.h +0 -16
- package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREAUIManager.mm +0 -388
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAAlwaysNode.h +0 -4
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAAlwaysNode.m +0 -35
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREABezierNode.h +0 -5
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREABezierNode.m +0 -103
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREABlockNode.h +0 -5
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREABlockNode.m +0 -25
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREACallFuncNode.h +0 -6
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREACallFuncNode.m +0 -71
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAClockNodes.h +0 -19
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAClockNodes.m +0 -118
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAConcatNode.h +0 -5
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAConcatNode.m +0 -32
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREACondNode.h +0 -5
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREACondNode.m +0 -36
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREADebugNode.h +0 -5
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREADebugNode.m +0 -30
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAEventNode.h +0 -8
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAEventNode.m +0 -35
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAFunctionNode.h +0 -6
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAFunctionNode.m +0 -24
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAJSCallNode.h +0 -5
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAJSCallNode.m +0 -30
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREANode.h +0 -40
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREANode.m +0 -155
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAOperatorNode.h +0 -5
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAOperatorNode.m +0 -114
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAParamNode.h +0 -10
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAParamNode.m +0 -79
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAPropsNode.h +0 -9
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAPropsNode.m +0 -96
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREASetNode.h +0 -5
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREASetNode.m +0 -34
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAStyleNode.h +0 -5
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAStyleNode.m +0 -27
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREATransformNode.h +0 -5
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREATransformNode.m +0 -36
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAValueNode.h +0 -9
- package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAValueNode.m +0 -26
- package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREAAllTransitions.h +0 -26
- package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREAAllTransitions.m +0 -296
- package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransition.h +0 -64
- package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransition.m +0 -210
- package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionAnimation.h +0 -17
- package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionAnimation.m +0 -79
- package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionManager.h +0 -9
- package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionManager.m +0 -60
- package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionValues.h +0 -15
- package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionValues.m +0 -25
- package/vendored/react-native-reanimated/ios/Transitioning/RCTConvert+DevMenuREATransition.h +0 -11
- package/vendored/react-native-reanimated/ios/Transitioning/RCTConvert+DevMenuREATransition.m +0 -53
- package/vendored/react-native-reanimated/ios/keyboardObserver/DevMenuREAKeyboardEventObserver.h +0 -17
- package/vendored/react-native-reanimated/ios/keyboardObserver/DevMenuREAKeyboardEventObserver.m +0 -198
- package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSErrorHandler.h +0 -21
- package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSErrorHandler.mm +0 -40
- package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSLogger.h +0 -15
- package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSLogger.mm +0 -29
- package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSScheduler.h +0 -19
- package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSScheduler.mm +0 -48
- package/vendored/react-native-reanimated/ios/native/DevMenuREAInitializer.h +0 -30
- package/vendored/react-native-reanimated/ios/native/DevMenuREAInitializer.mm +0 -79
- package/vendored/react-native-reanimated/ios/native/NativeMethods.h +0 -24
- package/vendored/react-native-reanimated/ios/native/NativeMethods.mm +0 -54
- package/vendored/react-native-reanimated/ios/native/NativeProxy.h +0 -15
- package/vendored/react-native-reanimated/ios/native/NativeProxy.mm +0 -370
- package/vendored/react-native-reanimated/ios/sensor/DevMenuReanimatedSensor.h +0 -26
- package/vendored/react-native-reanimated/ios/sensor/DevMenuReanimatedSensor.m +0 -226
- package/vendored/react-native-reanimated/ios/sensor/DevMenuReanimatedSensorContainer.h +0 -12
- package/vendored/react-native-reanimated/ios/sensor/DevMenuReanimatedSensorContainer.m +0 -40
- package/vendored/react-native-reanimated/ios/sensor/DevMenuReanimatedSensorType.h +0 -7
- package/vendored/react-native-reanimated/plugin.js +0 -789
- package/vendored/react-native-reanimated/react-native-reanimated.d.ts +0 -1248
- package/vendored/react-native-reanimated/src/Animated.ts +0 -13
- package/vendored/react-native-reanimated/src/ConfigHelper.ts +0 -170
- package/vendored/react-native-reanimated/src/ReanimatedEventEmitter.ts +0 -4
- package/vendored/react-native-reanimated/src/ReanimatedModule.macos.ts +0 -3
- package/vendored/react-native-reanimated/src/ReanimatedModule.native.ts +0 -13
- package/vendored/react-native-reanimated/src/ReanimatedModule.ts +0 -3
- package/vendored/react-native-reanimated/src/ReanimatedModule.windows.ts +0 -3
- package/vendored/react-native-reanimated/src/ReanimatedModuleCompat.ts +0 -51
- package/vendored/react-native-reanimated/src/createAnimatedComponent.tsx +0 -705
- package/vendored/react-native-reanimated/src/index.ts +0 -15
- package/vendored/react-native-reanimated/src/index.web.ts +0 -7
- package/vendored/react-native-reanimated/src/reanimated1/Easing.js +0 -231
- package/vendored/react-native-reanimated/src/reanimated1/SpringConfig.js +0 -79
- package/vendored/react-native-reanimated/src/reanimated1/Transitioning.js +0 -158
- package/vendored/react-native-reanimated/src/reanimated1/animations/Animation.js +0 -32
- package/vendored/react-native-reanimated/src/reanimated1/animations/SpringUtils.js +0 -199
- package/vendored/react-native-reanimated/src/reanimated1/animations/backwardCompatibleAnimWrapper.js +0 -117
- package/vendored/react-native-reanimated/src/reanimated1/animations/decay.js +0 -54
- package/vendored/react-native-reanimated/src/reanimated1/animations/spring.js +0 -198
- package/vendored/react-native-reanimated/src/reanimated1/animations/timing.js +0 -74
- package/vendored/react-native-reanimated/src/reanimated1/base.js +0 -13
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedAlways.js +0 -33
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedBezier.js +0 -150
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedBlock.js +0 -52
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedCall.js +0 -55
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedCallFunc.js +0 -72
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedClock.js +0 -90
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedClockTest.js +0 -22
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedCode.js +0 -32
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedConcat.js +0 -32
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedCond.js +0 -57
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedDebug.js +0 -62
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedEvent.js +0 -126
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedFunction.js +0 -55
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedNode.js +0 -223
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedOperator.js +0 -103
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedParam.js +0 -88
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedProps.js +0 -108
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedSet.js +0 -38
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedStartClock.js +0 -30
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedStopClock.js +0 -30
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedStyle.js +0 -78
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedTransform.js +0 -78
- package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedValue.js +0 -38
- package/vendored/react-native-reanimated/src/reanimated1/core/Core.test.js +0 -30
- package/vendored/react-native-reanimated/src/reanimated1/core/InternalAnimatedValue.js +0 -87
- package/vendored/react-native-reanimated/src/reanimated1/core/createEventObjectProxyPolyfill.js +0 -44
- package/vendored/react-native-reanimated/src/reanimated1/derived/acc.js +0 -11
- package/vendored/react-native-reanimated/src/reanimated1/derived/color.js +0 -47
- package/vendored/react-native-reanimated/src/reanimated1/derived/diff.js +0 -16
- package/vendored/react-native-reanimated/src/reanimated1/derived/diffClamp.js +0 -11
- package/vendored/react-native-reanimated/src/reanimated1/derived/evaluateOnce.js +0 -35
- package/vendored/react-native-reanimated/src/reanimated1/derived/index.js +0 -8
- package/vendored/react-native-reanimated/src/reanimated1/derived/interpolate.js +0 -152
- package/vendored/react-native-reanimated/src/reanimated1/derived/interpolateColors.js +0 -62
- package/vendored/react-native-reanimated/src/reanimated1/derived/onChange.js +0 -14
- package/vendored/react-native-reanimated/src/reanimated1/derived/useCode.js +0 -41
- package/vendored/react-native-reanimated/src/reanimated1/index.js +0 -53
- package/vendored/react-native-reanimated/src/reanimated1/operators.js +0 -35
- package/vendored/react-native-reanimated/src/reanimated1/useValue.js +0 -10
- package/vendored/react-native-reanimated/src/reanimated1/val.js +0 -3
- package/vendored/react-native-reanimated/src/reanimated2/Bezier.ts +0 -172
- package/vendored/react-native-reanimated/src/reanimated2/Colors.ts +0 -679
- package/vendored/react-native-reanimated/src/reanimated2/Easing.ts +0 -339
- package/vendored/react-native-reanimated/src/reanimated2/NativeMethods.ts +0 -135
- package/vendored/react-native-reanimated/src/reanimated2/NativeReanimated/NativeReanimated.ts +0 -113
- package/vendored/react-native-reanimated/src/reanimated2/NativeReanimated/index.ts +0 -12
- package/vendored/react-native-reanimated/src/reanimated2/PlatformChecker.ts +0 -21
- package/vendored/react-native-reanimated/src/reanimated2/PropAdapters.ts +0 -68
- package/vendored/react-native-reanimated/src/reanimated2/UpdateProps.ts +0 -93
- package/vendored/react-native-reanimated/src/reanimated2/ViewDescriptorsSet.ts +0 -111
- package/vendored/react-native-reanimated/src/reanimated2/WorkletEventHandler.ts +0 -68
- package/vendored/react-native-reanimated/src/reanimated2/animation/commonTypes.ts +0 -52
- package/vendored/react-native-reanimated/src/reanimated2/animation/decay.ts +0 -141
- package/vendored/react-native-reanimated/src/reanimated2/animation/delay.ts +0 -89
- package/vendored/react-native-reanimated/src/reanimated2/animation/index.ts +0 -16
- package/vendored/react-native-reanimated/src/reanimated2/animation/repeat.ts +0 -118
- package/vendored/react-native-reanimated/src/reanimated2/animation/sequence.ts +0 -98
- package/vendored/react-native-reanimated/src/reanimated2/animation/spring.ts +0 -166
- package/vendored/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts +0 -258
- package/vendored/react-native-reanimated/src/reanimated2/animation/timing.ts +0 -111
- package/vendored/react-native-reanimated/src/reanimated2/animation/util.ts +0 -301
- package/vendored/react-native-reanimated/src/reanimated2/commonTypes.ts +0 -171
- package/vendored/react-native-reanimated/src/reanimated2/component/FlatList.tsx +0 -52
- package/vendored/react-native-reanimated/src/reanimated2/component/Image.ts +0 -6
- package/vendored/react-native-reanimated/src/reanimated2/component/ScrollView.ts +0 -6
- package/vendored/react-native-reanimated/src/reanimated2/component/Text.ts +0 -6
- package/vendored/react-native-reanimated/src/reanimated2/component/View.ts +0 -6
- package/vendored/react-native-reanimated/src/reanimated2/core.ts +0 -376
- package/vendored/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts +0 -40
- package/vendored/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts +0 -115
- package/vendored/react-native-reanimated/src/reanimated2/globals.d.ts +0 -91
- package/vendored/react-native-reanimated/src/reanimated2/hook/Hooks.ts +0 -16
- package/vendored/react-native-reanimated/src/reanimated2/hook/commonTypes.ts +0 -17
- package/vendored/react-native-reanimated/src/reanimated2/hook/index.ts +0 -30
- package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedGestureHandler.ts +0 -109
- package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedKeyboard.ts +0 -35
- package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedReaction.ts +0 -49
- package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedRef.ts +0 -30
- package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedScrollHandler.ts +0 -85
- package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedSensor.ts +0 -89
- package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts +0 -557
- package/vendored/react-native-reanimated/src/reanimated2/hook/useDerivedValue.ts +0 -48
- package/vendored/react-native-reanimated/src/reanimated2/hook/useFrameCallback.ts +0 -40
- package/vendored/react-native-reanimated/src/reanimated2/hook/useScrollViewOffset.ts +0 -37
- package/vendored/react-native-reanimated/src/reanimated2/hook/useSharedValue.ts +0 -22
- package/vendored/react-native-reanimated/src/reanimated2/hook/utils.ts +0 -245
- package/vendored/react-native-reanimated/src/reanimated2/index.ts +0 -12
- package/vendored/react-native-reanimated/src/reanimated2/interpolateColor.ts +0 -262
- package/vendored/react-native-reanimated/src/reanimated2/interpolation.ts +0 -212
- package/vendored/react-native-reanimated/src/reanimated2/jestUtils.ts +0 -225
- package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/JSReanimated.ts +0 -144
- package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/Mapper.ts +0 -62
- package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/MapperRegistry.ts +0 -133
- package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/MutableValue.ts +0 -38
- package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/commonTypes.ts +0 -51
- package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/global.ts +0 -45
- package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/index.ts +0 -57
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts +0 -75
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.ts +0 -91
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/ComplexAnimationBuilder.ts +0 -182
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts +0 -262
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/commonTypes.ts +0 -101
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/index.ts +0 -20
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Bounce.ts +0 -528
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts +0 -49
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Fade.ts +0 -347
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Flip.ts +0 -478
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.ts +0 -194
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.ts +0 -99
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Roll.ts +0 -154
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Rotate.ts +0 -384
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Slide.ts +0 -298
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Stretch.ts +0 -129
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Zoom.ts +0 -580
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/index.ts +0 -10
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/CurvedTransition.ts +0 -117
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/EntryExitTransition.ts +0 -224
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/FadingTransition.ts +0 -61
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/JumpingTransition.ts +0 -65
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/LinearTransition.ts +0 -48
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/SequencedTransition.ts +0 -91
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/index.ts +0 -6
- package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/index.ts +0 -4
- package/vendored/react-native-reanimated/src/reanimated2/mock.ts +0 -80
- package/vendored/react-native-reanimated/src/reanimated2/platform-specific/RNRenderer.ts +0 -3
- package/vendored/react-native-reanimated/src/reanimated2/platform-specific/RNRenderer.web.ts +0 -2
- package/vendored/react-native-reanimated/src/reanimated2/platform-specific/checkVersion.ts +0 -35
- package/vendored/react-native-reanimated/src/reanimated2/platform-specific/checkVersion.web.ts +0 -6
- package/vendored/react-native-reanimated/src/reanimated2/utils.ts +0 -28
- package/vendored/react-native-reanimated/src/setAndForwardRef.ts +0 -63
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProvider.h +0 -13
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProvider.m +0 -65
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProviderManager.h +0 -9
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProviderManager.m +0 -109
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaShadowView.h +0 -9
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaShadowView.m +0 -180
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaView.h +0 -21
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaView.m +0 -118
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewEdges.h +0 -9
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewEdges.m +0 -13
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewLocalData.h +0 -18
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewLocalData.m +0 -16
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewManager.h +0 -9
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewManager.m +0 -25
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewMode.h +0 -7
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewMode.m +0 -11
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/RCTView+DevMenuSafeAreaCompat.h +0 -16
- package/vendored/react-native-safe-area-context/ios/SafeAreaView/RCTView+DevMenuSafeAreaCompat.m +0 -57
|
@@ -1,1248 +0,0 @@
|
|
|
1
|
-
// Project: https://github.com/software-mansion/react-native-reanimated
|
|
2
|
-
// TypeScript Version: 2.8
|
|
3
|
-
|
|
4
|
-
declare module 'react-native-reanimated' {
|
|
5
|
-
import {
|
|
6
|
-
ComponentClass,
|
|
7
|
-
ReactNode,
|
|
8
|
-
Component,
|
|
9
|
-
RefObject,
|
|
10
|
-
FunctionComponent,
|
|
11
|
-
} from 'react';
|
|
12
|
-
import {
|
|
13
|
-
ViewProps,
|
|
14
|
-
TextProps,
|
|
15
|
-
ImageProps,
|
|
16
|
-
ScrollViewProps,
|
|
17
|
-
FlatListProps,
|
|
18
|
-
StyleProp,
|
|
19
|
-
RegisteredStyle,
|
|
20
|
-
ViewStyle,
|
|
21
|
-
TextStyle,
|
|
22
|
-
ImageStyle,
|
|
23
|
-
TransformsStyle,
|
|
24
|
-
View as ReactNativeView,
|
|
25
|
-
Text as ReactNativeText,
|
|
26
|
-
Image as ReactNativeImage,
|
|
27
|
-
ScrollView as ReactNativeScrollView,
|
|
28
|
-
FlatList as ReactNativeFlatList,
|
|
29
|
-
NativeScrollEvent,
|
|
30
|
-
NativeSyntheticEvent,
|
|
31
|
-
ColorValue,
|
|
32
|
-
EasingFunction,
|
|
33
|
-
} from 'react-native';
|
|
34
|
-
import {
|
|
35
|
-
GestureHandlerGestureEvent,
|
|
36
|
-
PanGestureHandlerGestureEvent,
|
|
37
|
-
} from 'react-native-gesture-handler';
|
|
38
|
-
|
|
39
|
-
import('./lib/reanimated2/globals');
|
|
40
|
-
|
|
41
|
-
export type TimingAnimation =
|
|
42
|
-
import('./lib/types/lib/reanimated2/animation/index').TimingAnimation;
|
|
43
|
-
export type SpringAnimation =
|
|
44
|
-
import('./lib/types/lib/reanimated2/animation/index').SpringAnimation;
|
|
45
|
-
export type DecayAnimation =
|
|
46
|
-
import('./lib/types/lib/reanimated2/animation/index').DecayAnimation;
|
|
47
|
-
export type DelayAnimation =
|
|
48
|
-
import('./lib/types/lib/reanimated2/animation/commonTypes').DelayAnimation;
|
|
49
|
-
export type RepeatAnimation =
|
|
50
|
-
import('./lib/types/lib/reanimated2/animation/index').RepeatAnimation;
|
|
51
|
-
export type SequenceAnimation =
|
|
52
|
-
import('./lib/types/lib/reanimated2/animation/index').SequenceAnimation;
|
|
53
|
-
export type StyleLayoutAnimation =
|
|
54
|
-
import('./lib/types/lib/reanimated2/animation/index').StyleLayoutAnimation;
|
|
55
|
-
export type Animation<T> =
|
|
56
|
-
import('./lib/types/lib/reanimated2/commonTypes').Animation<T>;
|
|
57
|
-
export type MeasuredDimensions =
|
|
58
|
-
import('./lib/types/lib/reanimated2/commonTypes').MeasuredDimensions;
|
|
59
|
-
|
|
60
|
-
namespace Animated {
|
|
61
|
-
type Nullable<T> = T | null | undefined;
|
|
62
|
-
class AnimatedNode<T> {
|
|
63
|
-
constructor(
|
|
64
|
-
nodeConfig: object,
|
|
65
|
-
inputNodes?: ReadonlyArray<AnimatedNode<any>>
|
|
66
|
-
);
|
|
67
|
-
|
|
68
|
-
isNativelyInitialized(): boolean;
|
|
69
|
-
/**
|
|
70
|
-
* ' __value' is not available at runtime on AnimatedNode<T>. It is
|
|
71
|
-
* necessary to have some discriminating property on a type to know that
|
|
72
|
-
* an AnimatedNode<number> and AnimatedNode<string> are not compatible types.
|
|
73
|
-
*/
|
|
74
|
-
' __value': T;
|
|
75
|
-
}
|
|
76
|
-
class AnimatedClock extends AnimatedNode<number> {
|
|
77
|
-
constructor();
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export enum Extrapolate {
|
|
81
|
-
EXTEND = 'extend',
|
|
82
|
-
CLAMP = 'clamp',
|
|
83
|
-
IDENTITY = 'identity',
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
type ExtrapolateParameter =
|
|
87
|
-
| Extrapolate
|
|
88
|
-
| { extrapolateLeft?: Extrapolate; extrapolateRight?: Extrapolate };
|
|
89
|
-
|
|
90
|
-
interface InterpolationConfig {
|
|
91
|
-
inputRange: ReadonlyArray<Adaptable<number>>;
|
|
92
|
-
outputRange: ReadonlyArray<Adaptable<number | string>>;
|
|
93
|
-
extrapolate?: ExtrapolateParameter;
|
|
94
|
-
extrapolateLeft?: Extrapolate;
|
|
95
|
-
extrapolateRight?: Extrapolate;
|
|
96
|
-
}
|
|
97
|
-
type Value = string | number | boolean;
|
|
98
|
-
class AnimatedValue<T extends Value> extends AnimatedNode<T> {
|
|
99
|
-
constructor(value?: T);
|
|
100
|
-
|
|
101
|
-
setValue(value: Adaptable<T>): void;
|
|
102
|
-
|
|
103
|
-
interpolate(config: InterpolationConfig): AnimatedNode<number>;
|
|
104
|
-
}
|
|
105
|
-
export interface AnimationState {
|
|
106
|
-
finished: AnimatedValue<number>;
|
|
107
|
-
position: AnimatedValue<number>;
|
|
108
|
-
time: AnimatedValue<number>;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export type SharedValue<T> = { value: T };
|
|
112
|
-
export type DerivedValue<T> = Readonly<SharedValue<T>>;
|
|
113
|
-
export type Mapping = { [key: string]: Mapping } | Adaptable<any>;
|
|
114
|
-
export type Adaptable<T> =
|
|
115
|
-
| T
|
|
116
|
-
| AnimatedNode<T>
|
|
117
|
-
| ReadonlyArray<T | AnimatedNode<T> | ReadonlyArray<T | AnimatedNode<T>>>;
|
|
118
|
-
type BinaryOperator<T = number> = (
|
|
119
|
-
left: Adaptable<number>,
|
|
120
|
-
right: Adaptable<number>
|
|
121
|
-
) => AnimatedNode<T>;
|
|
122
|
-
type UnaryOperator = (value: Adaptable<number>) => AnimatedNode<number>;
|
|
123
|
-
type MultiOperator<T = number> = (
|
|
124
|
-
a: Adaptable<number>,
|
|
125
|
-
b: Adaptable<number>,
|
|
126
|
-
...others: Adaptable<number>[]
|
|
127
|
-
) => AnimatedNode<T>;
|
|
128
|
-
|
|
129
|
-
export type TransformStyleTypes = TransformsStyle['transform'] extends
|
|
130
|
-
| readonly (infer T)[]
|
|
131
|
-
| undefined
|
|
132
|
-
? T
|
|
133
|
-
: never;
|
|
134
|
-
export type AdaptTransforms<T> = {
|
|
135
|
-
[P in keyof T]: Adaptable<T[P]>;
|
|
136
|
-
};
|
|
137
|
-
export type AnimatedTransform = AdaptTransforms<TransformStyleTypes>[];
|
|
138
|
-
|
|
139
|
-
export type AnimateStyle<S> = {
|
|
140
|
-
[K in keyof S]: K extends 'transform'
|
|
141
|
-
? AnimatedTransform
|
|
142
|
-
: S[K] extends ReadonlyArray<any>
|
|
143
|
-
? ReadonlyArray<AnimateStyle<S[K][0]>>
|
|
144
|
-
: S[K] extends object
|
|
145
|
-
? AnimateStyle<S[K]>
|
|
146
|
-
: S[K] extends ColorValue | undefined
|
|
147
|
-
? S[K] | number
|
|
148
|
-
:
|
|
149
|
-
| S[K]
|
|
150
|
-
| AnimatedNode<
|
|
151
|
-
// allow `number` where `string` normally is to support colors
|
|
152
|
-
S[K] extends ColorValue | undefined ? S[K] | number : S[K]
|
|
153
|
-
>;
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
export type StylesOrDefault<T> = 'style' extends keyof T
|
|
157
|
-
? T['style']
|
|
158
|
-
: Record<string, unknown>;
|
|
159
|
-
|
|
160
|
-
export type AnimateProps<P extends object> = {
|
|
161
|
-
[K in keyof Omit<P, 'style'>]: P[K] | AnimatedNode<P[K]>;
|
|
162
|
-
} & {
|
|
163
|
-
style?: StyleProp<AnimateStyle<StylesOrDefault<P>>>;
|
|
164
|
-
} & {
|
|
165
|
-
animatedProps?: Partial<AnimateProps<P>>;
|
|
166
|
-
layout?:
|
|
167
|
-
| BaseAnimationBuilder
|
|
168
|
-
| LayoutAnimationFunction
|
|
169
|
-
| typeof BaseAnimationBuilder;
|
|
170
|
-
entering?:
|
|
171
|
-
| BaseAnimationBuilder
|
|
172
|
-
| typeof BaseAnimationBuilder
|
|
173
|
-
| EntryExitAnimationFunction
|
|
174
|
-
| Keyframe;
|
|
175
|
-
exiting?:
|
|
176
|
-
| BaseAnimationBuilder
|
|
177
|
-
| typeof BaseAnimationBuilder
|
|
178
|
-
| EntryExitAnimationFunction
|
|
179
|
-
| Keyframe;
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
export interface PhysicsAnimationState extends AnimationState {
|
|
183
|
-
velocity: AnimatedValue<number>;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export type DecayState = PhysicsAnimationState;
|
|
187
|
-
|
|
188
|
-
export interface DecayConfig {
|
|
189
|
-
deceleration: Adaptable<number>;
|
|
190
|
-
}
|
|
191
|
-
export interface BackwardCompatibleWrapper {
|
|
192
|
-
start: (callback?: (data: { finished: boolean }) => any) => void;
|
|
193
|
-
stop: () => void;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export interface TimingState extends AnimationState {
|
|
197
|
-
frameTime: AnimatedValue<number>;
|
|
198
|
-
}
|
|
199
|
-
export type EasingNodeFunction = (
|
|
200
|
-
value: Adaptable<number>
|
|
201
|
-
) => AnimatedNode<number>;
|
|
202
|
-
export type EasingFunction = (value: number) => number;
|
|
203
|
-
export interface TimingConfig {
|
|
204
|
-
toValue: Adaptable<number>;
|
|
205
|
-
duration: Adaptable<number>;
|
|
206
|
-
easing: EasingNodeFunction;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export type SpringState = PhysicsAnimationState;
|
|
210
|
-
|
|
211
|
-
export interface SpringConfig {
|
|
212
|
-
damping: Adaptable<number>;
|
|
213
|
-
mass: Adaptable<number>;
|
|
214
|
-
stiffness: Adaptable<number>;
|
|
215
|
-
overshootClamping: Adaptable<number> | boolean;
|
|
216
|
-
restSpeedThreshold: Adaptable<number>;
|
|
217
|
-
restDisplacementThreshold: Adaptable<number>;
|
|
218
|
-
toValue: Adaptable<number>;
|
|
219
|
-
}
|
|
220
|
-
interface SpringConfigWithOrigamiTensionAndFriction {
|
|
221
|
-
tension: Adaptable<number>;
|
|
222
|
-
mass: Adaptable<number>;
|
|
223
|
-
friction: Adaptable<number>;
|
|
224
|
-
overshootClamping: Adaptable<number> | boolean;
|
|
225
|
-
restSpeedThreshold: Adaptable<number>;
|
|
226
|
-
restDisplacementThreshold: Adaptable<number>;
|
|
227
|
-
toValue: Adaptable<number>;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
interface SpringConfigWithBouncinessAndSpeed {
|
|
231
|
-
bounciness: Adaptable<number>;
|
|
232
|
-
mass: Adaptable<number>;
|
|
233
|
-
speed: Adaptable<number>;
|
|
234
|
-
overshootClamping: Adaptable<number> | boolean;
|
|
235
|
-
restSpeedThreshold: Adaptable<number>;
|
|
236
|
-
restDisplacementThreshold: Adaptable<number>;
|
|
237
|
-
toValue: Adaptable<number>;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
type SpringUtils = {
|
|
241
|
-
makeDefaultConfig: () => SpringConfig;
|
|
242
|
-
makeConfigFromBouncinessAndSpeed: (
|
|
243
|
-
prevConfig: SpringConfigWithBouncinessAndSpeed
|
|
244
|
-
) => SpringConfig;
|
|
245
|
-
makeConfigFromOrigamiTensionAndFriction: (
|
|
246
|
-
prevConfig: SpringConfigWithOrigamiTensionAndFriction
|
|
247
|
-
) => SpringConfig;
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
export const SpringUtils: SpringUtils;
|
|
251
|
-
|
|
252
|
-
type CodeProps = {
|
|
253
|
-
exec?: AnimatedNode<number>;
|
|
254
|
-
children?: () => AnimatedNode<number>;
|
|
255
|
-
dependencies?: Array<any>;
|
|
256
|
-
};
|
|
257
|
-
|
|
258
|
-
// components
|
|
259
|
-
export class View extends Component<AnimateProps<ViewProps>> {
|
|
260
|
-
getNode(): ReactNativeView;
|
|
261
|
-
}
|
|
262
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
263
|
-
export interface View extends ReactNativeView {}
|
|
264
|
-
export class Text extends Component<AnimateProps<TextProps>> {
|
|
265
|
-
getNode(): ReactNativeText;
|
|
266
|
-
}
|
|
267
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
268
|
-
export interface Text extends ReactNativeText {}
|
|
269
|
-
export class Image extends Component<AnimateProps<ImageProps>> {
|
|
270
|
-
getNode(): ReactNativeImage;
|
|
271
|
-
}
|
|
272
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
273
|
-
export interface Image extends ReactNativeImage {}
|
|
274
|
-
export class ScrollView extends Component<AnimateProps<ScrollViewProps>> {
|
|
275
|
-
getNode(): ReactNativeScrollView;
|
|
276
|
-
}
|
|
277
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
278
|
-
export interface ScrollView extends ReactNativeScrollView {}
|
|
279
|
-
|
|
280
|
-
export class Code extends Component<CodeProps> {}
|
|
281
|
-
export class FlatList<T> extends Component<AnimateProps<FlatListProps<T>>> {
|
|
282
|
-
itemLayoutAnimation: ILayoutAnimationBuilder;
|
|
283
|
-
getNode(): ReactNativeFlatList;
|
|
284
|
-
}
|
|
285
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
286
|
-
export interface FlatList<T> extends ReactNativeView<T> {}
|
|
287
|
-
|
|
288
|
-
type Options<P> = {
|
|
289
|
-
setNativeProps: (ref: any, props: P) => void;
|
|
290
|
-
};
|
|
291
|
-
export function createAnimatedComponent<P extends object>(
|
|
292
|
-
component: ComponentClass<P>,
|
|
293
|
-
options?: Options<P>
|
|
294
|
-
): ComponentClass<AnimateProps<P>>;
|
|
295
|
-
export function createAnimatedComponent<P extends object>(
|
|
296
|
-
component: FunctionComponent<P>,
|
|
297
|
-
options?: Options<P>
|
|
298
|
-
): FunctionComponent<AnimateProps<P>>;
|
|
299
|
-
|
|
300
|
-
// classes
|
|
301
|
-
export {
|
|
302
|
-
AnimatedClock as Clock,
|
|
303
|
-
AnimatedNode as Node,
|
|
304
|
-
AnimatedValue as Value,
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
// base operations
|
|
308
|
-
export const add: MultiOperator;
|
|
309
|
-
export const sub: MultiOperator;
|
|
310
|
-
export const multiply: MultiOperator;
|
|
311
|
-
export const divide: MultiOperator;
|
|
312
|
-
export const pow: MultiOperator;
|
|
313
|
-
export const modulo: MultiOperator;
|
|
314
|
-
export const sqrt: UnaryOperator;
|
|
315
|
-
export const log: UnaryOperator;
|
|
316
|
-
export const sin: UnaryOperator;
|
|
317
|
-
export const cos: UnaryOperator;
|
|
318
|
-
export const tan: UnaryOperator;
|
|
319
|
-
export const acos: UnaryOperator;
|
|
320
|
-
export const asin: UnaryOperator;
|
|
321
|
-
export const atan: UnaryOperator;
|
|
322
|
-
export const exp: UnaryOperator;
|
|
323
|
-
export const round: UnaryOperator;
|
|
324
|
-
export const floor: UnaryOperator;
|
|
325
|
-
export const ceil: UnaryOperator;
|
|
326
|
-
export const lessThan: BinaryOperator<0 | 1>;
|
|
327
|
-
export const eq: BinaryOperator<0 | 1>;
|
|
328
|
-
export const greaterThan: BinaryOperator<0 | 1>;
|
|
329
|
-
export const lessOrEq: BinaryOperator<0 | 1>;
|
|
330
|
-
export const greaterOrEq: BinaryOperator<0 | 1>;
|
|
331
|
-
export const neq: BinaryOperator<0 | 1>;
|
|
332
|
-
export const and: MultiOperator<0 | 1>;
|
|
333
|
-
export const or: MultiOperator<0 | 1>;
|
|
334
|
-
export function proc<T extends (Adaptable<Value> | undefined)[]>(
|
|
335
|
-
func: (...args: T) => AnimatedNode<number>
|
|
336
|
-
): typeof func;
|
|
337
|
-
export function defined(value: Adaptable<any>): AnimatedNode<0 | 1>;
|
|
338
|
-
export function not(value: Adaptable<any>): AnimatedNode<0 | 1>;
|
|
339
|
-
export function set<T extends Value>(
|
|
340
|
-
valueToBeUpdated: AnimatedValue<T>,
|
|
341
|
-
sourceNode: Adaptable<T>
|
|
342
|
-
): AnimatedNode<T>;
|
|
343
|
-
export function concat(
|
|
344
|
-
...args: Array<Adaptable<string> | Adaptable<number>>
|
|
345
|
-
): AnimatedNode<string>;
|
|
346
|
-
export function cond<T1 extends Value = number, T2 extends Value = number>(
|
|
347
|
-
conditionNode: Adaptable<number>,
|
|
348
|
-
ifNode: Adaptable<T1>,
|
|
349
|
-
elseNode?: Adaptable<T2>
|
|
350
|
-
): AnimatedNode<T1 | T2>;
|
|
351
|
-
export function block<T1 extends Value = number, T2 extends Value = any>(
|
|
352
|
-
items: ReadonlyArray<Adaptable<T2>>
|
|
353
|
-
): AnimatedNode<T1>;
|
|
354
|
-
export function call<T>(
|
|
355
|
-
args: ReadonlyArray<T | AnimatedNode<T>>,
|
|
356
|
-
callback: (args: ReadonlyArray<T>) => void
|
|
357
|
-
): AnimatedNode<0>;
|
|
358
|
-
export function debug<T>(
|
|
359
|
-
message: string,
|
|
360
|
-
value: AnimatedNode<T>
|
|
361
|
-
): AnimatedNode<T>;
|
|
362
|
-
export function onChange(
|
|
363
|
-
value: Adaptable<number>,
|
|
364
|
-
action: Adaptable<number>
|
|
365
|
-
): AnimatedNode<number>;
|
|
366
|
-
export function startClock(clock: AnimatedClock): AnimatedNode<0>;
|
|
367
|
-
export function stopClock(clock: AnimatedClock): AnimatedNode<0>;
|
|
368
|
-
export function clockRunning(clock: AnimatedClock): AnimatedNode<0 | 1>;
|
|
369
|
-
// the return type for `event` is a lie, but it's the same lie that
|
|
370
|
-
// react-native makes within Animated
|
|
371
|
-
type EventArgFunc<T> = (arg: T) => AnimatedNode<number>;
|
|
372
|
-
type EventMapping<T> = T extends object
|
|
373
|
-
? { [K in keyof T]?: EventMapping<T[K]> | EventArgFunc<T[K]> }
|
|
374
|
-
: Adaptable<T> | EventArgFunc<T>;
|
|
375
|
-
type EventMappingArray<T> = T extends Array<any>
|
|
376
|
-
? { [I in keyof T]: EventMapping<T[I]> }
|
|
377
|
-
: [EventMapping<T>];
|
|
378
|
-
export function event<T>(
|
|
379
|
-
argMapping: T extends never
|
|
380
|
-
? ReadonlyArray<Mapping>
|
|
381
|
-
: Readonly<EventMappingArray<T>>,
|
|
382
|
-
config?: {}
|
|
383
|
-
): (...args: any[]) => void;
|
|
384
|
-
|
|
385
|
-
// derived operations
|
|
386
|
-
export function abs(value: Adaptable<number>): AnimatedNode<number>;
|
|
387
|
-
export function acc(value: Adaptable<number>): AnimatedNode<number>;
|
|
388
|
-
export function color(
|
|
389
|
-
r: Adaptable<number>,
|
|
390
|
-
g: Adaptable<number>,
|
|
391
|
-
b: Adaptable<number>,
|
|
392
|
-
a?: Adaptable<number>
|
|
393
|
-
): AnimatedNode<number | string>;
|
|
394
|
-
export function diff(value: Adaptable<number>): AnimatedNode<number>;
|
|
395
|
-
export function diffClamp(
|
|
396
|
-
value: Adaptable<number>,
|
|
397
|
-
minVal: Adaptable<number>,
|
|
398
|
-
maxVal: Adaptable<number>
|
|
399
|
-
): AnimatedNode<number>;
|
|
400
|
-
export function interpolateNode(
|
|
401
|
-
value: Adaptable<number>,
|
|
402
|
-
config: InterpolationConfig
|
|
403
|
-
): AnimatedNode<number>;
|
|
404
|
-
export function interpolateColors<T extends string | number>(
|
|
405
|
-
animationValue: Adaptable<number>,
|
|
406
|
-
{
|
|
407
|
-
inputRange,
|
|
408
|
-
outputColorRange,
|
|
409
|
-
}: {
|
|
410
|
-
inputRange: ReadonlyArray<Adaptable<number>>;
|
|
411
|
-
outputColorRange: ReadonlyArray<Adaptable<T>>;
|
|
412
|
-
}
|
|
413
|
-
): AnimatedNode<T>;
|
|
414
|
-
export const max: BinaryOperator;
|
|
415
|
-
export const min: BinaryOperator;
|
|
416
|
-
|
|
417
|
-
// animations
|
|
418
|
-
export function decay(
|
|
419
|
-
clock: AnimatedClock,
|
|
420
|
-
state: DecayState,
|
|
421
|
-
config: DecayConfig
|
|
422
|
-
): AnimatedNode<number>;
|
|
423
|
-
export function timing(
|
|
424
|
-
clock: AnimatedClock,
|
|
425
|
-
state: TimingState,
|
|
426
|
-
config: TimingConfig
|
|
427
|
-
): AnimatedNode<number>;
|
|
428
|
-
export function spring(
|
|
429
|
-
clock: AnimatedClock,
|
|
430
|
-
state: SpringState,
|
|
431
|
-
config: SpringConfig
|
|
432
|
-
): AnimatedNode<number>;
|
|
433
|
-
// backward compatible API
|
|
434
|
-
export function spring(
|
|
435
|
-
node: AnimatedNode<number>,
|
|
436
|
-
config: SpringConfig
|
|
437
|
-
): BackwardCompatibleWrapper;
|
|
438
|
-
export function timing(
|
|
439
|
-
node: AnimatedNode<number>,
|
|
440
|
-
config: TimingConfig
|
|
441
|
-
): BackwardCompatibleWrapper;
|
|
442
|
-
export function decay(
|
|
443
|
-
node: AnimatedNode<number>,
|
|
444
|
-
config: DecayConfig
|
|
445
|
-
): BackwardCompatibleWrapper;
|
|
446
|
-
|
|
447
|
-
// hooks
|
|
448
|
-
export function useCode(
|
|
449
|
-
exec: () =>
|
|
450
|
-
| Nullable<AnimatedNode<number>[] | AnimatedNode<number>>
|
|
451
|
-
| boolean,
|
|
452
|
-
deps: Array<any>
|
|
453
|
-
): void;
|
|
454
|
-
export function useValue<T extends Value>(
|
|
455
|
-
initialValue: T
|
|
456
|
-
): AnimatedValue<T>;
|
|
457
|
-
|
|
458
|
-
// configuration
|
|
459
|
-
export function addWhitelistedNativeProps(props: {
|
|
460
|
-
[key: string]: true;
|
|
461
|
-
}): void;
|
|
462
|
-
export function addWhitelistedUIProps(props: { [key: string]: true }): void;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
export default Animated;
|
|
466
|
-
|
|
467
|
-
export type SharedValue<T> = Animated.SharedValue<T>;
|
|
468
|
-
export type AnimateStyle<S> = Animated.AnimateStyle<S>;
|
|
469
|
-
export type DerivedValue<T> = Animated.DerivedValue<T>;
|
|
470
|
-
export type Mapping = Animated.Mapping;
|
|
471
|
-
export type Adaptable<T> = Animated.Adaptable<T>;
|
|
472
|
-
export type TransformStyleTypes = Animated.TransformStyleTypes;
|
|
473
|
-
export type AdaptTransforms<T> = Animated.AdaptTransforms<T>;
|
|
474
|
-
export type AnimatedTransform = Animated.AnimatedTransform;
|
|
475
|
-
export type AnimateProps<P extends object> = Animated.AnimateProps<P>;
|
|
476
|
-
|
|
477
|
-
export type LayoutAnimation = {
|
|
478
|
-
initialValues: StyleProps;
|
|
479
|
-
animations: AnimateStyle;
|
|
480
|
-
};
|
|
481
|
-
|
|
482
|
-
export interface EntryAnimationsValues {
|
|
483
|
-
targetOriginX: number;
|
|
484
|
-
targetOriginY: number;
|
|
485
|
-
targetWidth: number;
|
|
486
|
-
targetHeight: number;
|
|
487
|
-
targetGlobalOriginX: number;
|
|
488
|
-
targetGlobalOriginY: number;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
export enum SensorType {
|
|
492
|
-
ACCELEROMETER = 1,
|
|
493
|
-
GYROSCOPE = 2,
|
|
494
|
-
GRAVITY = 3,
|
|
495
|
-
MAGNETIC_FIELD = 4,
|
|
496
|
-
ROTATION = 5,
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
export type SensorConfig = {
|
|
500
|
-
interval: number | 'auto';
|
|
501
|
-
};
|
|
502
|
-
|
|
503
|
-
export type Value3D = {
|
|
504
|
-
x: number;
|
|
505
|
-
y: number;
|
|
506
|
-
z: number;
|
|
507
|
-
};
|
|
508
|
-
|
|
509
|
-
export type SensorValue3D = SharedValue<Value3D>;
|
|
510
|
-
|
|
511
|
-
export type ValueRotation = {
|
|
512
|
-
qw: number;
|
|
513
|
-
qx: number;
|
|
514
|
-
qy: number;
|
|
515
|
-
qz: number;
|
|
516
|
-
yaw: number;
|
|
517
|
-
pitch: number;
|
|
518
|
-
roll: number;
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
export type SensorValueRotation = SharedValue<ValueRotation>;
|
|
522
|
-
|
|
523
|
-
export type AnimatedSensor<SensorValueType> = {
|
|
524
|
-
sensor: SensorValueType;
|
|
525
|
-
unregister: () => void;
|
|
526
|
-
isAvailable: boolean;
|
|
527
|
-
config: SensorConfig;
|
|
528
|
-
};
|
|
529
|
-
|
|
530
|
-
export function useAnimatedSensor(
|
|
531
|
-
sensorType: SensorType.ROTATION,
|
|
532
|
-
userConfig?: SensorConfig
|
|
533
|
-
): AnimatedSensor<SensorValueRotation>;
|
|
534
|
-
export function useAnimatedSensor(
|
|
535
|
-
sensorType: Exclude<SensorType, SensorType.ROTATION>,
|
|
536
|
-
userConfig?: SensorConfig
|
|
537
|
-
): AnimatedSensor<SensorValue3D>;
|
|
538
|
-
export function useAnimatedSensor(
|
|
539
|
-
sensorType: SensorType,
|
|
540
|
-
userConfig?: SensorConfig
|
|
541
|
-
): AnimatedSensor<any>;
|
|
542
|
-
|
|
543
|
-
export type FrameCallback = {
|
|
544
|
-
setActive: (isActive: boolean) => void;
|
|
545
|
-
isActive: boolean;
|
|
546
|
-
callbackId: number;
|
|
547
|
-
};
|
|
548
|
-
export type FrameInfo = {
|
|
549
|
-
timestamp: number;
|
|
550
|
-
timeSincePreviousFrame: number | null;
|
|
551
|
-
timeSinceFirstFrame: number;
|
|
552
|
-
};
|
|
553
|
-
export function useFrameCallback(
|
|
554
|
-
callback: (frameInfo: FrameInfo) => void,
|
|
555
|
-
autostart?: boolean
|
|
556
|
-
): FrameCallback;
|
|
557
|
-
|
|
558
|
-
export enum KeyboardState {
|
|
559
|
-
UNKNOWN = 0,
|
|
560
|
-
OPENING = 1,
|
|
561
|
-
OPEN = 2,
|
|
562
|
-
CLOSING = 3,
|
|
563
|
-
CLOSED = 4,
|
|
564
|
-
}
|
|
565
|
-
export type AnimatedKeyboardInfo = {
|
|
566
|
-
height: SharedValue<number>;
|
|
567
|
-
state: SharedValue<KeyboardState>;
|
|
568
|
-
};
|
|
569
|
-
export function useAnimatedKeyboard(): AnimatedKeyboardInfo;
|
|
570
|
-
|
|
571
|
-
export function useScrollViewOffset(
|
|
572
|
-
aref: RefObject<Animated.ScrollView>
|
|
573
|
-
): SharedValue<number>;
|
|
574
|
-
|
|
575
|
-
export interface ExitAnimationsValues {
|
|
576
|
-
currentOriginX: number;
|
|
577
|
-
currentOriginY: number;
|
|
578
|
-
currentWidth: number;
|
|
579
|
-
currentHeight: number;
|
|
580
|
-
currentGlobalOriginX: number;
|
|
581
|
-
currentGlobalOriginY: number;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
export type EntryExitAnimationFunction =
|
|
585
|
-
| ((targetValues: EntryAnimationsValues) => LayoutAnimation)
|
|
586
|
-
| ((targetValues: ExitAnimationsValues) => LayoutAnimation);
|
|
587
|
-
|
|
588
|
-
export type LayoutAnimationsValues = {
|
|
589
|
-
currentOriginX: number;
|
|
590
|
-
currentOriginY: number;
|
|
591
|
-
currentWidth: number;
|
|
592
|
-
currentHeight: number;
|
|
593
|
-
currentGlobalOriginX: number;
|
|
594
|
-
currentGlobalOriginY: number;
|
|
595
|
-
targetOriginX: number;
|
|
596
|
-
targetOriginY: number;
|
|
597
|
-
targetWidth: number;
|
|
598
|
-
targetHeight: number;
|
|
599
|
-
targetGlobalOriginX: number;
|
|
600
|
-
targetGlobalOriginY: number;
|
|
601
|
-
windowWidth: number;
|
|
602
|
-
windowHeight: number;
|
|
603
|
-
};
|
|
604
|
-
|
|
605
|
-
export type LayoutAnimationFunction = (
|
|
606
|
-
targetValues: LayoutAnimationsValues
|
|
607
|
-
) => LayoutAnimation;
|
|
608
|
-
|
|
609
|
-
export interface ILayoutAnimationBuilder {
|
|
610
|
-
build: () => LayoutAnimationFunction;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
export interface IEntryExitAnimationBuilder {
|
|
614
|
-
build: () => EntryExitAnimationFunction;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
export type AnimatableValue = number | string | Array<number>;
|
|
618
|
-
|
|
619
|
-
// reanimated2 derived operations
|
|
620
|
-
export enum Extrapolation {
|
|
621
|
-
IDENTITY = 'identity',
|
|
622
|
-
CLAMP = 'clamp',
|
|
623
|
-
EXTEND = 'extend',
|
|
624
|
-
}
|
|
625
|
-
export interface InterpolatedNode {
|
|
626
|
-
__nodeId: number;
|
|
627
|
-
}
|
|
628
|
-
export interface ExtrapolationConfig {
|
|
629
|
-
extrapolateLeft?: Extrapolation | string;
|
|
630
|
-
extrapolateRight?: Extrapolation | string;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
export type ExtrapolationType =
|
|
634
|
-
| ExtrapolationConfig
|
|
635
|
-
| Extrapolation
|
|
636
|
-
| string
|
|
637
|
-
| undefined;
|
|
638
|
-
|
|
639
|
-
export function interpolate(
|
|
640
|
-
x: number,
|
|
641
|
-
input: readonly number[],
|
|
642
|
-
output: readonly number[],
|
|
643
|
-
type?: ExtrapolationType
|
|
644
|
-
): number;
|
|
645
|
-
|
|
646
|
-
// reanimated2 animations
|
|
647
|
-
export type AnimationCallback = (
|
|
648
|
-
finished?: boolean,
|
|
649
|
-
current?: AnimatableValue
|
|
650
|
-
) => void;
|
|
651
|
-
export type EasingFunctionFactory = { factory: () => EasingFunction };
|
|
652
|
-
export interface WithTimingConfig {
|
|
653
|
-
duration?: number;
|
|
654
|
-
easing?: EasingFunction | EasingFunctionFactory;
|
|
655
|
-
}
|
|
656
|
-
export interface WithDecayConfig {
|
|
657
|
-
deceleration?: number;
|
|
658
|
-
velocity?: number;
|
|
659
|
-
clamp?: [number, number];
|
|
660
|
-
velocityFactor?: number;
|
|
661
|
-
}
|
|
662
|
-
export interface WithSpringConfig {
|
|
663
|
-
damping?: number;
|
|
664
|
-
mass?: number;
|
|
665
|
-
stiffness?: number;
|
|
666
|
-
overshootClamping?: boolean;
|
|
667
|
-
restSpeedThreshold?: number;
|
|
668
|
-
restDisplacementThreshold?: number;
|
|
669
|
-
velocity?: number;
|
|
670
|
-
}
|
|
671
|
-
export function withTiming<T extends AnimatableValue>(
|
|
672
|
-
toValue: T,
|
|
673
|
-
userConfig?: WithTimingConfig,
|
|
674
|
-
callback?: AnimationCallback
|
|
675
|
-
): T;
|
|
676
|
-
export function withSpring<T extends AnimatableValue>(
|
|
677
|
-
toValue: T,
|
|
678
|
-
userConfig?: WithSpringConfig,
|
|
679
|
-
callback?: AnimationCallback
|
|
680
|
-
): T;
|
|
681
|
-
export function withDecay(
|
|
682
|
-
userConfig: WithDecayConfig,
|
|
683
|
-
callback?: AnimationCallback
|
|
684
|
-
): number;
|
|
685
|
-
export function cancelAnimation<T>(sharedValue: SharedValue<T>): void;
|
|
686
|
-
export function withDelay<T extends AnimatableValue>(
|
|
687
|
-
delayMS: number,
|
|
688
|
-
delayedAnimation: T
|
|
689
|
-
): T;
|
|
690
|
-
export function withRepeat<T extends AnimatableValue>(
|
|
691
|
-
animation: T,
|
|
692
|
-
numberOfReps?: number,
|
|
693
|
-
reverse?: boolean,
|
|
694
|
-
callback?: AnimationCallback
|
|
695
|
-
): T;
|
|
696
|
-
export function withSequence<T extends AnimatableValue>(
|
|
697
|
-
...animations: [T, ...T[]]
|
|
698
|
-
): T;
|
|
699
|
-
|
|
700
|
-
// reanimated2 functions
|
|
701
|
-
export function runOnUI<A extends any[], R>(
|
|
702
|
-
fn: (...args: A) => R
|
|
703
|
-
): (...args: Parameters<typeof fn>) => void;
|
|
704
|
-
export function runOnJS<A extends any[], R>(
|
|
705
|
-
fn: (...args: A) => R
|
|
706
|
-
): (...args: Parameters<typeof fn>) => void;
|
|
707
|
-
|
|
708
|
-
type PropsAdapterFunction = (props: Record<string, unknown>) => void;
|
|
709
|
-
export function createAnimatedPropAdapter(
|
|
710
|
-
adapter: PropsAdapterFunction,
|
|
711
|
-
nativeProps?: string[]
|
|
712
|
-
): PropsAdapterFunction;
|
|
713
|
-
|
|
714
|
-
export function processColor(color: number | string): number;
|
|
715
|
-
|
|
716
|
-
export type InterpolationOptions = {
|
|
717
|
-
gamma?: number;
|
|
718
|
-
useCorrectedHSVInterpolation?: boolean;
|
|
719
|
-
};
|
|
720
|
-
|
|
721
|
-
export function isColor(value: unknown): boolean;
|
|
722
|
-
|
|
723
|
-
export function interpolateColor<T extends string | number>(
|
|
724
|
-
value: number,
|
|
725
|
-
inputRange: readonly number[],
|
|
726
|
-
outputRange: readonly T[],
|
|
727
|
-
colorSpace?: 'RGB' | 'HSV',
|
|
728
|
-
options?: InterpolationOptions
|
|
729
|
-
): T;
|
|
730
|
-
|
|
731
|
-
export enum ColorSpace {
|
|
732
|
-
RGB = 0,
|
|
733
|
-
HSV = 1,
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
export interface InterpolateRGB {
|
|
737
|
-
r: number[];
|
|
738
|
-
g: number[];
|
|
739
|
-
b: number[];
|
|
740
|
-
a: number[];
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
export interface InterpolateHSV {
|
|
744
|
-
h: number[];
|
|
745
|
-
s: number[];
|
|
746
|
-
v: number[];
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
export interface InterpolateConfig {
|
|
750
|
-
inputRange: readonly number[];
|
|
751
|
-
outputRange: readonly (string | number)[];
|
|
752
|
-
colorSpace: ColorSpace;
|
|
753
|
-
cache: SharedValue<InterpolateRGB | InterpolateHSV | null>;
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
export function useInterpolateConfig(
|
|
757
|
-
inputRange: readonly number[],
|
|
758
|
-
outputRange: readonly (string | number)[],
|
|
759
|
-
colorSpace?: ColorSpace,
|
|
760
|
-
options?: InterpolationOptions
|
|
761
|
-
): SharedValue<InterpolateConfig>;
|
|
762
|
-
|
|
763
|
-
export function interpolateSharableColor(
|
|
764
|
-
value: number,
|
|
765
|
-
interpolateConfig: SharedValue<InterpolateConfig>
|
|
766
|
-
): string | number;
|
|
767
|
-
|
|
768
|
-
export function makeMutable<T>(initialValue: T): SharedValue<T>;
|
|
769
|
-
|
|
770
|
-
type DependencyList = ReadonlyArray<any>;
|
|
771
|
-
|
|
772
|
-
// reanimated2 hooks
|
|
773
|
-
export function useSharedValue<T>(initialValue: T): SharedValue<T>;
|
|
774
|
-
|
|
775
|
-
export function useDerivedValue<T>(
|
|
776
|
-
processor: () => T,
|
|
777
|
-
deps?: DependencyList
|
|
778
|
-
): DerivedValue<T>;
|
|
779
|
-
|
|
780
|
-
export function useAnimatedReaction<D>(
|
|
781
|
-
prepare: () => D,
|
|
782
|
-
react: (prepareResult: D, preparePreviousResult: D | null) => void,
|
|
783
|
-
deps?: DependencyList
|
|
784
|
-
): void;
|
|
785
|
-
|
|
786
|
-
export type AnimatedStyleProp<T> =
|
|
787
|
-
| AnimateStyle<T>
|
|
788
|
-
| RegisteredStyle<AnimateStyle<T>>;
|
|
789
|
-
export function useAnimatedStyle<
|
|
790
|
-
T extends AnimatedStyleProp<ViewStyle | ImageStyle | TextStyle>
|
|
791
|
-
>(updater: () => T, deps?: DependencyList | null): T;
|
|
792
|
-
export function useAnimatedProps<T extends {}>(
|
|
793
|
-
updater: () => Partial<T>,
|
|
794
|
-
deps?: DependencyList | null,
|
|
795
|
-
adapters?: PropsAdapterFunction | PropsAdapterFunction[] | null
|
|
796
|
-
): Partial<T>;
|
|
797
|
-
export function useEvent<T extends {}>(
|
|
798
|
-
handler: (e: T) => void,
|
|
799
|
-
eventNames?: string[],
|
|
800
|
-
rebuild?: boolean
|
|
801
|
-
): (e: NativeSyntheticEvent<T>) => void;
|
|
802
|
-
export function useHandler<T, TContext extends Context = {}>(
|
|
803
|
-
handlers: Record<string, Handler<T, TContext>>,
|
|
804
|
-
deps?: DependencyList
|
|
805
|
-
): { context: TContext; doDependenciesDiffer: boolean; useWeb: boolean };
|
|
806
|
-
export function useAnimatedGestureHandler<
|
|
807
|
-
T extends GestureHandlerGestureEvent = PanGestureHandlerGestureEvent,
|
|
808
|
-
TContext extends Context = {}
|
|
809
|
-
>(
|
|
810
|
-
handlers: GestureHandlers<T['nativeEvent'], TContext>,
|
|
811
|
-
deps?: DependencyList
|
|
812
|
-
): OnGestureEvent<T>;
|
|
813
|
-
export function useAnimatedScrollHandler<TContext extends Context = {}>(
|
|
814
|
-
handlers: ScrollHandlers<TContext> | ScrollHandler<TContext>,
|
|
815
|
-
deps?: DependencyList
|
|
816
|
-
): OnScroll;
|
|
817
|
-
export function useWorkletCallback<A extends any[], R>(
|
|
818
|
-
fn: (...args: A) => R,
|
|
819
|
-
deps?: DependencyList
|
|
820
|
-
): (...args: Parameters<typeof fn>) => R;
|
|
821
|
-
|
|
822
|
-
export function useAnimatedRef<T extends Component>(): RefObject<T>;
|
|
823
|
-
export function defineAnimation<T>(starting: any, factory: () => T): number;
|
|
824
|
-
export function measure<T extends Component>(
|
|
825
|
-
ref: RefObject<T>
|
|
826
|
-
): MeasuredDimensions | null;
|
|
827
|
-
|
|
828
|
-
export function getRelativeCoords(
|
|
829
|
-
ref: RefObject<Component>,
|
|
830
|
-
x: number,
|
|
831
|
-
y: number
|
|
832
|
-
): {
|
|
833
|
-
x: number;
|
|
834
|
-
y: number;
|
|
835
|
-
};
|
|
836
|
-
|
|
837
|
-
export function scrollTo(
|
|
838
|
-
ref: RefObject<ReactNativeScrollView | ScrollView>,
|
|
839
|
-
x: number,
|
|
840
|
-
y: number,
|
|
841
|
-
animated: boolean
|
|
842
|
-
): void;
|
|
843
|
-
|
|
844
|
-
// gesture-handler
|
|
845
|
-
type OnGestureEvent<T extends GestureHandlerGestureEvent> = (
|
|
846
|
-
event: T
|
|
847
|
-
) => void;
|
|
848
|
-
|
|
849
|
-
type Context = Record<string, unknown>;
|
|
850
|
-
|
|
851
|
-
type Handler<T, TContext extends Context> = (
|
|
852
|
-
event: T,
|
|
853
|
-
context: TContext
|
|
854
|
-
) => void;
|
|
855
|
-
|
|
856
|
-
export interface GestureHandlers<T, TContext extends Context> {
|
|
857
|
-
onStart?: Handler<T, TContext>;
|
|
858
|
-
onActive?: Handler<T, TContext>;
|
|
859
|
-
onEnd?: Handler<T, TContext>;
|
|
860
|
-
onFail?: Handler<T, TContext>;
|
|
861
|
-
onCancel?: Handler<T, TContext>;
|
|
862
|
-
onFinish?: (
|
|
863
|
-
event: T,
|
|
864
|
-
context: TContext,
|
|
865
|
-
isCanceledOrFailed: boolean
|
|
866
|
-
) => void;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
// scroll view
|
|
870
|
-
type OnScroll = (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
871
|
-
|
|
872
|
-
type ScrollHandler<TContext extends Context> = (
|
|
873
|
-
event: NativeScrollEvent,
|
|
874
|
-
context: TContext
|
|
875
|
-
) => void;
|
|
876
|
-
|
|
877
|
-
export interface ScrollHandlers<TContext extends Context> {
|
|
878
|
-
onScroll?: ScrollHandler<TContext>;
|
|
879
|
-
onBeginDrag?: ScrollHandler<TContext>;
|
|
880
|
-
onEndDrag?: ScrollHandler<TContext>;
|
|
881
|
-
onMomentumBegin?: ScrollHandler<TContext>;
|
|
882
|
-
onMomentumEnd?: ScrollHandler<TContext>;
|
|
883
|
-
}
|
|
884
|
-
export interface StyleProps extends ViewStyle, TextStyle {
|
|
885
|
-
originX?: number;
|
|
886
|
-
originY?: number;
|
|
887
|
-
[key: string]: any;
|
|
888
|
-
}
|
|
889
|
-
export type EasingFn = (t: number) => number;
|
|
890
|
-
export interface KeyframeProps extends StyleProps {
|
|
891
|
-
easing?: EasingFn;
|
|
892
|
-
[key: string]: any;
|
|
893
|
-
}
|
|
894
|
-
export class Keyframe {
|
|
895
|
-
constructor(definitions: Record<string, KeyframeProps>);
|
|
896
|
-
duration(durationMs: number): Keyframe;
|
|
897
|
-
delay(delayMs: number): Keyframe;
|
|
898
|
-
withCallback(callback: (finished: boolean) => void): Keyframe;
|
|
899
|
-
}
|
|
900
|
-
export class BaseAnimationBuilder {
|
|
901
|
-
static duration(durationMs: number): BaseAnimationBuilder;
|
|
902
|
-
duration(durationMs: number): BaseAnimationBuilder;
|
|
903
|
-
static delay(durationMs: number): BaseAnimationBuilder;
|
|
904
|
-
delay(durationMs: number): BaseAnimationBuilder;
|
|
905
|
-
static withCallback(
|
|
906
|
-
callback: (finished: boolean) => void
|
|
907
|
-
): BaseAnimationBuilder;
|
|
908
|
-
|
|
909
|
-
withCallback(callback: (finished: boolean) => void): BaseAnimationBuilder;
|
|
910
|
-
static randomDelay(): BaseAnimationBuilder;
|
|
911
|
-
randomDelay(): BaseAnimationBuilder;
|
|
912
|
-
build: () => LayoutAnimationFunction | EntryExitAnimationFunction;
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
export class ComplexAnimationBuilder extends BaseAnimationBuilder {
|
|
916
|
-
static duration(durationMs: number): ComplexAnimationBuilder;
|
|
917
|
-
duration(durationMs: number): ComplexAnimationBuilder;
|
|
918
|
-
static delay(durationMs: number): ComplexAnimationBuilder;
|
|
919
|
-
delay(durationMs: number): ComplexAnimationBuilder;
|
|
920
|
-
static withCallback(
|
|
921
|
-
callback: (finished: boolean) => void
|
|
922
|
-
): ComplexAnimationBuilder;
|
|
923
|
-
|
|
924
|
-
withCallback(
|
|
925
|
-
callback: (finished: boolean) => void
|
|
926
|
-
): ComplexAnimationBuilder;
|
|
927
|
-
|
|
928
|
-
static withInitialValues(values: StyleProps): BaseAnimationBuilder;
|
|
929
|
-
withInitialValues(values: StyleProps): BaseAnimationBuilder;
|
|
930
|
-
|
|
931
|
-
static easing(easingFunction: EasingFunction): ComplexAnimationBuilder;
|
|
932
|
-
easing(easingFunction: EasingFunction): ComplexAnimationBuilder;
|
|
933
|
-
static springify(): ComplexAnimationBuilder;
|
|
934
|
-
springify(): ComplexAnimationBuilder;
|
|
935
|
-
static damping(dampingFactor: number): ComplexAnimationBuilder;
|
|
936
|
-
damping(dampingFactor: number): ComplexAnimationBuilder;
|
|
937
|
-
static mass(mass: number): ComplexAnimationBuilder;
|
|
938
|
-
mass(mass: number): ComplexAnimationBuilder;
|
|
939
|
-
static stiffness(stiffnessFactor: number): ComplexAnimationBuilder;
|
|
940
|
-
stiffness(stiffnessFactor: number): ComplexAnimationBuilder;
|
|
941
|
-
static overshootClamping(
|
|
942
|
-
overshootClampingFactor: number
|
|
943
|
-
): ComplexAnimationBuilder;
|
|
944
|
-
|
|
945
|
-
overshootClamping(overshootClampingFactor: number): ComplexAnimationBuilder;
|
|
946
|
-
|
|
947
|
-
static restDisplacementThreshold(
|
|
948
|
-
restDisplacementThresholdFactor: number
|
|
949
|
-
): ComplexAnimationBuilder;
|
|
950
|
-
|
|
951
|
-
restDisplacementThreshold(
|
|
952
|
-
restDisplacementThresholdFactor: number
|
|
953
|
-
): ComplexAnimationBuilder;
|
|
954
|
-
|
|
955
|
-
static restSpeedThreshold(
|
|
956
|
-
restSpeedThresholdFactor: number
|
|
957
|
-
): ComplexAnimationBuilder;
|
|
958
|
-
|
|
959
|
-
restSpeedThreshold(
|
|
960
|
-
restSpeedThresholdFactor: number
|
|
961
|
-
): ComplexAnimationBuilder;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
export class Layout extends ComplexAnimationBuilder {}
|
|
965
|
-
export class FadingTransition extends BaseAnimationBuilder {}
|
|
966
|
-
export class SequencedTransition extends BaseAnimationBuilder {
|
|
967
|
-
static reverse(): SequencedTransition;
|
|
968
|
-
reverse(): SequencedTransition;
|
|
969
|
-
}
|
|
970
|
-
export class JumpingTransition extends BaseAnimationBuilder {}
|
|
971
|
-
export class CurvedTransition extends BaseAnimationBuilder {
|
|
972
|
-
static delay(durationMs: number): CurvedTransition;
|
|
973
|
-
delay(durationMs: number): CurvedTransition;
|
|
974
|
-
static easingX(easing: EasingFn): CurvedTransition;
|
|
975
|
-
|
|
976
|
-
easingX(easing: EasingFn): CurvedTransition;
|
|
977
|
-
|
|
978
|
-
static easingY(easing: EasingFn): CurvedTransition;
|
|
979
|
-
|
|
980
|
-
easingY(easing: EasingFn): CurvedTransition;
|
|
981
|
-
|
|
982
|
-
static easingWidth(easing: EasingFn): CurvedTransition;
|
|
983
|
-
|
|
984
|
-
easingWidth(easing: EasingFn): CurvedTransition;
|
|
985
|
-
|
|
986
|
-
static easingHeight(easing: EasingFn): CurvedTransition;
|
|
987
|
-
|
|
988
|
-
easingHeight(easing: EasingFn): CurvedTransition;
|
|
989
|
-
}
|
|
990
|
-
export class EntryExitTransition extends BaseAnimationBuilder {
|
|
991
|
-
static delay(durationMs: number): EntryExitTransition;
|
|
992
|
-
delay(durationMs: number): EntryExitTransition;
|
|
993
|
-
static entering(
|
|
994
|
-
animation: BaseAnimationBuilder | typeof BaseAnimationBuilder
|
|
995
|
-
): EntryExitTransition;
|
|
996
|
-
|
|
997
|
-
entering(
|
|
998
|
-
animation: BaseAnimationBuilder | typeof BaseAnimationBuilder
|
|
999
|
-
): EntryExitTransition;
|
|
1000
|
-
|
|
1001
|
-
static exiting(
|
|
1002
|
-
animation: BaseAnimationBuilder | typeof BaseAnimationBuilder
|
|
1003
|
-
): EntryExitTransition;
|
|
1004
|
-
|
|
1005
|
-
exiting(
|
|
1006
|
-
animation: BaseAnimationBuilder | typeof BaseAnimationBuilder
|
|
1007
|
-
): EntryExitTransition;
|
|
1008
|
-
}
|
|
1009
|
-
export function combineTransition(
|
|
1010
|
-
exiting: BaseAnimationBuilder | typeof BaseAnimationBuilder,
|
|
1011
|
-
entering: BaseAnimationBuilder | typeof BaseAnimationBuilder
|
|
1012
|
-
): EntryExitTransition;
|
|
1013
|
-
export class SlideInRight extends ComplexAnimationBuilder {}
|
|
1014
|
-
export class SlideOutRight extends ComplexAnimationBuilder {}
|
|
1015
|
-
export class SlideInUp extends ComplexAnimationBuilder {}
|
|
1016
|
-
export class SlideInDown extends ComplexAnimationBuilder {}
|
|
1017
|
-
export class SlideOutUp extends ComplexAnimationBuilder {}
|
|
1018
|
-
export class SlideOutDown extends ComplexAnimationBuilder {}
|
|
1019
|
-
export class FadeIn extends ComplexAnimationBuilder {}
|
|
1020
|
-
export class FadeInRight extends ComplexAnimationBuilder {}
|
|
1021
|
-
export class FadeInLeft extends ComplexAnimationBuilder {}
|
|
1022
|
-
export class FadeInUp extends ComplexAnimationBuilder {}
|
|
1023
|
-
export class FadeInDown extends ComplexAnimationBuilder {}
|
|
1024
|
-
export class FadeOut extends ComplexAnimationBuilder {}
|
|
1025
|
-
export class FadeOutRight extends ComplexAnimationBuilder {}
|
|
1026
|
-
export class FadeOutLeft extends ComplexAnimationBuilder {}
|
|
1027
|
-
export class FadeOutUp extends ComplexAnimationBuilder {}
|
|
1028
|
-
export class FadeOutDown extends ComplexAnimationBuilder {}
|
|
1029
|
-
export class SlideOutLeft extends ComplexAnimationBuilder {}
|
|
1030
|
-
export class SlideInLeft extends ComplexAnimationBuilder {}
|
|
1031
|
-
export class ZoomIn extends ComplexAnimationBuilder {}
|
|
1032
|
-
export class ZoomInRotate extends ComplexAnimationBuilder {}
|
|
1033
|
-
export class ZoomInRight extends ComplexAnimationBuilder {}
|
|
1034
|
-
export class ZoomInLeft extends ComplexAnimationBuilder {}
|
|
1035
|
-
export class ZoomInUp extends ComplexAnimationBuilder {}
|
|
1036
|
-
export class ZoomInDown extends ComplexAnimationBuilder {}
|
|
1037
|
-
export class ZoomInEasyUp extends ComplexAnimationBuilder {}
|
|
1038
|
-
export class ZoomInEasyDown extends ComplexAnimationBuilder {}
|
|
1039
|
-
export class ZoomOut extends ComplexAnimationBuilder {}
|
|
1040
|
-
export class ZoomOutRotate extends ComplexAnimationBuilder {}
|
|
1041
|
-
export class ZoomOutRight extends ComplexAnimationBuilder {}
|
|
1042
|
-
export class ZoomOutLeft extends ComplexAnimationBuilder {}
|
|
1043
|
-
export class ZoomOutUp extends ComplexAnimationBuilder {}
|
|
1044
|
-
export class ZoomOutDown extends ComplexAnimationBuilder {}
|
|
1045
|
-
export class ZoomOutEasyUp extends ComplexAnimationBuilder {}
|
|
1046
|
-
export class ZoomOutEasyDown extends ComplexAnimationBuilder {}
|
|
1047
|
-
export class StretchInX extends ComplexAnimationBuilder {}
|
|
1048
|
-
export class StretchInY extends ComplexAnimationBuilder {}
|
|
1049
|
-
export class StretchOutX extends ComplexAnimationBuilder {}
|
|
1050
|
-
export class StretchOutY extends ComplexAnimationBuilder {}
|
|
1051
|
-
export class FlipInXUp extends ComplexAnimationBuilder {}
|
|
1052
|
-
export class FlipInYLeft extends ComplexAnimationBuilder {}
|
|
1053
|
-
export class FlipInXDown extends ComplexAnimationBuilder {}
|
|
1054
|
-
export class FlipInYRight extends ComplexAnimationBuilder {}
|
|
1055
|
-
export class FlipInEasyX extends ComplexAnimationBuilder {}
|
|
1056
|
-
export class FlipInEasyY extends ComplexAnimationBuilder {}
|
|
1057
|
-
export class FlipOutXUp extends ComplexAnimationBuilder {}
|
|
1058
|
-
export class FlipOutYLeft extends ComplexAnimationBuilder {}
|
|
1059
|
-
export class FlipOutXDown extends ComplexAnimationBuilder {}
|
|
1060
|
-
export class FlipOutYRight extends ComplexAnimationBuilder {}
|
|
1061
|
-
export class FlipOutEasyX extends ComplexAnimationBuilder {}
|
|
1062
|
-
export class FlipOutEasyY extends ComplexAnimationBuilder {}
|
|
1063
|
-
export class BounceIn extends BaseAnimationBuilder {}
|
|
1064
|
-
export class BounceInDown extends BaseAnimationBuilder {}
|
|
1065
|
-
export class BounceInUp extends BaseAnimationBuilder {}
|
|
1066
|
-
export class BounceInLeft extends BaseAnimationBuilder {}
|
|
1067
|
-
export class BounceInRight extends BaseAnimationBuilder {}
|
|
1068
|
-
export class BounceOut extends BaseAnimationBuilder {}
|
|
1069
|
-
export class BounceOutDown extends BaseAnimationBuilder {}
|
|
1070
|
-
export class BounceOutUp extends BaseAnimationBuilder {}
|
|
1071
|
-
export class BounceOutLeft extends BaseAnimationBuilder {}
|
|
1072
|
-
export class BounceOutRight extends BaseAnimationBuilder {}
|
|
1073
|
-
export class LightSpeedInRight extends ComplexAnimationBuilder {}
|
|
1074
|
-
export class LightSpeedInLeft extends ComplexAnimationBuilder {}
|
|
1075
|
-
export class LightSpeedOutRight extends ComplexAnimationBuilder {}
|
|
1076
|
-
export class LightSpeedOutLeft extends ComplexAnimationBuilder {}
|
|
1077
|
-
export class PinwheelIn extends ComplexAnimationBuilder {}
|
|
1078
|
-
export class PinwheelOut extends ComplexAnimationBuilder {}
|
|
1079
|
-
export class RotateInDownLeft extends ComplexAnimationBuilder {}
|
|
1080
|
-
export class RotateInDownRight extends ComplexAnimationBuilder {}
|
|
1081
|
-
export class RotateInUpRight extends ComplexAnimationBuilder {}
|
|
1082
|
-
export class RotateInUpLeft extends ComplexAnimationBuilder {}
|
|
1083
|
-
export class RotateOutDownRight extends ComplexAnimationBuilder {}
|
|
1084
|
-
export class RotateOutDownLeft extends ComplexAnimationBuilder {}
|
|
1085
|
-
export class RotateOutUpLeft extends ComplexAnimationBuilder {}
|
|
1086
|
-
export class RotateOutUpRight extends ComplexAnimationBuilder {}
|
|
1087
|
-
export class RollInLeft extends ComplexAnimationBuilder {}
|
|
1088
|
-
export class RollInRight extends ComplexAnimationBuilder {}
|
|
1089
|
-
export class RollOutLeft extends ComplexAnimationBuilder {}
|
|
1090
|
-
export class RollOutRight extends ComplexAnimationBuilder {}
|
|
1091
|
-
interface EasingNodeStatic {
|
|
1092
|
-
linear: Animated.EasingNodeFunction;
|
|
1093
|
-
ease: Animated.EasingNodeFunction;
|
|
1094
|
-
quad: Animated.EasingNodeFunction;
|
|
1095
|
-
cubic: Animated.EasingNodeFunction;
|
|
1096
|
-
poly(n: Animated.Adaptable<number>): Animated.EasingNodeFunction;
|
|
1097
|
-
sin: Animated.EasingNodeFunction;
|
|
1098
|
-
circle: Animated.EasingNodeFunction;
|
|
1099
|
-
exp: Animated.EasingNodeFunction;
|
|
1100
|
-
elastic(
|
|
1101
|
-
bounciness?: Animated.Adaptable<number>
|
|
1102
|
-
): Animated.EasingNodeFunction;
|
|
1103
|
-
back(s?: Animated.Adaptable<number>): Animated.EasingNodeFunction;
|
|
1104
|
-
bounce: Animated.EasingNodeFunction;
|
|
1105
|
-
bezier(
|
|
1106
|
-
x1: number,
|
|
1107
|
-
y1: number,
|
|
1108
|
-
x2: number,
|
|
1109
|
-
y2: number
|
|
1110
|
-
): Animated.EasingNodeFunction;
|
|
1111
|
-
in(easing: Animated.EasingNodeFunction): Animated.EasingNodeFunction;
|
|
1112
|
-
out(easing: Animated.EasingNodeFunction): Animated.EasingNodeFunction;
|
|
1113
|
-
inOut(easing: Animated.EasingNodeFunction): Animated.EasingNodeFunction;
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
export const EasingNode: EasingNodeStatic;
|
|
1117
|
-
|
|
1118
|
-
interface EasingStatic {
|
|
1119
|
-
linear: Animated.EasingFunction;
|
|
1120
|
-
ease: Animated.EasingFunction;
|
|
1121
|
-
quad: Animated.EasingFunction;
|
|
1122
|
-
cubic: Animated.EasingFunction;
|
|
1123
|
-
poly(n: number): Animated.EasingFunction;
|
|
1124
|
-
sin: Animated.EasingFunction;
|
|
1125
|
-
circle: Animated.EasingFunction;
|
|
1126
|
-
exp: Animated.EasingFunction;
|
|
1127
|
-
elastic(bounciness?: number): Animated.EasingFunction;
|
|
1128
|
-
back(s?: number): Animated.EasingFunction;
|
|
1129
|
-
bounce: Animated.EasingFunction;
|
|
1130
|
-
bezier(
|
|
1131
|
-
x1: number,
|
|
1132
|
-
y1: number,
|
|
1133
|
-
x2: number,
|
|
1134
|
-
y2: number
|
|
1135
|
-
): { factory: () => Animated.EasingFunction };
|
|
1136
|
-
bezierFn(
|
|
1137
|
-
x1: number,
|
|
1138
|
-
y1: number,
|
|
1139
|
-
x2: number,
|
|
1140
|
-
y2: number
|
|
1141
|
-
): Animated.EasingFunction;
|
|
1142
|
-
in(easing: Animated.EasingFunction): Animated.EasingFunction;
|
|
1143
|
-
out(easing: Animated.EasingFunction): Animated.EasingFunction;
|
|
1144
|
-
inOut(easing: Animated.EasingFunction): Animated.EasingFunction;
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
export const Easing: EasingStatic;
|
|
1148
|
-
|
|
1149
|
-
export interface TransitioningViewProps extends ViewProps {
|
|
1150
|
-
transition: ReactNode;
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
|
-
export class TransitioningView extends Component<TransitioningViewProps> {
|
|
1154
|
-
animateNextTransition(): void;
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
export class Transitioning extends Component {
|
|
1158
|
-
static View: typeof TransitioningView;
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
export interface TransitionProps {
|
|
1162
|
-
delayMs?: number;
|
|
1163
|
-
durationMs?: number;
|
|
1164
|
-
interpolation?: 'linear' | 'easeIn' | 'easeOut' | 'easeInOut';
|
|
1165
|
-
propagation?: 'top' | 'bottom' | 'left' | 'right';
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
export interface TransitionInOutProps extends TransitionProps {
|
|
1169
|
-
type?:
|
|
1170
|
-
| 'fade'
|
|
1171
|
-
| 'scale'
|
|
1172
|
-
| 'slide-top'
|
|
1173
|
-
| 'slide-bottom'
|
|
1174
|
-
| 'slide-right'
|
|
1175
|
-
| 'slide-left';
|
|
1176
|
-
}
|
|
1177
|
-
export class Transition extends Component {
|
|
1178
|
-
static In: ComponentClass<TransitionInOutProps>;
|
|
1179
|
-
static Out: ComponentClass<TransitionInOutProps>;
|
|
1180
|
-
static Change: ComponentClass<TransitionProps>;
|
|
1181
|
-
static Together: ComponentClass<{}>;
|
|
1182
|
-
static Sequence: ComponentClass<{}>;
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
export class Clock extends Animated.Clock {}
|
|
1186
|
-
export class Value<
|
|
1187
|
-
T extends string | number | boolean
|
|
1188
|
-
> extends Animated.Value<T> {}
|
|
1189
|
-
export class Node<T> extends Animated.Node<T> {}
|
|
1190
|
-
export const add: typeof Animated.add;
|
|
1191
|
-
export const sub: typeof Animated.sub;
|
|
1192
|
-
export const multiply: typeof Animated.multiply;
|
|
1193
|
-
export const divide: typeof Animated.divide;
|
|
1194
|
-
export const pow: typeof Animated.pow;
|
|
1195
|
-
export const modulo: typeof Animated.modulo;
|
|
1196
|
-
export const sqrt: typeof Animated.sqrt;
|
|
1197
|
-
export const log: typeof Animated.log;
|
|
1198
|
-
export const sin: typeof Animated.sin;
|
|
1199
|
-
export const cos: typeof Animated.cos;
|
|
1200
|
-
export const exp: typeof Animated.exp;
|
|
1201
|
-
export const round: typeof Animated.round;
|
|
1202
|
-
export const lessThan: typeof Animated.lessThan;
|
|
1203
|
-
export const eq: typeof Animated.eq;
|
|
1204
|
-
export const greaterThan: typeof Animated.greaterThan;
|
|
1205
|
-
export const lessOrEq: typeof Animated.lessOrEq;
|
|
1206
|
-
export const greaterOrEq: typeof Animated.greaterOrEq;
|
|
1207
|
-
export const neq: typeof Animated.neq;
|
|
1208
|
-
export const and: typeof Animated.and;
|
|
1209
|
-
export const or: typeof Animated.or;
|
|
1210
|
-
export const defined: typeof Animated.defined;
|
|
1211
|
-
export const not: typeof Animated.not;
|
|
1212
|
-
export const tan: typeof Animated.tan;
|
|
1213
|
-
export const acos: typeof Animated.acos;
|
|
1214
|
-
export const asin: typeof Animated.asin;
|
|
1215
|
-
export const atan: typeof Animated.atan;
|
|
1216
|
-
export const proc: typeof Animated.proc;
|
|
1217
|
-
export const block: typeof Animated.block;
|
|
1218
|
-
export const concat: typeof Animated.concat;
|
|
1219
|
-
export const event: typeof Animated.event;
|
|
1220
|
-
export const call: typeof Animated.call;
|
|
1221
|
-
export const debug: typeof Animated.debug;
|
|
1222
|
-
export const clockRunning: typeof Animated.clockRunning;
|
|
1223
|
-
export const stopClock: typeof Animated.stopClock;
|
|
1224
|
-
export const startClock: typeof Animated.startClock;
|
|
1225
|
-
export const set: typeof Animated.set;
|
|
1226
|
-
export const cond: typeof Animated.cond;
|
|
1227
|
-
export const abs: typeof Animated.abs;
|
|
1228
|
-
export const acc: typeof Animated.acc;
|
|
1229
|
-
export const color: typeof Animated.color;
|
|
1230
|
-
export const interpolateColors: typeof Animated.interpolateColors;
|
|
1231
|
-
export const diff: typeof Animated.diff;
|
|
1232
|
-
export const diffClamp: typeof Animated.diffClamp;
|
|
1233
|
-
export const interpolateNode: typeof Animated.interpolateNode;
|
|
1234
|
-
export const Extrapolate: typeof Animated.Extrapolate;
|
|
1235
|
-
export const max: typeof Animated.max;
|
|
1236
|
-
export const min: typeof Animated.min;
|
|
1237
|
-
export const onChange: typeof Animated.onChange;
|
|
1238
|
-
export const floor: typeof Animated.floor;
|
|
1239
|
-
export const ceil: typeof Animated.ceil;
|
|
1240
|
-
export const useCode: typeof Animated.useCode;
|
|
1241
|
-
export const decay: typeof Animated.decay;
|
|
1242
|
-
export const timing: typeof Animated.timing;
|
|
1243
|
-
export const spring: typeof Animated.spring;
|
|
1244
|
-
export const SpringUtils: typeof Animated.SpringUtils;
|
|
1245
|
-
export const useValue: typeof Animated.useValue;
|
|
1246
|
-
export const ReverseAnimation: typeof Animated.ReverseAnimation;
|
|
1247
|
-
export function enableLayoutAnimations(flag: boolean): void;
|
|
1248
|
-
}
|