1631 Commits
Author SHA1 Message Date
chuan 7c61d39840 feat: remove useless config 2026-03-13 10:42:37 +08:00
chuan 89d344d6ed fix: update TargetFramework to net8.0 in project files 2026-03-13 10:41:28 +08:00
chuan e069f486f3 feat: add LargeMessageBoxControl and improve MessageBox functionality 2026-03-13 10:41:28 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
860b832fe0 Fix ElasticWrapPanel not skipping hidden children when IsFillHorizontal and ItemWidth are set (#896)
* Initial plan

* Fix ElasticWrapPanel to skip invisible children in MeasureOverride and ArrangeOverride

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>
2026-02-26 20:08:41 +08:00
Zhang DianandGitHub f1c9dc4817 Revent TargetType of BaseIconButton from IconButton to ContentControl (#888)
* fix: change TargetType of BaseIconButton from IconButton to ContentControl.

* misc: bump version.

* chore: add NuGet configuration for nightly package source.
2026-02-12 20:37:41 +08:00
Zhang DianandGitHub 42ad3b8888 fix: using DynamicResource for IconButtonInnerSpacing. (#886) 2026-02-11 21:39:21 +08:00
Zhang DianGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Copilot
0ad5d3abb7 fix: the colon should invisible when ItemsAlignmen=Plain. (#884)
* fix: the colon should invisible when ItemsAlignmen=Plain.

* test: add HeadlessTest for colon visibility in DescriptionsItem Plain mode (#885)

* Initial plan

* test: add HeadlessTest for colon visibility in Plain mode

Co-authored-by: zdpcdt <54255897+zdpcdt@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: zdpcdt <54255897+zdpcdt@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-02-10 23:46:42 +08:00
Dong BinGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
4d5d105a8f Nav Menu: Canceled selection should not trigger command (#857)
* fix: update SelectItem method to return a boolean indicating selection success.

* Initial plan

* Add headless test for command execution with CanSelect behavior

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-02-10 15:40:54 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
fdf7d35fec Fix TimelineItem pseudo class re-evaluation on collection changes (#880)
* Initial plan

* Fix TimelineItem pseudo class re-evaluation when collection is updated

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

* Remove unused namespace import from Timeline.cs

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>
2026-02-10 15:33:41 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Zhang Dian
134cddd350 Add Small and Large size variants to date/time picker controls (#877)
* Initial plan

* Add Small and Large style classes to DatePicker, TimePicker, DateTimePicker, DateRangePicker, and TimeRangePicker controls

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

* fix: fix MinHeight in TimePicker when Classes include Small.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
Co-authored-by: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
2026-02-10 15:14:48 +08:00
Dong BinandGitHub 13362d684f Merge pull request #867 from FireTiger23/main
修复数字键盘控件中的空引用异常
2026-02-07 18:22:09 +08:00
FireTiger a3908e5717 Merge branch 'main' of https://github.com/FireTiger23/Ursa.Avalonia 2026-02-01 00:15:50 +08:00
FireTiger f63c6d1510 fix(numpad): 修复数字键盘控件中的空引用异常
- 改进了元素类型检查以避免潜在的空引用
- 添加了对BuildPositionedOptions方法的空值检查
2026-02-01 00:14:50 +08:00
FireTigerandGitHub 225caac9a6 Merge branch 'irihitech:main' into main 2026-02-01 00:13:58 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Dong Bin
56d839157e Add configurable corner ratio to QRCode symbol rendering (#865)
* Initial plan

* Add SymbolCornerRatio property to QRCode control

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

* Add validation for SymbolCornerRatio property (0.0 to 1.0)

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

* Fix typo: QC Code -> QR Code in comment

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

* fix: fix calculation.

* feat: clear many useless features.

* feat: simplify implementations.

* feat: add hotpath to simplify non-corner case.

* feat: add EccLevel enum and refactor QRCode geometry processing

* fix: coerce to 0.5

* feat: fix a renderer state error.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
Co-authored-by: Dong Bin <popmessiah@hotmail.com>
2026-01-30 15:36:48 +08:00
FireTiger 15df0d30ba 优化弹窗位置计算逻辑,修改为在目标控件下方或上方
- 重写弹窗定位算法,替换原有的复杂屏幕坐标计算逻辑
- 删除过时的调试输出代码
2026-01-28 14:55:23 +08:00
FireTigerandGitHub a74c498ad4 Merge branch 'irihitech:main' into main 2026-01-28 14:24:56 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Dong Bin
7afb501e02 Add Debug.Assert for missing OverlayDialogHost with setup guidance (#863)
* Initial plan

* Add Debug.Assert when OverlayDialogHost is not found with helpful setup instructions

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

* fix: improve debug assertion message for OverlayDialogHost setup instructions

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
Co-authored-by: Dong Bin <popmessiah@hotmail.com>
2026-01-26 23:01:55 +08:00
FireTigerandGitHub 078c581d99 Merge branch 'irihitech:main' into main 2026-01-26 09:53:44 +08:00
Dong BinandGitHub 77a3553037 Add QrCode (#861)
* feat: add QrCode control with attribution and licensing information

* feat: move original library to ursa, add demo.

* fix: remove unnecessary transition.

* refactor: change class visibility to internal for encapsulation

* feat:improve demo, add default theme. fix empty data crash.

* refactor: rename QrCode to QRCode for consistency and update references
2026-01-23 14:34:40 +08:00
Dong BinandGitHub 975757dbb8 fix: update TimePicker to correctly handle second selector panel type. (#856) 2026-01-19 14:10:46 +08:00
FireTiger b43159a37a 优化弹窗位置计算逻辑,修改为在目标控件下方或上方。
- 添加 GetPositionedDialogOptions 方法,实现基于目标控件位置的弹窗定位
- 新增 GetTargetScreenRect 和 GetScreenInfo 辅助方法
- 优化了弹窗显示逻辑,优先在目标控件下方显示,不足时尝试上方,仍不足时智能调整
- 增加了对屏幕边缘和工作区的处理
- 优化了弹窗关闭后的焦点返回逻辑
- 调整了弹窗的估算尺寸
2026-01-16 17:10:36 +08:00
Dong BinandGitHub 0c978e1318 Disable scroll chaining in AutoCompleteBox popup. (#851)
* feat: disable scroll chaining in popup.

* feat: disable scroll chaining in MultiAutoCompleteBox
2026-01-09 15:50:07 +08:00
Dong BinandGitHub 828baa7149 Merge pull request #852 from satanikia1300/fix_pathpicker 2026-01-07 16:23:07 +08:00
Yuki Kurano f740484f4c Fix PathPicker SelectedPathsText 2026-01-06 23:32:49 +08:00
Zhang DianandDong Bin 14f549b01f fix: fix TargetFramework. 2025-12-30 20:56:58 +08:00
Zhang DianandDong Bin ced989b7ef ci: upgrade checkout version & add android workload. 2025-12-30 20:33:28 +08:00
Zhang DianandDong Bin a1bb7fcc80 misc: bump version. 2025-12-30 20:33:28 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
0d7c97a7dd Fix NavMenuItem selected+focused state showing hover appearance instead of selected (#847)
* Initial plan

* Fix NavMenuItem focus and selected visual appearance in Semi theme

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-12-30 16:54:12 +08:00
Zhang DianandGitHub 445c8217c8 Turn on .slnx & CPM (#844)
* feat: turn on .slnx & CPM.

* misc: format codes.
2025-12-29 16:09:29 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Dong BinZhang Dian
e54474b0f9 Implement ItemSpacing and LineSpacing in ElasticWrapPanel (#843)
* Initial plan

* Implement ItemSpacing and LineSpacing support for ElasticWrapPanel

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

* Add demo tab showcasing ItemSpacing and LineSpacing

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

* Add additional test for ItemSpacing affecting line wrapping

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

* feat: add bindings for IsFillHorizontal and IsFillVertical in ElasticWrapPanelDemo

* Fix measure/arrange mismatch by tracking spacing in UVCollection

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

* feat: add ItemSpacing & LineSpacing FormItems.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
Co-authored-by: Dong Bin <popmessiah@hotmail.com>
Co-authored-by: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
2025-12-16 20:39:50 +08:00
Alexander ProkhorovandGitHub 6f7db1c20c Added IconRepeatButton, IconDropDownButton, IconSplitButton, IconToggleButton, IconToggleSplitButton (#834)
* Added IconRepeatButton (#812)
* Replaced control-specific PART_RootPanel workaround with AffectsArrange call fixing ReversibleStackPanel for the whole application.

* Added IconToggleButton (#812)
* Split IconRepeatButton into separate XAML file.

* Added IconSplitButton (#812)
* Added BindableClasses utility to allow propagating Classes property between controls. Avalonia currently doesn't support binding from Classes property, and binding to Classes property is heavily restricted.

* Added IconToggleSplitButton (#812)
* Fixed tab order in IconSplitButton and IconToggleSplitButton (DockPanel messes up tab order, TabIndex is global and makes it even worse, so just switched to Grid).

* Added IconDropDownButton (#812)
* Fixed IconPlacement inheritance.

* Added redesigned IconButton demo section (#812)
* Fixed spacing issues

* Added redesigned demo sections for the newly added icon buttons (#812)

* Replaced BindableClasses with ClassHelper. Fixed styling of default solid split icon buttons. (#812)

* Replaced IIconButton with attached-like property getters and PseudolassesExtensions.Set(Classes); fixed arrow alignments in top/bottom split icon buttons (#812)

* Applied fixes suggested by Copilot in code review (#812)

* Fixed incorrect base type of IconDropDownButton (#812)

* Fixed IconSplitButton and IconToggleSplitButton styles (#812)
* Fixed secondary button color in checked state
* Fixed applying of CornerRadius
* Changed secondary button to square
* Simplified template
* Disabled demo of Colorful theme for IconSplitButton and IconToggleSplitButton
2025-11-27 22:42:42 +08:00
Dong BinandGitHub 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 DianandGitHub 1cf920afa8 fix: update Android dependency restore path in publish.yml. (#825) 2025-11-15 16:52:17 +08:00
Zhang DianandGitHub 814226651f misc: bump version. (#824) 2025-11-15 16:06:07 +08:00
Zhang DianandGitHub 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
Dong BinandGitHub 76ea435618 fix: fix margin when multi-auto has no left content. (#822) 2025-11-15 15:12:26 +08:00
Dong BinandGitHub 0f1a00f388 Enhance TitleBar and CaptionButtons to respect latest Window.CanMaximize and Window.CanMinimize (#815)
* fix: enhance window resizing logic to include maximization check

* fix: update CaptionButtons to control button visibility based on window properties

* fix: update obsolescence messages for minimize and restore button properties

* chore: update comment.
2025-11-14 13:32:27 +08:00
Dong BinandGitHub d0fc4098dd chore: remove obsolete compatible resources from Index.axaml (#821) 2025-11-12 18:50:06 +08:00
Dong BinandGitHub 26f195871b fix: update conditional compilation symbols for .NET version handling (#820) 2025-11-12 15:43:27 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
0ab084b198 Fix NavMenu selection on right-click (#819)
* Initial plan

* Fix NavMenu right-click behavior - prevent selection on right-click

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-11-12 15:33:18 +08:00
Dong BinandGitHub f9729859fe refactor: streamline locale resource handling with SetResources method (#816) 2025-11-12 15:23:40 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
441f123de2 Add keyboard navigation and focus styles to TreeComboBox and MultiComboBox (#808)
* Initial plan

* Add keyboard navigation and focus styles to TreeComboBox

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

* Fix keyboard handler - add parentheses for clarity and handle Tab key properly

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

* Add keyboard navigation to MultiComboBox

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-11-11 23:07:26 +08:00
Zhang DianandGitHub 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
Dong Bin 3c29764af4 test: enhance accessibility tests for form controls 2025-11-07 23:18:19 +08:00
CopilotandGitHub 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 DianandGitHub d495c98967 feat: implement JumpTo command in ApplicationViewModel and update navigation handling. (#803) 2025-10-23 14:58:22 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Dong Bin
7c7701aade Add Chinese README with cross-language navigation links (#801)
* Initial plan

* Add Chinese README with cross-links

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

* chore: update Chinese README for clarity and accuracy

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
Co-authored-by: Dong Bin <popmessiah@hotmail.com>
2025-10-22 21:05:57 +08:00
CopilotGitHubrabbitismcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
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