-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Chip): change background color on hover/active #1302
Conversation
Size stats
|
Accessibility report ℹ️ You can run this locally by executing |
Deploy preview for mistica-web ready! ✅ Preview Built with commit 50a0a1a. |
Screenshot tests report ✔️ All passing |
When is not active and is being hovered, text of the chip shouldn't change to In the example in Movistar we can see the text of inactive chips to change to blue when hovered. |
It would be necessary to include the pressed state |
hmmm... what do you mean? It should already have pressed state. For example: https://mistica-qgteupypi-flows-projects-65bb050e.vercel.app/playroom/preview/#?code=N4Igxg9gJgpiBcIA8AFATjAbgSxgdwBUIIAbAZwAIB6APgB0A7JAYQAtsAHCiB9GMsgF5gACgCUFQTQrAAvrJptOSKko70GIADQgALqxgBbOIgBCJAIYBXELKA |
You're right, when the chip only has the onPress property, it does appear, but in a multi-selection, it doesn't show. |
ok, it should be fixed now. I thought the pressed state was only intended to be applied to button/link chips. With the latest changes, it should apply to any interactive chip, including checkbox/radio (single/multi selection) chips |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it's perfect :)
# [16.8.0](v16.7.0...v16.8.0) (2025-01-09) ### Bug Fixes * **react-datetime:** upgrade react-datetime to support React18 ([#1303](#1303)) ([9caf2c2](9caf2c2)) ### Features * **Chip:** change background color on hover/active ([#1302](#1302)) ([73e33eb](73e33eb)) * **Drawer:** new component ([#1306](#1306)) ([2543c67](2543c67)) * **icons:** New floppy disk icon ([#1304](#1304)) ([d9c5353](d9c5353)), closes [/github.com/Telefonica/mistica-design/issues/1956#issuecomment-2535956321](https://github.com//github.com/Telefonica/mistica-design/issues/1956/issues/issuecomment-2535956321)
🎉 This PR is included in version 16.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Automated changes by create-pull-request GitHub action
https://jira.tid.es/browse/WEB-2110