plass_ui 1.8.2
plass_ui: ^1.8.2 copied to clipboard
A Flutter UI component library made of glass and gradients — tinted surfaces, coloured shadows, and light that follows the pointer. Accessible, themeable, dark mode built in.
Changelog #
This package's unreleased changes and its latest release. Every earlier release is in
CHANGELOG.archive.md, and plass.cdget.com/changelog shows the whole history on one page. The React package keeps its own atpackages/react/CHANGELOG.md, because the two version independently.
vNext (2026--) #
1.8.2 - 2026-10-09 #
Breaking changes #
- Escape no longer empties a
PlComboboxwhose list is closed. One stray Escape took every chip off aPlCombobox.multiple, or the chosen value off a single one. The value now stays, and theDismissIntentgoes on to whatever the field sits in, so aPlModalround the field closes. Escape on an open list still closes it. PassclearOnEscape: trueto have Escape empty the field as before.
Added #
PlComboboxtakesfilter, so a list a server has already searched is shown as it came. Options were filtered again by their labels, so an option the server matched on another spelling was hidden.filter: (_, _) => truekeeps every option as given, and any other function decides which options a query keeps. The row that offers what was typed always stays.PlComboboxtakesautoHighlight, and lights the options that arrive after the query changed. The first row lit up only as the query changed, so options a caller handed in a moment later had nothing lit and Enter closed the list without taking one.PlComboboxHighlight.querystays the default and now lights the first of those options as they arrive, as Base UI 1.9.0 does for the React field.PlComboboxHighlight.alwaysalso lights the first row whenever the open list has rows and none is lit, as when it opens with nothing typed, andPlComboboxHighlight.nonelights nothing until an arrow key or the pointer does.- A
PlComboboxOptiontakescontent, which its row draws in place of the label. A row could only show its label, so a picture or a second line had nowhere to go. The label is still what is filtered, written into the field and put on the chip.
Changed #
- Enter on a
PlComboboxlist with no rows keeps the list open and the query in the field. A list still waiting for its options, or matching nothing, closed on Enter and put the text back, which emptied the query, so the reader had to type it again. Enter there now does nothing. A list with rows and none lit still closes on Enter.
Fixed #
- A chosen
PlComboboxvalue keeps its label onceoptionsno longer lists it. A chip, and the text of a single field, read the label off the currentoptions, so in a list a server answers, a value the latest query did not find was shown by its value. The field now keeps the label each chosen value was last listed with, including one taken from options that the next query emptied in the same press.