react-native-macos 0.75.16 → 0.75.17
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.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Image/RCTImageView.mm +5 -0
- package/Libraries/Image/RCTImageViewManager.mm +4 -0
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
|
@@ -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)
|
package/React/Base/RCTVersion.m
CHANGED