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,79 +0,0 @@
|
|
|
1
|
-
#import "DevMenuREAClockNodes.h"
|
|
2
|
-
#import "DevMenuREANodesManager.h"
|
|
3
|
-
#import "DevMenuREAParamNode.h"
|
|
4
|
-
#import "DevMenuREAValueNode.h"
|
|
5
|
-
|
|
6
|
-
@implementation DevMenuREAParamNode {
|
|
7
|
-
NSMutableArray<DevMenuREANodeID> *_argstack;
|
|
8
|
-
NSString *_prevCallID;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
- (instancetype)initWithID:(DevMenuREANodeID)nodeID config:(NSDictionary<NSString *, id> *)config
|
|
12
|
-
{
|
|
13
|
-
if ((self = [super initWithID:nodeID config:config])) {
|
|
14
|
-
_argstack = [NSMutableArray<DevMenuREANodeID> arrayWithCapacity:0];
|
|
15
|
-
}
|
|
16
|
-
return self;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
- (void)setValue:(NSNumber *)value
|
|
20
|
-
{
|
|
21
|
-
DevMenuREANode *node = [self.nodesManager findNodeByID:[_argstack lastObject]];
|
|
22
|
-
NSString *callID = self.updateContext.callID;
|
|
23
|
-
self.updateContext.callID = _prevCallID;
|
|
24
|
-
[(DevMenuREAValueNode *)node setValue:value];
|
|
25
|
-
self.updateContext.callID = callID;
|
|
26
|
-
[self forceUpdateMemoizedValue:value];
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
- (void)beginContext:(NSNumber *)ref prevCallID:(NSString *)prevCallID
|
|
30
|
-
{
|
|
31
|
-
_prevCallID = prevCallID;
|
|
32
|
-
[_argstack addObject:ref];
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
- (void)endContext
|
|
36
|
-
{
|
|
37
|
-
[_argstack removeLastObject];
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
- (id)evaluate
|
|
41
|
-
{
|
|
42
|
-
NSString *callID = self.updateContext.callID;
|
|
43
|
-
self.updateContext.callID = _prevCallID;
|
|
44
|
-
DevMenuREANode *node = [self.nodesManager findNodeByID:[_argstack lastObject]];
|
|
45
|
-
id val = [node value];
|
|
46
|
-
self.updateContext.callID = callID;
|
|
47
|
-
return val;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
- (void)start
|
|
51
|
-
{
|
|
52
|
-
DevMenuREANode *node = [self.nodesManager findNodeByID:[_argstack lastObject]];
|
|
53
|
-
if ([node isKindOfClass:[DevMenuREAParamNode class]]) {
|
|
54
|
-
[(DevMenuREAParamNode *)node start];
|
|
55
|
-
} else {
|
|
56
|
-
[(DevMenuREAClockNode *)node start];
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
- (void)stop
|
|
61
|
-
{
|
|
62
|
-
DevMenuREANode *node = [self.nodesManager findNodeByID:[_argstack lastObject]];
|
|
63
|
-
if ([node isKindOfClass:[DevMenuREAParamNode class]]) {
|
|
64
|
-
[(DevMenuREAParamNode *)node stop];
|
|
65
|
-
} else {
|
|
66
|
-
[(DevMenuREAClockNode *)node stop];
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
- (BOOL)isRunning
|
|
71
|
-
{
|
|
72
|
-
DevMenuREANode *node = [self.nodesManager findNodeByID:[_argstack lastObject]];
|
|
73
|
-
if ([node isKindOfClass:[DevMenuREAParamNode class]]) {
|
|
74
|
-
return [(DevMenuREAParamNode *)node isRunning];
|
|
75
|
-
}
|
|
76
|
-
return [(DevMenuREAClockNode *)node isRunning];
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@end
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
#import "DevMenuREAModule.h"
|
|
2
|
-
#import "DevMenuREANodesManager.h"
|
|
3
|
-
#import "DevMenuREAPropsNode.h"
|
|
4
|
-
#import "DevMenuREAStyleNode.h"
|
|
5
|
-
#import <React/RCTComponentData.h>
|
|
6
|
-
#import <React/RCTLog.h>
|
|
7
|
-
#import <React/RCTUIManager.h>
|
|
8
|
-
|
|
9
|
-
@implementation DevMenuREAPropsNode {
|
|
10
|
-
NSNumber *_connectedViewTag;
|
|
11
|
-
NSString *_connectedViewName;
|
|
12
|
-
NSMutableDictionary<NSString *, DevMenuREANodeID> *_propsConfig;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
- (instancetype)initWithID:(DevMenuREANodeID)nodeID config:(NSDictionary<NSString *, id> *)config
|
|
16
|
-
{
|
|
17
|
-
if (self = [super initWithID:nodeID config:config]) {
|
|
18
|
-
_propsConfig = config[@"props"];
|
|
19
|
-
}
|
|
20
|
-
return self;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
- (void)connectToView:(NSNumber *)viewTag viewName:(NSString *)viewName
|
|
24
|
-
{
|
|
25
|
-
_connectedViewTag = viewTag;
|
|
26
|
-
_connectedViewName = viewName;
|
|
27
|
-
[self dangerouslyRescheduleEvaluate];
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
- (void)disconnectFromView:(NSNumber *)viewTag
|
|
31
|
-
{
|
|
32
|
-
_connectedViewTag = nil;
|
|
33
|
-
_connectedViewName = nil;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
- (id)evaluate
|
|
37
|
-
{
|
|
38
|
-
NSMutableDictionary *uiProps = [NSMutableDictionary new];
|
|
39
|
-
NSMutableDictionary *nativeProps = [NSMutableDictionary new];
|
|
40
|
-
NSMutableDictionary *jsProps = [NSMutableDictionary new];
|
|
41
|
-
|
|
42
|
-
void (^addBlock)(NSString *key, id obj, BOOL *stop) = ^(NSString *key, id obj, BOOL *stop) {
|
|
43
|
-
if ([self.nodesManager.uiProps containsObject:key]) {
|
|
44
|
-
uiProps[key] = obj;
|
|
45
|
-
} else if ([self.nodesManager.nativeProps containsObject:key]) {
|
|
46
|
-
nativeProps[key] = obj;
|
|
47
|
-
} else {
|
|
48
|
-
jsProps[key] = obj;
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
for (NSString *prop in _propsConfig) {
|
|
53
|
-
DevMenuREANode *propNode = [self.nodesManager findNodeByID:_propsConfig[prop]];
|
|
54
|
-
|
|
55
|
-
if ([propNode isKindOfClass:[DevMenuREAStyleNode class]]) {
|
|
56
|
-
[[propNode value] enumerateKeysAndObjectsUsingBlock:addBlock];
|
|
57
|
-
} else {
|
|
58
|
-
addBlock(prop, [propNode value], nil);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
if (_connectedViewTag != nil) {
|
|
63
|
-
if (uiProps.count > 0) {
|
|
64
|
-
[self.nodesManager.uiManager synchronouslyUpdateViewOnUIThread:_connectedViewTag
|
|
65
|
-
viewName:_connectedViewName
|
|
66
|
-
props:uiProps];
|
|
67
|
-
}
|
|
68
|
-
if (nativeProps.count > 0) {
|
|
69
|
-
[self.nodesManager enqueueUpdateViewOnNativeThread:_connectedViewTag
|
|
70
|
-
viewName:_connectedViewName
|
|
71
|
-
nativeProps:nativeProps
|
|
72
|
-
trySynchronously:NO];
|
|
73
|
-
}
|
|
74
|
-
if (jsProps.count > 0) {
|
|
75
|
-
[self.nodesManager.reanimatedModule sendEventWithName:@"onReanimatedPropsChange"
|
|
76
|
-
body:@{@"viewTag" : _connectedViewTag, @"props" : jsProps}];
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
return @(0);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
- (void)update
|
|
84
|
-
{
|
|
85
|
-
// Since we are updating nodes after detaching them from views there is a time where it's
|
|
86
|
-
// possible that the view was disconnected and still receive an update, this is normal and we can
|
|
87
|
-
// simply skip that update.
|
|
88
|
-
if (!_connectedViewTag) {
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// triger for side effect
|
|
93
|
-
[self value];
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@end
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
#import "DevMenuREANodesManager.h"
|
|
2
|
-
#import "DevMenuREASetNode.h"
|
|
3
|
-
#import "DevMenuREAUtils.h"
|
|
4
|
-
#import "DevMenuREAValueNode.h"
|
|
5
|
-
#import <React/RCTConvert.h>
|
|
6
|
-
#import <React/RCTLog.h>
|
|
7
|
-
|
|
8
|
-
@implementation DevMenuREASetNode {
|
|
9
|
-
NSNumber *_whatNodeID;
|
|
10
|
-
NSNumber *_valueNodeID;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
- (instancetype)initWithID:(DevMenuREANodeID)nodeID config:(NSDictionary<NSString *, id> *)config
|
|
14
|
-
{
|
|
15
|
-
if ((self = [super initWithID:nodeID config:config])) {
|
|
16
|
-
_whatNodeID = [RCTConvert NSNumber:config[@"what"]];
|
|
17
|
-
DevMenuREA_LOG_ERROR_IF_NIL(
|
|
18
|
-
_whatNodeID, @"DevMenuReanimated: First argument passed to set node is either of wrong type or is missing.");
|
|
19
|
-
_valueNodeID = [RCTConvert NSNumber:config[@"value"]];
|
|
20
|
-
DevMenuREA_LOG_ERROR_IF_NIL(
|
|
21
|
-
_valueNodeID, @"DevMenuReanimated: Second argument passed to set node is either of wrong type or is missing.");
|
|
22
|
-
}
|
|
23
|
-
return self;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
- (id)evaluate
|
|
27
|
-
{
|
|
28
|
-
NSNumber *newValue = [[self.nodesManager findNodeByID:_valueNodeID] value];
|
|
29
|
-
DevMenuREAValueNode *what = (DevMenuREAValueNode *)[self.nodesManager findNodeByID:_whatNodeID];
|
|
30
|
-
[what setValue:newValue];
|
|
31
|
-
return newValue;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@end
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
#import "DevMenuREANodesManager.h"
|
|
2
|
-
#import "DevMenuREAStyleNode.h"
|
|
3
|
-
|
|
4
|
-
@implementation DevMenuREAStyleNode {
|
|
5
|
-
NSMutableDictionary<NSString *, DevMenuREANodeID> *_styleConfig;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
- (instancetype)initWithID:(DevMenuREANodeID)nodeID config:(NSDictionary<NSString *, id> *)config;
|
|
9
|
-
{
|
|
10
|
-
if ((self = [super initWithID:nodeID config:config])) {
|
|
11
|
-
_styleConfig = config[@"style"];
|
|
12
|
-
}
|
|
13
|
-
return self;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
- (id)evaluate
|
|
17
|
-
{
|
|
18
|
-
NSMutableDictionary *styles = [NSMutableDictionary new];
|
|
19
|
-
for (NSString *prop in _styleConfig) {
|
|
20
|
-
DevMenuREANode *propNode = [self.nodesManager findNodeByID:_styleConfig[prop]];
|
|
21
|
-
styles[prop] = [propNode value];
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
return styles;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
#import "DevMenuREANodesManager.h"
|
|
2
|
-
#import "DevMenuREATransformNode.h"
|
|
3
|
-
#import <React/RCTConvert.h>
|
|
4
|
-
|
|
5
|
-
@implementation DevMenuREATransformNode {
|
|
6
|
-
NSArray<id> *_transformConfigs;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
- (instancetype)initWithID:(DevMenuREANodeID)nodeID config:(NSDictionary<NSString *, id> *)config
|
|
10
|
-
{
|
|
11
|
-
if ((self = [super initWithID:nodeID config:config])) {
|
|
12
|
-
_transformConfigs = config[@"transform"];
|
|
13
|
-
}
|
|
14
|
-
return self;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
- (id)evaluate
|
|
18
|
-
{
|
|
19
|
-
NSMutableArray<NSDictionary *> *transform = [NSMutableArray arrayWithCapacity:_transformConfigs.count];
|
|
20
|
-
for (NSDictionary *transformConfig in _transformConfigs) {
|
|
21
|
-
NSString *property = transformConfig[@"property"];
|
|
22
|
-
DevMenuREANodeID nodeID = [RCTConvert NSNumber:transformConfig[@"nodeID"]];
|
|
23
|
-
NSNumber *value;
|
|
24
|
-
if (nodeID) {
|
|
25
|
-
DevMenuREANode *node = [self.nodesManager findNodeByID:nodeID];
|
|
26
|
-
value = [node value];
|
|
27
|
-
} else {
|
|
28
|
-
value = transformConfig[@"value"];
|
|
29
|
-
}
|
|
30
|
-
[transform addObject:@{property : value}];
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
return transform;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@end
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
#import "DevMenuREAValueNode.h"
|
|
2
|
-
|
|
3
|
-
@implementation DevMenuREAValueNode {
|
|
4
|
-
NSNumber *_value;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
- (instancetype)initWithID:(DevMenuREANodeID)nodeID config:(NSDictionary<NSString *, id> *)config
|
|
8
|
-
{
|
|
9
|
-
if (self = [super initWithID:nodeID config:config]) {
|
|
10
|
-
_value = config[@"value"];
|
|
11
|
-
}
|
|
12
|
-
return self;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
- (void)setValue:(NSNumber *)value
|
|
16
|
-
{
|
|
17
|
-
_value = value;
|
|
18
|
-
[self forceUpdateMemoizedValue:value];
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
- (id)evaluate
|
|
22
|
-
{
|
|
23
|
-
return _value;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@end
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
#import "DevMenuREATransition.h"
|
|
2
|
-
|
|
3
|
-
@interface DevMenuREATransitionGroup : DevMenuREATransition
|
|
4
|
-
@property (nonatomic) BOOL sequence;
|
|
5
|
-
@property (nonatomic) NSArray *transitions;
|
|
6
|
-
- (instancetype)initWithConfig:(NSDictionary *)config;
|
|
7
|
-
@end
|
|
8
|
-
|
|
9
|
-
@interface DevMenuREAVisibilityTransition : DevMenuREATransition
|
|
10
|
-
@property (nonatomic) DevMenuREATransitionAnimationType animationType;
|
|
11
|
-
- (DevMenuREATransitionAnimation *)appearView:(UIView *)view inParent:(UIView *)parent;
|
|
12
|
-
- (DevMenuREATransitionAnimation *)disappearView:(UIView *)view fromParent:(UIView *)parent;
|
|
13
|
-
- (instancetype)initWithConfig:(NSDictionary *)config;
|
|
14
|
-
@end
|
|
15
|
-
|
|
16
|
-
@interface DevMenuREAInTransition : DevMenuREAVisibilityTransition
|
|
17
|
-
- (instancetype)initWithConfig:(NSDictionary *)config;
|
|
18
|
-
@end
|
|
19
|
-
|
|
20
|
-
@interface DevMenuREAOutTransition : DevMenuREAVisibilityTransition
|
|
21
|
-
- (instancetype)initWithConfig:(NSDictionary *)config;
|
|
22
|
-
@end
|
|
23
|
-
|
|
24
|
-
@interface DevMenuREAChangeTransition : DevMenuREATransition
|
|
25
|
-
- (instancetype)initWithConfig:(NSDictionary *)config;
|
|
26
|
-
@end
|
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
#import "RCTConvert+DevMenuREATransition.h"
|
|
2
|
-
#import "DevMenuREAAllTransitions.h"
|
|
3
|
-
#import <React/RCTViewManager.h>
|
|
4
|
-
|
|
5
|
-
@interface DevMenuREASnapshotRemover : NSObject <CAAnimationDelegate>
|
|
6
|
-
@end
|
|
7
|
-
|
|
8
|
-
@implementation DevMenuREASnapshotRemover {
|
|
9
|
-
UIView *_view;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
- (instancetype)initWithView:(UIView *)view;
|
|
13
|
-
{
|
|
14
|
-
self = [super init];
|
|
15
|
-
if (self) {
|
|
16
|
-
_view = view;
|
|
17
|
-
}
|
|
18
|
-
return self;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
- (void)animationDidStop:(CAAnimation *)anim finished:(BOOL)flag
|
|
22
|
-
{
|
|
23
|
-
[_view removeFromSuperview];
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@end
|
|
27
|
-
|
|
28
|
-
@implementation DevMenuREATransitionGroup
|
|
29
|
-
|
|
30
|
-
- (instancetype)initWithConfig:(NSDictionary *)config
|
|
31
|
-
{
|
|
32
|
-
if (self = [super initWithConfig:config]) {
|
|
33
|
-
_sequence = [RCTConvert BOOL:config[@"sequence"]];
|
|
34
|
-
NSArray *transitions = [RCTConvert NSArray:config[@"transitions"]];
|
|
35
|
-
NSMutableArray<DevMenuREATransition *> *inflated = [NSMutableArray new];
|
|
36
|
-
for (NSDictionary *transitionConfig in transitions) {
|
|
37
|
-
[inflated addObject:[DevMenuREATransition inflate:transitionConfig]];
|
|
38
|
-
inflated.lastObject.parent = self;
|
|
39
|
-
}
|
|
40
|
-
_transitions = inflated;
|
|
41
|
-
}
|
|
42
|
-
return self;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
- (instancetype)init
|
|
46
|
-
{
|
|
47
|
-
if (self = [super init]) {
|
|
48
|
-
_transitions = [NSMutableArray new];
|
|
49
|
-
}
|
|
50
|
-
return self;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
- (NSArray<DevMenuREATransitionAnimation *> *)
|
|
54
|
-
animationsForTransitioning:(NSMutableDictionary<NSNumber *, DevMenuREATransitionValues *> *)startValues
|
|
55
|
-
endValues:(NSMutableDictionary<NSNumber *, DevMenuREATransitionValues *> *)endValues
|
|
56
|
-
forRoot:(UIView *)root
|
|
57
|
-
{
|
|
58
|
-
CFTimeInterval delay = self.delay;
|
|
59
|
-
NSMutableArray *animations = [NSMutableArray new];
|
|
60
|
-
for (DevMenuREATransition *transition in _transitions) {
|
|
61
|
-
NSArray *subanims = [transition animationsForTransitioning:startValues endValues:endValues forRoot:root];
|
|
62
|
-
CFTimeInterval finishTime = CACurrentMediaTime();
|
|
63
|
-
for (DevMenuREATransitionAnimation *anim in subanims) {
|
|
64
|
-
[anim delayBy:delay];
|
|
65
|
-
finishTime = MAX(finishTime, anim.finishTime);
|
|
66
|
-
}
|
|
67
|
-
[animations addObjectsFromArray:subanims];
|
|
68
|
-
if (_sequence) {
|
|
69
|
-
delay = finishTime - CACurrentMediaTime();
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
return animations;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
@end
|
|
76
|
-
|
|
77
|
-
@implementation DevMenuREAVisibilityTransition
|
|
78
|
-
|
|
79
|
-
- (instancetype)initWithConfig:(NSDictionary *)config
|
|
80
|
-
{
|
|
81
|
-
if (self = [super initWithConfig:config]) {
|
|
82
|
-
_animationType = [RCTConvert DevMenuREATransitionAnimationType:config[@"animation"]];
|
|
83
|
-
}
|
|
84
|
-
return self;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
- (DevMenuREATransitionAnimation *)appearView:(UIView *)view inParent:(UIView *)parent forRoot:(UIView *)root
|
|
88
|
-
{
|
|
89
|
-
return nil;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
- (DevMenuREATransitionAnimation *)disappearView:(UIView *)view fromParent:(UIView *)parent forRoot:(UIView *)root
|
|
93
|
-
{
|
|
94
|
-
return nil;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
- (DevMenuREATransitionAnimation *)animationForTransitioning:(DevMenuREATransitionValues *)startValues
|
|
98
|
-
endValues:(DevMenuREATransitionValues *)endValues
|
|
99
|
-
forRoot:(UIView *)root
|
|
100
|
-
{
|
|
101
|
-
BOOL isViewAppearing = (startValues == nil);
|
|
102
|
-
if (isViewAppearing && !IS_LAYOUT_ONLY(endValues.view)) {
|
|
103
|
-
NSNumber *parentKey = endValues.reactParent.reactTag;
|
|
104
|
-
DevMenuREATransitionValues *parentStartValues = [self findStartValuesForKey:parentKey];
|
|
105
|
-
DevMenuREATransitionValues *parentEndValues = [self findEndValuesForKey:parentKey];
|
|
106
|
-
BOOL isParentAppearing = (parentStartValues == nil && parentEndValues != nil);
|
|
107
|
-
if (!isParentAppearing) {
|
|
108
|
-
return [self appearView:endValues.view inParent:endValues.parent forRoot:root];
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
if (endValues == nil && !IS_LAYOUT_ONLY(startValues.view) && startValues.reactParent.window != nil) {
|
|
113
|
-
startValues.view.center = startValues.centerInReactParent;
|
|
114
|
-
return [self disappearView:startValues.view fromParent:startValues.reactParent forRoot:root];
|
|
115
|
-
}
|
|
116
|
-
return nil;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@end
|
|
120
|
-
|
|
121
|
-
@implementation DevMenuREAInTransition
|
|
122
|
-
- (instancetype)initWithConfig:(NSDictionary *)config
|
|
123
|
-
{
|
|
124
|
-
if (self = [super initWithConfig:config]) {
|
|
125
|
-
}
|
|
126
|
-
return self;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
- (DevMenuREATransitionAnimation *)appearView:(UIView *)view inParent:(UIView *)parent forRoot:(UIView *)root
|
|
130
|
-
{
|
|
131
|
-
CABasicAnimation *animation;
|
|
132
|
-
switch (self.animationType) {
|
|
133
|
-
case DevMenuREATransitionAnimationTypeNone:
|
|
134
|
-
return nil;
|
|
135
|
-
case DevMenuREATransitionAnimationTypeFade: {
|
|
136
|
-
CGFloat finalOpacity = view.layer.opacity;
|
|
137
|
-
animation = [CABasicAnimation animationWithKeyPath:@"opacity"];
|
|
138
|
-
animation.fromValue = @(0.0f);
|
|
139
|
-
animation.toValue = @(finalOpacity);
|
|
140
|
-
break;
|
|
141
|
-
}
|
|
142
|
-
case DevMenuREATransitionAnimationTypeScale: {
|
|
143
|
-
CATransform3D finalTransform = view.layer.transform;
|
|
144
|
-
animation = [CABasicAnimation animationWithKeyPath:@"transform"];
|
|
145
|
-
animation.fromValue = [NSValue valueWithCATransform3D:CATransform3DMakeScale(0.0, 0.0, 0)];
|
|
146
|
-
animation.toValue = [NSValue valueWithCATransform3D:finalTransform];
|
|
147
|
-
break;
|
|
148
|
-
}
|
|
149
|
-
case DevMenuREATransitionAnimationTypeSlideTop:
|
|
150
|
-
case DevMenuREATransitionAnimationTypeSlideBottom:
|
|
151
|
-
case DevMenuREATransitionAnimationTypeSlideLeft:
|
|
152
|
-
case DevMenuREATransitionAnimationTypeSlideRight: {
|
|
153
|
-
CGPoint finalPosition = view.layer.position;
|
|
154
|
-
CGPoint startPosition = finalPosition;
|
|
155
|
-
switch (self.animationType) {
|
|
156
|
-
case DevMenuREATransitionAnimationTypeSlideTop:
|
|
157
|
-
startPosition.y -= root.frame.size.height;
|
|
158
|
-
break;
|
|
159
|
-
case DevMenuREATransitionAnimationTypeSlideBottom:
|
|
160
|
-
startPosition.y += root.frame.size.height;
|
|
161
|
-
break;
|
|
162
|
-
case DevMenuREATransitionAnimationTypeSlideLeft:
|
|
163
|
-
startPosition.x -= root.frame.size.width;
|
|
164
|
-
break;
|
|
165
|
-
case DevMenuREATransitionAnimationTypeSlideRight:
|
|
166
|
-
startPosition.x += root.frame.size.width;
|
|
167
|
-
break;
|
|
168
|
-
}
|
|
169
|
-
animation = [CABasicAnimation animationWithKeyPath:@"position"];
|
|
170
|
-
animation.fromValue = @(startPosition);
|
|
171
|
-
animation.toValue = @(finalPosition);
|
|
172
|
-
break;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
animation.fillMode = kCAFillModeBackwards;
|
|
176
|
-
|
|
177
|
-
return [DevMenuREATransitionAnimation transitionWithAnimation:animation layer:view.layer andKeyPath:animation.keyPath];
|
|
178
|
-
}
|
|
179
|
-
@end
|
|
180
|
-
|
|
181
|
-
@implementation DevMenuREAOutTransition
|
|
182
|
-
- (instancetype)initWithConfig:(NSDictionary *)config
|
|
183
|
-
{
|
|
184
|
-
if (self = [super initWithConfig:config]) {
|
|
185
|
-
}
|
|
186
|
-
return self;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
- (DevMenuREATransitionAnimation *)disappearView:(UIView *)view fromParent:(UIView *)parent forRoot:(UIView *)root
|
|
190
|
-
{
|
|
191
|
-
if (self.animationType == DevMenuREATransitionAnimationTypeNone) {
|
|
192
|
-
return nil;
|
|
193
|
-
}
|
|
194
|
-
// Add view back to parent temporarily in order to take snapshot
|
|
195
|
-
[parent addSubview:view];
|
|
196
|
-
UIView *snapshotView = [view snapshotViewAfterScreenUpdates:NO];
|
|
197
|
-
[view removeFromSuperview];
|
|
198
|
-
snapshotView.frame = view.frame;
|
|
199
|
-
[parent addSubview:snapshotView];
|
|
200
|
-
CALayer *snapshot = snapshotView.layer;
|
|
201
|
-
|
|
202
|
-
CABasicAnimation *animation;
|
|
203
|
-
switch (self.animationType) {
|
|
204
|
-
case DevMenuREATransitionAnimationTypeFade: {
|
|
205
|
-
CGFloat fromValue = snapshot.opacity;
|
|
206
|
-
snapshot.opacity = 0.0f;
|
|
207
|
-
animation = [CABasicAnimation animationWithKeyPath:@"opacity"];
|
|
208
|
-
animation.fromValue = @(fromValue);
|
|
209
|
-
animation.toValue = @(0.0f);
|
|
210
|
-
break;
|
|
211
|
-
}
|
|
212
|
-
case DevMenuREATransitionAnimationTypeScale: {
|
|
213
|
-
CATransform3D fromValue = snapshot.transform;
|
|
214
|
-
snapshot.transform = CATransform3DMakeScale(0.001, 0.001, 0.001);
|
|
215
|
-
animation = [CABasicAnimation animationWithKeyPath:@"transform"];
|
|
216
|
-
animation.fromValue = [NSValue valueWithCATransform3D:fromValue];
|
|
217
|
-
animation.toValue = [NSValue valueWithCATransform3D:CATransform3DMakeScale(0.001, 0.001, 0.001)];
|
|
218
|
-
break;
|
|
219
|
-
}
|
|
220
|
-
case DevMenuREATransitionAnimationTypeSlideTop:
|
|
221
|
-
case DevMenuREATransitionAnimationTypeSlideBottom:
|
|
222
|
-
case DevMenuREATransitionAnimationTypeSlideLeft:
|
|
223
|
-
case DevMenuREATransitionAnimationTypeSlideRight: {
|
|
224
|
-
CGPoint startPosition = snapshot.position;
|
|
225
|
-
CGPoint finalPosition = startPosition;
|
|
226
|
-
switch (self.animationType) {
|
|
227
|
-
case DevMenuREATransitionAnimationTypeSlideTop:
|
|
228
|
-
finalPosition.y -= root.frame.size.height;
|
|
229
|
-
break;
|
|
230
|
-
case DevMenuREATransitionAnimationTypeSlideBottom:
|
|
231
|
-
finalPosition.y += root.frame.size.height;
|
|
232
|
-
break;
|
|
233
|
-
case DevMenuREATransitionAnimationTypeSlideLeft:
|
|
234
|
-
finalPosition.x -= root.frame.size.width;
|
|
235
|
-
break;
|
|
236
|
-
case DevMenuREATransitionAnimationTypeSlideRight:
|
|
237
|
-
finalPosition.x += root.frame.size.width;
|
|
238
|
-
break;
|
|
239
|
-
}
|
|
240
|
-
snapshot.position = finalPosition;
|
|
241
|
-
animation = [CABasicAnimation animationWithKeyPath:@"position"];
|
|
242
|
-
animation.fromValue = @(startPosition);
|
|
243
|
-
animation.toValue = @(finalPosition);
|
|
244
|
-
break;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
animation.fillMode = kCAFillModeBackwards;
|
|
248
|
-
animation.delegate = [[DevMenuREASnapshotRemover alloc] initWithView:snapshotView];
|
|
249
|
-
|
|
250
|
-
return [DevMenuREATransitionAnimation transitionWithAnimation:animation layer:snapshot andKeyPath:animation.keyPath];
|
|
251
|
-
}
|
|
252
|
-
@end
|
|
253
|
-
|
|
254
|
-
@implementation DevMenuREAChangeTransition
|
|
255
|
-
|
|
256
|
-
- (DevMenuREATransitionAnimation *)animationForTransitioning:(DevMenuREATransitionValues *)startValues
|
|
257
|
-
endValues:(DevMenuREATransitionValues *)endValues
|
|
258
|
-
forRoot:(UIView *)root
|
|
259
|
-
{
|
|
260
|
-
if (startValues == nil || endValues == nil || endValues.view.window == nil) {
|
|
261
|
-
return nil;
|
|
262
|
-
}
|
|
263
|
-
BOOL animatePosition = !CGPointEqualToPoint(startValues.center, endValues.center);
|
|
264
|
-
BOOL animateBounds = !CGRectEqualToRect(startValues.bounds, endValues.bounds);
|
|
265
|
-
|
|
266
|
-
if (!animatePosition && !animateBounds) {
|
|
267
|
-
return nil;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
CALayer *layer = endValues.view.layer;
|
|
271
|
-
|
|
272
|
-
CAAnimationGroup *group = [CAAnimationGroup animation];
|
|
273
|
-
group.fillMode = kCAFillModeBackwards;
|
|
274
|
-
|
|
275
|
-
NSMutableArray *animations = [NSMutableArray new];
|
|
276
|
-
|
|
277
|
-
if (animatePosition) {
|
|
278
|
-
CGPoint fromValue = layer.presentationLayer.position;
|
|
279
|
-
CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"position"];
|
|
280
|
-
animation.fromValue = [NSValue valueWithCGPoint:fromValue];
|
|
281
|
-
animation.toValue = [NSValue valueWithCGPoint:endValues.center];
|
|
282
|
-
[animations addObject:animation];
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
if (animateBounds) {
|
|
286
|
-
CGRect fromValue = layer.presentationLayer.bounds;
|
|
287
|
-
CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"bounds"];
|
|
288
|
-
animation.fromValue = [NSValue valueWithCGRect:fromValue];
|
|
289
|
-
animation.toValue = [NSValue valueWithCGRect:endValues.bounds];
|
|
290
|
-
[animations addObject:animation];
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
group.animations = animations;
|
|
294
|
-
return [DevMenuREATransitionAnimation transitionWithAnimation:group layer:layer andKeyPath:nil];
|
|
295
|
-
}
|
|
296
|
-
@end
|