react-native-macos 0.0.0-e2ffa3f99 → 0.0.0-e3d15a8f5

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 (626) hide show
  1. package/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec +1 -1
  2. package/Libraries/Alert/Alert.js +117 -8
  3. package/Libraries/Alert/NativeAlertManager.js +3 -21
  4. package/Libraries/Alert/RCTAlertManager.macos.js +1 -1
  5. package/Libraries/Animated/AnimatedMock.js +2 -2
  6. package/Libraries/Animated/NativeAnimatedHelper.js +13 -1
  7. package/Libraries/Animated/NativeAnimatedModule.js +1 -0
  8. package/Libraries/Animated/NativeAnimatedTurboModule.js +1 -0
  9. package/Libraries/Animated/animations/TimingAnimation.js +2 -7
  10. package/Libraries/Animated/nodes/AnimatedColor.js +84 -23
  11. package/Libraries/Animated/nodes/AnimatedInterpolation.js +2 -2
  12. package/Libraries/Animated/nodes/AnimatedNode.js +2 -2
  13. package/Libraries/Animated/nodes/AnimatedValue.js +1 -1
  14. package/Libraries/AppState/AppState.js +1 -1
  15. package/Libraries/Blob/React-RCTBlob.podspec +1 -1
  16. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +14 -14
  17. package/Libraries/Components/AccessibilityInfo/NativeAccessibilityManager.js +2 -2
  18. package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.macos.js +1 -1
  19. package/Libraries/Components/Button.js +24 -26
  20. package/Libraries/Components/DatePicker/DatePickerIOS.macos.js +1 -1
  21. package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.macos.js +1 -1
  22. package/Libraries/Components/DatePickerMacOS/DatePickerMacOS.android.js +1 -1
  23. package/Libraries/Components/DatePickerMacOS/DatePickerMacOS.ios.js +1 -1
  24. package/Libraries/Components/DatePickerMacOS/DatePickerMacOS.macos.js +1 -1
  25. package/Libraries/Components/DatePickerMacOS/RCTDatePickerNativeComponentMacOS.js +1 -1
  26. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.macos.js +1 -1
  27. package/Libraries/Components/Keyboard/Keyboard.js +1 -1
  28. package/Libraries/Components/MaskedView/MaskedViewIOS.macos.js +1 -1
  29. package/Libraries/Components/Picker/PickerAndroid.macos.js +1 -1
  30. package/Libraries/Components/Picker/PickerIOS.macos.js +1 -1
  31. package/Libraries/Components/Pressable/Pressable.js +19 -20
  32. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.macos.js +1 -1
  33. package/Libraries/Components/ProgressViewIOS/ProgressViewIOS.macos.js +1 -1
  34. package/Libraries/Components/SafeAreaView/SafeAreaView.js +1 -1
  35. package/Libraries/Components/ScrollView/ScrollView.js +23 -31
  36. package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +13 -0
  37. package/Libraries/Components/ScrollView/ScrollViewViewConfig.js +1 -0
  38. package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.macos.js +1 -1
  39. package/Libraries/Components/Slider/Slider.js +3 -5
  40. package/Libraries/Components/Slider/SliderNativeComponent.js +0 -1
  41. package/Libraries/Components/StatusBar/NativeStatusBarManagerAndroid.js +1 -1
  42. package/Libraries/Components/StatusBar/StatusBar.js +2 -2
  43. package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +24 -2
  44. package/Libraries/Components/TextInput/TextInput.js +66 -73
  45. package/Libraries/Components/TextInput/TextInputState.js +2 -8
  46. package/Libraries/Components/ToastAndroid/ToastAndroid.macos.js +1 -1
  47. package/Libraries/Components/Touchable/TouchableBounce.js +4 -4
  48. package/Libraries/Components/Touchable/TouchableHighlight.js +4 -4
  49. package/Libraries/Components/Touchable/TouchableOpacity.js +12 -7
  50. package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +11 -11
  51. package/Libraries/Components/View/DraggedType.js +1 -1
  52. package/Libraries/Components/View/ReactNativeViewAttributes.js +2 -3
  53. package/Libraries/Components/View/ReactNativeViewViewConfigMacOS.js +1 -2
  54. package/Libraries/Components/View/View.js +0 -1
  55. package/Libraries/Components/View/ViewAccessibility.js +1 -6
  56. package/Libraries/Components/View/ViewNativeComponent.js +64 -7
  57. package/Libraries/Components/View/ViewPropTypes.js +92 -122
  58. package/Libraries/Core/NativeExceptionsManager.js +1 -1
  59. package/Libraries/Core/RawEventEmitter.js +38 -0
  60. package/Libraries/Core/ReactNativeVersion.js +1 -5
  61. package/Libraries/Core/setUpReactDevTools.js +3 -2
  62. package/Libraries/DeprecatedPropTypes/DeprecatedImagePropType.macos.js +1 -1
  63. package/Libraries/EventEmitter/NativeEventEmitter.js +4 -7
  64. package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +2 -1
  65. package/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js +3 -3
  66. package/Libraries/FBLazyVector/FBLazyVector.podspec +1 -1
  67. package/Libraries/Image/Image.android.js +0 -6
  68. package/Libraries/Image/Image.ios.js +0 -6
  69. package/Libraries/Image/Image.macos.js +1 -1
  70. package/Libraries/Image/ImageViewNativeComponent.js +9 -0
  71. package/Libraries/Image/RCTAnimatedImage.h +3 -3
  72. package/Libraries/Image/RCTAnimatedImage.m +10 -10
  73. package/Libraries/Image/RCTDisplayWeakRefreshable.h +3 -3
  74. package/Libraries/Image/RCTDisplayWeakRefreshable.m +3 -3
  75. package/Libraries/Image/RCTImageBlurUtils.h +1 -1
  76. package/Libraries/Image/RCTImageBlurUtils.m +12 -12
  77. package/Libraries/Image/RCTImageCache.h +1 -1
  78. package/Libraries/Image/RCTImageCache.m +4 -4
  79. package/Libraries/Image/RCTImageDataDecoder.h +1 -1
  80. package/Libraries/Image/RCTImageEditingManager.mm +3 -3
  81. package/Libraries/Image/RCTImageLoader.h +2 -2
  82. package/Libraries/Image/RCTImageLoader.mm +38 -32
  83. package/Libraries/Image/RCTImageLoaderProtocol.h +1 -1
  84. package/Libraries/Image/RCTImageLoaderWithAttributionProtocol.h +2 -2
  85. package/Libraries/Image/RCTImageStoreManager.h +1 -1
  86. package/Libraries/Image/RCTImageStoreManager.mm +4 -4
  87. package/Libraries/Image/RCTImageURLLoader.h +1 -1
  88. package/Libraries/Image/RCTImageURLLoaderWithAttribution.h +2 -2
  89. package/Libraries/Image/RCTImageUtils.h +2 -2
  90. package/Libraries/Image/RCTImageUtils.m +22 -22
  91. package/Libraries/Image/RCTImageView.h +3 -11
  92. package/Libraries/Image/RCTImageView.mm +55 -55
  93. package/Libraries/Image/RCTImageViewManager.mm +2 -2
  94. package/Libraries/Image/RCTResizeMode.h +3 -3
  95. package/Libraries/Image/RCTUIImageViewAnimated.h +4 -4
  96. package/Libraries/Image/RCTUIImageViewAnimated.m +11 -11
  97. package/Libraries/Image/React-RCTImage.podspec +1 -1
  98. package/Libraries/Image/nativeImageSource.js +2 -2
  99. package/Libraries/Inspector/Inspector.js +2 -4
  100. package/Libraries/Linking/Linking.js +2 -2
  101. package/Libraries/LinkingIOS/RCTLinkingManager.h +6 -6
  102. package/Libraries/LinkingIOS/React-RCTLinking.podspec +3 -3
  103. package/Libraries/LinkingIOS/macos/RCTLinkingManager.mm +1 -1
  104. package/Libraries/Lists/FlatList.js +7 -7
  105. package/Libraries/Lists/SectionList.js +1 -1
  106. package/Libraries/Lists/VirtualizedList.js +53 -55
  107. package/Libraries/Lists/VirtualizedSectionList.js +22 -21
  108. package/Libraries/NativeAnimation/Drivers/RCTDecayAnimation.m +1 -1
  109. package/Libraries/NativeAnimation/Drivers/RCTFrameAnimation.m +1 -1
  110. package/Libraries/NativeAnimation/Drivers/RCTSpringAnimation.m +1 -1
  111. package/Libraries/NativeAnimation/Nodes/RCTValueAnimatedNode.h +1 -1
  112. package/Libraries/NativeAnimation/RCTNativeAnimatedModule.mm +10 -2
  113. package/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.h +5 -2
  114. package/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.m +9 -3
  115. package/Libraries/NativeAnimation/RCTNativeAnimatedTurboModule.mm +8 -0
  116. package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
  117. package/Libraries/NativeComponent/PlatformBaseViewConfig.js +566 -0
  118. package/Libraries/NativeComponent/StaticViewConfigValidator.js +7 -42
  119. package/Libraries/NativeComponent/ViewConfig.js +4 -4
  120. package/Libraries/NativeComponent/ViewConfigIgnore.js +53 -0
  121. package/Libraries/NativeModules/specs/NativeDevSettings.js +3 -1
  122. package/Libraries/Network/RCTFileRequestHandler.mm +3 -3
  123. package/Libraries/Network/RCTNetworking.macos.js +1 -1
  124. package/Libraries/Network/React-RCTNetwork.podspec +2 -2
  125. package/Libraries/NewAppScreen/components/DebugInstructions.js +2 -2
  126. package/Libraries/NewAppScreen/components/ReloadInstructions.js +2 -2
  127. package/Libraries/Pressability/HoverState.js +2 -2
  128. package/Libraries/Pressability/Pressability.js +26 -3
  129. package/Libraries/Pressability/PressabilityDebug.js +5 -9
  130. package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +1 -0
  131. package/Libraries/PushNotificationIOS/PushNotificationIOS.js +2 -2
  132. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.h +8 -8
  133. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm +81 -73
  134. package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
  135. package/Libraries/RCTRequired/RCTRequired.podspec +1 -1
  136. package/Libraries/ReactNative/DummyUIManager.js +5 -3
  137. package/Libraries/ReactNative/PaperUIManager.js +1 -1
  138. package/Libraries/ReactNative/UIManager.js +1 -2
  139. package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +4 -0
  140. package/Libraries/Renderer/REVISION +1 -1
  141. package/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +177 -68
  142. package/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +219 -208
  143. package/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +161 -144
  144. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +149 -67
  145. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +207 -195
  146. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +149 -131
  147. package/Libraries/Settings/RCTSettingsManager.mm +6 -6
  148. package/Libraries/Settings/React-RCTSettings.podspec +1 -1
  149. package/Libraries/Settings/Settings.macos.js +1 -1
  150. package/Libraries/StyleSheet/EdgeInsetsPropType.js +4 -1
  151. package/Libraries/StyleSheet/PlatformColorValueTypes.macos.js +3 -2
  152. package/Libraries/StyleSheet/PlatformColorValueTypesMacOS.js +3 -2
  153. package/Libraries/StyleSheet/PlatformColorValueTypesMacOS.macos.js +3 -2
  154. package/Libraries/StyleSheet/StyleSheetTypes.js +2 -2
  155. package/Libraries/StyleSheet/normalizeColor.js +1 -1
  156. package/Libraries/StyleSheet/processTransform.js +1 -1
  157. package/Libraries/Text/BaseText/RCTBaseTextViewManager.m +7 -7
  158. package/Libraries/Text/RCTConvert+Text.h +2 -2
  159. package/Libraries/Text/RCTTextAttributes.h +17 -17
  160. package/Libraries/Text/RCTTextAttributes.m +28 -30
  161. package/Libraries/Text/RCTTextUIKit.h +2 -0
  162. package/Libraries/Text/RawText/RCTRawTextShadowView.m +2 -2
  163. package/Libraries/Text/RawText/RCTRawTextViewManager.m +2 -2
  164. package/Libraries/Text/React-RCTText.podspec +2 -2
  165. package/Libraries/Text/Text/NSTextStorage+FontScaling.h +1 -1
  166. package/Libraries/Text/Text/NSTextStorage+FontScaling.m +1 -1
  167. package/Libraries/Text/Text/RCTDynamicTypeRamp.h +3 -3
  168. package/Libraries/Text/Text/RCTDynamicTypeRamp.m +3 -3
  169. package/Libraries/Text/Text/RCTTextShadowView.m +15 -15
  170. package/Libraries/Text/Text/RCTTextView.h +5 -5
  171. package/Libraries/Text/Text/RCTTextView.m +117 -90
  172. package/Libraries/Text/Text/RCTTextViewManager.m +6 -6
  173. package/Libraries/Text/Text.js +0 -6
  174. package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.h +2 -2
  175. package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.m +15 -15
  176. package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputViewManager.m +6 -6
  177. package/Libraries/Text/TextInput/Multiline/RCTUITextView.h +10 -10
  178. package/Libraries/Text/TextInput/Multiline/RCTUITextView.m +79 -114
  179. package/Libraries/Text/TextInput/RCTBackedTextInputDelegate.h +7 -7
  180. package/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.h +9 -9
  181. package/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m +41 -41
  182. package/Libraries/Text/TextInput/RCTBackedTextInputViewProtocol.h +20 -21
  183. package/Libraries/Text/TextInput/RCTBaseTextInputShadowView.m +7 -7
  184. package/Libraries/Text/TextInput/RCTBaseTextInputView.h +9 -9
  185. package/Libraries/Text/TextInput/RCTBaseTextInputView.m +73 -68
  186. package/Libraries/Text/TextInput/RCTBaseTextInputViewManager.m +33 -33
  187. package/Libraries/Text/TextInput/RCTInputAccessoryShadowView.m +2 -2
  188. package/Libraries/Text/TextInput/RCTInputAccessoryView.h +2 -2
  189. package/Libraries/Text/TextInput/RCTInputAccessoryView.m +3 -3
  190. package/Libraries/Text/TextInput/RCTInputAccessoryViewContent.h +2 -2
  191. package/Libraries/Text/TextInput/RCTInputAccessoryViewContent.m +7 -7
  192. package/Libraries/Text/TextInput/RCTInputAccessoryViewManager.m +1 -1
  193. package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.m +7 -7
  194. package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.m +2 -2
  195. package/Libraries/Text/TextInput/Singleline/RCTUITextField.h +11 -11
  196. package/Libraries/Text/TextInput/Singleline/RCTUITextField.m +79 -59
  197. package/Libraries/Text/TextInput/Singleline/macOS/RCTUISecureTextField.h +1 -1
  198. package/Libraries/Text/TextInput/Singleline/macOS/RCTUISecureTextField.m +1 -1
  199. package/Libraries/Text/TextNativeComponent.js +1 -1
  200. package/Libraries/Text/TextProps.js +1 -1
  201. package/Libraries/Text/VirtualText/RCTVirtualTextViewManager.m +2 -2
  202. package/Libraries/TypeSafety/RCTTypeSafety.podspec +1 -1
  203. package/Libraries/Types/CoreEventTypes.js +6 -6
  204. package/Libraries/Utilities/Appearance.js +2 -2
  205. package/Libraries/Utilities/BackHandler.macos.js +1 -1
  206. package/Libraries/Utilities/DevSettings.js +1 -1
  207. package/Libraries/Utilities/HMRClient.js +2 -6
  208. package/Libraries/Utilities/LoadingView.macos.js +1 -1
  209. package/Libraries/Utilities/Platform.macos.js +1 -1
  210. package/Libraries/Utilities/verifyComponentAttributeEquivalence.js +3 -3
  211. package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
  212. package/Libraries/WebSocket/RCTSRWebSocket.m +9 -10
  213. package/Libraries/WebSocket/WebSocket.js +1 -1
  214. package/Libraries/WebSocket/WebSocketInterceptor.js +1 -1
  215. package/Libraries/vendor/emitter/_EmitterSubscription.js +1 -1
  216. package/Libraries/vendor/emitter/_EventEmitter.js +1 -1
  217. package/Libraries/vendor/emitter/_EventSubscription.js +1 -1
  218. package/README.md +1 -1
  219. package/React/AppSetup/RCTAppSetupUtils.h +1 -1
  220. package/React/AppSetup/RCTAppSetupUtils.mm +1 -1
  221. package/React/Base/RCTBridge+Cxx.h +1 -1
  222. package/React/Base/RCTBridge+Cxx.mm +1 -1
  223. package/React/Base/RCTBridge.h +1 -1
  224. package/React/Base/RCTBridge.m +1 -1
  225. package/React/Base/RCTBridgeModule.h +4 -4
  226. package/React/Base/RCTBundleURLProvider.h +1 -1
  227. package/React/Base/RCTBundleURLProvider.mm +4 -4
  228. package/React/Base/RCTConvert.h +14 -14
  229. package/React/Base/RCTConvert.m +149 -153
  230. package/React/Base/RCTDisplayLink.m +8 -8
  231. package/React/Base/RCTEventDispatcherProtocol.h +1 -1
  232. package/React/Base/RCTFrameUpdate.h +2 -2
  233. package/React/Base/RCTFrameUpdate.m +2 -2
  234. package/React/Base/RCTImageSource.m +2 -2
  235. package/React/Base/RCTJSStackFrame.m +2 -2
  236. package/React/Base/RCTJSThread.h +1 -1
  237. package/React/Base/RCTJavaScriptLoader.h +1 -1
  238. package/React/Base/RCTJavaScriptLoader.mm +2 -2
  239. package/React/Base/RCTKeyCommands.m +2 -2
  240. package/React/Base/RCTModuleData.mm +2 -2
  241. package/React/Base/RCTModuleMethod.mm +2 -2
  242. package/React/Base/RCTMultipartDataTask.m +2 -20
  243. package/React/Base/RCTPlatformDisplayLink.h +1 -1
  244. package/React/Base/RCTRedBoxSetEnabled.m +1 -1
  245. package/React/Base/RCTReloadCommand.m +4 -4
  246. package/React/Base/RCTRootContentView.h +1 -1
  247. package/React/Base/RCTRootContentView.m +10 -10
  248. package/React/Base/RCTRootView.h +4 -4
  249. package/React/Base/RCTRootView.m +26 -26
  250. package/React/Base/RCTTouchEvent.m +2 -2
  251. package/React/Base/RCTTouchHandler.h +11 -6
  252. package/React/Base/RCTTouchHandler.m +100 -69
  253. package/React/Base/RCTUIKit.h +107 -17
  254. package/React/Base/RCTUtils.h +12 -12
  255. package/React/Base/RCTUtils.m +58 -38
  256. package/React/Base/RCTUtilsUIOverride.h +1 -1
  257. package/React/Base/RCTUtilsUIOverride.m +1 -1
  258. package/React/Base/RCTVersion.m +1 -5
  259. package/React/Base/RCTViewRegistry.m +2 -2
  260. package/React/Base/Surface/RCTSurfaceDelegate.h +1 -1
  261. package/React/Base/Surface/RCTSurfaceProtocol.h +1 -1
  262. package/React/Base/Surface/RCTSurfaceRootShadowViewDelegate.h +1 -1
  263. package/React/Base/Surface/RCTSurfaceRootView.h +1 -1
  264. package/React/Base/Surface/RCTSurfaceView.h +1 -1
  265. package/React/Base/Surface/RCTSurfaceView.mm +2 -2
  266. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingProxyRootView.h +3 -3
  267. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingProxyRootView.mm +5 -5
  268. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingView.h +3 -3
  269. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingView.mm +14 -14
  270. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceSizeMeasureMode.h +1 -1
  271. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceSizeMeasureMode.mm +1 -1
  272. package/React/Base/macOS/RCTPlatform.m +1 -1
  273. package/React/Base/macOS/RCTPlatformDisplayLink.m +1 -1
  274. package/React/Base/macOS/RCTUIKit.m +167 -12
  275. package/React/CoreModules/CoreModulesPlugins.mm +6 -6
  276. package/React/CoreModules/RCTAccessibilityManager.h +1 -1
  277. package/React/CoreModules/RCTAccessibilityManager.mm +2 -2
  278. package/React/CoreModules/RCTActionSheetManager.h +1 -1
  279. package/React/CoreModules/RCTActionSheetManager.mm +31 -31
  280. package/React/CoreModules/RCTAlertController.h +7 -7
  281. package/React/CoreModules/RCTAlertController.m +6 -6
  282. package/React/CoreModules/RCTAlertManager.h +1 -1
  283. package/React/CoreModules/RCTAlertManager.mm +10 -10
  284. package/React/CoreModules/RCTAppState.mm +6 -6
  285. package/React/CoreModules/RCTAppearance.h +4 -4
  286. package/React/CoreModules/RCTAppearance.mm +16 -16
  287. package/React/CoreModules/RCTAsyncLocalStorage.mm +5 -6
  288. package/React/CoreModules/RCTClipboard.mm +7 -7
  289. package/React/CoreModules/RCTDevLoadingView.h +1 -1
  290. package/React/CoreModules/RCTDevLoadingView.mm +31 -31
  291. package/React/CoreModules/RCTDevMenu.h +3 -3
  292. package/React/CoreModules/RCTDevMenu.mm +40 -42
  293. package/React/CoreModules/RCTDevSettings.h +4 -4
  294. package/React/CoreModules/RCTDevSettings.mm +18 -18
  295. package/React/CoreModules/RCTDevSplitBundleLoader.h +1 -1
  296. package/React/CoreModules/RCTDeviceInfo.h +2 -2
  297. package/React/CoreModules/RCTDeviceInfo.mm +22 -22
  298. package/React/CoreModules/RCTFPSGraph.h +3 -3
  299. package/React/CoreModules/RCTFPSGraph.m +2 -2
  300. package/React/CoreModules/RCTKeyboardObserver.mm +8 -8
  301. package/React/CoreModules/RCTLogBox.h +1 -1
  302. package/React/CoreModules/RCTLogBox.mm +12 -12
  303. package/React/CoreModules/RCTLogBoxView.h +5 -5
  304. package/React/CoreModules/RCTLogBoxView.mm +5 -5
  305. package/React/CoreModules/RCTPerfMonitor.mm +1 -1
  306. package/React/CoreModules/RCTPlatform.mm +1 -1
  307. package/React/CoreModules/RCTRedBox.h +1 -1
  308. package/React/CoreModules/RCTRedBox.mm +24 -24
  309. package/React/CoreModules/RCTStatusBarManager.h +3 -3
  310. package/React/CoreModules/RCTStatusBarManager.mm +4 -4
  311. package/React/CoreModules/RCTTiming.mm +2 -2
  312. package/React/CoreModules/RCTWebSocketModule.mm +3 -3
  313. package/React/CoreModules/React-CoreModules.podspec +3 -3
  314. package/React/CxxBridge/RCTCxxBridge.mm +9 -9
  315. package/React/CxxModule/RCTCxxMethod.mm +2 -2
  316. package/React/DevSupport/RCTDevLoadingViewProtocol.h +2 -2
  317. package/React/DevSupport/RCTInspectorDevServerHelper.h +1 -1
  318. package/React/DevSupport/RCTInspectorDevServerHelper.mm +8 -8
  319. package/React/DevSupport/RCTPackagerConnection.mm +1 -1
  320. package/React/FBReactNativeSpec/FBReactNativeSpec.podspec +1 -1
  321. package/React/Fabric/Mounting/ComponentViews/ActivityIndicator/RCTActivityIndicatorViewComponentView.h +1 -1
  322. package/React/Fabric/Mounting/ComponentViews/ActivityIndicator/RCTActivityIndicatorViewComponentView.mm +3 -2
  323. package/React/Fabric/Mounting/ComponentViews/Image/RCTImageComponentView.mm +11 -0
  324. package/React/Fabric/Mounting/ComponentViews/InputAccessory/RCTInputAccessoryComponentView.h +1 -1
  325. package/React/Fabric/Mounting/ComponentViews/InputAccessory/RCTInputAccessoryComponentView.mm +12 -8
  326. package/React/Fabric/Mounting/ComponentViews/InputAccessory/RCTInputAccessoryContentView.h +2 -2
  327. package/React/Fabric/Mounting/ComponentViews/InputAccessory/RCTInputAccessoryContentView.mm +3 -3
  328. package/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.h +1 -1
  329. package/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.mm +8 -8
  330. package/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropCoordinatorAdapter.h +1 -1
  331. package/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropCoordinatorAdapter.mm +1 -1
  332. package/React/Fabric/Mounting/ComponentViews/Modal/RCTFabricModalHostViewController.h +3 -1
  333. package/React/Fabric/Mounting/ComponentViews/Modal/RCTFabricModalHostViewController.mm +2 -0
  334. package/React/Fabric/Mounting/ComponentViews/Modal/RCTModalHostViewComponentView.h +2 -0
  335. package/React/Fabric/Mounting/ComponentViews/Modal/RCTModalHostViewComponentView.mm +8 -4
  336. package/React/Fabric/Mounting/ComponentViews/Root/RCTRootComponentView.h +1 -1
  337. package/React/Fabric/Mounting/ComponentViews/SafeAreaView/RCTSafeAreaViewComponentView.h +1 -1
  338. package/React/Fabric/Mounting/ComponentViews/SafeAreaView/RCTSafeAreaViewComponentView.mm +10 -0
  339. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTEnhancedScrollView.h +5 -3
  340. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTEnhancedScrollView.mm +22 -5
  341. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTPullToRefreshViewComponentView.h +1 -1
  342. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTPullToRefreshViewComponentView.mm +16 -0
  343. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.h +6 -4
  344. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +65 -27
  345. package/React/Fabric/Mounting/ComponentViews/Slider/RCTSliderComponentView.h +1 -1
  346. package/React/Fabric/Mounting/ComponentViews/Slider/RCTSliderComponentView.mm +24 -5
  347. package/React/Fabric/Mounting/ComponentViews/Switch/RCTSwitchComponentView.h +1 -1
  348. package/React/Fabric/Mounting/ComponentViews/Switch/RCTSwitchComponentView.mm +15 -6
  349. package/React/Fabric/Mounting/ComponentViews/Text/RCTAccessibilityElement.h +5 -1
  350. package/React/Fabric/Mounting/ComponentViews/Text/RCTAccessibilityElement.mm +3 -1
  351. package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentAccessibilityProvider.h +4 -2
  352. package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentAccessibilityProvider.mm +6 -2
  353. package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.h +1 -1
  354. package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.mm +24 -1
  355. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.h +1 -1
  356. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +66 -15
  357. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.h +15 -6
  358. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.mm +20 -2
  359. package/React/Fabric/Mounting/ComponentViews/UnimplementedComponent/RCTUnimplementedNativeComponentView.h +1 -1
  360. package/React/Fabric/Mounting/ComponentViews/UnimplementedComponent/RCTUnimplementedNativeComponentView.mm +10 -4
  361. package/React/Fabric/Mounting/ComponentViews/UnimplementedView/RCTUnimplementedViewComponentView.h +1 -1
  362. package/React/Fabric/Mounting/ComponentViews/UnimplementedView/RCTUnimplementedViewComponentView.mm +10 -4
  363. package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.h +5 -5
  364. package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +44 -24
  365. package/React/Fabric/Mounting/RCTComponentViewClassDescriptor.h +1 -1
  366. package/React/Fabric/Mounting/RCTComponentViewDescriptor.h +3 -3
  367. package/React/Fabric/Mounting/RCTComponentViewFactory.h +1 -1
  368. package/React/Fabric/Mounting/RCTComponentViewProtocol.h +3 -3
  369. package/React/Fabric/Mounting/RCTComponentViewRegistry.h +2 -2
  370. package/React/Fabric/Mounting/RCTComponentViewRegistry.mm +13 -1
  371. package/React/Fabric/Mounting/RCTMountingManager.h +3 -3
  372. package/React/Fabric/Mounting/RCTMountingManager.mm +12 -9
  373. package/React/Fabric/Mounting/RCTMountingManagerDelegate.h +1 -1
  374. package/React/Fabric/Mounting/RCTMountingTransactionObserving.h +1 -1
  375. package/React/Fabric/Mounting/UIView+ComponentViewProtocol.h +5 -5
  376. package/React/Fabric/Mounting/UIView+ComponentViewProtocol.mm +11 -5
  377. package/React/Fabric/RCTConversions.h +8 -6
  378. package/React/Fabric/RCTImageResponseDelegate.h +1 -1
  379. package/React/Fabric/RCTLocalizationProvider.h +1 -1
  380. package/React/Fabric/RCTScheduler.h +1 -1
  381. package/React/Fabric/RCTSurfacePresenter.h +2 -2
  382. package/React/Fabric/RCTSurfacePresenter.mm +17 -5
  383. package/React/Fabric/RCTSurfacePresenterBridgeAdapter.h +1 -1
  384. package/React/Fabric/RCTSurfaceRegistry.h +1 -1
  385. package/React/Fabric/RCTSurfaceTouchHandler.h +3 -3
  386. package/React/Fabric/RCTSurfaceTouchHandler.mm +50 -27
  387. package/React/Fabric/RCTTouchableComponentViewProtocol.h +1 -1
  388. package/React/Fabric/Surface/RCTFabricSurface.mm +2 -0
  389. package/React/Fabric/Utils/RCTGenericDelegateSplitter.h +1 -1
  390. package/React/Modules/RCTEventEmitter.h +7 -7
  391. package/React/Modules/RCTI18nUtil.m +1 -1
  392. package/React/Modules/RCTLayoutAnimation.h +1 -1
  393. package/React/Modules/RCTLayoutAnimation.m +14 -14
  394. package/React/Modules/RCTLayoutAnimationGroup.h +1 -1
  395. package/React/Modules/RCTLayoutAnimationGroup.m +2 -2
  396. package/React/Modules/RCTSurfacePresenterStub.h +2 -2
  397. package/React/Modules/RCTUIManager.h +12 -12
  398. package/React/Modules/RCTUIManager.m +98 -98
  399. package/React/Modules/RCTUIManagerObserverCoordinator.h +1 -1
  400. package/React/Modules/RCTUIManagerUtils.h +1 -1
  401. package/React/Profiler/RCTProfile.m +23 -23
  402. package/React/React-RCTFabric.podspec +1 -1
  403. package/React/UIUtils/RCTUIUtils.h +6 -6
  404. package/React/UIUtils/RCTUIUtils.m +3 -3
  405. package/React/Views/RCTActivityIndicatorView.h +4 -4
  406. package/React/Views/RCTActivityIndicatorView.m +4 -4
  407. package/React/Views/RCTActivityIndicatorViewManager.m +4 -4
  408. package/React/Views/RCTAnimationType.h +4 -4
  409. package/React/Views/RCTAutoInsetsProtocol.h +1 -1
  410. package/React/Views/RCTBorderDrawing.h +2 -2
  411. package/React/Views/RCTBorderDrawing.m +22 -22
  412. package/React/Views/RCTComponentData.h +3 -3
  413. package/React/Views/RCTComponentData.m +4 -4
  414. package/React/Views/RCTCursor.h +2 -2
  415. package/React/Views/RCTCursor.m +2 -2
  416. package/React/Views/RCTDatePicker.h +4 -4
  417. package/React/Views/RCTDatePicker.m +12 -12
  418. package/React/Views/RCTDatePickerManager.h +3 -3
  419. package/React/Views/RCTDatePickerManager.m +16 -16
  420. package/React/Views/RCTFont.h +1 -1
  421. package/React/Views/RCTFont.mm +9 -9
  422. package/React/Views/RCTFontSmoothing.h +1 -1
  423. package/React/Views/RCTLayout.h +1 -1
  424. package/React/Views/RCTMaskedView.h +1 -1
  425. package/React/Views/RCTModalHostView.h +2 -2
  426. package/React/Views/RCTModalHostViewController.h +1 -1
  427. package/React/Views/RCTModalManager.h +1 -1
  428. package/React/Views/RCTProgressView.h +6 -6
  429. package/React/Views/RCTProgressView.m +1 -1
  430. package/React/Views/RCTProgressViewManager.m +13 -13
  431. package/React/Views/RCTSegmentedControl.h +6 -6
  432. package/React/Views/RCTSegmentedControl.m +16 -16
  433. package/React/Views/RCTSegmentedControlManager.m +3 -3
  434. package/React/Views/RCTShadowView+Internal.h +1 -1
  435. package/React/Views/RCTShadowView+Layout.h +1 -1
  436. package/React/Views/RCTShadowView.h +4 -4
  437. package/React/Views/RCTShadowView.m +8 -8
  438. package/React/Views/RCTSlider.h +14 -10
  439. package/React/Views/RCTSlider.m +38 -38
  440. package/React/Views/RCTSliderManager.m +9 -9
  441. package/React/Views/RCTSwitch.h +2 -11
  442. package/React/Views/RCTSwitch.m +0 -20
  443. package/React/Views/RCTSwitchManager.m +8 -12
  444. package/React/Views/RCTView.h +15 -15
  445. package/React/Views/RCTView.m +151 -133
  446. package/React/Views/RCTViewKeyboardEvent.h +2 -2
  447. package/React/Views/RCTViewKeyboardEvent.m +4 -2
  448. package/React/Views/RCTViewManager.h +5 -5
  449. package/React/Views/RCTViewManager.m +73 -81
  450. package/React/Views/RCTViewUtils.h +2 -2
  451. package/React/Views/RCTViewUtils.m +3 -3
  452. package/React/Views/RCTWeakViewHolder.h +1 -1
  453. package/React/Views/RCTWrapperViewController.h +2 -2
  454. package/React/Views/RefreshControl/RCTRefreshControl.h +2 -2
  455. package/React/Views/RefreshControl/RCTRefreshableProtocol.h +1 -1
  456. package/React/Views/SafeAreaView/RCTSafeAreaView.h +1 -1
  457. package/React/Views/SafeAreaView/RCTSafeAreaView.m +2 -2
  458. package/React/Views/SafeAreaView/RCTSafeAreaViewLocalData.h +1 -1
  459. package/React/Views/ScrollView/RCTScrollContentShadowView.h +1 -1
  460. package/React/Views/ScrollView/RCTScrollContentShadowView.m +4 -4
  461. package/React/Views/ScrollView/RCTScrollContentView.h +3 -3
  462. package/React/Views/ScrollView/RCTScrollContentView.m +13 -14
  463. package/React/Views/ScrollView/RCTScrollContentViewManager.m +1 -1
  464. package/React/Views/ScrollView/RCTScrollEvent.m +3 -3
  465. package/React/Views/ScrollView/RCTScrollView.h +9 -8
  466. package/React/Views/ScrollView/RCTScrollView.m +162 -154
  467. package/React/Views/ScrollView/RCTScrollViewManager.h +2 -2
  468. package/React/Views/ScrollView/RCTScrollViewManager.m +28 -27
  469. package/React/Views/ScrollView/RCTScrollableProtocol.h +5 -5
  470. package/React/Views/UIView+Private.h +4 -4
  471. package/React/Views/UIView+React.h +12 -12
  472. package/React/Views/UIView+React.m +55 -55
  473. package/React-Core.podspec +5 -5
  474. package/React.podspec +1 -1
  475. package/ReactAndroid/build.gradle +6 -0
  476. package/ReactAndroid/gradle.properties +1 -1
  477. package/ReactAndroid/proguard-rules.pro +4 -6
  478. package/ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/OnLoad.cpp +1 -0
  479. package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java +1 -22
  480. package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManagerBuilder.java +1 -1
  481. package/ReactAndroid/src/main/java/com/facebook/react/ReactNativeHost.java +1 -1
  482. package/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java +7 -3
  483. package/ReactAndroid/src/main/java/com/facebook/react/animated/AnimatedNodeWithUpdateableConfig.java +15 -0
  484. package/ReactAndroid/src/main/java/com/facebook/react/animated/BUCK +1 -0
  485. package/ReactAndroid/src/main/java/com/facebook/react/animated/ColorAnimatedNode.java +131 -0
  486. package/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedModule.java +26 -0
  487. package/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.java +17 -0
  488. package/ReactAndroid/src/main/java/com/facebook/react/animated/PropsAnimatedNode.java +14 -0
  489. package/ReactAndroid/src/main/java/com/facebook/react/animated/StyleAnimatedNode.java +2 -0
  490. package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactMarker.java +2 -1
  491. package/ReactAndroid/src/main/java/com/facebook/react/common/SurfaceDelegate.java +3 -0
  492. package/ReactAndroid/src/main/java/com/facebook/react/config/ReactFeatureFlags.java +0 -6
  493. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/BridgeDevSupportManager.java +1 -0
  494. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DefaultDevSupportManagerFactory.java +1 -0
  495. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManagerBase.java +40 -50
  496. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManagerFactory.java +1 -0
  497. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DisabledDevSupportManager.java +17 -0
  498. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DoubleTapReloadRecognizer.java +1 -1
  499. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/LogBoxDialogSurfaceDelegate.java +5 -4
  500. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/{RedBoxDialog.java → RedBoxContentView.java} +38 -29
  501. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/RedBoxDialogSurfaceDelegate.java +117 -0
  502. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/interfaces/BundleLoadCallback.java +0 -2
  503. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/interfaces/DevSupportManager.java +7 -0
  504. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/{RedBoxHandler.java → interfaces/RedBoxHandler.java} +1 -3
  505. package/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java +1 -1
  506. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/{AsyncEventBeatV2.cpp → AsyncEventBeat.cpp} +6 -6
  507. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/AsyncEventBeat.h +8 -40
  508. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/Binding.cpp +39 -34
  509. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/Binding.h +0 -1
  510. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/EventEmitterWrapper.cpp +0 -13
  511. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/EventEmitterWrapper.h +0 -1
  512. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/FabricMountingManager.cpp +3 -17
  513. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/FabricMountingManager.h +0 -1
  514. package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java +2 -1
  515. package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.java +4 -1
  516. package/ReactAndroid/src/main/java/com/facebook/react/modules/statusbar/StatusBarModule.java +20 -8
  517. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -5
  518. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK +3 -3
  519. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java +91 -6
  520. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/LayoutShadowNode.java +3 -3
  521. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactRoot.java +1 -6
  522. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java +0 -11
  523. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModuleConstants.java +3 -3
  524. package/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK +0 -1
  525. package/ReactAndroid/src/main/java/com/facebook/react/views/image/ReactImageView.java +0 -90
  526. package/ReactAndroid/src/main/java/com/facebook/react/views/imagehelper/ResourceDrawableIdHelper.java +2 -1
  527. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.java +4 -6
  528. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java +13 -16
  529. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.java +4 -6
  530. package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java +2 -1
  531. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ColorUtil.java +19 -0
  532. package/ReactAndroid/src/main/res/shell/values/styles.xml +3 -2
  533. package/ReactAndroid/src/test/java/com/facebook/react/views/BUCK +5 -2
  534. package/ReactAndroid/src/test/java/com/facebook/react/views/view/ColorUtilTest.java +9 -0
  535. package/ReactCommon/React-Fabric.podspec +1 -1
  536. package/ReactCommon/React-rncore.podspec +1 -1
  537. package/ReactCommon/ReactCommon.podspec +1 -1
  538. package/ReactCommon/callinvoker/React-callinvoker.podspec +1 -1
  539. package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
  540. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -5
  541. package/ReactCommon/hermes/inspector/Exceptions.h +6 -0
  542. package/ReactCommon/hermes/inspector/Inspector.cpp +5 -2
  543. package/ReactCommon/hermes/inspector/Inspector.h +14 -0
  544. package/ReactCommon/hermes/inspector/InspectorState.cpp +16 -8
  545. package/ReactCommon/hermes/inspector/chrome/Connection.cpp +319 -1
  546. package/ReactCommon/hermes/inspector/chrome/MessageTypes.cpp +79 -1
  547. package/ReactCommon/hermes/inspector/chrome/MessageTypes.h +43 -1
  548. package/ReactCommon/hermes/inspector/chrome/tests/ConnectionTests.cpp +251 -7
  549. package/ReactCommon/hermes/inspector/chrome/tests/MessageTests.cpp +1068 -1
  550. package/ReactCommon/hermes/inspector/tools/message_types.txt +1 -0
  551. package/ReactCommon/hermes/inspector/tools/msggen/yarn.lock +6 -6
  552. package/ReactCommon/jsi/React-jsi.podspec +1 -1
  553. package/ReactCommon/jsi/jsi/jsi.cpp +2 -0
  554. package/ReactCommon/jsi/jsi/jsi.h +7 -3
  555. package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
  556. package/ReactCommon/jsinspector/React-jsinspector.podspec +1 -1
  557. package/ReactCommon/logger/React-logger.podspec +1 -1
  558. package/ReactCommon/react/nativemodule/samples/platform/ios/RCTSampleTurboModule.mm +4 -4
  559. package/ReactCommon/react/renderer/attributedstring/conversions.h +10 -8
  560. package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/RCTLegacyViewManagerInteropCoordinator.h +3 -3
  561. package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/RCTLegacyViewManagerInteropCoordinator.mm +3 -3
  562. package/ReactCommon/react/renderer/components/modal/ModalHostViewComponentDescriptor.h +1 -1
  563. package/ReactCommon/react/renderer/components/modal/ModalHostViewShadowNode.h +1 -1
  564. package/ReactCommon/react/renderer/components/modal/ModalHostViewState.h +1 -1
  565. package/ReactCommon/react/renderer/components/progressbar/android/react/renderer/components/progressbar/conversions.h +1 -1
  566. package/ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputProps.cpp +6 -6
  567. package/ReactCommon/react/renderer/components/view/ViewProps.cpp +1 -18
  568. package/ReactCommon/react/renderer/components/view/ViewProps.h +1 -5
  569. package/ReactCommon/react/renderer/components/view/ViewShadowNode.cpp +2 -2
  570. package/ReactCommon/react/renderer/components/view/primitives.h +41 -0
  571. package/ReactCommon/react/renderer/components/view/propsConversions.h +136 -0
  572. package/ReactCommon/react/renderer/core/ConcreteComponentDescriptor.h +12 -0
  573. package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
  574. package/ReactCommon/react/renderer/graphics/conversions.h +1 -11
  575. package/ReactCommon/react/renderer/graphics/platform/ios/RCTPlatformColorUtils.mm +9 -9
  576. package/ReactCommon/react/renderer/imagemanager/platform/ios/RCTImageManager.h +1 -1
  577. package/ReactCommon/react/renderer/imagemanager/platform/ios/RCTImagePrimitivesConversions.h +1 -1
  578. package/ReactCommon/react/renderer/imagemanager/platform/ios/RCTSyncImageManager.h +1 -1
  579. package/ReactCommon/react/renderer/mapbuffer/MapBuffer.cpp +5 -5
  580. package/ReactCommon/react/renderer/mapbuffer/MapBuffer.h +5 -3
  581. package/ReactCommon/react/renderer/mapbuffer/MapBufferBuilder.cpp +7 -5
  582. package/ReactCommon/react/renderer/mapbuffer/MapBufferBuilder.h +1 -1
  583. package/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler.cpp +38 -33
  584. package/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler.h +10 -1
  585. package/ReactCommon/react/renderer/runtimescheduler/tests/RuntimeSchedulerTest.cpp +45 -19
  586. package/ReactCommon/react/renderer/runtimescheduler/tests/StubQueue.h +9 -0
  587. package/ReactCommon/react/renderer/scheduler/Scheduler.cpp +21 -2
  588. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/NSTextStorage+FontScaling.h +1 -1
  589. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTAttributedTextUtils.h +1 -1
  590. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTAttributedTextUtils.mm +7 -7
  591. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTFontProperties.h +1 -1
  592. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTFontUtils.h +1 -1
  593. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTFontUtils.mm +4 -0
  594. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTTextLayoutManager.h +1 -1
  595. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTTextLayoutManager.mm +5 -0
  596. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTTextPrimitivesConversions.h +6 -6
  597. package/ReactCommon/react/renderer/uimanager/UIManager.cpp +8 -9
  598. package/ReactCommon/react/renderer/uimanager/UIManager.h +3 -3
  599. package/ReactCommon/react/renderer/uimanager/UIManagerBinding.cpp +5 -4
  600. package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -1
  601. package/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +1 -1
  602. package/index.js +21 -33
  603. package/local-cli/generator-macos/templates/macos/HelloWorld-macOS/ViewController.m +1 -1
  604. package/package.json +7 -42
  605. package/react.gradle +14 -0
  606. package/scripts/generate-artifacts.js +12 -12
  607. package/scripts/react_native_pods.rb +2 -2
  608. package/template/Gemfile +1 -1
  609. package/template/Gemfile.lock +6 -6
  610. package/template/_flowconfig +2 -2
  611. package/template/_ruby-version +1 -1
  612. package/template/android/app/build.gradle +0 -5
  613. package/template/android/app/src/main/java/com/helloworld/MainActivity.java +2 -1
  614. package/template/android/build.gradle +1 -1
  615. package/template/android/gradle.properties +2 -2
  616. package/template/package.json +1 -2
  617. package/third-party-podspecs/DoubleConversion.podspec +1 -1
  618. package/third-party-podspecs/RCT-Folly.podspec +1 -1
  619. package/third-party-podspecs/boost.podspec +1 -1
  620. package/third-party-podspecs/glog.podspec +1 -1
  621. package/Libraries/Alert/AlertMacOS.js +0 -211
  622. package/Libraries/Components/View/PlatformViewPropTypes.macos.js +0 -16
  623. package/Libraries/Components/View/ReactNativeViewViewConfig.js +0 -374
  624. package/Libraries/Components/View/ReactNativeViewViewConfigAndroid.js +0 -83
  625. package/Libraries/ReactNative/UIManagerInjection.js +0 -15
  626. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/AsyncEventBeatV2.h +0 -40
