Repository navigation
v0.1.0-alpha.13
Pre-releaseTwo new DataTable props, contributed by a consumer that had been carrying them locally.
Added
isRowClickable (#22). A table that mixes actionable and informational rows had no way to say so: onRowClick applied to every row, so a row that could not act on a click still carried the pointer affordance, a tab stop, and role="button", announcing itself to a screen reader as a button it was not. The predicate narrows it, and the affordance, the tab stop, and the role are now derived from one value so they cannot drift apart.
rowClassName (#22). An extra class for one row, for flagging a specific row without forking the table: a transient deep-link highlight, a stale entry, a row being removed. A falsy return adds nothing, so the common case stays data-table__row exactly.
Before you upgrade
Nothing renders differently. A table that passes neither prop behaves as it did: an absent isRowClickable treats every row as clickable, an absent rowClassName adds no class. A minor.
Full changelog: v0.1.0-alpha.12...v0.1.0-alpha.13