@office-iss/react-native-win32 0.0.0-canary.312 → 0.0.0-canary.315

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 (686) hide show
  1. package/.flowconfig +83 -71
  2. package/CHANGELOG.json +111 -0
  3. package/CHANGELOG.md +36 -1
  4. package/IntegrationTests/AppEventsTest.js +3 -3
  5. package/IntegrationTests/GlobalEvalWithSourceUrlTest.js +22 -9
  6. package/IntegrationTests/IntegrationTestsApp.js +3 -3
  7. package/IntegrationTests/LayoutEventsTest.js +3 -4
  8. package/IntegrationTests/LoggingTestModule.js +1 -1
  9. package/IntegrationTests/PromiseTest.js +1 -0
  10. package/IntegrationTests/RNTesterDeepEquals.js +51 -0
  11. package/IntegrationTests/TimersTest.js +38 -12
  12. package/Libraries/ActionSheetIOS/ActionSheetIOS.js +23 -25
  13. package/Libraries/Alert/Alert.js +60 -26
  14. package/Libraries/Alert/Alert.win32.js +42 -7
  15. package/Libraries/Animated/AnimatedEvent.js +35 -14
  16. package/Libraries/Animated/AnimatedExports.js +27 -3
  17. package/Libraries/Animated/AnimatedExports.js.flow +2 -2
  18. package/Libraries/Animated/AnimatedImplementation.js +157 -27
  19. package/Libraries/Animated/AnimatedMock.js +3 -1
  20. package/Libraries/Animated/AnimationTimingUtils.js +39 -0
  21. package/Libraries/Animated/Easing.js +4 -3
  22. package/Libraries/Animated/NativeAnimatedAllowlist.js +58 -12
  23. package/Libraries/Animated/animations/Animation.js +14 -5
  24. package/Libraries/Animated/animations/DecayAnimation.js +6 -3
  25. package/Libraries/Animated/animations/SpringAnimation.js +8 -4
  26. package/Libraries/Animated/animations/TimingAnimation.js +16 -4
  27. package/Libraries/Animated/bezier.js +39 -124
  28. package/Libraries/Animated/components/AnimatedFlatList.js +4 -2
  29. package/Libraries/Animated/components/AnimatedImage.js +5 -4
  30. package/Libraries/Animated/components/AnimatedScrollView.js +9 -10
  31. package/Libraries/Animated/components/AnimatedSectionList.js +4 -2
  32. package/Libraries/Animated/components/AnimatedText.js +3 -3
  33. package/Libraries/Animated/createAnimatedComponent.js +35 -32
  34. package/Libraries/Animated/nodes/AnimatedAddition.js +9 -3
  35. package/Libraries/Animated/nodes/AnimatedColor.js +31 -21
  36. package/Libraries/Animated/nodes/AnimatedDiffClamp.js +11 -3
  37. package/Libraries/Animated/nodes/AnimatedDivision.js +9 -3
  38. package/Libraries/Animated/nodes/AnimatedInterpolation.js +154 -39
  39. package/Libraries/Animated/nodes/AnimatedModulo.js +10 -3
  40. package/Libraries/Animated/nodes/AnimatedMultiplication.js +9 -3
  41. package/Libraries/Animated/nodes/AnimatedNode.js +82 -8
  42. package/Libraries/Animated/nodes/AnimatedObject.js +15 -7
  43. package/Libraries/Animated/nodes/AnimatedProps.js +37 -7
  44. package/Libraries/Animated/nodes/AnimatedStyle.js +7 -3
  45. package/Libraries/Animated/nodes/AnimatedSubtraction.js +9 -3
  46. package/Libraries/Animated/nodes/AnimatedTracking.js +23 -9
  47. package/Libraries/Animated/nodes/AnimatedTransform.js +8 -2
  48. package/Libraries/Animated/nodes/AnimatedValue.js +30 -76
  49. package/Libraries/Animated/nodes/AnimatedValueXY.js +16 -11
  50. package/Libraries/AppState/AppState.js +34 -23
  51. package/Libraries/AppState/useAppState.d.ts +20 -0
  52. package/Libraries/AppState/useAppState.js +64 -0
  53. package/Libraries/BatchedBridge/MessageQueue.js +43 -53
  54. package/Libraries/BatchedBridge/NativeModules.js +8 -1
  55. package/Libraries/Blob/Blob.js +8 -2
  56. package/Libraries/Blob/File.js +3 -1
  57. package/Libraries/Blob/FileReader.js +86 -26
  58. package/Libraries/Blob/URL.js +10 -7
  59. package/Libraries/Blob/URLSearchParams.js +13 -7
  60. package/Libraries/Blob/URLSearchParams.js.flow +6 -6
  61. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +25 -8
  62. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +94 -68
  63. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.win32.js +97 -71
  64. package/Libraries/Components/AccessibilityInfo/__tests__/AccessibilityInfoWin32-test.js +75 -0
  65. package/Libraries/Components/ActivityIndicator/ActivityIndicator.js +67 -54
  66. package/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js +2 -2
  67. package/Libraries/Components/Button/ButtonWin32.js +1 -1
  68. package/Libraries/Components/Button/ButtonWin32.js.map +1 -1
  69. package/Libraries/Components/Button.js +101 -195
  70. package/Libraries/Components/Button.win32.js +101 -195
  71. package/Libraries/Components/Clipboard/Clipboard.js +5 -0
  72. package/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js +2 -2
  73. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +12 -71
  74. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js +2 -0
  75. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js +1 -1
  76. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.js +28 -33
  77. package/Libraries/Components/Keyboard/Keyboard.js +28 -67
  78. package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +22 -11
  79. package/Libraries/Components/LayoutConformance/LayoutConformance.js +1 -27
  80. package/Libraries/Components/Pressable/Pressable.js +49 -25
  81. package/Libraries/Components/Pressable/Pressable.win32.js +55 -31
  82. package/Libraries/Components/Pressable/useAndroidRippleForView.js +7 -8
  83. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js +5 -6
  84. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js +4 -4
  85. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.js +2 -2
  86. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.js +17 -0
  87. package/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js +2 -2
  88. package/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js +2 -2
  89. package/Libraries/Components/RefreshControl/RefreshControl.js +41 -52
  90. package/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js +2 -2
  91. package/Libraries/Components/SafeAreaView/SafeAreaView.js +8 -8
  92. package/Libraries/Components/SafeAreaView/SafeAreaView.win32.js +8 -8
  93. package/Libraries/Components/ScrollView/AndroidHorizontalScrollContentViewNativeComponent.js +2 -2
  94. package/Libraries/Components/ScrollView/ScrollView.js +223 -134
  95. package/Libraries/Components/ScrollView/ScrollViewCommands.js +6 -6
  96. package/Libraries/Components/ScrollView/ScrollViewNativeComponentType.js +1 -4
  97. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +4 -4
  98. package/Libraries/Components/StatusBar/StatusBar.js +113 -174
  99. package/Libraries/Components/Switch/AndroidSwitchNativeComponent.js +2 -2
  100. package/Libraries/Components/Switch/Switch.js +86 -84
  101. package/Libraries/Components/Switch/SwitchNativeComponent.js +2 -2
  102. package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +31 -16
  103. package/Libraries/Components/TextInput/InputAccessoryView.js +22 -62
  104. package/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js +2 -2
  105. package/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js +1 -1
  106. package/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js +2 -2
  107. package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +5 -1
  108. package/Libraries/Components/TextInput/TextInput.flow.js +51 -52
  109. package/Libraries/Components/TextInput/TextInput.flow.win32.js +52 -53
  110. package/Libraries/Components/TextInput/TextInput.js +176 -178
  111. package/Libraries/Components/TextInput/TextInput.win32.js +129 -132
  112. package/Libraries/Components/TextInput/TextInputNativeCommands.js +3 -3
  113. package/Libraries/Components/TextInput/TextInputState.js +1 -1
  114. package/Libraries/Components/TextInput/TextInputState.win32.js +1 -1
  115. package/Libraries/Components/ToastAndroid/ToastAndroid.android.js +30 -24
  116. package/Libraries/Components/ToastAndroid/ToastAndroidFallback.js +5 -5
  117. package/Libraries/Components/Touchable/PooledClass.js +11 -5
  118. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js +2 -2
  119. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js.map +1 -1
  120. package/Libraries/Components/Touchable/Touchable.js +100 -101
  121. package/Libraries/Components/Touchable/Touchable.win32.js +105 -106
  122. package/Libraries/Components/Touchable/TouchableHighlight.js +46 -122
  123. package/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +2 -4
  124. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +20 -46
  125. package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js +20 -45
  126. package/Libraries/Components/Touchable/TouchableOpacity.js +14 -93
  127. package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +89 -90
  128. package/Libraries/Components/UnimplementedViews/UnimplementedNativeViewNativeComponent.js +2 -2
  129. package/Libraries/Components/View/ReactNativeStyleAttributes.js +24 -2
  130. package/Libraries/Components/View/View.js +43 -19
  131. package/Libraries/Components/View/View.win32.js +34 -7
  132. package/Libraries/Components/View/ViewAccessibility.d.ts +26 -5
  133. package/Libraries/Components/View/ViewAccessibility.js +30 -9
  134. package/Libraries/Components/View/ViewAccessibility.win32.js +30 -9
  135. package/Libraries/Components/View/ViewNativeComponent.js +4 -6
  136. package/Libraries/Components/View/ViewPropTypes.d.ts +14 -9
  137. package/Libraries/Components/View/ViewPropTypes.js +96 -29
  138. package/Libraries/Components/View/ViewPropTypes.win32.js +102 -35
  139. package/Libraries/Core/Devtools/loadBundleFromServer.js +8 -0
  140. package/Libraries/Core/Devtools/loadBundleFromServer.win32.js +8 -0
  141. package/Libraries/Core/ExceptionsManager.js +3 -9
  142. package/Libraries/Core/InitializeCore.js +9 -14
  143. package/Libraries/Core/ReactFiberErrorDialog.js +6 -6
  144. package/Libraries/Core/ReactNativeVersion.js +2 -2
  145. package/Libraries/Core/ReactNativeVersionCheck.js +1 -1
  146. package/Libraries/Core/ReactNativeVersionCheck.win32.js +1 -1
  147. package/Libraries/Core/Timers/JSTimers.js +96 -76
  148. package/Libraries/Core/Timers/immediateShim.js +6 -4
  149. package/Libraries/Core/Timers/queueMicrotask.js +3 -4
  150. package/Libraries/Core/polyfillArrayES2023Methods.js +40 -0
  151. package/Libraries/Core/setUpBatchedBridge.js +1 -1
  152. package/Libraries/Core/setUpGlobals.js +9 -4
  153. package/Libraries/Core/setUpNavigator.js +6 -1
  154. package/Libraries/Core/setUpPerformance.js +4 -21
  155. package/Libraries/Core/setUpReactDevTools.js +10 -107
  156. package/Libraries/Core/setUpReactRefresh.js +2 -1
  157. package/Libraries/Core/setUpSegmentFetcher.js +1 -1
  158. package/Libraries/Core/setUpTimers.js +0 -6
  159. package/Libraries/Core/setUpXHR.js +6 -2
  160. package/Libraries/Debugging/DebuggingOverlay.js +2 -2
  161. package/Libraries/Debugging/DebuggingOverlayNativeComponent.js +2 -2
  162. package/Libraries/Debugging/DebuggingOverlayRegistry.js +1 -1
  163. package/Libraries/EventEmitter/NativeEventEmitter.js +40 -9
  164. package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +15 -8
  165. package/Libraries/EventEmitter/RCTEventEmitter.js +16 -2
  166. package/Libraries/EventEmitter/RCTNativeAppEventEmitter.js +3 -0
  167. package/Libraries/Image/AssetSourceResolver.js +19 -27
  168. package/Libraries/Image/Image.android.js +33 -50
  169. package/Libraries/Image/Image.ios.js +110 -64
  170. package/Libraries/Image/Image.win32.js +123 -81
  171. package/Libraries/Image/ImageBackground.js +30 -18
  172. package/Libraries/Image/ImageInjection.js +12 -23
  173. package/Libraries/Image/ImageProps.js +145 -125
  174. package/Libraries/Image/ImageSource.js +10 -12
  175. package/Libraries/Image/ImageSourceUtils.js +19 -8
  176. package/Libraries/Image/ImageTypes.flow.js +2 -0
  177. package/Libraries/Image/ImageViewNativeComponent.js +1 -1
  178. package/Libraries/Image/RelativeImageStub.js +3 -3
  179. package/Libraries/Image/resolveAssetSource.js +1 -1
  180. package/Libraries/Interaction/PanResponder.js +103 -98
  181. package/Libraries/LayoutAnimation/LayoutAnimation.js +36 -20
  182. package/Libraries/Linking/Linking.js +25 -24
  183. package/Libraries/Lists/FlatList.js +25 -19
  184. package/Libraries/Lists/SectionList.js +13 -4
  185. package/Libraries/Lists/VirtualizedList.js +3 -0
  186. package/Libraries/Lists/VirtualizedSectionList.js +4 -0
  187. package/Libraries/LogBox/Data/LogBoxData.js +1 -1
  188. package/Libraries/LogBox/LogBox.js +6 -5
  189. package/Libraries/LogBox/LogBoxInspectorContainer.js +24 -2
  190. package/Libraries/LogBox/LogBoxNotificationContainer.js +34 -5
  191. package/Libraries/LogBox/UI/AnsiHighlight.js +4 -2
  192. package/Libraries/LogBox/UI/LogBoxButton.js +47 -24
  193. package/Libraries/LogBox/UI/LogBoxInspector.js +61 -1
  194. package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js +2 -2
  195. package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.win32.js +2 -2
  196. package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +10 -1
  197. package/Libraries/LogBox/UI/LogBoxInspectorFooterButton.js +3 -1
  198. package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +8 -2
  199. package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +8 -2
  200. package/Libraries/LogBox/UI/LogBoxInspectorMessageHeader.js +9 -2
  201. package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js +17 -4
  202. package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.win32.js +17 -4
  203. package/Libraries/LogBox/UI/LogBoxInspectorSection.js +3 -1
  204. package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js +3 -1
  205. package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.win32.js +3 -1
  206. package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.js +5 -1
  207. package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.win32.js +5 -1
  208. package/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js +4 -2
  209. package/Libraries/LogBox/UI/LogBoxMessage.js +19 -6
  210. package/Libraries/LogBox/UI/LogBoxNotification.js +2 -0
  211. package/Libraries/LogBox/UI/LogBoxNotificationCountBadge.js +4 -1
  212. package/Libraries/LogBox/UI/LogBoxNotificationDismissButton.js +3 -3
  213. package/Libraries/LogBox/UI/LogBoxNotificationMessage.js +1 -0
  214. package/Libraries/LogBox/UI/LogBoxStyle.js +0 -4
  215. package/Libraries/LogBox/UI/LogBoxStyle.win32.js +0 -4
  216. package/Libraries/Modal/Modal.js +90 -86
  217. package/Libraries/Modal/RCTModalHostViewNativeComponent.js +2 -2
  218. package/Libraries/NativeComponent/BaseViewConfig.android.js +39 -1
  219. package/Libraries/NativeComponent/BaseViewConfig.ios.js +21 -0
  220. package/Libraries/NativeComponent/BaseViewConfig.win32.js +21 -0
  221. package/Libraries/NativeComponent/NativeComponentRegistry.js +2 -2
  222. package/Libraries/NativeComponent/ViewConfig.js +3 -3
  223. package/Libraries/NativeComponent/ViewConfigIgnore.js +4 -2
  224. package/Libraries/Network/FormData.js +1 -1
  225. package/Libraries/Network/RCTNetworking.android.js +19 -14
  226. package/Libraries/Network/RCTNetworking.ios.js +2 -2
  227. package/Libraries/Network/RCTNetworking.js.flow +3 -3
  228. package/Libraries/Network/RCTNetworking.win32.js +2 -2
  229. package/Libraries/Network/XMLHttpRequest.js +93 -58
  230. package/Libraries/Network/convertRequestBody.js +43 -13
  231. package/Libraries/Performance/Systrace.js +36 -0
  232. package/Libraries/PermissionsAndroid/PermissionsAndroid.js +30 -19
  233. package/Libraries/PersonaCoin/PersonaCoinTypes.js +2 -2
  234. package/Libraries/PersonaCoin/PersonaCoinTypes.js.map +1 -1
  235. package/Libraries/Pressability/HoverState.js +3 -3
  236. package/Libraries/Pressability/HoverState.win32.js +3 -3
  237. package/Libraries/Pressability/Pressability.js +17 -11
  238. package/Libraries/Pressability/Pressability.win32.js +21 -15
  239. package/Libraries/Pressability/PressabilityDebug.js +27 -1
  240. package/Libraries/PushNotificationIOS/PushNotificationIOS.js +20 -12
  241. package/Libraries/QuirkSettings/NativeQuirkSettings.js +2 -2
  242. package/Libraries/ReactNative/AppContainer-dev.js +6 -16
  243. package/Libraries/ReactNative/AppContainer-prod.js +1 -2
  244. package/Libraries/ReactNative/AppContainer.js +2 -2
  245. package/Libraries/ReactNative/AppRegistry.flow.js +11 -5
  246. package/Libraries/ReactNative/AppRegistry.js +16 -12
  247. package/Libraries/ReactNative/AppRegistry.js.flow +1 -1
  248. package/Libraries/ReactNative/AppRegistryImpl.js +77 -33
  249. package/Libraries/ReactNative/BridgelessUIManager.js +97 -41
  250. package/Libraries/ReactNative/DeprecatedPerformanceLoggerStub.js +83 -0
  251. package/Libraries/ReactNative/DisplayMode.js +1 -1
  252. package/Libraries/ReactNative/FabricUIManager.js +92 -29
  253. package/Libraries/ReactNative/I18nManager.js +20 -0
  254. package/Libraries/{Utilities/IPerformanceLogger.js → ReactNative/IPerformanceLogger.flow.js} +12 -9
  255. package/Libraries/ReactNative/PaperUIManager.js +9 -8
  256. package/Libraries/ReactNative/PaperUIManager.win32.js +7 -6
  257. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +2 -0
  258. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.js +62 -45
  259. package/Libraries/ReactNative/RendererImplementation.js +26 -142
  260. package/Libraries/ReactNative/RendererProxy.js +4 -15
  261. package/Libraries/ReactNative/UIManager.js +86 -13
  262. package/Libraries/ReactNative/getNativeComponentAttributes.js +54 -15
  263. package/Libraries/ReactNative/renderApplication.js +33 -59
  264. package/Libraries/ReactNative/requireNativeComponent.js +7 -5
  265. package/Libraries/Renderer/implementations/ReactFabric-dev.js +3124 -1599
  266. package/Libraries/Renderer/implementations/ReactFabric-prod.js +2237 -1009
  267. package/Libraries/Renderer/implementations/ReactFabric-profiling.js +2467 -1138
  268. package/Libraries/Renderer/shims/ReactFabric.js +2 -2
  269. package/Libraries/Renderer/shims/ReactNativeTypes.js +36 -66
  270. package/Libraries/Renderer/shims/ReactNativeTypes.win32.js +36 -66
  271. package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +4 -4
  272. package/Libraries/Renderer/shims/createReactNativeComponentClass.js +2 -2
  273. package/Libraries/Settings/Settings.ios.js +92 -37
  274. package/Libraries/Settings/Settings.js +3 -3
  275. package/Libraries/Settings/Settings.win32.js +3 -3
  276. package/Libraries/Settings/SettingsFallback.js +3 -3
  277. package/Libraries/Share/Share.js +26 -29
  278. package/Libraries/StyleSheet/PlatformColorValueTypes.android.js +15 -3
  279. package/Libraries/StyleSheet/PlatformColorValueTypes.ios.js +14 -4
  280. package/Libraries/StyleSheet/PlatformColorValueTypes.js.flow +7 -1
  281. package/Libraries/StyleSheet/PlatformColorValueTypes.win32.js +5 -5
  282. package/Libraries/StyleSheet/PlatformColorValueTypesWin32.js +2 -2
  283. package/Libraries/StyleSheet/StyleSheet.js +46 -9
  284. package/Libraries/StyleSheet/StyleSheet.js.flow +6 -9
  285. package/Libraries/StyleSheet/StyleSheetExports.js +7 -5
  286. package/Libraries/StyleSheet/StyleSheetExports.js.flow +4 -4
  287. package/Libraries/StyleSheet/StyleSheetTypes.js +76 -50
  288. package/Libraries/StyleSheet/flattenStyle.js +29 -14
  289. package/Libraries/StyleSheet/parsePlatformColorArgs.js +55 -0
  290. package/Libraries/StyleSheet/private/_TransformStyle.js +17 -17
  291. package/Libraries/StyleSheet/processBackgroundImage.js +43 -15
  292. package/Libraries/StyleSheet/processBackgroundSize.js +7 -12
  293. package/Libraries/StyleSheet/processBoxShadow.js +9 -47
  294. package/Libraries/StyleSheet/processColor.js +2 -1
  295. package/Libraries/StyleSheet/processFilter.js +24 -13
  296. package/Libraries/StyleSheet/processFontVariationSettings.js +61 -0
  297. package/Libraries/StyleSheet/processTransform.js +52 -23
  298. package/Libraries/StyleSheet/processTransformOrigin.js +18 -7
  299. package/Libraries/StyleSheet/setNormalizedColorAlpha.js +8 -7
  300. package/Libraries/StyleSheet/splitLayoutProps.js +6 -6
  301. package/Libraries/Text/Text.d.ts +16 -14
  302. package/Libraries/Text/Text.js +68 -40
  303. package/Libraries/Text/Text.win32.js +68 -40
  304. package/Libraries/Text/TextEffectNativeComponent.js +31 -0
  305. package/Libraries/Text/TextNativeComponent.js +24 -14
  306. package/Libraries/Text/TextNativeComponent.win32.js +15 -18
  307. package/Libraries/Text/TextProps.js +80 -91
  308. package/Libraries/Text/TextProps.win32.js +83 -94
  309. package/Libraries/Text/__tests__/TextNativeComponentWin32-test.js +26 -0
  310. package/Libraries/Text/requireNativeTextEffect.js +28 -0
  311. package/Libraries/TurboModule/RCTExport.js +2 -2
  312. package/Libraries/TurboModule/TurboModuleRegistry.js +3 -3
  313. package/Libraries/Types/CodegenTypes.js +8 -6
  314. package/Libraries/Types/CoreEventTypes.js +48 -29
  315. package/Libraries/Types/CoreEventTypes.win32.js +55 -36
  316. package/Libraries/Types/ReactDevToolsTypes.js +1 -1
  317. package/Libraries/Types/UIManagerJSInterface.js +4 -4
  318. package/Libraries/Utilities/Appearance.js +35 -18
  319. package/Libraries/Utilities/BackHandler.android.js +24 -31
  320. package/Libraries/Utilities/BackHandler.ios.js +3 -1
  321. package/Libraries/Utilities/BackHandler.js.flow +23 -2
  322. package/Libraries/Utilities/BackHandler.win32.js +24 -31
  323. package/Libraries/Utilities/DevSettings.js +8 -1
  324. package/Libraries/Utilities/Dimensions.js +20 -14
  325. package/Libraries/Utilities/Dimensions.win32.js +20 -15
  326. package/Libraries/Utilities/FeatureDetection.js +8 -3
  327. package/Libraries/Utilities/HMRClient.js +41 -2
  328. package/Libraries/Utilities/HardwareBackPressEvent.js +22 -0
  329. package/Libraries/Utilities/PixelRatio.js +5 -2
  330. package/Libraries/Utilities/Platform.js.flow +4 -0
  331. package/Libraries/Utilities/PlatformTypes.js +78 -1
  332. package/Libraries/Utilities/ReactNativeTestTools.js +9 -6
  333. package/Libraries/Utilities/binaryToBase64.js +1 -1
  334. package/Libraries/Utilities/codegenNativeCommands.js +17 -7
  335. package/Libraries/Utilities/codegenNativeComponent.js +11 -5
  336. package/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js +7 -5
  337. package/Libraries/Utilities/differ/deepDiffer.js +11 -6
  338. package/Libraries/Utilities/differ/insetsDiffer.js +8 -8
  339. package/Libraries/Utilities/differ/pointsDiffer.js +7 -4
  340. package/Libraries/Utilities/logError.js +1 -0
  341. package/Libraries/Utilities/stringifySafe.js +1 -1
  342. package/Libraries/Utilities/stringifyViewConfig.js +3 -2
  343. package/Libraries/Utilities/useColorScheme.js +11 -1
  344. package/Libraries/Utilities/useMergeRefs.js +17 -26
  345. package/Libraries/Utilities/useWindowDimensions.js +10 -4
  346. package/Libraries/Vibration/Vibration.js +15 -13
  347. package/Libraries/WebSocket/WebSocket.js +26 -20
  348. package/Libraries/WebSocket/WebSocketInterceptor.js +1 -0
  349. package/Libraries/platform-types.d.ts +1 -0
  350. package/Libraries/promiseRejectionTrackingOptions.js +5 -1
  351. package/Libraries/vendor/core/ErrorUtils.js +4 -4
  352. package/Libraries/vendor/emitter/EventEmitter.js +36 -22
  353. package/flow/HermesInternalType.js +14 -14
  354. package/{Libraries/Modal/NativeModalManager.js → flow/LegacyFunction.js} +3 -4
  355. package/{Libraries/Image/AssetRegistry.js → flow/LegacyObject.js} +3 -4
  356. package/flow/bom.js.flow +255 -103
  357. package/flow/cssom.js.flow +24 -32
  358. package/flow/dom.js.flow +261 -275
  359. package/flow/global.js +50 -42
  360. package/index.js +89 -89
  361. package/index.win32.js +89 -89
  362. package/index.win32.js.flow +86 -25
  363. package/jest/RefreshControlMock.js +5 -2
  364. package/jest/assetFileTransformer.js +1 -1
  365. package/jest/local-setup.js +6 -2
  366. package/jest/mock.js +1 -1
  367. package/jest/mockComponent.js +2 -2
  368. package/jest/mockNativeComponent.js +4 -4
  369. package/jest/mocks/AccessibilityInfo.js +4 -0
  370. package/jest/mocks/ActivityIndicator.js +2 -1
  371. package/jest/mocks/Image.js +2 -1
  372. package/jest/mocks/Modal.js +2 -1
  373. package/jest/mocks/NativeAnimatedHelper.js +23 -0
  374. package/jest/mocks/NativeComponentRegistry.js +1 -1
  375. package/jest/mocks/NativeModules.js +0 -7
  376. package/jest/mocks/RefreshControl.js +5 -3
  377. package/jest/mocks/RendererProxy.js +1 -4
  378. package/jest/mocks/ScrollView.js +8 -6
  379. package/jest/mocks/Text.js +2 -1
  380. package/jest/mocks/TextInput.js +2 -1
  381. package/jest/mocks/View.js +2 -1
  382. package/jest/mocks/ViewNativeComponent.js +1 -1
  383. package/jest/mocks/requireNativeComponent.js +3 -3
  384. package/{rn-get-polyfills.js → jest/mocks/useAppState.js} +4 -2
  385. package/jest/mocks/useColorScheme.js +2 -2
  386. package/jest/setup.js +38 -3
  387. package/jest.config.js +13 -2
  388. package/overrides.json +68 -60
  389. package/package.json +25 -24
  390. package/src/asset-registry.js +29 -0
  391. package/src/private/animated/NativeAnimatedHelper.js +46 -22
  392. package/src/private/animated/NativeAnimatedHelper.win32.js +46 -22
  393. package/src/private/animated/NativeAnimatedValidation.js +1 -1
  394. package/src/private/animated/createAnimatedPropsHook.js +28 -13
  395. package/src/private/animated/createAnimatedPropsMemoHook.js +2 -0
  396. package/src/private/assets/AssetRegistry.js +52 -0
  397. package/src/private/{specs_DEPRECATED/components → components/activityindicator/specs}/ActivityIndicatorViewNativeComponent.js +7 -10
  398. package/src/private/{specs_DEPRECATED/components → components/debuggingoverlay/specs}/DebuggingOverlayNativeComponent.js +10 -10
  399. package/src/private/{specs_DEPRECATED/components → components/drawerlayoutandroid/specs}/AndroidDrawerLayoutNativeComponent.js +10 -10
  400. package/src/private/{specs_DEPRECATED/components → components/inputaccessoryview/specs}/RCTInputAccessoryViewNativeComponent.js +6 -6
  401. package/src/private/{specs_DEPRECATED/components → components/modal/specs}/RCTModalHostViewNativeComponent.js +6 -12
  402. package/src/private/{specs_DEPRECATED/components → components/progressbarandroid/specs}/ProgressBarAndroidNativeComponent.js +7 -7
  403. package/src/private/{specs_DEPRECATED/components → components/refreshcontrol/specs}/AndroidSwipeRefreshLayoutNativeComponent.js +9 -9
  404. package/src/private/{specs_DEPRECATED/components → components/refreshcontrol/specs}/PullToRefreshViewNativeComponent.js +9 -10
  405. package/src/private/components/safeareaview/SafeAreaView_INTERNAL_DO_NOT_USE.js +2 -2
  406. package/src/private/components/safeareaview/specs/RCTSafeAreaViewNativeComponent.js +27 -0
  407. package/src/private/components/scrollview/HScrollViewNativeComponents.js +1 -1
  408. package/src/private/{specs_DEPRECATED/components → components/scrollview/specs}/AndroidHorizontalScrollContentViewNativeComponent.js +5 -5
  409. package/src/private/{specs_DEPRECATED/components → components/switch/specs}/AndroidSwitchNativeComponent.js +9 -9
  410. package/src/private/{specs_DEPRECATED/components → components/switch/specs}/SwitchNativeComponent.js +15 -9
  411. package/src/private/{specs_DEPRECATED/components → components/unimplementedview/specs}/UnimplementedNativeViewNativeComponent.js +6 -6
  412. package/src/private/components/view/warnOnRepeatedSafeAreaInsetsChanges.js +72 -0
  413. package/src/private/components/virtualcollection/FlingConstants.js +21 -0
  414. package/src/private/components/virtualcollection/Virtual.js +62 -0
  415. package/src/private/components/virtualcollection/VirtualCollectionView.js +234 -0
  416. package/src/private/components/virtualcollection/column/VirtualColumn.js +40 -0
  417. package/src/private/components/virtualcollection/column/VirtualColumnGenerator.js +72 -0
  418. package/src/private/components/virtualcollection/row/VirtualRow.js +40 -0
  419. package/src/private/components/virtualcollection/row/VirtualRowGenerator.js +72 -0
  420. package/src/private/components/virtualview/VirtualViewNativeComponent.js +3 -1
  421. package/src/private/devsupport/devmenu/elementinspector/BoxInspector.js +4 -4
  422. package/src/private/devsupport/devmenu/elementinspector/ElementBox.js +19 -11
  423. package/src/private/devsupport/devmenu/elementinspector/ElementProperties.js +3 -2
  424. package/src/private/devsupport/devmenu/elementinspector/Inspector.js +6 -6
  425. package/src/private/devsupport/devmenu/elementinspector/InspectorOverlay.js +1 -1
  426. package/src/private/devsupport/devmenu/elementinspector/ReactDevToolsOverlay.js +1 -1
  427. package/src/private/devsupport/devmenu/elementinspector/XHRInterceptor.js +6 -0
  428. package/src/private/devsupport/devmenu/elementinspector/getInspectorDataForViewAtPoint.js +18 -6
  429. package/src/private/devsupport/devmenu/elementinspector/resolveBoxStyle.js +41 -19
  430. package/src/private/devsupport/devmenu/elementinspector/useExternalInspection.js +1 -1
  431. package/src/private/devsupport/devmenu/specs/NativeDevMenu.js +5 -5
  432. package/src/private/devsupport/rndevtools/setUpFuseboxReactDevToolsDispatcher.js +1 -1
  433. package/src/private/devsupport/rndevtools/specs/NativeReactDevToolsRuntimeSettingsModule.js +6 -4
  434. package/src/private/devsupport/rndevtools/specs/NativeReactDevToolsSettingsManager.js +4 -4
  435. package/src/private/featureflags/ReactNativeFeatureFlags.js +155 -89
  436. package/src/private/featureflags/ReactNativeFeatureFlagsBase.js +7 -6
  437. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +99 -87
  438. package/src/private/renderer/errorhandling/ErrorHandlers.js +5 -5
  439. package/src/private/renderer/events/LegacySyntheticEvent.js +78 -0
  440. package/src/private/renderer/events/ReactNativeEventTypeMapping.js +103 -0
  441. package/src/private/renderer/events/ReactNativeResponder.js +732 -0
  442. package/src/private/renderer/events/ResponderEvent.js +40 -0
  443. package/src/private/renderer/events/ResponderTouchHistoryStore.js +267 -0
  444. package/src/private/renderer/events/dispatchNativeEvent.js +139 -0
  445. package/src/private/setup/setUpDOM.js +41 -9
  446. package/src/private/setup/setUpDefaultReactNativeEnvironment.js +15 -2
  447. package/src/private/setup/setUpIntersectionObserver.js +7 -0
  448. package/src/private/setup/setUpMutationObserver.js +3 -1
  449. package/src/private/setup/{setUpPerformanceModern.js → setUpPerformance.js} +1 -1
  450. package/src/private/setup/setUpResizeObserver.js +40 -0
  451. package/src/private/specs_DEPRECATED/modules/NativeAccessibilityInfo.js +10 -10
  452. package/src/private/specs_DEPRECATED/modules/NativeAccessibilityInfoWin32.js +11 -11
  453. package/src/private/specs_DEPRECATED/modules/NativeAccessibilityManager.js +39 -34
  454. package/src/private/specs_DEPRECATED/modules/NativeActionSheetManager.js +31 -30
  455. package/src/private/specs_DEPRECATED/modules/NativeAlertManager.js +5 -4
  456. package/src/private/specs_DEPRECATED/modules/NativeAnimatedModule.js +50 -29
  457. package/src/private/specs_DEPRECATED/modules/NativeAnimatedTurboModule.js +48 -27
  458. package/src/private/specs_DEPRECATED/modules/NativeAppState.js +8 -7
  459. package/src/private/specs_DEPRECATED/modules/NativeAppearance.js +9 -7
  460. package/src/private/specs_DEPRECATED/modules/NativeBlobModule.js +15 -11
  461. package/src/private/specs_DEPRECATED/modules/NativeClipboard.js +4 -4
  462. package/src/private/specs_DEPRECATED/modules/NativeDevLoadingView.js +3 -3
  463. package/src/private/specs_DEPRECATED/modules/NativeDevSettings.js +12 -12
  464. package/src/private/specs_DEPRECATED/modules/NativeDeviceEventManager.js +2 -2
  465. package/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.js +5 -15
  466. package/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.js +8 -8
  467. package/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.js +5 -6
  468. package/src/private/specs_DEPRECATED/modules/NativeFileReaderModule.js +9 -5
  469. package/src/private/specs_DEPRECATED/modules/NativeFrameRateLogger.js +5 -5
  470. package/src/private/specs_DEPRECATED/modules/NativeHeadlessJsTaskSupport.js +3 -3
  471. package/src/private/specs_DEPRECATED/modules/NativeI18nManager.js +2 -2
  472. package/src/private/specs_DEPRECATED/modules/NativeImageEditor.js +15 -15
  473. package/src/private/specs_DEPRECATED/modules/NativeImageLoaderAndroid.js +12 -8
  474. package/src/private/specs_DEPRECATED/modules/NativeImageLoaderIOS.js +10 -9
  475. package/src/private/specs_DEPRECATED/modules/NativeImageLoaderWin32.js +10 -9
  476. package/src/private/specs_DEPRECATED/modules/NativeImageStoreAndroid.js +4 -4
  477. package/src/private/specs_DEPRECATED/modules/NativeImageStoreIOS.js +10 -7
  478. package/src/private/specs_DEPRECATED/modules/NativeIntentAndroid.js +6 -6
  479. package/src/private/specs_DEPRECATED/modules/NativeJSCHeapCapture.js +2 -2
  480. package/src/private/specs_DEPRECATED/modules/NativeKeyboardObserver.js +3 -3
  481. package/src/private/specs_DEPRECATED/modules/NativeLinkingManager.js +7 -7
  482. package/src/private/specs_DEPRECATED/modules/NativeLogBox.js +3 -3
  483. package/src/private/specs_DEPRECATED/modules/NativeNetworkingAndroid.js +9 -8
  484. package/src/private/specs_DEPRECATED/modules/NativeNetworkingIOS.js +11 -10
  485. package/src/private/specs_DEPRECATED/modules/NativePermissionsAndroid.js +7 -5
  486. package/src/private/specs_DEPRECATED/modules/NativePlatformConstantsAndroid.js +4 -4
  487. package/src/private/specs_DEPRECATED/modules/NativePlatformConstantsIOS.js +3 -3
  488. package/src/private/specs_DEPRECATED/modules/NativePlatformConstantsWin.js +3 -3
  489. package/src/private/specs_DEPRECATED/modules/NativePushNotificationManagerIOS.js +39 -34
  490. package/src/private/specs_DEPRECATED/modules/NativeRedBox.js +8 -4
  491. package/src/private/specs_DEPRECATED/modules/NativeSegmentFetcher.js +7 -7
  492. package/src/private/specs_DEPRECATED/modules/NativeSettingsManager.js +8 -7
  493. package/src/private/specs_DEPRECATED/modules/NativeShareModule.js +3 -3
  494. package/src/private/specs_DEPRECATED/modules/NativeSoundManager.js +2 -2
  495. package/src/private/specs_DEPRECATED/modules/NativeSourceCode.js +1 -1
  496. package/src/private/specs_DEPRECATED/modules/NativeStatusBarManagerAndroid.js +5 -17
  497. package/src/private/specs_DEPRECATED/modules/NativeStatusBarManagerIOS.js +10 -15
  498. package/src/private/specs_DEPRECATED/modules/NativeTiming.js +4 -4
  499. package/src/private/specs_DEPRECATED/modules/NativeToastAndroid.js +5 -5
  500. package/src/private/specs_DEPRECATED/modules/NativeUIManager.js +62 -30
  501. package/src/private/specs_DEPRECATED/modules/NativeVibration.js +5 -5
  502. package/src/private/specs_DEPRECATED/modules/NativeWebSocketModule.js +15 -11
  503. package/src/private/styles/composeStyles.js +1 -1
  504. package/src/private/types/HostComponent.js +1 -1
  505. package/src/private/types/HostInstance.js +38 -80
  506. package/src/private/utilities/toExtendedError.js +1 -1
  507. package/src/private/viewtransition/specs/NativeViewTransition.js +35 -0
  508. package/src/private/webapis/dom/abort-api/AbortController.js +93 -0
  509. package/src/private/webapis/dom/abort-api/AbortSignal.js +245 -0
  510. package/src/private/webapis/dom/events/CustomEvent.js +1 -1
  511. package/src/private/webapis/dom/events/Event.js +71 -12
  512. package/src/private/webapis/dom/events/EventTarget.js +193 -30
  513. package/src/private/webapis/dom/events/internals/EventInternals.js +54 -1
  514. package/src/private/webapis/dom/events/internals/EventTargetInternals.js +50 -3
  515. package/src/private/webapis/dom/nodes/ReactNativeDocument.js +11 -0
  516. package/src/private/webapis/dom/nodes/ReactNativeElement.js +128 -2
  517. package/src/private/webapis/dom/nodes/ReadOnlyCharacterData.js +11 -0
  518. package/src/private/webapis/dom/nodes/ReadOnlyElement.js +13 -6
  519. package/src/private/webapis/dom/nodes/ReadOnlyNode.js +97 -1
  520. package/src/private/webapis/dom/nodes/ReadOnlyText.js +33 -0
  521. package/src/private/webapis/dom/nodes/internals/NodeInternals.js +10 -0
  522. package/src/private/webapis/dom/nodes/specs/NativeDOM.js +58 -56
  523. package/src/private/webapis/dom/oldstylecollections/HTMLCollection.js +12 -0
  524. package/src/private/webapis/dom/oldstylecollections/NodeList.js +11 -1
  525. package/src/private/webapis/errors/DOMException.js +50 -50
  526. package/src/private/webapis/geometry/DOMRectList.js +12 -0
  527. package/src/private/webapis/geometry/DOMRectReadOnly.js +1 -1
  528. package/src/private/webapis/html/events/MessageEvent.js +3 -3
  529. package/src/private/webapis/idlecallbacks/specs/NativeIdleCallbacks.js +4 -4
  530. package/src/private/webapis/intersectionobserver/IntersectionObserver.js +2 -2
  531. package/src/private/webapis/intersectionobserver/IntersectionObserverEntry.js +13 -0
  532. package/src/private/webapis/intersectionobserver/internals/IntersectionObserverManager.js +3 -7
  533. package/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js +7 -7
  534. package/src/private/webapis/microtasks/specs/NativeMicrotasks.js +3 -3
  535. package/src/private/webapis/mutationobserver/MutationObserver.js +7 -7
  536. package/src/private/webapis/mutationobserver/MutationRecord.js +12 -0
  537. package/src/private/webapis/mutationobserver/internals/MutationObserverManager.js +5 -7
  538. package/src/private/webapis/mutationobserver/specs/NativeMutationObserver.js +7 -7
  539. package/src/private/webapis/performance/EventTiming.js +5 -8
  540. package/src/private/webapis/performance/Performance.js +15 -27
  541. package/src/private/webapis/performance/PerformanceEntry.js +4 -8
  542. package/src/private/webapis/performance/PerformanceObserver.js +33 -11
  543. package/src/private/webapis/performance/ResourceTiming.js +13 -13
  544. package/src/private/webapis/performance/UserTiming.js +8 -6
  545. package/src/private/webapis/performance/internals/RawPerformanceEntry.js +1 -1
  546. package/src/private/webapis/performance/specs/NativePerformance.js +29 -21
  547. package/src/private/webapis/resizeobserver/ResizeObserver.js +207 -0
  548. package/src/private/webapis/resizeobserver/ResizeObserverEntry.js +146 -0
  549. package/src/private/webapis/resizeobserver/ResizeObserverSize.js +70 -0
  550. package/src/private/webapis/resizeobserver/internals/ResizeObserverManager.js +276 -0
  551. package/src/private/webapis/resizeobserver/specs/NativeResizeObserver.js +50 -0
  552. package/src/private/webapis/structuredClone/structuredClone.js +217 -43
  553. package/src/private/webapis/utils/ArrayLikeUtils.js +6 -4
  554. package/src/private/webapis/webidl/PlatformObjects.js +4 -4
  555. package/src/private/webapis/websockets/events/CloseEvent.js +3 -3
  556. package/src/private/webapis/xhr/events/ProgressEvent.js +3 -3
  557. package/src/react-private-interface.js +109 -0
  558. package/src/setup-env.js +22 -0
  559. package/src/types/ErrorUtils.d.ts +17 -0
  560. package/src/types/globals.d.ts +112 -22
  561. package/src/unstable-internals-do-not-use.d.ts +266 -0
  562. package/src/unstable-internals-do-not-use.js +126 -0
  563. package/src-win/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +25 -8
  564. package/src-win/Libraries/Components/Button/ButtonWin32.tsx +1 -1
  565. package/src-win/Libraries/Components/Touchable/Tests/TouchableWin32Test.tsx +5 -5
  566. package/src-win/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +2 -4
  567. package/src-win/Libraries/Components/View/ViewAccessibility.d.ts +26 -5
  568. package/src-win/Libraries/Components/View/ViewPropTypes.d.ts +14 -9
  569. package/src-win/Libraries/Text/Text.d.ts +16 -14
  570. package/src-win/Libraries/platform-types.d.ts +1 -0
  571. package/src-win/index.win32.js.flow +86 -25
  572. package/{Libraries → types/Libraries}/Alert/Alert.d.ts +1 -4
  573. package/{Libraries → types/Libraries}/Animated/Animated.d.ts +5 -9
  574. package/{Libraries → types/Libraries}/AppState/AppState.d.ts +5 -6
  575. package/types/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +198 -0
  576. package/{Libraries → types/Libraries}/Components/ActivityIndicator/ActivityIndicator.d.ts +2 -2
  577. package/{Libraries → types/Libraries}/Components/Button.d.ts +18 -16
  578. package/{Libraries → types/Libraries}/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +14 -7
  579. package/{Libraries → types/Libraries}/Components/Keyboard/Keyboard.d.ts +1 -5
  580. package/{Libraries → types/Libraries}/Components/Keyboard/KeyboardAvoidingView.d.ts +2 -2
  581. package/{Libraries → types/Libraries}/Components/Pressable/Pressable.d.ts +6 -8
  582. package/{Libraries → types/Libraries}/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +2 -2
  583. package/{Libraries → types/Libraries}/Components/RefreshControl/RefreshControl.d.ts +3 -4
  584. package/{Libraries → types/Libraries}/Components/SafeAreaView/SafeAreaView.d.ts +2 -2
  585. package/{Libraries → types/Libraries}/Components/ScrollView/ScrollView.d.ts +68 -72
  586. package/{Libraries → types/Libraries}/Components/StatusBar/StatusBar.d.ts +4 -54
  587. package/{Libraries → types/Libraries}/Components/Switch/Switch.d.ts +4 -7
  588. package/{Libraries → types/Libraries}/Components/TextInput/InputAccessoryView.d.ts +7 -0
  589. package/{Libraries → types/Libraries}/Components/TextInput/TextInput.d.ts +49 -64
  590. package/{Libraries → types/Libraries}/Components/Touchable/Touchable.d.ts +1 -1
  591. package/types/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +112 -0
  592. package/{Libraries → types/Libraries}/Components/Touchable/TouchableOpacity.d.ts +1 -10
  593. package/{Libraries → types/Libraries}/Components/Touchable/TouchableWithoutFeedback.d.ts +5 -4
  594. package/{Libraries → types/Libraries}/Components/View/View.d.ts +2 -2
  595. package/types/Libraries/Components/View/ViewAccessibility.d.ts +485 -0
  596. package/types/Libraries/Components/View/ViewPropTypes.d.ts +230 -0
  597. package/{Libraries → types/Libraries}/Image/Image.d.ts +5 -9
  598. package/{Libraries → types/Libraries}/Image/ImageResizeMode.d.ts +1 -6
  599. package/{Libraries → types/Libraries}/Image/ImageSource.d.ts +2 -4
  600. package/{Libraries → types/Libraries}/Interaction/PanResponder.d.ts +1 -1
  601. package/{Libraries → types/Libraries}/LayoutAnimation/LayoutAnimation.d.ts +2 -10
  602. package/{Libraries → types/Libraries}/Lists/FlatList.d.ts +11 -17
  603. package/{Libraries → types/Libraries}/Lists/SectionList.d.ts +14 -14
  604. package/{Libraries → types/Libraries}/LogBox/LogBox.d.ts +11 -0
  605. package/{Libraries → types/Libraries}/Modal/Modal.d.ts +7 -11
  606. package/{Libraries → types/Libraries}/NativeComponent/NativeComponentRegistry.d.ts +1 -1
  607. package/{Libraries → types/Libraries}/PermissionsAndroid/PermissionsAndroid.d.ts +49 -45
  608. package/{Libraries → types/Libraries}/PushNotificationIOS/PushNotificationIOS.d.ts +2 -11
  609. package/{Libraries → types/Libraries}/ReactNative/AppRegistry.d.ts +1 -1
  610. package/{Libraries/Utilities → types/Libraries/ReactNative}/IPerformanceLogger.d.ts +8 -5
  611. package/{Libraries → types/Libraries}/ReactNative/RendererProxy.d.ts +1 -4
  612. package/{Libraries → types/Libraries}/ReactNative/UIManager.d.ts +2 -3
  613. package/{Libraries → types/Libraries}/ReactNative/requireNativeComponent.d.ts +1 -1
  614. package/{Libraries → types/Libraries}/StyleSheet/PlatformColorValueTypes.d.ts +3 -1
  615. package/{Libraries → types/Libraries}/StyleSheet/StyleSheet.d.ts +3 -2
  616. package/{Libraries → types/Libraries}/StyleSheet/StyleSheetTypes.d.ts +47 -57
  617. package/types/Libraries/Text/Text.d.ts +236 -0
  618. package/{Libraries → types/Libraries}/Types/CodegenTypesNamespace.d.ts +1 -2
  619. package/{Libraries → types/Libraries}/Types/CoreEventTypes.d.ts +15 -5
  620. package/types/Libraries/Utilities/Appearance.d.ts +66 -0
  621. package/{Libraries → types/Libraries}/Utilities/BackHandler.d.ts +11 -1
  622. package/{Libraries → types/Libraries}/Utilities/Platform.d.ts +1 -6
  623. package/types/index.d.ts +84 -84
  624. package/types/modules/Codegen.d.ts +1 -2
  625. package/types/public/DeprecatedPropertiesAlias.d.ts +0 -4
  626. package/types/public/ReactNativeRenderer.d.ts +10 -12
  627. package/types/public/ReactNativeTypes.d.ts +8 -7
  628. package/types/src/private/assets/AssetRegistry.d.ts +44 -0
  629. package/IntegrationTests/AccessibilityManagerTest.js +0 -59
  630. package/Libraries/Components/Touchable/TouchableBounce.js +0 -235
  631. package/Libraries/Interaction/InteractionManager.d.ts +0 -87
  632. package/Libraries/Interaction/InteractionManager.js +0 -189
  633. package/Libraries/Lists/SectionListModern.js +0 -248
  634. package/Libraries/ReactPrivate/ReactNativePrivateInitializeCore.js +0 -11
  635. package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +0 -136
  636. package/Libraries/ReactPrivate/ReactNativePrivateInterface.js.flow +0 -51
  637. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +0 -19668
  638. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +0 -11129
  639. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +0 -12930
  640. package/Libraries/Renderer/shims/ReactNative.js +0 -27
  641. package/Libraries/TurboModule/samples/NativeSampleTurboModule.js +0 -14
  642. package/Libraries/Utilities/Appearance.d.ts +0 -51
  643. package/Libraries/Utilities/GlobalPerformanceLogger.js +0 -24
  644. package/Libraries/Utilities/PerformanceLoggerContext.js +0 -33
  645. package/Libraries/Utilities/SceneTracker.js +0 -42
  646. package/Libraries/Utilities/createPerformanceLogger.js +0 -329
  647. package/Libraries/Utilities/useRefEffect.js +0 -45
  648. package/flow/console.js +0 -49
  649. package/interface.js +0 -21
  650. package/src/private/specs_DEPRECATED/components/RCTSafeAreaViewNativeComponent.js +0 -28
  651. package/src/private/specs_DEPRECATED/modules/NativeModalManager.js +0 -21
  652. package/src/private/specs_DEPRECATED/modules/NativeSampleTurboModule.js +0 -69
  653. package/src/private/webapis/performance/internals/Utilities.js +0 -27
  654. /package/{Libraries → types/Libraries}/ActionSheetIOS/ActionSheetIOS.d.ts +0 -0
  655. /package/{Libraries → types/Libraries}/Animated/Easing.d.ts +0 -0
  656. /package/{Libraries → types/Libraries}/Animated/useAnimatedColor.d.ts +0 -0
  657. /package/{Libraries → types/Libraries}/Animated/useAnimatedValue.d.ts +0 -0
  658. /package/{Libraries → types/Libraries}/Animated/useAnimatedValueXY.d.ts +0 -0
  659. /package/{Libraries → types/Libraries}/BatchedBridge/NativeModules.d.ts +0 -0
  660. /package/{Libraries → types/Libraries}/Components/Clipboard/Clipboard.d.ts +0 -0
  661. /package/{Libraries → types/Libraries}/Components/LayoutConformance/LayoutConformance.d.ts +0 -0
  662. /package/{Libraries → types/Libraries}/Components/ToastAndroid/ToastAndroid.d.ts +0 -0
  663. /package/{Libraries → types/Libraries}/Components/Touchable/TouchableHighlight.d.ts +0 -0
  664. /package/{Libraries → types/Libraries}/Core/registerCallableModule.d.ts +0 -0
  665. /package/{Libraries → types/Libraries}/EventEmitter/NativeEventEmitter.d.ts +0 -0
  666. /package/{Libraries → types/Libraries}/EventEmitter/RCTDeviceEventEmitter.d.ts +0 -0
  667. /package/{Libraries → types/Libraries}/EventEmitter/RCTNativeAppEventEmitter.d.ts +0 -0
  668. /package/{Libraries → types/Libraries}/Linking/Linking.d.ts +0 -0
  669. /package/{Libraries → types/Libraries}/Performance/Systrace.d.ts +0 -0
  670. /package/{Libraries → types/Libraries}/ReactNative/I18nManager.d.ts +0 -0
  671. /package/{Libraries → types/Libraries}/ReactNative/RootTag.d.ts +0 -0
  672. /package/{Libraries → types/Libraries}/Settings/Settings.d.ts +0 -0
  673. /package/{Libraries → types/Libraries}/Share/Share.d.ts +0 -0
  674. /package/{Libraries → types/Libraries}/StyleSheet/PlatformColorValueTypesIOS.d.ts +0 -0
  675. /package/{Libraries → types/Libraries}/StyleSheet/processColor.d.ts +0 -0
  676. /package/{Libraries → types/Libraries}/TurboModule/RCTExport.d.ts +0 -0
  677. /package/{Libraries → types/Libraries}/TurboModule/TurboModuleRegistry.d.ts +0 -0
  678. /package/{Libraries → types/Libraries}/Utilities/DevSettings.d.ts +0 -0
  679. /package/{Libraries → types/Libraries}/Utilities/Dimensions.d.ts +0 -0
  680. /package/{Libraries → types/Libraries}/Utilities/PixelRatio.d.ts +0 -0
  681. /package/{Libraries → types/Libraries}/Utilities/codegenNativeCommands.d.ts +0 -0
  682. /package/{Libraries → types/Libraries}/Utilities/codegenNativeComponent.d.ts +0 -0
  683. /package/{Libraries → types/Libraries}/Vibration/Vibration.d.ts +0 -0
  684. /package/{Libraries → types/Libraries}/vendor/core/ErrorUtils.d.ts +0 -0
  685. /package/{Libraries → types/Libraries}/vendor/emitter/EventEmitter.d.ts +0 -0
  686. /package/{src → types/src}/private/devsupport/devmenu/DevMenu.d.ts +0 -0
package/.flowconfig CHANGED
@@ -1,109 +1,126 @@
1
1
  [ignore]
2
2
  ; We fork some components by platform - ignore all platforms except win32
3
- .*/*[.]android.js
4
- .*/*[.]ios.js
5
- .*/*[.]macos.js
6
- .*/*[.]windesktop.js
3
+ **/*.android.js
4
+ **/*.ios.js
5
+ **/*.macos.js
6
+ **/*.windesktop.js
7
7
 
8
8
  ; Ignore fb_internal modules
9
- <PROJECT_ROOT>/packages/react-native/src/fb_internal/.*
9
+ packages/react-native/src/fb_internal/**
10
10
 
11
11
  ; These modules have base components and win32 versions.
12
12
  ; Ideally we'd delete the base versions of files that had .win32 overrides as part of the
13
13
  ; initRNLibraries build step
14
- <PROJECT_ROOT>/index.js
15
- <PROJECT_ROOT>/Libraries/Alert/Alert.js
16
- <PROJECT_ROOT>/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js
17
- <PROJECT_ROOT>/Libraries/Components/Button.js
18
- <PROJECT_ROOT>/Libraries/Components/Pressable/Pressable.js
19
- <PROJECT_ROOT>/Libraries/Components/SafeAreaView/SafeAreaView.js
20
- <PROJECT_ROOT>/Libraries/Components/TextInput/TextInput.js
21
- <PROJECT_ROOT>/Libraries/Components/TextInput/TextInputState.js
22
- <PROJECT_ROOT>/Libraries/Components/Touchable/Touchable.js
23
- <PROJECT_ROOT>/Libraries/Components/Touchable/TouchableNativeFeedback.js
24
- <PROJECT_ROOT>/Libraries/Components/View/ViewAccessibility.js
25
- <PROJECT_ROOT>/Libraries/Components/View/View.js
26
- <PROJECT_ROOT>/Libraries/Components/View/ViewPropTypes.js
27
- <PROJECT_ROOT>/Libraries/Image/Image.js
28
- <PROJECT_ROOT>/Libraries/Inspector/Inspector.js
29
- <PROJECT_ROOT>/Libraries/Inspector/InspectorOverlay.js
30
- <PROJECT_ROOT>/Libraries/Network/RCTNetworking.js
31
- <PROJECT_ROOT>/Libraries/Pressability/Pressability.js
32
- <PROJECT_ROOT>/Libraries/Pressability/HoverState.js
33
- <PROJECT_ROOT>/Libraries/Renderer/shims/ReactNativeTypes.js
34
- <PROJECT_ROOT>/Libraries/StyleSheet/PlatformColorValueTypes.js
35
- <PROJECT_ROOT>/Libraries/Text/TextProps.js
36
- <PROJECT_ROOT>/Libraries/Types/CoreEventTypes.js
37
- <PROJECT_ROOT>/Libraries/Utilities/Dimensions.js
38
- <PROJECT_ROOT>/Libraries/Utilities/Platform.flow.js
39
- <PROJECT_ROOT>/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js
40
- <PROJECT_ROOT>/Libraries/LogBox/UI/LogBoxInspectorHeader.js
41
- <PROJECT_ROOT>/Libraries/LogBox/UI/LogBoxInspectorStackFrame.js
42
- <PROJECT_ROOT>/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js
43
- <PROJECT_ROOT>/Libraries/LogBox/UI/LogBoxStyle.js
44
-
45
- <PROJECT_ROOT>/IntegrationTests/ImageCachePolicyTest.js
46
- <PROJECT_ROOT>/IntegrationTests/LayoutEventsTest.js
47
- <PROJECT_ROOT>/IntegrationTests/IntegrationTestsApp.js
14
+ index.js
15
+ Libraries/Alert/Alert.js
16
+ Libraries/Components/AccessibilityInfo/AccessibilityInfo.js
17
+ Libraries/Components/Button.js
18
+ Libraries/Components/Pressable/Pressable.js
19
+ Libraries/Components/SafeAreaView/SafeAreaView.js
20
+ Libraries/Components/TextInput/TextInput.js
21
+ Libraries/Components/TextInput/TextInputState.js
22
+ Libraries/Components/Touchable/Touchable.js
23
+ Libraries/Components/Touchable/TouchableNativeFeedback.js
24
+ Libraries/Components/View/ViewAccessibility.js
25
+ Libraries/Components/View/View.js
26
+ Libraries/Components/View/ViewPropTypes.js
27
+ Libraries/Image/Image.js
28
+ Libraries/Inspector/Inspector.js
29
+ Libraries/Inspector/InspectorOverlay.js
30
+ Libraries/Network/RCTNetworking.js
31
+ Libraries/Pressability/Pressability.js
32
+ Libraries/Pressability/HoverState.js
33
+ Libraries/Renderer/shims/ReactNativeTypes.js
34
+ Libraries/StyleSheet/PlatformColorValueTypes.js
35
+ Libraries/Text/TextProps.js
36
+ Libraries/Types/CoreEventTypes.js
37
+ Libraries/Utilities/Dimensions.js
38
+ Libraries/Utilities/Platform.flow.js
39
+ Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js
40
+ Libraries/LogBox/UI/LogBoxInspectorHeader.js
41
+ Libraries/LogBox/UI/LogBoxInspectorStackFrame.js
42
+ Libraries/LogBox/UI/LogBoxInspectorReactFrames.js
43
+ Libraries/LogBox/UI/LogBoxStyle.js
44
+
45
+ IntegrationTests/ImageCachePolicyTest.js
46
+ IntegrationTests/LayoutEventsTest.js
47
+ IntegrationTests/IntegrationTestsApp.js
48
+ IntegrationTests/PromiseTest.js
49
+ IntegrationTests/TimersTest.js
48
50
 
49
51
  ; Ignore react-native files in node_modules since they are copied into project root
50
- .*/node_modules/react-native/.*
52
+ **/node_modules/react-native/**
53
+ ../../../node_modules/react-native/**
54
+
55
+ ; Hoisted workspace links resolve to source directories outside this Flow project.
56
+ ../../../vnext/**
57
+ ../../../packages/@react-native/**
58
+ ../../../packages/@react-native-windows/**
59
+ ../../../packages/@rnw-scripts/**
60
+ ../react-native-win32-tester/**
61
+ ../../react-native-platform-override/**
51
62
 
52
63
  ; Ignore all flow directory contents in node_modules
53
- .*/flow/.*
64
+ **/flow/**
54
65
 
55
66
  ; Ignore react-native-windows' build output. Flow is not compiled with long path support and after running unittests these folders have long paths
56
- .*/node_modules/react-native-windows/build/.*
57
- .*/node_modules/react-native-windows/target/.*
58
- .*/node_modules/react-native-windows/Microsoft.ReactNative.Managed.CodeGen.UnitTests/.*
59
- .*/node_modules/react-native-windows/Microsoft.ReactNative.Managed.UnitTests/.*
67
+ **/node_modules/react-native-windows/build/**
68
+ **/node_modules/react-native-windows/target/**
69
+ **/node_modules/react-native-windows/Microsoft.ReactNative.Managed.CodeGen.UnitTests/**
70
+ **/node_modules/react-native-windows/Microsoft.ReactNative.Managed.UnitTests/**
60
71
 
61
72
  ; These files dont need to be checked and just increase the build time
62
- .*/node_modules/e2etest/.*
63
- .*/node_modules/playground/.*
73
+ **/node_modules/e2etest/**
74
+ **/node_modules/playground/**
64
75
 
65
- <PROJECT_ROOT>/packages/react-native/sdks/.*
76
+ packages/react-native/sdks/**
66
77
 
67
78
  ; Ignore the codegen e2e tests
68
- <PROJECT_ROOT>/packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js
79
+ packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js
69
80
 
70
81
  ; Ignore "BUCK" generated dirs
71
- <PROJECT_ROOT>/\.buckd/
82
+ .buckd/**
72
83
 
73
84
  ; Ignore cache files
74
- .*/node_modules/.cache*
85
+ **/node_modules/.cache*/**
75
86
 
76
87
  ; Ignore the src-win folder - flow files are combined with ones from react-native into the root Libraries folder
77
- .*/react-native-win32/src-win/.*
88
+ src-win/**
78
89
 
79
90
  ; Ignore the private __tests__ (until this is fixed: https://github.com/facebook/react-native/issues/43242)
80
- .*/react-native-win32/src/private/.*/__tests__/.*
91
+ src/private/**/__tests__/**
81
92
 
82
93
  ; Ignore files with flow typing issues #9223
83
- .*/react-native-win32/Libraries/Core/ReactNativeVersionCheck.js
94
+ Libraries/Core/ReactNativeVersionCheck.js
84
95
 
85
- .*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$
96
+ **/node_modules/resolve/test/resolver/malformed_package_json/package.json
97
+ **/node_modules/invariant/**
98
+ ../../../node_modules/invariant/**
86
99
 
87
100
  ; Checked-in build output
88
- <PROJECT_ROOT>/packages/debugger-frontend/dist/
101
+ packages/debugger-frontend/dist/**
89
102
 
90
103
  ; Generated build output
91
- <PROJECT_ROOT>/packages/.*/dist
104
+ packages/*/dist/**
92
105
 
93
106
  ; helloworld
94
- <PROJECT_ROOT>/private/helloworld/ios/Pods/
107
+ private/helloworld/ios/Pods/**
95
108
 
96
109
  ; Ignore rn-tester Pods
97
- <PROJECT_ROOT>/packages/rn-tester/Pods/
110
+ packages/rn-tester/Pods/**
98
111
 
99
112
  [untyped]
100
- .*/node_modules/@react-native-community/cli/.*/.*
113
+ **/node_modules/@react-native-community/cli/**
114
+ ../../../node_modules/@react-native-community/cli/**
101
115
  ; Should work out how to do this properly
102
- .*/react-native-win32/Libraries/Image/resolveAssetSource.win32.js
116
+ Libraries/Image/resolveAssetSource.win32.js
117
+
118
+ [declarations]
119
+ .*/node_modules/.*
103
120
 
