@office-iss/react-native-win32 0.68.0 → 0.69.0-preview.3
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/.eslintrc.js +1 -0
- package/.flowconfig +1 -3
- package/CHANGELOG.json +386 -32
- package/CHANGELOG.md +166 -19
- package/IntegrationTests/BUCK +4 -1
- package/Libraries/ActionSheetIOS/ActionSheetIOS.js +7 -0
- package/Libraries/ActionSheetIOS/NativeActionSheetManager.js +1 -0
- package/Libraries/Alert/Alert.win32.js +1 -1
- package/Libraries/Animated/AnimatedImplementation.js +1 -1
- package/Libraries/Animated/NativeAnimatedHelper.js +55 -9
- package/Libraries/Animated/NativeAnimatedModule.js +1 -0
- package/Libraries/Animated/NativeAnimatedTurboModule.js +1 -0
- package/Libraries/Animated/animations/TimingAnimation.js +6 -11
- package/Libraries/Animated/createAnimatedComponent.js +2 -2
- package/Libraries/Animated/nodes/AnimatedColor.js +95 -29
- package/Libraries/Animated/nodes/AnimatedInterpolation.js +19 -22
- package/Libraries/Animated/nodes/AnimatedNode.js +2 -2
- package/Libraries/Animated/nodes/AnimatedValue.js +1 -1
- package/Libraries/AppState/AppState.js +1 -1
- package/Libraries/Blob/URL.js +7 -1
- package/Libraries/Components/Button.js +3 -0
- package/Libraries/Components/DatePickerAndroid/NativeDatePickerAndroid.js +5 -0
- package/Libraries/Components/Pressable/Pressable.js +3 -3
- package/Libraries/Components/Pressable/Pressable.win32.js +3 -3
- package/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +47 -38
- package/Libraries/Components/ScrollView/ScrollContentViewNativeComponent.js +15 -7
- package/Libraries/Components/ScrollView/ScrollView.js +1 -1
- package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +16 -3
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +3 -1
- package/Libraries/Components/Slider/Slider.js +0 -2
- package/Libraries/Components/Slider/SliderNativeComponent.js +0 -1
- package/Libraries/Components/StatusBar/StatusBar.js +6 -1
- package/Libraries/Components/Switch/Switch.js +11 -1
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +114 -109
- package/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js +17 -9
- package/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js +13 -5
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +10 -0
- package/Libraries/Components/TextInput/TextInput.js +1 -8
- package/Libraries/Components/TextInput/TextInputState.js +10 -2
- package/Libraries/Components/TextInput/TextInputState.win32.js +10 -2
- package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js.map +1 -1
- package/Libraries/Components/Touchable/TouchableBounce.js +1 -0
- package/Libraries/Components/Touchable/TouchableHighlight.js +1 -0
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +1 -0
- package/Libraries/Components/Touchable/TouchableOpacity.js +7 -1
- package/Libraries/Components/Touchable/TouchableWin32.Props.d.ts +3 -1
- package/Libraries/Components/Touchable/TouchableWin32.Props.js.map +1 -1
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +2 -0
- package/Libraries/Components/View/ReactNativeViewAttributes.js +1 -0
- package/Libraries/Components/View/ReactNativeViewAttributes.win32.js +1 -0
- package/Libraries/Components/View/View.win32.js +33 -1
- package/Libraries/Components/View/ViewNativeComponent.js +68 -8
- package/Libraries/Components/View/ViewPropTypes.js +36 -4
- package/Libraries/Components/View/ViewPropTypes.win32.js +36 -4
- package/Libraries/Components/View/ViewWin32.Props.d.ts +1 -1
- package/Libraries/Components/View/ViewWin32.Props.js.map +1 -1
- package/Libraries/Core/Devtools/parseHermesStack.js +1 -1
- package/Libraries/Core/ExceptionsManager.js +1 -1
- package/Libraries/Core/RawEventEmitter.js +38 -0
- package/Libraries/Core/ReactNativeVersion.js +2 -2
- package/Libraries/Core/polyfillPromise.js +32 -0
- package/Libraries/Core/setUpReactDevTools.js +3 -2
- package/Libraries/EventEmitter/NativeEventEmitter.js +3 -3
- package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +2 -1
- package/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js +3 -3
- package/Libraries/Events/CustomEvent.js +32 -0
- package/Libraries/Events/EventPolyfill.js +239 -0
- package/Libraries/Image/Image.android.js +0 -6
- package/Libraries/Image/Image.ios.js +0 -6
- package/Libraries/Image/Image.win32.js +2 -8
- package/Libraries/Image/ImageViewNativeComponent.js +18 -3
- package/Libraries/Image/TextInlineImageNativeComponent.js +23 -15
- package/Libraries/Image/resolveAssetSource.win32.js +1 -1
- package/Libraries/Inspector/Inspector.js +2 -4
- package/Libraries/Inspector/Inspector.win32.js +7 -9
- package/Libraries/Interaction/BridgeSpyStallHandler.js +4 -3
- package/Libraries/Interaction/InteractionManager.js +1 -12
- package/Libraries/Interaction/TaskQueue.js +5 -4
- package/Libraries/LayoutAnimation/LayoutAnimation.js +13 -0
- package/Libraries/Linking/Linking.js +1 -1
- package/Libraries/Lists/FlatList.js +27 -6
- package/Libraries/Lists/VirtualizedList.js +71 -55
- package/Libraries/Lists/VirtualizedListContext.js +7 -3
- package/Libraries/Lists/VirtualizedSectionList.js +2 -2
- package/Libraries/Lists/__tests__/{FillRateHelper-test.windows.js → FillRateHelper-test.js} +2 -2
- package/Libraries/Lists/__tests__/{FlatList-test.windows.js → FlatList-test.js} +2 -2
- package/Libraries/Lists/__tests__/{SectionList-test.windows.js → SectionList-test.js} +14 -14
- package/Libraries/Lists/__tests__/{VirtualizeUtils-test.windows.js → VirtualizeUtils-test.js} +3 -3
- package/Libraries/Lists/__tests__/{VirtualizedList-test.windows.js → VirtualizedList-test.js} +92 -43
- package/Libraries/Lists/__tests__/{VirtualizedSectionList-test.windows.js → VirtualizedSectionList-test.js} +16 -14
- package/Libraries/LogBox/Data/LogBoxData.js +2 -2
- package/Libraries/LogBox/Data/LogBoxLog.js +1 -1
- package/Libraries/LogBox/Data/LogBoxSymbolication.js +1 -1
- package/Libraries/LogBox/Data/parseLogBoxLog.js +1 -1
- package/Libraries/LogBox/LogBox.js +2 -21
- package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +1 -0
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +2 -1
- package/Libraries/NativeComponent/BaseViewConfig.android.js +295 -0
- package/Libraries/NativeComponent/BaseViewConfig.ios.js +333 -0
- package/Libraries/NativeComponent/BaseViewConfig.win32.js +334 -0
- package/Libraries/NativeComponent/NativeComponentRegistry.js +0 -2
- package/Libraries/NativeComponent/PlatformBaseViewConfig.js +24 -0
- package/Libraries/NativeComponent/StaticViewConfigValidator.js +7 -42
- package/Libraries/NativeComponent/ViewConfig.js +4 -4
- package/Libraries/NativeComponent/ViewConfigIgnore.js +54 -0
- package/Libraries/Network/FormData.js +7 -1
- package/Libraries/Network/RCTNetworking.win32.js +1 -1
- package/Libraries/Pressability/Pressability.js +115 -46
- package/Libraries/Pressability/Pressability.win32.js +174 -69
- package/Libraries/Pressability/PressabilityDebug.js +5 -9
- package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +1 -0
- package/Libraries/ReactNative/AppContainer.js +1 -1
- package/Libraries/ReactNative/{DummyUIManager.js → BridgelessUIManager.js} +62 -40
- package/Libraries/ReactNative/PaperUIManager.win32.js +5 -5
- package/Libraries/ReactNative/ReactNativeFeatureFlags.js +39 -0
- package/Libraries/ReactNative/UIManager.js +2 -3
- package/Libraries/ReactNative/renderApplication.js +4 -0
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +8 -0
- package/Libraries/Renderer/implementations/ReactFabric-dev.js +5908 -4906
- package/Libraries/Renderer/implementations/ReactFabric-prod.js +2100 -1918
- package/Libraries/Renderer/implementations/ReactFabric-profiling.js +2567 -2352
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +5610 -4844
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +1710 -1556
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +1830 -1639
- package/Libraries/Renderer/shims/ReactNativeTypes.js +2 -1
- package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +2 -1
- package/Libraries/StyleSheet/EdgeInsetsPropType.js +4 -1
- package/Libraries/StyleSheet/StyleSheetTypes.js +59 -66
- package/Libraries/StyleSheet/normalizeColor.js +1 -1
- package/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.js +15 -0
- package/Libraries/StyleSheet/private/_TransformStyle.js +53 -0
- package/Libraries/Text/Text.js +13 -7
- package/Libraries/Text/TextNativeComponent.js +2 -0
- package/Libraries/Text/TextNativeComponent.win32.js +2 -0
- package/Libraries/Text/TextProps.js +10 -0
- package/Libraries/Types/CoreEventTypes.js +13 -1
- package/Libraries/Types/CoreEventTypes.win32.js +26 -1
- package/Libraries/Utilities/Appearance.js +0 -8
- package/Libraries/Utilities/HMRClient.js +1 -1
- package/Libraries/Utilities/ReactNativeTestTools.js +1 -0
- package/Libraries/Utilities/codegenNativeComponent.js +16 -6
- package/Libraries/Utilities/stringifySafe.js +4 -1
- package/Libraries/Utilities/useColorScheme.js +9 -15
- package/Libraries/Utilities/verifyComponentAttributeEquivalence.js +3 -3
- package/Libraries/WebSocket/WebSocket.js +1 -1
- package/Libraries/vendor/emitter/_EmitterSubscription.js +1 -1
- package/Libraries/vendor/emitter/_EventEmitter.js +1 -1
- package/Libraries/vendor/emitter/_EventSubscription.js +1 -1
- package/flow/{use-subscription.js → use-sync-external-store.js} +4 -4
- package/index.js +30 -25
- package/index.win32.js +30 -25
- package/jest/preprocessor.js +24 -107
- package/jest/preprocessor_DO_NOT_USE.js +122 -0
- package/metro.config.js +3 -47
- package/overrides.json +39 -46
- package/package.json +32 -29
- package/rntypes/index.d.ts +19 -7
- package/src/Libraries/Components/Touchable/Tests/TouchableWin32Test.tsx +1 -1
- package/src/Libraries/Components/Touchable/TouchableWin32.Props.tsx +3 -1
- package/src/Libraries/Components/View/ViewWin32.Props.ts +1 -0
- package/src/Libraries/Lists/__tests__/__snapshots__/FlatList-test.js.snap +427 -0
- package/src/Libraries/Lists/__tests__/__snapshots__/SectionList-test.js.snap +391 -0
- package/src/Libraries/Lists/__tests__/__snapshots__/VirtualizeUtils-test.js.snap +3 -0
- package/src/Libraries/Lists/__tests__/__snapshots__/VirtualizedList-test.js.snap +4565 -0
- package/src/Libraries/Lists/__tests__/__snapshots__/VirtualizedSectionList-test.js.snap +1153 -0
- package/src/rntypes/index.d.ts +19 -7
- package/typings-index.js +5 -1
- package/typings-index.js.map +1 -1
- package/Libraries/Components/SegmentedControlIOS/RCTSegmentedControlNativeComponent.js +0 -44
- package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.android.js +0 -45
- package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js +0 -123
- package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.js +0 -45
- package/Libraries/Components/View/ReactNativeViewViewConfig.js +0 -360
- package/Libraries/Components/View/ReactNativeViewViewConfig.win32.js +0 -401
- package/Libraries/Components/View/ReactNativeViewViewConfigAndroid.js +0 -83
- package/Libraries/ReactNative/UIManagerInjection.js +0 -15
- package/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +0 -24527
- package/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +0 -8309
- package/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +0 -8961
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +0 -24948
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +0 -8400
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +0 -9049
- package/flow/Promise.js +0 -47
package/overrides.json
CHANGED
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
"**/__snapshots__/**",
|
|
8
8
|
"src/rntypes/**"
|
|
9
9
|
],
|
|
10
|
-
"baseVersion": "0.
|
|
10
|
+
"baseVersion": "0.69.0-rc.3",
|
|
11
11
|
"overrides": [
|
|
12
12
|
{
|
|
13
13
|
"type": "derived",
|
|
14
14
|
"file": ".flowconfig",
|
|
15
15
|
"baseFile": ".flowconfig",
|
|
16
|
-
"baseHash": "
|
|
16
|
+
"baseHash": "22398587d11b601a2ec98362fa3879779983e898"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"type": "derived",
|
|
20
20
|
"file": "src/index.win32.js",
|
|
21
21
|
"baseFile": "index.js",
|
|
22
|
-
"baseHash": "
|
|
22
|
+
"baseHash": "2a0bd511c691be2ac3da45a3c77250aaf55414e1"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"type": "patch",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"type": "patch",
|
|
79
79
|
"file": "src/Libraries/Components/Pressable/Pressable.win32.js",
|
|
80
80
|
"baseFile": "Libraries/Components/Pressable/Pressable.js",
|
|
81
|
-
"baseHash": "
|
|
81
|
+
"baseHash": "b6e9d331a959f84314be9a0efcf40ce8eca4a6d8",
|
|
82
82
|
"issue": 6240
|
|
83
83
|
},
|
|
84
84
|
{
|
|
@@ -100,13 +100,6 @@
|
|
|
100
100
|
"baseFile": "Libraries/Components/SafeAreaView/SafeAreaView.js",
|
|
101
101
|
"baseHash": "d13d67c91a9096989776ba7d7b0f8537c46b87a8"
|
|
102
102
|
},
|
|
103
|
-
{
|
|
104
|
-
"type": "copy",
|
|
105
|
-
"file": "src/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.js",
|
|
106
|
-
"baseFile": "Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.android.js",
|
|
107
|
-
"baseHash": "a7b7561ee80510fb3a45bad5ad18bc9076152144",
|
|
108
|
-
"issue": 4378
|
|
109
|
-
},
|
|
110
103
|
{
|
|
111
104
|
"type": "platform",
|
|
112
105
|
"file": "src/Libraries/Components/Text/Tests/TextWin32Test.tsx"
|
|
@@ -131,13 +124,13 @@
|
|
|
131
124
|
"type": "derived",
|
|
132
125
|
"file": "src/Libraries/Components/TextInput/TextInput.win32.tsx",
|
|
133
126
|
"baseFile": "Libraries/Components/TextInput/TextInput.js",
|
|
134
|
-
"baseHash": "
|
|
127
|
+
"baseHash": "567ebad070a2fb9020ef177ee30defba9f0c54ec"
|
|
135
128
|
},
|
|
136
129
|
{
|
|
137
130
|
"type": "patch",
|
|
138
131
|
"file": "src/Libraries/Components/TextInput/TextInputState.win32.js",
|
|
139
132
|
"baseFile": "Libraries/Components/TextInput/TextInputState.js",
|
|
140
|
-
"baseHash": "
|
|
133
|
+
"baseHash": "a5802e5d8b960912293d0069a99bbf346c8ecc4c"
|
|
141
134
|
},
|
|
142
135
|
{
|
|
143
136
|
"type": "copy",
|
|
@@ -174,13 +167,7 @@
|
|
|
174
167
|
"type": "patch",
|
|
175
168
|
"file": "src/Libraries/Components/View/ReactNativeViewAttributes.win32.js",
|
|
176
169
|
"baseFile": "Libraries/Components/View/ReactNativeViewAttributes.js",
|
|
177
|
-
"baseHash": "
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"type": "patch",
|
|
181
|
-
"file": "src/Libraries/Components/View/ReactNativeViewViewConfig.win32.js",
|
|
182
|
-
"baseFile": "Libraries/Components/View/ReactNativeViewViewConfig.js",
|
|
183
|
-
"baseHash": "7b24fd09a0d0f7e7c6d87ceeb86610d4c9b78d3a"
|
|
170
|
+
"baseHash": "1e2900121c17ba9f58a7f6d0b3604456a13642bf"
|
|
184
171
|
},
|
|
185
172
|
{
|
|
186
173
|
"type": "platform",
|
|
@@ -196,7 +183,7 @@
|
|
|
196
183
|
"type": "patch",
|
|
197
184
|
"file": "src/Libraries/Components/View/ViewPropTypes.win32.js",
|
|
198
185
|
"baseFile": "Libraries/Components/View/ViewPropTypes.js",
|
|
199
|
-
"baseHash": "
|
|
186
|
+
"baseHash": "d2a2c68a374e334a4ff211353c534a795433bd7d",
|
|
200
187
|
"issue": 6240
|
|
201
188
|
},
|
|
202
189
|
{
|
|
@@ -218,7 +205,7 @@
|
|
|
218
205
|
"type": "derived",
|
|
219
206
|
"file": "src/Libraries/Image/Image.win32.js",
|
|
220
207
|
"baseFile": "Libraries/Image/Image.ios.js",
|
|
221
|
-
"baseHash": "
|
|
208
|
+
"baseHash": "282cd9cc008400b06b617543b9f5f8429d91b87e",
|
|
222
209
|
"issue": 4320
|
|
223
210
|
},
|
|
224
211
|
{
|
|
@@ -272,7 +259,7 @@
|
|
|
272
259
|
"type": "patch",
|
|
273
260
|
"file": "src/Libraries/Inspector/Inspector.win32.js",
|
|
274
261
|
"baseFile": "Libraries/Inspector/Inspector.js",
|
|
275
|
-
"baseHash": "
|
|
262
|
+
"baseHash": "a335353c8e7299f8de2601104e2056eeb16ea041"
|
|
276
263
|
},
|
|
277
264
|
{
|
|
278
265
|
"type": "patch",
|
|
@@ -287,25 +274,25 @@
|
|
|
287
274
|
"baseHash": "bfb778c766301230ffb3b2aab0c25954e993419a"
|
|
288
275
|
},
|
|
289
276
|
{
|
|
290
|
-
"type": "
|
|
291
|
-
"file": "src/Libraries/Lists/__tests__/FillRateHelper-test.
|
|
277
|
+
"type": "copy",
|
|
278
|
+
"file": "src/Libraries/Lists/__tests__/FillRateHelper-test.js",
|
|
292
279
|
"baseFile": "Libraries/Lists/__tests__/FillRateHelper-test.js",
|
|
293
280
|
"baseHash": "784563e3f8414828196288c01b833b7cdb05608f",
|
|
294
|
-
"issue":
|
|
281
|
+
"issue": 0
|
|
295
282
|
},
|
|
296
283
|
{
|
|
297
|
-
"type": "
|
|
298
|
-
"file": "src/Libraries/Lists/__tests__/FlatList-test.
|
|
284
|
+
"type": "copy",
|
|
285
|
+
"file": "src/Libraries/Lists/__tests__/FlatList-test.js",
|
|
299
286
|
"baseFile": "Libraries/Lists/__tests__/FlatList-test.js",
|
|
300
287
|
"baseHash": "524bd967f806a01272162bdec906780acdea064c",
|
|
301
|
-
"issue":
|
|
288
|
+
"issue": 0
|
|
302
289
|
},
|
|
303
290
|
{
|
|
304
|
-
"type": "
|
|
305
|
-
"file": "src/Libraries/Lists/__tests__/SectionList-test.
|
|
291
|
+
"type": "copy",
|
|
292
|
+
"file": "src/Libraries/Lists/__tests__/SectionList-test.js",
|
|
306
293
|
"baseFile": "Libraries/Lists/__tests__/SectionList-test.js",
|
|
307
294
|
"baseHash": "e277498e347542679adf37df904688002d641c37",
|
|
308
|
-
"issue":
|
|
295
|
+
"issue": 0
|
|
309
296
|
},
|
|
310
297
|
{
|
|
311
298
|
"type": "copy",
|
|
@@ -314,25 +301,25 @@
|
|
|
314
301
|
"baseHash": "ab22d57f3ed7af8382dc2fac72eaca53073d9a41"
|
|
315
302
|
},
|
|
316
303
|
{
|
|
317
|
-
"type": "
|
|
318
|
-
"file": "src/Libraries/Lists/__tests__/VirtualizedList-test.
|
|
304
|
+
"type": "copy",
|
|
305
|
+
"file": "src/Libraries/Lists/__tests__/VirtualizedList-test.js",
|
|
319
306
|
"baseFile": "Libraries/Lists/__tests__/VirtualizedList-test.js",
|
|
320
|
-
"baseHash": "
|
|
321
|
-
"issue":
|
|
307
|
+
"baseHash": "6eb2a875d4eeb9ab65476661ff3fc4f6c03b329c",
|
|
308
|
+
"issue": 0
|
|
322
309
|
},
|
|
323
310
|
{
|
|
324
|
-
"type": "
|
|
325
|
-
"file": "src/Libraries/Lists/__tests__/VirtualizedSectionList-test.
|
|
311
|
+
"type": "copy",
|
|
312
|
+
"file": "src/Libraries/Lists/__tests__/VirtualizedSectionList-test.js",
|
|
326
313
|
"baseFile": "Libraries/Lists/__tests__/VirtualizedSectionList-test.js",
|
|
327
314
|
"baseHash": "09e687ceb59ca9b35b42a641d597f84c8ee7d078",
|
|
328
|
-
"issue":
|
|
315
|
+
"issue": 0
|
|
329
316
|
},
|
|
330
317
|
{
|
|
331
|
-
"type": "
|
|
332
|
-
"file": "src/Libraries/Lists/__tests__/VirtualizeUtils-test.
|
|
318
|
+
"type": "copy",
|
|
319
|
+
"file": "src/Libraries/Lists/__tests__/VirtualizeUtils-test.js",
|
|
333
320
|
"baseFile": "Libraries/Lists/__tests__/VirtualizeUtils-test.js",
|
|
334
321
|
"baseHash": "7cbd1e3cfa7adab44c9508066bf77e29d2c55b46",
|
|
335
|
-
"issue":
|
|
322
|
+
"issue": 0
|
|
336
323
|
},
|
|
337
324
|
{
|
|
338
325
|
"type": "platform",
|
|
@@ -342,7 +329,7 @@
|
|
|
342
329
|
"type": "patch",
|
|
343
330
|
"file": "src/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js",
|
|
344
331
|
"baseFile": "Libraries/LogBox/UI/LogBoxInspectorHeader.js",
|
|
345
|
-
"baseHash": "
|
|
332
|
+
"baseHash": "623cbed5356a6d12537d417d47af5ffda03631cd",
|
|
346
333
|
"issue": 7952
|
|
347
334
|
},
|
|
348
335
|
{
|
|
@@ -359,6 +346,12 @@
|
|
|
359
346
|
"baseHash": "63954df6e04ba9bc97148e04668729f4a8ca9847",
|
|
360
347
|
"issue": 5886
|
|
361
348
|
},
|
|
349
|
+
{
|
|
350
|
+
"type": "derived",
|
|
351
|
+
"file": "src/Libraries/NativeComponent/BaseViewConfig.win32.js",
|
|
352
|
+
"baseFile": "Libraries/NativeComponent/BaseViewConfig.ios.js",
|
|
353
|
+
"baseHash": "ff335415e43399b3cdaf4fd2dd2063d495f39ec5"
|
|
354
|
+
},
|
|
362
355
|
{
|
|
363
356
|
"type": "derived",
|
|
364
357
|
"file": "src/Libraries/Network/RCTNetworking.win32.js",
|
|
@@ -389,7 +382,7 @@
|
|
|
389
382
|
"type": "patch",
|
|
390
383
|
"file": "src/Libraries/Pressability/Pressability.win32.js",
|
|
391
384
|
"baseFile": "Libraries/Pressability/Pressability.js",
|
|
392
|
-
"baseHash": "
|
|
385
|
+
"baseHash": "87349e7a4175694c25df80538885fac1e0df96d1",
|
|
393
386
|
"issue": 6240
|
|
394
387
|
},
|
|
395
388
|
{
|
|
@@ -442,14 +435,14 @@
|
|
|
442
435
|
"type": "derived",
|
|
443
436
|
"file": "src/Libraries/Text/TextNativeComponent.win32.js",
|
|
444
437
|
"baseFile": "Libraries/Text/TextNativeComponent.js",
|
|
445
|
-
"baseHash": "
|
|
438
|
+
"baseHash": "27d6b7e72f84abed594050d86808190add804b87",
|
|
446
439
|
"issue": 7074
|
|
447
440
|
},
|
|
448
441
|
{
|
|
449
442
|
"type": "patch",
|
|
450
443
|
"file": "src/Libraries/Types/CoreEventTypes.win32.js",
|
|
451
444
|
"baseFile": "Libraries/Types/CoreEventTypes.js",
|
|
452
|
-
"baseHash": "
|
|
445
|
+
"baseHash": "d9fb8f9555d98ec994eaa472fce31594d37ddfd6",
|
|
453
446
|
"issue": 6240
|
|
454
447
|
},
|
|
455
448
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.69.0-preview.3",
|
|
4
4
|
"description": "Implementation of react native on top of Office's Win32 platform.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./index.win32.js",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"flow-check": "flow check",
|
|
13
13
|
"lint:fix": "rnw-scripts lint:fix",
|
|
14
14
|
"lint": "rnw-scripts lint",
|
|
15
|
-
"run-win32-dev-web": "npx @office-iss/rex-win32@0.
|
|
16
|
-
"run-win32-devmain": "npx @office-iss/rex-win32@0.
|
|
17
|
-
"run-win32": "npx @office-iss/rex-win32@0.
|
|
15
|
+
"run-win32-dev-web": "npx @office-iss/rex-win32@0.66.15-devmain.15226.10000 --bundle js/RNTesterApp --component RNTesterApp --basePath ./dist/win32/dev --jsEngine v8 --useDevMain --useWebDebugger",
|
|
16
|
+
"run-win32-devmain": "npx @office-iss/rex-win32@0.66.15-devmain.15226.10000 --bundle js/RNTesterApp --component RNTesterApp --basePath ./dist/win32/dev --jsEngine v8 --useDevMain",
|
|
17
|
+
"run-win32": "npx @office-iss/rex-win32@0.66.15-devmain.15226.10000 --bundle js/RNTesterApp --component RNTesterApp --basePath ./dist/win32/dev --jsEngine v8 --useWebDebugger",
|
|
18
18
|
"start": "react-native start --projectRoot ../react-native-win32-tester",
|
|
19
19
|
"test": "jest",
|
|
20
20
|
"validate-overrides": "react-native-platform-override validate"
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@babel/runtime": "^7.0.0",
|
|
24
24
|
"@jest/create-cache-key-function": "^27.0.1",
|
|
25
|
-
"@react-native-community/cli": "^
|
|
26
|
-
"@react-native-community/cli-platform-android": "^
|
|
27
|
-
"@react-native-community/cli-platform-ios": "^
|
|
28
|
-
"@react-native-windows/virtualized-list": "0.
|
|
25
|
+
"@react-native-community/cli": "^8.0.0",
|
|
26
|
+
"@react-native-community/cli-platform-android": "^8.0.0",
|
|
27
|
+
"@react-native-community/cli-platform-ios": "^8.0.0",
|
|
28
|
+
"@react-native-windows/virtualized-list": "0.69.0-preview.2",
|
|
29
29
|
"@react-native/assets": "1.0.0",
|
|
30
30
|
"@react-native/normalize-color": "2.0.0",
|
|
31
31
|
"@react-native/polyfills": "2.0.0",
|
|
@@ -33,60 +33,63 @@
|
|
|
33
33
|
"anser": "^1.4.9",
|
|
34
34
|
"art": "^0.10.0",
|
|
35
35
|
"base64-js": "^1.1.2",
|
|
36
|
-
"deprecated-react-native-prop-types": "^2.3.0",
|
|
37
36
|
"event-target-shim": "^5.0.1",
|
|
38
37
|
"hermes-engine": "~0.11.0",
|
|
39
38
|
"invariant": "^2.2.4",
|
|
40
39
|
"jsc-android": "^250230.2.1",
|
|
41
|
-
"
|
|
42
|
-
"metro-
|
|
43
|
-
"metro-
|
|
40
|
+
"memoize-one": "^5.0.0",
|
|
41
|
+
"metro-react-native-babel-transformer": "0.70.3",
|
|
42
|
+
"metro-runtime": "0.70.3",
|
|
43
|
+
"metro-source-map": "0.70.3",
|
|
44
|
+
"mkdirp": "^0.5.1",
|
|
44
45
|
"nullthrows": "^1.1.1",
|
|
45
46
|
"pretty-format": "^26.5.2",
|
|
46
47
|
"promise": "^8.0.3",
|
|
47
48
|
"react-clone-referenced-element": "^1.0.1",
|
|
48
|
-
"react-devtools-core": "
|
|
49
|
-
"react-native-codegen": "^0.
|
|
50
|
-
"react-native-gradle-plugin": "^0.0.
|
|
49
|
+
"react-devtools-core": "4.24.0",
|
|
50
|
+
"react-native-codegen": "^0.69.1",
|
|
51
|
+
"react-native-gradle-plugin": "^0.0.7",
|
|
51
52
|
"react-refresh": "^0.4.0",
|
|
52
53
|
"react-shallow-renderer": "16.14.1",
|
|
53
54
|
"regenerator-runtime": "^0.13.2",
|
|
54
|
-
"scheduler": "^0.
|
|
55
|
+
"scheduler": "^0.21.0",
|
|
56
|
+
"shelljs": "^0.8.5",
|
|
55
57
|
"stacktrace-parser": "^0.1.3",
|
|
56
|
-
"use-
|
|
58
|
+
"use-sync-external-store": "^1.0.0",
|
|
57
59
|
"whatwg-fetch": "^3.0.0",
|
|
58
60
|
"ws": "^6.1.4"
|
|
59
61
|
},
|
|
60
62
|
"devDependencies": {
|
|
61
|
-
"@rnw-scripts/eslint-config": "1.1.
|
|
62
|
-
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.0.
|
|
63
|
+
"@rnw-scripts/eslint-config": "1.1.12",
|
|
64
|
+
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.0.6",
|
|
65
|
+
"@rnw-scripts/metro-dev-config": "0.0.0",
|
|
63
66
|
"@rnx-kit/jest-preset": "^0.1.0",
|
|
64
67
|
"@types/node": "^14.14.22",
|
|
65
68
|
"@types/prop-types": "15.7.1",
|
|
66
|
-
"@types/react": "^
|
|
67
|
-
"@types/react-native": "^0.66.
|
|
69
|
+
"@types/react": "^18.0.0",
|
|
70
|
+
"@types/react-native": "^0.66.17",
|
|
68
71
|
"babel-eslint": "^10.1.0",
|
|
69
72
|
"eslint": "^7.32.0",
|
|
70
|
-
"flow-bin": "^0.
|
|
73
|
+
"flow-bin": "^0.176.3",
|
|
71
74
|
"jscodeshift": "^0.13.1",
|
|
72
75
|
"just-scripts": "^1.3.3",
|
|
73
76
|
"prettier": "^2.4.1",
|
|
74
|
-
"react": "
|
|
75
|
-
"react-native": "
|
|
76
|
-
"react-native-platform-override": "^1.6.
|
|
77
|
+
"react": "18.0.0",
|
|
78
|
+
"react-native": "0.69.0-rc.3",
|
|
79
|
+
"react-native-platform-override": "^1.6.11",
|
|
77
80
|
"react-shallow-renderer": "16.14.1",
|
|
78
81
|
"typescript": "^4.4.4"
|
|
79
82
|
},
|
|
80
83
|
"peerDependencies": {
|
|
81
|
-
"react": "
|
|
82
|
-
"react-native": "
|
|
84
|
+
"react": "18.0.0",
|
|
85
|
+
"react-native": "0.69.0-rc.3"
|
|
83
86
|
},
|
|
84
87
|
"beachball": {
|
|
85
|
-
"defaultNpmTag": "
|
|
88
|
+
"defaultNpmTag": "preview",
|
|
86
89
|
"disallowedChangeTypes": [
|
|
87
90
|
"major",
|
|
88
91
|
"minor",
|
|
89
|
-
"
|
|
92
|
+
"patch"
|
|
90
93
|
]
|
|
91
94
|
},
|
|
92
95
|
"promoteRelease": true,
|
package/rntypes/index.d.ts
CHANGED
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
// Dominique Richard <https://github.com/doumart>
|
|
32
32
|
// Mohamed Shaban <https://github.com/drmas>
|
|
33
33
|
// Jérémy Barbet <https://github.com/jeremybarbet>
|
|
34
|
-
// Christian Ost <https://github.com/ca057>
|
|
35
34
|
// David Sheldrick <https://github.com/ds300>
|
|
36
35
|
// Natsathorn Yuthakovit <https://github.com/natsathorn>
|
|
37
36
|
// ConnectDotz <https://github.com/connectdotz>
|
|
@@ -41,6 +40,7 @@
|
|
|
41
40
|
// Arafat Zahan <https://github.com/kuasha420>
|
|
42
41
|
// Pedro Hernández <https://github.com/phvillegas>
|
|
43
42
|
// Sebastian Silbermann <https://github.com/eps1lon>
|
|
43
|
+
// Zihan Chen <https://github.com/ZihanChen-MSFT>
|
|
44
44
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
45
45
|
// TypeScript Version: 3.0
|
|
46
46
|
|
|
@@ -3220,12 +3220,6 @@ export interface RefreshControlPropsAndroid extends ViewProps {
|
|
|
3220
3220
|
* Size of the refresh indicator, see RefreshControl.SIZE.
|
|
3221
3221
|
*/
|
|
3222
3222
|
size?: number | undefined;
|
|
3223
|
-
|
|
3224
|
-
/**
|
|
3225
|
-
* Progress view top offset
|
|
3226
|
-
* @platform android
|
|
3227
|
-
*/
|
|
3228
|
-
progressViewOffset?: number | undefined;
|
|
3229
3223
|
}
|
|
3230
3224
|
|
|
3231
3225
|
export interface RefreshControlProps extends RefreshControlPropsIOS, RefreshControlPropsAndroid {
|
|
@@ -3238,6 +3232,11 @@ export interface RefreshControlProps extends RefreshControlPropsIOS, RefreshCont
|
|
|
3238
3232
|
* Whether the view should be indicating an active refresh.
|
|
3239
3233
|
*/
|
|
3240
3234
|
refreshing: boolean;
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* Progress view top offset
|
|
3238
|
+
*/
|
|
3239
|
+
progressViewOffset?: number | undefined;
|
|
3241
3240
|
}
|
|
3242
3241
|
|
|
3243
3242
|
/**
|
|
@@ -9159,6 +9158,19 @@ export interface ImageStoreStatic {
|
|
|
9159
9158
|
getBase64ForTag(uri: string, success: (base64ImageData: string) => void, failure: (error: any) => void): void;
|
|
9160
9159
|
}
|
|
9161
9160
|
|
|
9161
|
+
//
|
|
9162
|
+
// Turbo Module
|
|
9163
|
+
//
|
|
9164
|
+
|
|
9165
|
+
export interface TurboModule {
|
|
9166
|
+
getConstants?(): {}
|
|
9167
|
+
}
|
|
9168
|
+
|
|
9169
|
+
export const TurboModuleRegistry: {
|
|
9170
|
+
get<T extends TurboModule>(name: string): T | null;
|
|
9171
|
+
getEnforcing<T extends TurboModule>(name: string): T;
|
|
9172
|
+
}
|
|
9173
|
+
|
|
9162
9174
|
//
|
|
9163
9175
|
// Interfacing with Native Modules
|
|
9164
9176
|
// https://reactnative.dev/docs/native-modules-ios
|
|
@@ -170,7 +170,7 @@ class TouchableWin32WithoutFeedback extends React.Component<ITouchableWin32Witho
|
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
interface ITouchableWin32HighlightProps extends IViewWin32Props {
|
|
173
|
+
interface ITouchableWin32HighlightProps extends Omit <IViewWin32Props, 'children'> {
|
|
174
174
|
delayLongPress?: number;
|
|
175
175
|
delayLongPressIn?: number;
|
|
176
176
|
delayPressOut?: number;
|
|
@@ -9,7 +9,9 @@ export interface ITouchableWin32State {
|
|
|
9
9
|
isHovered: boolean;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
|
|
13
|
+
|
|
14
|
+
export interface ITouchableWin32Props extends Omit <IViewWin32Props, 'children'> {
|
|
13
15
|
rejectResponderTermination?: boolean;
|
|
14
16
|
disabled?: boolean;
|
|
15
17
|
touchableHandleActivePressIn?: (e: IPressEvent) => void;
|