-
Notifications
You must be signed in to change notification settings - Fork 201
fix(tooltip): restore negative and informative semantic variants #3641
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
Conversation
🦋 Changeset detectedLatest commit: dfcbd61 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 |
f6a7e85
to
c215a47
Compare
File metricsSummaryTotal size: 1.37 MB*
tooltip
* An ASCII character in UTF-8 is 8 bits or 1 byte. |
🚀 Deployed on https://pr-3641--spectrum-css.netlify.app |
c215a47
to
d961f08
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.
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.
I think this looks great!
Just a note that the commit when we squash this down, should probably be a fix
, since we're changing CSS, but not introducing a breaking change. Cassondra mentioned once that if there's CSS changes, we should label our commits as fix
or feat
.
@@ -14,8 +14,6 @@ | |||
@import "@spectrum-css/commons/overlay.css"; | |||
|
|||
.spectrum-Tooltip { | |||
--spectrum-tooltip-backgound-color-default-neutral: var(--spectrum-neutral-subdued-background-color-default); |
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.
616a05a
to
cfa34ed
Compare
cfa34ed
to
dfcbd61
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.
This looks great! Thanks for this update and documenting it so well!
"@spectrum-css/tooltip": minor | ||
--- | ||
|
||
#### S2: restore negative and informative semantic variants |
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.
Nice use of the heading levels 🥳
Description
This restores the negative and informative tooltip semantic variant styles, story controls and test cases. Icons have been removed for all variants as they are not present in the specifications provided by design.
Restored mods
--mod-tooltip-background-color-informative
--mod-tooltip-background-color-negative"
Validation steps
Default
story for the tooltip component.Screenshots
To-do list