Commit Graph

629 Commits

Author SHA1 Message Date
Dong Bin
a4906d5130 Fix wasm deployment issue (#827)
* fix: update wasm-tools installation

* fix: add TrimmerRootAssembly for WASM optimization

* fix: update project to target .NET 10 and adjust deployment settings

* fix: add TrimmerRootAssembly for Ursa.Demo to improve WASM optimization

* fix: avoid Window based dialog crash on non-supported platforms.
2025-11-17 11:24:07 +08:00
Zhang Dian
814226651f misc: bump version. (#824) 2025-11-15 16:06:07 +08:00
Zhang Dian
fa94841ab9 feat: add AI style for IconButton. (#823)
* feat: add AI style for IconButton.

* feat: update package references for CommunityToolkit.Mvvm, Semi.Avalonia, and add SkiaSharp.
2025-11-15 15:37:25 +08:00
Zhang Dian
47ae3ab018 Merge pull request #809 from irihitech/upgrade_11.3.7
Update Avalonia version to 11.3.7 across project files
2025-11-11 14:10:04 +08:00
Copilot
6941cef2a7 Add Int64Displayer control for long type support (#811) 2025-11-07 21:35:52 +08:00
Dong Bin
e46a6edbeb chore: update Avalonia version to 11.3.7 across project files 2025-11-05 01:33:20 +08:00
Zhang Dian
d495c98967 feat: implement JumpTo command in ApplicationViewModel and update navigation handling. (#803) 2025-10-23 14:58:22 +08:00
Copilot
9c014f37be Improve Introduction page with condensed layout and 20+ diverse controls (#790)
* Initial plan

* Improve Introduction page with diverse simple controls

Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>

* Make layout more condensed and add requested controls

- Reduced spacing and padding throughout (20->12 margin, 16->10 padding, 8->6 spacing)
- Reduced section title size (16->14)
- Changed from 2-column to 3-column grid layout for better space utilization
- Added all requested controls: IPv4Box, MultiComboBox, MultiAutoCompleteBox, NumericUpDown, RangeSlider, TagInput, TreeComboBox, DateRangePicker, DateTimePicker, TimeRangePicker, ToolBar, Marquee
- Updated ViewModel with properties for new controls
- Made controls smaller (using Small classes where available)

Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
2025-10-22 21:01:30 +08:00
Dong Bin
dcaef1c8ed [New Control] Descriptions (#791)
* feat: add ColumnWrapPanel.

* feat: add Descriptions and DescriptionsItem controls

* WIP: extract a LabeledContentControl for this particular need.

* wip.

* feat: setup demo. fix various initial status issue.

* fix: fix a layout issue.

* feat: improve demo.

* feat: update demo.

* fix: remove a redundant calculation.

* feat: update per copilot feedback.

* feat: add tests, fix a calculation issue.

* feat: refactor to change the default label and value binding assignment logic.

* feat: introduce orientation.

* misc: format codes.

* feat: clarify LabelPosition property.

* feat: extract Font resources.

* revert AvatarDemo.

* feat: assign specific value to Font resources for testing.

* misc: resolve copilot comment.

---------

Co-authored-by: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
2025-10-22 20:49:02 +08:00
copilot-swe-agent[bot]
75d5e86877 Replace AutoCompleteBox demo data with ControlData
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
2025-09-19 10:23:11 +00:00
Dong Bin
89c749c624 Merge pull request #775 from irihitech/clean
clean up controls XAML files
2025-09-19 16:45:50 +08:00
Dong Bin
069d0bd54e Merge pull request #777 from yangjieshao/修复-Ursa.PrismDialogDemo
修复 PrismDialogDemo
2025-09-18 15:03:16 +08:00
Zhang Dian
700e512b8b Merge pull request #768 from irihitech/multi-auto
New Control: MultiAutoCompleteBox
2025-09-17 20:09:22 +08:00
杨劼
2625247f5a 修复 PrismDialogDemo
在 Ursa.PrismDialogDemo.csproj 中:
- 将 Semi.Avalonia 包版本从 11.1.0-rc2.1 升级到 11.2.1.9。
2025-09-17 14:36:43 +08:00
rabbitism
fe9cc21a65 Merge remote-tracking branch 'origin/multi-auto' into multi-auto
# Conflicts:
#	demo/Ursa.Demo/Pages/MultiAutoCompleteBoxDemo.axaml
#	demo/Ursa.Demo/ViewModels/MultiAutoCompleteBoxDemoViewModel.cs
#	src/Ursa.Themes.Semi/Controls/MultiAutoCompleteBox.axaml
2025-09-17 01:02:36 +08:00
Zhang Dian
83e3334c71 misc: simplify Shared namespace reference. 2025-09-16 20:23:41 +08:00
rabbitism
051710affe feat: throws when collection is not initialized. 2025-09-16 20:18:28 +08:00
rabbitism
0173ee7c9c feat: implement inner content interface. 2025-09-16 19:20:02 +08:00
Zhang Dian
68cdd4609f fix: remove MinHeight & fix TagInput Foreground. 2025-09-16 19:03:58 +08:00
杨劼
be08931b47 修复 ImageViewer.Source 设置为null会报错的问题
修复 https://github.com/irihitech/Ursa.Avalonia/issues/680
2025-09-16 18:02:37 +08:00
rabbitism
4f93801e77 feat: working on selection. add a demo to AutoCompleteBoxDemo to show the keyboard navigation actually changed selection. 2025-09-14 10:57:37 +08:00
rabbitism
8ec815c885 feat: improve demo. make textbox interactive. 2025-09-14 10:39:05 +08:00
rabbitism
9f71b5f382 feat: add demo page. 2025-09-14 10:00:23 +08:00
Dong Bin
c62015a70a Merge pull request #752 from yangjieshao/main
修复了NumPad对NumericUpDown和IPv4Box的支持
2025-08-29 17:07:03 +08:00
Dong Bin
da93b01c14 Merge pull request #749 from Samuel-B-D/fix-multicombobox-items-in-axaml
Fix MultiComboBox to works with items added in axaml
2025-08-29 01:30:52 +08:00
杨劼
f9cbba5419 修复了 https://github.com/irihitech/Ursa.Avalonia/issues/753 当有多个外部 button绑定 不同类型的 NumericUpDown控件的时候,点击button会报错的问题
修正 IPv4Box.cs NumPad.cs NumPad.axaml 文件的编码格式为 utf-8

Semi.Avalonia.Demo.Desktop.Program 增加 SupportedOSPlatform
2025-08-28 11:34:24 +08:00
Samuel Bergeron-Drouin
ca3e78c3a7 Fix runtime crash when adding controls (anything other than MultiComboBoxItem with text content) to a MultiComboBox in axaml 2025-08-25 10:30:56 -04:00
杨劼
f9fb8cb8ae NumPad 修复了 官方NumericUpDown对NumPad不响应的问题
NumPad 修复了 当Target不是TextBox的时候,NumPad上的Delete和Back不响应的问题
IPv4Box 修复了 由于失去焦点所以对 NumPad 不响应的问题
2025-08-20 12:19:03 +08:00
Samuel Bergeron-Drouin
ff3020223c cleaner demo 2025-08-18 15:14:56 -04:00
Samuel Bergeron-Drouin
976ddc4a5e Fix MultiComboBox to works with items added in axaml 2025-08-18 15:08:42 -04:00
望尘空忧
c631c9a871 feat:Add several predefined SizeAnimations. 2025-08-18 23:11:02 +08:00
望尘空忧
df23e6263c misc:Rename WHAnimationHelper to SizeAnimationHelper to make its purpose immediately clear and eliminate any ambiguity caused by the cryptic “WH.” 2025-08-18 22:06:47 +08:00
望尘空忧
b9e104a8b8 feat:Redesign the usage pattern of WHAnimationHelper once more to deliver a superior axaml editing and consumption experience. 2025-08-10 16:37:03 +08:00
望尘空忧
c801c4eec4 misc:Refactor the WHAnimationHelper class structure to clearly define its responsibilities. 2025-08-10 00:00:30 +08:00
望尘空忧
bb7873ef66 feat:Implements subtle animations for the NavMenu in a non-intrusive way. 2025-08-09 23:10:47 +08:00
Zhang Dian
0a684ec70f misc: bump version. 2025-07-11 20:13:42 +08:00
Zhang Dian
139176d64f ci: remove useless command. 2025-07-11 14:21:23 +08:00
Zhang Dian
0524c9e16e Merge pull request #718 from irihitech/anchor
New Control: Anchor
2025-07-10 20:51:35 +08:00
Zhang Dian
3ae76efd45 feat: update AnchorItem Padding Converter. 2025-07-10 19:55:34 +08:00
Zhang Dian
b304d585bd feat: enhance Anchor styles. 2025-07-10 19:07:59 +08:00
Dong Bin
2402443383 misc: change icon. 2025-07-10 14:01:23 +08:00
Dong Bin
d360ca9ef0 feat: rename AnchorId to Id and add TopOffset property. Add headless tests. 2025-07-10 11:21:47 +08:00
Dong Bin
dbc41249d8 feat: implement tree like visual. 2025-07-04 16:09:33 +08:00
Dong Bin
817eb9acc9 feat: WIP. 2025-07-03 23:06:22 +08:00
Dong Bin
6deccdc1ac feat: add mvvm demo. 2025-07-02 22:31:16 +08:00
Dong Bin
881b9ca7d3 feat: implementations. 2025-07-02 12:12:09 +08:00
Dong Bin
405d283c10 Merge pull request #708 from irihitech/dualbadge
enhance DualBadge styles
2025-07-01 21:03:12 +08:00
Zhang Dian
a5937f684a feat: update DualBadge styles. 2025-06-25 17:13:20 +08:00
Dong Bin
9684cb8cb7 Merge pull request #694 from irihitech/iconbutton
enhance IconButton styles and add new button examples
2025-06-24 23:15:19 +08:00
Zhang Dian
35b122b4e9 feat: enhance IconButton styles and add new button examples. 2025-06-05 21:06:51 +08:00