react-native-macos 0.72.10 → 0.72.11
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/Components/Button.js +4 -1
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Text/Text/RCTTextView.m +7 -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
- package/template/package.json +1 -1
|
@@ -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
|
|
454
|
+
<Text
|
|
455
|
+
style={textStyles}
|
|
456
|
+
disabled={disabled}
|
|
457
|
+
accessible={Platform.OS !== 'macos' /* [macOS] */}>
|
|
455
458
|
{formattedTitle}
|
|
456
459
|
</Text>
|
|
457
460
|
</View>
|
|
@@ -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
|
{
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED