@office-iss/react-native-win32 0.71.3 → 0.71.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/CHANGELOG.json CHANGED
@@ -2,7 +2,28 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 21 Mar 2023 20:58:27 GMT",
5
+ "date": "Thu, 13 Apr 2023 20:50:06 GMT",
6
+ "tag": "@office-iss/react-native-win32_v0.71.4",
7
+ "version": "0.71.4",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "30809111+acoates-ms@users.noreply.github.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "cce2fa1d36c2c2f08c4f1cc9f51574d9fb557a08",
14
+ "comment": "Update TextInput.win32 to align with core"
15
+ },
16
+ {
17
+ "author": "4123478+tido64@users.noreply.github.com",
18
+ "package": "@office-iss/react-native-win32",
19
+ "commit": "3bf4e43731d6ea6da78fb1a4171553dfb9a7fc16",
20
+ "comment": "Sync dependencies with react-native 0.71.6"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Tue, 21 Mar 2023 20:58:57 GMT",
6
27
  "tag": "@office-iss/react-native-win32_v0.71.3",
7
28
  "version": "0.71.3",
8
29
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,18 +1,27 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- This log was last generated on Tue, 21 Mar 2023 20:58:27 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 13 Apr 2023 20:50:06 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.71.3
7
+ ## 0.71.4
8
8
 
9
- Tue, 21 Mar 2023 20:58:27 GMT
9
+ Thu, 13 Apr 2023 20:50:06 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Align dependencies with react-native@0.71.4 (30809111+acoates-ms@users.noreply.github.com)
14
- - Minor TS type updates (30809111+acoates-ms@users.noreply.github.com)
13
+ - Update TextInput.win32 to align with core (30809111+acoates-ms@users.noreply.github.com)
14
+ - Sync dependencies with react-native 0.71.6 (4123478+tido64@users.noreply.github.com)
15
15
 
16
+ ## 0.71.3
17
+
18
+ Tue, 21 Mar 2023 20:58:57 GMT
19
+
20
+ ### Patches
21
+
22
+ - Align dependencies with react-native@0.71.4 (30809111+acoates-ms@users.noreply.github.com)
23
+ - Minor TS type updates (30809111+acoates-ms@users.noreply.github.com)
24
+
16
25
  ## 0.71.1
17
26
 
18
27
  Mon, 13 Feb 2023 16:16:01 GMT
@@ -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
- Platform.OS === 'ios' &&
1640
- autoComplete &&
1641
- autoComplete in autoCompleteWebToTextContentTypeMap
1642
- ? // $FlowFixMe
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
  }