react-native-windows 0.77.1 → 0.77.2
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.
|
@@ -241,15 +241,20 @@ bool Theme::TryGetPlatformColor(const std::string &platformColor, winrt::Windows
|
|
|
241
241
|
{"ButtonForegroundPressed", "TextFillColorSecondary"},
|
|
242
242
|
{"ButtonForegroundPointerOver", "TextFillColorPrimary"},
|
|
243
243
|
{"ButtonBackground", "ControlFillColorDefault"},
|
|
244
|
+
{"ButtonBorderBrush", "ButtonBorder"},
|
|
244
245
|
{"ButtonBorder", "ControlElevationBorder"},
|
|
245
246
|
{"ControlElevationBorder",
|
|
246
247
|
"ControlStrokeColorSecondary"}, // TODO ControlElevationBorderBrush is actually gradient brush
|
|
247
248
|
{"ButtonForeground", "TextFillColorPrimary"},
|
|
249
|
+
{"SolidBackgroundFillColorBaseBrush", "SolidBackgroundFillColorBase"},
|
|
248
250
|
{"ButtonBackgroundDisabled", "ControlFillColorDisabled"},
|
|
251
|
+
{"ButtonBorderBrushDisabled", "ButtonBorderDisabled"},
|
|
249
252
|
{"ButtonBorderDisabled", "ControlStrokeColorDefault"},
|
|
250
253
|
{"ButtonForegroundDisabled", "TextFillColorDisabled"},
|
|
251
254
|
{"ButtonBackgroundPointerOver", "ControlFillColorSecondary"},
|
|
255
|
+
{"ButtonBorderBrushPointerOver", "ButtonBorderPointerOver"},
|
|
252
256
|
{"ButtonBorderPointerOver", "ControlElevationBorder"},
|
|
257
|
+
{"ButtonBorderBrushPressed", "ButtonBorderPressed"},
|
|
253
258
|
{"ButtonBorderPressed", "ControlFillColorTransparent"},
|
|
254
259
|
{"ToggleSwitchFillOff", "ControlAltFillColorSecondary"},
|
|
255
260
|
{"ToggleSwitchFillOffPointerOver", "ControlAltFillColorTertiary"},
|
|
@@ -15,7 +15,7 @@ namespace facebook::react {
|
|
|
15
15
|
|
|
16
16
|
inline SharedColor
|
|
17
17
|
parsePlatformColor(const ContextContainer &contextContainer, int32_t surfaceId, const RawValue &value) {
|
|
18
|
-
if (value.hasType<std::unordered_map<std::string, std::string
|
|
18
|
+
if (value.hasType<std::unordered_map<std::string, std::vector<std::string>>>()) {
|
|
19
19
|
auto map = (std::unordered_map<std::string, std::vector<std::string>>)value;
|
|
20
20
|
if (map.find("windowsbrush") != map.end()) {
|
|
21
21
|
facebook::react::Color color = {
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.77.
|
|
13
|
+
<ReactNativeWindowsVersion>0.77.2</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>77</ReactNativeWindowsMinor>
|
|
16
|
-
<ReactNativeWindowsPatch>
|
|
16
|
+
<ReactNativeWindowsPatch>2</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
|
-
<ReactNativeWindowsCommitId>
|
|
18
|
+
<ReactNativeWindowsCommitId>f8e6b3de41bf995bb98e5a7c40ec35129c605541</ReactNativeWindowsCommitId>
|
|
19
19
|
</PropertyGroup>
|
|
20
20
|
</Project>
|