react-native-macos 0.68.14 → 0.68.17

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.
@@ -16,6 +16,6 @@
16
16
  exports.version = {
17
17
  major: 0,
18
18
  minor: 68,
19
- patch: 14,
19
+ patch: 17,
20
20
  prerelease: null,
21
21
  };
@@ -105,7 +105,6 @@
105
105
  #if TARGET_OS_OSX // [TODO(macOS GH#774)
106
106
  [self setBordered:NO];
107
107
  [self setAllowsEditingTextAttributes:YES];
108
- [self setAccessibilityRole:NSAccessibilityTextFieldRole];
109
108
  [self setBackgroundColor:[NSColor clearColor]];
110
109
  #endif // ]TODO(macOS GH#774)
111
110
 
@@ -127,7 +126,11 @@
127
126
 
128
127
  #pragma mark - Accessibility
129
128
 
129
+ #if !TARGET_OS_OSX // [TODO(macOS GH#774)
130
130
  - (void)setIsAccessibilityElement:(BOOL)isAccessibilityElement
131
+ #else
132
+ - (void)setAccessibilityElement:(BOOL)isAccessibilityElement
133
+ #endif // ]TODO(macOS GH#774)
131
134
  {
132
135
  // UITextField is accessible by default (some nested views are) and disabling that is not supported.
133
136
  // On iOS accessible elements cannot be nested, therefore enabling accessibility for some container view
@@ -27,7 +27,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
27
27
  __rnVersion = @{
28
28
  RCTVersionMajor: @(0),
29
29
  RCTVersionMinor: @(68),
30
- RCTVersionPatch: @(14),
30
+ RCTVersionPatch: @(17),
31
31
  RCTVersionPrerelease: [NSNull null],
32
32
  };
33
33
  });
@@ -1596,6 +1596,9 @@ NSString* const downArrowPressKey = @"ArrowDown";
1596
1596
  BOOL tabKeyPressed = NO;
1597
1597
  BOOL escapeKeyPressed = NO;
1598
1598
  NSString *key = event.charactersIgnoringModifiers;
1599
+ if ([key length] == 0) {
1600
+ return nil;
1601
+ }
1599
1602
  unichar const code = [key characterAtIndex:0];
1600
1603
 
1601
1604
  // detect arrow key presses
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.68.14
1
+ VERSION_NAME=0.68.17
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  POM_NAME=ReactNative
@@ -21,6 +21,6 @@ public class ReactNativeVersion {
21
21
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
22
22
  "major", 0,
23
23
  "minor", 68,
24
- "patch", 14,
24
+ "patch", 17,
25
25
  "prerelease", null);
26
26
  }
@@ -21,7 +21,7 @@ namespace facebook::react {
21
21
  constexpr struct {
22
22
  int32_t Major = 0;
23
23
  int32_t Minor = 68;
24
- int32_t Patch = 14;
24
+ int32_t Patch = 17;
25
25
  std::string_view Prerelease = "";
26
26
  } ReactNativeVersion;
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-macos",
3
- "version": "0.68.14",
3
+ "version": "0.68.17",
4
4
  "bin": "./cli.js",
5
5
  "description": "React Native for macOS",
6
6
  "license": "MIT",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "react": "17.0.2",
15
- "react-native-macos": "0.68.14"
15
+ "react-native-macos": "0.68.17"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@babel/core": "^7.12.9",