react-native-macos 0.75.31 → 0.75.33

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.
@@ -105,7 +105,11 @@ function focusTextInput(textField: ?ComponentRef) {
105
105
 
106
106
  if (textField != null) {
107
107
  const fieldCanBeFocused =
108
- currentlyFocusedInputRef !== textField &&
108
+ // [macOS currentlyFocusedInputRef does not account for the fact that any arbritrary view can
109
+ // recieve focus on desktop. https://github.com/facebook/react-native/pull/52472/ fixes this,
110
+ // disable the check for now
111
+ // currentlyFocusedInputRef !== textField &&
112
+ // macOS]
109
113
  // $FlowFixMe - `currentProps` is missing in `NativeMethods`
110
114
  textField.currentProps?.editable !== false;
111
115
 
@@ -16,7 +16,7 @@ const version: $ReadOnly<{
16
16
  }> = {
17
17
  major: 0,
18
18
  minor: 75,
19
- patch: 31,
19
+ patch: 33,
20
20
  prerelease: null,
21
21
  };
22
22
 
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(75),
26
- RCTVersionPatch: @(31),
26
+ RCTVersionPatch: @(33),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -63,6 +63,30 @@
63
63
  return @"PageUp";
64
64
  } else if (code == NSPageDownFunctionKey) {
65
65
  return @"PageDown";
66
+ } else if (code == NSF1FunctionKey) {
67
+ return @"F1";
68
+ } else if (code == NSF2FunctionKey) {
69
+ return @"F2";
70
+ } else if (code == NSF3FunctionKey) {
71
+ return @"F3";
72
+ } else if (code == NSF4FunctionKey) {
73
+ return @"F4";
74
+ } else if (code == NSF5FunctionKey) {
75
+ return @"F5";
76
+ } else if (code == NSF6FunctionKey) {
77
+ return @"F6";
78
+ } else if (code == NSF7FunctionKey) {
79
+ return @"F7";
80
+ } else if (code == NSF8FunctionKey) {
81
+ return @"F8";
82
+ } else if (code == NSF9FunctionKey) {
83
+ return @"F9";
84
+ } else if (code == NSF10FunctionKey) {
85
+ return @"F10";
86
+ } else if (code == NSF11FunctionKey) {
87
+ return @"F11";
88
+ } else if (code == NSF12FunctionKey) {
89
+ return @"F12";
66
90
  }
67
91
 
68
92
  return key;
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.75.31
1
+ VERSION_NAME=0.75.33
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
 
4
4
  android.useAndroidX=true
@@ -17,6 +17,6 @@ public class ReactNativeVersion {
17
17
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
18
18
  "major", 0,
19
19
  "minor", 75,
20
- "patch", 31,
20
+ "patch", 33,
21
21
  "prerelease", null);
22
22
  }
@@ -17,7 +17,7 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 75;
20
- int32_t Patch = 31;
20
+ int32_t Patch = 33;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-macos",
3
- "version": "0.75.31",
3
+ "version": "0.75.33",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {