expo-dev-menu 2.1.4 → 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 +30 -4
- 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/java/expo/modules/devmenu/websockets/DevMenuCommandHandlersProvider.kt +6 -0
- 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/DevMenuPackagerConnectionHandler.swift +4 -0
- 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,224 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ILayoutAnimationBuilder,
|
|
3
|
-
LayoutAnimationsValues,
|
|
4
|
-
LayoutAnimationFunction,
|
|
5
|
-
} from '../animationBuilder/commonTypes';
|
|
6
|
-
import { BaseAnimationBuilder } from '../animationBuilder';
|
|
7
|
-
import { withSequence, withTiming } from '../../animation';
|
|
8
|
-
import { FadeIn, FadeOut } from '../defaultAnimations/Fade';
|
|
9
|
-
import {
|
|
10
|
-
StyleProps,
|
|
11
|
-
TransformProperty,
|
|
12
|
-
AnimationObject,
|
|
13
|
-
} from '../../commonTypes';
|
|
14
|
-
|
|
15
|
-
export class EntryExitTransition
|
|
16
|
-
extends BaseAnimationBuilder
|
|
17
|
-
implements ILayoutAnimationBuilder
|
|
18
|
-
{
|
|
19
|
-
enteringV: BaseAnimationBuilder | typeof BaseAnimationBuilder = FadeIn;
|
|
20
|
-
|
|
21
|
-
exitingV: BaseAnimationBuilder | typeof BaseAnimationBuilder = FadeOut;
|
|
22
|
-
|
|
23
|
-
static createInstance(): EntryExitTransition {
|
|
24
|
-
return new EntryExitTransition();
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
static entering(
|
|
28
|
-
animation: BaseAnimationBuilder | typeof BaseAnimationBuilder
|
|
29
|
-
): EntryExitTransition {
|
|
30
|
-
const instance = this.createInstance();
|
|
31
|
-
return instance.entering(animation);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
entering(
|
|
35
|
-
animation: BaseAnimationBuilder | typeof BaseAnimationBuilder
|
|
36
|
-
): EntryExitTransition {
|
|
37
|
-
this.enteringV = animation;
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
static exiting(
|
|
42
|
-
animation: BaseAnimationBuilder | typeof BaseAnimationBuilder
|
|
43
|
-
): EntryExitTransition {
|
|
44
|
-
const instance = this.createInstance();
|
|
45
|
-
return instance.exiting(animation);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
exiting(
|
|
49
|
-
animation: BaseAnimationBuilder | typeof BaseAnimationBuilder
|
|
50
|
-
): EntryExitTransition {
|
|
51
|
-
this.exitingV = animation;
|
|
52
|
-
return this;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
build = (): LayoutAnimationFunction => {
|
|
56
|
-
const delayFunction = this.getDelayFunction();
|
|
57
|
-
const callback = this.callbackV;
|
|
58
|
-
const delay = this.getDelay();
|
|
59
|
-
const enteringAnimation = this.enteringV.build();
|
|
60
|
-
const exitingAnimation = this.exitingV.build();
|
|
61
|
-
const exitingDuration = this.exitingV.getDuration();
|
|
62
|
-
|
|
63
|
-
return (values) => {
|
|
64
|
-
'worklet';
|
|
65
|
-
const enteringValues = enteringAnimation(values);
|
|
66
|
-
const exitingValues = exitingAnimation(values);
|
|
67
|
-
const animations: StyleProps = {
|
|
68
|
-
transform: [],
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
for (const prop of Object.keys(exitingValues.animations)) {
|
|
72
|
-
if (prop === 'transform') {
|
|
73
|
-
exitingValues.animations[prop]?.forEach((value, index) => {
|
|
74
|
-
for (const transformProp of Object.keys(value)) {
|
|
75
|
-
animations.transform?.push({
|
|
76
|
-
[transformProp]: delayFunction(
|
|
77
|
-
delay,
|
|
78
|
-
withSequence(
|
|
79
|
-
value[transformProp as keyof TransformProperty],
|
|
80
|
-
withTiming(
|
|
81
|
-
exitingValues.initialValues.transform
|
|
82
|
-
? exitingValues.initialValues.transform[index][
|
|
83
|
-
transformProp as keyof TransformProperty
|
|
84
|
-
]
|
|
85
|
-
: 0,
|
|
86
|
-
{ duration: 0 }
|
|
87
|
-
)
|
|
88
|
-
)
|
|
89
|
-
),
|
|
90
|
-
} as TransformProperty);
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
} else {
|
|
94
|
-
const sequence =
|
|
95
|
-
enteringValues.animations[prop] !== undefined
|
|
96
|
-
? [
|
|
97
|
-
exitingValues.animations[prop],
|
|
98
|
-
withTiming(enteringValues.initialValues[prop], {
|
|
99
|
-
duration: 0,
|
|
100
|
-
}),
|
|
101
|
-
enteringValues.animations[prop],
|
|
102
|
-
]
|
|
103
|
-
: [
|
|
104
|
-
exitingValues.animations[prop],
|
|
105
|
-
withTiming(
|
|
106
|
-
Object.keys(values).includes(prop)
|
|
107
|
-
? values[prop as keyof LayoutAnimationsValues]
|
|
108
|
-
: exitingValues.initialValues[prop],
|
|
109
|
-
{ duration: 0 }
|
|
110
|
-
),
|
|
111
|
-
];
|
|
112
|
-
|
|
113
|
-
animations[prop] = delayFunction(delay, withSequence(...sequence));
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
for (const prop of Object.keys(enteringValues.animations)) {
|
|
117
|
-
if (prop === 'transform') {
|
|
118
|
-
enteringValues.animations[prop]?.forEach((value, index) => {
|
|
119
|
-
for (const transformProp of Object.keys(value)) {
|
|
120
|
-
animations.transform?.push({
|
|
121
|
-
[transformProp]: delayFunction(
|
|
122
|
-
delay + exitingDuration,
|
|
123
|
-
withSequence(
|
|
124
|
-
withTiming(
|
|
125
|
-
enteringValues.initialValues.transform
|
|
126
|
-
? enteringValues.initialValues.transform[index][
|
|
127
|
-
transformProp as keyof TransformProperty
|
|
128
|
-
]
|
|
129
|
-
: 0,
|
|
130
|
-
{ duration: exitingDuration }
|
|
131
|
-
),
|
|
132
|
-
value[transformProp as keyof TransformProperty]
|
|
133
|
-
)
|
|
134
|
-
),
|
|
135
|
-
} as TransformProperty);
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
} else if (animations[prop] !== undefined) {
|
|
139
|
-
// it was already added in the previous loop
|
|
140
|
-
continue;
|
|
141
|
-
} else {
|
|
142
|
-
animations[prop] = delayFunction(
|
|
143
|
-
delay,
|
|
144
|
-
withSequence(
|
|
145
|
-
withTiming(enteringValues.initialValues[prop], { duration: 0 }),
|
|
146
|
-
enteringValues.animations[prop]
|
|
147
|
-
)
|
|
148
|
-
);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
const mergedTransform = (
|
|
153
|
-
exitingValues.initialValues.transform ?? []
|
|
154
|
-
).concat(
|
|
155
|
-
(enteringValues.animations.transform ?? []).map((value) => {
|
|
156
|
-
const objectKeys = Object.keys(value);
|
|
157
|
-
if (objectKeys?.length < 1) {
|
|
158
|
-
console.error(
|
|
159
|
-
`[Reanimated]: \${value} is not a valid Transform object`
|
|
160
|
-
);
|
|
161
|
-
return value;
|
|
162
|
-
}
|
|
163
|
-
const transformProp = objectKeys[0];
|
|
164
|
-
const current = (
|
|
165
|
-
value[transformProp as keyof TransformProperty] as AnimationObject
|
|
166
|
-
).current;
|
|
167
|
-
if (typeof current === 'string') {
|
|
168
|
-
if (current.includes('deg'))
|
|
169
|
-
return {
|
|
170
|
-
[transformProp]: '0deg',
|
|
171
|
-
} as unknown as TransformProperty;
|
|
172
|
-
else
|
|
173
|
-
return {
|
|
174
|
-
[transformProp]: '0',
|
|
175
|
-
} as unknown as TransformProperty;
|
|
176
|
-
} else if (transformProp.includes('translate')) {
|
|
177
|
-
return { [transformProp]: 0 } as unknown as TransformProperty;
|
|
178
|
-
} else {
|
|
179
|
-
return { [transformProp]: 1 } as unknown as TransformProperty;
|
|
180
|
-
}
|
|
181
|
-
return value;
|
|
182
|
-
})
|
|
183
|
-
);
|
|
184
|
-
|
|
185
|
-
return {
|
|
186
|
-
initialValues: {
|
|
187
|
-
...exitingValues.initialValues,
|
|
188
|
-
originX: values.currentOriginX,
|
|
189
|
-
originY: values.currentOriginY,
|
|
190
|
-
width: values.currentWidth,
|
|
191
|
-
height: values.currentHeight,
|
|
192
|
-
transform: mergedTransform,
|
|
193
|
-
},
|
|
194
|
-
animations: {
|
|
195
|
-
originX: delayFunction(
|
|
196
|
-
delay + exitingDuration,
|
|
197
|
-
withTiming(values.targetOriginX, { duration: exitingDuration })
|
|
198
|
-
),
|
|
199
|
-
originY: delayFunction(
|
|
200
|
-
delay + exitingDuration,
|
|
201
|
-
withTiming(values.targetOriginY, { duration: exitingDuration })
|
|
202
|
-
),
|
|
203
|
-
width: delayFunction(
|
|
204
|
-
delay + exitingDuration,
|
|
205
|
-
withTiming(values.targetWidth, { duration: exitingDuration })
|
|
206
|
-
),
|
|
207
|
-
height: delayFunction(
|
|
208
|
-
delay + exitingDuration,
|
|
209
|
-
withTiming(values.targetHeight, { duration: exitingDuration })
|
|
210
|
-
),
|
|
211
|
-
...animations,
|
|
212
|
-
},
|
|
213
|
-
callback: callback,
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export function combineTransition(
|
|
220
|
-
exiting: BaseAnimationBuilder | typeof BaseAnimationBuilder,
|
|
221
|
-
entering: BaseAnimationBuilder | typeof BaseAnimationBuilder
|
|
222
|
-
): EntryExitTransition {
|
|
223
|
-
return EntryExitTransition.entering(entering).exiting(exiting);
|
|
224
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { withSequence, withTiming } from '../../animation';
|
|
2
|
-
import {
|
|
3
|
-
ILayoutAnimationBuilder,
|
|
4
|
-
LayoutAnimationFunction,
|
|
5
|
-
} from '../animationBuilder/commonTypes';
|
|
6
|
-
import { BaseAnimationBuilder } from '../animationBuilder';
|
|
7
|
-
|
|
8
|
-
export class FadingTransition
|
|
9
|
-
extends BaseAnimationBuilder
|
|
10
|
-
implements ILayoutAnimationBuilder
|
|
11
|
-
{
|
|
12
|
-
static createInstance(): FadingTransition {
|
|
13
|
-
return new FadingTransition();
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
build = (): LayoutAnimationFunction => {
|
|
17
|
-
const delayFunction = this.getDelayFunction();
|
|
18
|
-
const callback = this.callbackV;
|
|
19
|
-
const delay = this.getDelay();
|
|
20
|
-
const duration = this.durationV ?? 500;
|
|
21
|
-
|
|
22
|
-
return (values) => {
|
|
23
|
-
'worklet';
|
|
24
|
-
return {
|
|
25
|
-
initialValues: {
|
|
26
|
-
opacity: 1,
|
|
27
|
-
originX: values.currentOriginX,
|
|
28
|
-
originY: values.currentOriginY,
|
|
29
|
-
width: values.currentWidth,
|
|
30
|
-
height: values.currentHeight,
|
|
31
|
-
},
|
|
32
|
-
animations: {
|
|
33
|
-
opacity: delayFunction(
|
|
34
|
-
delay,
|
|
35
|
-
withSequence(
|
|
36
|
-
withTiming(0, { duration: duration }),
|
|
37
|
-
withTiming(1, { duration: duration })
|
|
38
|
-
)
|
|
39
|
-
),
|
|
40
|
-
originX: delayFunction(
|
|
41
|
-
delay + duration,
|
|
42
|
-
withTiming(values.targetOriginX, { duration: 50 })
|
|
43
|
-
),
|
|
44
|
-
originY: delayFunction(
|
|
45
|
-
delay + duration,
|
|
46
|
-
withTiming(values.targetOriginY, { duration: 50 })
|
|
47
|
-
),
|
|
48
|
-
width: delayFunction(
|
|
49
|
-
delay + duration,
|
|
50
|
-
withTiming(values.targetWidth, { duration: 50 })
|
|
51
|
-
),
|
|
52
|
-
height: delayFunction(
|
|
53
|
-
delay + duration,
|
|
54
|
-
withTiming(values.targetHeight, { duration: 50 })
|
|
55
|
-
),
|
|
56
|
-
},
|
|
57
|
-
callback: callback,
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ILayoutAnimationBuilder,
|
|
3
|
-
LayoutAnimationFunction,
|
|
4
|
-
} from '../animationBuilder/commonTypes';
|
|
5
|
-
import { withSequence, withTiming } from '../../animation';
|
|
6
|
-
import { Easing } from '../../Easing';
|
|
7
|
-
import { BaseAnimationBuilder } from '../animationBuilder';
|
|
8
|
-
export class JumpingTransition
|
|
9
|
-
extends BaseAnimationBuilder
|
|
10
|
-
implements ILayoutAnimationBuilder
|
|
11
|
-
{
|
|
12
|
-
static createInstance(): JumpingTransition {
|
|
13
|
-
return new JumpingTransition();
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
build = (): LayoutAnimationFunction => {
|
|
17
|
-
const delayFunction = this.getDelayFunction();
|
|
18
|
-
const callback = this.callbackV;
|
|
19
|
-
const delay = this.getDelay();
|
|
20
|
-
const duration = (this.durationV ?? 300) / 2;
|
|
21
|
-
const config = { duration: duration * 2 };
|
|
22
|
-
|
|
23
|
-
return (values) => {
|
|
24
|
-
'worklet';
|
|
25
|
-
const d = Math.max(
|
|
26
|
-
Math.abs(values.targetOriginX - values.currentOriginX),
|
|
27
|
-
Math.abs(values.targetOriginY - values.currentOriginY)
|
|
28
|
-
);
|
|
29
|
-
return {
|
|
30
|
-
initialValues: {
|
|
31
|
-
originX: values.currentOriginX,
|
|
32
|
-
originY: values.currentOriginY,
|
|
33
|
-
width: values.currentWidth,
|
|
34
|
-
height: values.currentHeight,
|
|
35
|
-
},
|
|
36
|
-
animations: {
|
|
37
|
-
originX: delayFunction(
|
|
38
|
-
delay,
|
|
39
|
-
withTiming(values.targetOriginX, config)
|
|
40
|
-
),
|
|
41
|
-
originY: delayFunction(
|
|
42
|
-
delay,
|
|
43
|
-
withSequence(
|
|
44
|
-
withTiming(
|
|
45
|
-
Math.min(values.targetOriginY, values.currentOriginY) - d,
|
|
46
|
-
{
|
|
47
|
-
duration,
|
|
48
|
-
easing: Easing.out(Easing.exp),
|
|
49
|
-
}
|
|
50
|
-
),
|
|
51
|
-
withTiming(values.targetOriginY, {
|
|
52
|
-
...config,
|
|
53
|
-
duration,
|
|
54
|
-
easing: Easing.bounce,
|
|
55
|
-
})
|
|
56
|
-
)
|
|
57
|
-
),
|
|
58
|
-
width: delayFunction(delay, withTiming(values.targetWidth, config)),
|
|
59
|
-
height: delayFunction(delay, withTiming(values.targetHeight, config)),
|
|
60
|
-
},
|
|
61
|
-
callback: callback,
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ComplexAnimationBuilder } from '../animationBuilder/ComplexAnimationBuilder';
|
|
2
|
-
import {
|
|
3
|
-
ILayoutAnimationBuilder,
|
|
4
|
-
LayoutAnimationFunction,
|
|
5
|
-
} from '../animationBuilder/commonTypes';
|
|
6
|
-
|
|
7
|
-
export class LinearTransition
|
|
8
|
-
extends ComplexAnimationBuilder
|
|
9
|
-
implements ILayoutAnimationBuilder
|
|
10
|
-
{
|
|
11
|
-
static createInstance(): LinearTransition {
|
|
12
|
-
return new LinearTransition();
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
build = (): LayoutAnimationFunction => {
|
|
16
|
-
const delayFunction = this.getDelayFunction();
|
|
17
|
-
const [animation, config] = this.getAnimationAndConfig();
|
|
18
|
-
const callback = this.callbackV;
|
|
19
|
-
const delay = this.getDelay();
|
|
20
|
-
|
|
21
|
-
return (values) => {
|
|
22
|
-
'worklet';
|
|
23
|
-
return {
|
|
24
|
-
initialValues: {
|
|
25
|
-
originX: values.currentOriginX,
|
|
26
|
-
originY: values.currentOriginY,
|
|
27
|
-
width: values.currentWidth,
|
|
28
|
-
height: values.currentHeight,
|
|
29
|
-
},
|
|
30
|
-
animations: {
|
|
31
|
-
originX: delayFunction(
|
|
32
|
-
delay,
|
|
33
|
-
animation(values.targetOriginX, config)
|
|
34
|
-
),
|
|
35
|
-
originY: delayFunction(
|
|
36
|
-
delay,
|
|
37
|
-
animation(values.targetOriginY, config)
|
|
38
|
-
),
|
|
39
|
-
width: delayFunction(delay, animation(values.targetWidth, config)),
|
|
40
|
-
height: delayFunction(delay, animation(values.targetHeight, config)),
|
|
41
|
-
},
|
|
42
|
-
callback: callback,
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export const Layout = LinearTransition;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { withSequence, withTiming } from '../../animation';
|
|
2
|
-
import {
|
|
3
|
-
ILayoutAnimationBuilder,
|
|
4
|
-
LayoutAnimationFunction,
|
|
5
|
-
} from '../animationBuilder/commonTypes';
|
|
6
|
-
import { BaseAnimationBuilder } from '../animationBuilder';
|
|
7
|
-
|
|
8
|
-
export class SequencedTransition
|
|
9
|
-
extends BaseAnimationBuilder
|
|
10
|
-
implements ILayoutAnimationBuilder
|
|
11
|
-
{
|
|
12
|
-
reversed = false;
|
|
13
|
-
|
|
14
|
-
static createInstance(): SequencedTransition {
|
|
15
|
-
return new SequencedTransition();
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
static reverse(): SequencedTransition {
|
|
19
|
-
const instance = SequencedTransition.createInstance();
|
|
20
|
-
return instance.reverse();
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
reverse(): SequencedTransition {
|
|
24
|
-
this.reversed = !this.reversed;
|
|
25
|
-
return this;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
build = (): LayoutAnimationFunction => {
|
|
29
|
-
const delayFunction = this.getDelayFunction();
|
|
30
|
-
const callback = this.callbackV;
|
|
31
|
-
const delay = this.getDelay();
|
|
32
|
-
const sequenceDuration = (this.durationV ?? 500) / 2;
|
|
33
|
-
const config = { duration: sequenceDuration };
|
|
34
|
-
const reverse = this.reversed;
|
|
35
|
-
|
|
36
|
-
return (values) => {
|
|
37
|
-
'worklet';
|
|
38
|
-
return {
|
|
39
|
-
initialValues: {
|
|
40
|
-
originX: values.currentOriginX,
|
|
41
|
-
originY: values.currentOriginY,
|
|
42
|
-
width: values.currentWidth,
|
|
43
|
-
height: values.currentHeight,
|
|
44
|
-
},
|
|
45
|
-
animations: {
|
|
46
|
-
originX: delayFunction(
|
|
47
|
-
delay,
|
|
48
|
-
withSequence(
|
|
49
|
-
withTiming(
|
|
50
|
-
reverse ? values.currentOriginX : values.targetOriginX,
|
|
51
|
-
config
|
|
52
|
-
),
|
|
53
|
-
withTiming(values.targetOriginX, config)
|
|
54
|
-
)
|
|
55
|
-
),
|
|
56
|
-
originY: delayFunction(
|
|
57
|
-
delay,
|
|
58
|
-
withSequence(
|
|
59
|
-
withTiming(
|
|
60
|
-
reverse ? values.targetOriginY : values.currentOriginY,
|
|
61
|
-
config
|
|
62
|
-
),
|
|
63
|
-
withTiming(values.targetOriginY, config)
|
|
64
|
-
)
|
|
65
|
-
),
|
|
66
|
-
width: delayFunction(
|
|
67
|
-
delay,
|
|
68
|
-
withSequence(
|
|
69
|
-
withTiming(
|
|
70
|
-
reverse ? values.currentWidth : values.targetWidth,
|
|
71
|
-
config
|
|
72
|
-
),
|
|
73
|
-
withTiming(values.targetWidth, config)
|
|
74
|
-
)
|
|
75
|
-
),
|
|
76
|
-
height: delayFunction(
|
|
77
|
-
delay,
|
|
78
|
-
withSequence(
|
|
79
|
-
withTiming(
|
|
80
|
-
reverse ? values.targetHeight : values.currentHeight,
|
|
81
|
-
config
|
|
82
|
-
),
|
|
83
|
-
withTiming(values.targetHeight, config)
|
|
84
|
-
)
|
|
85
|
-
),
|
|
86
|
-
},
|
|
87
|
-
callback: callback,
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/* eslint-disable node/no-callback-literal */
|
|
2
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3
|
-
// @ts-nocheck
|
|
4
|
-
const NOOP = () => {
|
|
5
|
-
// noop
|
|
6
|
-
};
|
|
7
|
-
const ID = (t) => t;
|
|
8
|
-
const IMMEDIATE_CB_INVOCATION = (cb: () => unknown) => cb();
|
|
9
|
-
|
|
10
|
-
const ReanimatedV2 = {
|
|
11
|
-
useSharedValue: (v) => ({ value: v }),
|
|
12
|
-
useDerivedValue: (a) => ({ value: a() }),
|
|
13
|
-
useAnimatedScrollHandler: () => NOOP,
|
|
14
|
-
useAnimatedGestureHandler: () => NOOP,
|
|
15
|
-
useAnimatedStyle: IMMEDIATE_CB_INVOCATION,
|
|
16
|
-
useAnimatedRef: () => ({ current: null }),
|
|
17
|
-
useAnimatedReaction: NOOP,
|
|
18
|
-
useAnimatedProps: IMMEDIATE_CB_INVOCATION,
|
|
19
|
-
|
|
20
|
-
withTiming: (toValue, _, cb) => {
|
|
21
|
-
cb && cb(true);
|
|
22
|
-
return toValue;
|
|
23
|
-
},
|
|
24
|
-
withSpring: (toValue, _, cb) => {
|
|
25
|
-
cb && cb(true);
|
|
26
|
-
return toValue;
|
|
27
|
-
},
|
|
28
|
-
withDecay: (_, cb) => {
|
|
29
|
-
cb && cb(true);
|
|
30
|
-
return 0;
|
|
31
|
-
},
|
|
32
|
-
withDelay: (_, animationValue) => {
|
|
33
|
-
return animationValue;
|
|
34
|
-
},
|
|
35
|
-
withSequence: (..._animations) => {
|
|
36
|
-
return 0;
|
|
37
|
-
},
|
|
38
|
-
withRepeat: (animation) => {
|
|
39
|
-
return animation;
|
|
40
|
-
},
|
|
41
|
-
cancelAnimation: NOOP,
|
|
42
|
-
measure: () => ({
|
|
43
|
-
x: 0,
|
|
44
|
-
y: 0,
|
|
45
|
-
width: 0,
|
|
46
|
-
height: 0,
|
|
47
|
-
pageX: 0,
|
|
48
|
-
pageY: 0,
|
|
49
|
-
}),
|
|
50
|
-
Easing: {
|
|
51
|
-
linear: ID,
|
|
52
|
-
ease: ID,
|
|
53
|
-
quad: ID,
|
|
54
|
-
cubic: ID,
|
|
55
|
-
poly: ID,
|
|
56
|
-
sin: ID,
|
|
57
|
-
circle: ID,
|
|
58
|
-
exp: ID,
|
|
59
|
-
elastic: ID,
|
|
60
|
-
back: ID,
|
|
61
|
-
bounce: ID,
|
|
62
|
-
bezier: () => ({ factory: ID }),
|
|
63
|
-
bezierFn: ID,
|
|
64
|
-
in: ID,
|
|
65
|
-
out: ID,
|
|
66
|
-
inOut: ID,
|
|
67
|
-
},
|
|
68
|
-
Extrapolation: {
|
|
69
|
-
EXTEND: 'extend',
|
|
70
|
-
CLAMP: 'clamp',
|
|
71
|
-
IDENTITY: 'identity',
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
runOnJS: (fn) => fn,
|
|
75
|
-
runOnUI: (fn) => fn,
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
module.exports = {
|
|
79
|
-
...ReanimatedV2,
|
|
80
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// import { version as jsVersion } from '../../../package.json';
|
|
2
|
-
const jsVersion = "2.14.4"
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Checks that native and js versions of reanimated match.
|
|
6
|
-
*/
|
|
7
|
-
export function checkVersion(): void {
|
|
8
|
-
const cppVersion = global._REANIMATED_VERSION_CPP;
|
|
9
|
-
if (cppVersion === undefined) {
|
|
10
|
-
console.error(
|
|
11
|
-
`[Reanimated] Couldn't determine the version of the native part of Reanimated. Did you forget to re-build the app after upgrading react-native-reanimated? If you use Expo Go, you must use the exact version which is bundled into Expo SDK.`
|
|
12
|
-
);
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
const ok = (() => {
|
|
16
|
-
if (
|
|
17
|
-
jsVersion.match(/^\d+\.\d+\.\d+$/) &&
|
|
18
|
-
cppVersion.match(/^\d+\.\d+\.\d+$/)
|
|
19
|
-
) {
|
|
20
|
-
// x.y.z, compare only major and minor, skip patch
|
|
21
|
-
const [jsMajor, jsMinor] = jsVersion.split('.');
|
|
22
|
-
const [cppMajor, cppMinor] = cppVersion.split('.');
|
|
23
|
-
return jsMajor === cppMajor && jsMinor === cppMinor;
|
|
24
|
-
} else {
|
|
25
|
-
// alpha, beta or rc, compare everything
|
|
26
|
-
return jsVersion === cppVersion;
|
|
27
|
-
}
|
|
28
|
-
})();
|
|
29
|
-
if (!ok) {
|
|
30
|
-
console.error(
|
|
31
|
-
`[Reanimated] Mismatch between JavaScript part and native part of Reanimated (${jsVersion} vs. ${cppVersion}). Did you forget to re-build the app after upgrading react-native-reanimated? If you use Expo Go, you must downgrade to ${cppVersion} which is bundled into Expo SDK.`
|
|
32
|
-
);
|
|
33
|
-
// TODO: detect Expo managed workflow
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { measure } from './NativeMethods';
|
|
3
|
-
import { RefObjectFunction } from './hook/commonTypes';
|
|
4
|
-
|
|
5
|
-
export interface ComponentCoords {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Given an absolute position and a component ref, returns the relative
|
|
12
|
-
* position in the component's local coordinate space.
|
|
13
|
-
*/
|
|
14
|
-
export function getRelativeCoords(
|
|
15
|
-
parentRef: RefObjectFunction<Component>,
|
|
16
|
-
absoluteX: number,
|
|
17
|
-
absoluteY: number
|
|
18
|
-
): ComponentCoords | null {
|
|
19
|
-
'worklet';
|
|
20
|
-
const parentCoords = measure(parentRef);
|
|
21
|
-
if (parentCoords === null) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
return {
|
|
25
|
-
x: absoluteX - parentCoords.x,
|
|
26
|
-
y: absoluteY - parentCoords.y,
|
|
27
|
-
};
|
|
28
|
-
}
|