104
121
  [include]
105
122
  ; Need to include hoisted modules
106
- ../../../node_modules/
123
+ ../../../node_modules/**
107
124
 
108
125
  [libs]
109
126
  interface.js
@@ -113,15 +130,10 @@ interface.js
113
130
  src/types/
114
131
 
115
132
  [options]
116
- enums=true
117
- experimental.pattern_matching=true
118
- casting_syntax=both
119
- component_syntax=true
133
+ builtin_lib=core-only
120
134
 
121
135
  emoji=true
122
136
 
123
- exact_by_default=true
124
-
125
137
  format.bracket_spacing=false
126
138
 
127
139
  module.file_ext=.js
@@ -137,6 +149,8 @@ munge_underscores=true
137
149
 
138
150
  module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/index.win32.js'
139
151
  module.name_mapper='^@office-iss/react-native-win32$' -> '<PROJECT_ROOT>/index.win32.js'
152
+ module.name_mapper='^react-native/react-private-interface$' -> '<PROJECT_ROOT>/src/react-private-interface.js'
153
+ module.name_mapper='^react-native/setup-env$' -> '<PROJECT_ROOT>/src/setup-env.js'
140
154
  module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/\1'
141
155
  module.name_mapper='^@office-iss/react-native-win32/\(.*\)$' -> '<PROJECT_ROOT>\/1'
142
156
  module.name_mapper='^@react-native/dev-middleware$' -> '<PROJECT_ROOT>/\1'
@@ -148,8 +162,6 @@ react.runtime=automatic
148
162
 
149
163
  ban_spread_key_props=true
150
164
 
151
- sharedmemory.hash_table_pow=21
152
-
153
165
  [lints]
154
166
  sketchy-null-number=warn
155
167
  sketchy-null-mixed=warn
@@ -171,4 +183,4 @@ untyped-import
171
183
  untyped-type-import
172
184
 
173
185
  [version]
174
- ^0.303.0
186
+ ^0.338.0
package/CHANGELOG.json CHANGED
@@ -1,6 +1,117 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
+ {
5
+ "date": "Thu, 12 Nov 2026 22:36:45 GMT",
6
+ "version": "0.0.0-canary.315",
7
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.315",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "email not defined",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "a115ff1c51494faa6ba3ac421171b9877dcd050f",
14
+ "comment": "Integrate React Native 0.89.0-nightly-20261102-47a9917ac (November 2, 2026)"
15
+ },
16
+ {
17
+ "author": "anuagra@microsoft.com",
18
+ "package": "@office-iss/react-native-win32",
19
+ "commit": "a115ff1c51494faa6ba3ac421171b9877dcd050f",
20
+ "comment": "Return false for unsupported Show Borders accessibility queries on Windows and win32."
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Wed, 04 Nov 2026 19:50:02 GMT",
27
+ "version": "0.0.0-canary.314",
28
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.314",
29
+ "comments": {
30
+ "prerelease": [
31
+ {
32
+ "author": "beachball",
33
+ "package": "@office-iss/react-native-win32",
34
+ "comment": "Bump react-native-platform-override to v0.0.0-canary.1025",
35
+ "commit": "not available"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Thu, 29 Oct 2026 05:31:45 GMT",
42
+ "version": "0.0.0-canary.313",
43
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.313",
44
+ "comments": {
45
+ "prerelease": [
46
+ {
47
+ "author": "email not defined",
48
+ "package": "@office-iss/react-native-win32",
49
+ "commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
50
+ "comment": "Integrate React Native 0.87.0-nightly-20260519-58cd1bf58"
51
+ },
52
+ {
53
+ "author": "email not defined",
54
+ "package": "@office-iss/react-native-win32",
55
+ "commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
56
+ "comment": "Integrate RN nightly 0.88.0-nightly-20260908-3e897cfdf (Sep 8th)"
57
+ },
58
+ {
59
+ "author": "email not defined",
60
+ "package": "@office-iss/react-native-win32",
61
+ "commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
62
+ "comment": "Integrate RN nightly 0.88.0-nightly-20260805-f2188610c (Aug 5th)"
63
+ },
64
+ {
65
+ "author": "email not defined",
66
+ "package": "@office-iss/react-native-win32",
67
+ "commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
68
+ "comment": "Integrate React Native 0.86.0-nightly-20260325-d1809f0aa"
69
+ },
70
+ {
71
+ "author": "email not defined",
72
+ "package": "@office-iss/react-native-win32",
73
+ "commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
74
+ "comment": "Integrate React Native 0.86.0-nightly-20260310-621592d1f"
75
+ },
76
+ {
77
+ "author": "email not defined",
78
+ "package": "@office-iss/react-native-win32",
79
+ "commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
80
+ "comment": "Integrate React Native 0.87.0-nightly-20260704-e04ff69ab (July 4th)"
81
+ },
82
+ {
83
+ "author": "email not defined",
84
+ "package": "@office-iss/react-native-win32",
85
+ "commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
86
+ "comment": "Integrate React Native 0.87.0-nightly-20260604-63683f091 (June 4th)"
87
+ },
88
+ {
89
+ "author": "email not defined",
90
+ "package": "@office-iss/react-native-win32",
91
+ "commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
92
+ "comment": "Integrate React Native 0.89.0-nightly-20261002-cd2de187e (Oct 2nd)"
93
+ },
94
+ {
95
+ "author": "email not defined",
96
+ "package": "@office-iss/react-native-win32",
97
+ "commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
98
+ "comment": "Integrate React Native 0.86.0-nightly-20260430-118198599"
99
+ },
100
+ {
101
+ "author": "email not defined",
102
+ "package": "@office-iss/react-native-win32",
103
+ "commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
104
+ "comment": "Integrate React Native 0.86.0-nightly-20260408-8bac1df5a"
105
+ },
106
+ {
107
+ "author": "beachball",
108
+ "package": "@office-iss/react-native-win32",
109
+ "comment": "Bump react-native-platform-override to v0.0.0-canary.1024",
110
+ "commit": "not available"
111
+ }
112
+ ]
113
+ }
114
+ },
4
115
  {
5
116
  "date": "Mon, 20 Jul 2026 21:19:51 GMT",
6
117
  "version": "0.0.0-canary.312",
package/CHANGELOG.md CHANGED
@@ -1,9 +1,44 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- <!-- This log was last generated on Mon, 20 Jul 2026 21:19:51 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Thu, 12 Nov 2026 22:36:45 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.0.0-canary.315
8
+
9
+ Thu, 12 Nov 2026 22:36:45 GMT
10
+
11
+ ### Changes
12
+
13
+ - Integrate React Native 0.89.0-nightly-20261102-47a9917ac (November 2, 2026)
14
+ - Return false for unsupported Show Borders accessibility queries on Windows and win32. (anuagra@microsoft.com)
15
+
16
+ ## 0.0.0-canary.314
17
+
18
+ Wed, 04 Nov 2026 19:50:02 GMT
19
+
20
+ ### Changes
21
+
22
+ - Bump react-native-platform-override to v0.0.0-canary.1025
23
+
24
+ ## 0.0.0-canary.313
25
+
26
+ Thu, 29 Oct 2026 05:31:45 GMT
27
+
28
+ ### Changes
29
+
30
+ - Integrate React Native 0.87.0-nightly-20260519-58cd1bf58
31
+ - Integrate RN nightly 0.88.0-nightly-20260908-3e897cfdf (Sep 8th)
32
+ - Integrate RN nightly 0.88.0-nightly-20260805-f2188610c (Aug 5th)
33
+ - Integrate React Native 0.86.0-nightly-20260325-d1809f0aa
34
+ - Integrate React Native 0.86.0-nightly-20260310-621592d1f
35
+ - Integrate React Native 0.87.0-nightly-20260704-e04ff69ab (July 4th)
36
+ - Integrate React Native 0.87.0-nightly-20260604-63683f091 (June 4th)
37
+ - Integrate React Native 0.89.0-nightly-20261002-cd2de187e (Oct 2nd)
38
+ - Integrate React Native 0.86.0-nightly-20260430-118198599
39
+ - Integrate React Native 0.86.0-nightly-20260408-8bac1df5a
40
+ - Bump react-native-platform-override to v0.0.0-canary.1024
41
+
7
42
  ## 0.0.0-canary.312
8
43
 
9
44
  Mon, 20 Jul 2026 21:19:51 GMT
@@ -10,6 +10,7 @@
10
10
 
11
11
  'use strict';
12
12
 
13
+ import deepEquals from './RNTesterDeepEquals';
13
14
  import * as React from 'react';
14
15
  import {useEffect, useState} from 'react';
15
16
  import {
@@ -19,14 +20,13 @@ import {
19
20
  Text,
20
21
  View,
21
22
  } from 'react-native';
22
- import deepDiffer from 'react-native/Libraries/Utilities/differ/deepDiffer';
23
23
 
24
24
  const {TestModule} = NativeModules;
25
25
 
26
26
  const TEST_PAYLOAD = {foo: 'bar'};
27
27
 
28
28
  type AppEvent = {
29
- data: Object,
29
+ data: typeof TEST_PAYLOAD,
30
30
  ts: number,
31
31
  };
32
32
 
@@ -44,7 +44,7 @@ function AppEventsTest(): React.Node {
44
44
 
45
45
  useEffect(() => {
46
46
  const receiveEvent = (event: any) => {
47
- if (deepDiffer(event.data, TEST_PAYLOAD)) {
47
+ if (!deepEquals(event.data, TEST_PAYLOAD)) {
48
48
  throw new Error('Received wrong event: ' + JSON.stringify(event));
49
49
  }
50
50
  const elapsed = Date.now() - event.ts + 'ms';
@@ -10,15 +10,30 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import type {ExtendedError} from 'react-native/Libraries/Core/ExtendedError';
14
-
15
13
  import * as React from 'react';
16
14
  import {useEffect} from 'react';
17
15
  import {NativeModules, View} from 'react-native';
18
- import parseErrorStack from 'react-native/Libraries/Core/Devtools/parseErrorStack';
19
16
 
20
17
  const {TestModule} = NativeModules;
21
18
 
19
+ type ErrorWithEngine = Error &
20
+ interface {
21
+ jsEngine?: string,
22
+ };
23
+
24
+ function getFirstStackFrameFile(stack?: string): ?string {
25
+ if (stack == null) {
26
+ return null;
27
+ }
28
+ for (const line of stack.split('\n')) {
29
+ const match = line.match(/(?:\(|@|\s)(https?:\/\/.*?):\d+:\d+\)?$/);
30
+ if (match != null) {
31
+ return match[1];
32
+ }
33
+ }
34
+ return null;
35
+ }
36
+
22
37
  function GlobalEvalWithSourceUrlTest(): React.Node {
23
38
  useEffect(() => {
24
39
  if (typeof global.globalEvalWithSourceUrl !== 'function') {
@@ -33,7 +48,7 @@ function GlobalEvalWithSourceUrlTest(): React.Node {
33
48
  'Expected globalEvalWithSourceUrl(expression) to return a value',
34
49
  );
35
50
  }
36
- let syntaxError: ?ExtendedError;
51
+ let syntaxError: ?ErrorWithEngine;
37
52
  try {
38
53
  global.globalEvalWithSourceUrl('{');
39
54
  } catch (e) {
@@ -66,12 +81,10 @@ function GlobalEvalWithSourceUrlTest(): React.Node {
66
81
  'Expected globalEvalWithSourceUrl to throw an Error object',
67
82
  );
68
83
  }
69
- const parsedStack = parseErrorStack(error?.stack);
70
- if (parsedStack[0].file !== url) {
84
+ const firstStackFrameFile = getFirstStackFrameFile(error.stack);
85
+ if (firstStackFrameFile !== url) {
71
86
  throw new Error(
72
- `Expected first eval stack frame to be in ${url} but found ${String(
73
- parsedStack[0].file,
74
- )}`,
87
+ `Expected first eval stack frame to be in ${url} but found ${String(firstStackFrameFile)}`,
75
88
  );
76
89
  }
77
90
  TestModule.markTestCompleted();
@@ -10,7 +10,8 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- require('react-native/Libraries/Core/InitializeCore');
13
+ require('react-native/setup-env');
14
+
14
15
  const React = require('react');
15
16
  const ReactNative = require('react-native');
16
17
 
@@ -29,7 +30,6 @@ const TESTS = [
29
30
  require('./PromiseTest'),
30
31
  require('./SyncMethodTest'),
31
32
  require('./WebSocketTest'),
32
- require('./AccessibilityManagerTest'),
33
33
  require('./GlobalEvalWithSourceUrlTest'),
34
34
  ].map(mod => mod.default);
35
35
 
@@ -50,7 +50,7 @@ type Test = any;
50
50
 
51
51
  class IntegrationTestsApp extends React.Component<{...}, $FlowFixMe> {
52
52
  state: {test: ?Test} = {
53
- test: (null: ?Test),
53
+ test: null as ?Test,
54
54
  };
55
55
 
56
56
  render(): React.Node {
@@ -11,15 +11,14 @@
11
11
  'use strict';
12
12
 
13
13
  import type {LayoutChangeEvent, LayoutRectangle} from 'react-native';
14
- import type {ViewStyleProp} from 'react-native/Libraries/StyleSheet/StyleSheet';
15
14
 
15
+ const deepEquals = require('./RNTesterDeepEquals').default;
16
16
  const React = require('react');
17
17
  const ReactNative = require('react-native');
18
- const deepDiffer =
19
- require('react-native/Libraries/Utilities/differ/deepDiffer').default;
20
18
 
21
19
  const {Image, LayoutAnimation, StyleSheet, Text, View} = ReactNative;
22
20
  const {TestModule} = ReactNative.NativeModules;
21
+ type ViewStyleProp = NonNullable<React.PropOf<View, 'style'>>;
23
22
  function debug(...args: Array<void | LayoutRectangle | string>) {
24
23
  // console.log.apply(null, arguments);
25
24
  }
@@ -108,7 +107,7 @@ class LayoutEventsTest extends React.Component<Props, State> {
108
107
  measured: LayoutRectangle,
109
108
  onLayout?: ?LayoutRectangle,
110
109
  ): void {
111
- if (deepDiffer(measured, onLayout)) {
110
+ if (!deepEquals(measured, onLayout)) {
112
111
  const data = {measured, onLayout};
113
112
  throw new Error(
114
113
  node +
@@ -9,7 +9,7 @@
9
9
  */