@@ -7,7 +7,7 @@
7
7
  * @noflow
8
8
  * @nolint
9
9
  * @preventMunge
10
- * @generated SignedSource<<d101378706adbbc7947ba5d167b46aab>>
10
+ * @generated SignedSource<<97d9d60e7b93063137af17ba2abdf915>>
11
11
  */
12
12
 
13
13
  "use strict";
@@ -927,7 +927,7 @@ eventPluginOrder = Array.prototype.slice.call([
927
927
  "ReactNativeBridgeEventPlugin"
928
928
  ]);
929
929
  recomputePluginOrdering();
930
- var injectedNamesToPlugins$jscomp$inline_220 = {
930
+ var injectedNamesToPlugins$jscomp$inline_219 = {
931
931
  ResponderEventPlugin: ResponderEventPlugin,
932
932
  ReactNativeBridgeEventPlugin: {
933
933
  eventTypes: {},
@@ -962,33 +962,33 @@ var injectedNamesToPlugins$jscomp$inline_220 = {
962
962
  }
963
963
  }
964
964
  },
965
- isOrderingDirty$jscomp$inline_221 = !1,
966
- pluginName$jscomp$inline_222;
967
- for (pluginName$jscomp$inline_222 in injectedNamesToPlugins$jscomp$inline_220)
965
+ isOrderingDirty$jscomp$inline_220 = !1,
966
+ pluginName$jscomp$inline_221;
967
+ for (pluginName$jscomp$inline_221 in injectedNamesToPlugins$jscomp$inline_219)
968
968
  if (
969
- injectedNamesToPlugins$jscomp$inline_220.hasOwnProperty(
970
- pluginName$jscomp$inline_222
969
+ injectedNamesToPlugins$jscomp$inline_219.hasOwnProperty(
970
+ pluginName$jscomp$inline_221
971
971
  )
972
972
  ) {
973
- var pluginModule$jscomp$inline_223 =
974
- injectedNamesToPlugins$jscomp$inline_220[pluginName$jscomp$inline_222];
973
+ var pluginModule$jscomp$inline_222 =
974
+ injectedNamesToPlugins$jscomp$inline_219[pluginName$jscomp$inline_221];
975
975
  if (
976
- !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_222) ||
977
- namesToPlugins[pluginName$jscomp$inline_222] !==
978
- pluginModule$jscomp$inline_223
976
+ !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_221) ||
977
+ namesToPlugins[pluginName$jscomp$inline_221] !==
978
+ pluginModule$jscomp$inline_222
979
979
  ) {
980
- if (namesToPlugins[pluginName$jscomp$inline_222])
980
+ if (namesToPlugins[pluginName$jscomp$inline_221])
981
981
  throw Error(
982
982
  "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
983
- (pluginName$jscomp$inline_222 + "`.")
983
+ (pluginName$jscomp$inline_221 + "`.")
984
984
  );
985
985
  namesToPlugins[
986
- pluginName$jscomp$inline_222
987
- ] = pluginModule$jscomp$inline_223;
988
- isOrderingDirty$jscomp$inline_221 = !0;
986
+ pluginName$jscomp$inline_221
987
+ ] = pluginModule$jscomp$inline_222;
988
+ isOrderingDirty$jscomp$inline_220 = !0;
989
989
  }
