@office-iss/react-native-win32 0.0.0-canary.298 → 0.0.0-canary.299

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 (220) hide show
  1. package/.flowconfig +5 -3
  2. package/CHANGELOG.json +28 -1
  3. package/CHANGELOG.md +16 -6
  4. package/IntegrationTests/IntegrationTestsApp.js +1 -0
  5. package/IntegrationTests/LoggingTestModule.js +16 -20
  6. package/IntegrationTests/TimersTest.js +1 -0
  7. package/IntegrationTests/WebSocketTest.js +1 -0
  8. package/Libraries/ActionSheetIOS/NativeActionSheetManager.js +1 -0
  9. package/Libraries/Alert/Alert.js +2 -2
  10. package/Libraries/Alert/NativeAlertManager.js +1 -0
  11. package/Libraries/Alert/RCTAlertManager.android.js +19 -13
  12. package/Libraries/Alert/RCTAlertManager.ios.js +9 -11
  13. package/Libraries/Alert/RCTAlertManager.js +1 -3
  14. package/Libraries/Alert/RCTAlertManager.js.flow +4 -6
  15. package/Libraries/Animated/AnimatedEvent.js +4 -3
  16. package/Libraries/Animated/AnimatedExports.js.flow +5 -0
  17. package/Libraries/Animated/AnimatedImplementation.js +44 -44
  18. package/Libraries/Animated/AnimatedMock.js +2 -2
  19. package/Libraries/Animated/NativeAnimatedModule.js +1 -0
  20. package/Libraries/Animated/NativeAnimatedTurboModule.js +1 -0
  21. package/Libraries/Animated/animations/Animation.js +6 -1
  22. package/Libraries/Animated/components/AnimatedScrollView.js +6 -5
  23. package/Libraries/Animated/components/AnimatedText.js +2 -5
  24. package/Libraries/Animated/components/AnimatedView.js +2 -1
  25. package/Libraries/Animated/createAnimatedComponent.js +2 -4
  26. package/Libraries/Animated/nodes/AnimatedProps.js +2 -7
  27. package/Libraries/AppState/NativeAppState.js +1 -0
  28. package/Libraries/Blob/NativeBlobModule.js +1 -0
  29. package/Libraries/Blob/NativeFileReaderModule.js +1 -0
  30. package/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfo.js +1 -2
  31. package/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfoWin32.js +1 -2
  32. package/Libraries/Components/AccessibilityInfo/NativeAccessibilityManager.js +1 -2
  33. package/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js +1 -2
  34. package/Libraries/Components/Button.js +7 -4
  35. package/Libraries/Components/Button.win32.js +7 -4
  36. package/Libraries/Components/Clipboard/NativeClipboard.js +1 -2
  37. package/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js +1 -2
  38. package/Libraries/Components/Keyboard/NativeKeyboardObserver.js +1 -2
  39. package/Libraries/Components/Pressable/Pressable.js +8 -2
  40. package/Libraries/Components/Pressable/Pressable.win32.js +8 -8
  41. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.js +1 -2
  42. package/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js +1 -2
  43. package/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js +1 -0
  44. package/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js +1 -2
  45. package/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +9 -0
  46. package/Libraries/Components/SafeAreaView/SafeAreaView.js +3 -2
  47. package/Libraries/Components/SafeAreaView/SafeAreaView.win32.js +3 -2
  48. package/Libraries/Components/ScrollView/AndroidHorizontalScrollContentViewNativeComponent.js +1 -2
  49. package/Libraries/Components/ScrollView/ScrollView.d.ts +10 -1
  50. package/Libraries/Components/ScrollView/ScrollView.js +3 -1
  51. package/Libraries/Components/Sound/NativeSoundManager.js +1 -2
  52. package/Libraries/Components/StatusBar/NativeStatusBarManagerAndroid.js +1 -2
  53. package/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js +1 -2
  54. package/Libraries/Components/StatusBar/StatusBar.d.ts +4 -0
  55. package/Libraries/Components/StatusBar/StatusBar.js +5 -0
  56. package/Libraries/Components/Switch/AndroidSwitchNativeComponent.js +1 -2
  57. package/Libraries/Components/Switch/Switch.js +2 -1
  58. package/Libraries/Components/Switch/SwitchNativeComponent.js +1 -2
  59. package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +8 -7
  60. package/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js +1 -2
  61. package/Libraries/Components/TextInput/TextInput.flow.js +1 -1
  62. package/Libraries/Components/TextInput/TextInput.js +2 -4
  63. package/Libraries/Components/TextInput/TextInput.win32.js +28 -3
  64. package/Libraries/Components/ToastAndroid/NativeToastAndroid.js +1 -2
  65. package/Libraries/Components/Touchable/Touchable.js +7 -3
  66. package/Libraries/Components/Touchable/Touchable.win32.js +7 -3
  67. package/Libraries/Components/Touchable/TouchableHighlight.js +5 -1
  68. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +3 -2
  69. package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js +3 -2
  70. package/Libraries/Components/Touchable/TouchableOpacity.d.ts +1 -0
  71. package/Libraries/Components/Touchable/TouchableOpacity.js +3 -2
  72. package/Libraries/Components/UnimplementedViews/UnimplementedNativeViewNativeComponent.js +1 -2
  73. package/Libraries/Components/View/ReactNativeStyleAttributes.js +6 -15
  74. package/Libraries/Components/View/View.js +17 -18
  75. package/Libraries/Components/View/View.win32.js +16 -2
  76. package/Libraries/Components/View/ViewAccessibility.js +0 -7
  77. package/Libraries/Components/View/ViewAccessibility.win32.js +0 -7
  78. package/Libraries/Components/View/ViewPropTypes.d.ts +4 -0
  79. package/Libraries/Components/View/ViewPropTypes.js +8 -0
  80. package/Libraries/Components/View/ViewPropTypes.win32.js +8 -0
  81. package/Libraries/Core/ExceptionsManager.js +28 -15
  82. package/Libraries/Core/NativeExceptionsManager.js +1 -0
  83. package/Libraries/Core/ReactNativeVersion.js +1 -1
  84. package/Libraries/Core/SegmentFetcher/NativeSegmentFetcher.js +1 -0
  85. package/Libraries/Core/Timers/NativeTiming.js +1 -0
  86. package/Libraries/Core/checkNativeVersion.js +1 -0
  87. package/Libraries/Core/setUpReactDevTools.js +21 -4
  88. package/Libraries/Debugging/DebuggingOverlayNativeComponent.js +1 -0
  89. package/Libraries/EventEmitter/NativeEventEmitter.js +3 -3
  90. package/Libraries/Image/Image.android.js +3 -3
  91. package/Libraries/Image/ImageSource.d.ts +5 -0
  92. package/Libraries/Image/ImageViewNativeComponent.js +3 -3
  93. package/Libraries/Image/NativeImageEditor.js +1 -0
  94. package/Libraries/Image/NativeImageLoaderAndroid.js +1 -0
  95. package/Libraries/Image/NativeImageLoaderIOS.js +1 -0
  96. package/Libraries/Image/NativeImageLoaderWin32.js +1 -0
  97. package/Libraries/Image/NativeImageStoreAndroid.js +1 -0
  98. package/Libraries/Image/NativeImageStoreIOS.js +1 -0
  99. package/Libraries/Image/RelativeImageStub.js +1 -1
  100. package/Libraries/Image/TextInlineImageNativeComponent.js +3 -3
  101. package/Libraries/Interaction/InteractionManager.js +6 -1
  102. package/Libraries/Interaction/NativeFrameRateLogger.js +1 -0
  103. package/Libraries/Interaction/TaskQueue.js +14 -0
  104. package/Libraries/LayoutAnimation/LayoutAnimation.js +12 -8
  105. package/Libraries/Linking/NativeIntentAndroid.js +1 -0
  106. package/Libraries/Linking/NativeLinkingManager.js +1 -0
  107. package/Libraries/Lists/FlatList.js +5 -6
  108. package/Libraries/Lists/SectionList.js +4 -4
  109. package/Libraries/Lists/VirtualizedList.js +3 -2
  110. package/Libraries/LogBox/Data/LogBoxData.js +7 -4
  111. package/Libraries/LogBox/LogBox.js +72 -101
  112. package/Libraries/Modal/Modal.d.ts +8 -2
  113. package/Libraries/Modal/Modal.js +19 -2
  114. package/Libraries/Modal/NativeModalManager.js +1 -0
  115. package/Libraries/Modal/RCTModalHostViewNativeComponent.js +1 -0
  116. package/Libraries/NativeComponent/BaseViewConfig.android.js +6 -15
  117. package/Libraries/NativeComponent/BaseViewConfig.ios.js +6 -15
  118. package/Libraries/NativeComponent/BaseViewConfig.win32.js +6 -15
  119. package/Libraries/NativeModules/specs/NativeDevMenu.js +1 -0
  120. package/Libraries/NativeModules/specs/NativeDevSettings.js +1 -0
  121. package/Libraries/NativeModules/specs/NativeDeviceEventManager.js +1 -0
  122. package/Libraries/NativeModules/specs/NativeDialogManagerAndroid.js +1 -0
  123. package/Libraries/NativeModules/specs/NativeLogBox.js +1 -0
  124. package/Libraries/NativeModules/specs/NativeRedBox.js +1 -0
  125. package/Libraries/NativeModules/specs/NativeSourceCode.js +1 -0
  126. package/Libraries/Network/NativeNetworkingAndroid.js +1 -0
  127. package/Libraries/Network/NativeNetworkingIOS.js +1 -0
  128. package/Libraries/Network/XMLHttpRequest.js +2 -0
  129. package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +1 -0
  130. package/Libraries/PermissionsAndroid/PermissionsAndroid.js +3 -2
  131. package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +1 -0
  132. package/Libraries/ReactNative/AppRegistry.flow.js +2 -2
  133. package/Libraries/ReactNative/AppRegistryImpl.js +0 -10
  134. package/Libraries/ReactNative/BridgelessUIManager.js +1 -1
  135. package/Libraries/ReactNative/NativeHeadlessJsTaskSupport.js +1 -0
  136. package/Libraries/ReactNative/NativeI18nManager.js +1 -0
  137. package/Libraries/ReactNative/NativeUIManager.js +1 -0
  138. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.js +80 -61
  139. package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +1 -1
  140. package/Libraries/ReactPrivate/ReactNativePrivateInterface.js.flow +2 -2
  141. package/Libraries/Renderer/implementations/ReactFabric-dev.js +3 -1
  142. package/Libraries/Renderer/implementations/ReactFabric-prod.js +3 -1
  143. package/Libraries/Renderer/implementations/ReactFabric-profiling.js +3 -1
  144. package/Libraries/Renderer/shims/ReactNativeTypes.js +3 -12
  145. package/Libraries/Renderer/shims/ReactNativeTypes.win32.js +3 -12
  146. package/Libraries/Settings/NativeSettingsManager.js +1 -0
  147. package/Libraries/Share/NativeShareModule.js +1 -0
  148. package/Libraries/StyleSheet/StyleSheet.js +1 -0
  149. package/Libraries/StyleSheet/processAspectRatio.js +2 -0
  150. package/Libraries/Text/Text.js +4 -6
  151. package/Libraries/Text/TextAncestor.js +3 -10
  152. package/Libraries/Text/TextAncestorContext.js +23 -0
  153. package/Libraries/Text/TextProps.js +2 -2
  154. package/Libraries/Text/TextProps.win32.js +2 -2
  155. package/Libraries/TurboModule/samples/NativeSampleTurboModule.js +1 -0
  156. package/Libraries/Types/CodegenTypesNamespace.js +1 -0
  157. package/Libraries/Utilities/HMRClient.js +12 -2
  158. package/Libraries/Utilities/NativeAppearance.js +1 -0
  159. package/Libraries/Utilities/NativeDevLoadingView.js +1 -0
  160. package/Libraries/Utilities/NativeDeviceInfo.js +1 -2
  161. package/Libraries/Utilities/NativePlatformConstantsAndroid.js +1 -0
  162. package/Libraries/Utilities/NativePlatformConstantsIOS.js +1 -0
  163. package/Libraries/Utilities/NativePlatformConstantsWin.js +1 -0
  164. package/Libraries/Utilities/Platform.android.js +1 -4
  165. package/Libraries/Utilities/Platform.ios.js +1 -4
  166. package/Libraries/Utilities/Platform.js.flow +2 -2
  167. package/Libraries/Utilities/Platform.win32.js +1 -4
  168. package/Libraries/Utilities/PlatformTypes.js +1 -1
  169. package/Libraries/Utilities/codegenNativeCommands.js +4 -2
  170. package/Libraries/Utilities/codegenNativeComponent.js +3 -3
  171. package/Libraries/Utilities/createPerformanceLogger.js +32 -0
  172. package/Libraries/Vibration/NativeVibration.js +1 -0
  173. package/Libraries/WebSocket/NativeWebSocketModule.js +1 -0
  174. package/Libraries/vendor/emitter/EventEmitter.js +6 -6
  175. package/index.js +21 -0
  176. package/index.win32.js +12 -1
  177. package/jest/setup.js +1 -0
  178. package/overrides.json +25 -25
  179. package/package.json +11 -11
  180. package/src/private/animated/createAnimatedPropsHook.js +4 -1
  181. package/src/private/animated/createAnimatedPropsMemoHook.js +2 -2
  182. package/src/private/components/virtualview/VirtualView.js +145 -0
  183. package/src/private/components/virtualview/VirtualViewNativeComponent.js +90 -0
  184. package/src/private/featureflags/ReactNativeFeatureFlags.js +43 -23
  185. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +9 -5
  186. package/src/private/setup/setUpPerformanceObserver.js +7 -0
  187. package/src/private/specs_DEPRECATED/components/ActivityIndicatorViewNativeComponent.js +7 -4
  188. package/src/private/specs_DEPRECATED/components/AndroidDrawerLayoutNativeComponent.js +3 -3
  189. package/src/private/specs_DEPRECATED/components/AndroidHorizontalScrollContentViewNativeComponent.js +3 -3
  190. package/src/private/specs_DEPRECATED/components/AndroidSwipeRefreshLayoutNativeComponent.js +3 -3
  191. package/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.js +10 -7
  192. package/src/private/specs_DEPRECATED/components/DebuggingOverlayNativeComponent.js +5 -4
  193. package/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.js +7 -4
  194. package/src/private/specs_DEPRECATED/components/PullToRefreshViewNativeComponent.js +9 -6
  195. package/src/private/specs_DEPRECATED/components/RCTInputAccessoryViewNativeComponent.js +9 -6
  196. package/src/private/specs_DEPRECATED/components/RCTModalHostViewNativeComponent.js +14 -5
  197. package/src/private/specs_DEPRECATED/components/RCTSafeAreaViewNativeComponent.js +8 -5
  198. package/src/private/specs_DEPRECATED/components/SwitchNativeComponent.js +5 -5
  199. package/src/private/specs_DEPRECATED/components/UnimplementedNativeViewNativeComponent.js +3 -3
  200. package/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.js +1 -0
  201. package/src/private/specs_DEPRECATED/modules/NativeUIManager.js +9 -6
  202. package/src/private/styles/composeStyles.js +5 -12
  203. package/src/private/webapis/errors/DOMException.js +1 -1
  204. package/src/private/webapis/idlecallbacks/specs/NativeIdleCallbacks.js +4 -2
  205. package/src/private/webapis/intersectionobserver/IntersectionObserver.js +12 -7
  206. package/src/private/webapis/intersectionobserver/internals/IntersectionObserverManager.js +13 -0
  207. package/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js +2 -1
  208. package/src/private/webapis/performance/Performance.js +164 -61
  209. package/src/private/webapis/performance/PerformanceEntry.js +20 -16
  210. package/src/private/webapis/performance/PerformanceObserver.js +31 -27
  211. package/src/private/webapis/performance/ResourceTiming.js +108 -0
  212. package/src/private/webapis/performance/UserTiming.js +60 -8
  213. package/src/private/webapis/performance/internals/RawPerformanceEntry.js +47 -32
  214. package/src/private/webapis/performance/specs/NativePerformance.js +13 -1
  215. package/src-win/Libraries/Components/View/ViewPropTypes.d.ts +4 -0
  216. package/Libraries/BugReporting/BugReporting.js +0 -140
  217. package/Libraries/BugReporting/NativeBugReporting.js +0 -13
  218. package/Libraries/BugReporting/dumpReactTree.js +0 -151
  219. package/Libraries/BugReporting/getReactData.js +0 -187
  220. package/src/private/specs_DEPRECATED/modules/NativeBugReporting.js +0 -20
