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.
This comment has been minimized.
This comment has been minimized.
|
#5081 is closed in favour of this PR, so a few things from it move here. A first pass for blockers:
Two questions:
|
7d89689 to
c529944
Compare
Thanks!
Q1. The circle's slop does not overlap a label nor a Chip body. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on c529944. The verdict and the full list are in the summary comment.
Apex Sentinel · ✅ Approve · review of
|
| Where | Finding |
|---|---|
src/components/Chip/Chip.tsx:388 |
🆕 Hover elevation and focus fill fire on a Chip that has no press handler |
Not in the reviewers' prompt (5 files)
docs/public/gallery/chip-dark.png: no text diff (a binary, empty or mode-only change)docs/public/gallery/chip.png: no text diff (a binary, empty or mode-only change)docs/public/screenshots/chip.png: no text diff (a binary, empty or mode-only change)src/components/__tests__/__snapshots__/Chip.test.tsx.snap: generated or a lockfile, so its lines were left outsrc/components/__tests__/__snapshots__/ListItem.test.tsx.snap: generated or a lockfile, so its lines were left out
2 new findings away from what changed since c529944 not shown. Comment @apex-sentinel-staging review for a full review.
Reviewed with this repository's own Sentinel configuration (69b82ad4a09c).
💬 Talking to Sentinel
In a finding's thread, reply with:
| 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.
BREAKING CHANGES:
modefromflattooutlined.compactprop.showSelectedOverlayprop (the selected overlay is now handled automatically for avatars).Other changes:
selected,disabled,icon/avatarandclose-iconcolor resolution (getChipColorsinutils.ts) to align with MD3 state and color roles, with a dedicated ripple color and avatar selected-overlay color.Motivation
Align the Chip component with Material Design 3 guidelines and specs.
Related issue
Closes the refactor(chip): improve selection model and MD3 compliance #4931
Screenshots / Videos
Test plan
Run the Example app and go to the Chip examples on iOS, Android and web, in light and dark themes, and click through every chip. Turn on VoiceOver (iOS) or TalkBack (Android) and swipe through them.