990
990
  }
991
- isOrderingDirty$jscomp$inline_221 && recomputePluginOrdering();
991
+ isOrderingDirty$jscomp$inline_220 && recomputePluginOrdering();
992
992
  function getInstanceFromInstance(instanceHandle) {
993
993
  return instanceHandle;
994
994
  }
@@ -1559,7 +1559,10 @@ function dispatchEvent(target, topLevelType, nativeEvent) {
1559
1559
  null != stateNode && (eventTarget = stateNode.canonical);
1560
1560
  }
1561
1561
  batchedUpdates(function() {
1562
- var JSCompiler_inline_result = eventTarget;
1562
+ var event = { eventName: topLevelType, nativeEvent: nativeEvent };
1563
+ ReactNativePrivateInterface.RawEventEmitter.emit(topLevelType, event);
1564
+ ReactNativePrivateInterface.RawEventEmitter.emit("*", event);
1565
+ event = eventTarget;
1563
1566
  for (
1564
1567
  var events = null, legacyPlugins = plugins, i = 0;
1565
1568
  i < legacyPlugins.length;
@@ -1571,29 +1574,25 @@ function dispatchEvent(target, topLevelType, nativeEvent) {
1571
1574
  topLevelType,
1572
1575
  target,
1573
1576
  nativeEvent,
1574
- JSCompiler_inline_result
1577
+ event
1575
1578
  )) &&
1576
1579
  (events = accumulateInto(events, possiblePlugin));
1577
1580
  }
1578
- JSCompiler_inline_result = events;
1579
- null !== JSCompiler_inline_result &&
1580
- (eventQueue = accumulateInto(eventQueue, JSCompiler_inline_result));
1581
- JSCompiler_inline_result = eventQueue;
1581
+ event = events;
1582
+ null !== event && (eventQueue = accumulateInto(eventQueue, event));
1583
+ event = eventQueue;
1582
1584
  eventQueue = null;
1583
- if (JSCompiler_inline_result) {
1584
- forEachAccumulated(
1585
- JSCompiler_inline_result,
1586
- executeDispatchesAndReleaseTopLevel
1587
- );
1585
+ if (event) {
1586
+ forEachAccumulated(event, executeDispatchesAndReleaseTopLevel);
1588
1587
  if (eventQueue)
1589
1588
  throw Error(
1590
1589
  "processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."
1591
1590
  );
1592
1591
  if (hasRethrowError)
1593
- throw ((JSCompiler_inline_result = rethrowError),
1592
+ throw ((event = rethrowError),
1594
1593
  (hasRethrowError = !1),
1595
1594
  (rethrowError = null),
1596
- JSCompiler_inline_result);
1595
+ event);
1597
1596
  }
1598
1597
  });
1599
1598
  }
@@ -1619,12 +1618,6 @@ function onCommitRoot(root) {
1619
1618
  );
1620
1619
  } catch (err) {}
1621
1620
  }
1622
- function injectProfilingHooks() {}
1623
- function getLaneLabelMap() {
1624
- for (var map = new Map(), lane = 1, index$3 = 0; 31 > index$3; index$3++)
1625
- map.set(lane, void 0), (lane *= 2);
1626
- return map;
1627
- }
1628
1621
  var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,
1629
1622
  log = Math.log,
1630
1623
  LN2 = Math.LN2;
@@ -1797,21 +1790,21 @@ function markRootFinished(root, remainingLanes) {
1797
1790
  remainingLanes = root.entanglements;
1798
1791
  var eventTimes = root.eventTimes;
1799
1792
  for (root = root.expirationTimes; 0 < noLongerPendingLanes; ) {
1800
- var index$8 = 31 - clz32(noLongerPendingLanes),
1801
- lane = 1 << index$8;
1802
- remainingLanes[index$8] = 0;
1803
- eventTimes[index$8] = -1;
1804
- root[index$8] = -1;
1793
+ var index$7 = 31 - clz32(noLongerPendingLanes),
1794
+ lane = 1 << index$7;
1795
+ remainingLanes[index$7] = 0;
1796
+ eventTimes[index$7] = -1;
1797
+ root[index$7] = -1;
1805
1798
  noLongerPendingLanes &= ~lane;
1806
1799
  }
1807
1800
  }
