react-native-macos 0.73.24 → 0.73.26

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.
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 73,
15
- patch: 24,
15
+ patch: 26,
16
16
  prerelease: null,
17
17
  };
@@ -121,6 +121,12 @@
121
121
  return self;
122
122
  }
123
123
 
124
+ #if TARGET_OS_OSX
125
+ - (NSRange)selectedRange {
126
+ return [[self currentEditor] selectedRange];
127
+ }
128
+ #endif
129
+
124
130
  - (void)_textDidChange
125
131
  {
126
132
  _textWasPasted = NO;
@@ -137,6 +137,9 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)coder)
137
137
  // Pair the mouse down events with mouse up events so our _nativeTouches cache doesn't get stale
138
138
  if ([targetView isKindOfClass:[NSControl class]]) {
139
139
  _shouldSendMouseUpOnSystemBehalf = [(NSControl*)targetView isEnabled];
140
+ } else if ([targetView isKindOfClass:[NSTabView class]]) {
141
+ // NSTabView sends click events for tab buttons but doesn't inherit from NSControl
142
+ _shouldSendMouseUpOnSystemBehalf = YES;
140
143
  } else if ([targetView isKindOfClass:[NSText class]]) {
141
144
  _shouldSendMouseUpOnSystemBehalf = [(NSText*)targetView isSelectable];
142
145
  }
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(73),
26
- RCTVersionPatch: @(24),
26
+ RCTVersionPatch: @(26),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.73.24
1
+ VERSION_NAME=0.73.26
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", 73,
20
- "patch", 24,
20
+ "patch", 26,
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 = 73;
20
- int32_t Patch = 24;
20
+ int32_t Patch = 26;
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.73.24",
3
+ "version": "0.73.26",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- package com.facebook.react.common.build;
9
-
10
- import com.facebook.react.BuildConfig;
11
-
12
- /**
13
- * Convenience class for accessing auto-generated BuildConfig so that a) other modules can just
14
- * depend on this module instead of having to manually depend on generating their own build config
15
- * and b) we don't have to deal with IntelliJ getting confused about the autogenerated BuildConfig
16
- * class all over the place.
17
- */
18
- public class ReactBuildConfig {
19
-
20
- public static final boolean DEBUG = BuildConfig.DEBUG;
21
- public static final boolean IS_INTERNAL_BUILD = BuildConfig.IS_INTERNAL_BUILD;
22
- public static final int EXOPACKAGE_FLAGS = BuildConfig.EXOPACKAGE_FLAGS;
23
- }