From bcf7782034c5d0bbbfa0b32b79abc4d91e674657 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Soucy Date: Wed, 26 Jul 2023 15:40:57 -0400 Subject: [PATCH 1/4] feat: added Pipspage lightweight styling --- .../Styles/Controls/v2/PipsPager.Base.xaml | 538 +++++++++++++----- 1 file changed, 394 insertions(+), 144 deletions(-) diff --git a/src/library/Uno.Material/Styles/Controls/v2/PipsPager.Base.xaml b/src/library/Uno.Material/Styles/Controls/v2/PipsPager.Base.xaml index 76b60b5f0..5d9a9d8de 100644 --- a/src/library/Uno.Material/Styles/Controls/v2/PipsPager.Base.xaml +++ b/src/library/Uno.Material/Styles/Controls/v2/PipsPager.Base.xaml @@ -6,55 +6,224 @@ xmlns:not_win="http://uno.ui/not_win" mc:Ignorable="d not_win"> - + - 12 - 12 + + + + + + + - 12 - 12 + + + + + + - 0 - 0 + + + + + + + - M3.33681 0.322148C3.63156 -0.107383 4.36844 -0.107382 4.66319 0.322148L7.89626 5.03356C8.19101 5.46309 7.82257 6 7.23307 6L0.766932 6C0.177427 6 -0.191014 5.46309 0.103739 5.03356L3.33681 0.322148Z - M4.66319 5.67785C4.36844 6.10738 3.63156 6.10738 3.33681 5.67785L0.103738 0.966444C-0.191015 0.536913 0.177425 6.83871e-07 0.766931 6.32335e-07L7.23307 6.70473e-08C7.82257 1.55111e-08 8.19101 0.536912 7.89626 0.966443L4.66319 5.67785Z + + + + + - 40 - 40 - 12 - 12 + + + + + - 8 - 8 + + + + + + + + + + + + + + + + + + + + + 12 + 12 + + 12 + 12 + + 0 + 0 + + M3.33681 0.322148C3.63156 -0.107383 4.36844 -0.107382 4.66319 0.322148L7.89626 5.03356C8.19101 5.46309 7.82257 6 7.23307 6L0.766932 6C0.177427 6 -0.191014 5.46309 0.103739 5.03356L3.33681 0.322148Z + M4.66319 5.67785C4.36844 6.10738 3.63156 6.10738 3.33681 5.67785L0.103738 0.966444C-0.191015 0.536913 0.177425 6.83871e-07 0.766931 6.32335e-07L7.23307 6.70473e-08C7.82257 1.55111e-08 8.19101 0.536912 7.89626 0.966443L4.66319 5.67785Z + + 40 + 40 + 4 + + 12 + 12 + + 8 + 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + 12 + + 12 + 12 + + 0 + 0 + + M3.33681 0.322148C3.63156 -0.107383 4.36844 -0.107382 4.66319 0.322148L7.89626 5.03356C8.19101 5.46309 7.82257 6 7.23307 6L0.766932 6C0.177427 6 -0.191014 5.46309 0.103739 5.03356L3.33681 0.322148Z + M4.66319 5.67785C4.36844 6.10738 3.63156 6.10738 3.33681 5.67785L0.103738 0.966444C-0.191015 0.536913 0.177425 6.83871e-07 0.766931 6.32335e-07L7.23307 6.70473e-08C7.82257 1.55111e-08 8.19101 0.536912 7.89626 0.966443L4.66319 5.67785Z + + 40 + 40 + 4 + + 12 + 12 + + 8 + 8 + + - - - - - - - - - - - - + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:muxc="using:Microsoft.UI.Xaml.Controls" + xmlns:not_win="http://uno.ui/not_win" + mc:Ignorable="d not_win"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + 12 + + 12 + 12 + + 0 + 0 + + M3.33681 0.322148C3.63156 -0.107383 4.36844 -0.107382 4.66319 0.322148L7.89626 5.03356C8.19101 5.46309 7.82257 6 7.23307 6L0.766932 6C0.177427 6 -0.191014 5.46309 0.103739 5.03356L3.33681 0.322148Z + M4.66319 5.67785C4.36844 6.10738 3.63156 6.10738 3.33681 5.67785L0.103738 0.966444C-0.191015 0.536913 0.177425 6.83871e-07 0.766931 6.32335e-07L7.23307 6.70473e-08C7.82257 1.55111e-08 8.19101 0.536912 7.89626 0.966443L4.66319 5.67785Z + + 40 + 40 + 4 + + 12 + 12 + + 8 + 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + 12 + + 12 + 12 + + 0 + 0 + + M3.33681 0.322148C3.63156 -0.107383 4.36844 -0.107382 4.66319 0.322148L7.89626 5.03356C8.19101 5.46309 7.82257 6 7.23307 6L0.766932 6C0.177427 6 -0.191014 5.46309 0.103739 5.03356L3.33681 0.322148Z + M4.66319 5.67785C4.36844 6.10738 3.63156 6.10738 3.33681 5.67785L0.103738 0.966444C-0.191015 0.536913 0.177425 6.83871e-07 0.766931 6.32335e-07L7.23307 6.70473e-08C7.82257 1.55111e-08 8.19101 0.536912 7.89626 0.966443L4.66319 5.67785Z + + 40 + 40 + 4 + + 12 + 12 + + 8 + 8 + + + + + + + + + + + + + + + + From 55fcdc471fb40ce69e259f1afe28d517c206cfc2 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Soucy Date: Thu, 27 Jul 2023 11:42:03 -0400 Subject: [PATCH 3/4] chore: Uno package update --- src/library/Uno.Cupertino/Uno.Cupertino.csproj | 4 ++-- src/library/Uno.Material/Uno.Material.csproj | 4 ++-- .../Uno.Themes.Samples.Mobile.csproj | 6 +++--- .../Uno.Themes.Samples.Skia.Gtk.csproj | 6 +++--- .../Uno.Themes.Samples.UWP/Uno.Themes.Samples.UWP.csproj | 2 +- .../Uno.Themes.Samples.Wasm/Uno.Themes.Samples.Wasm.csproj | 6 +++--- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/library/Uno.Cupertino/Uno.Cupertino.csproj b/src/library/Uno.Cupertino/Uno.Cupertino.csproj index d393c991b..d337bc3d9 100644 --- a/src/library/Uno.Cupertino/Uno.Cupertino.csproj +++ b/src/library/Uno.Cupertino/Uno.Cupertino.csproj @@ -86,14 +86,14 @@ - + - + diff --git a/src/library/Uno.Material/Uno.Material.csproj b/src/library/Uno.Material/Uno.Material.csproj index 05661cb75..44283c9f3 100644 --- a/src/library/Uno.Material/Uno.Material.csproj +++ b/src/library/Uno.Material/Uno.Material.csproj @@ -97,14 +97,14 @@ - + - + diff --git a/src/samples/UWP/Uno.Themes.Samples.Mobile/Uno.Themes.Samples.Mobile.csproj b/src/samples/UWP/Uno.Themes.Samples.Mobile/Uno.Themes.Samples.Mobile.csproj index 816617b62..d2fc9be0c 100644 --- a/src/samples/UWP/Uno.Themes.Samples.Mobile/Uno.Themes.Samples.Mobile.csproj +++ b/src/samples/UWP/Uno.Themes.Samples.Mobile/Uno.Themes.Samples.Mobile.csproj @@ -44,11 +44,11 @@ 1.0.59 - - + + - + diff --git a/src/samples/UWP/Uno.Themes.Samples.Skia.Gtk/Uno.Themes.Samples.Skia.Gtk.csproj b/src/samples/UWP/Uno.Themes.Samples.Skia.Gtk/Uno.Themes.Samples.Skia.Gtk.csproj index 236cf62c7..07135e63f 100644 --- a/src/samples/UWP/Uno.Themes.Samples.Skia.Gtk/Uno.Themes.Samples.Skia.Gtk.csproj +++ b/src/samples/UWP/Uno.Themes.Samples.Skia.Gtk/Uno.Themes.Samples.Skia.Gtk.csproj @@ -36,9 +36,9 @@ - - - + + + diff --git a/src/samples/UWP/Uno.Themes.Samples.UWP/Uno.Themes.Samples.UWP.csproj b/src/samples/UWP/Uno.Themes.Samples.UWP/Uno.Themes.Samples.UWP.csproj index 38f18d4fc..b98f788ad 100644 --- a/src/samples/UWP/Uno.Themes.Samples.UWP/Uno.Themes.Samples.UWP.csproj +++ b/src/samples/UWP/Uno.Themes.Samples.UWP/Uno.Themes.Samples.UWP.csproj @@ -37,7 +37,7 @@ 1.0.59 - 5.0.0-dev.1433 + 5.0.0-dev.1634 diff --git a/src/samples/UWP/Uno.Themes.Samples.Wasm/Uno.Themes.Samples.Wasm.csproj b/src/samples/UWP/Uno.Themes.Samples.Wasm/Uno.Themes.Samples.Wasm.csproj index 1e3be8cf4..f9405c7ce 100644 --- a/src/samples/UWP/Uno.Themes.Samples.Wasm/Uno.Themes.Samples.Wasm.csproj +++ b/src/samples/UWP/Uno.Themes.Samples.Wasm/Uno.Themes.Samples.Wasm.csproj @@ -54,9 +54,9 @@ - - - + + + From 73822ccb5ed0e21ce1a216a18315cbb6a0cfaf07 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Soucy Date: Thu, 27 Jul 2023 12:00:12 -0400 Subject: [PATCH 4/4] fix: pipspager resources not used --- .../Styles/Controls/v2/PipsPager.Base.xaml | 1458 ++++++++--------- 1 file changed, 729 insertions(+), 729 deletions(-) diff --git a/src/library/Uno.Material/Styles/Controls/v2/PipsPager.Base.xaml b/src/library/Uno.Material/Styles/Controls/v2/PipsPager.Base.xaml index f671826ff..d80dc42b0 100644 --- a/src/library/Uno.Material/Styles/Controls/v2/PipsPager.Base.xaml +++ b/src/library/Uno.Material/Styles/Controls/v2/PipsPager.Base.xaml @@ -1,732 +1,732 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - 12 - - 12 - 12 - - 0 - 0 - - M3.33681 0.322148C3.63156 -0.107383 4.36844 -0.107382 4.66319 0.322148L7.89626 5.03356C8.19101 5.46309 7.82257 6 7.23307 6L0.766932 6C0.177427 6 -0.191014 5.46309 0.103739 5.03356L3.33681 0.322148Z - M4.66319 5.67785C4.36844 6.10738 3.63156 6.10738 3.33681 5.67785L0.103738 0.966444C-0.191015 0.536913 0.177425 6.83871e-07 0.766931 6.32335e-07L7.23307 6.70473e-08C7.82257 1.55111e-08 8.19101 0.536912 7.89626 0.966443L4.66319 5.67785Z - - 40 - 40 - 4 - - 12 - 12 - - 8 - 8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - 12 - - 12 - 12 - - 0 - 0 - - M3.33681 0.322148C3.63156 -0.107383 4.36844 -0.107382 4.66319 0.322148L7.89626 5.03356C8.19101 5.46309 7.82257 6 7.23307 6L0.766932 6C0.177427 6 -0.191014 5.46309 0.103739 5.03356L3.33681 0.322148Z - M4.66319 5.67785C4.36844 6.10738 3.63156 6.10738 3.33681 5.67785L0.103738 0.966444C-0.191015 0.536913 0.177425 6.83871e-07 0.766931 6.32335e-07L7.23307 6.70473e-08C7.82257 1.55111e-08 8.19101 0.536912 7.89626 0.966443L4.66319 5.67785Z - - 40 - 40 - 4 - - 12 - 12 - - 8 - 8 - - - - - - - - - - - - - - - - + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:muxc="using:Microsoft.UI.Xaml.Controls" + xmlns:not_win="http://uno.ui/not_win" + mc:Ignorable="d not_win"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + 12 + + 12 + 12 + + 0 + 0 + + M3.33681 0.322148C3.63156 -0.107383 4.36844 -0.107382 4.66319 0.322148L7.89626 5.03356C8.19101 5.46309 7.82257 6 7.23307 6L0.766932 6C0.177427 6 -0.191014 5.46309 0.103739 5.03356L3.33681 0.322148Z + M4.66319 5.67785C4.36844 6.10738 3.63156 6.10738 3.33681 5.67785L0.103738 0.966444C-0.191015 0.536913 0.177425 6.83871e-07 0.766931 6.32335e-07L7.23307 6.70473e-08C7.82257 1.55111e-08 8.19101 0.536912 7.89626 0.966443L4.66319 5.67785Z + + 40 + 40 + 4 + + 12 + 12 + + 8 + 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + 12 + + 12 + 12 + + 0 + 0 + + M3.33681 0.322148C3.63156 -0.107383 4.36844 -0.107382 4.66319 0.322148L7.89626 5.03356C8.19101 5.46309 7.82257 6 7.23307 6L0.766932 6C0.177427 6 -0.191014 5.46309 0.103739 5.03356L3.33681 0.322148Z + M4.66319 5.67785C4.36844 6.10738 3.63156 6.10738 3.33681 5.67785L0.103738 0.966444C-0.191015 0.536913 0.177425 6.83871e-07 0.766931 6.32335e-07L7.23307 6.70473e-08C7.82257 1.55111e-08 8.19101 0.536912 7.89626 0.966443L4.66319 5.67785Z + + 40 + 40 + 4 + + 12 + 12 + + 8 + 8 + + + + + + + + + + + + + + + +