Repository navigation
v0.6.0
Pinned columns that stay pinned, dark sections that reach into menus, and a keyboard path for range selection. No breaking API changes; two visible ones, under Changed.
New
- Shift+click a row checkbox, or press Shift+Space on a focused one, to set every row from the last checkbox you toggled to the same state. Disabled rows are skipped.
Fixed
alwaysVisiblecolumns are pinned: they can't be hidden or moved, and they stay out of the column panel, with single or grouped headers. Reordering the other columns leaves pinned ones where they are.- A layout saved before a column was pinned, or by 0.5.1's panel, no longer moves a pinned column or hides it.
onVisibleColumnsChangealways reports pinned columns as visible. - The column panel lists columns in the table's current order, including after a restored layout.
.darkon the table's own element switches it to the dark defaults, as on an ancestor.- Menus and the column panel copy
.darkfrom the table's section when they open, so they no longer render light inside a dark page section.
Changed
- Every menu item is 32px tall (plain items were 48px, link items 44px), and every label sits 0.5rem from its icon (link items, submenu triggers and submenu items had 1rem). Open menus look shorter.
- Table and pagination text take the theme's foreground colour, so text in a
.darksection stays readable without a theme. Acoloryou set on a wrapper or onbodyno longer reaches the cells or a standalonePagination; set it on.rdt-tableor.rdt-pagination, or through--foreground.
Docs
- Clickable rows: rows don't take focus, so put a link in the row's main cell for keyboard and screen reader users and keep
onRowClickas the mouse shortcut. The new Clickable Rows story shows it.