@office-iss/react-native-win32 0.66.2 → 0.67.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/.eslintignore +2 -0
- package/.flowconfig +6 -1
- package/CHANGELOG.json +209 -33
- package/CHANGELOG.md +96 -20
- package/Libraries/ActionSheetIOS/ActionSheetIOS.js +14 -1
- package/Libraries/ActionSheetIOS/NativeActionSheetManager.js +2 -0
- package/Libraries/Animated/AnimatedEvent.js +23 -4
- package/Libraries/Animated/NativeAnimatedHelper.js +2 -2
- package/Libraries/Animated/components/AnimatedImage.js +3 -3
- package/Libraries/Animated/components/AnimatedScrollView.js +3 -3
- package/Libraries/Animated/components/AnimatedText.js +3 -3
- package/Libraries/Animated/components/AnimatedView.js +1 -3
- package/Libraries/Animated/createAnimatedComponent.js +3 -34
- package/Libraries/Components/Button/ButtonWin32.js +2 -2
- package/Libraries/Components/Button/ButtonWin32.js.map +1 -1
- package/Libraries/Components/Button.js +3 -0
- package/Libraries/Components/DatePicker/DatePickerIOS.ios.js +3 -6
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +4 -7
- package/Libraries/Components/EnterString.win32.js +3 -3
- package/Libraries/Components/EnterString.win32.js.map +1 -1
- package/Libraries/Components/Pressable/Pressable.win32.js +384 -0
- package/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +1 -0
- package/Libraries/Components/ScrollView/ScrollView.js +17 -16
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +268 -252
- package/Libraries/Components/Text/Tests/TextWin32Test.d.ts +0 -1
- package/Libraries/Components/Text/TextWin32.Props.d.ts +2 -2
- package/Libraries/Components/Text/TextWin32.Props.js.map +1 -1
- package/Libraries/Components/Text/TextWin32.js +1 -1
- package/Libraries/Components/Text/TextWin32.js.map +1 -1
- package/Libraries/Components/TextInput/Tests/TextInputTest.d.ts +0 -1
- package/Libraries/Components/TextInput/TextInput.win32.js +6 -6
- package/Libraries/Components/TextInput/TextInput.win32.js.map +1 -1
- package/Libraries/Components/Touchable/Tests/TouchableWin32Test.d.ts +0 -1
- package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js +1 -1
- package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js.map +1 -1
- package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js +2 -2
- package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js.map +1 -1
- package/Libraries/Components/Touchable/TouchableWin32.js +2 -2
- package/Libraries/Components/Touchable/TouchableWin32.js.map +1 -1
- package/Libraries/Components/View/Tests/ViewWin32Test.d.ts +0 -1
- package/Libraries/Components/View/View.js +1 -1
- package/Libraries/Components/View/View.win32.js +59 -3
- package/Libraries/Components/View/ViewAccessibility.js +1 -1
- package/Libraries/Components/View/ViewPropTypes.win32.js +546 -0
- package/Libraries/Components/View/ViewWin32.Props.d.ts +3 -6
- package/Libraries/Components/View/ViewWin32.Props.js.map +1 -1
- package/Libraries/Components/View/ViewWin32.js +5 -5
- package/Libraries/Components/View/ViewWin32.js.map +1 -1
- package/Libraries/Core/ExceptionsManager.js +45 -80
- package/Libraries/Core/ExtendedError.js +0 -1
- package/Libraries/Core/ReactNativeVersion.js +2 -2
- package/Libraries/Core/setUpBatchedBridge.js +1 -1
- package/Libraries/Core/setUpGlobals.js +2 -4
- package/Libraries/Core/setUpTimers.js +2 -2
- package/Libraries/Image/Image.ios.js +6 -0
- package/Libraries/Image/Image.win32.js +6 -0
- package/Libraries/Image/ImageBackground.js +10 -8
- package/Libraries/Image/ImageProps.js +28 -0
- package/Libraries/Image/Tests/ImageWin32Test.d.ts +0 -1
- package/Libraries/LogBox/Data/LogBoxData.js +18 -19
- package/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png +0 -0
- package/Libraries/LogBox/UI/LogBoxImages/chevron-left.png +0 -0
- package/Libraries/LogBox/UI/LogBoxImages/chevron-right.png +0 -0
- package/Libraries/LogBox/UI/LogBoxImages/close.png +0 -0
- package/Libraries/LogBox/UI/LogBoxImages/loader.png +0 -0
- package/Libraries/NewAppScreen/components/logo.png +0 -0
- package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +2 -1
- package/Libraries/PermissionsAndroid/PermissionsAndroid.js +2 -0
- package/Libraries/PersonaCoin/PersonaCoin.js +3 -2
- package/Libraries/PersonaCoin/PersonaCoin.js.map +1 -1
- package/Libraries/Pressability/HoverState.win32.js +60 -0
- package/Libraries/Pressability/Pressability.js +13 -13
- package/Libraries/Pressability/Pressability.win32.js +962 -0
- package/Libraries/Pressability/PressabilityPerformanceEventEmitter.js +1 -1
- package/Libraries/ReactNative/AppRegistry.js +4 -2
- package/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +1569 -875
- package/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +529 -319
- package/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +570 -362
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +1592 -891
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +521 -311
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +562 -354
- package/Libraries/Share/Share.js +1 -1
- package/Libraries/StyleSheet/normalizeColor.js +2 -2
- package/Libraries/Text/TextProps.js +1 -7
- package/Libraries/TurboModule/TurboModuleRegistry.js +1 -1
- package/Libraries/Types/CoreEventTypes.win32.js +191 -0
- package/Libraries/Utilities/HMRClient.js +1 -1
- package/flow/global.js +45 -0
- package/index.js +15 -10
- package/index.win32.js +15 -10
- package/jest/mockModal.js +31 -0
- package/jest/setup.js +5 -3
- package/overrides.json +42 -13
- package/package.json +20 -18
- package/rntypes/BatchedBridge.d.ts +23 -0
- package/rntypes/Devtools.d.ts +20 -0
- package/rntypes/LaunchScreen.d.ts +9 -0
- package/rntypes/globals.d.ts +496 -0
- package/rntypes/index.d.ts +9966 -0
- package/rntypes/legacy-properties.d.ts +266 -0
- package/src/Libraries/Components/Text/TextWin32.Props.ts +2 -2
- package/src/Libraries/Components/View/ViewWin32.Props.ts +6 -12
- package/src/rntypes/BatchedBridge.d.ts +23 -0
- package/src/rntypes/Devtools.d.ts +20 -0
- package/src/rntypes/LaunchScreen.d.ts +9 -0
- package/src/rntypes/globals.d.ts +496 -0
- package/src/rntypes/index.d.ts +9966 -0
- package/src/rntypes/legacy-properties.d.ts +266 -0
- package/src/typings-index.ts +11 -4
- package/typings-index.d.ts +3 -1
- package/typings-index.js +7 -5
- package/typings-index.js.map +1 -1
- package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js +0 -87
- package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js +0 -30
- package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.win32.js +0 -30
- package/Libraries/Components/DatePickerAndroid/DatePickerAndroidTypes.js +0 -30
- package/Libraries/Components/StaticContainer.react.js +0 -51
- package/Libraries/Components/Touchable/ensurePositiveDelayProps.js +0 -25
- package/Libraries/Interaction/InteractionMixin.js +0 -54
- package/Libraries/ReactNative/queryLayoutByID.js +0 -58
package/.eslintignore
CHANGED
package/.flowconfig
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
; initRNLibraries build step
|
|
11
11
|
<PROJECT_ROOT>/index.js
|
|
12
12
|
<PROJECT_ROOT>/Libraries/Alert/Alert.js
|
|
13
|
+
<PROJECT_ROOT>/Libraries/Components/Pressable/Pressable.js
|
|
13
14
|
<PROJECT_ROOT>/Libraries/Components/SafeAreaView/SafeAreaView.js
|
|
14
15
|
<PROJECT_ROOT>/Libraries/Components/TextInput/TextInput.js
|
|
15
16
|
<PROJECT_ROOT>/Libraries/Components/TextInput/TextInputState.js
|
|
@@ -17,11 +18,15 @@
|
|
|
17
18
|
<PROJECT_ROOT>/Libraries/Components/View/ReactNativeViewAttributes.js
|
|
18
19
|
<PROJECT_ROOT>/Libraries/Components/View/ReactNativeViewViewConfig.js
|
|
19
20
|
<PROJECT_ROOT>/Libraries/Components/View/View.js
|
|
21
|
+
<PROJECT_ROOT>/Libraries/Components/View/ViewPropTypes.js
|
|
20
22
|
<PROJECT_ROOT>/Libraries/Image/Image.js
|
|
21
23
|
<PROJECT_ROOT>/Libraries/Inspector/Inspector.js
|
|
22
24
|
<PROJECT_ROOT>/Libraries/Inspector/InspectorOverlay.js
|
|
23
25
|
<PROJECT_ROOT>/Libraries/Network/RCTNetworking.js
|
|
26
|
+
<PROJECT_ROOT>/Libraries/Pressability/Pressability.js
|
|
27
|
+
<PROJECT_ROOT>/Libraries/Pressability/HoverState.js
|
|
24
28
|
<PROJECT_ROOT>/Libraries/StyleSheet/StyleSheet.js
|
|
29
|
+
<PROJECT_ROOT>/Libraries/Types/CoreEventTypes.js
|
|
25
30
|
<PROJECT_ROOT>/Libraries/Utilities/DeviceInfo.js
|
|
26
31
|
<PROJECT_ROOT>/Libraries/Utilities/Dimensions.js
|
|
27
32
|
|
|
@@ -113,4 +118,4 @@ untyped-import
|
|
|
113
118
|
untyped-type-import
|
|
114
119
|
|
|
115
120
|
[version]
|
|
116
|
-
^0.
|
|
121
|
+
^0.162.0
|
package/CHANGELOG.json
CHANGED
|
@@ -2,90 +2,266 @@
|
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Mon,
|
|
6
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
7
|
-
"version": "0.
|
|
5
|
+
"date": "Mon, 17 Jan 2022 16:12:12 GMT",
|
|
6
|
+
"tag": "@office-iss/react-native-win32_v0.67.0-preview.3",
|
|
7
|
+
"version": "0.67.0-preview.3",
|
|
8
8
|
"comments": {
|
|
9
|
-
"
|
|
9
|
+
"prerelease": [
|
|
10
|
+
{
|
|
11
|
+
"author": "saadnajmi2@gmail.com",
|
|
12
|
+
"package": "@office-iss/react-native-win32",
|
|
13
|
+
"commit": "b58a8738eecd8a3d6a2b918fc35d9a7b93b4437a",
|
|
14
|
+
"comment": "Port windows pressable with extra desktop support to win32"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Mon, 15 Nov 2021 16:10:10 GMT",
|
|
21
|
+
"tag": "@office-iss/react-native-win32_v0.67.0-preview.2",
|
|
22
|
+
"version": "0.67.0-preview.2",
|
|
23
|
+
"comments": {
|
|
24
|
+
"prerelease": [
|
|
10
25
|
{
|
|
11
|
-
"comment": "Add enableFocusRing prop for View and test",
|
|
12
26
|
"author": "ruaraki@microsoft.com",
|
|
13
|
-
"
|
|
14
|
-
"
|
|
27
|
+
"package": "@office-iss/react-native-win32",
|
|
28
|
+
"commit": "not available",
|
|
29
|
+
"comment": "Add enableFocusRing prop for View and test"
|
|
15
30
|
}
|
|
16
31
|
]
|
|
17
32
|
}
|
|
18
33
|
},
|
|
19
34
|
{
|
|
20
|
-
"date": "Mon,
|
|
21
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
22
|
-
"version": "0.
|
|
35
|
+
"date": "Mon, 15 Nov 2021 16:09:34 GMT",
|
|
36
|
+
"tag": "@office-iss/react-native-win32_v0.67.0-preview.2",
|
|
37
|
+
"version": "0.67.0-preview.2",
|
|
23
38
|
"comments": {
|
|
24
|
-
"
|
|
39
|
+
"prerelease": [
|
|
40
|
+
{
|
|
41
|
+
"author": "ruaraki@microsoft.com",
|
|
42
|
+
"package": "@office-iss/react-native-win32",
|
|
43
|
+
"commit": "6a7a95e90c7f7a3a86efac63b24092232380ba1b",
|
|
44
|
+
"comment": "Add enableFocusRing prop for View and test"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Mon, 25 Oct 2021 15:07:48 GMT",
|
|
51
|
+
"tag": "@office-iss/react-native-win32_v0.67.0-preview.1",
|
|
52
|
+
"version": "0.67.0-preview.1",
|
|
53
|
+
"comments": {
|
|
54
|
+
"prerelease": [
|
|
25
55
|
{
|
|
26
|
-
"comment": "Loosen RN peer dependency",
|
|
27
56
|
"author": "ngerlem@microsoft.com",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
57
|
+
"package": "@office-iss/react-native-win32",
|
|
58
|
+
"commit": "not available",
|
|
59
|
+
"comment": "Promote 0.67 to preview"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@office-iss/react-native-win32",
|
|
64
|
+
"comment": "Bump @react-native-windows/virtualized-list to v0.67.0-preview.1",
|
|
65
|
+
"commit": "666510e980ced292bffd23a44982e8a800f91444"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"date": "Mon, 25 Oct 2021 15:07:19 GMT",
|
|
72
|
+
"tag": "@office-iss/react-native-win32_v0.67.0-preview.1",
|
|
73
|
+
"version": "0.67.0-preview.1",
|
|
74
|
+
"comments": {
|
|
75
|
+
"prerelease": [
|
|
76
|
+
{
|
|
77
|
+
"author": "ngerlem@microsoft.com",
|
|
78
|
+
"package": "@office-iss/react-native-win32",
|
|
79
|
+
"commit": "5ca0feb9bccbf395aa8297f97a1a8832971d4f2e",
|
|
80
|
+
"comment": "Promote 0.67 to preview"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"author": "beachball",
|
|
84
|
+
"package": "@office-iss/react-native-win32",
|
|
85
|
+
"comment": "Bump @react-native-windows/virtualized-list to v0.67.0-preview.1",
|
|
86
|
+
"commit": "be5b1c696dc4bb50281f444713575830d3bf72e3"
|
|
30
87
|
}
|
|
31
88
|
]
|
|
32
89
|
}
|
|
33
90
|
},
|
|
34
91
|
{
|
|
35
|
-
"date": "
|
|
36
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
37
|
-
"version": "0.
|
|
92
|
+
"date": "Thu, 21 Oct 2021 05:08:01 GMT",
|
|
93
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.117",
|
|
94
|
+
"version": "0.0.0-canary.117",
|
|
95
|
+
"comments": {
|
|
96
|
+
"prerelease": [
|
|
97
|
+
{
|
|
98
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
99
|
+
"package": "@office-iss/react-native-win32",
|
|
100
|
+
"comment": "Update to typescript 4",
|
|
101
|
+
"commit": "8a0ffecdcf5e68d950f20380fdf62295edb352b6"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"author": "beachball",
|
|
105
|
+
"package": "@office-iss/react-native-win32",
|
|
106
|
+
"comment": "Bump @react-native-windows/virtualized-list to v0.0.0-canary.14",
|
|
107
|
+
"commit": "8a0ffecdcf5e68d950f20380fdf62295edb352b6"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"author": "beachball",
|
|
111
|
+
"package": "@office-iss/react-native-win32",
|
|
112
|
+
"comment": "Bump react-native-platform-override to v1.5.1",
|
|
113
|
+
"commit": "8a0ffecdcf5e68d950f20380fdf62295edb352b6"
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"date": "Sat, 09 Oct 2021 05:06:48 GMT",
|
|
120
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.116",
|
|
121
|
+
"version": "0.0.0-canary.116",
|
|
122
|
+
"comments": {
|
|
123
|
+
"prerelease": [
|
|
124
|
+
{
|
|
125
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
126
|
+
"package": "@office-iss/react-native-win32",
|
|
127
|
+
"comment": "Export complete type information",
|
|
128
|
+
"commit": "db9fd0f1192d6340c5e766ac2630fc182c99de4f"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"author": "ngerlem@microsoft.com",
|
|
132
|
+
"package": "@office-iss/react-native-win32",
|
|
133
|
+
"comment": "Integrate 10-8-21 Nightly Build",
|
|
134
|
+
"commit": "db9fd0f1192d6340c5e766ac2630fc182c99de4f"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"author": "beachball",
|
|
138
|
+
"package": "@office-iss/react-native-win32",
|
|
139
|
+
"comment": "Bump @react-native-windows/virtualized-list to v0.0.0-canary.13",
|
|
140
|
+
"commit": "db9fd0f1192d6340c5e766ac2630fc182c99de4f"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"date": "Wed, 06 Oct 2021 05:07:05 GMT",
|
|
147
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.115",
|
|
148
|
+
"version": "0.0.0-canary.115",
|
|
38
149
|
"comments": {
|
|
39
150
|
"patch": [
|
|
40
151
|
{
|
|
41
|
-
"comment": "
|
|
152
|
+
"comment": "Bump react-native-platform-override to v1.5.0",
|
|
42
153
|
"author": "ngerlem@microsoft.com",
|
|
43
|
-
"commit": "
|
|
154
|
+
"commit": "7a0c68516b825131c798978f1dfc0088f7115614",
|
|
44
155
|
"package": "@office-iss/react-native-win32"
|
|
45
156
|
}
|
|
46
157
|
]
|
|
47
158
|
}
|
|
48
159
|
},
|
|
49
160
|
{
|
|
50
|
-
"date": "
|
|
51
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
52
|
-
"version": "0.
|
|
161
|
+
"date": "Tue, 28 Sep 2021 05:07:03 GMT",
|
|
162
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.114",
|
|
163
|
+
"version": "0.0.0-canary.114",
|
|
164
|
+
"comments": {
|
|
165
|
+
"prerelease": [
|
|
166
|
+
{
|
|
167
|
+
"comment": "Integrate 9/23",
|
|
168
|
+
"author": "34109996+chiaramooney@users.noreply.github.com",
|
|
169
|
+
"commit": "d4970fdd583866c3ac7af6a0cf38040cf3b22d93",
|
|
170
|
+
"package": "@office-iss/react-native-win32"
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"date": "Fri, 24 Sep 2021 05:06:42 GMT",
|
|
177
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.113",
|
|
178
|
+
"version": "0.0.0-canary.113",
|
|
179
|
+
"comments": {
|
|
180
|
+
"prerelease": [
|
|
181
|
+
{
|
|
182
|
+
"comment": "Integrate RN nightly 9/16.",
|
|
183
|
+
"author": "igklemen@microsoft.com",
|
|
184
|
+
"commit": "8b63ada9ba1d55bfd161388fc18c2b5c6445b508",
|
|
185
|
+
"package": "@office-iss/react-native-win32"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"date": "Tue, 21 Sep 2021 05:08:39 GMT",
|
|
192
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.112",
|
|
193
|
+
"version": "0.0.0-canary.112",
|
|
194
|
+
"comments": {
|
|
195
|
+
"prerelease": [
|
|
196
|
+
{
|
|
197
|
+
"comment": "Integrate RN nightly build 9/9.",
|
|
198
|
+
"author": "igklemen@microsoft.com",
|
|
199
|
+
"commit": "08eb19f42f4f74bd82f33db2e27ba2d33b2ddd1b",
|
|
200
|
+
"package": "@office-iss/react-native-win32"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"date": "Fri, 17 Sep 2021 05:06:53 GMT",
|
|
207
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.111",
|
|
208
|
+
"version": "0.0.0-canary.111",
|
|
53
209
|
"comments": {
|
|
54
210
|
"prerelease": [
|
|
55
211
|
{
|
|
56
212
|
"comment": "Fix exception in View when props are undefined",
|
|
57
213
|
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
58
|
-
"commit": "
|
|
214
|
+
"commit": "77ebdd47cd2feead7885933ac351a045041bee2e",
|
|
59
215
|
"package": "@office-iss/react-native-win32"
|
|
60
216
|
}
|
|
61
217
|
]
|
|
62
218
|
}
|
|
63
219
|
},
|
|
64
220
|
{
|
|
65
|
-
"date": "
|
|
66
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
67
|
-
"version": "0.
|
|
221
|
+
"date": "Thu, 09 Sep 2021 05:07:46 GMT",
|
|
222
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.110",
|
|
223
|
+
"version": "0.0.0-canary.110",
|
|
68
224
|
"comments": {
|
|
69
225
|
"prerelease": [
|
|
70
226
|
{
|
|
71
|
-
"comment": "Adding
|
|
227
|
+
"comment": "Adding accessibilityItemType property to ViewWin32",
|
|
72
228
|
"author": "safreibe@microsoft.com",
|
|
73
|
-
"commit": "
|
|
229
|
+
"commit": "465dae11d372626fcb90d966e9e97f2d3d531f43",
|
|
74
230
|
"package": "@office-iss/react-native-win32"
|
|
75
231
|
}
|
|
76
232
|
]
|
|
77
233
|
}
|
|
78
234
|
},
|
|
79
235
|
{
|
|
80
|
-
"date": "
|
|
81
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
82
|
-
"version": "0.
|
|
236
|
+
"date": "Wed, 08 Sep 2021 05:08:53 GMT",
|
|
237
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.109",
|
|
238
|
+
"version": "0.0.0-canary.109",
|
|
83
239
|
"comments": {
|
|
84
240
|
"prerelease": [
|
|
85
241
|
{
|
|
86
|
-
"comment": "
|
|
242
|
+
"comment": "Set consistent node requirements on our packages",
|
|
243
|
+
"author": "ngerlem@microsoft.com",
|
|
244
|
+
"commit": "2974ea0ab58b546264b8d9a4a7c12ceeb0a02851",
|
|
245
|
+
"package": "@office-iss/react-native-win32"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"comment": "Integrate 9/2",
|
|
249
|
+
"author": "34109996+chiaramooney@users.noreply.github.com",
|
|
250
|
+
"commit": "8b91737bde65fc50b454be74f64bc50b5d2cfda2",
|
|
251
|
+
"package": "@office-iss/react-native-win32"
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"patch": [
|
|
255
|
+
{
|
|
256
|
+
"comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.0.2",
|
|
257
|
+
"author": "ngerlem@microsoft.com",
|
|
258
|
+
"commit": "2974ea0ab58b546264b8d9a4a7c12ceeb0a02851",
|
|
259
|
+
"package": "@office-iss/react-native-win32"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"comment": "Bump @rnw-scripts/eslint-config to v1.1.8",
|
|
87
263
|
"author": "ngerlem@microsoft.com",
|
|
88
|
-
"commit": "
|
|
264
|
+
"commit": "2974ea0ab58b546264b8d9a4a7c12ceeb0a02851",
|
|
89
265
|
"package": "@office-iss/react-native-win32"
|
|
90
266
|
}
|
|
91
267
|
]
|
package/CHANGELOG.md
CHANGED
|
@@ -1,56 +1,132 @@
|
|
|
1
1
|
# Change Log - @office-iss/react-native-win32
|
|
2
2
|
|
|
3
|
-
This log was last generated on Mon,
|
|
3
|
+
This log was last generated on Mon, 17 Jan 2022 16:12:12 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 0.
|
|
7
|
+
## 0.67.0-preview.3
|
|
8
8
|
|
|
9
|
-
Mon,
|
|
9
|
+
Mon, 17 Jan 2022 16:12:12 GMT
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Changes
|
|
12
12
|
|
|
13
|
-
-
|
|
13
|
+
- Port windows pressable with extra desktop support to win32 (saadnajmi2@gmail.com)
|
|
14
14
|
|
|
15
|
-
## 0.
|
|
15
|
+
## 0.67.0-preview.2
|
|
16
16
|
|
|
17
|
-
Mon,
|
|
17
|
+
Mon, 15 Nov 2021 16:10:10 GMT
|
|
18
18
|
|
|
19
|
-
###
|
|
19
|
+
### Changes
|
|
20
|
+
|
|
21
|
+
- Add enableFocusRing prop for View and test (ruaraki@microsoft.com)
|
|
22
|
+
|
|
23
|
+
## 0.67.0-preview.2
|
|
24
|
+
|
|
25
|
+
Mon, 15 Nov 2021 16:09:34 GMT
|
|
26
|
+
|
|
27
|
+
### Changes
|
|
28
|
+
|
|
29
|
+
- Add enableFocusRing prop for View and test (ruaraki@microsoft.com)
|
|
30
|
+
|
|
31
|
+
## 0.67.0-preview.1
|
|
32
|
+
|
|
33
|
+
Mon, 25 Oct 2021 15:07:48 GMT
|
|
34
|
+
|
|
35
|
+
### Changes
|
|
20
36
|
|
|
21
|
-
-
|
|
37
|
+
- Promote 0.67 to preview (ngerlem@microsoft.com)
|
|
38
|
+
- Bump @react-native-windows/virtualized-list to v0.67.0-preview.1
|
|
22
39
|
|
|
23
|
-
## 0.
|
|
40
|
+
## 0.67.0-preview.1
|
|
24
41
|
|
|
25
|
-
Mon,
|
|
42
|
+
Mon, 25 Oct 2021 15:07:19 GMT
|
|
43
|
+
|
|
44
|
+
### Changes
|
|
45
|
+
|
|
46
|
+
- Promote 0.67 to preview (ngerlem@microsoft.com)
|
|
47
|
+
- Bump @react-native-windows/virtualized-list to v0.67.0-preview.1
|
|
48
|
+
|
|
49
|
+
## 0.0.0-canary.117
|
|
50
|
+
|
|
51
|
+
Thu, 21 Oct 2021 05:08:01 GMT
|
|
52
|
+
|
|
53
|
+
### Changes
|
|
54
|
+
|
|
55
|
+
- Update to typescript 4 (30809111+acoates-ms@users.noreply.github.com)
|
|
56
|
+
- Bump @react-native-windows/virtualized-list to v0.0.0-canary.14
|
|
57
|
+
- Bump react-native-platform-override to v1.5.1
|
|
58
|
+
|
|
59
|
+
## 0.0.0-canary.116
|
|
60
|
+
|
|
61
|
+
Sat, 09 Oct 2021 05:06:48 GMT
|
|
62
|
+
|
|
63
|
+
### Changes
|
|
64
|
+
|
|
65
|
+
- Export complete type information (30809111+acoates-ms@users.noreply.github.com)
|
|
66
|
+
- Integrate 10-8-21 Nightly Build (ngerlem@microsoft.com)
|
|
67
|
+
- Bump @react-native-windows/virtualized-list to v0.0.0-canary.13
|
|
68
|
+
|
|
69
|
+
## 0.0.0-canary.115
|
|
70
|
+
|
|
71
|
+
Wed, 06 Oct 2021 05:07:05 GMT
|
|
26
72
|
|
|
27
73
|
### Patches
|
|
28
74
|
|
|
29
|
-
-
|
|
75
|
+
- Bump react-native-platform-override to v1.5.0 (ngerlem@microsoft.com)
|
|
76
|
+
|
|
77
|
+
## 0.0.0-canary.114
|
|
78
|
+
|
|
79
|
+
Tue, 28 Sep 2021 05:07:03 GMT
|
|
80
|
+
|
|
81
|
+
### Changes
|
|
82
|
+
|
|
83
|
+
- Integrate 9/23 (34109996+chiaramooney@users.noreply.github.com)
|
|
84
|
+
|
|
85
|
+
## 0.0.0-canary.113
|
|
86
|
+
|
|
87
|
+
Fri, 24 Sep 2021 05:06:42 GMT
|
|
30
88
|
|
|
31
|
-
|
|
89
|
+
### Changes
|
|
90
|
+
|
|
91
|
+
- Integrate RN nightly 9/16. (igklemen@microsoft.com)
|
|
92
|
+
|
|
93
|
+
## 0.0.0-canary.112
|
|
32
94
|
|
|
33
|
-
|
|
95
|
+
Tue, 21 Sep 2021 05:08:39 GMT
|
|
96
|
+
|
|
97
|
+
### Changes
|
|
98
|
+
|
|
99
|
+
- Integrate RN nightly build 9/9. (igklemen@microsoft.com)
|
|
100
|
+
|
|
101
|
+
## 0.0.0-canary.111
|
|
102
|
+
|
|
103
|
+
Fri, 17 Sep 2021 05:06:53 GMT
|
|
34
104
|
|
|
35
105
|
### Changes
|
|
36
106
|
|
|
37
107
|
- Fix exception in View when props are undefined (30809111+acoates-ms@users.noreply.github.com)
|
|
38
108
|
|
|
39
|
-
## 0.
|
|
109
|
+
## 0.0.0-canary.110
|
|
40
110
|
|
|
41
|
-
|
|
111
|
+
Thu, 09 Sep 2021 05:07:46 GMT
|
|
42
112
|
|
|
43
113
|
### Changes
|
|
44
114
|
|
|
45
|
-
- Adding
|
|
115
|
+
- Adding accessibilityItemType property to ViewWin32 (safreibe@microsoft.com)
|
|
116
|
+
|
|
117
|
+
## 0.0.0-canary.109
|
|
46
118
|
|
|
47
|
-
|
|
119
|
+
Wed, 08 Sep 2021 05:08:53 GMT
|
|
120
|
+
|
|
121
|
+
### Patches
|
|
48
122
|
|
|
49
|
-
|
|
123
|
+
- Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.0.2 (ngerlem@microsoft.com)
|
|
124
|
+
- Bump @rnw-scripts/eslint-config to v1.1.8 (ngerlem@microsoft.com)
|
|
50
125
|
|
|
51
126
|
### Changes
|
|
52
127
|
|
|
53
|
-
-
|
|
128
|
+
- Set consistent node requirements on our packages (ngerlem@microsoft.com)
|
|
129
|
+
- Integrate 9/2 (34109996+chiaramooney@users.noreply.github.com)
|
|
54
130
|
|
|
55
131
|
## 0.0.0-canary.108
|
|
56
132
|
|
|
@@ -47,6 +47,7 @@ const ActionSheetIOS = {
|
|
|
47
47
|
+cancelButtonIndex?: ?number,
|
|
48
48
|
+anchor?: ?number,
|
|
49
49
|
+tintColor?: ColorValue | ProcessedColorValue,
|
|
50
|
+
+cancelButtonTintColor?: ColorValue | ProcessedColorValue,
|
|
50
51
|
+userInterfaceStyle?: string,
|
|
51
52
|
+disabledButtonIndices?: Array<number>,
|
|
52
53
|
|},
|
|
@@ -59,7 +60,12 @@ const ActionSheetIOS = {
|
|
|
59
60
|
invariant(typeof callback === 'function', 'Must provide a valid callback');
|
|
60
61
|
invariant(RCTActionSheetManager, "ActionSheetManager doesn't exist");
|
|
61
62
|
|
|
62
|
-
const {
|
|
63
|
+
const {
|
|
64
|
+
tintColor,
|
|
65
|
+
cancelButtonTintColor,
|
|
66
|
+
destructiveButtonIndex,
|
|
67
|
+
...remainingOptions
|
|
68
|
+
} = options;
|
|
63
69
|
let destructiveButtonIndices = null;
|
|
64
70
|
|
|
65
71
|
if (Array.isArray(destructiveButtonIndex)) {
|
|
@@ -69,14 +75,21 @@ const ActionSheetIOS = {
|
|
|
69
75
|
}
|
|
70
76
|
|
|
71
77
|
const processedTintColor = processColor(tintColor);
|
|
78
|
+
const processedCancelButtonTintColor = processColor(cancelButtonTintColor);
|
|
72
79
|
invariant(
|
|
73
80
|
processedTintColor == null || typeof processedTintColor === 'number',
|
|
74
81
|
'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions tintColor',
|
|
75
82
|
);
|
|
83
|
+
invariant(
|
|
84
|
+
processedCancelButtonTintColor == null ||
|
|
85
|
+
typeof processedCancelButtonTintColor === 'number',
|
|
86
|
+
'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions cancelButtonTintColor',
|
|
87
|
+
);
|
|
76
88
|
RCTActionSheetManager.showActionSheetWithOptions(
|
|
77
89
|
{
|
|
78
90
|
...remainingOptions,
|
|
79
91
|
tintColor: processedTintColor,
|
|
92
|
+
cancelButtonTintColor: processedCancelButtonTintColor,
|
|
80
93
|
destructiveButtonIndices,
|
|
81
94
|
},
|
|
82
95
|
callback,
|
|
@@ -22,6 +22,7 @@ export interface Spec extends TurboModule {
|
|
|
22
22
|
+cancelButtonIndex?: ?number,
|
|
23
23
|
+anchor?: ?number,
|
|
24
24
|
+tintColor?: ?number,
|
|
25
|
+
+cancelButtonTintColor?: ?number,
|
|
25
26
|
+userInterfaceStyle?: ?string,
|
|
26
27
|
+disabledButtonIndices?: Array<number>,
|
|
27
28
|
|},
|
|
@@ -34,6 +35,7 @@ export interface Spec extends TurboModule {
|
|
|
34
35
|
+subject?: ?string,
|
|
35
36
|
+anchor?: ?number,
|
|
36
37
|
+tintColor?: ?number,
|
|
38
|
+
+cancelButtonTintColor?: ?number,
|
|
37
39
|
+excludedActivityTypes?: ?Array<string>,
|
|
38
40
|
+userInterfaceStyle?: ?string,
|
|
39
41
|
|},
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
13
|
const AnimatedValue = require('./nodes/AnimatedValue');
|
|
14
|
+
const AnimatedValueXY = require('./nodes/AnimatedValueXY');
|
|
14
15
|
const NativeAnimatedHelper = require('./NativeAnimatedHelper');
|
|
15
16
|
const ReactNative = require('../Renderer/shims/ReactNative');
|
|
16
17
|
|
|
@@ -18,7 +19,10 @@ const invariant = require('invariant');
|
|
|
18
19
|
|
|
19
20
|
const {shouldUseNativeDriver} = require('./NativeAnimatedHelper');
|
|
20
21
|
|
|
21
|
-
export type Mapping =
|
|
22
|
+
export type Mapping =
|
|
23
|
+
| {[key: string]: Mapping, ...}
|
|
24
|
+
| AnimatedValue
|
|
25
|
+
| AnimatedValueXY;
|
|
22
26
|
export type EventConfig = {
|
|
23
27
|
listener?: ?Function,
|
|
24
28
|
useNativeDriver: boolean,
|
|
@@ -41,6 +45,9 @@ function attachNativeEvent(
|
|
|
41
45
|
nativeEventPath: path,
|
|
42
46
|
animatedValueTag: value.__getNativeTag(),
|
|
43
47
|
});
|
|
48
|
+
} else if (value instanceof AnimatedValueXY) {
|
|
49
|
+
traverse(value.x, path.concat('x'));
|
|
50
|
+
traverse(value.y, path.concat('y'));
|
|
44
51
|
} else if (typeof value === 'object') {
|
|
45
52
|
for (const key in value) {
|
|
46
53
|
traverse(value[key], path.concat(key));
|
|
@@ -95,6 +102,13 @@ function validateMapping(argMapping, args) {
|
|
|
95
102
|
);
|
|
96
103
|
return;
|
|
97
104
|
}
|
|
105
|
+
if (recMapping instanceof AnimatedValueXY) {
|
|
106
|
+
invariant(
|
|
107
|
+
typeof recEvt.x === 'number' && typeof recEvt.y === 'number',
|
|
108
|
+
'Bad mapping of event key ' + key + ', should be XY but got ' + recEvt,
|
|
109
|
+
);
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
98
112
|
if (typeof recEvt === 'number') {
|
|
99
113
|
invariant(
|
|
100
114
|
recMapping instanceof AnimatedValue,
|
|
@@ -204,22 +218,27 @@ class AnimatedEvent {
|
|
|
204
218
|
validatedMapping = true;
|
|
205
219
|
}
|
|
206
220
|
|
|
207
|
-
const traverse = (recMapping, recEvt
|
|
221
|
+
const traverse = (recMapping, recEvt) => {
|
|
208
222
|
if (recMapping instanceof AnimatedValue) {
|
|
209
223
|
if (typeof recEvt === 'number') {
|
|
210
224
|
recMapping.setValue(recEvt);
|
|
211
225
|
}
|
|
226
|
+
} else if (recMapping instanceof AnimatedValueXY) {
|
|
227
|
+
if (typeof recEvt === 'object') {
|
|
228
|
+
traverse(recMapping.x, recEvt.x);
|
|
229
|
+
traverse(recMapping.y, recEvt.y);
|
|
230
|
+
}
|
|
212
231
|
} else if (typeof recMapping === 'object') {
|
|
213
232
|
for (const mappingKey in recMapping) {
|
|
214
233
|
/* $FlowFixMe[prop-missing] (>=0.120.0) This comment suppresses an
|
|
215
234
|
* error found when Flow v0.120 was deployed. To see the error,
|
|
216
235
|
* delete this comment and run Flow. */
|
|
217
|
-
traverse(recMapping[mappingKey], recEvt[mappingKey]
|
|
236
|
+
traverse(recMapping[mappingKey], recEvt[mappingKey]);
|
|
218
237
|
}
|
|
219
238
|
}
|
|
220
239
|
};
|
|
221
240
|
this._argMapping.forEach((mapping, idx) => {
|
|
222
|
-
traverse(mapping, args[idx]
|
|
241
|
+
traverse(mapping, args[idx]);
|
|
223
242
|
});
|
|
224
243
|
|
|
225
244
|
this._callListeners(...args);
|
|
@@ -24,7 +24,7 @@ import invariant from 'invariant';
|
|
|
24
24
|
|
|
25
25
|
// TODO T69437152 @petetheheat - Delete this fork when Fabric ships to 100%.
|
|
26
26
|
const NativeAnimatedModule =
|
|
27
|
-
Platform.OS === 'ios' && global.RN$Bridgeless
|
|
27
|
+
Platform.OS === 'ios' && global.RN$Bridgeless === true
|
|
28
28
|
? NativeAnimatedTurboModule
|
|
29
29
|
: NativeAnimatedNonTurboModule;
|
|
30
30
|
|
|
@@ -355,7 +355,7 @@ function shouldUseNativeDriver(
|
|
|
355
355
|
'animated module is missing. Falling back to JS-based animation. To ' +
|
|
356
356
|
'resolve this, add `RCTAnimation` module to this app, or remove ' +
|
|
357
357
|
'`useNativeDriver`. ' +
|
|
358
|
-
'Make sure to run `pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md',
|
|
358
|
+
'Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md',
|
|
359
359
|
);
|
|
360
360
|
_warnedMissingNativeAnimated = true;
|
|
361
361
|
}
|
|
@@ -15,9 +15,9 @@ const createAnimatedComponent = require('../createAnimatedComponent');
|
|
|
15
15
|
|
|
16
16
|
import type {AnimatedComponentType} from '../createAnimatedComponent';
|
|
17
17
|
|
|
18
|
-
module.exports = (createAnimatedComponent(
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
module.exports = (createAnimatedComponent(
|
|
19
|
+
(Image: $FlowFixMe),
|
|
20
|
+
): AnimatedComponentType<
|
|
21
21
|
React.ElementConfig<typeof Image>,
|
|
22
22
|
React.ElementRef<typeof Image>,
|
|
23
23
|
>);
|
|
@@ -22,9 +22,9 @@ const ScrollViewWithEventThrottle = React.forwardRef((props, ref) => (
|
|
|
22
22
|
<ScrollView scrollEventThrottle={0.0001} {...props} ref={ref} />
|
|
23
23
|
));
|
|
24
24
|
|
|
25
|
-
module.exports = (createAnimatedComponent(
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
module.exports = (createAnimatedComponent(
|
|
26
|
+
ScrollViewWithEventThrottle,
|
|
27
|
+
): AnimatedComponentType<
|
|
28
28
|
React.ElementConfig<typeof ScrollView>,
|
|
29
29
|
React.ElementRef<typeof ScrollView>,
|
|
30
30
|
>);
|