From 98c42e80c44fe0a613805abe1b8c584ad78ab782 Mon Sep 17 00:00:00 2001 From: Ahmed Mohamed Date: Sun, 12 Aug 2018 08:23:54 +0200 Subject: [PATCH] Update MaterialDesignTheme.MahApps for MahApps v1.6.5 (#1006) * Updated Version of https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/pull/898 that uses MahApps.Metro v1.6.5 * Fix for MahApps.NumericUpDown Controller * Fixing indentation * Fixing up nuspec changes. * Reving test projects and packet dependencies. --- MahMaterialDragablzMashUp/Mah.xaml | 2 + .../MahAppsDragablzDemo.csproj | 21 +- MainDemo.Wpf/App.xaml | 1 - .../MaterialDesignColors.Wpf.Tests.csproj | 15 +- .../paket.references | 3 +- MaterialDesignColors.nuspec | 6 +- MaterialDesignThemes.MahApps.nuspec | 12 +- .../MaterialDesignThemes.MahApps.csproj | 21 +- .../MaterialDesignTheme.MahApps.Defaults.xaml | 3 +- .../MaterialDesignTheme.MahApps.Flyout.xaml | 88 ++++---- ...rialDesignTheme.MahApps.NumericUpDown.xaml | 190 ++++++++++++++++++ .../MaterialDesignThemes.Wpf.Tests.csproj | 56 +++++- .../paket.references | 3 +- MaterialDesignThemes.nuspec | 19 +- paket.dependencies | 1 + paket.lock | 51 +++-- 16 files changed, 390 insertions(+), 102 deletions(-) create mode 100644 MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.NumericUpDown.xaml diff --git a/MahMaterialDragablzMashUp/Mah.xaml b/MahMaterialDragablzMashUp/Mah.xaml index cc5ee62bac..961dab880b 100644 --- a/MahMaterialDragablzMashUp/Mah.xaml +++ b/MahMaterialDragablzMashUp/Mah.xaml @@ -18,5 +18,7 @@ Style="{DynamicResource AccentedSquareButtonStyle}" /> + + diff --git a/MahMaterialDragablzMashUp/MahAppsDragablzDemo.csproj b/MahMaterialDragablzMashUp/MahAppsDragablzDemo.csproj index 9c62a9b096..894da17295 100644 --- a/MahMaterialDragablzMashUp/MahAppsDragablzDemo.csproj +++ b/MahMaterialDragablzMashUp/MahAppsDragablzDemo.csproj @@ -167,6 +167,22 @@ --> + + + + + ..\packages\ControlzEx\lib\net45\ControlzEx.dll + True + True + + + ..\packages\ControlzEx\lib\net45\System.Windows.Interactivity.dll + True + True + + + + @@ -186,11 +202,6 @@ True True - - ..\packages\MahApps.Metro\lib\net45\System.Windows.Interactivity.dll - True - True - diff --git a/MainDemo.Wpf/App.xaml b/MainDemo.Wpf/App.xaml index ae6e65f88b..7ae232ca89 100644 --- a/MainDemo.Wpf/App.xaml +++ b/MainDemo.Wpf/App.xaml @@ -11,7 +11,6 @@ - diff --git a/MaterialDesignColors.Wpf.Tests/MaterialDesignColors.Wpf.Tests.csproj b/MaterialDesignColors.Wpf.Tests/MaterialDesignColors.Wpf.Tests.csproj index 72f4898207..240f9060c3 100644 --- a/MaterialDesignColors.Wpf.Tests/MaterialDesignColors.Wpf.Tests.csproj +++ b/MaterialDesignColors.Wpf.Tests/MaterialDesignColors.Wpf.Tests.csproj @@ -105,15 +105,11 @@ - True - - - @@ -126,7 +122,16 @@ - + + + + ..\packages\xunit.extensibility.core\lib\net452\xunit.core.dll + True + True + + + + ..\packages\xunit.extensibility.core\lib\netstandard1.1\xunit.core.dll diff --git a/MaterialDesignColors.Wpf.Tests/paket.references b/MaterialDesignColors.Wpf.Tests/paket.references index 0f037237c1..6a89fbe74f 100644 --- a/MaterialDesignColors.Wpf.Tests/paket.references +++ b/MaterialDesignColors.Wpf.Tests/paket.references @@ -1,2 +1,3 @@ Shouldly -xunit \ No newline at end of file +xunit +xunit.runner.visualstudio \ No newline at end of file diff --git a/MaterialDesignColors.nuspec b/MaterialDesignColors.nuspec index 211b4f7221..7f83cf522a 100644 --- a/MaterialDesignColors.nuspec +++ b/MaterialDesignColors.nuspec @@ -6,12 +6,12 @@ Material Design Colors XAML Resources James Willock James Willock - https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/blob/master/LICENSE - https://github.com/ButchersBoy/MaterialDesignInXamlToolkit + https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/blob/master/LICENSE + https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit http://materialdesigninxaml.net/images/MD4XAML32.png false ResourceDictionary instances containing standard Google Material Design swatches, for inclusion in a XAML application. - https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/releases + https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/releases Copyright 2015 James Willock/Mulholland Software Ltd WPF XAML WinRT Material Design Colour Color UI UX diff --git a/MaterialDesignThemes.MahApps.nuspec b/MaterialDesignThemes.MahApps.nuspec index 08a8ab82d6..173fdfebb2 100644 --- a/MaterialDesignThemes.MahApps.nuspec +++ b/MaterialDesignThemes.MahApps.nuspec @@ -6,18 +6,18 @@ Material Design Themes XAML Resources For MahApps Controls James Willock James Willock - http://opensource.org/licenses/MS-PL - https://github.com/ButchersBoy/MaterialDesignInXamlToolkit + https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/blob/master/LICENSE + https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit http://materialdesigninxaml.net/images/MD4XAML32.png false ResourceDictionary instances containing Material Design templates and styles for WPF controls in the MahApps library. - https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/releases + https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/releases Copyright 2015 James Willock/Mulholland Software Ltd WPF XAML WinRT Material Design Theme Colour Color UI UX - - - + + + diff --git a/MaterialDesignThemes.MahApps/MaterialDesignThemes.MahApps.csproj b/MaterialDesignThemes.MahApps/MaterialDesignThemes.MahApps.csproj index 19b7d60e6a..2a9d5f68ad 100644 --- a/MaterialDesignThemes.MahApps/MaterialDesignThemes.MahApps.csproj +++ b/MaterialDesignThemes.MahApps/MaterialDesignThemes.MahApps.csproj @@ -101,6 +101,10 @@ Settings.Designer.cs + + MSBuild:Compile + Designer + @@ -120,13 +124,24 @@ - - ..\packages\MahApps.Metro\lib\net45\MahApps.Metro.dll + + ..\packages\ControlzEx\lib\net45\ControlzEx.dll True True - ..\packages\MahApps.Metro\lib\net45\System.Windows.Interactivity.dll + ..\packages\ControlzEx\lib\net45\System.Windows.Interactivity.dll + True + True + + + + + + + + + ..\packages\MahApps.Metro\lib\net45\MahApps.Metro.dll True True diff --git a/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Defaults.xaml b/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Defaults.xaml index 85c6c7676c..f4fd50aade 100644 --- a/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Defaults.xaml +++ b/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Defaults.xaml @@ -4,7 +4,8 @@ - + + diff --git a/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Flyout.xaml b/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Flyout.xaml index f588f84f03..9fefb31da6 100644 --- a/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Flyout.xaml +++ b/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Flyout.xaml @@ -1,46 +1,53 @@  + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf" + xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"> - + - + - + @@ -48,7 +55,7 @@ - + @@ -56,7 +63,7 @@ - + @@ -67,7 +74,7 @@ - + @@ -78,17 +85,21 @@ - - + + @@ -223,12 +234,12 @@ - - - - - + \ No newline at end of file diff --git a/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.NumericUpDown.xaml b/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.NumericUpDown.xaml new file mode 100644 index 0000000000..6407a53631 --- /dev/null +++ b/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.NumericUpDown.xaml @@ -0,0 +1,190 @@ + + + + + + \ No newline at end of file diff --git a/MaterialDesignThemes.Wpf.Tests/MaterialDesignThemes.Wpf.Tests.csproj b/MaterialDesignThemes.Wpf.Tests/MaterialDesignThemes.Wpf.Tests.csproj index a69de77717..8a558da712 100644 --- a/MaterialDesignThemes.Wpf.Tests/MaterialDesignThemes.Wpf.Tests.csproj +++ b/MaterialDesignThemes.Wpf.Tests/MaterialDesignThemes.Wpf.Tests.csproj @@ -54,6 +54,14 @@ + + + + <__paket__xunit_runner_visualstudio_props>net20\xunit.runner.visualstudio + + + +