Skip to content

v5.2.0

Choose a tag to compare

@github-actions github-actions released this 09 Apr 19:28
· 92 commits to main since this release

What is New

  • Introduced BreadcrumbBar control for navigation (BreadcrumbBar.cs).
  • Introduced CommandBar control for command management and toolbar functionality (CommandBar.cs).
  • Added file selection features to PathPicker (PathPicker.cs).
  • Implemented DownloadPanel control for download management (DownloadPanel.cs).
  • Introduced LogViewerPanel for real-time log filtering (LogViewerPanel.cs).
  • Introduced StepDialog control for multi-step guidance (StepDialog.cs).
  • Added IsLastItemClickEnabled property for breadcrumb behavior control (BreadcrumbBar.cs).
  • Added ItemClicked event to handle breadcrumb item clicks (BreadcrumbBar.cs).
  • Introduced BreadcrumbBarItem for representing individual breadcrumb segments (BreadcrumbBarItem.cs).
  • Added BreadcrumbBarItemAutomationPeer for accessibility tools (BreadcrumbBarItemAutomationPeer.cs).
  • Introduced BreadcrumbBarItemClickedEventArgs for click event data (BreadcrumbBarItemClickedEventArgs.cs).
  • Created BreadcrumbBarPanel for layout management of breadcrumbs (BreadcrumbBarPanel.cs).
  • Added IsOpen property to CommandBar for managing command bar state.
  • Added IsSticky property to CommandBar for persistent visibility upon light dismiss.
  • Added ClosedDisplayMode property to CommandBar for closed state appearance.
  • Added DefaultLabelPosition property to control command button label placement in CommandBar.
  • Added ItemsAlignment property for aligning primary commands in CommandBar.
  • Added OverflowButtonVisibility property to configure overflow button visibility in CommandBar.
  • Added IsDynamicOverflowEnabled property to support dynamic command overflow in CommandBar.
  • Introduced Opening, Opened, Closing, Closed events for overflow popup lifecycle in CommandBar.
  • Added PrimaryCommands and SecondaryCommands collections to CommandBar.
  • Introduced CommandBarButton control for command actions.
  • Added Icon property to CommandBarButton for button icon geometry.
  • Added Label property to CommandBarButton for text labeling.
  • Added KeyboardAcceleratorText property for shortcut hints in CommandBarButton.
  • Added IsCompact property to CommandBarButton for minimal display.
  • Added IsInOverflow property to CommandBarButton for overflow status.
  • Added DynamicOverflowOrder property to CommandBarButton for ordering.
  • Introduced CommandBarItemsAlignment enum for alignment options.
  • Introduced CommandBarClosedDisplayMode enum for closed state appearance.
  • Introduced CommandBarDefaultLabelPosition enum for label positioning.
  • Introduced CommandBarOverflowButtonVisibility enum for overflow button display.
  • Introduced CommandBarOverflowPresenter for overflow item management in CommandBar.
  • Added CommandBarSeparator for visual separation in toolbars.
  • Introduced IsInOverflowProperty to CommandBarSeparator for overflow status.
  • Added DynamicOverflowOrderProperty to CommandBarSeparator for ordering.
  • Created IsCompactProperty in CommandBarSeparator for compactness control.
  • Introduced CommandBarToggleButton for toggle functionality in toolbars.
  • Added ICommandBarElement interface for command bar element overflow management.

Improvements

  • Enhanced TreeViewPanel item rendering for improved performance (TreeViewPanel.cs).
  • Improved CommandBar with state preservation and enhanced logging (CommandBar.cs).
  • Improved handlers for CollectionChanged events on command collections in CommandBar.
  • Enhanced OnApplyTemplate in CommandBar to restore IsOpen state reliably.
  • Enhanced file filter and binding syntax in PathPicker (PathPicker.cs).
  • Implemented custom BreadcrumbBarPanel for layout of BreadcrumbBar (BreadcrumbBar.cs).
  • Added accessibility management methods for breadcrumb items (BreadcrumbBar.cs).
  • Enhanced keyboard navigation in breadcrumb items (BreadcrumbBar.cs).
  • Improved visibility computation of ellipsis in BreadcrumbBarPanel (BreadcrumbBarPanel.cs).
  • Added IsEllipsisDropDownItem property for ellipsis items in breadcrumbs (BreadcrumbBarItem.cs).
  • Implemented pseudo-classes for visual state management in CommandBarButton.
  • Added properties to CommandBarToggleButton impacting toggle state visuals.

Bug Fixes

  • Fixed selection errors when null file list items occur in PathPicker (PathPicker.cs).
  • Resolved tray popup icon rendering issues in dual-mode for PleasantTrayPopup (PleasantTrayPopup.cs).
  • Improved file picker debug logging traceability (PleasantFileChooser.cs).
  • Corrected file format processing for patterns in PleasantFileChooserViewModel.cs.
  • Resolved ItemsSource unsubscribe issues on change in BreadcrumbBar (BreadcrumbBar.cs).
  • Fixed visual property reset for the last breadcrumb item.
  • Addressed resource finding issues for BreadcrumbBarItem (BreadcrumbBarItem.cs).
  • Fixed IsOpen state restoration after template reapplication in CommandBar.
  • Corrected event subscription in CommandBar to avoid memory leaks.
  • Button clicks in overflow now close the parent CommandBar.

Breaking Changes

  • Changed ShowTitle property in CommandBar to read-only.
  • Changed FilteredEntries in LogViewerPanel to use AvaloniaList<LogEntry>.
  • Updated Chunks property in DownloadPanel to AvaloniaList<ChunkInfo>.
  • Revised Index property in BreadcrumbBar to read-only.

Packages

  • PleasantUI
  • PleasantUI.DataGrid
  • PleasantUI.MaterialIcons
  • PleasantUI.ToolKit