react-native-macos 0.73.12 → 0.73.14
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.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/local-cli/generator-macos/templates/macos/HelloWorld.xcodeproj/project.pbxproj +5 -0
- 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>
|
|
@@ -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
|
@@ -347,6 +347,7 @@
|
|
|
347
347
|
isa = XCBuildConfiguration;
|
|
348
348
|
buildSettings = {
|
|
349
349
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
350
|
+
CLANG_ENABLE_MODULES = YES;
|
|
350
351
|
CURRENT_PROJECT_VERSION = 1;
|
|
351
352
|
DEAD_CODE_STRIPPING = NO;
|
|
352
353
|
INFOPLIST_FILE = "HelloWorld-macos/Info.plist";
|
|
@@ -360,6 +361,8 @@
|
|
|
360
361
|
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.$(PRODUCT_NAME:rfc1034identifier)";
|
|
361
362
|
PRODUCT_NAME = HelloWorld;
|
|
362
363
|
SDKROOT = macosx;
|
|
364
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
365
|
+
SWIFT_VERSION = 5.0;
|
|
363
366
|
};
|
|
364
367
|
name = Debug;
|
|
365
368
|
};
|
|
@@ -367,6 +370,7 @@
|
|
|
367
370
|
isa = XCBuildConfiguration;
|
|
368
371
|
buildSettings = {
|
|
369
372
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
373
|
+
CLANG_ENABLE_MODULES = YES;
|
|
370
374
|
CURRENT_PROJECT_VERSION = 1;
|
|
371
375
|
INFOPLIST_FILE = "HelloWorld-macos/Info.plist";
|
|
372
376
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
@@ -379,6 +383,7 @@
|
|
|
379
383
|
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.$(PRODUCT_NAME:rfc1034identifier)";
|
|
380
384
|
PRODUCT_NAME = HelloWorld;
|
|
381
385
|
SDKROOT = macosx;
|
|
386
|
+
SWIFT_VERSION = 5.0;
|
|
382
387
|
};
|
|
383
388
|
name = Release;
|
|
384
389
|
};
|