v0.9.0
Highlights
Chip — MD3 Expressive refactor
The Chip component has been rewritten to follow the same slot-based "Variants vs States" architecture used by Button and Switch.
Architecture
- Interaction/selection states driven by
data-*attributes viagetInteractionDataAttributes - Dedicated focus ring slot rendered outside
overflow-hidden - Independent remove-button state layer with
group/chip-removescope - Spring motion tokens for color, opacity, shadow, and checkmark animations
MD3 token corrections
- Per-type color tokens now match the MD3 Expressive spec exactly (assist, filter, input, suggestion)
New features
surface="elevated"now works on filter and input chips in addition to assist and suggestion
Breaking changes (pre-1.0)
surfacedefault changed from"tonal"to"flat"surface="tonal"is deprecated — maps to"flat"with a console warning in non-production
New exports
- Slot variant functions:
chipStateLayerVariants,chipFocusRingVariants,chipLeadingIconVariants, and more - Types:
ChipStateLayerVariants,ChipLeadingIconVariants,ChipBodyPassthroughProps,ChipRemovePassthroughProps
Full changelog: packages/react/CHANGELOG.md