Skip to content

Release 0.15.1: a list view, a rating and a toolbar - #20

Merged
zaiev merged 2 commits into
mainfrom
a-list-view-a-rating-and-a-toolbar
Nov 24, 2026
Merged

zaiev merged 2 commits into
mainfrom
a-list-view-a-rating-and-a-toolbar

Conversation

@zaiev

@zaiev zaiev commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Why

HeroUI's set had gaps an application meets at once: a list of rows to choose and act on, a toolbar, an action bar for what is chosen, a rating, and a select drawn as text. Each is made headless first where Kobalte lacks it, of Kobalte's hooks, and dressed in HeroUI's look, so its behaviour is tested once whoever styles it; none patches Kobalte or copies React Aria.

The data grid's header, its own columns and its demos did not match HeroUI's, a press on a control inside a cell could run the row's action, and a virtualized table prerendered on the server told a reader one row and no column.

Changes

  • List_view, on a headless Grid_list: rows chosen by a checkbox, the keys or a press, actions and links, disabled rows, an empty state, two variants, and virtualized with row_height.
  • Rating, Kobalte's rating in HeroUI's look: sizes, colours, icons, a render function, disabled, and read only with fractional values; the items up to its value are active in the prerendered HTML.
  • Toolbar, on a headless Toolbar, and Action_bar, a toolbar floating at the foot of the page while open.
  • Inline_select, Switch.Icon, and every placement for Select.Popover.
  • A Field_error inside a Checkbox_group or Radio_group shows while the group is invalid.
  • A press inside any control in a Table's, Data_grid's or Autocomplete's trigger is the control's.
  • A virtualized Table's header hides the rows beneath it and tells its size from the server; a Data_grid's own columns are 40px and 32px wide.
  • The docs port HeroUI's examples that were waiting on these.

Verified

  • make test, make lint and make docs pass, with no warnings in any build log.
  • A virtualized List_view rendered on the server hydrates the rows it drew and chooses them, in a new hydration test; it failed before items made their children only as their rows are drawn.
  • Each new page checked in Chrome against heroui.com's: Rating's twelve demos, the virtualized list scrolling a thousand rows, a checkbox press choosing a row once.

HeroUI's set had gaps an application meets at once: a list of rows to
choose and act on, a toolbar, an action bar for what is chosen, a
rating, and a select drawn as text. Each is made headless first where
Kobalte lacks it, of Kobalte's hooks, and dressed in HeroUI's look, so
its behaviour is tested once whoever styles it; none patches Kobalte or
copies React Aria.

The data grid's header, its own columns and its demos now match
HeroUI's, a press inside any control in a cell stays the control's, and
a virtualized table prerendered on the server tells a reader its size.
A virtualized list makes an item's children only as its row is drawn,
since a row made but never drawn has no HTML to hydrate.
@zaiev
zaiev merged commit a242f0e into main Nov 24, 2026
4 checks passed
@zaiev
zaiev deleted the a-list-view-a-rating-and-a-toolbar branch November 24, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant