react-native-macos 0.75.16 → 0.75.18

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,7 +16,7 @@ const version: $ReadOnly<{
16
16
  }> = {
17
17
  major: 0,
18
18
  minor: 75,
19
- patch: 16,
19
+ patch: 18,
20
20
  prerelease: null,
21
21
  };
22
22
 
@@ -634,6 +634,11 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithFrame : (CGRect)frame)
634
634
  return _imageView;
635
635
  }
636
636
 
637
+ - (NSCell *)reactAccessibilityElementCell
638
+ {
639
+ return _imageView.cell;
640
+ }
641
+
637
642
  - (NSColor *)tintColor
638
643
  {
639
644
  return _imageView.tintColor;
@@ -30,6 +30,10 @@ RCT_EXPORT_MODULE()
30
30
  return [[RCTImageView alloc] initWithBridge:self.bridge];
31
31
  }
32
32
 
33
+ #if TARGET_OS_OSX // [macOS
34
+ // setting accessibilityElement on NSImageView has no effect, must be set on NSImageCell
35
+ RCT_REMAP_VIEW_PROPERTY(accessible, reactAccessibilityElementCell.accessibilityElement, BOOL)
36
+ #endif // macOS]
33
37
  RCT_EXPORT_VIEW_PROPERTY(blurRadius, CGFloat)
34
38
  RCT_EXPORT_VIEW_PROPERTY(capInsets, UIEdgeInsets)
35
39
  RCT_REMAP_VIEW_PROPERTY(defaultSource, defaultImage, UIImage)
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(75),
26
- RCTVersionPatch: @(16),
26
+ RCTVersionPatch: @(18),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.75.16
1
+ VERSION_NAME=0.75.18
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", 16,
20
+ "patch", 18,
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 = 16;
20
+ int32_t Patch = 18;
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.16",
3
+ "version": "0.75.18",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {