@office-iss/react-native-win32 0.67.1 → 0.67.2

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,42 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
+ {
5
+ "date": "Mon, 25 Jul 2022 15:12:24 GMT",
6
+ "tag": "@office-iss/react-native-win32_v0.67.2",
7
+ "version": "0.67.2",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "tatianakapos@microsoft.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "2dbb5b9f2e1d1f6b083fe3c5f24dad3fe1792378",
14
+ "comment": "Implement no-hide-accessibility"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 04 Apr 2022 15:13:28 GMT",
21
+ "tag": "@office-iss/react-native-win32_v0.67.1",
22
+ "version": "0.67.1",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "34109996+chiaramooney@users.noreply.github.com",
27
+ "package": "@office-iss/react-native-win32",
28
+ "commit": "not available",
29
+ "comment": "Promote 0.67 to legacy"
30
+ },
31
+ {
32
+ "author": "beachball",
33
+ "package": "@office-iss/react-native-win32",
34
+ "comment": "Bump @react-native-windows/virtualized-list to v0.67.1",
35
+ "commit": "4d4f19bef79e0fb2f6198b18c9e77d0da98a6938"
36
+ }
37
+ ]
38
+ }
39
+ },
4
40
  {
5
41
  "date": "Mon, 04 Apr 2022 15:12:54 GMT",
6
42
  "tag": "@office-iss/react-native-win32_v0.67.1",
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 Mon, 04 Apr 2022 15:12:54 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.1
7
+ ## 0.67.2
8
8
 
9
- Mon, 04 Apr 2022 15:12:54 GMT
9
+ Mon, 25 Jul 2022 15:12:24 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Promote 0.67 to legacy (34109996+chiaramooney@users.noreply.github.com)
14
- - Bump @react-native-windows/virtualized-list to v0.67.1
13
+ - Implement no-hide-accessibility (tatianakapos@microsoft.com)
15
14
 
15
+ ## 0.67.1
16
+
17
+ Mon, 04 Apr 2022 15:13:28 GMT
18
+
19
+ ### Patches
20
+
21
+ - Promote 0.67 to legacy (34109996+chiaramooney@users.noreply.github.com)
22
+ - Bump @react-native-windows/virtualized-list to v0.67.1
23
+
24
+ ## 0.67.1
25
+
26
+ Mon, 04 Apr 2022 15:12:54 GMT
27
+
28
+ ### Patches
29
+
30
+ - Promote 0.67 to legacy (34109996+chiaramooney@users.noreply.github.com)
31
+ - Bump @react-native-windows/virtualized-list to v0.67.1
32
+
16
33
  ## 0.67.0
17
34
 
18
35
  Mon, 24 Jan 2022 16:13:22 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
  }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.67.1",
3
+ "version": "0.67.2",
4
4
  "description": "Implementation of react native on top of Office's Win32 platform.",
5
5
  "license": "MIT",
6
6
  "main": "./index.win32.js",