react-native-macos 0.71.14 → 0.71.16

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: 71,
15
- patch: 14,
15
+ patch: 16,
16
16
  prerelease: null,
17
17
  };
@@ -232,6 +232,8 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)coder)
232
232
  CGPoint rootViewLocation = [_cachedRootView.window.contentView convertPoint:location toView:_cachedRootView];
233
233
  NSView *touchView = _touchViews[touchIndex];
234
234
  CGPoint touchViewLocation = [touchView convertPoint:location fromView:nil];
235
+ // JavaScript expects coordinates to have (0,0) at top left, unlike the macOS coordinate system
236
+ rootViewLocation.y = NSHeight([[_cachedRootView window] frame]) - rootViewLocation.y;
235
237
  #endif // macOS]
236
238
 
237
239
  NSMutableDictionary *reactTouch = _reactTouches[touchIndex];
@@ -395,8 +395,8 @@ CGPathRef UIBezierPathCreateCGPathRef(UIBezierPath *path);
395
395
 
396
396
  - (void)setNeedsDisplay;
397
397
 
398
- // An override of an undocumented API that controls the layer's masksToBounds property
399
- @property (nonatomic) BOOL clipsToBounds;
398
+ // FUTURE: When Xcode 14 is no longer supported (CI is building with Xcode 15), we can remove this override since it's now declared on NSView
399
+ @property BOOL clipsToBounds;
400
400
  @property (nonatomic, copy) NSColor *backgroundColor;
401
401
  @property (nonatomic) CGAffineTransform transform;
402
402
 
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(71),
26
- RCTVersionPatch: @(14),
26
+ RCTVersionPatch: @(16),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.71.14
1
+ VERSION_NAME=0.71.16
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  # JVM Versions
@@ -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", 71,
20
- "patch", 14,
20
+ "patch", 16,
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 = 71;
20
- int32_t Patch = 14;
20
+ int32_t Patch = 16;
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.71.14",
3
+ "version": "0.71.16",
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": "18.2.0",
15
- "react-native-macos": "0.71.14"
15
+ "react-native-macos": "0.71.16"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@babel/core": "^7.20.0",