react-native-macos 0.71.9 → 0.71.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/Core/ReactNativeVersion.js +1 -1
- package/Libraries/StyleSheet/PlatformColorValueTypes.macos.js +2 -2
- package/Libraries/Text/TextInput/Multiline/RCTUITextView.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
|
@@ -97,12 +97,12 @@ export const normalizeColorObject = (
|
|
|
97
97
|
'colorWithSystemEffect' in color &&
|
|
98
98
|
color.colorWithSystemEffect != null
|
|
99
99
|
) {
|
|
100
|
-
const
|
|
100
|
+
const normalizeColor = require('./normalizeColor');
|
|
101
101
|
const colorWithSystemEffect = color.colorWithSystemEffect;
|
|
102
102
|
const colorObject: NativeColorValue = {
|
|
103
103
|
colorWithSystemEffect: {
|
|
104
104
|
// $FlowFixMe[incompatible-use]
|
|
105
|
-
baseColor:
|
|
105
|
+
baseColor: normalizeColor(colorWithSystemEffect.baseColor),
|
|
106
106
|
// $FlowFixMe[incompatible-use]
|
|
107
107
|
systemEffect: colorWithSystemEffect.systemEffect,
|
|
108
108
|
},
|
|
@@ -25,10 +25,17 @@
|
|
|
25
25
|
#endif // macOS]
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
#if !TARGET_OS_OSX // [macOS]
|
|
28
29
|
static UIFont *defaultPlaceholderFont()
|
|
29
30
|
{
|
|
30
31
|
return [UIFont systemFontOfSize:17];
|
|
31
32
|
}
|
|
33
|
+
#else // [macOS
|
|
34
|
+
static NSFont *defaultPlaceholderFont()
|
|
35
|
+
{
|
|
36
|
+
return [NSFont systemFontOfSize:[NSFont systemFontSize]];
|
|
37
|
+
}
|
|
38
|
+
#endif // macOS]
|
|
32
39
|
|
|
33
40
|
static RCTUIColor *defaultPlaceholderColor() // [macOS]
|
|
34
41
|
{
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED