@office-iss/react-native-win32 0.74.1 → 0.74.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/CHANGELOG.json +31 -1
- package/CHANGELOG.md +20 -4
- package/Libraries/Components/TextInput/TextInput.win32.js +6 -2
- package/Libraries/Components/Touchable/TouchableBounce.js +1 -0
- package/Libraries/Components/Touchable/TouchableOpacity.js +1 -0
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/overrides.json +1 -1
- package/package.json +13 -13
- package/src/private/featureflags/NativeReactNativeFeatureFlags.js +4 -2
- package/src/private/featureflags/ReactNativeFeatureFlags.js +16 -6
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,37 @@
|
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 20 May 2024 15:15:26 GMT",
|
|
6
|
+
"version": "0.74.3",
|
|
7
|
+
"tag": "@office-iss/react-native-win32_v0.74.3",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "nate@bracy.dev",
|
|
12
|
+
"package": "@office-iss/react-native-win32",
|
|
13
|
+
"commit": "481f89da064d5a33f4b5b79088dc760bd49f6dd2",
|
|
14
|
+
"comment": "fix(TextInput/isFocused): correctly handle null focused input"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Mon, 06 May 2024 15:17:11 GMT",
|
|
21
|
+
"version": "0.74.2",
|
|
22
|
+
"tag": "@office-iss/react-native-win32_v0.74.2",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
27
|
+
"package": "@office-iss/react-native-win32",
|
|
28
|
+
"commit": "64ae33cd632a5818a03e3d86b0268f801431d85c",
|
|
29
|
+
"comment": "Integrate 0.74.1"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Wed, 01 May 2024 20:37:36 GMT",
|
|
6
36
|
"version": "0.74.1",
|
|
7
37
|
"tag": "@office-iss/react-native-win32_v0.74.1",
|
|
8
38
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,33 @@
|
|
|
1
1
|
# Change Log - @office-iss/react-native-win32
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 20 May 2024 15:15:26 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 0.74.
|
|
7
|
+
## 0.74.3
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Mon, 20 May 2024 15:15:26 GMT
|
|
10
10
|
|
|
11
11
|
### Patches
|
|
12
12
|
|
|
13
|
-
-
|
|
13
|
+
- fix(TextInput/isFocused): correctly handle null focused input (nate@bracy.dev)
|
|
14
14
|
|
|
15
|
+
## 0.74.2
|
|
16
|
+
|
|
17
|
+
Mon, 06 May 2024 15:17:11 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Integrate 0.74.1 (30809111+acoates-ms@users.noreply.github.com)
|
|
22
|
+
|
|
23
|
+
## 0.74.1
|
|
24
|
+
|
|
25
|
+
Wed, 01 May 2024 20:37:36 GMT
|
|
26
|
+
|
|
27
|
+
### Patches
|
|
28
|
+
|
|
29
|
+
- target 0.73 and add carets to versions (tatianakapos@microsoft.com)
|
|
30
|
+
|
|
15
31
|
## 0.74.0
|
|
16
32
|
|
|
17
33
|
Sat, 27 Apr 2024 21:16:05 GMT
|
|
@@ -1314,9 +1314,13 @@ function InternalTextInput(props: Props): React.Node {
|
|
|
1314
1314
|
);
|
|
1315
1315
|
}
|
|
1316
1316
|
},
|
|
1317
|
-
// TODO: Fix this returning true on null === null, when no input is focused
|
|
1318
1317
|
isFocused(): boolean {
|
|
1319
|
-
|
|
1318
|
+
const currentlyFocusedInput =
|
|
1319
|
+
TextInputState.currentlyFocusedInput();
|
|
1320
|
+
return (
|
|
1321
|
+
currentlyFocusedInput !== null &&
|
|
1322
|
+
currentlyFocusedInput === inputRef.current
|
|
1323
|
+
);
|
|
1320
1324
|
},
|
|
1321
1325
|
getNativeRef(): ?React.ElementRef<HostComponent<mixed>> {
|
|
1322
1326
|
return inputRef.current;
|
package/overrides.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
|
-
"version": "0.74.
|
|
3
|
+
"version": "0.74.3",
|
|
4
4
|
"description": "Implementation of react native on top of Office's Win32 platform.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.0.0",
|
|
28
28
|
"@jest/create-cache-key-function": "^29.6.3",
|
|
29
|
-
"@react-native-community/cli": "13.6.
|
|
30
|
-
"@react-native-community/cli-platform-android": "13.6.
|
|
31
|
-
"@react-native-community/cli-platform-ios": "13.6.
|
|
29
|
+
"@react-native-community/cli": "13.6.6",
|
|
30
|
+
"@react-native-community/cli-platform-android": "13.6.6",
|
|
31
|
+
"@react-native-community/cli-platform-ios": "13.6.6",
|
|
32
32
|
"@react-native/assets": "1.0.0",
|
|
33
|
-
"@react-native/assets-registry": "0.74.
|
|
34
|
-
"@react-native/codegen": "0.74.
|
|
35
|
-
"@react-native/community-cli-plugin": "0.74.
|
|
36
|
-
"@react-native/gradle-plugin": "0.74.
|
|
37
|
-
"@react-native/js-polyfills": "0.74.
|
|
38
|
-
"@react-native/normalize-colors": "0.74.
|
|
39
|
-
"@react-native/virtualized-lists": "0.74.
|
|
33
|
+
"@react-native/assets-registry": "0.74.83",
|
|
34
|
+
"@react-native/codegen": "0.74.83",
|
|
35
|
+
"@react-native/community-cli-plugin": "0.74.83",
|
|
36
|
+
"@react-native/gradle-plugin": "0.74.83",
|
|
37
|
+
"@react-native/js-polyfills": "0.74.83",
|
|
38
|
+
"@react-native/normalize-colors": "0.74.83",
|
|
39
|
+
"@react-native/virtualized-lists": "0.74.83",
|
|
40
40
|
"abort-controller": "^3.0.0",
|
|
41
41
|
"anser": "^1.4.9",
|
|
42
42
|
"ansi-regex": "^5.0.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@babel/core": "^7.20.0",
|
|
71
71
|
"@babel/eslint-parser": "^7.20.0",
|
|
72
|
-
"@react-native/metro-config": "0.74.
|
|
72
|
+
"@react-native/metro-config": "0.74.83",
|
|
73
73
|
"@rnw-scripts/babel-react-native-config": "0.0.0",
|
|
74
74
|
"@rnw-scripts/eslint-config": "1.2.9",
|
|
75
75
|
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.13",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"just-scripts": "^1.3.3",
|
|
86
86
|
"prettier": "2.8.8",
|
|
87
87
|
"react": "18.2.0",
|
|
88
|
-
"react-native": "0.74.
|
|
88
|
+
"react-native": "0.74.1",
|
|
89
89
|
"react-native-platform-override": "^1.9.25",
|
|
90
90
|
"typescript": "5.0.4"
|
|
91
91
|
},
|
|
@@ -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<<8f82962343a5146622f36c2de071ff6a>>
|
|
8
8
|
* @flow strict-local
|
|
9
9
|
*/
|
|
10
10
|
|
|
@@ -24,10 +24,12 @@ import * as TurboModuleRegistry from '../../../Libraries/TurboModule/TurboModule
|
|
|
24
24
|
|
|
25
25
|
export interface Spec extends TurboModule {
|
|
26
26
|
+commonTestFlag?: () => boolean;
|
|
27
|
+
+androidEnablePendingFabricTransactions?: () => boolean;
|
|
28
|
+
+batchRenderingUpdatesInEventLoop?: () => boolean;
|
|
29
|
+
+destroyFabricSurfacesInReactInstanceManager?: () => boolean;
|
|
27
30
|
+enableBackgroundExecutor?: () => boolean;
|
|
28
31
|
+useModernRuntimeScheduler?: () => boolean;
|
|
29
32
|
+enableMicrotasks?: () => boolean;
|
|
30
|
-
+batchRenderingUpdatesInEventLoop?: () => boolean;
|
|
31
33
|
+enableSpannableBuildingUnification?: () => boolean;
|
|
32
34
|
+enableCustomDrawOrderFabric?: () => boolean;
|
|
33
35
|
+enableFixForClippedSubviewsCrash?: () => boolean;
|
|
@@ -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<<b7ebc6e4360a4b7733335f283300a4bb>>
|
|
8
8
|
* @flow strict-local
|
|
9
9
|
*/
|
|
10
10
|
|
|
@@ -41,10 +41,12 @@ export type ReactNativeFeatureFlagsJsOnlyOverrides = Partial<ReactNativeFeatureF
|
|
|
41
41
|
export type ReactNativeFeatureFlags = {
|
|
42
42
|
...ReactNativeFeatureFlagsJsOnly,
|
|
43
43
|
commonTestFlag: Getter<boolean>,
|
|
44
|
+
androidEnablePendingFabricTransactions: Getter<boolean>,
|
|
45
|
+
batchRenderingUpdatesInEventLoop: Getter<boolean>,
|
|
46
|
+
destroyFabricSurfacesInReactInstanceManager: Getter<boolean>,
|
|
44
47
|
enableBackgroundExecutor: Getter<boolean>,
|
|
45
48
|
useModernRuntimeScheduler: Getter<boolean>,
|
|
46
49
|
enableMicrotasks: Getter<boolean>,
|
|
47
|
-
batchRenderingUpdatesInEventLoop: Getter<boolean>,
|
|
48
50
|
enableSpannableBuildingUnification: Getter<boolean>,
|
|
49
51
|
enableCustomDrawOrderFabric: Getter<boolean>,
|
|
50
52
|
enableFixForClippedSubviewsCrash: Getter<boolean>,
|
|
@@ -96,6 +98,18 @@ export const shouldUseRemoveClippedSubviewsAsDefaultOnIOS: Getter<boolean> = cre
|
|
|
96
98
|
* Common flag for testing. Do NOT modify.
|
|
97
99
|
*/
|
|
98
100
|
export const commonTestFlag: Getter<boolean> = createNativeFlagGetter('commonTestFlag', false);
|
|
101
|
+
/**
|
|
102
|
+
* To be used with batchRenderingUpdatesInEventLoop. When enbled, the Android mounting layer will concatenate pending transactions to ensure they're applied atomatically
|
|
103
|
+
*/
|
|
104
|
+
export const androidEnablePendingFabricTransactions: Getter<boolean> = createNativeFlagGetter('androidEnablePendingFabricTransactions', false);
|
|
105
|
+
/**
|
|
106
|
+
* When enabled, the RuntimeScheduler processing the event loop will batch all rendering updates and dispatch them together at the end of each iteration of the loop.
|
|
107
|
+
*/
|
|
108
|
+
export const batchRenderingUpdatesInEventLoop: Getter<boolean> = createNativeFlagGetter('batchRenderingUpdatesInEventLoop', false);
|
|
109
|
+
/**
|
|
110
|
+
* When enabled, ReactInstanceManager will clean up Fabric surfaces on destroy().
|
|
111
|
+
*/
|
|
112
|
+
export const destroyFabricSurfacesInReactInstanceManager: Getter<boolean> = createNativeFlagGetter('destroyFabricSurfacesInReactInstanceManager', false);
|
|
99
113
|
/**
|
|
100
114
|
* Enables the use of a background executor to compute layout and commit updates on Fabric (this system is deprecated and should not be used).
|
|
101
115
|
*/
|
|
@@ -108,10 +122,6 @@ export const useModernRuntimeScheduler: Getter<boolean> = createNativeFlagGetter
|
|
|
108
122
|
* Enables the use of microtasks in Hermes (scheduling) and RuntimeScheduler (execution).
|
|
109
123
|
*/
|
|
110
124
|
export const enableMicrotasks: Getter<boolean> = createNativeFlagGetter('enableMicrotasks', false);
|
|
111
|
-
/**
|
|
112
|
-
* When enabled, the RuntimeScheduler processing the event loop will batch all rendering updates and dispatch them together at the end of each iteration of the loop.
|
|
113
|
-
*/
|
|
114
|
-
export const batchRenderingUpdatesInEventLoop: Getter<boolean> = createNativeFlagGetter('batchRenderingUpdatesInEventLoop', false);
|
|
115
125
|
/**
|
|
116
126
|
* Uses new, deduplicated logic for constructing Android Spannables from text fragments
|
|
117
127
|
*/
|