From d638b0603db9d5bef1c6e726b05277bd643b2676 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Wed, 4 Oct 2023 14:51:05 +0800 Subject: [PATCH] feat: uppdate to latest nightly. add clear button to ComboBox and DatePicker --- demo/Directory.Build.props | 2 +- .../Pages/ComboBoxDemo.axaml | 7 +++++ .../Pages/DatePickerDemo.axaml | 1 + .../Semi.Avalonia.TreeDataGrid.Demo.csproj | 13 ++++---- src/Package.props | 2 +- src/Semi.Avalonia/Controls/Button.axaml | 22 ++++++++++++++ src/Semi.Avalonia/Controls/ComboBox.axaml | 23 ++++++++++---- src/Semi.Avalonia/Controls/DatePicker.axaml | 30 ++++++++++++++++--- src/Semi.Avalonia/Themes/Dark/Button.axaml | 4 +++ src/Semi.Avalonia/Themes/Light/Button.axaml | 4 +++ 10 files changed, 91 insertions(+), 17 deletions(-) diff --git a/demo/Directory.Build.props b/demo/Directory.Build.props index ae8bdf5..ee13648 100644 --- a/demo/Directory.Build.props +++ b/demo/Directory.Build.props @@ -1,6 +1,6 @@ enable - 11.0.0 + 11.1.999-cibuild0040425 diff --git a/demo/Semi.Avalonia.Demo/Pages/ComboBoxDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/ComboBoxDemo.axaml index 6fccb90..488a8ff 100644 --- a/demo/Semi.Avalonia.Demo/Pages/ComboBoxDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/ComboBoxDemo.axaml @@ -15,6 +15,13 @@ Mr. 17 Cass + + Ding + Otter + Husky + Mr. 17 + Cass + Ding Otter diff --git a/demo/Semi.Avalonia.Demo/Pages/DatePickerDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/DatePickerDemo.axaml index 2c0e9e9..3baefe4 100644 --- a/demo/Semi.Avalonia.Demo/Pages/DatePickerDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/DatePickerDemo.axaml @@ -9,6 +9,7 @@ mc:Ignorable="d"> + diff --git a/demo/Semi.Avalonia.TreeDataGrid.Demo/Semi.Avalonia.TreeDataGrid.Demo.csproj b/demo/Semi.Avalonia.TreeDataGrid.Demo/Semi.Avalonia.TreeDataGrid.Demo.csproj index 3dda989..59312af 100644 --- a/demo/Semi.Avalonia.TreeDataGrid.Demo/Semi.Avalonia.TreeDataGrid.Demo.csproj +++ b/demo/Semi.Avalonia.TreeDataGrid.Demo/Semi.Avalonia.TreeDataGrid.Demo.csproj @@ -8,14 +8,15 @@ true - + + - - - - + + + + - + diff --git a/src/Package.props b/src/Package.props index c3a98e0..9b302ce 100644 --- a/src/Package.props +++ b/src/Package.props @@ -7,7 +7,7 @@ IRIHI Technology Avalonia Theme inspired by Semi Design. https://github.com/irihitech/Semi.Avalonia - 11.0.0 + 11.1.999-cibuild0040425 MIT \ No newline at end of file diff --git a/src/Semi.Avalonia/Controls/Button.axaml b/src/Semi.Avalonia/Controls/Button.axaml index 2ec0991..a528b7b 100644 --- a/src/Semi.Avalonia/Controls/Button.axaml +++ b/src/Semi.Avalonia/Controls/Button.axaml @@ -204,4 +204,26 @@ + + + + + + + + + + + + + + diff --git a/src/Semi.Avalonia/Controls/ComboBox.axaml b/src/Semi.Avalonia/Controls/ComboBox.axaml index 57cbb1a..12236a1 100644 --- a/src/Semi.Avalonia/Controls/ComboBox.axaml +++ b/src/Semi.Avalonia/Controls/ComboBox.axaml @@ -33,6 +33,7 @@ + @@ -43,11 +44,11 @@ - + - +