-
Notifications
You must be signed in to change notification settings - Fork 195
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
fix(colorloupe): adds correct disabled styles #3453
base: main
Are you sure you want to change the base?
fix(colorloupe): adds correct disabled styles #3453
Conversation
🦋 Changeset detectedLatest commit: 2ecf9c0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🚀 Deployed on https://pr-3453--spectrum-css.netlify.app |
File metricsSummaryTotal size: 4.27 MB* Table reports on changes to a package's main file. Other changes can be found in the collapsed Details section below.
Detailscolorloupe
* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
- correctly adds styles for disabled color loupes - rebuilds metadata.json - create changeset
b5a996e
to
2ecf9c0
Compare
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.
Ran through the test cases and they're looking great! I am still seeing the box-shadow when activating the disabled knob but I think that's because the object maintains focus and clicking away hides the shadow. I think it's a Storybook-only issue and not necessarily something we need to fix.
Description
It was noted in #3409 that the color loupe shouldn't display when its color handle is disabled. If a user went to color handle, turned the
withColorLoupe
to true, then tried to disable the color handle, and the color loupe is still rendering. This PR aims to fix that by adding styles for disabled color loupes. There's also the corresponding changeset and udpates to the metadata.json.Before 🚫 (color loupe testing grid/color handle testing grid)
After ✅ (color loupe testing grid/color handle testing grid)
Jira/Specs
CSS-1089
How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps
opacity: 0
in the inspector)Regression testing
Validate:
Screenshots
To-do list