@office-iss/react-native-win32 0.0.0-canary.291 → 0.0.0-canary.293

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 (191) hide show
  1. package/.flowconfig +1 -1
  2. package/CHANGELOG.json +43 -1
  3. package/CHANGELOG.md +22 -4
  4. package/Libraries/Alert/RCTAlertManager.js +17 -0
  5. package/Libraries/Animated/AnimatedEvent.js +4 -3
  6. package/Libraries/Animated/AnimatedExports.js.flow +2 -0
  7. package/Libraries/Animated/AnimatedImplementation.js +2 -2
  8. package/Libraries/Animated/components/AnimatedScrollView.js +48 -43
  9. package/Libraries/Animated/nodes/AnimatedValue.js +2 -1
  10. package/Libraries/BatchedBridge/MessageQueue.js +2 -2
  11. package/Libraries/Blob/FileReader.js +219 -8
  12. package/Libraries/Blob/URL.js +13 -1
  13. package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.js +17 -0
  14. package/Libraries/Components/Button.js +1 -1
  15. package/Libraries/Components/Button.win32.js +1 -1
  16. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +1 -3
  17. package/Libraries/{Utilities/__mocks__/GlobalPerformanceLogger.js → Components/DrawerAndroid/DrawerLayoutAndroid.ios.js} +3 -4
  18. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js +6 -66
  19. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js.flow +18 -0
  20. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.js +71 -0
  21. package/Libraries/Components/Keyboard/Keyboard.js +4 -2
  22. package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +6 -3
  23. package/Libraries/Components/Pressable/Pressable.js +6 -1
  24. package/Libraries/Components/Pressable/Pressable.win32.js +6 -1
  25. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js +12 -2
  26. package/Libraries/Components/RefreshControl/RefreshControl.js +1 -1
  27. package/Libraries/Components/ScrollView/ScrollView.d.ts +1 -1
  28. package/Libraries/Components/ScrollView/ScrollView.js +128 -116
  29. package/Libraries/Components/StaticRenderer.js +1 -1
  30. package/Libraries/Components/Switch/Switch.js +7 -3
  31. package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +2 -1
  32. package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +2 -4
  33. package/Libraries/Components/TextInput/TextInput.flow.js +59 -42
  34. package/Libraries/Components/TextInput/TextInput.flow.win32.js +1208 -0
  35. package/Libraries/Components/TextInput/TextInput.js +67 -1005
  36. package/Libraries/Components/TextInput/TextInput.win32.js +69 -1037
  37. package/Libraries/{Blob/__mocks__/BlobModule.js → Components/ToastAndroid/ToastAndroid.ios.js} +3 -6
  38. package/Libraries/Components/ToastAndroid/ToastAndroid.js +4 -32
  39. package/Libraries/Components/ToastAndroid/ToastAndroid.js.flow +109 -0
  40. package/Libraries/Components/ToastAndroid/ToastAndroid.win32.js +4 -32
  41. package/Libraries/Components/ToastAndroid/ToastAndroidFallback.js +45 -0
  42. package/Libraries/Components/Touchable/Touchable.js +5 -5
  43. package/Libraries/Components/Touchable/Touchable.win32.js +5 -5
  44. package/Libraries/Components/Touchable/TouchableBounce.js +12 -6
  45. package/Libraries/Components/Touchable/TouchableHighlight.js +9 -6
  46. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +4 -4
  47. package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js +4 -4
  48. package/Libraries/Components/Touchable/TouchableOpacity.js +11 -5
  49. package/Libraries/Components/View/View.js +18 -21
  50. package/Libraries/Components/View/View.win32.js +21 -24
  51. package/Libraries/Components/View/ViewAccessibility.js +7 -0
  52. package/Libraries/Components/View/ViewAccessibility.win32.js +7 -0
  53. package/Libraries/Components/View/ViewPropTypes.js +1 -1
  54. package/Libraries/Components/View/ViewPropTypes.win32.js +1 -1
  55. package/Libraries/Core/ReactNativeVersion.js +1 -1
  56. package/Libraries/Core/setUpReactDevTools.js +5 -5
  57. package/Libraries/EventEmitter/NativeEventEmitter.js +4 -1
  58. package/Libraries/Image/Image.js +17 -0
  59. package/Libraries/Image/Image.js.flow +2 -2
  60. package/Libraries/Image/ImageInjection.js +1 -1
  61. package/Libraries/Image/ImageProps.js +5 -5
  62. package/Libraries/Image/ImageSource.js +3 -1
  63. package/Libraries/Image/ImageSourceUtils.js +4 -2
  64. package/Libraries/Image/ImageTypes.flow.js +1 -1
  65. package/Libraries/Lists/FlatList.d.ts +2 -2
  66. package/Libraries/Lists/FlatList.js +1 -1
  67. package/Libraries/Lists/SectionList.js +1 -1
  68. package/Libraries/Lists/SectionListModern.js +3 -3
  69. package/Libraries/LogBox/Data/LogBoxData.js +1 -1
  70. package/Libraries/LogBox/LogBoxNotificationContainer.js +1 -1
  71. package/Libraries/Modal/Modal.js +3 -3
  72. package/Libraries/NativeComponent/BaseViewConfig.js +17 -0
  73. package/Libraries/NativeComponent/PlatformBaseViewConfig.js +2 -2
  74. package/Libraries/NativeModules/specs/NativeDevMenu.js +2 -2
  75. package/Libraries/Network/RCTNetworking.js +17 -0
  76. package/Libraries/Network/XMLHttpRequest.js +781 -10
  77. package/Libraries/NewAppScreen/components/DebugInstructions.js +1 -1
  78. package/Libraries/NewAppScreen/components/Header.js +1 -1
  79. package/Libraries/NewAppScreen/components/HermesBadge.js +1 -1
  80. package/Libraries/NewAppScreen/components/LearnMoreLinks.js +3 -3
  81. package/Libraries/NewAppScreen/components/ReloadInstructions.js +1 -1
  82. package/Libraries/Performance/Systrace.js +7 -7
  83. package/Libraries/ReactNative/AppContainer-dev.js +3 -2
  84. package/Libraries/ReactNative/RendererImplementation.js +6 -5
  85. package/Libraries/ReactNative/renderApplication.js +9 -0
  86. package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +2 -2
  87. package/Libraries/Renderer/implementations/ReactFabric-dev.js +4840 -4748
  88. package/Libraries/Renderer/implementations/ReactFabric-prod.js +4947 -4829
  89. package/Libraries/Renderer/implementations/ReactFabric-profiling.js +3998 -3888
  90. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +5005 -4948
  91. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +2744 -2652
  92. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +5020 -4933
  93. package/Libraries/Renderer/shims/ReactFabric.js +3 -1
  94. package/Libraries/Renderer/shims/ReactFeatureFlags.js +3 -1
  95. package/Libraries/Renderer/shims/ReactNative.js +3 -1
  96. package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +3 -1
  97. package/Libraries/Renderer/shims/createReactNativeComponentClass.js +3 -1
  98. package/Libraries/Settings/Settings.js +13 -19
  99. package/Libraries/Settings/Settings.win32.js +19 -20
  100. package/Libraries/Settings/SettingsFallback.js +33 -0
  101. package/Libraries/StyleSheet/PlatformColorValueTypes.js +15 -0
  102. package/Libraries/StyleSheet/Rect.js +1 -0
  103. package/Libraries/StyleSheet/StyleSheet.js.flow +3 -3
  104. package/Libraries/StyleSheet/StyleSheetTypes.d.ts +1 -1
  105. package/Libraries/StyleSheet/StyleSheetTypes.js +75 -33
  106. package/Libraries/StyleSheet/flattenStyle.js +7 -1
  107. package/Libraries/StyleSheet/processBackgroundImage.js +670 -214
  108. package/Libraries/Text/Text.js +3 -3
  109. package/Libraries/Text/Text.win32.js +3 -3
  110. package/Libraries/Text/TextNativeComponent.js +0 -4
  111. package/Libraries/Text/TextNativeComponent.win32.js +0 -4
  112. package/Libraries/Text/TextProps.js +1 -1
  113. package/Libraries/Text/TextProps.win32.js +1 -1
  114. package/Libraries/Utilities/Appearance.js +2 -0
  115. package/Libraries/Utilities/BackHandler.js +17 -0
  116. package/Libraries/Utilities/Platform.js +17 -0
  117. package/Libraries/Utilities/PlatformTypes.js +2 -0
  118. package/Libraries/Utilities/ReactNativeTestTools.js +1 -1
  119. package/Libraries/WebSocket/WebSocket.js +313 -8
  120. package/flow/global.js +0 -2
  121. package/index.js +1 -288
  122. package/index.win32.js +8 -297
  123. package/overrides.json +29 -23
  124. package/package.json +16 -16
  125. package/src/private/animated/NativeAnimatedHelper.js +1 -1
  126. package/src/private/animated/NativeAnimatedHelper.win32.js +1 -1
  127. package/src/private/animated/createAnimatedPropsHook.js +2 -27
  128. package/src/private/components/{SafeAreaView_INTERNAL_DO_NOT_USE.js → safeareaview/SafeAreaView_INTERNAL_DO_NOT_USE.js} +6 -6
  129. package/src/private/components/{HScrollViewNativeComponents.js → scrollview/HScrollViewNativeComponents.js} +8 -8
  130. package/src/private/components/scrollview/VScrollViewNativeComponents.js +25 -0
  131. package/src/private/{devmenu → devsupport/devmenu}/DevMenu.js +1 -1
  132. package/src/private/{inspector → devsupport/devmenu/elementinspector}/BorderBox.js +3 -3
  133. package/src/private/{inspector → devsupport/devmenu/elementinspector}/BoxInspector.js +6 -5
  134. package/src/private/{inspector → devsupport/devmenu/elementinspector}/ElementBox.js +8 -6
  135. package/src/private/{inspector → devsupport/devmenu/elementinspector}/ElementProperties.js +11 -10
  136. package/src/private/{inspector → devsupport/devmenu/elementinspector}/Inspector.js +14 -12
  137. package/src/private/{inspector → devsupport/devmenu/elementinspector}/InspectorOverlay.js +5 -4
  138. package/src/private/{inspector → devsupport/devmenu/elementinspector}/InspectorPanel.js +9 -8
  139. package/src/private/{inspector → devsupport/devmenu/elementinspector}/NetworkOverlay.js +10 -9
  140. package/src/private/{inspector → devsupport/devmenu/elementinspector}/ReactDevToolsOverlay.js +7 -7
  141. package/src/private/{inspector → devsupport/devmenu/elementinspector}/StyleInspector.js +7 -6
  142. package/src/private/{inspector → devsupport/devmenu/elementinspector}/XHRInterceptor.js +2 -2
  143. package/src/private/{inspector → devsupport/devmenu/elementinspector}/getInspectorDataForViewAtPoint.js +2 -2
  144. package/src/private/{inspector → devsupport/devmenu/elementinspector}/resolveBoxStyle.js +1 -1
  145. package/src/private/{inspector → devsupport/devmenu/perfmonitor}/PerformanceOverlay.js +6 -5
  146. package/src/private/{specs_DEPRECATED/modules → devsupport/devmenu/specs}/NativeDevMenu.js +2 -2
  147. package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.android.js +1 -1
  148. package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.ios.js +1 -1
  149. package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.win32.js +1 -1
  150. package/src/private/{debugging → devsupport/rndevtools}/setUpFuseboxReactDevToolsDispatcher.js +1 -1
  151. package/src/private/{fusebox → devsupport/rndevtools}/specs/NativeReactDevToolsRuntimeSettingsModule.js +2 -2
  152. package/src/private/{specs_DEPRECATED/modules → devsupport/rndevtools/specs}/NativeReactDevToolsSettingsManager.js +2 -2
  153. package/src/private/featureflags/ReactNativeFeatureFlags.js +37 -43
  154. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +8 -8
  155. package/src/private/renderer/errorhandling/ErrorHandlers.js +2 -2
  156. package/src/private/specs_DEPRECATED/modules/NativeSampleTurboModule.js +3 -0
  157. package/src/private/types/HostComponent.js +1 -1
  158. package/src/private/types/HostInstance.js +12 -4
  159. package/src/private/webapis/performance/Performance.js +1 -3
  160. package/types/index.d.ts +1 -1
  161. package/types/public/ReactNativeTypes.d.ts +2 -2
  162. package/Libraries/BatchedBridge/__mocks__/MessageQueueTestConfig.js +0 -38
  163. package/Libraries/BatchedBridge/__mocks__/MessageQueueTestModule.js +0 -22
  164. package/Libraries/Blob/FileReader_new.js +0 -231
  165. package/Libraries/Blob/FileReader_old.js +0 -186
  166. package/Libraries/Blob/__mocks__/FileReaderModule.js +0 -20
  167. package/Libraries/Components/RefreshControl/__mocks__/RefreshControlMock.js +0 -32
  168. package/Libraries/Core/__mocks__/ErrorUtils.js +0 -33
  169. package/Libraries/Core/__mocks__/NativeExceptionsManager.js +0 -19
  170. package/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js +0 -49
  171. package/Libraries/Events/CustomEvent.js +0 -32
  172. package/Libraries/Events/EventPolyfill.js +0 -239
  173. package/Libraries/Lists/__flowtests__/FlatList-flowtest.js +0 -118
  174. package/Libraries/Lists/__flowtests__/SectionList-flowtest.js +0 -134
  175. package/Libraries/Network/XMLHttpRequest_new.js +0 -794
  176. package/Libraries/Network/XMLHttpRequest_old.js +0 -701
  177. package/Libraries/StyleSheet/__flowtests__/StyleSheet-flowtest.js +0 -58
  178. package/Libraries/Utilities/__mocks__/BackHandler.js +0 -45
  179. package/Libraries/Utilities/__mocks__/PixelRatio.js +0 -25
  180. package/Libraries/WebSocket/WebSocketEvent.js +0 -30
  181. package/Libraries/WebSocket/WebSocket_new.js +0 -325
  182. package/Libraries/WebSocket/WebSocket_old.js +0 -297
  183. package/Libraries/WebSocket/__mocks__/event-target-shim.js +0 -27
  184. package/Libraries/__flowtests__/ReactNativeTypes-flowtest.js +0 -30
  185. package/Libraries/vendor/emitter/__flowtests__/EventEmitter-flowtest.js +0 -81
  186. package/jest/__tests__/setup-test.js +0 -18
  187. package/src/private/components/VScrollViewNativeComponents.js +0 -25
  188. package/src/private/webapis/performance/specs/__mocks__/NativePerformanceMock.js +0 -267
  189. package/src/types/third_party/event-target-shim.d.ts +0 -392
  190. /package/src/private/{devmenu → devsupport/devmenu}/DevMenu.d.ts +0 -0
  191. /package/src/private/{debugging → devsupport/rndevtools}/FuseboxSessionObserver.js +0 -0
