Repository navigation
v1.9.0
📋 What's Changed
Added
- Sizing:
DaisySize.Auto(-1) is the defaultSizeof every Daisy control. An Auto control takes the size of its containing composite control (button group, avatar group, list row, steps, dock, Fab, accordion, weather forecast) or the global size;ResolvedSizereports the concrete tier. The five tiers keep their values 0 to 4.FlowerySizeManager.ResolveSizeresolves a requested size for an element. DaisyButton.ContentPadding(Thickness?) andResolvedContentPadding;DaisyCard.ResolvedBodyPadding.DaisyAccordionandDaisyAccordionItem:Size. An accordion's size is the default for its items.DaisyStat:ValueFontSizeandLabelFontSize.DaisyBreadcrumbsandDaisyBreadcrumbItem:SeparatorBrush. The item's brush wins over the container's.DaisyNumberFlow.DigitForeground.DaisyMenuItem.IsTitle: a non-interactive section heading (Primary, bold, Base300 divider below) that pointer, keyboard and selection skip.- Theming: every palette, including registered custom palettes, provides
DaisyBaseContentMuted(70 % of BaseContent),DaisyBaseContentSubtleandDaisyBaseContentDisabled(50 %), andDaisyButton{Variant}Soft,SoftHoverandSoftBorder(15, 30 and 45 % of the variant color; Business Primary Soft 12 %) colors and brushes. A color or brush the palette defines itself is kept; high contrast keeps its own brushes.
Changed
- Breaking: Sizing: an unset
Sizenow readsAuto. Code that readsSizefor layout or token lookups must readResolvedSize. Constructors,DaisyControlLifecycle, the size manager and the Gallery no longer writeSize, so explicit values, styles and bindings keep their precedence and an explicit Medium stays explicit when the global size changes. Without a global size, Auto resolves to Medium, to Small forDaisyModifierKeys,DaisyDivider,DaisyTabsHeaderButtonsandDaisyTagPicker, and to Large forDaisyFab. - Breaking:
FlowerySizeManager.ApplySizethrowsArgumentOutOfRangeExceptionforAutoor a value outside the five tiers. WithEnableGlobalAutoSizeset to false it no longer refreshes responsive TextBlocks;RefreshAllSizescatches up all loaded controls. - Breaking:
DaisyControlLifecycleonly handles theme changes. Its constructor no longer takesgetSize,setSizeandsubscribeSizeChanges. The protectedDaisyComboBoxBase(bool subscribeSizeChanges)constructor is removed. - Breaking:
DaisyBaseContentControl: the virtualOnGlobalSizeChangedandSetControlSizeare replaced byOnResolvedSizeChangedandDefaultSize. - Breaking: Button:
Paddingis outer spacing added to the automatic inner padding. Code that setPaddingto replace the inner padding setsContentPaddinginstead;nullselects the automatic padding, zero is kept. Custom templates bindResolvedContentPadding. - Breaking: Card:
BodyPaddingisThickness?.nullselects 16/24/32/40/48 by tier (half in Compact); explicit values including zero survive size and variant changes. XAML values stay valid; code and custom templates that need the concrete value readResolvedBodyPadding. - Composite controls give Auto children their size without overwriting a child's own
Size. Dock no longer writes its items'IconSizeorIgnoreGlobalSize; a suppliedDaisyWeatherForecastItemkeeps itsSize. - Soft buttons and button groups use the Soft surface, hover and border brushes in the seven color variants.
- Breadcrumbs: separators use the Subtle brush at
SeparatorOpacity1 (an explicit opacity still multiplies); the last item uses Muted. Authored content inherits the item's foreground. - Stat: title and description use the Muted brush at full opacity. Input, PasswordBox and TextArea: hint, helper and optional text use Muted, placeholders Subtle. CalendarDatePicker: the date hint uses the placeholder brush, a selected date the full foreground.
- ThemeController: the checkbox mode follows the checkbox size tokens.
- Gallery: the sidebar takes the library widths 190/205/220/235/250 per tier, the four selectors stretch to the sidebar width, and a size change keeps the pane open or closed. Gallery and Photos ignore a saved global size that is not one of the five tiers.
- Gallery: in the glass demos of the Cards page (Glass Card, DaisyGlass Simulated, Bitmap Capture and Full Width), every card or glass panel has a row of six stars. Two stay left of it and four run half behind its lower edge, so sharp and covered stars sit side by side; the cards are 100 apart to make room. In the Glass Card demo, the comparison caption sits above the cards.
- Runtime tests run in English, whatever the saved Gallery language.
- Build: the Skia backdrop capture and image processor call the
DrawBitmapoverloads withSKSamplingOptions; the obsolete overloads raisedCS0618. - Build: the Kiosk smoke report has an inconclusive outcome. A scaling checkpoint whose only problem is a zoom panel overflowing the slide is inconclusive instead of failed; its text measures taller in local console sessions than over Remote Desktop.
test_kiosk.ps1lists inconclusive checks as warnings and fails only on failed checks. - Build:
test_windows.ps1,test_kiosk.ps1andrun-kiosk.ps1accept-WindowRegion UpperHalf, and the Gallery, Kiosk and Photos acceptFLOWERY_MONITOR_REGION=upper-half, to place the window in the upper half of the chosen monitor. The physical rendering probe checks that region too. Window placement stays optional:run-kiosk.ps1no longer defaults to monitor 2 and, like the test scripts, leaves the window to Windows unless-Monitoris given. - Release: every release asset has a signed build provenance attestation, verifiable with
gh attestation verify <file> --repo tobitege/Flowery.WinUI, andSHA256SUMS.txtlists the SHA-256 checksum of each asset. The release notes explain both checks.
Fixed
- Button: an authored
MinWidth, including one from a style or binding, is kept. Every size or shape update reset it to 0 (200 forWide); theWideshape still supplies 200 when nothing else sets a minimum width, and leavingWideremoves only that value. - IconText: a control that loads again shows its current
Textand icon. Changes made while it was unloaded, for example in a hidden tab, kept the old content. - Glass:
DaisyGlassapplies itsPaddingto the content. It builds its visual tree in code and ignoredPadding, so the content touched the edges and the glass was only as tall as its content. - Tooltip: a tooltip opened with
IsOpencloses when the control unloads, for example on navigation, and opens again when it loads whileIsOpenis still true. It stayed on screen without its owner, partly outside the window.IsOpenset before the first load now opens the tooltip too. - Tour: a step no longer closes when another scroll, such as a page control bringing itself into view, moves its target out of view. The tour scrolls the targets into view again and closes with
TargetUnavailableonly when the target stays hidden. This made the Gallery connector demo test fail intermittently.
📦 Library
| Asset | Description |
|---|---|
Flowery.WinUI.1.9.0.nupkg |
NuGet package (also on nuget.org) |
Flowery.WinUI-lib.zip |
Compiled DLL and PDB |
🌸 Gallery Demo App
Self-contained executable for demoing Flowery.WinUI controls (no .NET install required).
| Platform | Download |
|---|---|
| Windows x64 | Flowery.WinUI.Gallery-Windows-x64.zip |
| Windows x64 Kiosk | Flowery.WinUI.Kiosk-Windows-x64.zip |
🖼️ Flowery Photos
Photo viewer and editor built with Flowery.WinUI (no .NET or Windows App SDK install required). The per-user installer adds a Start menu entry and an uninstaller. Alternatively, extract the portable ZIP and keep all its files together.
| Asset | Description |
|---|---|
Flowery.WinUI.Photos-Setup-1.9.0-x64.exe |
Per-user installer (Windows x64) |
Flowery.WinUI.Photos-Windows-x64.zip |
Portable app (Windows x64); run Flowery.WinUI.Photos.exe |
🔐 Verify downloads
This workflow built every asset above and attested its build provenance. To check that a file comes from this repository and release build:
gh attestation verify <file> --repo tobitege/Flowery.WinUI
SHA256SUMS.txt lists the SHA-256 checksum of every asset; check all of them with sha256sum -c SHA256SUMS.txt, or one file in PowerShell with Get-FileHash <file>. The packages on nuget.org carry nuget.org's repository signature, so their checksums differ from the release assets.
What's Changed
- Implement package 7 sizing ownership and visual defaults by @tobitege in #39
- Reveal a hidden tour target from every geometry update by @tobitege in #40
- Attest release assets and publish their checksums by @tobitege in #41
- Apply DaisyGlass padding to its content by @tobitege in #42
Full Changelog: v1.8.1...v1.9.0