react-native-windows 0.67.13 → 0.67.14

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
@@ -1,6 +1,36 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
3
  "entries": [
4
+ {
5
+ "date": "Mon, 25 Jul 2022 15:12:24 GMT",
6
+ "tag": "react-native-windows_v0.67.14",
7
+ "version": "0.67.14",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "tatianakapos@microsoft.com",
12
+ "package": "react-native-windows",
13
+ "commit": "2dbb5b9f2e1d1f6b083fe3c5f24dad3fe1792378",
14
+ "comment": "Implement no-hide-accessibility"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 11 Jul 2022 15:11:12 GMT",
21
+ "tag": "react-native-windows_v0.67.13",
22
+ "version": "0.67.13",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "jthysell@microsoft.com",
27
+ "package": "react-native-windows",
28
+ "commit": "not available",
29
+ "comment": "[0.67] CG updates for 6/28/22"
30
+ }
31
+ ]
32
+ }
33
+ },
4
34
  {
5
35
  "date": "Mon, 11 Jul 2022 15:10:53 GMT",
6
36
  "tag": "react-native-windows_v0.67.13",
package/CHANGELOG.md CHANGED
@@ -1,17 +1,33 @@
1
1
  # Change Log - react-native-windows
2
2
 
3
- This log was last generated on Mon, 11 Jul 2022 15:10:53 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 25 Jul 2022 15:12:24 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.67.13
7
+ ## 0.67.14
8
8
 
9
- Mon, 11 Jul 2022 15:10:53 GMT
9
+ Mon, 25 Jul 2022 15:12:24 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - [0.67] CG updates for 6/28/22 (jthysell@microsoft.com)
13
+ - Implement no-hide-accessibility (tatianakapos@microsoft.com)
14
14
 
15
+ ## 0.67.13
16
+
17
+ Mon, 11 Jul 2022 15:11:12 GMT
18
+
19
+ ### Patches
20
+
21
+ - [0.67] CG updates for 6/28/22 (jthysell@microsoft.com)
22
+
23
+ ## 0.67.13
24
+
25
+ Mon, 11 Jul 2022 15:10:53 GMT
26
+
27
+ ### Patches
28
+
29
+ - [0.67] CG updates for 6/28/22 (jthysell@microsoft.com)
30
+
15
31
  ## 0.67.12
16
32
 
17
33
  Mon, 27 Jun 2022 15:07:52 GMT
@@ -75,6 +75,26 @@ const View: React.AbstractComponent<
75
75
  props.onKeyUpCapture && props.onKeyUpCapture(event);
76
76
  };
77
77
 
78
+ // [Windows
79
+ const childrenWithImportantForAccessibility = children => {
80
+ return React.Children.map(children, child => {
81
+ if (React.isValidElement(child)) {
82
+ if (child.props.children) {
83
+ return React.cloneElement(child, {
84
+ accessible: false,
85
+ children: childrenWithImportantForAccessibility(
86
+ child.props.children,
87
+ ),
88
+ });
89
+ } else {
90
+ return React.cloneElement(child, {accessible: false});
91
+ }
92
+ }
93
+ return child;
94
+ });
95
+ };
96
+ // Windows]
97
+
78
98
  return (
79
99
  // [Windows
80
100
  // In core this is a TextAncestor.Provider value={false} See
@@ -94,6 +114,18 @@ const View: React.AbstractComponent<
94
114
  onKeyDownCapture={_keyDownCapture}
95
115
  onKeyUp={_keyUp}
96
116
  onKeyUpCapture={_keyUpCapture}
117
+ // [Windows
118
+ accessible={
119
+ props.importantForAccessibility === 'no-hide-descendants'
120
+ ? false
121
+ : props.accessible
122
+ }
123
+ children={
124
+ props.importantForAccessibility === 'no-hide-descendants'
125
+ ? childrenWithImportantForAccessibility(props.children)
126
+ : props.children
127
+ }
128
+ // Windows]
97
129
  />
98
130
  );
99
131
  }}
@@ -10,10 +10,10 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.67.13</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.67.14</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>67</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>13</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>14</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
18
  </PropertyGroup>
19
19
  </Project>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.67.13",
3
+ "version": "0.67.14",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",