react-native-macos 0.72.10 → 0.72.12

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.
@@ -451,7 +451,10 @@ class Button extends React.Component<ButtonProps> {
451
451
  tooltip={tooltip} // [macOS]
452
452
  touchSoundDisabled={touchSoundDisabled}>
453
453
  <View style={buttonStyles}>
454
- <Text style={textStyles} disabled={disabled}>
454
+ <Text
455
+ style={textStyles}
456
+ disabled={disabled}
457
+ accessible={Platform.OS !== 'macos' /* [macOS] */}>
455
458
  {formattedTitle}
456
459
  </Text>
457
460
  </View>
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 72,
15
- patch: 10,
15
+ patch: 12,
16
16
  prerelease: null,
17
17
  };
@@ -640,12 +640,12 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithFrame : (CGRect)frame)
640
640
 
641
641
  - (NSColor *)tintColor
642
642
  {
643
- return _imageView.contentTintColor;
643
+ return _imageView.tintColor;
644
644
  }
645
645
 
646
646
  - (void)setTintColor:(NSColor *)tintColor
647
647
  {
648
- _imageView.contentTintColor = tintColor;
648
+ [_imageView setTintColor:tintColor];
649
649
  }
650
650
  #endif // macOS]
651
651
 
@@ -98,6 +98,13 @@
98
98
  return self;
99
99
  }
100
100
 
101
+ #if TARGET_OS_OSX // [macOS
102
+ - (RCTPlatformView *)reactAccessibilityElement
103
+ {
104
+ return _textView;
105
+ }
106
+ #endif // macOS]
107
+
101
108
  #if DEBUG // [macOS] description is a debug-only feature
102
109
  - (NSString *)description
103
110
  {
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(72),
26
- RCTVersionPatch: @(10),
26
+ RCTVersionPatch: @(12),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.72.10
1
+ VERSION_NAME=0.72.12
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", 72,
20
- "patch", 10,
20
+ "patch", 12,
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 = 72;
20
- int32_t Patch = 10;
20
+ int32_t Patch = 12;
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.72.10",
3
+ "version": "0.72.12",
4
4
  "bin": "./cli.js",
5
5
  "description": "React Native for macOS",
6
6
  "license": "MIT",
@@ -13,7 +13,7 @@
13
13
  "dependencies": {
14
14
  "react": "18.2.0",
15
15
  "react-native-macos": "1000.0.0",
16
- "react-native": "0.72.10"
16
+ "react-native": "0.72.12"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@babel/core": "^7.20.0",