@office-iss/react-native-win32 0.75.2 → 0.75.4
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 +1 -0
- package/CHANGELOG.json +31 -1
- package/CHANGELOG.md +20 -4
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.win32.js +15 -15
- package/Libraries/Components/TextInput/TextInput.win32.js +14 -10
- package/Libraries/Components/Touchable/Touchable.win32.js +2 -2
- package/Libraries/Components/View/ViewWin32.js +3 -3
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +0 -1
- package/Libraries/Text/Text.win32.js +3 -3
- package/Libraries/Utilities/Platform.win32.js +4 -4
- package/just-task.js +1 -1
- package/package.json +2 -2
package/.eslintignore
CHANGED
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,37 @@
|
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Mon,
|
|
5
|
+
"date": "Mon, 11 Nov 2024 22:52:53 GMT",
|
|
6
|
+
"version": "0.75.4",
|
|
7
|
+
"tag": "@office-iss/react-native-win32_v0.75.4",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "tatianakapos@microsoft.com",
|
|
12
|
+
"package": "@office-iss/react-native-win32",
|
|
13
|
+
"commit": "3be2698eb57eff3f51efed5d4bf4b2d07bddb7cf",
|
|
14
|
+
"comment": "Promote 0.75 to legacy"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Mon, 28 Oct 2024 15:28:47 GMT",
|
|
21
|
+
"version": "0.75.3",
|
|
22
|
+
"tag": "@office-iss/react-native-win32_v0.75.3",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "jthysell@microsoft.com",
|
|
27
|
+
"package": "@office-iss/react-native-win32",
|
|
28
|
+
"commit": "714778b20b204a62c3a1aa00bb63028a2f67ea46",
|
|
29
|
+
"comment": "Fix repo linting with up-to-date eslint and prettier configuration"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Mon, 30 Sep 2024 16:40:50 GMT",
|
|
6
36
|
"version": "0.75.2",
|
|
7
37
|
"tag": "@office-iss/react-native-win32_v0.75.2",
|
|
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 Mon,
|
|
3
|
+
This log was last generated on Mon, 11 Nov 2024 22:52:53 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 0.75.
|
|
7
|
+
## 0.75.4
|
|
8
8
|
|
|
9
|
-
Mon,
|
|
9
|
+
Mon, 11 Nov 2024 22:52:53 GMT
|
|
10
10
|
|
|
11
11
|
### Patches
|
|
12
12
|
|
|
13
|
-
-
|
|
13
|
+
- Promote 0.75 to legacy (tatianakapos@microsoft.com)
|
|
14
14
|
|
|
15
|
+
## 0.75.3
|
|
16
|
+
|
|
17
|
+
Mon, 28 Oct 2024 15:28:47 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Fix repo linting with up-to-date eslint and prettier configuration (jthysell@microsoft.com)
|
|
22
|
+
|
|
23
|
+
## 0.75.2
|
|
24
|
+
|
|
25
|
+
Mon, 30 Sep 2024 16:40:50 GMT
|
|
26
|
+
|
|
27
|
+
### Patches
|
|
28
|
+
|
|
29
|
+
- integrate 0.75.3 (tatianakapos@microsoft.com)
|
|
30
|
+
|
|
15
31
|
## 0.75.1
|
|
16
32
|
|
|
17
33
|
Mon, 02 Sep 2024 15:14:59 GMT
|
|
@@ -56,21 +56,21 @@ const EventNames: Map<
|
|
|
56
56
|
['accessibilityServiceChanged', 'accessibilityServiceDidChange'],
|
|
57
57
|
])
|
|
58
58
|
: Platform.OS === 'win32'
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
59
|
+
? new Map([
|
|
60
|
+
['change', 'TOUCH_EXPLORATION_EVENT'],
|
|
61
|
+
['reduceMotionChanged', 'REDUCE_MOTION_EVENT'],
|
|
62
|
+
['screenReaderChanged', 'TOUCH_EXPLORATION_EVENT'],
|
|
63
|
+
])
|
|
64
|
+
: new Map([
|
|
65
|
+
['announcementFinished', 'announcementFinished'],
|
|
66
|
+
['boldTextChanged', 'boldTextChanged'],
|
|
67
|
+
['change', 'screenReaderChanged'],
|
|
68
|
+
['grayscaleChanged', 'grayscaleChanged'],
|
|
69
|
+
['invertColorsChanged', 'invertColorsChanged'],
|
|
70
|
+
['reduceMotionChanged', 'reduceMotionChanged'],
|
|
71
|
+
['reduceTransparencyChanged', 'reduceTransparencyChanged'],
|
|
72
|
+
['screenReaderChanged', 'screenReaderChanged'],
|
|
73
|
+
]);
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* Sometimes it's useful to know whether or not the device has a screen reader
|
|
@@ -1175,8 +1175,8 @@ function InternalTextInput(props: Props): React.Node {
|
|
|
1175
1175
|
typeof props.value === 'string'
|
|
1176
1176
|
? props.value
|
|
1177
1177
|
: typeof props.defaultValue === 'string'
|
|
1178
|
-
|
|
1179
|
-
|
|
1178
|
+
? props.defaultValue
|
|
1179
|
+
: '';
|
|
1180
1180
|
|
|
1181
1181
|
// This is necessary in case native updates the text and JS decides
|
|
1182
1182
|
// that the update should be ignored and we should stick with the value
|
|
@@ -1281,8 +1281,12 @@ function InternalTextInput(props: Props): React.Node {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
},
|
|
1283
1283
|
isFocused(): boolean {
|
|
1284
|
-
const currentlyFocusedInput =
|
|
1285
|
-
|
|
1284
|
+
const currentlyFocusedInput =
|
|
1285
|
+
TextInputState.currentlyFocusedInput();
|
|
1286
|
+
return (
|
|
1287
|
+
currentlyFocusedInput !== null &&
|
|
1288
|
+
currentlyFocusedInput === inputRef.current
|
|
1289
|
+
);
|
|
1286
1290
|
},
|
|
1287
1291
|
getNativeRef(): ?React.ElementRef<HostComponent<mixed>> {
|
|
1288
1292
|
return inputRef.current;
|
|
@@ -1823,12 +1827,12 @@ const ExportedForwardRef: React.AbstractComponent<
|
|
|
1823
1827
|
textContentType != null
|
|
1824
1828
|
? textContentType
|
|
1825
1829
|
: Platform.OS === 'ios' &&
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1830
|
+
autoComplete &&
|
|
1831
|
+
autoComplete in autoCompleteWebToTextContentTypeMap
|
|
1832
|
+
? // $FlowFixMe[invalid-computed-prop]
|
|
1833
|
+
// $FlowFixMe[prop-missing]
|
|
1834
|
+
autoCompleteWebToTextContentTypeMap[autoComplete]
|
|
1835
|
+
: textContentType
|
|
1832
1836
|
}
|
|
1833
1837
|
{...restProps}
|
|
1834
1838
|
forwardedRef={forwardedRef}
|
|
@@ -113,9 +113,9 @@ const ViewWin32: React.AbstractComponent<
|
|
|
113
113
|
? // $FlowFixMe[exponential-spread]
|
|
114
114
|
{accessibilityDescribedBy: describedByTarget}
|
|
115
115
|
: // $FlowFixMe[exponential-spread]
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
typeof accessibilityDescribedBy === 'string'
|
|
117
|
+
? {accessibilityDescribedBy}
|
|
118
|
+
: {})}
|
|
119
119
|
{...(typeof accessibilityControls === 'string'
|
|
120
120
|
? {accessibilityControls}
|
|
121
121
|
: {})}
|
|
@@ -110,8 +110,8 @@ const Text: React.AbstractComponent<
|
|
|
110
110
|
checked: ariaChecked,
|
|
111
111
|
disabled: ariaDisabled,
|
|
112
112
|
expanded: ariaExpanded,
|
|
113
|
-
multiselectable: ariaMultiselectable,
|
|
114
|
-
required: ariaRequired,
|
|
113
|
+
multiselectable: ariaMultiselectable, // Win32,
|
|
114
|
+
required: ariaRequired, // Win32
|
|
115
115
|
selected: ariaSelected,
|
|
116
116
|
};
|
|
117
117
|
}
|
|
@@ -370,4 +370,4 @@ const verticalAlignToTextAlignVerticalMap = {
|
|
|
370
370
|
middle: 'center',
|
|
371
371
|
};
|
|
372
372
|
|
|
373
|
-
module.exports = Text;
|
|
373
|
+
module.exports = Text;
|
|
@@ -72,10 +72,10 @@ const Platform: PlatformType = {
|
|
|
72
72
|
? // $FlowFixMe[incompatible-return]
|
|
73
73
|
spec.win32
|
|
74
74
|
: 'native' in spec
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
? // $FlowFixMe[incompatible-return]
|
|
76
|
+
spec.native
|
|
77
|
+
: // $FlowFixMe[incompatible-return]
|
|
78
|
+
spec.default,
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
module.exports = Platform;
|
package/just-task.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
|
-
"version": "0.75.
|
|
3
|
+
"version": "0.75.4",
|
|
4
4
|
"description": "Implementation of react native on top of Office's Win32 platform.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"react-native": "^0.75.3"
|
|
99
99
|
},
|
|
100
100
|
"beachball": {
|
|
101
|
-
"defaultNpmTag": "
|
|
101
|
+
"defaultNpmTag": "v0.75-stable",
|
|
102
102
|
"disallowedChangeTypes": [
|
|
103
103
|
"major",
|
|
104
104
|
"minor",
|