react-native-macos 0.73.11 → 0.73.13
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/React-RCTText.podspec +1 -0
- package/Libraries/Text/Text/RCTTextView.mm +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
|
@@ -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>
|
|
@@ -28,6 +28,7 @@ Pod::Spec.new do |s|
|
|
|
28
28
|
s.source = source
|
|
29
29
|
s.source_files = "**/*.{h,m,mm}"
|
|
30
30
|
s.ios.exclude_files = "**/macOS/*" # [macOS]
|
|
31
|
+
s.visionos.exclude_files = "**/macOS/*" # [visionOS]
|
|
31
32
|
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"
|
|
32
33
|
s.header_dir = "RCTText"
|
|
33
34
|
# [macOS MobileCoreServices Not available on macOS
|
|
@@ -105,6 +105,13 @@
|
|
|
105
105
|
return self;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
#if TARGET_OS_OSX // [macOS
|
|
109
|
+
- (RCTPlatformView *)reactAccessibilityElement
|
|
110
|
+
{
|
|
111
|
+
return _textView;
|
|
112
|
+
}
|
|
113
|
+
#endif // macOS]
|
|
114
|
+
|
|
108
115
|
#if DEBUG // [macOS] description is a debug-only feature
|
|
109
116
|
- (NSString *)description
|
|
110
117
|
{
|
package/React/Base/RCTVersion.m
CHANGED