10
10
 
11
11
  import invariant from 'invariant';
12
- import BatchedBridge from 'react-native/Libraries/BatchedBridge/BatchedBridge';
12
+ import {BatchedBridge} from 'react-native/react-private-interface';
13
13
 
14
14
  const LoggingTestModule = {
15
15
  logToConsole(message: string): void {
@@ -77,6 +77,7 @@ function PromiseTest(): React.Node {
77
77
  );
78
78
  }
79
79
 
80
+ // $FlowFixMe[incompatible-type]
80
81
  runTests().catch(console.error);
81
82
  }, []);
82
83
 
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @flow strict-local
8
+ * @format
9
+ */
10
+
11
+ 'use strict';
12
+
13
+ export default function deepEquals(one: unknown, two: unknown): boolean {
14
+ if (one === two) {
15
+ return true;
16
+ }
17
+ if (typeof one === 'function' && typeof two === 'function') {
18
+ return true;
19
+ }
20
+ if (
21
+ typeof one !== 'object' ||
22
+ one === null ||
23
+ typeof two !== 'object' ||
24
+ two === null ||
25
+ one.constructor !== two.constructor
26
+ ) {
27
+ return false;
28
+ }
29
+ if (Array.isArray(one)) {
30
+ if (!Array.isArray(two) || one.length !== two.length) {
31
+ return false;
32
+ }
33
+ for (let ii = 0; ii < one.length; ii++) {
34
+ if (!deepEquals(one[ii], two[ii])) {
35
+ return false;
36
+ }
37
+ }
38
+ } else {
39
+ for (const key in one) {
40
+ if (!deepEquals(one[key], two[key])) {
41
+ return false;
42
+ }
43
+ }
44
+ for (const key in two) {
45
+ if (one[key] === undefined && two[key] !== undefined) {
46
+ return false;
47
+ }
48
+ }
49
+ }
50
+ return true;
51
+ }