@@ -215,7 +215,7 @@ type WebPlatform = {
215
215
  select: <T>(spec: PlatformSelectSpec<T>) => T,
216
216
  };
217
217
 
218
- export type Platform =
218
+ export type PlatformType =
219
219
  | IOSPlatform
220
220
  | AndroidPlatform
221
221
  | WindowsPlatform
@@ -10,11 +10,13 @@
10
10
 
11
11
  const {dispatchCommand} = require('../ReactNative/RendererProxy');
12
12
 
13
- type Options<T = string> = $ReadOnly<{
13
+ type NativeCommandsOptions<T = string> = $ReadOnly<{
14
14
  supportedCommands: $ReadOnlyArray<T>,
15
15
  }>;
16
16
 
17
- function codegenNativeCommands<T: interface {}>(options: Options<$Keys<T>>): T {
17
+ function codegenNativeCommands<T: interface {}>(
18
+ options: NativeCommandsOptions<$Keys<T>>,
19
+ ): T {
18
20
  const commandObj: {[$Keys<T>]: (...$ReadOnlyArray<mixed>) => void} = {};
19
21
 
20
22
  options.supportedCommands.forEach(command => {
@@ -16,14 +16,14 @@ import requireNativeComponent from '../../Libraries/ReactNative/requireNativeCom
16
16
  import UIManager from '../ReactNative/UIManager';
17
17
 
18
18
  // TODO: import from CodegenSchema once workspaces are enabled
19
- type Options = $ReadOnly<{
19
+ type NativeComponentOptions = $ReadOnly<{
20
20
  interfaceOnly?: boolean,
21
21
  paperComponentName?: string,
22
22
  paperComponentNameDeprecated?: string,
23
23
  excludedPlatforms?: $ReadOnlyArray<'iOS' | 'android'>,
24
24
  }>;
25
25
 
26
- export type NativeComponentType<T> = HostComponent<T>;
26
+ export type NativeComponentType<T: {...}> = HostComponent<T>;
27
27
 
28
28
  // If this function runs then that means the view configs were not
29
29
  // generated at build time using `GenerateViewConfigJs.js`. Thus
@@ -33,7 +33,7 @@ export type NativeComponentType<T> = HostComponent<T>;
33
33
  // from a file suffixed with NativeComponent.js.
34
34
  function codegenNativeComponent<Props: {...}>(
35
35
  componentName: string,
36
- options?: Options,
36
+ options?: NativeComponentOptions,
37
37
  ): NativeComponentType<Props> {
38
38
  if (global.RN$Bridgeless === true && __DEV__) {
39
39
  console.warn(
@@ -35,6 +35,8 @@ class PerformanceLogger implements IPerformanceLogger {
35
35
  endExtras?: Extras,
36
36
  ) {
37
37
  if (this._closed) {
38
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
39
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
38
40
  if (PRINT_TO_CONSOLE && __DEV__) {
39
41
  console.log(
40
42
  'PerformanceLogger: addTimespan - has closed ignoring: ',
@@ -44,6 +46,8 @@ class PerformanceLogger implements IPerformanceLogger {
44
46
  return;
45
47
  }
46
48
  if (this._timespans[key]) {
49
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
50
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
47
51
  if (PRINT_TO_CONSOLE && __DEV__) {
48
52
  console.log(
49
53
  'PerformanceLogger: Attempting to add a timespan that already exists ',
@@ -79,6 +83,8 @@ class PerformanceLogger implements IPerformanceLogger {
79
83
  this._timespans = {};
80
84
  this._extras = {};
81
85
  this._points = {};
86
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
87
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
82
88
  if (PRINT_TO_CONSOLE) {
83
89
  console.log('PerformanceLogger.js', 'clear');
84
90
  }
@@ -92,6 +98,8 @@ class PerformanceLogger implements IPerformanceLogger {
92
98
  }
93
99
  this._extras = {};
94
100
  this._points = {};
101
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
102
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
95
103
  if (PRINT_TO_CONSOLE) {
96
104
  console.log('PerformanceLogger.js', 'clearCompleted');
97
105
  }
@@ -130,6 +138,8 @@ class PerformanceLogger implements IPerformanceLogger {
130
138
  }
131
139
 
132
140
  logEverything() {
141
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
142
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
133
143
  if (PRINT_TO_CONSOLE) {
134
144
  // log timespans
135
145
  for (const key in this._timespans) {
@@ -156,6 +166,8 @@ class PerformanceLogger implements IPerformanceLogger {
156
166
  extras?: Extras,
157
167
  ) {
158
168
  if (this._closed) {
169
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
170
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
159
171
  if (PRINT_TO_CONSOLE && __DEV__) {
160
172
  console.log(
161
173
  'PerformanceLogger: markPoint - has closed ignoring: ',
@@ -165,6 +177,8 @@ class PerformanceLogger implements IPerformanceLogger {
165
177
  return;
166
178
  }
167
179
  if (this._points[key] != null) {
180
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
181
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
168
182
  if (PRINT_TO_CONSOLE && __DEV__) {
169
183
  console.log(
170
184
  'PerformanceLogger: Attempting to mark a point that has been already logged ',
@@ -187,6 +201,8 @@ class PerformanceLogger implements IPerformanceLogger {
187
201
 
188
202
  setExtra(key: string, value: ExtraValue) {
189
203
  if (this._closed) {
204
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
205
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
190
206
  if (PRINT_TO_CONSOLE && __DEV__) {
191
207
  console.log('PerformanceLogger: setExtra - has closed ignoring: ', key);
192
208
  }
@@ -194,6 +210,8 @@ class PerformanceLogger implements IPerformanceLogger {
194
210
  }
195
211
 
196
212
  if (this._extras.hasOwnProperty(key)) {
213
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
214
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
197
215
  if (PRINT_TO_CONSOLE && __DEV__) {
198
216
  console.log(
199
217
  'PerformanceLogger: Attempting to set an extra that already exists ',
@@ -211,6 +229,8 @@ class PerformanceLogger implements IPerformanceLogger {
211
229
  extras?: Extras,
212
230
  ) {
213
231
  if (this._closed) {
232
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
233
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
214
234
  if (PRINT_TO_CONSOLE && __DEV__) {
215
235
  console.log(
216
236
  'PerformanceLogger: startTimespan - has closed ignoring: ',
@@ -221,6 +241,8 @@ class PerformanceLogger implements IPerformanceLogger {
221
241
  }
222
242
 
223
243
  if (this._timespans[key]) {
244
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
245
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
224
246
  if (PRINT_TO_CONSOLE && __DEV__) {
225
247
  console.log(
226
248
  'PerformanceLogger: Attempting to start a timespan that already exists ',
@@ -234,6 +256,8 @@ class PerformanceLogger implements IPerformanceLogger {
234
256
  startTime: timestamp,
235
257
  startExtras: extras,
236
258
  };
259
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
260
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
237
261
  if (PRINT_TO_CONSOLE) {
238
262
  console.log('PerformanceLogger.js', 'start: ' + key);
239
263
  }
@@ -245,6 +269,8 @@ class PerformanceLogger implements IPerformanceLogger {
245
269
  extras?: Extras,
246
270
  ) {
247
271
  if (this._closed) {
272
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
273
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
248
274
  if (PRINT_TO_CONSOLE && __DEV__) {
249
275
  console.log(
250
276
  'PerformanceLogger: stopTimespan - has closed ignoring: ',
@@ -256,6 +282,8 @@ class PerformanceLogger implements IPerformanceLogger {
256
282
 
257
283
  const timespan = this._timespans[key];
258
284
  if (!timespan || timespan.startTime == null) {
285
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
286
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
259
287
  if (PRINT_TO_CONSOLE && __DEV__) {
260
288
  console.log(
261
289
  'PerformanceLogger: Attempting to end a timespan that has not started ',
@@ -265,6 +293,8 @@ class PerformanceLogger implements IPerformanceLogger {
265
293
  return;
266
294
  }
267
295
  if (timespan.endTime != null) {
296
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
297
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
268
298
  if (PRINT_TO_CONSOLE && __DEV__) {
269
299
  console.log(
270
300
  'PerformanceLogger: Attempting to end a timespan that has already ended ',
@@ -277,6 +307,8 @@ class PerformanceLogger implements IPerformanceLogger {
277
307
  timespan.endExtras = extras;
278
308
  timespan.endTime = timestamp;
279
309
  timespan.totalTime = timespan.endTime - (timespan.startTime || 0);
310
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
311
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
280
312
  if (PRINT_TO_CONSOLE) {
281
313
  console.log('PerformanceLogger.js', 'end: ' + key);
282
314
  }
@@ -10,4 +10,5 @@
10
10
 
11
11
  export * from '../../src/private/specs_DEPRECATED/modules/NativeVibration';
12
12
  import NativeVibration from '../../src/private/specs_DEPRECATED/modules/NativeVibration';
13
+
13
14
  export default NativeVibration;
@@ -10,4 +10,5 @@
10
10
 
11
11
  export * from '../../src/private/specs_DEPRECATED/modules/NativeWebSocketModule';
12
12
  import NativeWebSocketModule from '../../src/private/specs_DEPRECATED/modules/NativeWebSocketModule';
13
+
13
14
  export default NativeWebSocketModule;
@@ -9,14 +9,14 @@
9
9
  */
10
10
 
11
11
  // $FlowFixMe[unclear-type] unclear type of events
12
- type UnsafeObject = Object;
12
+ type UnsafeEventObject = Object;
13
13
 
14
14
  export interface EventSubscription {
15
15
  remove(): void;
16
16
  }
17
17
 
18
18
  export interface IEventEmitter<
19
- TEventToArgsMap: $ReadOnly<Record<string, $ReadOnlyArray<UnsafeObject>>>,
19
+ TEventToArgsMap: $ReadOnly<Record<string, $ReadOnlyArray<UnsafeEventObject>>>,
20
20
  > {
21
21
  addListener<TEvent: $Keys<TEventToArgsMap>>(
22
22
  eventType: TEvent,
@@ -41,7 +41,7 @@ interface Registration<TArgs> {
41
41
  }
42
42
 
43
43
  type Registry<
44
- TEventToArgsMap: $ReadOnly<Record<string, $ReadOnlyArray<UnsafeObject>>>,
44
+ TEventToArgsMap: $ReadOnly<Record<string, $ReadOnlyArray<UnsafeEventObject>>>,
45
45
  > = {
46
46
  [K in keyof TEventToArgsMap]: Set<Registration<TEventToArgsMap[K]>>,
47
47
  };
@@ -68,8 +68,8 @@ type Registry<
68
68
  */
69
69
  export default class EventEmitter<
70
70
  TEventToArgsMap: $ReadOnly<
71
- Record<string, $ReadOnlyArray<UnsafeObject>>,
72
- > = $ReadOnly<Record<string, $ReadOnlyArray<UnsafeObject>>>,
71
+ Record<string, $ReadOnlyArray<UnsafeEventObject>>,
72
+ > = $ReadOnly<Record<string, $ReadOnlyArray<UnsafeEventObject>>>,
73
73
  > implements IEventEmitter<TEventToArgsMap>
74
74
  {
75
75
  #registry: Registry<TEventToArgsMap>;
@@ -157,7 +157,7 @@ export default class EventEmitter<
157
157
  }
158
158
 
159
159
  function allocate<
160
- TEventToArgsMap: $ReadOnly<Record<string, $ReadOnlyArray<UnsafeObject>>>,
160
+ TEventToArgsMap: $ReadOnly<Record<string, $ReadOnlyArray<UnsafeEventObject>>>,
161
161
  TEvent: $Keys<TEventToArgsMap>,
162
162
  TEventArgs: TEventToArgsMap[TEvent],
163
163
  >(
package/index.js CHANGED
@@ -83,7 +83,18 @@ module.exports = {
83
83
  return require('./Libraries/Components/RefreshControl/RefreshControl')
84
84
  .default;
85
85
  },
86
+ /**
87
+ * @deprecated SafeAreaView has been deprecated and will be removed in a future release.
88
+ * Please use 'react-native-safe-area-context' instead.
89
+ * See https://github.com/th3rdwave/react-native-safe-area-context
90
+ */
86
91
  get SafeAreaView() {
92
+ warnOnce(
93
+ 'safe-area-view-deprecated',
94
+ 'SafeAreaView has been deprecated and will be removed in a future release. ' +
95
+ "Please use 'react-native-safe-area-context' instead. " +
96
+ 'See https://github.com/th3rdwave/react-native-safe-area-context',
97
+ );
87
98
  return require('./Libraries/Components/SafeAreaView/SafeAreaView').default;
88
99
  },
89
100
  get ScrollView() {
@@ -101,6 +112,9 @@ module.exports = {
101
112
  get Text() {
102
113
  return require('./Libraries/Text/Text').default;
103
114
  },
115
+ get unstable_TextAncestorContext() {
116
+ return require('./Libraries/Text/TextAncestorContext').default;
117
+ },
104
118
  get TextInput() {
105
119
  return require('./Libraries/Components/TextInput/TextInput').default;
106
120
  },
@@ -131,6 +145,9 @@ module.exports = {
131
145
  get VirtualizedSectionList() {
132
146
  return require('./Libraries/Lists/VirtualizedSectionList').default;
133
147
  },
148
+ get unstable_VirtualView() {
149
+ return require('./src/private/components/virtualview/VirtualView').default;
150
+ },
134
151
  // #endregion
135
152
  // #region APIs
136
153
  get AccessibilityInfo() {
@@ -315,6 +332,10 @@ module.exports = {
315
332
  get Vibration() {
316
333
  return require('./Libraries/Vibration/Vibration').default;
317
334
  },
335
+ get VirtualViewMode() {
336
+ return require('./src/private/components/virtualview/VirtualView')
337
+ .VirtualViewMode;
338
+ },
318
339
  // #endregion
319
340
  } as ReactNativePublicAPI;
320
341
 
package/index.win32.js CHANGED
@@ -170,7 +170,18 @@ module.exports = {
170
170
  return require('./Libraries/Components/RefreshControl/RefreshControl')
171
171
  .default;
172
172
  },
173
+ /**
174
+ * @deprecated SafeAreaView has been deprecated and will be removed in a future release.
175
+ * Please use 'react-native-safe-area-context' instead.
176
+ * See https://github.com/th3rdwave/react-native-safe-area-context
177
+ */
173
178
  get SafeAreaView(): SafeAreaView {
179
+ warnOnce(
180
+ 'safe-area-view-deprecated',
181
+ 'SafeAreaView has been deprecated and will be removed in a future release. ' +
182
+ "Please use 'react-native-safe-area-context' instead. " +
183
+ 'See https://github.com/th3rdwave/react-native-safe-area-context',
184
+ );
174
185
  return require('./Libraries/Components/SafeAreaView/SafeAreaView').default;
175
186
  },
176
187
  get ScrollView(): ScrollView {
@@ -220,7 +231,6 @@ module.exports = {
220
231
  get VirtualizedSectionList(): VirtualizedSectionList {
221
232
  return require('./Libraries/Lists/VirtualizedSectionList').default;
222
233
  },
223
- // #endregion
224
234
  // #region APIs
225
235
  get AccessibilityInfo(): AccessibilityInfo {
226
236
  return require('./Libraries/Components/AccessibilityInfo/AccessibilityInfo')
@@ -417,6 +427,7 @@ module.exports = {
417
427
  get Vibration(): Vibration {
418
428
  return require('./Libraries/Vibration/Vibration').default;
419
429
  },
430
+ // #endregion
420
431
  // Win32 Types (Typescript components exported as flow any)
421
432
  get ColorGradientWin32(): ColorGradientWin32 {
422
433
  return require('./Libraries/StyleSheet/PlatformColorValueTypesWin32')
package/jest/setup.js CHANGED
@@ -120,4 +120,5 @@ mock(
120
120
  mock('m#../Libraries/ReactNative/UIManager', 'm#./mocks/UIManager');
121
121
  mock('m#../Libraries/Text/Text', 'm#./mocks/Text');
122
122
  mock('m#../Libraries/Utilities/useColorScheme', 'm#./mocks/useColorScheme');
123
+ // $FlowFixMe[incompatible-call]
123
124
  mock('m#../Libraries/Vibration/Vibration', 'm#./mocks/Vibration');
package/overrides.json CHANGED
@@ -7,19 +7,19 @@
7
7
  "**/__snapshots__/**",
8
8
  "src-win/rntypes/**"
9
9
  ],
10
- "baseVersion": "0.81.0-nightly-20250604-1a6d466f1",
10
+ "baseVersion": "0.81.0-nightly-20250709-6892dde36",
11
11
  "overrides": [
12
12
  {
13
13
  "type": "derived",
14
14
  "file": ".flowconfig",
15
15
  "baseFile": ".flowconfig",
16
- "baseHash": "a9dfa56b1428e49ea4474e0fee395c0dba67625b"
16
+ "baseHash": "a5a50b87e779ba343919454cb5f7c1e77c2db982"
17
17
  },
18
18
  {
19
19
  "type": "derived",
20
20
  "file": "src-win/index.win32.js",
21
21
  "baseFile": "packages/react-native/index.js",
22
- "baseHash": "79fa02963edb0e0f580fad3c401187956b393e2e"
22
+ "baseHash": "c5d0dfd40d0fb7c197790b1f23f4f8b9ca835047"
23
23
  },
24
24
  {
25
25
  "type": "platform",
@@ -29,7 +29,7 @@
29
29
  "type": "patch",
30
30
  "file": "src-win/Libraries/Alert/Alert.win32.js",
31
31
  "baseFile": "packages/react-native/Libraries/Alert/Alert.js",
32
- "baseHash": "980f439d79b614424de82f8a3380dea74ab6824b"
32
+ "baseHash": "69ddf736ab642b251fbb8125d08bef56c340b8c9"
33
33
  },
34
34
  {
35
35
  "type": "derived",
@@ -54,13 +54,13 @@
54
54
  "type": "derived",
55
55
  "file": "src-win/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfoWin32.js",
56
56
  "baseFile": "packages/react-native/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfo.js",
57
- "baseHash": "f6217411d2c787f76461a278fe027e1ac32dd5ac"
57
+ "baseHash": "79ce8c392ca4558bf31df174d73b8af2d8f44f46"
58
58
  },
59
59
  {
60
60
  "type": "derived",
61
61
  "file": "src-win/Libraries/Components/Button.win32.js",
62
62
  "baseFile": "packages/react-native/Libraries/Components/Button.js",
63
- "baseHash": "ff56172f38be109b069589c40b6be80751c3527c"
63
+ "baseHash": "5b293a6dbfdf16309c7cbfe71d61f143fa9fa2a2"
64
64
  },
65
65
  {
66
66
  "type": "platform",
@@ -85,7 +85,7 @@
85
85
  "type": "patch",
86
86
  "file": "src-win/Libraries/Components/Pressable/Pressable.win32.js",
87
87
  "baseFile": "packages/react-native/Libraries/Components/Pressable/Pressable.js",
88
- "baseHash": "eff51d201199c68c6f7ca268e315e538dcc01ab9",
88
+ "baseHash": "5909b509ee835f2b6eb0dbd3e223180efe602f98",
89
89
  "issue": 6240
90
90
  },
91
91
  {
@@ -98,7 +98,7 @@
98
98
  "type": "copy",
99
99
  "file": "src-win/Libraries/Components/SafeAreaView/SafeAreaView.win32.js",
100
100
  "baseFile": "packages/react-native/Libraries/Components/SafeAreaView/SafeAreaView.js",
101
- "baseHash": "e4f9975b0a2ff7c67327dd0c4a580edfd98412c1"
101
+ "baseHash": "ebfbaeb4fbaaf7a262149d47f1af526828f7b086"
102
102
  },
103
103
  {
104
104
  "type": "platform",
@@ -108,13 +108,13 @@
108
108
  "type": "derived",
109
109
  "file": "src-win/Libraries/Components/TextInput/TextInput.flow.win32.js",
110
110
  "baseFile": "packages/react-native/Libraries/Components/TextInput/TextInput.flow.js",
111
- "baseHash": "217606b7527281d62335913ee8349506fcb9192b"
111
+ "baseHash": "98208f1973dfdb207eeeb74152dbd9c355735bae"
112
112
  },
113
113
  {
114
114
  "type": "derived",
115
115
  "file": "src-win/Libraries/Components/TextInput/TextInput.win32.js",
116
116
  "baseFile": "packages/react-native/Libraries/Components/TextInput/TextInput.js",
117
- "baseHash": "6bdac6e2d8569b25480db63f81d7f6dfc130f5f7"
117
+ "baseHash": "b6289ef53abc941f6f0aed50f80d3852b6682215"
118
118
  },
119
119
  {
120
120
  "type": "patch",
@@ -141,7 +141,7 @@
141
141
  "type": "patch",
142
142
  "file": "src-win/Libraries/Components/Touchable/Touchable.win32.js",
143
143
  "baseFile": "packages/react-native/Libraries/Components/Touchable/Touchable.js",
144
- "baseHash": "399b4d18cb04aae8d565484d3e228eccd88abad6"
144
+ "baseHash": "c71e7df7fbdeb6b2c1e9766e95725a56643fa28d"
145
145
  },
146
146
  {
147
147
  "type": "derived",
@@ -153,7 +153,7 @@
153
153
  "type": "derived",
154
154
  "file": "src-win/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js",
155
155
  "baseFile": "packages/react-native/Libraries/Components/Touchable/TouchableNativeFeedback.js",
156
- "baseHash": "1cad0522ba348d657e7857bf84628d88e776170b"
156
+ "baseHash": "5608d67cf2684b855fb32403fea01b8c22c66f3b"
157
157
  },
158
158
  {
159
159
  "type": "platform",
@@ -177,7 +177,7 @@
177
177
  "type": "patch",
178
178
  "file": "src-win/Libraries/Components/View/View.win32.js",
179
179
  "baseFile": "packages/react-native/Libraries/Components/View/View.js",
180
- "baseHash": "a3a08960f0c78d97f9144e32ed8388f02ff2a641"
180
+ "baseHash": "83a4fc8e982845619abb121bb860ad63366260c7"
181
181
  },
182
182
  {
183
183
  "type": "derived",
@@ -189,19 +189,19 @@
189
189
  "type": "derived",
190
190
  "file": "src-win/Libraries/Components/View/ViewAccessibility.win32.js",
191
191
  "baseFile": "packages/react-native/Libraries/Components/View/ViewAccessibility.js",
192
- "baseHash": "26f3cbc5eeb46241a6e25cf051d5fa872c8c936c"
192
+ "baseHash": "3cc8eebf202cb43189f4c2cb91db01b622572411"
193
193
  },
194
194
  {
195
195
  "type": "derived",
196
196
  "file": "src-win/Libraries/Components/View/ViewPropTypes.d.ts",
197
197
  "baseFile": "packages/react-native/Libraries/Components/View/ViewPropTypes.d.ts",
198
- "baseHash": "10b609db23ea9243b34d787d42a148f5cb9b33f2"
198
+ "baseHash": "581209e59de96fd9ef7f30040bc20bc53c643367"
199
199
  },
200
200
  {
201
201
  "type": "patch",
202
202
  "file": "src-win/Libraries/Components/View/ViewPropTypes.win32.js",
203
203
  "baseFile": "packages/react-native/Libraries/Components/View/ViewPropTypes.js",
204
- "baseHash": "8ade41e42a14e3d39428e7e135120feedbdb2f6c",
204
+ "baseHash": "d04b64a97b6040611d96b909c41230c1a350ebe6",
205
205
  "issue": 6240
206
206
  },
207
207
  {
@@ -247,7 +247,7 @@
247
247
  "type": "derived",
248
248
  "file": "src-win/Libraries/Image/NativeImageLoaderWin32.js",
249
249
  "baseFile": "packages/react-native/Libraries/Image/NativeImageLoaderIOS.js",
250
- "baseHash": "ea0a243edfa7b35c9558d7d14fd0646e84ea0aa9",
250
+ "baseHash": "9cac7f57fe8f0367ff6064197033df69e367f310",
251
251
  "issue": 4320
252
252
  },
253
253
  {
@@ -329,7 +329,7 @@
329
329
  "type": "derived",
330
330
  "file": "src-win/Libraries/NativeComponent/BaseViewConfig.win32.js",
331
331
  "baseFile": "packages/react-native/Libraries/NativeComponent/BaseViewConfig.ios.js",
332
- "baseHash": "2afdb9c2f278c6008944e31eea4c20078529e561"
332
+ "baseHash": "a54d194cd731380ec0f2ff86b8b1f5ff072ec0ba"
333
333
  },
334
334
  {
335
335
  "type": "copy",
@@ -394,7 +394,7 @@
394
394
  "type": "patch",
395
395
  "file": "src-win/Libraries/Renderer/shims/ReactNativeTypes.win32.js",
396
396
  "baseFile": "packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js",
397
- "baseHash": "4e0c2fba71006410b3effa3979aea91e0f711144",
397
+ "baseHash": "9e91759d01c9a6d459c5781b357533f4ac8727a7",
398
398
  "issue": 0
399
399
  },
400
400
  {
@@ -419,13 +419,13 @@
419
419
  "type": "derived",
420
420
  "file": "src-win/Libraries/Text/Text.d.ts",
421
421
  "baseFile": "packages/react-native/Libraries/Text/Text.d.ts",
422
- "baseHash": "d3807571f477ef8ba4bb20c1ee899b1a5814941d"
422
+ "baseHash": "3540a1a36fc487e54c1cec9b0c57b4fdc2124b60"
423
423
  },
424
424
  {
425
425
  "type": "derived",
426
426
  "file": "src-win/Libraries/Text/Text.win32.js",
427
427
  "baseFile": "packages/react-native/Libraries/Text/Text.js",
428
- "baseHash": "a24c9881da46b612c461a304b3ba9c640adbb5cb"
428
+ "baseHash": "fb6f5390b49eb22085ac1618becde3a5208ba167"
429
429
  },
430
430
  {
431
431
  "type": "derived",
@@ -438,7 +438,7 @@
438
438
  "type": "derived",
439
439
  "file": "src-win/Libraries/Text/TextProps.win32.js",
440
440
  "baseFile": "packages/react-native/Libraries/Text/TextProps.js",
441
- "baseHash": "6ee62a1b3a4384c2b5bd1dd10a13664c72e5dc88"
441
+ "baseHash": "7ee3be32c351343aa65a3fd12e568265bb788d9f"
442
442
  },
443
443
  {
444
444
  "type": "patch",
@@ -472,19 +472,19 @@
472
472
  "type": "derived",
473
473
  "file": "src-win/Libraries/Utilities/NativePlatformConstantsWin.js",
474
474
  "baseFile": "packages/react-native/Libraries/Utilities/NativePlatformConstantsIOS.js",
475
- "baseHash": "092016d462d51606f0b9c32b3a8e3da19b0d7586"
475
+ "baseHash": "5fbc1b0d91071a3d88a99eb716e4be9c88972002"
476
476
  },
477
477
  {
478
478
  "type": "derived",
479
479
  "file": "src-win/Libraries/Utilities/Platform.win32.js",
480
480
  "baseFile": "packages/react-native/Libraries/Utilities/Platform.android.js",
481
- "baseHash": "58c8663867cc2cfdf9bd62425386dd1f44a592e8"
481
+ "baseHash": "d3c78d9d5e43a65ec67505b84a1f25f1647530c8"
482
482
  },
483
483
  {
484
484
  "type": "patch",
485
485
  "file": "src-win/Libraries/Utilities/PlatformTypes.js",
486
486
  "baseFile": "packages/react-native/Libraries/Utilities/PlatformTypes.js",
487
- "baseHash": "8beb4d8d786f33f9eeb6edcff939c38765e19055",
487
+ "baseHash": "c2f607691db07cf1d43c42d048e8513b5515757b",
488
488
  "issue": 14686
489
489
  },
490
490
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.0.0-canary.298",
3
+ "version": "0.0.0-canary.299",
4
4
  "description": "Implementation of react native on top of Office's Win32 platform.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,13 +30,13 @@
30
30
  "@react-native-community/cli-platform-android": "17.0.0",
31
31
  "@react-native-community/cli-platform-ios": "17.0.0",
32
32
  "@react-native/assets": "1.0.0",
33
- "@react-native/assets-registry": "0.81.0-nightly-20250604-1a6d466f1",
34
- "@react-native/codegen": "0.81.0-nightly-20250604-1a6d466f1",
35
- "@react-native/community-cli-plugin": "0.81.0-nightly-20250604-1a6d466f1",
36
- "@react-native/gradle-plugin": "0.81.0-nightly-20250604-1a6d466f1",
37
- "@react-native/js-polyfills": "0.81.0-nightly-20250604-1a6d466f1",
38
- "@react-native/normalize-colors": "0.81.0-nightly-20250604-1a6d466f1",
39
- "@react-native/virtualized-lists": "0.81.0-nightly-20250604-1a6d466f1",
33
+ "@react-native/assets-registry": "0.81.0-nightly-20250709-6892dde36",
34
+ "@react-native/codegen": "0.81.0-nightly-20250709-6892dde36",
35
+ "@react-native/community-cli-plugin": "0.81.0-nightly-20250709-6892dde36",
36
+ "@react-native/gradle-plugin": "0.81.0-nightly-20250709-6892dde36",
37
+ "@react-native/js-polyfills": "0.81.0-nightly-20250709-6892dde36",
38
+ "@react-native/normalize-colors": "0.81.0-nightly-20250709-6892dde36",
39
+ "@react-native/virtualized-lists": "0.81.0-nightly-20250709-6892dde36",
40
40
  "abort-controller": "^3.0.0",
41
41
  "anser": "^1.4.9",
42
42
  "ansi-regex": "^5.0.0",
@@ -72,7 +72,7 @@
72
72
  "devDependencies": {
73
73
  "@babel/core": "^7.25.2",
74
74
  "@babel/eslint-parser": "^7.25.1",
75
- "@react-native/metro-config": "0.81.0-nightly-20250604-1a6d466f1",
75
+ "@react-native/metro-config": "0.81.0-nightly-20250709-6892dde36",
76
76
  "@rnw-scripts/babel-react-native-config": "0.0.0",
77
77
  "@rnw-scripts/eslint-config": "1.2.37",
78
78
  "@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.41",
@@ -88,14 +88,14 @@
88
88
  "just-scripts": "^1.3.3",
89
89
  "prettier": "2.8.8",
90
90
  "react": "19.1.0",
91
- "react-native": "0.81.0-nightly-20250604-1a6d466f1",
91
+ "react-native": "0.81.0-nightly-20250709-6892dde36",
92
92
  "react-native-platform-override": "^1.9.59",
93
93
  "typescript": "5.0.4"
94
94
  },
95
95
  "peerDependencies": {
96
96
  "@types/react": "^19.1.0",
97
97
  "react": "^19.1.0",
98
- "react-native": "0.81.0-nightly-20250604-1a6d466f1"
98
+ "react-native": "0.81.0-nightly-20250709-6892dde36"
99
99
  },
100
100
  "beachball": {
101
101
  "defaultNpmTag": "canary",
@@ -134,7 +134,10 @@ export default function createAnimatedPropsHook(
134
134
  // In native driven animations, this callback is only called once the animation completes.
135
135
  if (
136
136
  isFabricNode &&
137
- !ReactNativeFeatureFlags.cxxNativeAnimatedEnabled()
137
+ !(
138
+ ReactNativeFeatureFlags.cxxNativeAnimatedEnabled() &&
139
+ ReactNativeFeatureFlags.cxxNativeAnimatedRemoveJsSync()
140
+ )
138
141
  ) {
139
142
  // Call `scheduleUpdate` to synchronise Fiber and Shadow tree.
140
143
  // Must not be called in Paper.
@@ -31,8 +31,8 @@ type CompositeKey = {
31
31
 
32
32
  type CompositeKeyComponent =
33
33
  | AnimatedNode
34
- | Array<CompositeKeyComponent | null>
35
- | {[string]: CompositeKeyComponent};
34
+ | $ReadOnlyArray<CompositeKeyComponent | null>
35
+ | $ReadOnly<{[string]: CompositeKeyComponent}>;
36
36
 
37
37
  type $ReadOnlyCompositeKey = $ReadOnly<{
38
38
  style?: $ReadOnly<{[string]: CompositeKeyComponent}>,