1808
1801
  function markRootEntangled(root, entangledLanes) {
1809
1802
  var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
1810
1803
  for (root = root.entanglements; rootEntangledLanes; ) {
1811
- var index$9 = 31 - clz32(rootEntangledLanes),
1812
- lane = 1 << index$9;
1813
- (lane & entangledLanes) | (root[index$9] & entangledLanes) &&
1814
- (root[index$9] |= entangledLanes);
1804
+ var index$8 = 31 - clz32(rootEntangledLanes),
1805
+ lane = 1 << index$8;
1806
+ (lane & entangledLanes) | (root[index$8] & entangledLanes) &&
1807
+ (root[index$8] |= entangledLanes);
1815
1808
  rootEntangledLanes &= ~lane;
1816
1809
  }
1817
1810
  }
@@ -2185,19 +2178,16 @@ function popProvider(context) {
2185
2178
  pop(valueCursor);
2186
2179
  context._currentValue2 = currentValue;
2187
2180
  }
2188
- function scheduleWorkOnParentPath(parent, renderLanes) {
2181
+ function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) {
2189
2182
  for (; null !== parent; ) {
2190
2183
  var alternate = parent.alternate;
2191
- if ((parent.childLanes & renderLanes) === renderLanes)
2192
- if (
2193
- null === alternate ||
2194
- (alternate.childLanes & renderLanes) === renderLanes
2195
- )
2196
- break;
2197
- else alternate.childLanes |= renderLanes;
2198
- else
2199
- (parent.childLanes |= renderLanes),
2200
- null !== alternate && (alternate.childLanes |= renderLanes);
2184
+ (parent.childLanes & renderLanes) !== renderLanes
2185
+ ? ((parent.childLanes |= renderLanes),
2186
+ null !== alternate && (alternate.childLanes |= renderLanes))
2187
+ : null !== alternate &&
2188
+ (alternate.childLanes & renderLanes) !== renderLanes &&
2189
+ (alternate.childLanes |= renderLanes);
2190
+ if (parent === propagationRoot) break;
2201
2191
  parent = parent.return;
2202
2192
  }
2203
2193
  }
