[go: nahoru, domu]

Skip to content

4.5.0 - Better Day Styling

Compare
Choose a tag to compare
@ME-MarvinE ME-MarvinE released this 24 May 02:59
· 91 commits to master since this release
e20b509

General

  • Added "ConnectingSelectedDays" example to sample app #127
  • Added "Duolingo Streak Calendar" example to sample app #137
  • Added Github Sponsor option to repo

Core

  • Added a non-generic class for "Calendar" #129

Forms & MAUI

  • Improved CalendarView initialisation/navigation/update speed
  • Added "DefaultStyles" class containing default DayView styles for each DayState. You can easily reference them through the {x:Static} XAML markup extension instead of having to recreate them.
  • Added AutoSetStyleBasedOnDayState property to DayView. When set to false, the DayView will not automatically update the active style when dependent properties like DateTime or DayState change. #133
  • Removed default WidthRequest value of 45
  • Changed default HeightRequest and WidthRequest properties in DayView to be set via a default style instead of on the control directly. Setting the values on the controls directly caused them to override any values set in Triggers, Styles, and Visual States so this fixes that #139
  • Replaced [DayState]BackgroundColor, [DayState]TextColor, [DayState]Command, and [DaySate]CommandParameter properties in DayView with [DayState]Style properties. Now you can change any property of the DayView depending on its state instead of just its BackgroundColor, TextColor, Command, and CommandParameter #132

MAUI

  • Fix layout issues where days in a CalendarView would be cut off due to not having enough space

Full Changelog: 4.4.2...4.5.0