react-native-macos 0.73.22 → 0.73.23

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: 22,
15
+ patch: 23,
16
16
  prerelease: null,
17
17
  };
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(73),
26
- RCTVersionPatch: @(22),
26
+ RCTVersionPatch: @(23),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1318,6 +1318,14 @@ static CGFloat RCTDefaultIfNegativeTo(CGFloat defaultValue, CGFloat x)
1318
1318
  [self updateClippingForLayer:layer];
1319
1319
  }
1320
1320
 
1321
+ #if TARGET_OS_OSX // [macOS
1322
+ - (void)updateReactTransformInternal:(CATransform3D)transform
1323
+ {
1324
+ [self setTransform3D:transform];
1325
+ [self setNeedsDisplay];
1326
+ }
1327
+ #endif // macOS]
1328
+
1321
1329
  static BOOL RCTLayerHasShadow(CALayer *layer)
1322
1330
  {
1323
1331
  return layer.shadowOpacity * CGColorGetAlpha(layer.shadowColor) > 0;
@@ -77,6 +77,14 @@
77
77
  */
78
78
  - (void)reactSetFrame:(CGRect)frame;
79
79
 
80
+
81
+ #if TARGET_OS_OSX // [macOS
82
+ /**
83
+ * Used by macOS to propagate transform changes internally.
84
+ */
85
+ - (void)updateReactTransformInternal:(CATransform3D)transform;
86
+ #endif // macOS]
87
+
80
88
  /**
81
89
  * This method finds and returns the containing view controller for the view.
82
90
  */
@@ -306,10 +306,21 @@ static void updateTransform(RCTPlatformView *view) // [macOS]
306
306
  transform = view.reactTransform;
307
307
  }
308
308
 
309
+ #if !TARGET_OS_OSX // [macOS]
309
310
  view.layer.transform = transform;
310
311
  // Enable edge antialiasing in rotation, skew, or perspective transforms
311
312
  view.layer.allowsEdgeAntialiasing = transform.m12 != 0.0f || transform.m21 != 0.0f || transform.m34 != 0.0f;
313
+ #else // [macOS
314
+ [view updateReactTransformInternal:transform];
315
+ #endif // macOS]
316
+ }
317
+
318
+ #if TARGET_OS_OSX // [macOS
319
+ - (void)updateReactTransformInternal:(CATransform3D)transform
320
+ {
321
+ // Do nothing, this will get overridden by RCTView and other subclasses as needed.
312
322
  }
323
+ #endif // macOS]
313
324
 
314
325
  - (UIViewController *)reactViewController
315
326
  {
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.73.22
1
+ VERSION_NAME=0.73.23
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", 22,
20
+ "patch", 23,
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 = 22;
20
+ int32_t Patch = 23;
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.22",
3
+ "version": "0.73.23",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {