Commit Graph
2826 Commits
Author SHA1 Message Date
chinboy cd4fa8e48e chore(Skeleton): remove SkeletonThemeConstants and inline constants 2026-05-03 12:50:30 +08:00
chinboy 1ff59bdf20 chore(ScrollViewer): remove ScrollViewerThemeConstants and inline constants 2026-05-03 12:44:37 +08:00
chinboy 2183268617 chore(NumericUpDown): remove NumericUpDownThemeConstants and inline constants 2026-05-03 12:41:45 +08:00
chinboy 7f8c52fc52 chore(Notifications): remove unused NotificationsThemeConstants 2026-05-03 12:39:15 +08:00
chinboy 5fe915aa53 fix(NumericUpDown): 替换 TextBoxThemeConstants 为内联字符串 2026-05-03 12:37:36 +08:00
chinboy 1fd53361b3 chore(Input): remove InputThemeConstants and inline constants 2026-05-03 12:34:00 +08:00
chinboy 5d1d4d6542 chore(HeaderedContentControl): remove HeaderedContentControlThemeConstants and inline constants 2026-05-03 12:30:31 +08:00
chinboy 10f7cf616c chore(GroupBox): remove GroupBoxThemeConstants and inline constants 2026-05-03 12:29:06 +08:00
chinboy 352e97b4d5 chore(Expander): remove ExpanderThemeConstants and inline constants 2026-05-03 12:27:03 +08:00
chinboy 5945368c84 chore(ComboBox): remove unused ComboBoxThemeConstants 2026-05-03 11:40:14 +08:00
chinboy 9af1e0321e chore(Collapse): remove CollapseThemeConstants and inline constants 2026-05-03 11:38:23 +08:00
chinboy 249ae19e06 chore(Calendar): remove CalendarThemeConstants and inline constants 2026-05-03 11:30:46 +08:00
chinboy 25da94844f chore(Alert): remove AlertThemeConstants and inline constants 2026-05-03 11:21:56 +08:00
chinboy af3d4901ce chore(Timeline): remove unused TimelineThemeConstants 2026-05-03 11:20:09 +08:00
chinboy 4d6ddb7938 feat(Badge): add Badge control with Avalonia 12 compatibility 2026-05-03 11:15:58 +08:00
chinboy 1e3169c87d feat(SplitView): add SplitView control with motion support 2026-05-03 11:04:25 +08:00
chinboy 68039b7178 gallery(Result): port ResultShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-03 10:50:09 +08:00
chinboy 35c197c991 gallery(GroupBox): port GroupBoxShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-03 10:44:11 +08:00
chinboy ec655aeceb gallery(Expander): port ExpanderShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-03 10:32:16 +08:00
chinboy e88aac8e79 gallery(Empty): port EmptyShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-03 10:01:44 +08:00
chinboy 0938b3999f fix(Segmented): override ShouldTriggerSelection for Avalonia 12 compatibility
- Add ShouldTriggerSelection override to trigger selection on pointer release
- Port SegmentedShowCase from release/5.0 with Avalonia 12 adaptation
- Enable Segmented theme in DesktopControlThemesProvider
- Document SelectingItemsControl selection timing change in migration skill
2026-05-03 09:42:28 +08:00
chinboy c1fd73c5e3 gallery(Tag): port TagShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-02 23:23:25 +08:00
chinboy 37db894191 docs(migrate-to-avalonia12): add code-behind initialization preservation rule 2026-05-02 23:13:03 +08:00
chinboy 051900f9f6 gallery(Slider): add SliderShowCase with comprehensive examples 2026-05-02 23:00:08 +08:00
chinboy 0b7dc0a37f feat(Slider): add Slider control with Avalonia 12 compatibility 2026-05-02 22:16:25 +08:00
chinboy 4e94dd92fa chore(ToggleSwitch): enable theme and fix code style 2026-05-02 21:58:29 +08:00
chinboy 60b22577c8 gallery(ToggleSwitch): port ToggleSwitchShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-02 21:15:27 +08:00
chinboy f75b2c97c8 fix(FlyoutStateHelper): use logical tree for nested popup hierarchy checks 2026-05-02 19:19:09 +08:00
chinboy fc81ae591f fix(Button): correct template part selector from PART_Frame to Frame 2026-05-02 15:15:33 +08:00
chinboy 05cbf343fc feat(DropdownButton,ToggleIconButton): add ShouldUseOverlayPopup property and remove ThemeConstants
- Add ShouldUseOverlayPopup property to DropdownButton for configurable popup layer
- Bind ShouldUseOverlayPopup to MenuFlyout.ShouldUseOverlayLayerProperty
- Remove ToggleIconButtonThemeConstants and use string literals for template part names
2026-05-02 15:14:03 +08:00
chinboy 71cd547b63 gallery(DropdownButton): port DropdownButtonShowCase from release/5.0 with Avalonia 12 adaptation
- Port DropdownButtonShowCase with all examples (Basic, Button Types, Arrow, Placement)
- Change EntityKey ID to const string ID for Avalonia 12 pattern
- Add compiled bindings support (x:DataType, x:CompileBindings)
- Register DropdownButton in Gallery navigation and localization
2026-05-02 15:13:33 +08:00
chinboy 4b1bfdb75a feat(ComboBox): add ShouldUseOverlayPopup property and optimize code quality
- Add ShouldUseOverlayPopup property for configurable popup layer usage
- Remove redundant UpdateSelectionFromPointerEvent method
- Fix ContentRightAddOnTemplate binding error
- Remove unused _addOnDecoratedBox field
- Fix comment typo and add null check optimization
- Update ComboBoxItem to use UpdateSelectionFromEvent directly
- Register ComboBox in Gallery navigation and theme provider
2026-05-02 14:51:35 +08:00
chinboy 88a59f265d feat(ComboBox): migrate ComboBox control and ShowCase to Avalonia 12
- Add ComboBox control with Avalonia 12 compatibility
- Implement ShouldUseOverlayPopup property for popup layer configuration
- Fix dropdown closing behavior with IsLightDismissEnabled and SelectedItemProperty handler
- Add ComboBoxHandle, ComboBoxItem, and ComboBoxToken
- Port ComboBoxShowCase from release/5.0 with ReactiveUI pattern
- Register ComboBox in Gallery navigation and localization
2026-05-02 14:51:23 +08:00
chinboy 42c1b11a68 gallery(Separator): port SeparatorShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-02 13:24:12 +08:00
chinboy 0873583073 gallery(Rate): port RateShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-02 13:14:39 +08:00
chinboy b4821fcd74 gallery(RadioButton): port RadioButtonShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-02 13:03:09 +08:00
chinboy fee920269f docs(migrate-to-avalonia12): add rule to prevent redefining existing types in ShowCase migration 2026-05-02 12:52:47 +08:00
chinboy b88c061317 docs(migrate-to-avalonia12): add behavior preservation rules for control and ShowCase migration 2026-05-02 12:40:01 +08:00
chinboy bd963edde0 gallery(CheckBox): port CheckBoxShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-02 12:36:07 +08:00
chinboy ddc360db8d refactor(Card,Carousel): remove ThemeConstants and use string literals for template part names 2026-05-02 11:50:31 +08:00
chinboy 59c68ad310 gallery(Collapse): port CollapseShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-02 11:42:21 +08:00
chinboy cb07c1bb16 refactor(Card,Skeleton): migrate to Avalonia 12 dispatcher API and make AnimatableReflectionExtensions public 2026-05-02 11:34:17 +08:00
chinboy fdb7788e20 gallery(Card): port CardShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-02 11:32:02 +08:00
chinboy acb254375d feat(Card,Skeleton): port Card and Skeleton controls with Avalonia 12 migration and SkeletonShowCase 2026-05-02 10:36:20 +08:00
chinboy d7de2a2d18 gallery(Calendar): port CalendarShowCase from release/5.0 and fix selection state bug
Port CalendarShowCase to release/6.0 with Avalonia 12 adaptation. Fix critical bug where clicking an already-selected date caused the background to change from blue (selected) to gray (hover) due to IsSelected being incorrectly set to false during mouse interactions.

Changes:
- Add CalendarShowCase with basic usage example
- Register CalendarShowCase in Gallery navigation and view mapping
- Fix Calendar.UnHighlightDays to check SelectedDates before clearing IsSelected
- Fix CalendarItem.SetButtonState to use local variable instead of |= operator
- Enable Calendar theme in DesktopControlThemesProvider
- Reorder BaseCalendarDayButtonTheme styles for correct specificity
2026-05-02 10:05:23 +08:00
chinboy b3811e6524 chore: update generated files and enable Avatar/Carousel themes 2026-05-02 08:59:59 +08:00
chinboy ce310d63b1 feat(Avatar): port Avatar control and AvatarShowCase from release/5.0 with optimizations 2026-05-02 08:51:22 +08:00
chinboy f2b2899c24 gallery(Carousel): port CarouselShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-02 08:25:01 +08:00
chinboy 106dc7cdb3 refactor(ButtonSpinner): remove ButtonSpinnerThemeConstants and use direct string literals 2026-05-02 08:19:32 +08:00
chinboy 9a94324389 gallery(Alert): port AlertShowCase from release/5.0 with Avalonia 12 adaptation 2026-05-02 08:08:57 +08:00