Repository navigation
Conversation
|
Found potential problems with the pull request:
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 9 new findings on ac535b2. The verdict and the full list are in the summary comment.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on 520457a. The verdict and the full list are in the summary comment.
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
#5081 is closed in favour of this PR, so a few things from it move here. A first pass for blockers:
Two questions:
|
Breaking API and behavior
modefrom flat to outlined.compactandshowSelectedOverlayprops; the selected overlay is now handled automatically for avatars.getChipColorsinutils.ts, renamed fromhelpers.tsx) to align with MD3 state and color roles, with a dedicated ripple color and avatar selected-overlay color.selectedColor.elevatedanddisabledprops.Accessibility, focus and interaction
useFocusRinghook, as Button, Card and FAB do.Surface, and passesfocusRing="none"to both ripples soTouchableRippleno longer adds a second ring.hitSlop, and moves the close icon intoTouchableRipplefor consistent ripple/state-layer feedback.hitSlopso it doesn't overlap the label's touch area.More including cleanups, docs, example app and tests.
Motivation
Align the Chip component with Material Design 3 guidelines and specs.
Related issue
refactor(chip): improve selection model and MD3 compliance #4931
feat: implement Chip component #5081
Screenshots / Videos
Test plan
Run the example app (
ChipExample) on iOS, Android and web, in light and dark themes, and click through every chip. Then turn on VoiceOver (iOS) or TalkBack (Android) and swipe through them.