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.
Files changed (582) hide show
  1. package/CHANGELOG.md +30 -4
  2. package/README.md +2 -2
  3. package/android/build.gradle +4 -63
  4. package/android/src/debug/java/expo/modules/devmenu/DevMenuActivity.kt +39 -1
  5. package/android/src/debug/java/expo/modules/devmenu/DevMenuHost.kt +0 -7
  6. package/android/src/debug/java/expo/modules/devmenu/DevMenuManager.kt +9 -10
  7. package/android/src/main/java/expo/modules/devmenu/DevMenuPackage.kt +62 -5
  8. package/android/src/main/java/expo/modules/devmenu/modules/DevMenuInternalModule.kt +3 -0
  9. package/android/src/main/java/expo/modules/devmenu/modules/DevMenuModule.kt +23 -7
  10. package/android/src/main/java/expo/modules/devmenu/modules/internals/DevMenuInternalMenuControllerModule.kt +9 -4
  11. package/android/src/main/java/expo/modules/devmenu/websockets/DevMenuCommandHandlersProvider.kt +6 -0
  12. package/android/src/main/res/layout/bottom_sheet.xml +24 -0
  13. package/android/src/release/java/expo/modules/devmenu/DevMenuManager.kt +3 -1
  14. package/app/App.tsx +3 -3
  15. package/app/components/AppProviders.tsx +1 -4
  16. package/app/components/Main.tsx +197 -184
  17. package/app/components/Onboarding.tsx +7 -10
  18. package/app/hooks/useDevSettings.tsx +8 -9
  19. package/app/native-modules/DevMenu.ts +10 -2
  20. package/assets/EXDevMenuApp.android.js +455 -701
  21. package/assets/EXDevMenuApp.ios.js +455 -702
  22. package/build/DevMenu.d.ts +2 -0
  23. package/build/DevMenu.d.ts.map +1 -1
  24. package/build/DevMenu.js +7 -1
  25. package/build/DevMenu.js.map +1 -1
  26. package/build/ExpoDevMenu.types.d.ts +7 -1
  27. package/build/ExpoDevMenu.types.d.ts.map +1 -1
  28. package/build/ExpoDevMenu.types.js.map +1 -1
  29. package/build/ExpoDevMenu.web.d.ts.map +1 -1
  30. package/build/ExpoDevMenu.web.js +6 -0
  31. package/build/ExpoDevMenu.web.js.map +1 -1
  32. package/expo-dev-menu.podspec +21 -103
  33. package/expo-module.config.json +6 -0
  34. package/ios/DevMenuAppInstance.swift +8 -6
  35. package/ios/DevMenuManager.swift +36 -19
  36. package/ios/DevMenuPackagerConnectionHandler.swift +4 -0
  37. package/ios/DevMenuRCTBridge.h +4 -0
  38. package/ios/{DevMenuRCTBridge.m → DevMenuRCTBridge.mm} +45 -6
  39. package/ios/DevMenuViewController.swift +1 -1
  40. package/ios/DevMenuWindow.swift +97 -4
  41. package/ios/EXDevMenuAppInfo.m +12 -10
  42. package/ios/Headers/EXDevMenu-Bridging-Header.h +0 -1
  43. package/ios/Modules/DevMenuInternalModule.swift +59 -85
  44. package/ios/Modules/DevMenuModule.swift +34 -15
  45. package/ios/Modules/DevMenuPreferences.swift +15 -26
  46. package/ios/OverlayContainer/Internal/ConcreteOverlayContainerContextTargetNotchPolicy.swift +25 -0
  47. package/ios/OverlayContainer/Internal/ConcreteOverlayContainerContextTransitioning.swift +36 -0
  48. package/ios/OverlayContainer/Internal/ConcreteOverlayContainerDimissingPolicyContext.swift +41 -0
  49. package/ios/OverlayContainer/Internal/ConcreteOverlayTranslationParameters.swift +14 -0
  50. package/ios/OverlayContainer/Internal/DraggingOverlayContainerTransitionCoordinator.swift +76 -0
  51. package/ios/OverlayContainer/Internal/Extensions/CGFloat+Round.swift +16 -0
  52. package/ios/OverlayContainer/Internal/Extensions/CGGeometry+Utils.swift +26 -0
  53. package/ios/OverlayContainer/Internal/Extensions/OverlayContainerViewControllerDelegate+Defaults.swift +58 -0
  54. package/ios/OverlayContainer/Internal/Extensions/UIPanGesture+Utils.swift +28 -0
  55. package/ios/OverlayContainer/Internal/Extensions/UIScrollViiew+Utils.swift +40 -0
  56. package/ios/OverlayContainer/Internal/Extensions/UIView+Constraints.swift +28 -0
  57. package/ios/OverlayContainer/Internal/Extensions/UIView+Subviews.swift +14 -0
  58. package/ios/OverlayContainer/Internal/Extensions/UIViewController+Children.swift +40 -0
  59. package/ios/OverlayContainer/Internal/HeightContraintOverlayTranslationController.swift +296 -0
  60. package/ios/OverlayContainer/Internal/InterruptibleAnimatorOverlayContainerTransitionCoordinator.swift +75 -0
  61. package/ios/OverlayContainer/Internal/OverlayContainerConfiguration.swift +63 -0
  62. package/ios/OverlayContainer/Internal/OverlayContainerConfigurationImplementation.swift +130 -0
  63. package/ios/OverlayContainer/Internal/OverlayScrollViewDelegate.swift +16 -0
  64. package/ios/OverlayContainer/Internal/OverlayScrollViewDelegateProxy.swift +96 -0
  65. package/ios/OverlayContainer/Internal/OverlayTranslationController.swift +26 -0
  66. package/ios/OverlayContainer/Internal/OverlayTranslationDriver.swift +12 -0
  67. package/ios/OverlayContainer/Internal/OverlayTranslationGestureRecognizer.swift +40 -0
  68. package/ios/OverlayContainer/Internal/PanGestureOverlayTranslationDriver.swift +68 -0
  69. package/ios/OverlayContainer/Internal/ScrollViewOverlayTranslationDriver.swift +135 -0
  70. package/ios/OverlayContainer/Internal/Views/GroundView.swift +10 -0
  71. package/ios/OverlayContainer/Internal/Views/OverlayContainerView.swift +10 -0
  72. package/ios/OverlayContainer/Internal/Views/OverlayTranslationContainerView.swift +10 -0
  73. package/ios/OverlayContainer/Internal/Views/OverlayTranslationView.swift +10 -0
  74. package/ios/OverlayContainer/OverlayContainerPresentationController.swift +88 -0
  75. package/ios/OverlayContainer/OverlayContainerSheetDimmingView.swift +81 -0
  76. package/ios/OverlayContainer/OverlayContainerSheetDismissalPolicy.swift +91 -0
  77. package/ios/OverlayContainer/OverlayContainerSheetPresentationController.swift +156 -0
  78. package/ios/OverlayContainer/OverlayContainerSheetPresentationControllerDelegate.swift +26 -0
  79. package/ios/OverlayContainer/OverlayContainerTransitionCoordinator.swift +80 -0
  80. package/ios/OverlayContainer/OverlayContainerViewController.swift +412 -0
  81. package/ios/OverlayContainer/OverlayContainerViewControllerDelegate.swift +155 -0
  82. package/ios/OverlayContainer/OverlayTransitioningDelegate.swift +67 -0
  83. package/ios/OverlayContainer/OverlayTranslationFunction.swift +29 -0
  84. package/ios/OverlayContainer/PassThroughView.swift +24 -0
  85. package/ios/OverlayContainer/RubberBandOverlayTranslationFunction.swift +44 -0
  86. package/ios/OverlayContainer/RushingForwardTargetNotchPolicy.swift +52 -0
  87. package/ios/OverlayContainer/SpringOverlayTranslationAnimationController.swift +70 -0
  88. package/ios/Tests/DevMenuAppInstanceTest.swift +2 -4
  89. package/ios/Tests/DevMenuInternalModuleTest.swift +7 -6
  90. package/mocks/react-native-gesture-handler/src/index.tsx +39 -0
  91. package/package.json +6 -6
  92. package/scripts/start.sh +1 -1
  93. package/setupTests.ts +0 -11
  94. package/src/DevMenu.ts +10 -2
  95. package/src/ExpoDevMenu.types.ts +4 -1
  96. package/src/ExpoDevMenu.web.ts +6 -0
  97. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProvider.swift +52 -0
  98. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProviderManager.swift +54 -0
  99. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewEdges.swift +9 -0
  100. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewMode.swift +7 -0
  101. package/vendored/react-native-safe-area-context/ios/SafeAreaView/RCTView+DevMenuSafeAreaCompat.swift +47 -0
  102. package/vendored/react-native-safe-area-context/src/InitialWindow.native.ts +7 -8
  103. package/vendored/react-native-safe-area-context/src/NativeSafeAreaProvider.native.tsx +5 -4
  104. package/android/src/expo-44/java/expo/modules/devmenu/DevMenuPackageDelegate.kt +0 -13
  105. package/android/src/expo-45/java/expo/modules/devmenu/DevMenuPackageDelegate.kt +0 -65
  106. package/android/src/release/java/expo/modules/devmenu/DevMenuPackageDelegate.kt +0 -13
  107. package/app/components/BottomSheet.tsx +0 -705
  108. package/app/components/GestureHandlerTouchableWrapper.tsx +0 -15
  109. package/app/hooks/useBottomSheet.tsx +0 -95
  110. package/ios/DevMenuBaseAppInstance+Reanimated.mm +0 -52
  111. package/ios/DevMenuBaseAppInstance.h +0 -6
  112. package/ios/DevMenuVendoredModulesUtils.h +0 -13
  113. package/ios/DevMenuVendoredModulesUtils.m +0 -56
  114. package/ios/Modules/DevMenuInternalModule.m +0 -34
  115. package/ios/Modules/DevMenuModule.m +0 -15
  116. package/ios/Modules/DevMenuPreferences.m +0 -10
  117. package/ios/Tests/DevMenuVendoredModulesUtilsTests.swift +0 -17
  118. package/scripts/reanimated_utils.rb +0 -91
  119. package/vendored/react-native-gesture-handler/RNGestureHandler.podspec.json +0 -21
  120. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/common/GestureHandlerStateManager.kt +0 -5
  121. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/BaseGestureHandlerInteractionController.kt +0 -18
  122. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/Extensions.kt +0 -11
  123. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/FlingGestureHandler.kt +0 -96
  124. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureHandler.kt +0 -713
  125. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureHandlerInteractionController.kt +0 -8
  126. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureHandlerOrchestrator.kt +0 -562
  127. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureHandlerRegistry.kt +0 -8
  128. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureHandlerRegistryImpl.kt +0 -21
  129. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/GestureUtils.kt +0 -49
  130. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/LongPressGestureHandler.kt +0 -97
  131. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/ManualGestureHandler.kt +0 -11
  132. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/NativeViewGestureHandler.kt +0 -129
  133. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/OnTouchEventListener.kt +0 -9
  134. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/PanGestureHandler.kt +0 -289
  135. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/PinchGestureHandler.kt +0 -88
  136. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/PointerEventsConfig.kt +0 -23
  137. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/RotationGestureDetector.kt +0 -125
  138. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/RotationGestureHandler.kt +0 -79
  139. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/TapGestureHandler.kt +0 -167
  140. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/ViewConfigurationHelper.kt +0 -10
  141. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.kt +0 -349
  142. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerEnabledRootView.kt +0 -57
  143. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerEvent.kt +0 -59
  144. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerEventDataExtractor.kt +0 -8
  145. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerInteractionManager.kt +0 -61
  146. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt +0 -686
  147. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerPackage.kt +0 -17
  148. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerRegistry.kt +0 -95
  149. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt +0 -132
  150. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerRootInterface.kt +0 -5
  151. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerRootView.kt +0 -68
  152. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerRootViewManager.kt +0 -34
  153. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerStateChangeEvent.kt +0 -66
  154. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt +0 -69
  155. package/vendored/react-native-gesture-handler/android/devmenu/com/swmansion/gesturehandler/react/RNViewConfigurationHelper.kt +0 -51
  156. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandler.h +0 -87
  157. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandler.m +0 -454
  158. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerButton.h +0 -18
  159. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerButton.m +0 -70
  160. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerDirection.h +0 -8
  161. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerEvents.h +0 -65
  162. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerEvents.m +0 -255
  163. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerManager.h +0 -36
  164. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerManager.m +0 -221
  165. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerModule.h +0 -10
  166. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerModule.m +0 -235
  167. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerPointerTracker.h +0 -26
  168. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerPointerTracker.m +0 -237
  169. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerRegistry.h +0 -19
  170. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerRegistry.m +0 -60
  171. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerState.h +0 -10
  172. package/vendored/react-native-gesture-handler/ios/DevMenuRNGestureHandlerStateManager.h +0 -5
  173. package/vendored/react-native-gesture-handler/ios/DevMenuRNManualActivationRecognizer.h +0 -10
  174. package/vendored/react-native-gesture-handler/ios/DevMenuRNManualActivationRecognizer.m +0 -80
  175. package/vendored/react-native-gesture-handler/ios/DevMenuRNRootViewGestureRecognizer.h +0 -17
  176. package/vendored/react-native-gesture-handler/ios/DevMenuRNRootViewGestureRecognizer.m +0 -93
  177. package/vendored/react-native-gesture-handler/ios/DevMenuRNTouchEventType.h +0 -9
  178. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNFlingHandler.h +0 -4
  179. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNFlingHandler.m +0 -106
  180. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNForceTouchHandler.h +0 -4
  181. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNForceTouchHandler.m +0 -173
  182. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNLongPressHandler.h +0 -12
  183. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNLongPressHandler.m +0 -185
  184. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNManualHandler.h +0 -4
  185. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNManualHandler.m +0 -73
  186. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNNativeViewHandler.h +0 -15
  187. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNNativeViewHandler.m +0 -177
  188. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNPanHandler.h +0 -12
  189. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNPanHandler.m +0 -306
  190. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNPinchHandler.h +0 -12
  191. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNPinchHandler.m +0 -94
  192. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNRotationHandler.h +0 -12
  193. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNRotationHandler.m +0 -94
  194. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNTapHandler.h +0 -12
  195. package/vendored/react-native-gesture-handler/ios/Handlers/DevMenuRNTapHandler.m +0 -265
  196. package/vendored/react-native-gesture-handler/jestSetup.js +0 -7
  197. package/vendored/react-native-gesture-handler/src/Directions.ts +0 -9
  198. package/vendored/react-native-gesture-handler/src/EventType.ts +0 -10
  199. package/vendored/react-native-gesture-handler/src/GestureHandlerRootView.android.tsx +0 -18
  200. package/vendored/react-native-gesture-handler/src/GestureHandlerRootView.tsx +0 -12
  201. package/vendored/react-native-gesture-handler/src/PlatformConstants.ts +0 -8
  202. package/vendored/react-native-gesture-handler/src/PlatformConstants.web.ts +0 -5
  203. package/vendored/react-native-gesture-handler/src/RNGestureHandlerModule.ts +0 -35
  204. package/vendored/react-native-gesture-handler/src/RNGestureHandlerModule.web.ts +0 -61
  205. package/vendored/react-native-gesture-handler/src/State.ts +0 -13
  206. package/vendored/react-native-gesture-handler/src/components/DrawerLayout.tsx +0 -695
  207. package/vendored/react-native-gesture-handler/src/components/GestureButtons.tsx +0 -254
  208. package/vendored/react-native-gesture-handler/src/components/GestureComponents.tsx +0 -92
  209. package/vendored/react-native-gesture-handler/src/components/GestureComponents.web.tsx +0 -37
  210. package/vendored/react-native-gesture-handler/src/components/GestureHandlerButton.tsx +0 -7
  211. package/vendored/react-native-gesture-handler/src/components/GestureHandlerButton.web.tsx +0 -6
  212. package/vendored/react-native-gesture-handler/src/components/Swipeable.tsx +0 -510
  213. package/vendored/react-native-gesture-handler/src/components/touchables/GenericTouchable.tsx +0 -285
  214. package/vendored/react-native-gesture-handler/src/components/touchables/TouchableHighlight.tsx +0 -112
  215. package/vendored/react-native-gesture-handler/src/components/touchables/TouchableNativeFeedback.android.tsx +0 -89
  216. package/vendored/react-native-gesture-handler/src/components/touchables/TouchableNativeFeedback.tsx +0 -3
  217. package/vendored/react-native-gesture-handler/src/components/touchables/TouchableOpacity.tsx +0 -70
  218. package/vendored/react-native-gesture-handler/src/components/touchables/TouchableWithoutFeedback.tsx +0 -12
  219. package/vendored/react-native-gesture-handler/src/components/touchables/index.ts +0 -4
  220. package/vendored/react-native-gesture-handler/src/gestureHandlerRootHOC.tsx +0 -29
  221. package/vendored/react-native-gesture-handler/src/handlers/FlingGestureHandler.ts +0 -57
  222. package/vendored/react-native-gesture-handler/src/handlers/ForceTouchGestureHandler.ts +0 -83
  223. package/vendored/react-native-gesture-handler/src/handlers/LongPressGestureHandler.ts +0 -84
  224. package/vendored/react-native-gesture-handler/src/handlers/NativeViewGestureHandler.ts +0 -53
  225. package/vendored/react-native-gesture-handler/src/handlers/PanGestureHandler.ts +0 -321
  226. package/vendored/react-native-gesture-handler/src/handlers/PinchGestureHandler.ts +0 -46
  227. package/vendored/react-native-gesture-handler/src/handlers/RotationGestureHandler.ts +0 -46
  228. package/vendored/react-native-gesture-handler/src/handlers/TapGestureHandler.ts +0 -90
  229. package/vendored/react-native-gesture-handler/src/handlers/createHandler.ts +0 -430
  230. package/vendored/react-native-gesture-handler/src/handlers/createNativeWrapper.tsx +0 -74
  231. package/vendored/react-native-gesture-handler/src/handlers/gestureHandlerCommon.ts +0 -185
  232. package/vendored/react-native-gesture-handler/src/handlers/gestureHandlerTypesCompat.ts +0 -89
  233. package/vendored/react-native-gesture-handler/src/handlers/gestures/GestureDetector.tsx +0 -519
  234. package/vendored/react-native-gesture-handler/src/handlers/gestures/eventReceiver.ts +0 -151
  235. package/vendored/react-native-gesture-handler/src/handlers/gestures/flingGesture.ts +0 -27
  236. package/vendored/react-native-gesture-handler/src/handlers/gestures/forceTouchGesture.ts +0 -74
  237. package/vendored/react-native-gesture-handler/src/handlers/gestures/gesture.ts +0 -292
  238. package/vendored/react-native-gesture-handler/src/handlers/gestures/gestureComposition.ts +0 -109
  239. package/vendored/react-native-gesture-handler/src/handlers/gestures/gestureObjects.ts +0 -79
  240. package/vendored/react-native-gesture-handler/src/handlers/gestures/gestureStateManager.ts +0 -60
  241. package/vendored/react-native-gesture-handler/src/handlers/gestures/longPressGesture.ts +0 -27
  242. package/vendored/react-native-gesture-handler/src/handlers/gestures/manualGesture.ts +0 -31
  243. package/vendored/react-native-gesture-handler/src/handlers/gestures/nativeGesture.ts +0 -27
  244. package/vendored/react-native-gesture-handler/src/handlers/gestures/panGesture.ts +0 -147
  245. package/vendored/react-native-gesture-handler/src/handlers/gestures/pinchGesture.ts +0 -51
  246. package/vendored/react-native-gesture-handler/src/handlers/gestures/reanimatedWrapper.ts +0 -45
  247. package/vendored/react-native-gesture-handler/src/handlers/gestures/rotationGesture.ts +0 -51
  248. package/vendored/react-native-gesture-handler/src/handlers/gestures/tapGesture.ts +0 -52
  249. package/vendored/react-native-gesture-handler/src/handlers/handlersRegistry.ts +0 -22
  250. package/vendored/react-native-gesture-handler/src/index.ts +0 -156
  251. package/vendored/react-native-gesture-handler/src/init.ts +0 -5
  252. package/vendored/react-native-gesture-handler/src/mocks.ts +0 -65
  253. package/vendored/react-native-gesture-handler/src/typeUtils.ts +0 -1
  254. package/vendored/react-native-gesture-handler/src/utils.ts +0 -7
  255. package/vendored/react-native-gesture-handler/src/web/DiscreteGestureHandler.ts +0 -82
  256. package/vendored/react-native-gesture-handler/src/web/DraggingGestureHandler.ts +0 -34
  257. package/vendored/react-native-gesture-handler/src/web/Errors.ts +0 -7
  258. package/vendored/react-native-gesture-handler/src/web/FlingGestureHandler.ts +0 -134
  259. package/vendored/react-native-gesture-handler/src/web/GestureHandler.ts +0 -547
  260. package/vendored/react-native-gesture-handler/src/web/IndiscreteGestureHandler.ts +0 -33
  261. package/vendored/react-native-gesture-handler/src/web/LongPressGestureHandler.ts +0 -56
  262. package/vendored/react-native-gesture-handler/src/web/NativeViewGestureHandler.ts +0 -43
  263. package/vendored/react-native-gesture-handler/src/web/NodeManager.ts +0 -37
  264. package/vendored/react-native-gesture-handler/src/web/PanGestureHandler.ts +0 -220
  265. package/vendored/react-native-gesture-handler/src/web/PinchGestureHandler.ts +0 -25
  266. package/vendored/react-native-gesture-handler/src/web/PressGestureHandler.ts +0 -167
  267. package/vendored/react-native-gesture-handler/src/web/RotationGestureHandler.ts +0 -25
  268. package/vendored/react-native-gesture-handler/src/web/TapGestureHandler.ts +0 -172
  269. package/vendored/react-native-gesture-handler/src/web/constants.ts +0 -48
  270. package/vendored/react-native-gesture-handler/src/web/utils.ts +0 -24
  271. package/vendored/react-native-reanimated/Common/cpp/AnimatedSensor/AnimatedSensorModule.cpp +0 -75
  272. package/vendored/react-native-reanimated/Common/cpp/AnimatedSensor/DevMenuAnimatedSensorModule.h +0 -41
  273. package/vendored/react-native-reanimated/Common/cpp/LayoutAnimations/DevMenuLayoutAnimationsProxy.h +0 -32
  274. package/vendored/react-native-reanimated/Common/cpp/LayoutAnimations/LayoutAnimationsProxy.cpp +0 -45
  275. package/vendored/react-native-reanimated/Common/cpp/NativeModules/DevMenuNativeReanimatedModule.h +0 -121
  276. package/vendored/react-native-reanimated/Common/cpp/NativeModules/DevMenuNativeReanimatedModuleSpec.h +0 -90
  277. package/vendored/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp +0 -371
  278. package/vendored/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModuleSpec.cpp +0 -192
  279. package/vendored/react-native-reanimated/Common/cpp/Registries/DevMenuEventHandlerRegistry.h +0 -37
  280. package/vendored/react-native-reanimated/Common/cpp/Registries/DevMenuMapperRegistry.h +0 -29
  281. package/vendored/react-native-reanimated/Common/cpp/Registries/DevMenuWorkletsCache.h +0 -24
  282. package/vendored/react-native-reanimated/Common/cpp/Registries/EventHandlerRegistry.cpp +0 -68
  283. package/vendored/react-native-reanimated/Common/cpp/Registries/MapperRegistry.cpp +0 -147
  284. package/vendored/react-native-reanimated/Common/cpp/Registries/WorkletsCache.cpp +0 -41
  285. package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuFrozenObject.h +0 -36
  286. package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuHostFunctionHandler.h +0 -28
  287. package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuMutableValue.h +0 -54
  288. package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuMutableValueSetterProxy.h +0 -25
  289. package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuRemoteObject.h +0 -35
  290. package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuRuntimeManager.h +0 -75
  291. package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuShareableValue.h +0 -63
  292. package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuSharedParent.h +0 -27
  293. package/vendored/react-native-reanimated/Common/cpp/SharedItems/DevMenuValueWrapper.h +0 -158
  294. package/vendored/react-native-reanimated/Common/cpp/SharedItems/FrozenObject.cpp +0 -35
  295. package/vendored/react-native-reanimated/Common/cpp/SharedItems/MutableValue.cpp +0 -134
  296. package/vendored/react-native-reanimated/Common/cpp/SharedItems/MutableValueSetterProxy.cpp +0 -47
  297. package/vendored/react-native-reanimated/Common/cpp/SharedItems/RemoteObject.cpp +0 -45
  298. package/vendored/react-native-reanimated/Common/cpp/SharedItems/ShareableValue.cpp +0 -512
  299. package/vendored/react-native-reanimated/Common/cpp/SpecTools/DevMenuErrorHandler.h +0 -32
  300. package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuFeaturesConfig.h +0 -19
  301. package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuJSIStoreValueUser.h +0 -37
  302. package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuMapper.h +0 -51
  303. package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuPlatformDepMethodsHolder.h +0 -51
  304. package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuReanimatedHiddenHeaders.h +0 -11
  305. package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuReanimatedVersion.h +0 -11
  306. package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuRuntimeDecorator.h +0 -89
  307. package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuScheduler.h +0 -89
  308. package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuSingleInstanceChecker.h +0 -58
  309. package/vendored/react-native-reanimated/Common/cpp/Tools/DevMenuWorkletEventHandler.h +0 -30
  310. package/vendored/react-native-reanimated/Common/cpp/Tools/FeaturesConfig.cpp +0 -5
  311. package/vendored/react-native-reanimated/Common/cpp/Tools/JSIStoreValueUser.cpp +0 -55
  312. package/vendored/react-native-reanimated/Common/cpp/Tools/Mapper.cpp +0 -67
  313. package/vendored/react-native-reanimated/Common/cpp/Tools/ReanimatedVersion.cpp +0 -17
  314. package/vendored/react-native-reanimated/Common/cpp/Tools/RuntimeDecorator.cpp +0 -242
  315. package/vendored/react-native-reanimated/Common/cpp/Tools/Scheduler.cpp +0 -37
  316. package/vendored/react-native-reanimated/Common/cpp/Tools/WorkletEventHandler.cpp +0 -11
  317. package/vendored/react-native-reanimated/Common/cpp/hidden_headers/DevMenuLogger.h +0 -22
  318. package/vendored/react-native-reanimated/Common/cpp/hidden_headers/DevMenuLoggerInterface.h +0 -14
  319. package/vendored/react-native-reanimated/Common/cpp/hidden_headers/DevMenuSpeedChecker.h +0 -29
  320. package/vendored/react-native-reanimated/android/71-hermes/classes.jar +0 -0
  321. package/vendored/react-native-reanimated/android/71-hermes/jni/arm64-v8a/libdevmenureanimated.so +0 -0
  322. package/vendored/react-native-reanimated/android/71-hermes/jni/armeabi-v7a/libdevmenureanimated.so +0 -0
  323. package/vendored/react-native-reanimated/android/71-hermes/jni/x86/libdevmenureanimated.so +0 -0
  324. package/vendored/react-native-reanimated/android/71-hermes/jni/x86_64/libdevmenureanimated.so +0 -0
  325. package/vendored/react-native-reanimated/android/71-jsc/classes.jar +0 -0
  326. package/vendored/react-native-reanimated/android/71-jsc/jni/arm64-v8a/libdevmenureanimated.so +0 -0
  327. package/vendored/react-native-reanimated/android/71-jsc/jni/armeabi-v7a/libdevmenureanimated.so +0 -0
  328. package/vendored/react-native-reanimated/android/71-jsc/jni/x86/libdevmenureanimated.so +0 -0
  329. package/vendored/react-native-reanimated/android/71-jsc/jni/x86_64/libdevmenureanimated.so +0 -0
  330. package/vendored/react-native-reanimated/ios/DevMenuREAEventDispatcher.h +0 -10
  331. package/vendored/react-native-reanimated/ios/DevMenuREAEventDispatcher.m +0 -19
  332. package/vendored/react-native-reanimated/ios/DevMenuREAModule.h +0 -17
  333. package/vendored/react-native-reanimated/ios/DevMenuREAModule.mm +0 -221
  334. package/vendored/react-native-reanimated/ios/DevMenuREANodesManager.h +0 -83
  335. package/vendored/react-native-reanimated/ios/DevMenuREANodesManager.m +0 -649
  336. package/vendored/react-native-reanimated/ios/DevMenuREAUtils.h +0 -7
  337. package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREAAnimationsManager.h +0 -32
  338. package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREAAnimationsManager.m +0 -360
  339. package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREASnapshot.h +0 -13
  340. package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREASnapshot.m +0 -29
  341. package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREAUIManager.h +0 -16
  342. package/vendored/react-native-reanimated/ios/LayoutReanimation/DevMenuREAUIManager.mm +0 -388
  343. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAAlwaysNode.h +0 -4
  344. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAAlwaysNode.m +0 -35
  345. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREABezierNode.h +0 -5
  346. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREABezierNode.m +0 -103
  347. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREABlockNode.h +0 -5
  348. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREABlockNode.m +0 -25
  349. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREACallFuncNode.h +0 -6
  350. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREACallFuncNode.m +0 -71
  351. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAClockNodes.h +0 -19
  352. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAClockNodes.m +0 -118
  353. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAConcatNode.h +0 -5
  354. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAConcatNode.m +0 -32
  355. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREACondNode.h +0 -5
  356. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREACondNode.m +0 -36
  357. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREADebugNode.h +0 -5
  358. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREADebugNode.m +0 -30
  359. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAEventNode.h +0 -8
  360. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAEventNode.m +0 -35
  361. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAFunctionNode.h +0 -6
  362. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAFunctionNode.m +0 -24
  363. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAJSCallNode.h +0 -5
  364. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAJSCallNode.m +0 -30
  365. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREANode.h +0 -40
  366. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREANode.m +0 -155
  367. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAOperatorNode.h +0 -5
  368. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAOperatorNode.m +0 -114
  369. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAParamNode.h +0 -10
  370. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAParamNode.m +0 -79
  371. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAPropsNode.h +0 -9
  372. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAPropsNode.m +0 -96
  373. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREASetNode.h +0 -5
  374. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREASetNode.m +0 -34
  375. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAStyleNode.h +0 -5
  376. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAStyleNode.m +0 -27
  377. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREATransformNode.h +0 -5
  378. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREATransformNode.m +0 -36
  379. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAValueNode.h +0 -9
  380. package/vendored/react-native-reanimated/ios/Nodes/DevMenuREAValueNode.m +0 -26
  381. package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREAAllTransitions.h +0 -26
  382. package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREAAllTransitions.m +0 -296
  383. package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransition.h +0 -64
  384. package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransition.m +0 -210
  385. package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionAnimation.h +0 -17
  386. package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionAnimation.m +0 -79
  387. package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionManager.h +0 -9
  388. package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionManager.m +0 -60
  389. package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionValues.h +0 -15
  390. package/vendored/react-native-reanimated/ios/Transitioning/DevMenuREATransitionValues.m +0 -25
  391. package/vendored/react-native-reanimated/ios/Transitioning/RCTConvert+DevMenuREATransition.h +0 -11
  392. package/vendored/react-native-reanimated/ios/Transitioning/RCTConvert+DevMenuREATransition.m +0 -53
  393. package/vendored/react-native-reanimated/ios/keyboardObserver/DevMenuREAKeyboardEventObserver.h +0 -17
  394. package/vendored/react-native-reanimated/ios/keyboardObserver/DevMenuREAKeyboardEventObserver.m +0 -198
  395. package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSErrorHandler.h +0 -21
  396. package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSErrorHandler.mm +0 -40
  397. package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSLogger.h +0 -15
  398. package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSLogger.mm +0 -29
  399. package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSScheduler.h +0 -19
  400. package/vendored/react-native-reanimated/ios/native/DevMenuREAIOSScheduler.mm +0 -48
  401. package/vendored/react-native-reanimated/ios/native/DevMenuREAInitializer.h +0 -30
  402. package/vendored/react-native-reanimated/ios/native/DevMenuREAInitializer.mm +0 -79
  403. package/vendored/react-native-reanimated/ios/native/NativeMethods.h +0 -24
  404. package/vendored/react-native-reanimated/ios/native/NativeMethods.mm +0 -54
  405. package/vendored/react-native-reanimated/ios/native/NativeProxy.h +0 -15
  406. package/vendored/react-native-reanimated/ios/native/NativeProxy.mm +0 -370
  407. package/vendored/react-native-reanimated/ios/sensor/DevMenuReanimatedSensor.h +0 -26
  408. package/vendored/react-native-reanimated/ios/sensor/DevMenuReanimatedSensor.m +0 -226
  409. package/vendored/react-native-reanimated/ios/sensor/DevMenuReanimatedSensorContainer.h +0 -12
  410. package/vendored/react-native-reanimated/ios/sensor/DevMenuReanimatedSensorContainer.m +0 -40
  411. package/vendored/react-native-reanimated/ios/sensor/DevMenuReanimatedSensorType.h +0 -7
  412. package/vendored/react-native-reanimated/plugin.js +0 -789
  413. package/vendored/react-native-reanimated/react-native-reanimated.d.ts +0 -1248
  414. package/vendored/react-native-reanimated/src/Animated.ts +0 -13
  415. package/vendored/react-native-reanimated/src/ConfigHelper.ts +0 -170
  416. package/vendored/react-native-reanimated/src/ReanimatedEventEmitter.ts +0 -4
  417. package/vendored/react-native-reanimated/src/ReanimatedModule.macos.ts +0 -3
  418. package/vendored/react-native-reanimated/src/ReanimatedModule.native.ts +0 -13
  419. package/vendored/react-native-reanimated/src/ReanimatedModule.ts +0 -3
  420. package/vendored/react-native-reanimated/src/ReanimatedModule.windows.ts +0 -3
  421. package/vendored/react-native-reanimated/src/ReanimatedModuleCompat.ts +0 -51
  422. package/vendored/react-native-reanimated/src/createAnimatedComponent.tsx +0 -705
  423. package/vendored/react-native-reanimated/src/index.ts +0 -15
  424. package/vendored/react-native-reanimated/src/index.web.ts +0 -7
  425. package/vendored/react-native-reanimated/src/reanimated1/Easing.js +0 -231
  426. package/vendored/react-native-reanimated/src/reanimated1/SpringConfig.js +0 -79
  427. package/vendored/react-native-reanimated/src/reanimated1/Transitioning.js +0 -158
  428. package/vendored/react-native-reanimated/src/reanimated1/animations/Animation.js +0 -32
  429. package/vendored/react-native-reanimated/src/reanimated1/animations/SpringUtils.js +0 -199
  430. package/vendored/react-native-reanimated/src/reanimated1/animations/backwardCompatibleAnimWrapper.js +0 -117
  431. package/vendored/react-native-reanimated/src/reanimated1/animations/decay.js +0 -54
  432. package/vendored/react-native-reanimated/src/reanimated1/animations/spring.js +0 -198
  433. package/vendored/react-native-reanimated/src/reanimated1/animations/timing.js +0 -74
  434. package/vendored/react-native-reanimated/src/reanimated1/base.js +0 -13
  435. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedAlways.js +0 -33
  436. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedBezier.js +0 -150
  437. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedBlock.js +0 -52
  438. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedCall.js +0 -55
  439. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedCallFunc.js +0 -72
  440. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedClock.js +0 -90
  441. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedClockTest.js +0 -22
  442. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedCode.js +0 -32
  443. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedConcat.js +0 -32
  444. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedCond.js +0 -57
  445. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedDebug.js +0 -62
  446. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedEvent.js +0 -126
  447. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedFunction.js +0 -55
  448. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedNode.js +0 -223
  449. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedOperator.js +0 -103
  450. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedParam.js +0 -88
  451. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedProps.js +0 -108
  452. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedSet.js +0 -38
  453. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedStartClock.js +0 -30
  454. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedStopClock.js +0 -30
  455. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedStyle.js +0 -78
  456. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedTransform.js +0 -78
  457. package/vendored/react-native-reanimated/src/reanimated1/core/AnimatedValue.js +0 -38
  458. package/vendored/react-native-reanimated/src/reanimated1/core/Core.test.js +0 -30
  459. package/vendored/react-native-reanimated/src/reanimated1/core/InternalAnimatedValue.js +0 -87
  460. package/vendored/react-native-reanimated/src/reanimated1/core/createEventObjectProxyPolyfill.js +0 -44
  461. package/vendored/react-native-reanimated/src/reanimated1/derived/acc.js +0 -11
  462. package/vendored/react-native-reanimated/src/reanimated1/derived/color.js +0 -47
  463. package/vendored/react-native-reanimated/src/reanimated1/derived/diff.js +0 -16
  464. package/vendored/react-native-reanimated/src/reanimated1/derived/diffClamp.js +0 -11
  465. package/vendored/react-native-reanimated/src/reanimated1/derived/evaluateOnce.js +0 -35
  466. package/vendored/react-native-reanimated/src/reanimated1/derived/index.js +0 -8
  467. package/vendored/react-native-reanimated/src/reanimated1/derived/interpolate.js +0 -152
  468. package/vendored/react-native-reanimated/src/reanimated1/derived/interpolateColors.js +0 -62
  469. package/vendored/react-native-reanimated/src/reanimated1/derived/onChange.js +0 -14
  470. package/vendored/react-native-reanimated/src/reanimated1/derived/useCode.js +0 -41
  471. package/vendored/react-native-reanimated/src/reanimated1/index.js +0 -53
  472. package/vendored/react-native-reanimated/src/reanimated1/operators.js +0 -35
  473. package/vendored/react-native-reanimated/src/reanimated1/useValue.js +0 -10
  474. package/vendored/react-native-reanimated/src/reanimated1/val.js +0 -3
  475. package/vendored/react-native-reanimated/src/reanimated2/Bezier.ts +0 -172
  476. package/vendored/react-native-reanimated/src/reanimated2/Colors.ts +0 -679
  477. package/vendored/react-native-reanimated/src/reanimated2/Easing.ts +0 -339
  478. package/vendored/react-native-reanimated/src/reanimated2/NativeMethods.ts +0 -135
  479. package/vendored/react-native-reanimated/src/reanimated2/NativeReanimated/NativeReanimated.ts +0 -113
  480. package/vendored/react-native-reanimated/src/reanimated2/NativeReanimated/index.ts +0 -12
  481. package/vendored/react-native-reanimated/src/reanimated2/PlatformChecker.ts +0 -21
  482. package/vendored/react-native-reanimated/src/reanimated2/PropAdapters.ts +0 -68
  483. package/vendored/react-native-reanimated/src/reanimated2/UpdateProps.ts +0 -93
  484. package/vendored/react-native-reanimated/src/reanimated2/ViewDescriptorsSet.ts +0 -111
  485. package/vendored/react-native-reanimated/src/reanimated2/WorkletEventHandler.ts +0 -68
  486. package/vendored/react-native-reanimated/src/reanimated2/animation/commonTypes.ts +0 -52
  487. package/vendored/react-native-reanimated/src/reanimated2/animation/decay.ts +0 -141
  488. package/vendored/react-native-reanimated/src/reanimated2/animation/delay.ts +0 -89
  489. package/vendored/react-native-reanimated/src/reanimated2/animation/index.ts +0 -16
  490. package/vendored/react-native-reanimated/src/reanimated2/animation/repeat.ts +0 -118
  491. package/vendored/react-native-reanimated/src/reanimated2/animation/sequence.ts +0 -98
  492. package/vendored/react-native-reanimated/src/reanimated2/animation/spring.ts +0 -166
  493. package/vendored/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts +0 -258
  494. package/vendored/react-native-reanimated/src/reanimated2/animation/timing.ts +0 -111
  495. package/vendored/react-native-reanimated/src/reanimated2/animation/util.ts +0 -301
  496. package/vendored/react-native-reanimated/src/reanimated2/commonTypes.ts +0 -171
  497. package/vendored/react-native-reanimated/src/reanimated2/component/FlatList.tsx +0 -52
  498. package/vendored/react-native-reanimated/src/reanimated2/component/Image.ts +0 -6
  499. package/vendored/react-native-reanimated/src/reanimated2/component/ScrollView.ts +0 -6
  500. package/vendored/react-native-reanimated/src/reanimated2/component/Text.ts +0 -6
  501. package/vendored/react-native-reanimated/src/reanimated2/component/View.ts +0 -6
  502. package/vendored/react-native-reanimated/src/reanimated2/core.ts +0 -376
  503. package/vendored/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts +0 -40
  504. package/vendored/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts +0 -115
  505. package/vendored/react-native-reanimated/src/reanimated2/globals.d.ts +0 -91
  506. package/vendored/react-native-reanimated/src/reanimated2/hook/Hooks.ts +0 -16
  507. package/vendored/react-native-reanimated/src/reanimated2/hook/commonTypes.ts +0 -17
  508. package/vendored/react-native-reanimated/src/reanimated2/hook/index.ts +0 -30
  509. package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedGestureHandler.ts +0 -109
  510. package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedKeyboard.ts +0 -35
  511. package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedReaction.ts +0 -49
  512. package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedRef.ts +0 -30
  513. package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedScrollHandler.ts +0 -85
  514. package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedSensor.ts +0 -89
  515. package/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts +0 -557
  516. package/vendored/react-native-reanimated/src/reanimated2/hook/useDerivedValue.ts +0 -48
  517. package/vendored/react-native-reanimated/src/reanimated2/hook/useFrameCallback.ts +0 -40
  518. package/vendored/react-native-reanimated/src/reanimated2/hook/useScrollViewOffset.ts +0 -37
  519. package/vendored/react-native-reanimated/src/reanimated2/hook/useSharedValue.ts +0 -22
  520. package/vendored/react-native-reanimated/src/reanimated2/hook/utils.ts +0 -245
  521. package/vendored/react-native-reanimated/src/reanimated2/index.ts +0 -12
  522. package/vendored/react-native-reanimated/src/reanimated2/interpolateColor.ts +0 -262
  523. package/vendored/react-native-reanimated/src/reanimated2/interpolation.ts +0 -212
  524. package/vendored/react-native-reanimated/src/reanimated2/jestUtils.ts +0 -225
  525. package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/JSReanimated.ts +0 -144
  526. package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/Mapper.ts +0 -62
  527. package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/MapperRegistry.ts +0 -133
  528. package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/MutableValue.ts +0 -38
  529. package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/commonTypes.ts +0 -51
  530. package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/global.ts +0 -45
  531. package/vendored/react-native-reanimated/src/reanimated2/js-reanimated/index.ts +0 -57
  532. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts +0 -75
  533. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.ts +0 -91
  534. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/ComplexAnimationBuilder.ts +0 -182
  535. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts +0 -262
  536. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/commonTypes.ts +0 -101
  537. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/index.ts +0 -20
  538. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Bounce.ts +0 -528
  539. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts +0 -49
  540. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Fade.ts +0 -347
  541. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Flip.ts +0 -478
  542. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.ts +0 -194
  543. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.ts +0 -99
  544. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Roll.ts +0 -154
  545. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Rotate.ts +0 -384
  546. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Slide.ts +0 -298
  547. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Stretch.ts +0 -129
  548. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Zoom.ts +0 -580
  549. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/index.ts +0 -10
  550. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/CurvedTransition.ts +0 -117
  551. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/EntryExitTransition.ts +0 -224
  552. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/FadingTransition.ts +0 -61
  553. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/JumpingTransition.ts +0 -65
  554. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/LinearTransition.ts +0 -48
  555. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/SequencedTransition.ts +0 -91
  556. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/index.ts +0 -6
  557. package/vendored/react-native-reanimated/src/reanimated2/layoutReanimation/index.ts +0 -4
  558. package/vendored/react-native-reanimated/src/reanimated2/mock.ts +0 -80
  559. package/vendored/react-native-reanimated/src/reanimated2/platform-specific/RNRenderer.ts +0 -3
  560. package/vendored/react-native-reanimated/src/reanimated2/platform-specific/RNRenderer.web.ts +0 -2
  561. package/vendored/react-native-reanimated/src/reanimated2/platform-specific/checkVersion.ts +0 -35
  562. package/vendored/react-native-reanimated/src/reanimated2/platform-specific/checkVersion.web.ts +0 -6
  563. package/vendored/react-native-reanimated/src/reanimated2/utils.ts +0 -28
  564. package/vendored/react-native-reanimated/src/setAndForwardRef.ts +0 -63
  565. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProvider.h +0 -13
  566. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProvider.m +0 -65
  567. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProviderManager.h +0 -9
  568. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaProviderManager.m +0 -109
  569. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaShadowView.h +0 -9
  570. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaShadowView.m +0 -180
  571. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaView.h +0 -21
  572. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaView.m +0 -118
  573. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewEdges.h +0 -9
  574. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewEdges.m +0 -13
  575. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewLocalData.h +0 -18
  576. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewLocalData.m +0 -16
  577. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewManager.h +0 -9
  578. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewManager.m +0 -25
  579. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewMode.h +0 -7
  580. package/vendored/react-native-safe-area-context/ios/SafeAreaView/DevMenuRNCSafeAreaViewMode.m +0 -11
  581. package/vendored/react-native-safe-area-context/ios/SafeAreaView/RCTView+DevMenuSafeAreaCompat.h +0 -16
  582. 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,6 +0,0 @@
1
- export * from './LinearTransition';
2
- export * from './FadingTransition';
3
- export * from './SequencedTransition';
4
- export * from './JumpingTransition';
5
- export * from './CurvedTransition';
6
- export * from './EntryExitTransition';
@@ -1,4 +0,0 @@
1
- import './LayoutAnimationRepository';
2
- export * from './animationBuilder';
3
- export * from './defaultAnimations';
4
- export * from './defaultTransitions';
@@ -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,3 +0,0 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
- // @ts-nocheck
3
- export { default as RNRenderer } from 'react-native/Libraries/Renderer/shims/ReactNative';
@@ -1,2 +0,0 @@
1
- // RNRender is not used for web. An export is still defined to eliminate warnings from bundlers such as esbuild.
2
- module.exports = null;
@@ -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,6 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-empty-function */
2
- /**
3
- * Checks that native and js versions of reanimated match.
4
- * Stubbed for web, where this check is unnecessary.
5
- */
6
- export function checkVersion(): void {}
@@ -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
- }