react-native-windows 0.67.13 → 0.67.15

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,66 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
3
  "entries": [
4
+ {
5
+ "date": "Mon, 19 Sep 2022 15:10:38 GMT",
6
+ "tag": "react-native-windows_v0.67.15",
7
+ "version": "0.67.15",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "ericroz@fb.com",
12
+ "package": "react-native-windows",
13
+ "commit": "8f3065a64a4faaf7f4d005d3275db226bbf9089e",
14
+ "comment": "Fixes bug introduced by pointerEvents change"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 25 Jul 2022 15:13:10 GMT",
21
+ "tag": "react-native-windows_v0.67.14",
22
+ "version": "0.67.14",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "tatianakapos@microsoft.com",
27
+ "package": "react-native-windows",
28
+ "commit": "not available",
29
+ "comment": "Implement no-hide-accessibility"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Mon, 25 Jul 2022 15:12:24 GMT",
36
+ "tag": "react-native-windows_v0.67.14",
37
+ "version": "0.67.14",
38
+ "comments": {
39
+ "patch": [
40
+ {
41
+ "author": "tatianakapos@microsoft.com",
42
+ "package": "react-native-windows",
43
+ "commit": "2dbb5b9f2e1d1f6b083fe3c5f24dad3fe1792378",
44
+ "comment": "Implement no-hide-accessibility"
45
+ }
46
+ ]
47
+ }
48
+ },
49
+ {
50
+ "date": "Mon, 11 Jul 2022 15:11:12 GMT",
51
+ "tag": "react-native-windows_v0.67.13",
52
+ "version": "0.67.13",
53
+ "comments": {
54
+ "patch": [
55
+ {
56
+ "author": "jthysell@microsoft.com",
57
+ "package": "react-native-windows",
58
+ "commit": "not available",
59
+ "comment": "[0.67] CG updates for 6/28/22"
60
+ }
61
+ ]
62
+ }
63
+ },
4
64
  {
5
65
  "date": "Mon, 11 Jul 2022 15:10:53 GMT",
6
66
  "tag": "react-native-windows_v0.67.13",
package/CHANGELOG.md CHANGED
@@ -1,17 +1,49 @@
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, 19 Sep 2022 15:10:38 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.67.13
7
+ ## 0.67.15
8
8
 
9
- Mon, 11 Jul 2022 15:10:53 GMT
9
+ Mon, 19 Sep 2022 15:10:38 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - [0.67] CG updates for 6/28/22 (jthysell@microsoft.com)
13
+ - Fixes bug introduced by pointerEvents change (ericroz@fb.com)
14
14
 
15
+ ## 0.67.14
16
+
17
+ Mon, 25 Jul 2022 15:13:10 GMT
18
+
19
+ ### Patches
20
+
21
+ - Implement no-hide-accessibility (tatianakapos@microsoft.com)
22
+
23
+ ## 0.67.14
24
+
25
+ Mon, 25 Jul 2022 15:12:24 GMT
26
+
27
+ ### Patches
28
+
29
+ - Implement no-hide-accessibility (tatianakapos@microsoft.com)
30
+
31
+ ## 0.67.13
32
+
33
+ Mon, 11 Jul 2022 15:11:12 GMT
34
+
35
+ ### Patches
36
+
37
+ - [0.67] CG updates for 6/28/22 (jthysell@microsoft.com)
38
+
39
+ ## 0.67.13
40
+
41
+ Mon, 11 Jul 2022 15:10:53 GMT
42
+
43
+ ### Patches
44
+
45
+ - [0.67] CG updates for 6/28/22 (jthysell@microsoft.com)
46
+
15
47
  ## 0.67.12
16
48
 
17
49
  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
  }}
@@ -271,9 +271,11 @@ bool ViewManagerBase::UpdateProperty(
271
271
  const auto iter = pointerEventsMap.find(propertyValue.AsString());
272
272
  if (iter != pointerEventsMap.end()) {
273
273
  nodeToUpdate->m_pointerEvents = iter->second;
274
- if (nodeToUpdate->m_pointerEvents == PointerEventsKind::None) {
275
- if (const auto uiElement = nodeToUpdate->GetView().try_as<xaml::UIElement>()) {
274
+ if (const auto uiElement = nodeToUpdate->GetView().try_as<xaml::UIElement>()) {
275
+ if (nodeToUpdate->m_pointerEvents == PointerEventsKind::None) {
276
276
  uiElement.IsHitTestVisible(false);
277
+ } else {
278
+ uiElement.ClearValue(xaml::UIElement::IsHitTestVisibleProperty());
277
279
  }
278
280
  }
279
281
  } else {
@@ -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.15</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>67</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>13</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>15</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.15",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",