Skip to content

v0.15.0

Choose a tag to compare

@pukhrajp pukhrajp released this 10 Jun 02:11
· 24 commits to main since this release
4bf835e

@tinybigui/react 0.15.0

List — MD3 Expressive Variants-vs-States Refactor

  • Move all interaction/selection state out of CVA variant keys into data-* attributes + group-data-[x]/list-item slot selectors (matches Button, Tabs, Switch pattern)
  • Add dedicated state layer span with MD3 spring-standard-fast-effects motion (opacity 8/10/10 for hover/focus/pressed)
  • Add keyboard focus ring span (outline-secondary, inset-0, opacity transition)
  • Replace scoped group with named group/list-item to prevent style leakage
  • Use getInteractionDataAttributes helper for consistent presence-based encoding
  • Propagate selected/disabled colors to leading, trailing, overline, headline, and supporting text slots via group-data selectors
  • Convert ListItemLeading, ListItemTrailing, ListItemText to slot CVAs
  • Fix ListDensity JSDoc: correct min-heights to 56/72/88dp (was 48/64dp)

Breaking change: Removed unused per-item onAction from ListItemProps — use List-level onAction instead.

New exports: All slot CVA variants and VariantProps types for List subcomponents.


Full changelog: CHANGELOG.md