package/overrides.json CHANGED
@@ -7,19 +7,19 @@
7
7
  "**/__snapshots__/**",
8
8
  "src-win/rntypes/**"
9
9
  ],
10
- "baseVersion": "0.80.0-nightly-20250331-398ac1f71",
10
+ "baseVersion": "0.80.0-nightly-20250428-9efcdc091",
11
11
  "overrides": [
12
12
  {
13
13
  "type": "derived",
14
14
  "file": ".flowconfig",
15
15
  "baseFile": ".flowconfig",
16
- "baseHash": "5b774dab8f68093cccdd7609b16bde8546765414"
16
+ "baseHash": "d274ca7bb384b334c5b2ee0827726e7a3d6c98c9"
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": "8de9394a317351d4d0e582de3f138e6374456823"
22
+ "baseHash": "96361b83bfc122f1d78cc7d87ea0d7c3bfac138f"
23
23
  },
24
24
  {
25
25
  "type": "platform",
@@ -60,7 +60,7 @@
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": "c61bda5775588b9dd85622f691b89e6b3e3a9fc8"
63
+ "baseHash": "4e77e13aa5774e813fbd874a13a920ea12e3ed91"
64
64
  },
65
65
  {
66
66
  "type": "platform",
@@ -74,7 +74,7 @@
74
74
  "type": "copy",
75
75
  "file": "src-win/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js",
76
76
  "baseFile": "packages/react-native/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js",
77
- "baseHash": "8909ad50924f46afa7cabb15cf9cf4ade7021a90",
77
+ "baseHash": "fe92a96a2bfd0e92b99b2803ce133c7a3cf2b022",
78
78
  "issue": 14290
79
79
  },
80
80
  {
@@ -85,14 +85,14 @@
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": "09575f26ef614b81330d27d6cb950580774e3c1f",
88
+ "baseHash": "96bdd4aebf4133fd2fe6d1b448f9d7b4cd3e8982",
89
89
  "issue": 6240
90
90
  },
91
91
  {
92
92
  "type": "patch",
93
93
  "file": "src-win/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js",
94
94
  "baseFile": "packages/react-native/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js",
95
- "baseHash": "454f8b04bd6203c70b48aa6ec26e1c05dee42124"
95
+ "baseHash": "c96925930d9664306a8aef8b4102c43055ea03be"
96
96
  },
97
97
  {
98
98
  "type": "copy",
@@ -104,11 +104,17 @@
104
104
  "type": "platform",
105
105
  "file": "src-win/Libraries/Components/TextInput/Tests/TextInputTest.tsx"
106
106
  },
107
+ {
108
+ "type": "derived",
109
+ "file": "src-win/Libraries/Components/TextInput/TextInput.flow.win32.js",
110
+ "baseFile": "packages/react-native/Libraries/Components/TextInput/TextInput.flow.js",
111
+ "baseHash": "f407548782cade71af32a52ecb440f72a403f06e"
112
+ },
107
113
  {
108
114
  "type": "derived",
109
115
  "file": "src-win/Libraries/Components/TextInput/TextInput.win32.js",
110
116
  "baseFile": "packages/react-native/Libraries/Components/TextInput/TextInput.js",
111
- "baseHash": "b4e722883e25dfa4864a1285b577c5adfc90ce9d"
117
+ "baseHash": "4b3128471dd0d362e9828df8937f708d53694e12"
112
118
  },
113
119
  {
114
120
  "type": "patch",
@@ -124,7 +130,7 @@
124
130
  "type": "copy",
125
131
  "file": "src-win/Libraries/Components/ToastAndroid/ToastAndroid.win32.js",
126
132
  "baseFile": "packages/react-native/Libraries/Components/ToastAndroid/ToastAndroid.js",
127
- "baseHash": "4948464c2ad124338c1ce6ac68b6b2f01af28876",
133
+ "baseHash": "a623c5a09b665a36e84e7fc943bd619c8ca3cc14",
128
134
  "issue": 4378
129
135
  },
130
136
  {
@@ -135,7 +141,7 @@
135
141
  "type": "patch",
136
142
  "file": "src-win/Libraries/Components/Touchable/Touchable.win32.js",
137
143
  "baseFile": "packages/react-native/Libraries/Components/Touchable/Touchable.js",
138
- "baseHash": "5e13ce3ef1cfeb38a1a9695c3013617527c21175"
144
+ "baseHash": "2f7db68acd47af643bc0625d31d199332d519871"
139
145
  },
140
146
  {
141
147
  "type": "derived",
@@ -147,7 +153,7 @@
147
153
  "type": "derived",
148
154
  "file": "src-win/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js",
149
155
  "baseFile": "packages/react-native/Libraries/Components/Touchable/TouchableNativeFeedback.js",
150
- "baseHash": "2f2263f5e6c7a2bd827b065db20d1ba632561774"
156
+ "baseHash": "8706705c1f8d3dd5390ea631ce5ae60e300ae50d"
151
157
  },
152
158
  {
153
159
  "type": "platform",
@@ -171,7 +177,7 @@
171
177
  "type": "patch",
172
178
  "file": "src-win/Libraries/Components/View/View.win32.js",
173
179
  "baseFile": "packages/react-native/Libraries/Components/View/View.js",
174
- "baseHash": "5721d3baf49a611a12939b03840ef73b6974db26"
180
+ "baseHash": "2dd3e58cf6c4bc0882550eedd8150435972365eb"
175
181
  },
176
182
  {
177
183
  "type": "derived",
@@ -183,7 +189,7 @@
183
189
  "type": "derived",
184
190
  "file": "src-win/Libraries/Components/View/ViewAccessibility.win32.js",
185
191
  "baseFile": "packages/react-native/Libraries/Components/View/ViewAccessibility.js",
186
- "baseHash": "c057d139f953c09d6f1021d5842840873e878db8"
192
+ "baseHash": "c30dab3926869e84edafebd485e78637d69ccd61"
187
193
  },
188
194
  {
189
195
  "type": "derived",
@@ -195,7 +201,7 @@
195
201
  "type": "patch",
196
202
  "file": "src-win/Libraries/Components/View/ViewPropTypes.win32.js",
197
203
  "baseFile": "packages/react-native/Libraries/Components/View/ViewPropTypes.js",
198
- "baseHash": "714722715a4562ef22a7f630e45781e80506a6bd",
204
+ "baseHash": "ec1ffd005b6631e6af027731b087a7620fbf5cf5",
199
205
  "issue": 6240
200
206
  },
201
207
  {
@@ -388,7 +394,7 @@
388
394
  "type": "derived",
389
395
  "file": "src-win/Libraries/Settings/Settings.win32.js",
390
396
  "baseFile": "packages/react-native/Libraries/Settings/Settings.js",
391
- "baseHash": "a089870c24dfac3fd1d5ca28e7dbebd22da73b9a"
397
+ "baseHash": "84da45c9a1bf8cec6d5044433f3c10e7298381d7"
392
398
  },
393
399
  {
394
400
  "type": "platform",
@@ -412,20 +418,20 @@
412
418
  "type": "derived",
413
419
  "file": "src-win/Libraries/Text/Text.win32.js",
414
420
  "baseFile": "packages/react-native/Libraries/Text/Text.js",
415
- "baseHash": "3e4c3fe47759433ac3604a33fef65c7578556b29"
421
+ "baseHash": "1f802db19830e468b84640fc5c7740a11e154250"
416
422
  },
417
423
  {
418
424
  "type": "derived",
419
425
  "file": "src-win/Libraries/Text/TextNativeComponent.win32.js",
420
426
  "baseFile": "packages/react-native/Libraries/Text/TextNativeComponent.js",
421
- "baseHash": "aad3be91ad4e326d5da431a57f9461b7420700e1",
427
+ "baseHash": "19efb0b15014c3e11be035a67c9e46b8e25f3090",
422
428
  "issue": 7074
423
429
  },
424
430
  {
425
431
  "type": "derived",
426
432
  "file": "src-win/Libraries/Text/TextProps.win32.js",
427
433
  "baseFile": "packages/react-native/Libraries/Text/TextProps.js",
428
- "baseHash": "1646b5a9467049adeb7d9e070913ab327214b04d"
434
+ "baseHash": "d31f973c14140792d9d28d208fca15d092a8a4e2"
429
435
  },
430
436
  {
431
437
  "type": "patch",
@@ -471,7 +477,7 @@
471
477
  "type": "patch",
472
478
  "file": "src-win/Libraries/Utilities/PlatformTypes.js",
473
479
  "baseFile": "packages/react-native/Libraries/Utilities/PlatformTypes.js",
474
- "baseHash": "323895a47d9a31a5502843aae5aa833d225abb08",
480
+ "baseHash": "0bd36210528f74f9081d858c9ab64ead92c54950",
475
481
  "issue": 14686
476
482
  },
477
483
  {
@@ -484,14 +490,14 @@
484
490
  "type": "patch",
485
491
  "file": "src-win/src/private/animated/NativeAnimatedHelper.win32.js",
486
492
  "baseFile": "packages/react-native/src/private/animated/NativeAnimatedHelper.js",
487
- "baseHash": "f07ba42819770210251c4c38db4399b7c07d96e8",
493
+ "baseHash": "3247a8e436a7beeda45ce7d77343229b5204cbfc",
488
494
  "issue": 11041
489
495
  },
490
496
  {
491
497
  "type": "copy",
492
- "file": "src-win/src/private/debugging/ReactDevToolsSettingsManager.win32.js",
493
- "baseFile": "packages/react-native/src/private/debugging/ReactDevToolsSettingsManager.android.js",
494
- "baseHash": "1e0309d141da6c7a6a9afa571aae831ca221bbe2"
498
+ "file": "src-win/src/private/devsupport/rndevtools/ReactDevToolsSettingsManager.win32.js",
499
+ "baseFile": "packages/react-native/src/private/devsupport/rndevtools/ReactDevToolsSettingsManager.android.js",
500
+ "baseHash": "2d33789b0c7a45996dc23f26c4b09fb2026a9285"
495
501
  },
496
502
  {
497
503
  "type": "derived",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.0.0-canary.291",
3
+ "version": "0.0.0-canary.293",
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.80.0-nightly-20250331-398ac1f71",
34
- "@react-native/codegen": "0.80.0-nightly-20250331-398ac1f71",
35
- "@react-native/community-cli-plugin": "0.80.0-nightly-20250331-398ac1f71",
36
- "@react-native/gradle-plugin": "0.80.0-nightly-20250331-398ac1f71",
37
- "@react-native/js-polyfills": "0.80.0-nightly-20250331-398ac1f71",
38
- "@react-native/normalize-colors": "0.80.0-nightly-20250331-398ac1f71",
39
- "@react-native/virtualized-lists": "0.80.0-nightly-20250331-398ac1f71",
33
+ "@react-native/assets-registry": "0.80.0-nightly-20250428-9efcdc091",
34
+ "@react-native/codegen": "0.80.0-nightly-20250428-9efcdc091",
35
+ "@react-native/community-cli-plugin": "0.80.0-nightly-20250428-9efcdc091",
36
+ "@react-native/gradle-plugin": "0.80.0-nightly-20250428-9efcdc091",
37
+ "@react-native/js-polyfills": "0.80.0-nightly-20250428-9efcdc091",
38
+ "@react-native/normalize-colors": "0.80.0-nightly-20250428-9efcdc091",
39
+ "@react-native/virtualized-lists": "0.80.0-nightly-20250428-9efcdc091",
40
40
  "abort-controller": "^3.0.0",
41
41
  "anser": "^1.4.9",
42
42
  "ansi-regex": "^5.0.0",
@@ -72,30 +72,30 @@
72
72
  "devDependencies": {
73
73
  "@babel/core": "^7.25.2",
74
74
  "@babel/eslint-parser": "^7.25.1",
75
- "@react-native/metro-config": "0.80.0-nightly-20250331-398ac1f71",
75
+ "@react-native/metro-config": "0.80.0-nightly-20250428-9efcdc091",
76
76
  "@rnw-scripts/babel-react-native-config": "0.0.0",
77
77
  "@rnw-scripts/eslint-config": "1.2.36",
78
78
  "@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.40",
79
- "@rnw-scripts/just-task": "2.3.53",
79
+ "@rnw-scripts/just-task": "2.3.54",
80
80
  "@rnw-scripts/metro-dev-config": "0.0.0",
81
81
  "@rnx-kit/jest-preset": "^0.1.17",
82
82
  "@types/node": "^18.0.0",
83
83
  "@types/prop-types": "15.7.1",
84
84
  "@types/react": "^19.0.0",
85
85
  "eslint": "^8.19.0",
86
- "flow-bin": "^0.261.2",
86
+ "flow-bin": "^0.267.0",
87
87
  "jscodeshift": "^0.14.0",
88
88
  "just-scripts": "^1.3.3",
89
89
  "prettier": "2.8.8",
90
- "react": "19.0.0",
91
- "react-native": "0.80.0-nightly-20250331-398ac1f71",
92
- "react-native-platform-override": "^1.9.55",
90
+ "react": "19.1.0",
91
+ "react-native": "0.80.0-nightly-20250428-9efcdc091",
92
+ "react-native-platform-override": "^1.9.56",
93
93
  "typescript": "5.0.4"
94
94
  },
95
95
  "peerDependencies": {
96
96
  "@types/react": "^19.0.0",
97
- "react": "^19.0.0",
98
- "react-native": "0.80.0-nightly-20250331-398ac1f71"
97
+ "react": "^19.1.0",
98
+ "react-native": "0.80.0-nightly-20250428-9efcdc091"
99
99
  },
100
100
  "beachball": {
101
101
  "defaultNpmTag": "canary",
@@ -384,7 +384,7 @@ function assertNativeAnimatedModule(): void {
384
384
  let _warnedMissingNativeAnimated = false;
385
385
 
386
386
  function shouldUseNativeDriver(
387
- config: $ReadOnly<{...AnimationConfig, ...}> | EventConfig,
387
+ config: $ReadOnly<{...AnimationConfig, ...}> | EventConfig<mixed>,
388
388
  ): boolean {
389
389
  if (config.useNativeDriver == null) {
390
390
  console.warn(
@@ -387,7 +387,7 @@ function assertNativeAnimatedModule(): void {
387
387
  let _warnedMissingNativeAnimated = false;
388
388
 
389
389
  function shouldUseNativeDriver(
390
- config: $ReadOnly<{...AnimationConfig, ...}> | EventConfig,
390
+ config: $ReadOnly<{...AnimationConfig, ...}> | EventConfig<mixed>,
391
391
  ): boolean {
392
392
  if (config.useNativeDriver == null) {
393
393
  console.warn(
@@ -11,7 +11,6 @@
11
11
  import type {AnimatedPropsAllowlist} from '../../../Libraries/Animated/nodes/AnimatedProps';
12
12
  import type {EventSubscription} from '../../../Libraries/EventEmitter/NativeEventEmitter';
13
13
 
14
- import {AnimatedEvent} from '../../../Libraries/Animated/AnimatedEvent';
15
14
  import AnimatedNode from '../../../Libraries/Animated/nodes/AnimatedNode';
16
15
  import AnimatedProps from '../../../Libraries/Animated/nodes/AnimatedProps';
17
16
  import AnimatedValue from '../../../Libraries/Animated/nodes/AnimatedValue';
@@ -24,7 +23,6 @@ import {
24
23
  useCallback,
25
24
  useEffect,
26
25
  useInsertionEffect,
27
- useMemo,
28
26
  useReducer,
29
27
  useRef,
30
28
  } from 'react';
@@ -55,28 +53,6 @@ export default function createAnimatedPropsHook(
55
53
  const useNativePropsInFabric =
56
54
  ReactNativeFeatureFlags.shouldUseSetNativePropsInFabric();
57
55
 
58
- const useNativeAnimatedEvents: <TProps: {...}>(
59
- node: AnimatedProps,
60
- props: TProps,
61
- ) => $ReadOnlyArray<[string, AnimatedEvent]> =
62
- ReactNativeFeatureFlags.avoidAnimatedRefInvalidation()
63
- ? function useNativeAnimatedEventsFromAnimatedProps(node, props) {
64
- return useMemo(() => node.__getNativeAnimatedEventTuples(), [node]);
65
- }
66
- : function useNativeAnimatedEventsFromProps(node, props) {
67
- return useMemo(() => {
68
- const tuples = [];
69
- for (const propName in props) {
70
- // $FlowFixMe[invalid-computed-prop]
71
- const propValue = props[propName];
72
- if (propValue instanceof AnimatedEvent && propValue.__isNative) {
73
- tuples.push([propName, propValue]);
74
- }
75
- }
76
- return tuples;
77
- }, [props]);
78
- };
79
-
80
56
  return function useAnimatedProps<TProps: {...}, TInstance>(
81
57
  props: TProps,
82
58
  ): [ReducedProps<TProps>, CallbackRef<TInstance | null>] {
@@ -118,8 +94,6 @@ export default function createAnimatedPropsHook(
118
94
 
119
95
  useAnimatedPropsLifecycle(node);
120
96
 
121
- const eventTuples = useNativeAnimatedEvents(node, props);
122
-
123
97
  // TODO: This "effect" does three things:
124
98
  //
125
99
  // 1) Call `setNativeView`.
@@ -209,6 +183,7 @@ export default function createAnimatedPropsHook(
209
183
 
210
184
  const target = getEventTarget(instance);
211
185
  const animatedValueListeners: AnimatedValueListeners = [];
186
+ const eventTuples = node.__getNativeAnimatedEventTuples();
212
187
 
213
188
  for (const [propName, propValue] of eventTuples) {
214
189
  propValue.__attach(target, propName);
@@ -228,7 +203,7 @@ export default function createAnimatedPropsHook(
228
203
  }
229
204
  };
230
205
  },
231
- [eventTuples, node],
206
+ [node],
232
207
  );
233
208
  const callbackRef = useRefEffect<TInstance>(refEffect);
234
209
 
@@ -9,21 +9,21 @@
9
9
  * @oncall react_native
10
10
  */
11
11
 
12
- import type {ViewProps} from '../../../Libraries/Components/View/ViewPropTypes';
12
+ import type {ViewProps} from '../../../../Libraries/Components/View/ViewPropTypes';
13
13
 
14
- import View from '../../../Libraries/Components/View/View';
15
- import UIManager from '../../../Libraries/ReactNative/UIManager';
16
- import Platform from '../../../Libraries/Utilities/Platform';
14
+ import View from '../../../../Libraries/Components/View/View';
15
+ import UIManager from '../../../../Libraries/ReactNative/UIManager';
16
+ import Platform from '../../../../Libraries/Utilities/Platform';
17
17
  import * as React from 'react';
18
18
 
19
19
  const exported: component(
20
20
  ref?: React.RefSetter<React.ElementRef<typeof View>>,
21
21
  ...ViewProps
22
22
  ) = Platform.select({
23
- ios: require('../../../src/private/specs_DEPRECATED/components/RCTSafeAreaViewNativeComponent')
23
+ ios: require('../../../../src/private/specs_DEPRECATED/components/RCTSafeAreaViewNativeComponent')
24
24
  .default,
25
25
  android: UIManager.hasViewManagerConfig('RCTSafeAreaView')
26
- ? require('../../../src/private/specs_DEPRECATED/components/RCTSafeAreaViewNativeComponent')
26
+ ? require('../../../../src/private/specs_DEPRECATED/components/RCTSafeAreaViewNativeComponent')
27
27
  .default
28
28
  : View,
29
29
  default: View,
@@ -9,15 +9,15 @@
9
9
  * @oncall react_native
10
10
  */
11
11
 
12
- import type {ScrollViewNativeProps} from '../../../Libraries/Components/ScrollView/ScrollViewNativeComponentType';
13
- import type {ViewProps} from '../../../Libraries/Components/View/ViewPropTypes';
14
- import type {HostComponent} from '../types/HostComponent';
12
+ import type {ScrollViewNativeProps} from '../../../../Libraries/Components/ScrollView/ScrollViewNativeComponentType';
13
+ import type {ViewProps} from '../../../../Libraries/Components/View/ViewPropTypes';
14
+ import type {HostComponent} from '../../types/HostComponent';
15
15
 
16
- import AndroidHorizontalScrollViewNativeComponent from '../../../Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent';
17
- import ScrollContentViewNativeComponent from '../../../Libraries/Components/ScrollView/ScrollContentViewNativeComponent';
18
- import ScrollViewNativeComponent from '../../../Libraries/Components/ScrollView/ScrollViewNativeComponent';
19
- import Platform from '../../../Libraries/Utilities/Platform';
20
- import AndroidHorizontalScrollContentViewNativeComponent from '../specs_DEPRECATED/components/AndroidHorizontalScrollContentViewNativeComponent';
16
+ import AndroidHorizontalScrollViewNativeComponent from '../../../../Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent';
17
+ import ScrollContentViewNativeComponent from '../../../../Libraries/Components/ScrollView/ScrollContentViewNativeComponent';
18
+ import ScrollViewNativeComponent from '../../../../Libraries/Components/ScrollView/ScrollViewNativeComponent';
19
+ import Platform from '../../../../Libraries/Utilities/Platform';
20
+ import AndroidHorizontalScrollContentViewNativeComponent from '../../specs_DEPRECATED/components/AndroidHorizontalScrollContentViewNativeComponent';
21
21
 
22
22
  export const HScrollViewNativeComponent: HostComponent<ScrollViewNativeProps> =
23
23
  Platform.OS === 'android'
@@ -0,0 +1,25 @@
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
+ * @oncall react_native
10
+ */
11
+
12
+ import type {ScrollViewNativeProps} from '../../../../Libraries/Components/ScrollView/ScrollViewNativeComponentType';
13
+ import type {ViewProps} from '../../../../Libraries/Components/View/ViewPropTypes';
14
+ import type {HostComponent} from '../../types/HostComponent';
15
+
16
+ import ScrollContentViewNativeComponent from '../../../../Libraries/Components/ScrollView/ScrollContentViewNativeComponent';
17
+ import ScrollViewNativeComponent from '../../../../Libraries/Components/ScrollView/ScrollViewNativeComponent';
18
+ import View from '../../../../Libraries/Components/View/View';
19
+ import Platform from '../../../../Libraries/Utilities/Platform';
20
+
21
+ export const VScrollViewNativeComponent: HostComponent<ScrollViewNativeProps> =
22
+ ScrollViewNativeComponent;
23
+
24
+ export const VScrollContentViewNativeComponent: HostComponent<ViewProps> =
25
+ Platform.OS === 'android' ? View : ScrollContentViewNativeComponent;
@@ -8,7 +8,7 @@
8
8
  * @format
9
9
  */
10
10
 
11
- import NativeDevMenu from '../specs_DEPRECATED/modules/NativeDevMenu';
11
+ import NativeDevMenu from './specs/NativeDevMenu';
12
12
 
13
13
  /**
14
14
  * The DevMenu module exposes methods for interacting with the Dev Menu in development.
@@ -10,11 +10,11 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import type {ViewStyleProp} from '../../../Libraries/StyleSheet/StyleSheet';
13
+ import type {ViewStyleProp} from '../../../../../Libraries/StyleSheet/StyleSheet';
14
14
 
15
- import React from 'react';
15
+ import * as React from 'react';
16
16
 
17
- const View = require('../../../Libraries/Components/View/View').default;
17
+ const View = require('../../../../../Libraries/Components/View/View').default;
18
18
 
19
19
  type Props = $ReadOnly<{
20
20
  children: React.Node,
@@ -13,14 +13,15 @@
13
13
  import type {
14
14
  TextStyleProp,
15
15
  ViewStyleProp,
16
- } from '../../../Libraries/StyleSheet/StyleSheet';
16
+ } from '../../../../../Libraries/StyleSheet/StyleSheet';
17
17
  import type {InspectedElementFrame} from './Inspector';
18
18
 
19
- import React from 'react';
19
+ import * as React from 'react';
20
20
 
21
- const View = require('../../../Libraries/Components/View/View').default;
22
- const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
23
- const Text = require('../../../Libraries/Text/Text').default;
21
+ const View = require('../../../../../Libraries/Components/View/View').default;
22
+ const StyleSheet =
23
+ require('../../../../../Libraries/StyleSheet/StyleSheet').default;
24
+ const Text = require('../../../../../Libraries/Text/Text').default;
24
25
  const resolveBoxStyle = require('./resolveBoxStyle').default;
25
26
 
26
27
  const blank = {
@@ -10,16 +10,18 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import type {ViewStyleProp} from '../../../Libraries/StyleSheet/StyleSheet';
13
+ import type {ViewStyleProp} from '../../../../../Libraries/StyleSheet/StyleSheet';
14
14
  import type {InspectedElementFrame} from './Inspector';
15
15
 
16
- import React from 'react';
16
+ import * as React from 'react';
17
17
 
18
- const View = require('../../../Libraries/Components/View/View').default;
18
+ const View = require('../../../../../Libraries/Components/View/View').default;
19
19
  const flattenStyle =
20
- require('../../../Libraries/StyleSheet/flattenStyle').default;
21
- const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
22
- const Dimensions = require('../../../Libraries/Utilities/Dimensions').default;
20
+ require('../../../../../Libraries/StyleSheet/flattenStyle').default;
21
+ const StyleSheet =
22
+ require('../../../../../Libraries/StyleSheet/StyleSheet').default;
23
+ const Dimensions =
24
+ require('../../../../../Libraries/Utilities/Dimensions').default;
23
25
  const BorderBox = require('./BorderBox').default;
24
26
  const resolveBoxStyle = require('./resolveBoxStyle').default;
25
27
 
@@ -10,22 +10,23 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import type {InspectorData} from '../../../Libraries/Renderer/shims/ReactNativeTypes';
14
- import type {ViewStyleProp} from '../../../Libraries/StyleSheet/StyleSheet';
13
+ import type {InspectorData} from '../../../../../Libraries/Renderer/shims/ReactNativeTypes';
14
+ import type {ViewStyleProp} from '../../../../../Libraries/StyleSheet/StyleSheet';
15
15
 
16
- import React from 'react';
16
+ import * as React from 'react';
17
17
 
18
18
  const TouchableHighlight =
19
- require('../../../Libraries/Components/Touchable/TouchableHighlight').default;
19
+ require('../../../../../Libraries/Components/Touchable/TouchableHighlight').default;
20
20
  const TouchableWithoutFeedback =
21
- require('../../../Libraries/Components/Touchable/TouchableWithoutFeedback').default;
22
- const View = require('../../../Libraries/Components/View/View').default;
21
+ require('../../../../../Libraries/Components/Touchable/TouchableWithoutFeedback').default;
22
+ const View = require('../../../../../Libraries/Components/View/View').default;
23
23
  const flattenStyle =
24
- require('../../../Libraries/StyleSheet/flattenStyle').default;
25
- const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
26
- const Text = require('../../../Libraries/Text/Text').default;
24
+ require('../../../../../Libraries/StyleSheet/flattenStyle').default;
25
+ const StyleSheet =
26
+ require('../../../../../Libraries/StyleSheet/StyleSheet').default;
27
+ const Text = require('../../../../../Libraries/Text/Text').default;
27
28
  const mapWithSeparator =
28
- require('../../../Libraries/Utilities/mapWithSeparator').default;
29
+ require('../../../../../Libraries/Utilities/mapWithSeparator').default;
29
30
  const BoxInspector = require('./BoxInspector').default;
30
31
  const StyleInspector = require('./StyleInspector').default;
31
32
 
@@ -10,25 +10,27 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import type {InspectedViewRef} from '../../../Libraries/ReactNative/AppContainer-dev';
13
+ import type {InspectedViewRef} from '../../../../../Libraries/ReactNative/AppContainer-dev';
14
14
  import type {
15
15
  InspectorData,
16
16
  TouchedViewDataAtPoint,
17
- } from '../../../Libraries/Renderer/shims/ReactNativeTypes';
18
- import type {ViewStyleProp} from '../../../Libraries/StyleSheet/StyleSheet';
19
- import type {ReactDevToolsAgent} from '../../../Libraries/Types/ReactDevToolsTypes';
17
+ } from '../../../../../Libraries/Renderer/shims/ReactNativeTypes';
18
+ import type {ViewStyleProp} from '../../../../../Libraries/StyleSheet/StyleSheet';
19
+ import type {ReactDevToolsAgent} from '../../../../../Libraries/Types/ReactDevToolsTypes';
20
20
 
21
- import SafeAreaView from '../components/SafeAreaView_INTERNAL_DO_NOT_USE';
22
- import React from 'react';
21
+ import SafeAreaView from '../../../components/safeareaview/SafeAreaView_INTERNAL_DO_NOT_USE';
22
+ import * as React from 'react';
23
23
 
24
- const View = require('../../../Libraries/Components/View/View').default;
25
- const PressabilityDebug = require('../../../Libraries/Pressability/PressabilityDebug');
24
+ const View = require('../../../../../Libraries/Components/View/View').default;
25
+ const PressabilityDebug = require('../../../../../Libraries/Pressability/PressabilityDebug');
26
26
  const {
27
27
  findNodeHandle,
28
- } = require('../../../Libraries/ReactNative/RendererProxy');
29
- const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
30
- const Dimensions = require('../../../Libraries/Utilities/Dimensions').default;
31
- const Platform = require('../../../Libraries/Utilities/Platform').default;
28
+ } = require('../../../../../Libraries/ReactNative/RendererProxy');
29
+ const StyleSheet =
30
+ require('../../../../../Libraries/StyleSheet/StyleSheet').default;
31
+ const Dimensions =
32
+ require('../../../../../Libraries/Utilities/Dimensions').default;
33
+ const Platform = require('../../../../../Libraries/Utilities/Platform').default;
32
34
  const getInspectorDataForViewAtPoint =
33
35
  require('./getInspectorDataForViewAtPoint').default;
34
36
  const InspectorOverlay = require('./InspectorOverlay').default;
@@ -10,13 +10,14 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import type {GestureResponderEvent} from '../../../Libraries/Types/CoreEventTypes';
13
+ import type {GestureResponderEvent} from '../../../../../Libraries/Types/CoreEventTypes';
14
14
  import type {InspectedElement} from './Inspector';
15
15
 
16
- import React from 'react';
16
+ import * as React from 'react';
17
17
 
18
- const View = require('../../../Libraries/Components/View/View').default;
19
- const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
18
+ const View = require('../../../../../Libraries/Components/View/View').default;
19
+ const StyleSheet =
20
+ require('../../../../../Libraries/StyleSheet/StyleSheet').default;
20
21
  const ElementBox = require('./ElementBox').default;
21
22
 
22
23
  type Props = $ReadOnly<{
@@ -12,19 +12,20 @@
12
12
 
13
13
  import type {ElementsHierarchy, InspectedElement} from './Inspector';
14
14
 
15
- import SafeAreaView from '../../../Libraries/Components/SafeAreaView/SafeAreaView';
16
- import React from 'react';
15
+ import SafeAreaView from '../../../../../Libraries/Components/SafeAreaView/SafeAreaView';
16
+ import * as React from 'react';
17
17
 
18
18
  const ScrollView =
19
- require('../../../Libraries/Components/ScrollView/ScrollView').default;
19
+ require('../../../../../Libraries/Components/ScrollView/ScrollView').default;
20
20
  const TouchableHighlight =
21
- require('../../../Libraries/Components/Touchable/TouchableHighlight').default;
22
- const View = require('../../../Libraries/Components/View/View').default;
23
- const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
24
- const Text = require('../../../Libraries/Text/Text').default;
21
+ require('../../../../../Libraries/Components/Touchable/TouchableHighlight').default;
22
+ const View = require('../../../../../Libraries/Components/View/View').default;
23
+ const StyleSheet =
24
+ require('../../../../../Libraries/StyleSheet/StyleSheet').default;
25
+ const Text = require('../../../../../Libraries/Text/Text').default;
26
+ const PerformanceOverlay = require('../perfmonitor/PerformanceOverlay').default;
25
27
  const ElementProperties = require('./ElementProperties').default;
26
28
  const NetworkOverlay = require('./NetworkOverlay').default;
27
- const PerformanceOverlay = require('./PerformanceOverlay').default;
28
29
 
29
30
  type Props = $ReadOnly<{
30
31
  devtoolsIsOpen: boolean,