v0.11.2
Changed
@tinybigui/react
- Tabs — MD3 expressive styling refactor with variants-vs-states architecture
- Rewrite
Tabs.variants.ts: remove selected/disabled CVA variants; drive all interaction states viadata-*attributes andgroup-data-[x]/tabselectors - Add
tabStateLayerVariantsslot (absolute inset overlay) replacingbefore:pseudo-element; hover 8%, focus/pressed 10% opacity per MD3 spec - Fix active indicator: both primary and secondary variants now use
bg-primary(MD3 spec: active-indicator-color =--md-sys-color-primary) - Fix indicator motion:
transition-[left,width]usesspring-standard-default-spatialtokens - Fix primary indicator width: measures
[data-tab-content]span width (content width, centered), not full tab button width - Add
ResizeObserverinTabListto keep indicator position correct on reflow - Update
Tab.tsx: adduseHover, takeisPressedfromuseTab, emitdata-*attrs viagetInteractionDataAttributes - Export
tabStateLayerVariantsfrom package index
- Rewrite
Full changelog: packages/react/CHANGELOG.md