@office-iss/react-native-win32 0.0.0-canary.285 → 0.0.0-canary.286
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 +16 -1
- package/CHANGELOG.md +16 -8
- package/IntegrationTests/LayoutEventsTest.js +16 -11
- package/Libraries/Alert/Alert.js +51 -5
- package/Libraries/Alert/Alert.win32.js +50 -5
- package/Libraries/Animated/animations/Animation.js +1 -4
- package/Libraries/Animated/nodes/AnimatedObject.js +1 -0
- package/Libraries/AppState/AppState.js +24 -7
- package/Libraries/BatchedBridge/MessageQueue.js +3 -2
- package/Libraries/BatchedBridge/NativeModules.js +2 -1
- package/Libraries/Blob/Blob.js +1 -1
- package/Libraries/Blob/FileReader_old.js +9 -9
- package/Libraries/Blob/URL.js +1 -1
- package/Libraries/Blob/URLSearchParams.js +9 -9
- package/Libraries/Components/Button.js +3 -3
- package/Libraries/Components/Button.win32.js +3 -6
- package/Libraries/Components/LayoutConformance/LayoutConformance.js +1 -1
- package/Libraries/Components/Pressable/Pressable.js +9 -9
- package/Libraries/Components/Pressable/Pressable.win32.js +9 -9
- package/Libraries/Components/Pressable/useAndroidRippleForView.js +7 -7
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js +7 -1
- package/Libraries/Components/RefreshControl/RefreshControl.js +1 -1
- package/Libraries/Components/ScrollView/ScrollView.js +74 -59
- package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +5 -5
- package/Libraries/Components/ScrollView/ScrollViewNativeComponentType.js +5 -2
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +3 -3
- package/Libraries/Components/Switch/Switch.js +2 -2
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +3 -1
- package/Libraries/Components/TextInput/TextInput.flow.js +15 -13
- package/Libraries/Components/TextInput/TextInput.js +16 -14
- package/Libraries/Components/TextInput/TextInput.win32.js +16 -14
- package/Libraries/Components/TextInput/TextInputState.js +1 -1
- package/Libraries/Components/TextInput/TextInputState.win32.js +1 -1
- package/Libraries/Components/Touchable/Touchable.js +16 -16
- package/Libraries/Components/Touchable/Touchable.win32.js +16 -16
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +2 -2
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +7 -7
- package/Libraries/Components/View/ReactNativeStyleAttributes.js +16 -2
- package/Libraries/Components/View/ViewAccessibility.js +243 -3
- package/Libraries/Components/View/ViewAccessibility.win32.js +243 -3
- package/Libraries/Components/View/ViewPropTypes.d.ts +14 -14
- package/Libraries/Components/View/ViewPropTypes.js +35 -226
- package/Libraries/Components/View/ViewPropTypes.win32.js +37 -229
- package/Libraries/Core/Devtools/symbolicateStackTrace.js +1 -1
- package/Libraries/Core/InitializeCore.js +2 -1
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Core/Timers/JSTimers.js +6 -4
- package/Libraries/Core/setUpBatchedBridge.js +9 -5
- package/Libraries/Core/setUpDeveloperTools.js +3 -29
- package/Libraries/Core/setUpReactDevTools.js +1 -1
- package/Libraries/Core/setUpReactRefresh.js +1 -1
- package/Libraries/Core/setUpXHR.js +5 -2
- package/Libraries/EventEmitter/NativeEventEmitter.js +8 -2
- package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +5 -4
- package/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js +3 -2
- package/Libraries/Events/CustomEvent.js +1 -1
- package/Libraries/Events/EventPolyfill.js +2 -2
- package/Libraries/Image/AssetSourceResolver.js +1 -1
- package/Libraries/Image/ImageProps.js +8 -5
- package/Libraries/Image/ImageViewNativeComponent.js +1 -1
- package/Libraries/Image/resolveAssetSource.win32.js +1 -1
- package/Libraries/Interaction/InteractionManager.js +1 -1
- package/Libraries/Interaction/InteractionManagerStub.js +9 -1
- package/Libraries/Interaction/JSEventLoopWatchdog.js +1 -1
- package/Libraries/Interaction/PanResponder.js +32 -29
- package/Libraries/Interaction/TaskQueue.js +1 -1
- package/Libraries/LayoutAnimation/LayoutAnimation.js +18 -4
- package/Libraries/Lists/FillRateHelper.js +3 -3
- package/Libraries/Lists/FlatList.js +13 -13
- package/Libraries/Lists/SectionList.js +3 -1
- package/Libraries/Lists/SectionListModern.js +3 -1
- package/Libraries/Lists/ViewabilityHelper.js +3 -2
- package/Libraries/Lists/VirtualizeUtils.js +3 -3
- package/Libraries/Lists/VirtualizedList.js +5 -5
- package/Libraries/Lists/VirtualizedListContext.js +4 -2
- package/Libraries/Lists/VirtualizedSectionList.js +4 -2
- package/Libraries/LogBox/LogBox.js +9 -1
- package/Libraries/LogBox/UI/AnsiHighlight.js +7 -3
- package/Libraries/LogBox/UI/LogBoxButton.js +4 -2
- package/Libraries/LogBox/UI/LogBoxInspector.js +1 -1
- package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +11 -3
- package/Libraries/LogBox/UI/LogBoxInspectorFooterButton.js +2 -0
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +8 -2
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +8 -2
- package/Libraries/LogBox/UI/LogBoxInspectorHeaderButton.js +2 -0
- package/Libraries/LogBox/UI/LogBoxInspectorMessageHeader.js +4 -2
- package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js +3 -1
- package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.win32.js +3 -1
- package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js +2 -2
- package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.js +5 -3
- package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.win32.js +5 -3
- package/Libraries/LogBox/UI/LogBoxNotification.js +6 -2
- package/Libraries/LogBox/UI/LogBoxNotificationCountBadge.js +3 -1
- package/Libraries/LogBox/UI/LogBoxNotificationDismissButton.js +2 -0
- package/Libraries/LogBox/UI/LogBoxNotificationMessage.js +4 -1
- package/Libraries/Modal/Modal.js +74 -81
- package/Libraries/NativeComponent/BaseViewConfig.android.js +16 -6
- package/Libraries/NativeComponent/BaseViewConfig.ios.js +19 -9
- package/Libraries/NativeComponent/BaseViewConfig.win32.js +19 -9
- package/Libraries/NativeComponent/StaticViewConfigValidator.js +5 -1
- package/Libraries/Network/FormData.js +1 -1
- package/Libraries/Network/XMLHttpRequest.js +5 -6
- package/Libraries/Network/XMLHttpRequest_new.js +3 -2
- package/Libraries/Network/XMLHttpRequest_old.js +3 -2
- package/Libraries/Network/convertRequestBody.js +4 -3
- package/Libraries/Network/fetch.js +4 -3
- package/Libraries/PermissionsAndroid/PermissionsAndroid.js +63 -61
- package/Libraries/Pressability/Pressability.js +23 -23
- package/Libraries/Pressability/Pressability.win32.js +23 -23
- package/Libraries/PushNotificationIOS/PushNotificationIOS.js +119 -16
- package/Libraries/ReactNative/AppContainer-dev.js +2 -1
- package/Libraries/ReactNative/AppRegistry.js +3 -3
- package/Libraries/ReactNative/PaperUIManager.js +3 -2
- package/Libraries/ReactNative/PaperUIManager.win32.js +3 -2
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +2 -1
- package/Libraries/ReactNative/RootTag.js +1 -1
- package/Libraries/ReactNative/getNativeComponentAttributes.js +4 -4
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +6 -4
- package/Libraries/Renderer/shims/ReactNativeTypes.js +4 -5
- package/Libraries/Settings/Settings.js +2 -2
- package/Libraries/Settings/Settings.win32.js +2 -2
- package/Libraries/Share/Share.js +10 -3
- package/Libraries/StyleSheet/PlatformColorValueTypes.ios.js +1 -1
- package/Libraries/StyleSheet/StyleSheet.js +1 -1
- package/Libraries/StyleSheet/StyleSheet.win32.js +2 -2
- package/Libraries/StyleSheet/__flowtests__/StyleSheet-flowtest.js +1 -1
- package/Libraries/StyleSheet/flattenStyle.js +1 -1
- package/Libraries/StyleSheet/normalizeColor.js +1 -1
- package/Libraries/StyleSheet/processAspectRatio.js +1 -1
- package/Libraries/StyleSheet/processColor.js +2 -2
- package/Libraries/StyleSheet/processFilter.js +4 -0
- package/Libraries/StyleSheet/processFontVariant.js +1 -1
- package/Libraries/StyleSheet/processTransform.js +1 -1
- package/Libraries/StyleSheet/setNormalizedColorAlpha.js +1 -1
- package/Libraries/Text/Text.js +15 -15
- package/Libraries/Text/Text.win32.js +15 -15
- package/Libraries/Text/TextAncestor.js +1 -1
- package/Libraries/Text/TextNativeComponent.js +2 -2
- package/Libraries/Text/TextNativeComponent.win32.js +2 -2
- package/Libraries/Text/TextProps.js +11 -11
- package/Libraries/Text/TextProps.win32.js +11 -11
- package/Libraries/Types/CodegenTypes.js +3 -3
- package/Libraries/Types/CoreEventTypes.js +103 -72
- package/Libraries/Types/CoreEventTypes.win32.js +115 -79
- package/Libraries/UTFSequence.js +2 -1
- package/Libraries/Utilities/BackHandler.android.js +1 -1
- package/Libraries/Utilities/BackHandler.ios.js +5 -5
- package/Libraries/Utilities/BackHandler.win32.js +1 -1
- package/Libraries/Utilities/DevLoadingView.js +1 -1
- package/Libraries/Utilities/DevSettings.js +1 -1
- package/Libraries/Utilities/DeviceInfo.js +1 -1
- package/Libraries/Utilities/DeviceInfo.win32.js +1 -1
- package/Libraries/Utilities/FeatureDetection.js +2 -4
- package/Libraries/Utilities/FocusManager.win32.js +3 -3
- package/Libraries/Utilities/GlobalPerformanceLogger.js +1 -1
- package/Libraries/Utilities/HMRClient.js +5 -33
- package/Libraries/Utilities/HMRClientProdShim.js +1 -2
- package/Libraries/Utilities/Platform.android.js +2 -2
- package/Libraries/Utilities/Platform.ios.js +2 -2
- package/Libraries/Utilities/Platform.win32.js +2 -2
- package/Libraries/Utilities/{Platform.flow.win32.js → PlatformTypes.js} +1 -0
- package/Libraries/Utilities/PolyfillFunctions.js +3 -5
- package/Libraries/Utilities/RCTLog.js +1 -1
- package/Libraries/Utilities/ReactNativeTestTools.js +1 -1
- package/Libraries/Utilities/SceneTracker.js +1 -1
- package/Libraries/Utilities/__mocks__/GlobalPerformanceLogger.js +2 -2
- package/Libraries/Utilities/binaryToBase64.js +1 -1
- package/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js +1 -1
- package/Libraries/Utilities/defineLazyObjectProperty.js +1 -1
- package/Libraries/Utilities/differ/deepDiffer.js +3 -3
- package/Libraries/Utilities/differ/insetsDiffer.js +3 -3
- package/Libraries/Utilities/differ/matricesDiffer.js +3 -6
- package/Libraries/Utilities/differ/pointsDiffer.js +3 -3
- package/Libraries/Utilities/differ/sizesDiffer.js +3 -3
- package/Libraries/Utilities/dismissKeyboard.js +1 -1
- package/Libraries/Utilities/infoLog.js +1 -1
- package/Libraries/Utilities/logError.js +1 -1
- package/Libraries/Utilities/mapWithSeparator.js +1 -1
- package/Libraries/Utilities/warnOnce.js +1 -1
- package/Libraries/Vibration/Vibration.js +3 -3
- package/Libraries/vendor/emitter/EventEmitter.js +21 -9
- package/index.js +113 -199
- package/index.win32.js +21 -13
- package/jest/setup.js +9 -2
- package/overrides.json +35 -34
- package/package.json +15 -15
- package/src/private/devmenu/DevMenu.js +1 -1
- package/src/private/featureflags/ReactNativeFeatureFlags.js +22 -23
- package/src/private/featureflags/ReactNativeFeatureFlagsBase.js +4 -7
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +5 -4
- package/src/private/inspector/BoxInspector.js +1 -1
- package/src/private/inspector/ElementBox.js +3 -2
- package/src/private/inspector/ElementProperties.js +5 -3
- package/src/private/inspector/Inspector.js +2 -2
- package/src/private/inspector/InspectorOverlay.js +4 -4
- package/src/private/inspector/InspectorPanel.js +1 -1
- package/src/private/inspector/NetworkOverlay.js +4 -4
- package/src/private/inspector/PerformanceOverlay.js +3 -2
- package/src/private/inspector/ReactDevToolsOverlay.js +3 -3
- package/src/private/inspector/StyleInspector.js +1 -1
- package/src/private/inspector/XHRInterceptor.js +5 -2
- package/src/private/renderer/errorhandling/ErrorHandlers.js +2 -1
- package/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.js +1 -1
- package/src/private/specs_DEPRECATED/modules/NativePermissionsAndroid.js +5 -4
- package/src/private/specs_DEPRECATED/modules/NativeUIManager.js +92 -19
- package/src/private/webapis/dom/events/CustomEvent.js +5 -7
- package/src/private/webapis/dom/events/Event.js +5 -5
- package/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.js +1 -0
- package/src/private/webapis/html/events/MessageEvent.js +12 -19
- package/src/private/webapis/websockets/events/CloseEvent.js +9 -11
- package/src/private/webapis/xhr/events/ProgressEvent.js +9 -11
- package/src-win/Libraries/Components/View/ViewPropTypes.d.ts +14 -14
- package/Libraries/Alert/Alert.flow.js +0 -62
- package/Libraries/Alert/RCTAlertManager.flow.js +0 -20
- package/Libraries/Utilities/Platform.flow.js +0 -91
- package/flow/react.js +0 -15
package/overrides.json
CHANGED
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
"**/__snapshots__/**",
|
|
8
8
|
"src-win/rntypes/**"
|
|
9
9
|
],
|
|
10
|
-
"baseVersion": "0.79.0-nightly-
|
|
10
|
+
"baseVersion": "0.79.0-nightly-20250220-41b597c73",
|
|
11
11
|
"overrides": [
|
|
12
12
|
{
|
|
13
13
|
"type": "derived",
|
|
14
14
|
"file": ".flowconfig",
|
|
15
15
|
"baseFile": ".flowconfig",
|
|
16
|
-
"baseHash": "
|
|
16
|
+
"baseHash": "bbd5e6a4e1714c0737ae334c59130213ff0ece37"
|
|
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": "62b4752ea0e271645cc0fff8b54f2c1167284d43"
|
|
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": "
|
|
32
|
+
"baseHash": "95ce9fad7e029b50ff6f1598e38aa420660913dc"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"type": "derived",
|
|
@@ -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": "b714b539fc713630886ddabb3f0bcad4f13eb591"
|
|
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": "
|
|
88
|
+
"baseHash": "0241c2ca83e3701e7516aa899f160ec9c1cacbfb",
|
|
89
89
|
"issue": 6240
|
|
90
90
|
},
|
|
91
91
|
{
|
|
@@ -109,13 +109,13 @@
|
|
|
109
109
|
"type": "derived",
|
|
110
110
|
"file": "src-win/Libraries/Components/TextInput/TextInput.win32.js",
|
|
111
111
|
"baseFile": "packages/react-native/Libraries/Components/TextInput/TextInput.js",
|
|
112
|
-
"baseHash": "
|
|
112
|
+
"baseHash": "bbd21bfeb34988fa7e5e50dff9817b9e14d2bd11"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"type": "patch",
|
|
116
116
|
"file": "src-win/Libraries/Components/TextInput/TextInputState.win32.js",
|
|
117
117
|
"baseFile": "packages/react-native/Libraries/Components/TextInput/TextInputState.js",
|
|
118
|
-
"baseHash": "
|
|
118
|
+
"baseHash": "0814cb4b219fd3c6947e492c617fd6832ef113d2"
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
"type": "platform",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"type": "patch",
|
|
137
137
|
"file": "src-win/Libraries/Components/Touchable/Touchable.win32.js",
|
|
138
138
|
"baseFile": "packages/react-native/Libraries/Components/Touchable/Touchable.js",
|
|
139
|
-
"baseHash": "
|
|
139
|
+
"baseHash": "81688929fae255e49fe08bdb491ca0304204ffb2",
|
|
140
140
|
"issue": 0
|
|
141
141
|
},
|
|
142
142
|
{
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"type": "derived",
|
|
150
150
|
"file": "src-win/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js",
|
|
151
151
|
"baseFile": "packages/react-native/Libraries/Components/Touchable/TouchableNativeFeedback.js",
|
|
152
|
-
"baseHash": "
|
|
152
|
+
"baseHash": "bf4f87d88a7f118db00ee42b73e1fd0c6dcd17f7"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
"type": "platform",
|
|
@@ -185,19 +185,19 @@
|
|
|
185
185
|
"type": "derived",
|
|
186
186
|
"file": "src-win/Libraries/Components/View/ViewAccessibility.win32.js",
|
|
187
187
|
"baseFile": "packages/react-native/Libraries/Components/View/ViewAccessibility.js",
|
|
188
|
-
"baseHash": "
|
|
188
|
+
"baseHash": "7b90ff2ca0ede95e456afd76aeb859f539ade3ff"
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
"type": "derived",
|
|
192
192
|
"file": "src-win/Libraries/Components/View/ViewPropTypes.d.ts",
|
|
193
193
|
"baseFile": "packages/react-native/Libraries/Components/View/ViewPropTypes.d.ts",
|
|
194
|
-
"baseHash": "
|
|
194
|
+
"baseHash": "ef39871442f6fd69ff316e824fcace95bda6f95b"
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
"type": "patch",
|
|
198
198
|
"file": "src-win/Libraries/Components/View/ViewPropTypes.win32.js",
|
|
199
199
|
"baseFile": "packages/react-native/Libraries/Components/View/ViewPropTypes.js",
|
|
200
|
-
"baseHash": "
|
|
200
|
+
"baseHash": "be0e93a4b26b0d42b7b058b88478fda11e54775c",
|
|
201
201
|
"issue": 6240
|
|
202
202
|
},
|
|
203
203
|
{
|
|
@@ -292,20 +292,20 @@
|
|
|
292
292
|
"type": "patch",
|
|
293
293
|
"file": "src-win/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js",
|
|
294
294
|
"baseFile": "packages/react-native/Libraries/LogBox/UI/LogBoxInspectorHeader.js",
|
|
295
|
-
"baseHash": "
|
|
295
|
+
"baseHash": "614a9137be35124ce4d555c3e766568a690a9937",
|
|
296
296
|
"issue": 7952
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
"type": "derived",
|
|
300
300
|
"file": "src-win/Libraries/LogBox/UI/LogBoxInspectorReactFrames.win32.js",
|
|
301
301
|
"baseFile": "packages/react-native/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js",
|
|
302
|
-
"baseHash": "
|
|
302
|
+
"baseHash": "3a3d7da499937cce35c9bd17a11f10b2eeac04cc"
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
305
|
"type": "derived",
|
|
306
306
|
"file": "src-win/Libraries/LogBox/UI/LogBoxInspectorStackFrame.win32.js",
|
|
307
307
|
"baseFile": "packages/react-native/Libraries/LogBox/UI/LogBoxInspectorStackFrame.js",
|
|
308
|
-
"baseHash": "
|
|
308
|
+
"baseHash": "f91edc40bb2bb20bb94be69e6d8af2aa8d53ca8e",
|
|
309
309
|
"issue": 5885
|
|
310
310
|
},
|
|
311
311
|
{
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
"type": "derived",
|
|
320
320
|
"file": "src-win/Libraries/NativeComponent/BaseViewConfig.win32.js",
|
|
321
321
|
"baseFile": "packages/react-native/Libraries/NativeComponent/BaseViewConfig.ios.js",
|
|
322
|
-
"baseHash": "
|
|
322
|
+
"baseHash": "1f6068ed8762edc516d9679832fee7f12a31858e"
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
325
|
"type": "copy",
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
"type": "patch",
|
|
356
356
|
"file": "src-win/Libraries/Pressability/Pressability.win32.js",
|
|
357
357
|
"baseFile": "packages/react-native/Libraries/Pressability/Pressability.js",
|
|
358
|
-
"baseHash": "
|
|
358
|
+
"baseHash": "3134555d257392ef1a8ce66600e8a714bb01323b",
|
|
359
359
|
"issue": 6240
|
|
360
360
|
},
|
|
361
361
|
{
|
|
@@ -378,13 +378,13 @@
|
|
|
378
378
|
"type": "patch",
|
|
379
379
|
"file": "src-win/Libraries/ReactNative/PaperUIManager.win32.js",
|
|
380
380
|
"baseFile": "packages/react-native/Libraries/ReactNative/PaperUIManager.js",
|
|
381
|
-
"baseHash": "
|
|
381
|
+
"baseHash": "7a14c3d42ba7442848bd90329f6d31bda323c6d4"
|
|
382
382
|
},
|
|
383
383
|
{
|
|
384
384
|
"type": "derived",
|
|
385
385
|
"file": "src-win/Libraries/Settings/Settings.win32.js",
|
|
386
386
|
"baseFile": "packages/react-native/Libraries/Settings/Settings.js",
|
|
387
|
-
"baseHash": "
|
|
387
|
+
"baseHash": "a089870c24dfac3fd1d5ca28e7dbebd22da73b9a"
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
390
|
"type": "platform",
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
"type": "patch",
|
|
403
403
|
"file": "src-win/Libraries/StyleSheet/StyleSheet.win32.js",
|
|
404
404
|
"baseFile": "packages/react-native/Libraries/StyleSheet/StyleSheet.js",
|
|
405
|
-
"baseHash": "
|
|
405
|
+
"baseHash": "6c83ae0478119480b693eeab590fa4ba5af98084"
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
408
|
"type": "derived",
|
|
@@ -414,40 +414,40 @@
|
|
|
414
414
|
"type": "derived",
|
|
415
415
|
"file": "src-win/Libraries/Text/Text.win32.js",
|
|
416
416
|
"baseFile": "packages/react-native/Libraries/Text/Text.js",
|
|
417
|
-
"baseHash": "
|
|
417
|
+
"baseHash": "9a5bc1a6cd62cb91f04f1017f2cb31a6733807df"
|
|
418
418
|
},
|
|
419
419
|
{
|
|
420
420
|
"type": "derived",
|
|
421
421
|
"file": "src-win/Libraries/Text/TextNativeComponent.win32.js",
|
|
422
422
|
"baseFile": "packages/react-native/Libraries/Text/TextNativeComponent.js",
|
|
423
|
-
"baseHash": "
|
|
423
|
+
"baseHash": "d9c832f0e2ca119b4b8773f59f707a6418fa7b5f",
|
|
424
424
|
"issue": 7074
|
|
425
425
|
},
|
|
426
426
|
{
|
|
427
427
|
"type": "derived",
|
|
428
428
|
"file": "src-win/Libraries/Text/TextProps.win32.js",
|
|
429
429
|
"baseFile": "packages/react-native/Libraries/Text/TextProps.js",
|
|
430
|
-
"baseHash": "
|
|
430
|
+
"baseHash": "d448bcd43908efac636a89fe9e034d1c996c25c9"
|
|
431
431
|
},
|
|
432
432
|
{
|
|
433
433
|
"type": "patch",
|
|
434
434
|
"file": "src-win/Libraries/Types/CoreEventTypes.win32.js",
|
|
435
435
|
"baseFile": "packages/react-native/Libraries/Types/CoreEventTypes.js",
|
|
436
|
-
"baseHash": "
|
|
436
|
+
"baseHash": "38acf41281b75a0aaa0288628142fe77033a0e95",
|
|
437
437
|
"issue": 6240
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
440
|
"type": "copy",
|
|
441
441
|
"file": "src-win/Libraries/Utilities/BackHandler.win32.js",
|
|
442
442
|
"baseFile": "packages/react-native/Libraries/Utilities/BackHandler.android.js",
|
|
443
|
-
"baseHash": "
|
|
443
|
+
"baseHash": "dfaab027e0fe3a2d7b6dccd92c1de2a558a5d36c",
|
|
444
444
|
"issue": 4629
|
|
445
445
|
},
|
|
446
446
|
{
|
|
447
447
|
"type": "derived",
|
|
448
448
|
"file": "src-win/Libraries/Utilities/DeviceInfo.win32.js",
|
|
449
449
|
"baseFile": "packages/react-native/Libraries/Utilities/DeviceInfo.js",
|
|
450
|
-
"baseHash": "
|
|
450
|
+
"baseHash": "e40e5c968968ee7c3115df57e6c07f8383719ee2"
|
|
451
451
|
},
|
|
452
452
|
{
|
|
453
453
|
"type": "derived",
|
|
@@ -469,17 +469,18 @@
|
|
|
469
469
|
"baseFile": "packages/react-native/Libraries/Utilities/NativePlatformConstantsIOS.js",
|
|
470
470
|
"baseHash": "092016d462d51606f0b9c32b3a8e3da19b0d7586"
|
|
471
471
|
},
|
|
472
|
-
{
|
|
473
|
-
"type": "derived",
|
|
474
|
-
"file": "src-win/Libraries/Utilities/Platform.flow.win32.js",
|
|
475
|
-
"baseFile": "packages/react-native/Libraries/Utilities/Platform.flow.js",
|
|
476
|
-
"baseHash": "0a7fce66d820af1b612a861a564b6f035256843d"
|
|
477
|
-
},
|
|
478
472
|
{
|
|
479
473
|
"type": "derived",
|
|
480
474
|
"file": "src-win/Libraries/Utilities/Platform.win32.js",
|
|
481
475
|
"baseFile": "packages/react-native/Libraries/Utilities/Platform.android.js",
|
|
482
|
-
"baseHash": "
|
|
476
|
+
"baseHash": "8c3daf7b75af0445441def55571374bebed83726"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"type": "patch",
|
|
480
|
+
"file": "src-win/Libraries/Utilities/PlatformTypes.js",
|
|
481
|
+
"baseFile": "packages/react-native/Libraries/Utilities/PlatformTypes.js",
|
|
482
|
+
"baseHash": "0a7fce66d820af1b612a861a564b6f035256843d",
|
|
483
|
+
"issue": 14686
|
|
483
484
|
},
|
|
484
485
|
{
|
|
485
486
|
"type": "copy",
|
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.286",
|
|
4
4
|
"description": "Implementation of react native on top of Office's Win32 platform.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.0.0",
|
|
28
|
-
"@jest/create-cache-key-function": "^29.
|
|
28
|
+
"@jest/create-cache-key-function": "^29.7.0",
|
|
29
29
|
"@react-native-community/cli": "15.0.0-alpha.2",
|
|
30
30
|
"@react-native-community/cli-platform-android": "15.0.0-alpha.2",
|
|
31
31
|
"@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
|
|
32
32
|
"@react-native/assets": "1.0.0",
|
|
33
|
-
"@react-native/assets-registry": "0.79.0-nightly-
|
|
34
|
-
"@react-native/codegen": "0.79.0-nightly-
|
|
35
|
-
"@react-native/community-cli-plugin": "0.79.0-nightly-
|
|
36
|
-
"@react-native/gradle-plugin": "0.79.0-nightly-
|
|
37
|
-
"@react-native/js-polyfills": "0.79.0-nightly-
|
|
38
|
-
"@react-native/normalize-colors": "0.79.0-nightly-
|
|
39
|
-
"@react-native/virtualized-lists": "0.79.0-nightly-
|
|
33
|
+
"@react-native/assets-registry": "0.79.0-nightly-20250220-41b597c73",
|
|
34
|
+
"@react-native/codegen": "0.79.0-nightly-20250220-41b597c73",
|
|
35
|
+
"@react-native/community-cli-plugin": "0.79.0-nightly-20250220-41b597c73",
|
|
36
|
+
"@react-native/gradle-plugin": "0.79.0-nightly-20250220-41b597c73",
|
|
37
|
+
"@react-native/js-polyfills": "0.79.0-nightly-20250220-41b597c73",
|
|
38
|
+
"@react-native/normalize-colors": "0.79.0-nightly-20250220-41b597c73",
|
|
39
|
+
"@react-native/virtualized-lists": "0.79.0-nightly-20250220-41b597c73",
|
|
40
40
|
"abort-controller": "^3.0.0",
|
|
41
41
|
"anser": "^1.4.9",
|
|
42
42
|
"ansi-regex": "^5.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"flow-enums-runtime": "^0.0.6",
|
|
51
51
|
"glob": "^7.1.1",
|
|
52
52
|
"invariant": "^2.2.4",
|
|
53
|
-
"jest-environment-node": "^29.
|
|
53
|
+
"jest-environment-node": "^29.7.0",
|
|
54
54
|
"memoize-one": "^5.0.0",
|
|
55
55
|
"metro-runtime": "^0.81.0",
|
|
56
56
|
"metro-source-map": "^0.81.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"pretty-format": "^29.7.0",
|
|
60
60
|
"promise": "^8.3.0",
|
|
61
61
|
"react-clone-referenced-element": "^1.0.1",
|
|
62
|
-
"react-devtools-core": "^6.1.
|
|
62
|
+
"react-devtools-core": "^6.1.1",
|
|
63
63
|
"react-refresh": "^0.14.0",
|
|
64
64
|
"react-shallow-renderer": "^16.15.0",
|
|
65
65
|
"regenerator-runtime": "^0.13.2",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/core": "^7.25.2",
|
|
75
75
|
"@babel/eslint-parser": "^7.25.1",
|
|
76
|
-
"@react-native/metro-config": "0.79.0-nightly-
|
|
76
|
+
"@react-native/metro-config": "0.79.0-nightly-20250220-41b597c73",
|
|
77
77
|
"@rnw-scripts/babel-react-native-config": "0.0.0",
|
|
78
78
|
"@rnw-scripts/eslint-config": "1.2.35",
|
|
79
79
|
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.39",
|
|
@@ -84,19 +84,19 @@
|
|
|
84
84
|
"@types/prop-types": "15.7.1",
|
|
85
85
|
"@types/react": "^19.0.0",
|
|
86
86
|
"eslint": "^8.19.0",
|
|
87
|
-
"flow-bin": "^0.
|
|
87
|
+
"flow-bin": "^0.261.2",
|
|
88
88
|
"jscodeshift": "^0.14.0",
|
|
89
89
|
"just-scripts": "^1.3.3",
|
|
90
90
|
"prettier": "2.8.8",
|
|
91
91
|
"react": "19.0.0",
|
|
92
|
-
"react-native": "0.79.0-nightly-
|
|
92
|
+
"react-native": "0.79.0-nightly-20250220-41b597c73",
|
|
93
93
|
"react-native-platform-override": "^1.9.54",
|
|
94
94
|
"typescript": "5.0.4"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
97
|
"@types/react": "^19.0.0",
|
|
98
98
|
"react": "^19.0.0",
|
|
99
|
-
"react-native": "0.79.0-nightly-
|
|
99
|
+
"react-native": "0.79.0-nightly-20250220-41b597c73"
|
|
100
100
|
},
|
|
101
101
|
"beachball": {
|
|
102
102
|
"defaultNpmTag": "canary",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<4bdedb6bbe2199cb99e72e86bfffe372>>
|
|
8
8
|
* @flow strict
|
|
9
9
|
*/
|
|
10
10
|
|
|
@@ -38,7 +38,6 @@ export type ReactNativeFeatureFlagsJsOnly = $ReadOnly<{
|
|
|
38
38
|
fixVirtualizeListCollapseWindowSize: Getter<boolean>,
|
|
39
39
|
isLayoutAnimationEnabled: Getter<boolean>,
|
|
40
40
|
scheduleAnimatedCleanupInMicrotask: Getter<boolean>,
|
|
41
|
-
shouldSkipStateUpdatesForLoopingAnimations: Getter<boolean>,
|
|
42
41
|
shouldUseAnimatedObjectForTransform: Getter<boolean>,
|
|
43
42
|
shouldUseRemoveClippedSubviewsAsDefaultOnIOS: Getter<boolean>,
|
|
44
43
|
shouldUseSetNativePropsInFabric: Getter<boolean>,
|
|
@@ -59,21 +58,23 @@ export type ReactNativeFeatureFlags = $ReadOnly<{
|
|
|
59
58
|
enableEventEmitterRetentionDuringGesturesOnAndroid: Getter<boolean>,
|
|
60
59
|
enableFabricLogs: Getter<boolean>,
|
|
61
60
|
enableFabricRenderer: Getter<boolean>,
|
|
62
|
-
enableFixForViewCommandRace: Getter<boolean>,
|
|
63
|
-
enableGranularShadowTreeStateReconciliation: Getter<boolean>,
|
|
64
61
|
enableIOSViewClipToPaddingBox: Getter<boolean>,
|
|
65
62
|
enableImagePrefetchingAndroid: Getter<boolean>,
|
|
66
63
|
enableJSRuntimeGCOnMemoryPressureOnIOS: Getter<boolean>,
|
|
67
64
|
enableLayoutAnimationsOnAndroid: Getter<boolean>,
|
|
68
65
|
enableLayoutAnimationsOnIOS: Getter<boolean>,
|
|
69
66
|
enableLongTaskAPI: Getter<boolean>,
|
|
67
|
+
enableNativeCSSParsing: Getter<boolean>,
|
|
70
68
|
enableNewBackgroundAndBorderDrawables: Getter<boolean>,
|
|
71
69
|
enablePreciseSchedulingForPremountItemsOnAndroid: Getter<boolean>,
|
|
72
70
|
enablePropsUpdateReconciliationAndroid: Getter<boolean>,
|
|
73
71
|
enableReportEventPaintTime: Getter<boolean>,
|
|
74
72
|
enableSynchronousStateUpdates: Getter<boolean>,
|
|
75
73
|
enableUIConsistency: Getter<boolean>,
|
|
74
|
+
enableViewCulling: Getter<boolean>,
|
|
76
75
|
enableViewRecycling: Getter<boolean>,
|
|
76
|
+
enableViewRecyclingForText: Getter<boolean>,
|
|
77
|
+
enableViewRecyclingForView: Getter<boolean>,
|
|
77
78
|
excludeYogaFromRawProps: Getter<boolean>,
|
|
78
79
|
fixDifferentiatorEmittingUpdatesWithWrongParentTag: Getter<boolean>,
|
|
79
80
|
fixMappingOfEventPrioritiesBetweenFabricAndReact: Getter<boolean>,
|
|
@@ -88,7 +89,6 @@ export type ReactNativeFeatureFlags = $ReadOnly<{
|
|
|
88
89
|
useNativeViewConfigsInBridgelessMode: Getter<boolean>,
|
|
89
90
|
useOptimizedEventBatchingOnAndroid: Getter<boolean>,
|
|
90
91
|
useRawPropsJsiValue: Getter<boolean>,
|
|
91
|
-
useRuntimeShadowNodeReferenceUpdate: Getter<boolean>,
|
|
92
92
|
useTurboModuleInterop: Getter<boolean>,
|
|
93
93
|
useTurboModules: Getter<boolean>,
|
|
94
94
|
}>;
|
|
@@ -148,11 +148,6 @@ export const isLayoutAnimationEnabled: Getter<boolean> = createJavaScriptFlagGet
|
|
|
148
148
|
*/
|
|
149
149
|
export const scheduleAnimatedCleanupInMicrotask: Getter<boolean> = createJavaScriptFlagGetter('scheduleAnimatedCleanupInMicrotask', false);
|
|
150
150
|
|
|
151
|
-
/**
|
|
152
|
-
* If the animation is within Animated.loop, we do not send state updates to React.
|
|
153
|
-
*/
|
|
154
|
-
export const shouldSkipStateUpdatesForLoopingAnimations: Getter<boolean> = createJavaScriptFlagGetter('shouldSkipStateUpdatesForLoopingAnimations', true);
|
|
155
|
-
|
|
156
151
|
/**
|
|
157
152
|
* Enables use of AnimatedObject for animating transform values.
|
|
158
153
|
*/
|
|
@@ -180,7 +175,7 @@ export const commonTestFlag: Getter<boolean> = createNativeFlagGetter('commonTes
|
|
|
180
175
|
/**
|
|
181
176
|
* Common flag for testing (without native implementation). Do NOT modify.
|
|
182
177
|
*/
|
|
183
|
-
export const commonTestFlagWithoutNativeImplementation: Getter<boolean> = createNativeFlagGetter('commonTestFlagWithoutNativeImplementation', false
|
|
178
|
+
export const commonTestFlagWithoutNativeImplementation: Getter<boolean> = createNativeFlagGetter('commonTestFlagWithoutNativeImplementation', false);
|
|
184
179
|
/**
|
|
185
180
|
* Prevent FabricMountingManager from reordering mountitems, which may lead to invalid state on the UI thread
|
|
186
181
|
*/
|
|
@@ -213,14 +208,6 @@ export const enableFabricLogs: Getter<boolean> = createNativeFlagGetter('enableF
|
|
|
213
208
|
* Enables the use of the Fabric renderer in the whole app.
|
|
214
209
|
*/
|
|
215
210
|
export const enableFabricRenderer: Getter<boolean> = createNativeFlagGetter('enableFabricRenderer', false);
|
|
216
|
-
/**
|
|
217
|
-
* Synchronise the view command dispatching with mounting of new transaction
|
|
218
|
-
*/
|
|
219
|
-
export const enableFixForViewCommandRace: Getter<boolean> = createNativeFlagGetter('enableFixForViewCommandRace', false);
|
|
220
|
-
/**
|
|
221
|
-
* When enabled, the renderer would only fail commits when they propagate state and the last commit that updated state changed before committing.
|
|
222
|
-
*/
|
|
223
|
-
export const enableGranularShadowTreeStateReconciliation: Getter<boolean> = createNativeFlagGetter('enableGranularShadowTreeStateReconciliation', false);
|
|
224
211
|
/**
|
|
225
212
|
* iOS Views will clip to their padding box vs border box
|
|
226
213
|
*/
|
|
@@ -245,6 +232,10 @@ export const enableLayoutAnimationsOnIOS: Getter<boolean> = createNativeFlagGett
|
|
|
245
232
|
* Enables the reporting of long tasks through `PerformanceObserver`. Only works if the event loop is enabled.
|
|
246
233
|
*/
|
|
247
234
|
export const enableLongTaskAPI: Getter<boolean> = createNativeFlagGetter('enableLongTaskAPI', false);
|
|
235
|
+
/**
|
|
236
|
+
* Parse CSS strings using the Fabric CSS parser instead of ViewConfig processing
|
|
237
|
+
*/
|
|
238
|
+
export const enableNativeCSSParsing: Getter<boolean> = createNativeFlagGetter('enableNativeCSSParsing', false);
|
|
248
239
|
/**
|
|
249
240
|
* Use BackgroundDrawable and BorderDrawable instead of CSSBackgroundDrawable
|
|
250
241
|
*/
|
|
@@ -269,10 +260,22 @@ export const enableSynchronousStateUpdates: Getter<boolean> = createNativeFlagGe
|
|
|
269
260
|
* Ensures that JavaScript always has a consistent view of the state of the UI (e.g.: commits done in other threads are not immediately propagated to JS during its execution).
|
|
270
261
|
*/
|
|
271
262
|
export const enableUIConsistency: Getter<boolean> = createNativeFlagGetter('enableUIConsistency', false);
|
|
263
|
+
/**
|
|
264
|
+
* Enables View Culling: as soon as a view goes off screen, it can be reused anywhere in the UI and pieced together with other items to create new UI elements.
|
|
265
|
+
*/
|
|
266
|
+
export const enableViewCulling: Getter<boolean> = createNativeFlagGetter('enableViewCulling', false);
|
|
272
267
|
/**
|
|
273
268
|
* Enables View Recycling. When enabled, individual ViewManagers must still opt-in.
|
|
274
269
|
*/
|
|
275
270
|
export const enableViewRecycling: Getter<boolean> = createNativeFlagGetter('enableViewRecycling', false);
|
|
271
|
+
/**
|
|
272
|
+
* Enables View Recycling for <Text> via ReactTextView/ReactTextViewManager.
|
|
273
|
+
*/
|
|
274
|
+
export const enableViewRecyclingForText: Getter<boolean> = createNativeFlagGetter('enableViewRecyclingForText', true);
|
|
275
|
+
/**
|
|
276
|
+
* Enables View Recycling for <View> via ReactViewGroup/ReactViewManager.
|
|
277
|
+
*/
|
|
278
|
+
export const enableViewRecyclingForView: Getter<boolean> = createNativeFlagGetter('enableViewRecyclingForView', true);
|
|
276
279
|
/**
|
|
277
280
|
* When enabled, rawProps in Props will not include Yoga specific props.
|
|
278
281
|
*/
|
|
@@ -329,10 +332,6 @@ export const useOptimizedEventBatchingOnAndroid: Getter<boolean> = createNativeF
|
|
|
329
332
|
* Instead of using folly::dynamic as internal representation in RawProps and RawValue, use jsi::Value
|
|
330
333
|
*/
|
|
331
334
|
export const useRawPropsJsiValue: Getter<boolean> = createNativeFlagGetter('useRawPropsJsiValue', false);
|
|
332
|
-
/**
|
|
333
|
-
* When enabled, cloning shadow nodes within react native will update the reference held by the current JS fiber tree.
|
|
334
|
-
*/
|
|
335
|
-
export const useRuntimeShadowNodeReferenceUpdate: Getter<boolean> = createNativeFlagGetter('useRuntimeShadowNodeReferenceUpdate', true);
|
|
336
335
|
/**
|
|
337
336
|
* In Bridgeless mode, should legacy NativeModules use the TurboModule system?
|
|
338
337
|
*/
|
|
@@ -67,11 +67,8 @@ export function createNativeFlagGetter<K: $Keys<NativeFeatureFlags>>(
|
|
|
67
67
|
return createGetter(
|
|
68
68
|
configName,
|
|
69
69
|
() => {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
logUnavailableNativeModuleError(configName);
|
|
73
|
-
}
|
|
74
|
-
return valueFromNative;
|
|
70
|
+
maybeLogUnavailableNativeModuleError(configName);
|
|
71
|
+
return NativeReactNativeFeatureFlags?.[configName]?.();
|
|
75
72
|
},
|
|
76
73
|
defaultValue,
|
|
77
74
|
);
|
|
@@ -100,8 +97,8 @@ export function setOverrides(
|
|
|
100
97
|
|
|
101
98
|
const reportedConfigNames: Set<string> = new Set();
|
|
102
99
|
|
|
103
|
-
function
|
|
104
|
-
if (!reportedConfigNames.has(configName)) {
|
|
100
|
+
function maybeLogUnavailableNativeModuleError(configName: string): void {
|
|
101
|
+
if (!NativeReactNativeFeatureFlags && !reportedConfigNames.has(configName)) {
|
|
105
102
|
reportedConfigNames.add(configName);
|
|
106
103
|
console.error(
|
|
107
104
|
`Could not access feature flag '${configName}' because native module method was not available`,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<06a03507366a38dfc43868e94d75fcf1>>
|
|
8
8
|
* @flow strict
|
|
9
9
|
*/
|
|
10
10
|
|
|
@@ -33,21 +33,23 @@ export interface Spec extends TurboModule {
|
|
|
33
33
|
+enableEventEmitterRetentionDuringGesturesOnAndroid?: () => boolean;
|
|
34
34
|
+enableFabricLogs?: () => boolean;
|
|
35
35
|
+enableFabricRenderer?: () => boolean;
|
|
36
|
-
+enableFixForViewCommandRace?: () => boolean;
|
|
37
|
-
+enableGranularShadowTreeStateReconciliation?: () => boolean;
|
|
38
36
|
+enableIOSViewClipToPaddingBox?: () => boolean;
|
|
39
37
|
+enableImagePrefetchingAndroid?: () => boolean;
|
|
40
38
|
+enableJSRuntimeGCOnMemoryPressureOnIOS?: () => boolean;
|
|
41
39
|
+enableLayoutAnimationsOnAndroid?: () => boolean;
|
|
42
40
|
+enableLayoutAnimationsOnIOS?: () => boolean;
|
|
43
41
|
+enableLongTaskAPI?: () => boolean;
|
|
42
|
+
+enableNativeCSSParsing?: () => boolean;
|
|
44
43
|
+enableNewBackgroundAndBorderDrawables?: () => boolean;
|
|
45
44
|
+enablePreciseSchedulingForPremountItemsOnAndroid?: () => boolean;
|
|
46
45
|
+enablePropsUpdateReconciliationAndroid?: () => boolean;
|
|
47
46
|
+enableReportEventPaintTime?: () => boolean;
|
|
48
47
|
+enableSynchronousStateUpdates?: () => boolean;
|
|
49
48
|
+enableUIConsistency?: () => boolean;
|
|
49
|
+
+enableViewCulling?: () => boolean;
|
|
50
50
|
+enableViewRecycling?: () => boolean;
|
|
51
|
+
+enableViewRecyclingForText?: () => boolean;
|
|
52
|
+
+enableViewRecyclingForView?: () => boolean;
|
|
51
53
|
+excludeYogaFromRawProps?: () => boolean;
|
|
52
54
|
+fixDifferentiatorEmittingUpdatesWithWrongParentTag?: () => boolean;
|
|
53
55
|
+fixMappingOfEventPrioritiesBetweenFabricAndReact?: () => boolean;
|
|
@@ -62,7 +64,6 @@ export interface Spec extends TurboModule {
|
|
|
62
64
|
+useNativeViewConfigsInBridgelessMode?: () => boolean;
|
|
63
65
|
+useOptimizedEventBatchingOnAndroid?: () => boolean;
|
|
64
66
|
+useRawPropsJsiValue?: () => boolean;
|
|
65
|
-
+useRuntimeShadowNodeReferenceUpdate?: () => boolean;
|
|
66
67
|
+useTurboModuleInterop?: () => boolean;
|
|
67
68
|
+useTurboModules?: () => boolean;
|
|
68
69
|
}
|
|
@@ -19,7 +19,7 @@ import type {InspectedElementFrame} from './Inspector';
|
|
|
19
19
|
import React from 'react';
|
|
20
20
|
|
|
21
21
|
const View = require('../../../Libraries/Components/View/View').default;
|
|
22
|
-
const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet');
|
|
22
|
+
const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
|
|
23
23
|
const Text = require('../../../Libraries/Text/Text').default;
|
|
24
24
|
const resolveBoxStyle = require('./resolveBoxStyle').default;
|
|
25
25
|
|
|
@@ -16,8 +16,9 @@ import type {InspectedElementFrame} from './Inspector';
|
|
|
16
16
|
import React from 'react';
|
|
17
17
|
|
|
18
18
|
const View = require('../../../Libraries/Components/View/View').default;
|
|
19
|
-
const flattenStyle =
|
|
20
|
-
|
|
19
|
+
const flattenStyle =
|
|
20
|
+
require('../../../Libraries/StyleSheet/flattenStyle').default;
|
|
21
|
+
const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
|
|
21
22
|
const Dimensions = require('../../../Libraries/Utilities/Dimensions').default;
|
|
22
23
|
const BorderBox = require('./BorderBox').default;
|
|
23
24
|
const resolveBoxStyle = require('./resolveBoxStyle').default;
|
|
@@ -20,10 +20,12 @@ const TouchableHighlight =
|
|
|
20
20
|
const TouchableWithoutFeedback =
|
|
21
21
|
require('../../../Libraries/Components/Touchable/TouchableWithoutFeedback').default;
|
|
22
22
|
const View = require('../../../Libraries/Components/View/View').default;
|
|
23
|
-
const flattenStyle =
|
|
24
|
-
|
|
23
|
+
const flattenStyle =
|
|
24
|
+
require('../../../Libraries/StyleSheet/flattenStyle').default;
|
|
25
|
+
const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
|
|
25
26
|
const Text = require('../../../Libraries/Text/Text').default;
|
|
26
|
-
const mapWithSeparator =
|
|
27
|
+
const mapWithSeparator =
|
|
28
|
+
require('../../../Libraries/Utilities/mapWithSeparator').default;
|
|
27
29
|
const BoxInspector = require('./BoxInspector').default;
|
|
28
30
|
const StyleInspector = require('./StyleInspector').default;
|
|
29
31
|
|
|
@@ -26,9 +26,9 @@ const PressabilityDebug = require('../../../Libraries/Pressability/PressabilityD
|
|
|
26
26
|
const {
|
|
27
27
|
findNodeHandle,
|
|
28
28
|
} = require('../../../Libraries/ReactNative/RendererProxy');
|
|
29
|
-
const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet');
|
|
29
|
+
const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
|
|
30
30
|
const Dimensions = require('../../../Libraries/Utilities/Dimensions').default;
|
|
31
|
-
const Platform = require('../../../Libraries/Utilities/Platform');
|
|
31
|
+
const Platform = require('../../../Libraries/Utilities/Platform').default;
|
|
32
32
|
const getInspectorDataForViewAtPoint =
|
|
33
33
|
require('./getInspectorDataForViewAtPoint').default;
|
|
34
34
|
const InspectorOverlay = require('./InspectorOverlay').default;
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import type {
|
|
13
|
+
import type {GestureResponderEvent} from '../../../Libraries/Types/CoreEventTypes';
|
|
14
14
|
import type {InspectedElement} from './Inspector';
|
|
15
15
|
|
|
16
16
|
import React from 'react';
|
|
17
17
|
|
|
18
18
|
const View = require('../../../Libraries/Components/View/View').default;
|
|
19
|
-
const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet');
|
|
19
|
+
const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
|
|
20
20
|
const ElementBox = require('./ElementBox').default;
|
|
21
21
|
|
|
22
22
|
type Props = $ReadOnly<{
|
|
@@ -25,13 +25,13 @@ type Props = $ReadOnly<{
|
|
|
25
25
|
}>;
|
|
26
26
|
|
|
27
27
|
function InspectorOverlay({inspected, onTouchPoint}: Props): React.Node {
|
|
28
|
-
const findViewForTouchEvent = (e:
|
|
28
|
+
const findViewForTouchEvent = (e: GestureResponderEvent) => {
|
|
29
29
|
const {locationX, locationY} = e.nativeEvent.touches[0];
|
|
30
30
|
|
|
31
31
|
onTouchPoint(locationX, locationY);
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
const handleStartShouldSetResponder = (e:
|
|
34
|
+
const handleStartShouldSetResponder = (e: GestureResponderEvent): boolean => {
|
|
35
35
|
findViewForTouchEvent(e);
|
|
36
36
|
return true;
|
|
37
37
|
};
|
|
@@ -20,7 +20,7 @@ const ScrollView =
|
|
|
20
20
|
const TouchableHighlight =
|
|
21
21
|
require('../../../Libraries/Components/Touchable/TouchableHighlight').default;
|
|
22
22
|
const View = require('../../../Libraries/Components/View/View').default;
|
|
23
|
-
const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet');
|
|
23
|
+
const StyleSheet = require('../../../Libraries/StyleSheet/StyleSheet').default;
|
|
24
24
|
const Text = require('../../../Libraries/Text/Text').default;
|
|
25
25
|
const ElementProperties = require('./ElementProperties').default;
|
|
26
26
|
const NetworkOverlay = require('./NetworkOverlay').default;
|