@office-iss/react-native-win32 0.71.3 → 0.71.5
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 +37 -1
- package/CHANGELOG.md +22 -5
- package/Libraries/Blob/Blob.js +6 -0
- package/Libraries/Components/TextInput/TextInput.js +12 -5
- package/Libraries/Components/TextInput/TextInput.win32.js +890 -194
- package/Libraries/Components/TextInput/Win32TextInputNativeComponent.js +23 -0
- package/Libraries/Components/View/ViewWin32.js +3 -3
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/overrides.json +6 -6
- package/package.json +9 -10
- package/Libraries/Components/TextInput/TextInput.Types.win32.d.ts +0 -51
- package/Libraries/Components/TextInput/TextInput.Types.win32.js +0 -3
- package/Libraries/Components/TextInput/TextInput.Types.win32.js.map +0 -1
- package/src/Libraries/Components/TextInput/TextInput.Types.win32.ts +0 -68
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,43 @@
|
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 27 Apr 2023 19:11:40 GMT",
|
|
6
|
+
"tag": "@office-iss/react-native-win32_v0.71.5",
|
|
7
|
+
"version": "0.71.5",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
12
|
+
"package": "@office-iss/react-native-win32",
|
|
13
|
+
"commit": "e748385ceaa8d5c642fbf3cc6b008a53c088ba55",
|
|
14
|
+
"comment": "Fix ref's on ViewWin32 (enables ViewWin32.focus() calls to work again)"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Thu, 13 Apr 2023 20:50:33 GMT",
|
|
21
|
+
"tag": "@office-iss/react-native-win32_v0.71.4",
|
|
22
|
+
"version": "0.71.4",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
27
|
+
"package": "@office-iss/react-native-win32",
|
|
28
|
+
"commit": "cce2fa1d36c2c2f08c4f1cc9f51574d9fb557a08",
|
|
29
|
+
"comment": "Update TextInput.win32 to align with core"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
33
|
+
"package": "@office-iss/react-native-win32",
|
|
34
|
+
"commit": "3bf4e43731d6ea6da78fb1a4171553dfb9a7fc16",
|
|
35
|
+
"comment": "Sync dependencies with react-native 0.71.6"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Tue, 21 Mar 2023 20:58:57 GMT",
|
|
6
42
|
"tag": "@office-iss/react-native-win32_v0.71.3",
|
|
7
43
|
"version": "0.71.3",
|
|
8
44
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,35 @@
|
|
|
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 Thu, 27 Apr 2023 19:11:40 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 0.71.
|
|
7
|
+
## 0.71.5
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Thu, 27 Apr 2023 19:11:40 GMT
|
|
10
10
|
|
|
11
11
|
### Patches
|
|
12
12
|
|
|
13
|
-
-
|
|
14
|
-
- Minor TS type updates (30809111+acoates-ms@users.noreply.github.com)
|
|
13
|
+
- Fix ref's on ViewWin32 (enables ViewWin32.focus() calls to work again) (30809111+acoates-ms@users.noreply.github.com)
|
|
15
14
|
|
|
15
|
+
## 0.71.4
|
|
16
|
+
|
|
17
|
+
Thu, 13 Apr 2023 20:50:33 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Update TextInput.win32 to align with core (30809111+acoates-ms@users.noreply.github.com)
|
|
22
|
+
- Sync dependencies with react-native 0.71.6 (4123478+tido64@users.noreply.github.com)
|
|
23
|
+
|
|
24
|
+
## 0.71.3
|
|
25
|
+
|
|
26
|
+
Tue, 21 Mar 2023 20:58:57 GMT
|
|
27
|
+
|
|
28
|
+
### Patches
|
|
29
|
+
|
|
30
|
+
- Align dependencies with react-native@0.71.4 (30809111+acoates-ms@users.noreply.github.com)
|
|
31
|
+
- Minor TS type updates (30809111+acoates-ms@users.noreply.github.com)
|
|
32
|
+
|
|
16
33
|
## 0.71.1
|
|
17
34
|
|
|
18
35
|
Mon, 13 Feb 2023 16:16:01 GMT
|
package/Libraries/Blob/Blob.js
CHANGED
|
@@ -105,6 +105,12 @@ class Blob {
|
|
|
105
105
|
blobId: this.data.blobId,
|
|
106
106
|
offset,
|
|
107
107
|
size,
|
|
108
|
+
/* Since `blob.slice()` creates a new view onto the same binary
|
|
109
|
+
* data as the original blob, we should re-use the same collector
|
|
110
|
+
* object so that the underlying resource gets deallocated when
|
|
111
|
+
* the last view into the data is released, not the first.
|
|
112
|
+
*/
|
|
113
|
+
__collector: this.data.__collector,
|
|
108
114
|
});
|
|
109
115
|
}
|
|
110
116
|
|
|
@@ -349,6 +349,9 @@ type IOSProps = $ReadOnly<{|
|
|
|
349
349
|
/**
|
|
350
350
|
* Give the keyboard and the system information about the
|
|
351
351
|
* expected semantic meaning for the content that users enter.
|
|
352
|
+
* `autoComplete` property accomplishes same behavior and is recommended as its supported by both platforms.
|
|
353
|
+
* Avoid using both `autoComplete` and `textContentType`, you can use `Platform.select` for differing platform behaviors.
|
|
354
|
+
* For backwards compatibility, when both set, `textContentType` takes precedence on iOS.
|
|
352
355
|
* @platform ios
|
|
353
356
|
*/
|
|
354
357
|
textContentType?: ?TextContentType,
|
|
@@ -1630,16 +1633,20 @@ const ExportedForwardRef: React.AbstractComponent<
|
|
|
1630
1633
|
}
|
|
1631
1634
|
autoComplete={
|
|
1632
1635
|
Platform.OS === 'android'
|
|
1633
|
-
? // $FlowFixMe
|
|
1636
|
+
? // $FlowFixMe[invalid-computed-prop]
|
|
1637
|
+
// $FlowFixMe[prop-missing]
|
|
1634
1638
|
autoCompleteWebToAutoCompleteAndroidMap[autoComplete] ??
|
|
1635
1639
|
autoComplete
|
|
1636
1640
|
: undefined
|
|
1637
1641
|
}
|
|
1638
1642
|
textContentType={
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
+
textContentType != null
|
|
1644
|
+
? textContentType
|
|
1645
|
+
: Platform.OS === 'ios' &&
|
|
1646
|
+
autoComplete &&
|
|
1647
|
+
autoComplete in autoCompleteWebToTextContentTypeMap
|
|
1648
|
+
? // $FlowFixMe[invalid-computed-prop]
|
|
1649
|
+
// $FlowFixMe[prop-missing]
|
|
1643
1650
|
autoCompleteWebToTextContentTypeMap[autoComplete]
|
|
1644
1651
|
: textContentType
|
|
1645
1652
|
}
|