@office-iss/react-native-win32 0.64.10 → 0.64.11

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,22 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 17 Jan 2022 16:09:50 GMT",
5
+ "date": "Mon, 31 Jan 2022 22:58:05 GMT",
6
+ "tag": "@office-iss/react-native-win32_v0.64.11",
7
+ "version": "0.64.11",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "[Win32] Move acceptsKeyboardFocus back to just a warning",
12
+ "author": "30809111+acoates-ms@users.noreply.github.com",
13
+ "commit": "eb8b9b2da9123b8538886365df012b3d3da38367",
14
+ "package": "@office-iss/react-native-win32"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 17 Jan 2022 16:10:13 GMT",
6
21
  "tag": "@office-iss/react-native-win32_v0.64.10",
7
22
  "version": "0.64.10",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,17 +1,25 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- This log was last generated on Mon, 17 Jan 2022 16:09:50 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 31 Jan 2022 22:58:05 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.64.10
7
+ ## 0.64.11
8
8
 
9
- Mon, 17 Jan 2022 16:09:50 GMT
9
+ Mon, 31 Jan 2022 22:58:05 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Port windows pressable with extra desktop support to win32 (saadnajmi2@gmail.com)
13
+ - [Win32] Move acceptsKeyboardFocus back to just a warning (30809111+acoates-ms@users.noreply.github.com)
14
14
 
15
+ ## 0.64.10
16
+
17
+ Mon, 17 Jan 2022 16:10:13 GMT
18
+
19
+ ### Patches
20
+
21
+ - Port windows pressable with extra desktop support to win32 (saadnajmi2@gmail.com)
22
+
15
23
  ## 0.64.9
16
24
 
17
25
  Mon, 15 Nov 2021 16:09:20 GMT
@@ -15,6 +15,7 @@ import type {ViewProps} from './ViewPropTypes';
15
15
  const React = require('react');
16
16
  import ViewNativeComponent from './ViewNativeComponent';
17
17
  const TextAncestor = require('../../Text/TextAncestor');
18
+ import warnOnce from '../../Utilities/warnOnce'; // [Windows]
18
19
  import invariant from 'invariant'; // [Windows]
19
20
 
20
21
  export type Props = ViewProps;
@@ -30,14 +31,15 @@ const View: React.AbstractComponent<
30
31
  ViewProps,
31
32
  React.ElementRef<typeof ViewNativeComponent>,
32
33
  > = React.forwardRef((props: ViewProps, forwardedRef) => {
33
- // [Windows
34
- invariant(
35
- // $FlowFixMe Wanting to catch untyped usages
36
- !props || props.acceptsKeyboardFocus === undefined,
37
- 'Support for the "acceptsKeyboardFocus" property has been removed in favor of "focusable"',
38
- );
39
- // Windows]
40
-
34
+ // [Win32 Intercept props to warn about them going away
35
+ // $FlowFixMe react-native-win32 doesn't have forked types in Flow yet
36
+ if (props.acceptsKeyboardFocus !== undefined) {
37
+ warnOnce(
38
+ 'deprecated-acceptsKeyboardFocus',
39
+ '"acceptsKeyboardFocus" has been deprecated in favor of "focusable" and will be removed soon',
40
+ );
41
+ }
42
+ // Win32]
41
43
  return (
42
44
  // [Windows
43
45
  // In core this is a TextAncestor.Provider value={false} See
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.64.10",
3
+ "version": "0.64.11",
4
4
  "description": "Implementation of react native on top of Office's Win32 platform.",
5
5
  "license": "MIT",
6
6
  "main": "./index.win32.js",