AsheeUI 3.1.1
Checkbox and CheckboxGroup, folded Sidebar labels contained, and a subtle edge on Modal and Drawer.
| Field | Value |
|---|---|
| Version | 3.1.1 |
| Packages | asheeui 3.1.1, @asheeui/core 3.1.1, @asheeui/web 2.9.1, @asheeui/native 2.9.1, @asheeui/theme 0.1.2, @asheeui/puck 2.3.1, @asheeui/cli 1.0.1 |
| Previous release | 3.1.0 |
| Breaking changes | No. Existing configurations and imports keep their behaviour. |
The renderers, core and CLI later published the 2.9.2 / 3.1.2 / 1.0.2 patch
releases; the latest release is the current version table.
3.1.1 adds the checkbox the form family was missing, and corrects two layout defects that showed up in long-lived application shells.
Checkbox and CheckboxGroup
Checkbox is one boolean, drawn as a square a reader ticks. CheckboxGroup is the field
around a set of them: it owns a string[], carries the label, description and message,
and reports the whole set through onChange. Both renderers implement the pair, and
components.checkbox configures both.
import { Checkbox, CheckboxGroup } from "asheeui";
<CheckboxGroup label="Interests" defaultValue={["news"]}>
<Checkbox value="news" label="News" />
<Checkbox value="sport" label="Sport" />
</CheckboxGroup>
The group is a fieldset on the web and a role="group" view on the platform; each
option remains a real checkbox input or a checkbox accessibility element. The default
radius is sm, so a checkbox stays a square rather than inheriting a pill radius. See
Checkbox.
A folded Sidebar keeps its page
A folded row renders its label as sr-only, which is absolutely positioned. The column's
backdrop filter made the column the label's containing block, so a destination list longer
than the nav stranded those labels below the column; the page then grew by the overflow
and a sticky rail scrolled out of view. The row now states relative, so the nav clips
the label and the column keeps the height it was given.
A subtle edge on Modal and Drawer
Both surfaces now carry one hairline in the border token at half opacity. The modal had no edge of its own, and the drawer drew only its facing edge at full strength; the two now read as the same kind of surface without a border that competes with the content.
Upgrading
There are no breaking changes. Update the packages in the table on
the latest release, and keep the existing light/dark behaviour,
configured themes and component imports as they are.
The CLI is unchanged in this release.