Component changelog

CheckboxGroup changelog

Component-specific release notes collected from the full changelog. This page filters the published entries that mention CheckboxGroup.

Release

v1.2.1

npm
Patch Changes
  • 8859953Combobox, Checkbox, CheckboxGroup, RadioGroup, Switch and Field no longer restore their default value when the owning form's reset event is cancelled with preventDefault(). They used to reset anyway, so a page that cancels resets lost the user's selection and submitted the default. The restore now runs after the event has finished dispatching, like a native control, so it also follows the browser's own reset of the form (#2344).

Release

v1.2.0

npm
Minor Changes
  • 07e6783: CheckboxGroup supports a "select all" checkbox. Pass every item's value as allValues on the Root and add parent to a Trigger: it's checked when every item is, mixed (aria-checked="mixed", data-state="indeterminate", a dash icon) when some are, and toggling it checks or clears them all. It submits nothing of its own.

  • 07e6783: Add DirectionProvider and useDirection. Wrap an RTL app once with <DirectionProvider dir="rtl"> and every Rad UI component inside uses right-to-left keyboard navigation and positioning: Tabs, TabNav, ToggleGroup, Toolbar, RadioGroup, CheckboxGroup, Accordion, Menubar, menus, NavigationMenu, Splitter, Slider, Select and Combobox. A component's own dir prop still wins. Set dir on <html> as well so text and CSS follow.

  • ed15256: Add forceMount to Checkbox.Indicator and RadioGroup.Indicator (and the CheckboxGroup primitive content): the indicator stays rendered while unchecked, with data-state="unchecked", so it can animate out or reserve space. The radio indicator now also carries data-state.

Patch Changes
  • 589f4ba: Checkbox and CheckboxGroup items no longer toggle on Enter; Space toggles them, as the WAI-ARIA checkbox pattern and native checkboxes do. Roving-focus items (CheckboxGroup, and other groups built on them) now run a consumer's onKeyDown and onFocus alongside their own instead of replacing them, so passing onKeyDown to CheckboxGroup.Trigger no longer breaks arrow-key navigation.

  • 07e6783: CheckboxGroup and RadioGroup always render their group wrapper. With a single item wrapped in its Label, the group's role and id used to merge onto that <label>, so the checkbox or radio lost its accessible name.

Release

v1.0.0

npm
Patch Changes
  • 1ea8953: Document CheckboxGroup keyboard interactions and ARIA references.

  • 5ff13c7: Expose stable data-slot anatomy markers on CheckboxGroup parts.

Release

v0.1.0

npm
Minor Changes
  • b471ddbTests, API improvements across components, Steps + Minimap, roving focus for CheckboxGroup, RadioGroup and Select updates, forwardRef on many primitives, a11y and build fixes.