@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.
- package/.flowconfig +1 -1
- package/CHANGELOG.json +43 -1
- package/CHANGELOG.md +22 -4
- package/Libraries/Alert/RCTAlertManager.js +17 -0
- package/Libraries/Animated/AnimatedEvent.js +4 -3
- package/Libraries/Animated/AnimatedExports.js.flow +2 -0
- package/Libraries/Animated/AnimatedImplementation.js +2 -2
- package/Libraries/Animated/components/AnimatedScrollView.js +48 -43
- package/Libraries/Animated/nodes/AnimatedValue.js +2 -1
- package/Libraries/BatchedBridge/MessageQueue.js +2 -2
- package/Libraries/Blob/FileReader.js +219 -8
- package/Libraries/Blob/URL.js +13 -1
- package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.js +17 -0
- package/Libraries/Components/Button.js +1 -1
- package/Libraries/Components/Button.win32.js +1 -1
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +1 -3
- package/Libraries/{Utilities/__mocks__/GlobalPerformanceLogger.js → Components/DrawerAndroid/DrawerLayoutAndroid.ios.js} +3 -4
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js +6 -66
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js.flow +18 -0
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.js +71 -0
- package/Libraries/Components/Keyboard/Keyboard.js +4 -2
- package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +6 -3
- package/Libraries/Components/Pressable/Pressable.js +6 -1
- package/Libraries/Components/Pressable/Pressable.win32.js +6 -1
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js +12 -2
- package/Libraries/Components/RefreshControl/RefreshControl.js +1 -1
- package/Libraries/Components/ScrollView/ScrollView.d.ts +1 -1
- package/Libraries/Components/ScrollView/ScrollView.js +128 -116
- package/Libraries/Components/StaticRenderer.js +1 -1
- package/Libraries/Components/Switch/Switch.js +7 -3
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +2 -1
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +2 -4
- package/Libraries/Components/TextInput/TextInput.flow.js +59 -42
- package/Libraries/Components/TextInput/TextInput.flow.win32.js +1208 -0
- package/Libraries/Components/TextInput/TextInput.js +67 -1005
- package/Libraries/Components/TextInput/TextInput.win32.js +69 -1037
- package/Libraries/{Blob/__mocks__/BlobModule.js → Components/ToastAndroid/ToastAndroid.ios.js} +3 -6
- package/Libraries/Components/ToastAndroid/ToastAndroid.js +4 -32
- package/Libraries/Components/ToastAndroid/ToastAndroid.js.flow +109 -0
- package/Libraries/Components/ToastAndroid/ToastAndroid.win32.js +4 -32
- package/Libraries/Components/ToastAndroid/ToastAndroidFallback.js +45 -0
- package/Libraries/Components/Touchable/Touchable.js +5 -5
- package/Libraries/Components/Touchable/Touchable.win32.js +5 -5
- package/Libraries/Components/Touchable/TouchableBounce.js +12 -6
- package/Libraries/Components/Touchable/TouchableHighlight.js +9 -6
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +4 -4
- package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js +4 -4
- package/Libraries/Components/Touchable/TouchableOpacity.js +11 -5
- package/Libraries/Components/View/View.js +18 -21
- package/Libraries/Components/View/View.win32.js +21 -24
- package/Libraries/Components/View/ViewAccessibility.js +7 -0
- package/Libraries/Components/View/ViewAccessibility.win32.js +7 -0
- package/Libraries/Components/View/ViewPropTypes.js +1 -1
- package/Libraries/Components/View/ViewPropTypes.win32.js +1 -1
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Core/setUpReactDevTools.js +5 -5
- package/Libraries/EventEmitter/NativeEventEmitter.js +4 -1
- package/Libraries/Image/Image.js +17 -0
- package/Libraries/Image/Image.js.flow +2 -2
- package/Libraries/Image/ImageInjection.js +1 -1
- package/Libraries/Image/ImageProps.js +5 -5
- package/Libraries/Image/ImageSource.js +3 -1
- package/Libraries/Image/ImageSourceUtils.js +4 -2
- package/Libraries/Image/ImageTypes.flow.js +1 -1
- package/Libraries/Lists/FlatList.d.ts +2 -2
- package/Libraries/Lists/FlatList.js +1 -1
- package/Libraries/Lists/SectionList.js +1 -1
- package/Libraries/Lists/SectionListModern.js +3 -3
- package/Libraries/LogBox/Data/LogBoxData.js +1 -1
- package/Libraries/LogBox/LogBoxNotificationContainer.js +1 -1
- package/Libraries/Modal/Modal.js +3 -3
- package/Libraries/NativeComponent/BaseViewConfig.js +17 -0
- package/Libraries/NativeComponent/PlatformBaseViewConfig.js +2 -2
- package/Libraries/NativeModules/specs/NativeDevMenu.js +2 -2
- package/Libraries/Network/RCTNetworking.js +17 -0
- package/Libraries/Network/XMLHttpRequest.js +781 -10
- package/Libraries/NewAppScreen/components/DebugInstructions.js +1 -1
- package/Libraries/NewAppScreen/components/Header.js +1 -1
- package/Libraries/NewAppScreen/components/HermesBadge.js +1 -1
- package/Libraries/NewAppScreen/components/LearnMoreLinks.js +3 -3
- package/Libraries/NewAppScreen/components/ReloadInstructions.js +1 -1
- package/Libraries/Performance/Systrace.js +7 -7
- package/Libraries/ReactNative/AppContainer-dev.js +3 -2
- package/Libraries/ReactNative/RendererImplementation.js +6 -5
- package/Libraries/ReactNative/renderApplication.js +9 -0
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +2 -2
- package/Libraries/Renderer/implementations/ReactFabric-dev.js +4840 -4748
- package/Libraries/Renderer/implementations/ReactFabric-prod.js +4947 -4829
- package/Libraries/Renderer/implementations/ReactFabric-profiling.js +3998 -3888
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +5005 -4948
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +2744 -2652
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +5020 -4933
- package/Libraries/Renderer/shims/ReactFabric.js +3 -1
- package/Libraries/Renderer/shims/ReactFeatureFlags.js +3 -1
- package/Libraries/Renderer/shims/ReactNative.js +3 -1
- package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +3 -1
- package/Libraries/Renderer/shims/createReactNativeComponentClass.js +3 -1
- package/Libraries/Settings/Settings.js +13 -19
- package/Libraries/Settings/Settings.win32.js +19 -20
- package/Libraries/Settings/SettingsFallback.js +33 -0
- package/Libraries/StyleSheet/PlatformColorValueTypes.js +15 -0
- package/Libraries/StyleSheet/Rect.js +1 -0
- package/Libraries/StyleSheet/StyleSheet.js.flow +3 -3
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +1 -1
- package/Libraries/StyleSheet/StyleSheetTypes.js +75 -33
- package/Libraries/StyleSheet/flattenStyle.js +7 -1
- package/Libraries/StyleSheet/processBackgroundImage.js +670 -214
- package/Libraries/Text/Text.js +3 -3
- package/Libraries/Text/Text.win32.js +3 -3
- package/Libraries/Text/TextNativeComponent.js +0 -4
- package/Libraries/Text/TextNativeComponent.win32.js +0 -4
- package/Libraries/Text/TextProps.js +1 -1
- package/Libraries/Text/TextProps.win32.js +1 -1
- package/Libraries/Utilities/Appearance.js +2 -0
- package/Libraries/Utilities/BackHandler.js +17 -0
- package/Libraries/Utilities/Platform.js +17 -0
- package/Libraries/Utilities/PlatformTypes.js +2 -0
- package/Libraries/Utilities/ReactNativeTestTools.js +1 -1
- package/Libraries/WebSocket/WebSocket.js +313 -8
- package/flow/global.js +0 -2
- package/index.js +1 -288
- package/index.win32.js +8 -297
- package/overrides.json +29 -23
- package/package.json +16 -16
- package/src/private/animated/NativeAnimatedHelper.js +1 -1
- package/src/private/animated/NativeAnimatedHelper.win32.js +1 -1
- package/src/private/animated/createAnimatedPropsHook.js +2 -27
- package/src/private/components/{SafeAreaView_INTERNAL_DO_NOT_USE.js → safeareaview/SafeAreaView_INTERNAL_DO_NOT_USE.js} +6 -6
- package/src/private/components/{HScrollViewNativeComponents.js → scrollview/HScrollViewNativeComponents.js} +8 -8
- package/src/private/components/scrollview/VScrollViewNativeComponents.js +25 -0
- package/src/private/{devmenu → devsupport/devmenu}/DevMenu.js +1 -1
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/BorderBox.js +3 -3
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/BoxInspector.js +6 -5
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/ElementBox.js +8 -6
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/ElementProperties.js +11 -10
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/Inspector.js +14 -12
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/InspectorOverlay.js +5 -4
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/InspectorPanel.js +9 -8
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/NetworkOverlay.js +10 -9
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/ReactDevToolsOverlay.js +7 -7
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/StyleInspector.js +7 -6
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/XHRInterceptor.js +2 -2
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/getInspectorDataForViewAtPoint.js +2 -2
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/resolveBoxStyle.js +1 -1
- package/src/private/{inspector → devsupport/devmenu/perfmonitor}/PerformanceOverlay.js +6 -5
- package/src/private/{specs_DEPRECATED/modules → devsupport/devmenu/specs}/NativeDevMenu.js +2 -2
- package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.android.js +1 -1
- package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.ios.js +1 -1
- package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.win32.js +1 -1
- package/src/private/{debugging → devsupport/rndevtools}/setUpFuseboxReactDevToolsDispatcher.js +1 -1
- package/src/private/{fusebox → devsupport/rndevtools}/specs/NativeReactDevToolsRuntimeSettingsModule.js +2 -2
- package/src/private/{specs_DEPRECATED/modules → devsupport/rndevtools/specs}/NativeReactDevToolsSettingsManager.js +2 -2
- package/src/private/featureflags/ReactNativeFeatureFlags.js +37 -43
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +8 -8
- package/src/private/renderer/errorhandling/ErrorHandlers.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeSampleTurboModule.js +3 -0
- package/src/private/types/HostComponent.js +1 -1
- package/src/private/types/HostInstance.js +12 -4
- package/src/private/webapis/performance/Performance.js +1 -3
- package/types/index.d.ts +1 -1
- package/types/public/ReactNativeTypes.d.ts +2 -2
- package/Libraries/BatchedBridge/__mocks__/MessageQueueTestConfig.js +0 -38
- package/Libraries/BatchedBridge/__mocks__/MessageQueueTestModule.js +0 -22
- package/Libraries/Blob/FileReader_new.js +0 -231
- package/Libraries/Blob/FileReader_old.js +0 -186
- package/Libraries/Blob/__mocks__/FileReaderModule.js +0 -20
- package/Libraries/Components/RefreshControl/__mocks__/RefreshControlMock.js +0 -32
- package/Libraries/Core/__mocks__/ErrorUtils.js +0 -33
- package/Libraries/Core/__mocks__/NativeExceptionsManager.js +0 -19
- package/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js +0 -49
- package/Libraries/Events/CustomEvent.js +0 -32
- package/Libraries/Events/EventPolyfill.js +0 -239
- package/Libraries/Lists/__flowtests__/FlatList-flowtest.js +0 -118
- package/Libraries/Lists/__flowtests__/SectionList-flowtest.js +0 -134
- package/Libraries/Network/XMLHttpRequest_new.js +0 -794
- package/Libraries/Network/XMLHttpRequest_old.js +0 -701
- package/Libraries/StyleSheet/__flowtests__/StyleSheet-flowtest.js +0 -58
- package/Libraries/Utilities/__mocks__/BackHandler.js +0 -45
- package/Libraries/Utilities/__mocks__/PixelRatio.js +0 -25
- package/Libraries/WebSocket/WebSocketEvent.js +0 -30
- package/Libraries/WebSocket/WebSocket_new.js +0 -325
- package/Libraries/WebSocket/WebSocket_old.js +0 -297
- package/Libraries/WebSocket/__mocks__/event-target-shim.js +0 -27
- package/Libraries/__flowtests__/ReactNativeTypes-flowtest.js +0 -30
- package/Libraries/vendor/emitter/__flowtests__/EventEmitter-flowtest.js +0 -81
- package/jest/__tests__/setup-test.js +0 -18
- package/src/private/components/VScrollViewNativeComponents.js +0 -25
- package/src/private/webapis/performance/specs/__mocks__/NativePerformanceMock.js +0 -267
- package/src/types/third_party/event-target-shim.d.ts +0 -392
- /package/src/private/{devmenu → devsupport/devmenu}/DevMenu.d.ts +0 -0
- /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-
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
493
|
+
"baseHash": "3247a8e436a7beeda45ce7d77343229b5204cbfc",
|
|
488
494
|
"issue": 11041
|
|
489
495
|
},
|
|
490
496
|
{
|
|
491
497
|
"type": "copy",
|
|
492
|
-
"file": "src-win/src/private/
|
|
493
|
-
"baseFile": "packages/react-native/src/private/
|
|
494
|
-
"baseHash": "
|
|
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.
|
|
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-
|
|
34
|
-
"@react-native/codegen": "0.80.0-nightly-
|
|
35
|
-
"@react-native/community-cli-plugin": "0.80.0-nightly-
|
|
36
|
-
"@react-native/gradle-plugin": "0.80.0-nightly-
|
|
37
|
-
"@react-native/js-polyfills": "0.80.0-nightly-
|
|
38
|
-
"@react-native/normalize-colors": "0.80.0-nightly-
|
|
39
|
-
"@react-native/virtualized-lists": "0.80.0-nightly-
|
|
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-
|
|
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.
|
|
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.
|
|
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.
|
|
91
|
-
"react-native": "0.80.0-nightly-
|
|
92
|
-
"react-native-platform-override": "^1.9.
|
|
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.
|
|
98
|
-
"react-native": "0.80.0-nightly-
|
|
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
|
-
[
|
|
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 '
|
|
12
|
+
import type {ViewProps} from '../../../../Libraries/Components/View/ViewPropTypes';
|
|
13
13
|
|
|
14
|
-
import View from '
|
|
15
|
-
import UIManager from '
|
|
16
|
-
import Platform from '
|
|
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('
|
|
23
|
+
ios: require('../../../../src/private/specs_DEPRECATED/components/RCTSafeAreaViewNativeComponent')
|
|
24
24
|
.default,
|
|
25
25
|
android: UIManager.hasViewManagerConfig('RCTSafeAreaView')
|
|
26
|
-
? require('
|
|
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 '
|
|
13
|
-
import type {ViewProps} from '
|
|
14
|
-
import type {HostComponent} from '
|
|
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 '
|
|
17
|
-
import ScrollContentViewNativeComponent from '
|
|
18
|
-
import ScrollViewNativeComponent from '
|
|
19
|
-
import Platform from '
|
|
20
|
-
import AndroidHorizontalScrollContentViewNativeComponent from '
|
|
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;
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import type {ViewStyleProp} from '
|
|
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('
|
|
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 '
|
|
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('
|
|
22
|
-
const StyleSheet =
|
|
23
|
-
|
|
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 '
|
|
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('
|
|
18
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
19
19
|
const flattenStyle =
|
|
20
|
-
require('
|
|
21
|
-
const StyleSheet =
|
|
22
|
-
|
|
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 '
|
|
14
|
-
import type {ViewStyleProp} from '
|
|
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('
|
|
19
|
+
require('../../../../../Libraries/Components/Touchable/TouchableHighlight').default;
|
|
20
20
|
const TouchableWithoutFeedback =
|
|
21
|
-
require('
|
|
22
|
-
const View = require('
|
|
21
|
+
require('../../../../../Libraries/Components/Touchable/TouchableWithoutFeedback').default;
|
|
22
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
23
23
|
const flattenStyle =
|
|
24
|
-
require('
|
|
25
|
-
const StyleSheet =
|
|
26
|
-
|
|
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('
|
|
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 '
|
|
13
|
+
import type {InspectedViewRef} from '../../../../../Libraries/ReactNative/AppContainer-dev';
|
|
14
14
|
import type {
|
|
15
15
|
InspectorData,
|
|
16
16
|
TouchedViewDataAtPoint,
|
|
17
|
-
} from '
|
|
18
|
-
import type {ViewStyleProp} from '
|
|
19
|
-
import type {ReactDevToolsAgent} from '
|
|
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 '
|
|
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('
|
|
25
|
-
const PressabilityDebug = require('
|
|
24
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
25
|
+
const PressabilityDebug = require('../../../../../Libraries/Pressability/PressabilityDebug');
|
|
26
26
|
const {
|
|
27
27
|
findNodeHandle,
|
|
28
|
-
} = require('
|
|
29
|
-
const StyleSheet =
|
|
30
|
-
|
|
31
|
-
const
|
|
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 '
|
|
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('
|
|
19
|
-
const StyleSheet =
|
|
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 '
|
|
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('
|
|
19
|
+
require('../../../../../Libraries/Components/ScrollView/ScrollView').default;
|
|
20
20
|
const TouchableHighlight =
|
|
21
|
-
require('
|
|
22
|
-
const View = require('
|
|
23
|
-
const StyleSheet =
|
|
24
|
-
|
|
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,
|