@@ -3666,28 +3656,37 @@ function updateMutableSource(source, getSnapshot, subscribe) {
3666
3656
  var hook = updateWorkInProgressHook();
3667
3657
  return useMutableSource(hook, source, getSnapshot, subscribe);
3668
3658
  }
3669
- function mountSyncExternalStore(subscribe, getSnapshot) {
3659
+ function updateSyncExternalStore(subscribe, getSnapshot) {
3670
3660
  var fiber = currentlyRenderingFiber$1,
3671
- hook = mountWorkInProgressHook();
3672
- var nextSnapshot = getSnapshot();
3673
- var root = workInProgressRoot;
3674
- if (null === root)
3675
- throw Error(
3676
- "Expected a work-in-progress root. This is a bug in React. Please file an issue."
3661
+ hook = updateWorkInProgressHook(),
3662
+ nextSnapshot = getSnapshot(),
3663
+ snapshotChanged = !objectIs(hook.memoizedState, nextSnapshot);
3664
+ snapshotChanged &&
3665
+ ((hook.memoizedState = nextSnapshot), (didReceiveUpdate = !0));
3666
+ hook = hook.queue;
3667
+ updateEffect(subscribeToStore.bind(null, fiber, hook, subscribe), [
3668
+ subscribe
3669
+ ]);
3670
+ if (
3671
+ hook.getSnapshot !== getSnapshot ||
3672
+ snapshotChanged ||
3673
+ (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1)
3674
+ ) {
3675
+ fiber.flags |= 2048;
3676
+ pushEffect(
3677
+ 9,
3678
+ updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot),
3679
+ void 0,
3680
+ null
3677
3681
  );
3678
- includesBlockingLane(root, renderLanes) ||
3679
- pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
3680
- hook.memoizedState = nextSnapshot;
3681
- root = { value: nextSnapshot, getSnapshot: getSnapshot };
3682
- hook.queue = root;
3683
- mountEffect(subscribeToStore.bind(null, fiber, root, subscribe), [subscribe]);
3684
- fiber.flags |= 2048;
3685
- pushEffect(
3686
- 9,
3687
- updateStoreInstance.bind(null, fiber, root, nextSnapshot, getSnapshot),
3688
- void 0,
3689
- null
3690
- );
3682
+ subscribe = workInProgressRoot;
3683
+ if (null === subscribe)
3684
+ throw Error(
3685
+ "Expected a work-in-progress root. This is a bug in React. Please file an issue."
3686
+ );
3687
+ includesBlockingLane(subscribe, renderLanes) ||
3688
+ pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
3689
+ }
3691
3690
  return nextSnapshot;
3692
3691
  }
3693
3692
  function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {
@@ -4075,7 +4074,32 @@ var ContextOnlyDispatcher = {
4075
4074
  };
4076
4075
  return useMutableSource(hook, source, getSnapshot, subscribe);
4077
4076
  },
4078
- useSyncExternalStore: mountSyncExternalStore,
4077
+ useSyncExternalStore: function(subscribe, getSnapshot) {
4078
+ var fiber = currentlyRenderingFiber$1,
4079
+ hook = mountWorkInProgressHook();
4080
+ var nextSnapshot = getSnapshot();
4081
+ var root = workInProgressRoot;
4082
+ if (null === root)
4083
+ throw Error(
4084
+ "Expected a work-in-progress root. This is a bug in React. Please file an issue."
4085
+ );
4086
+ includesBlockingLane(root, renderLanes) ||
4087
+ pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
4088
+ hook.memoizedState = nextSnapshot;
4089
+ root = { value: nextSnapshot, getSnapshot: getSnapshot };
4090
+ hook.queue = root;
4091
+ mountEffect(subscribeToStore.bind(null, fiber, root, subscribe), [
4092
+ subscribe
4093
+ ]);
4094
+ fiber.flags |= 2048;
4095
+ pushEffect(
4096
+ 9,
4097
+ updateStoreInstance.bind(null, fiber, root, nextSnapshot, getSnapshot),
4098
+ void 0,
4099
+ null
4100
+ );
4101
+ return nextSnapshot;
4102
+ },
4079
4103
  useId: function() {
4080
4104
  var hook = mountWorkInProgressHook(),
4081
4105
  identifierPrefix = workInProgressRoot.identifierPrefix,
@@ -4124,46 +4148,7 @@ var ContextOnlyDispatcher = {
4124
4148
  return [isPending, start];
4125
4149
  },
4126
4150
  useMutableSource: updateMutableSource,
4127
- useSyncExternalStore: function(subscribe, getSnapshot) {
4128
- var fiber = currentlyRenderingFiber$1,
4129
- hook = updateWorkInProgressHook(),
4130
- nextSnapshot = getSnapshot(),
4131
- snapshotChanged = !objectIs(hook.memoizedState, nextSnapshot);
4132
- snapshotChanged &&
4133
- ((hook.memoizedState = nextSnapshot), (didReceiveUpdate = !0));
4134
- hook = hook.queue;
4135
- updateEffect(subscribeToStore.bind(null, fiber, hook, subscribe), [
4136
- subscribe
4137
- ]);
4138
- if (
4139
- hook.getSnapshot !== getSnapshot ||
4140
- snapshotChanged ||
4141
- (null !== workInProgressHook &&
4142
- workInProgressHook.memoizedState.tag & 1)
4143
- ) {
4144
- fiber.flags |= 2048;
4145
- pushEffect(
4146
- 9,
4147
- updateStoreInstance.bind(
4148
- null,
4149
- fiber,
4150
- hook,
4151
- nextSnapshot,
4152
- getSnapshot
4153
- ),
4154
- void 0,
4155
- null
4156
- );
4157
- subscribe = workInProgressRoot;
4158
- if (null === subscribe)
4159
- throw Error(
4160
- "Expected a work-in-progress root. This is a bug in React. Please file an issue."
4161
- );
4162
- includesBlockingLane(subscribe, renderLanes) ||
4163
- pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
4164
- }
4165
- return nextSnapshot;
4166
- },
4151
+ useSyncExternalStore: updateSyncExternalStore,
4167
4152
  useId: updateId,
4168
4153
  unstable_isNewReconciler: !1
4169
4154
  },
@@ -4206,7 +4191,7 @@ var ContextOnlyDispatcher = {
4206
4191
  return [isPending, start];
4207
4192
  },
4208
4193
  useMutableSource: updateMutableSource,
4209
- useSyncExternalStore: mountSyncExternalStore,
4194
+ useSyncExternalStore: updateSyncExternalStore,
4210
4195
  useId: updateId,
4211
4196
  unstable_isNewReconciler: !1
4212
4197
  };
@@ -4454,14 +4439,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
4454
4439
  break;
4455
4440
  case "collapsed":
4456
4441
  lastTailNode = renderState.tail;
4457
- for (var lastTailNode$36 = null; null !== lastTailNode; )
4458
- null !== lastTailNode.alternate && (lastTailNode$36 = lastTailNode),
4442
+ for (var lastTailNode$35 = null; null !== lastTailNode; )
4443
+ null !== lastTailNode.alternate && (lastTailNode$35 = lastTailNode),
4459
4444
  (lastTailNode = lastTailNode.sibling);
4460
- null === lastTailNode$36
4445
+ null === lastTailNode$35
4461
4446
  ? hasRenderedATailFallback || null === renderState.tail
4462
4447
  ? (renderState.tail = null)
4463
4448
  : (renderState.tail.sibling = null)
4464
- : (lastTailNode$36.sibling = null);
4449
+ : (lastTailNode$35.sibling = null);
4465
4450
  }
4466
4451
  }
4467
4452
  function bubbleProperties(completedWork) {
@@ -4471,19 +4456,19 @@ function bubbleProperties(completedWork) {
4471
4456
  newChildLanes = 0,
4472
4457
  subtreeFlags = 0;
4473
4458
  if (didBailout)
4474
- for (var child$37 = completedWork.child; null !== child$37; )
4475
- (newChildLanes |= child$37.lanes | child$37.childLanes),
4476
- (subtreeFlags |= child$37.subtreeFlags & 14680064),
4477
- (subtreeFlags |= child$37.flags & 14680064),
4478
- (child$37.return = completedWork),
4479
- (child$37 = child$37.sibling);
4459
+ for (var child$36 = completedWork.child; null !== child$36; )
4460
+ (newChildLanes |= child$36.lanes | child$36.childLanes),
4461
+ (subtreeFlags |= child$36.subtreeFlags & 14680064),
4462
+ (subtreeFlags |= child$36.flags & 14680064),
4463
+ (child$36.return = completedWork),
4464
+ (child$36 = child$36.sibling);
4480
4465
  else
4481
- for (child$37 = completedWork.child; null !== child$37; )
4482
- (newChildLanes |= child$37.lanes | child$37.childLanes),
4483
- (subtreeFlags |= child$37.subtreeFlags),
4484
- (subtreeFlags |= child$37.flags),
4485
- (child$37.return = completedWork),
4486
- (child$37 = child$37.sibling);
4466
+ for (child$36 = completedWork.child; null !== child$36; )
4467
+ (newChildLanes |= child$36.lanes | child$36.childLanes),
4468
+ (subtreeFlags |= child$36.subtreeFlags),
4469
+ (subtreeFlags |= child$36.flags),
4470
+ (child$36.return = completedWork),
4471
+ (child$36 = child$36.sibling);
4487
4472
  completedWork.subtreeFlags |= subtreeFlags;
4488
4473
  completedWork.childLanes = newChildLanes;
4489
4474
  return didBailout;
@@ -5548,11 +5533,11 @@ function updateSuspenseFallbackChildren(
5548
5533
  workInProgress.child = current;
5549
5534
  return fallbackChildren;
5550
5535
  }
5551
- function scheduleWorkOnFiber(fiber, renderLanes) {
5536
+ function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {
5552
5537
  fiber.lanes |= renderLanes;
5553
5538
  var alternate = fiber.alternate;
5554
5539
  null !== alternate && (alternate.lanes |= renderLanes);
5555
- scheduleWorkOnParentPath(fiber.return, renderLanes);
5540
+ scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot);
5556
5541
  }
5557
5542
  function initSuspenseListRenderState(
5558
5543
  workInProgress,
@@ -5591,8 +5576,9 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) {
5591
5576
  a: for (current = workInProgress.child; null !== current; ) {
5592
5577
  if (13 === current.tag)
5593
5578
  null !== current.memoizedState &&
5594
- scheduleWorkOnFiber(current, renderLanes);
5595
- else if (19 === current.tag) scheduleWorkOnFiber(current, renderLanes);
5579
+ scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);
5580
+ else if (19 === current.tag)
5581
+ scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);
5596
5582
  else if (null !== current.child) {
5597
5583
  current.child.return = current;
5598
5584
  current = current.child;
@@ -5906,8 +5892,8 @@ function commitHookEffectListMount(flags, finishedWork) {
5906
5892
  var effect = (finishedWork = finishedWork.next);
5907
5893
  do {
5908
5894
  if ((effect.tag & flags) === flags) {
5909
- var create$81 = effect.create;
5910
- effect.destroy = create$81();
5895
+ var create$80 = effect.create;
5896
+ effect.destroy = create$80();
5911
5897
  }
5912
5898
  effect = effect.next;
5913
5899
  } while (effect !== finishedWork);
@@ -6084,8 +6070,8 @@ function commitMutationEffects(root, firstChild) {
6084
6070
  switch (root.tag) {
6085
6071
  case 13:
6086
6072
  if (null !== root.memoizedState) {
6087
- var current$85 = root.alternate;
6088
- if (null === current$85 || null === current$85.memoizedState)
6073
+ var current$84 = root.alternate;
6074
+ if (null === current$84 || null === current$84.memoizedState)
6089
6075
  globalMostRecentFallbackTime = now();
6090
6076
  }
6091
6077
  }
@@ -6162,8 +6148,8 @@ function commitLayoutEffects(finishedWork) {
6162
6148
  commitUpdateQueue(firstChild, updateQueue, instance);
6163
6149
  break;
6164
6150
  case 3:
6165
- var updateQueue$82 = firstChild.updateQueue;
6166
- if (null !== updateQueue$82) {
6151
+ var updateQueue$81 = firstChild.updateQueue;
6152
+ if (null !== updateQueue$81) {
6167
6153
  current = null;
6168
6154
  if (null !== firstChild.child)
6169
6155
  switch (firstChild.child.tag) {
@@ -6173,7 +6159,7 @@ function commitLayoutEffects(finishedWork) {
6173
6159
  case 1:
6174
6160
  current = firstChild.child.stateNode;
6175
6161
  }
6176
- commitUpdateQueue(firstChild, updateQueue$82, current);
6162
+ commitUpdateQueue(firstChild, updateQueue$81, current);
6177
6163
  }
6178
6164
  break;
6179
6165
  case 5:
@@ -6250,8 +6236,9 @@ var ceil = Math.ceil,
6250
6236
  workInProgressRootFatalError = null,
6251
6237
  workInProgressRootSkippedLanes = 0,
6252
6238
  workInProgressRootInterleavedUpdatedLanes = 0,
6253
- workInProgressRootRenderPhaseUpdatedLanes = 0,
6254
6239
  workInProgressRootPingedLanes = 0,
6240
+ workInProgressRootConcurrentErrors = null,
6241
+ workInProgressRootRecoverableErrors = null,
6255
6242
  globalMostRecentFallbackTime = 0,
6256
6243
  workInProgressRootRenderTargetTime = Infinity,
6257
6244
  hasUncaughtError = !1,
@@ -6310,19 +6297,18 @@ function scheduleUpdateOnFiber(fiber, lane, eventTime) {
6310
6297
  var root = markUpdateLaneFromFiberToRoot(fiber, lane);
6311
6298
  if (null === root) return null;
6312
6299
  markRootUpdated(root, lane, eventTime);
6313
- 0 !== (executionContext & 2) && root === workInProgressRoot
6314
- ? (workInProgressRootRenderPhaseUpdatedLanes |= lane)
6315
- : (root === workInProgressRoot &&
6316
- (0 === (executionContext & 2) &&
6317
- (workInProgressRootInterleavedUpdatedLanes |= lane),
6318
- 4 === workInProgressRootExitStatus &&
6319
- markRootSuspended$1(root, workInProgressRootRenderLanes)),
6300
+ if (0 === (executionContext & 2) || root !== workInProgressRoot)
6301
+ root === workInProgressRoot &&
6302
+ (0 === (executionContext & 2) &&
6303
+ (workInProgressRootInterleavedUpdatedLanes |= lane),
6304
+ 4 === workInProgressRootExitStatus &&
6305
+ markRootSuspended$1(root, workInProgressRootRenderLanes)),
6320
6306
  ensureRootIsScheduled(root, eventTime),
6321
6307
  1 === lane &&
6322
6308
  0 === executionContext &&
6323
6309
  0 === (fiber.mode & 1) &&
6324
6310
  ((workInProgressRootRenderTargetTime = now() + 500),
6325
- includesLegacySyncCallbacks && flushSyncCallbacks()));
6311
+ includesLegacySyncCallbacks && flushSyncCallbacks());
6326
6312
  return root;
6327
6313
  }
6328
6314
  function markUpdateLaneFromFiberToRoot(sourceFiber, lane) {
@@ -6348,12 +6334,12 @@ function ensureRootIsScheduled(root, currentTime) {
6348
6334
  0 < lanes;
6349
6335
 
6350
6336
  ) {
6351
- var index$6 = 31 - clz32(lanes),
6352
- lane = 1 << index$6,
6353
- expirationTime = expirationTimes[index$6];
6337
+ var index$5 = 31 - clz32(lanes),
6338
+ lane = 1 << index$5,
6339
+ expirationTime = expirationTimes[index$5];
6354
6340
  if (-1 === expirationTime) {
6355
6341
  if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
6356
- expirationTimes[index$6] = computeExpirationTime(lane, currentTime);
6342
+ expirationTimes[index$5] = computeExpirationTime(lane, currentTime);
6357
6343
  } else expirationTime <= currentTime && (root.expiredLanes |= lane);
6358
6344
  lanes &= ~lane;
6359
6345
  }
@@ -6493,7 +6479,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
6493
6479
  case 1:
6494
6480
  throw Error("Root did not complete. This is a bug in React.");
6495
6481
  case 2:
6496
- commitRoot(root);
6482
+ commitRoot(root, workInProgressRootRecoverableErrors);
6497
6483
  break;
6498
6484
  case 3:
6499
6485
  markRootSuspended$1(root, lanes);
@@ -6510,22 +6496,22 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
6510
6496
  break;
6511
6497
  }
6512
6498
  root.timeoutHandle = scheduleTimeout(
6513
- commitRoot.bind(null, root),
6499
+ commitRoot.bind(null, root, workInProgressRootRecoverableErrors),
6514
6500
  didTimeout
6515
6501
  );
6516
6502
  break;
6517
6503
  }
6518
- commitRoot(root);
6504
+ commitRoot(root, workInProgressRootRecoverableErrors);
6519
6505
  break;
6520
6506
  case 4:
6521
6507
  markRootSuspended$1(root, lanes);
6522
6508
  if ((lanes & 4194240) === lanes) break;
6523
6509
  didTimeout = root.eventTimes;
6524
6510
  for (prevExecutionContext = -1; 0 < lanes; ) {
6525
- var index$5 = 31 - clz32(lanes);
6526
- prevDispatcher = 1 << index$5;
6527
- index$5 = didTimeout[index$5];
6528
- index$5 > prevExecutionContext && (prevExecutionContext = index$5);
6511
+ var index$4 = 31 - clz32(lanes);
6512
+ prevDispatcher = 1 << index$4;
6513
+ index$4 = didTimeout[index$4];
6514
+ index$4 > prevExecutionContext && (prevExecutionContext = index$4);
6529
6515
  lanes &= ~prevDispatcher;
6530
6516
  }
6531
6517
  lanes = prevExecutionContext;
@@ -6546,15 +6532,15 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
6546
6532
  : 1960 * ceil(lanes / 1960)) - lanes;
6547
6533
  if (10 < lanes) {
6548
6534
  root.timeoutHandle = scheduleTimeout(
6549
- commitRoot.bind(null, root),
6535
+ commitRoot.bind(null, root, workInProgressRootRecoverableErrors),
6550
6536
  lanes
6551
6537
  );
6552
6538
  break;
6553
6539
  }
6554
- commitRoot(root);
6540
+ commitRoot(root, workInProgressRootRecoverableErrors);
6555
6541
  break;
6556
6542
  case 5:
6557
- commitRoot(root);
6543
+ commitRoot(root, workInProgressRootRecoverableErrors);
6558
6544
  break;
6559
6545
  default:
6560
6546
  throw Error("Unknown root exit status.");
@@ -6569,15 +6555,18 @@ function recoverFromConcurrentError(root, errorRetryLanes) {
6569
6555
  var prevExecutionContext = executionContext;
6570
6556
  executionContext |= 8;
6571
6557
  root.isDehydrated && (root.isDehydrated = !1);
6572
- for (
6573
- var exitStatus, i = 0;
6574
- 50 > i &&
6575
- ((exitStatus = renderRootSync(root, errorRetryLanes)),
6576
- 2 === exitStatus && 0 !== workInProgressRootRenderPhaseUpdatedLanes);
6577
- i++
6578
- );
6558
+ var errorsFromFirstAttempt = workInProgressRootConcurrentErrors;
6559
+ root = renderRootSync(root, errorRetryLanes);
6560
+ 2 !== root &&
6561
+ null !== errorsFromFirstAttempt &&
6562
+ (null === workInProgressRootConcurrentErrors
6563
+ ? (workInProgressRootRecoverableErrors = errorsFromFirstAttempt)
6564
+ : (workInProgressRootConcurrentErrors = workInProgressRootConcurrentErrors.push.apply(
6565
+ null,
6566
+ errorsFromFirstAttempt
6567
+ )));
6579
6568
  executionContext = prevExecutionContext;
6580
- return exitStatus;
6569
+ return root;
6581
6570
  }
6582
6571
  function isRenderConsistentWithExternalStores(finishedWork) {
6583
6572
  for (var node = finishedWork; ; ) {
@@ -6619,9 +6608,9 @@ function markRootSuspended$1(root, suspendedLanes) {
6619
6608
  root.suspendedLanes |= suspendedLanes;
6620
6609
  root.pingedLanes &= ~suspendedLanes;
6621
6610
  for (root = root.expirationTimes; 0 < suspendedLanes; ) {
6622
- var index$7 = 31 - clz32(suspendedLanes),
6623
- lane = 1 << index$7;
6624
- root[index$7] = -1;
6611
+ var index$6 = 31 - clz32(suspendedLanes),
6612
+ lane = 1 << index$6;
6613
+ root[index$6] = -1;
6625
6614
  suspendedLanes &= ~lane;
6626
6615
  }
6627
6616
  }
@@ -6646,7 +6635,7 @@ function performSyncWorkOnRoot(root) {
6646
6635
  exitStatus);
6647
6636
  root.finishedWork = root.current.alternate;
6648
6637
  root.finishedLanes = lanes;
6649
- commitRoot(root);
6638
+ commitRoot(root, workInProgressRootRecoverableErrors);
6650
6639
  ensureRootIsScheduled(root, now());
6651
6640
  return null;
6652
6641
  }
@@ -6703,7 +6692,8 @@ function prepareFreshStack(root, lanes) {
6703
6692
  workInProgressRootRenderLanes = subtreeRenderLanes = lanes;
6704
6693
  workInProgressRootExitStatus = 0;
6705
6694
  workInProgressRootFatalError = null;
6706
- workInProgressRootPingedLanes = workInProgressRootRenderPhaseUpdatedLanes = workInProgressRootInterleavedUpdatedLanes = workInProgressRootSkippedLanes = 0;
6695
+ workInProgressRootPingedLanes = workInProgressRootInterleavedUpdatedLanes = workInProgressRootSkippedLanes = 0;
6696
+ workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = null;
6707
6697
  if (null !== interleavedQueues) {
6708
6698
  for (root = 0; root < interleavedQueues.length; root++)
6709
6699
  if (
@@ -6871,8 +6861,12 @@ function handleError(root$jscomp$0, thrownValue) {
6871
6861
  " suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."
6872
6862
  );
6873
6863
  }
6864
+ root = value;
6874
6865
  4 !== workInProgressRootExitStatus &&
6875
6866
  (workInProgressRootExitStatus = 2);
6867
+ null === workInProgressRootConcurrentErrors
6868
+ ? (workInProgressRootConcurrentErrors = [root])
6869
+ : workInProgressRootConcurrentErrors.push(root);
6876
6870
  value = createCapturedValue(value, sourceFiber);
6877
6871
  root = returnFiber;
6878
6872
  do {
@@ -6904,12 +6898,12 @@ function handleError(root$jscomp$0, thrownValue) {
6904
6898
  root.flags |= 65536;
6905
6899
  thrownValue &= -thrownValue;
6906
6900
  root.lanes |= thrownValue;
6907
- var update$32 = createClassErrorUpdate(
6901
+ var update$31 = createClassErrorUpdate(
6908
6902
  root,
6909
6903
  wakeable,
6910
6904
  thrownValue
6911
6905
  );
6912
- enqueueCapturedUpdate(root, update$32);
6906
+ enqueueCapturedUpdate(root, update$31);
6913
6907
  break a;
6914
6908
  }
6915
6909
  }
@@ -7004,20 +6998,20 @@ function completeUnitOfWork(unitOfWork) {
7004
6998
  } while (null !== completedWork);
7005
6999
  0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 5);
7006
7000
  }
7007
- function commitRoot(root) {
7001
+ function commitRoot(root, recoverableErrors) {
7008
7002
  var previousUpdateLanePriority = currentUpdatePriority,
7009
7003
  prevTransition = ReactCurrentBatchConfig$2.transition;
7010
7004
  try {
7011
7005
  (ReactCurrentBatchConfig$2.transition = 0),
7012
7006
  (currentUpdatePriority = 1),
7013
- commitRootImpl(root, previousUpdateLanePriority);
7007
+ commitRootImpl(root, recoverableErrors, previousUpdateLanePriority);
7014
7008
  } finally {
7015
7009
  (ReactCurrentBatchConfig$2.transition = prevTransition),
7016
7010
  (currentUpdatePriority = previousUpdateLanePriority);
7017
7011
  }
7018
7012
  return null;
7019
7013
  }
7020
- function commitRootImpl(root, renderPriorityLevel) {
7014
+ function commitRootImpl(root, recoverableErrors, renderPriorityLevel) {
7021
7015
  do flushPassiveEffects();
7022
7016
  while (null !== rootWithPendingPassiveEffects);
7023
7017
  if (0 !== (executionContext & 6))
@@ -7072,6 +7066,15 @@ function commitRootImpl(root, renderPriorityLevel) {
7072
7066
  0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
7073
7067
  onCommitRoot(finishedWork.stateNode, renderPriorityLevel);
7074
7068
  ensureRootIsScheduled(root, now());
7069
+ if (null !== recoverableErrors)
7070
+ for (
7071
+ renderPriorityLevel = 0;
7072
+ renderPriorityLevel < recoverableErrors.length;
7073
+ renderPriorityLevel++
7074
+ )
7075
+ (finishedWork = recoverableErrors[renderPriorityLevel]),
7076
+ (lanes = root.onRecoverableError),
7077
+ null !== lanes && lanes(finishedWork);
7075
7078
  if (hasUncaughtError)
7076
7079
  throw ((hasUncaughtError = !1),
7077
7080
  (root = firstUncaughtError),
@@ -7644,7 +7647,11 @@ beginWork$1 = function(current, workInProgress, renderLanes) {
7644
7647
  newValue.lanes |= renderLanes;
7645
7648
  dependency = newValue.alternate;
7646
7649
  null !== dependency && (dependency.lanes |= renderLanes);
7647
- scheduleWorkOnParentPath(newValue.return, renderLanes);
7650
+ scheduleContextWorkOnParentPath(
7651
+ newValue.return,
7652
+ renderLanes,
7653
+ workInProgress
7654
+ );
7648
7655
  list.lanes |= renderLanes;
7649
7656
  break;
7650
7657
  }
@@ -7949,7 +7956,13 @@ function createFiberFromPortal(portal, mode, lanes) {
7949
7956
  };
7950
7957
  return mode;
7951
7958
  }
7952
- function FiberRootNode(containerInfo, tag, hydrate, identifierPrefix) {
7959
+ function FiberRootNode(
7960
+ containerInfo,
7961
+ tag,
7962
+ hydrate,
7963
+ identifierPrefix,
7964
+ onRecoverableError
7965
+ ) {
7953
7966
  this.tag = tag;
7954
7967
  this.containerInfo = containerInfo;
7955
7968
  this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;
@@ -7963,6 +7976,7 @@ function FiberRootNode(containerInfo, tag, hydrate, identifierPrefix) {
7963
7976
  this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;
7964
7977
  this.entanglements = createLaneMap(0);
7965
7978
  this.identifierPrefix = identifierPrefix;
7979
+ this.onRecoverableError = onRecoverableError;
7966
7980
  }
7967
7981
  function createPortal(children, containerInfo, implementation) {
7968
7982
  var key =
@@ -8166,10 +8180,10 @@ batchedUpdatesImpl = function(fn, a) {
8166
8180
  }
8167
8181
  };
8168
8182
  var roots = new Map(),
8169
- devToolsConfig$jscomp$inline_926 = {
8183
+ devToolsConfig$jscomp$inline_927 = {
8170
8184
  findFiberByHostInstance: getInstanceFromInstance,
8171
8185
  bundleType: 0,
8172
- version: "18.0.0-rc.0-51947a14b-20220113",
8186
+ version: "18.0.0-rc.0-a3bde7974-20220208",
8173
8187
  rendererPackageName: "react-native-renderer",
8174
8188
  rendererConfig: {
8175
8189
  getInspectorDataForViewTag: function() {
@@ -8184,11 +8198,11 @@ var roots = new Map(),
8184
8198
  }.bind(null, findNodeHandle)
8185
8199
  }
8186
8200
  };
8187
- var internals$jscomp$inline_1179 = {
8188
- bundleType: devToolsConfig$jscomp$inline_926.bundleType,
8189
- version: devToolsConfig$jscomp$inline_926.version,
8190
- rendererPackageName: devToolsConfig$jscomp$inline_926.rendererPackageName,
8191
- rendererConfig: devToolsConfig$jscomp$inline_926.rendererConfig,
8201
+ var internals$jscomp$inline_1181 = {
8202
+ bundleType: devToolsConfig$jscomp$inline_927.bundleType,
8203
+ version: devToolsConfig$jscomp$inline_927.version,
8204
+ rendererPackageName: devToolsConfig$jscomp$inline_927.rendererPackageName,
8205
+ rendererConfig: devToolsConfig$jscomp$inline_927.rendererConfig,
8192
8206
  overrideHookState: null,
8193
8207
  overrideHookStateDeletePath: null,
8194
8208
  overrideHookStateRenamePath: null,
@@ -8204,29 +8218,26 @@ var internals$jscomp$inline_1179 = {
8204
8218
  return null === fiber ? null : fiber.stateNode;
8205
8219
  },
8206
8220
  findFiberByHostInstance:
8207
- devToolsConfig$jscomp$inline_926.findFiberByHostInstance ||
8221
+ devToolsConfig$jscomp$inline_927.findFiberByHostInstance ||
8208
8222
  emptyFindFiberByHostInstance,
8209
8223
  findHostInstancesForRefresh: null,
8210
8224
  scheduleRefresh: null,
8211
8225
  scheduleRoot: null,
8212
8226
  setRefreshHandler: null,
8213
8227
  getCurrentFiber: null,
8214
- reconcilerVersion: "18.0.0-rc.0-51947a14b-20220113"
8228
+ reconcilerVersion: "18.0.0-rc.0-a3bde7974-20220208"
8215
8229
  };
8216
8230
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
8217
- var hook$jscomp$inline_1180 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
8231
+ var hook$jscomp$inline_1182 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
8218
8232
  if (
8219
- !hook$jscomp$inline_1180.isDisabled &&
8220
- hook$jscomp$inline_1180.supportsFiber
8233
+ !hook$jscomp$inline_1182.isDisabled &&
8234
+ hook$jscomp$inline_1182.supportsFiber
8221
8235
  )
8222
8236
  try {
8223
- (rendererID = hook$jscomp$inline_1180.inject(
8224
- Object.assign({}, internals$jscomp$inline_1179, {
8225
- getLaneLabelMap: getLaneLabelMap,
8226
- injectProfilingHooks: injectProfilingHooks
8227
- })
8237
+ (rendererID = hook$jscomp$inline_1182.inject(
8238
+ internals$jscomp$inline_1181
8228
8239
  )),
8229
- (injectedHook = hook$jscomp$inline_1180);
8240
+ (injectedHook = hook$jscomp$inline_1182);
8230
8241
  } catch (err) {}
8231
8242
  }
8232
8243
  exports.createPortal = function(children, containerTag) {
@@ -8266,7 +8277,7 @@ exports.render = function(element, containerTag, callback, concurrentRoot) {
8266
8277
  var root = roots.get(containerTag);
8267
8278
  root ||
8268
8279
  ((root = concurrentRoot ? 1 : 0),
8269
- (concurrentRoot = new FiberRootNode(containerTag, root, !1, "")),
8280
+ (concurrentRoot = new FiberRootNode(containerTag, root, !1, "", null)),
8270
8281
  (root = createFiber(3, null, null, 1 === root ? 1 : 0)),
8271
8282
  (concurrentRoot.current = root),
8272
8283
  (root.stateNode = concurrentRoot),