-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
120 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
"@spectrum-css/tooltip": major | ||
--- | ||
|
||
feat(tooltip): Spectrum 2 migration | ||
|
||
This migration includes updated colors, rounding, a bigger tip, and the removal of variants (only neutral is available in Spectrum 2). As a result of the deprecation of variants, icons have also been removed. | ||
|
||
The redesign of the tip, specifically the rounding, required a reworking of how we use clip-path and transform. | ||
|
||
Some custom property mods have been removed: | ||
|
||
- `--mod-tooltip-background-color-informative` | ||
- `--mod-tooltip-background-color-negative` | ||
- `--mod-tooltip-background-color-positive` | ||
- `--mod-tooltip-icon-spacing-block-start` | ||
- `--mod-tooltip-icon-spacing-inline-end` | ||
- `--mod-tooltip-icon-spacing-inline-start` | ||
- `--mod-tooltip-icon-width` | ||
|
||
And one mod has been added: | ||
|
||
- `--mod-tooltip-tip-corner-radius` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,24 @@ | ||
| Modifiable custom properties | | ||
| -------------------------------------------- | | ||
| `--mod-overlay-animation-duration` | | ||
| `--mod-overlay-animation-duration-opened` | | ||
| `--mod-tooltip-animation-distance` | | ||
| `--mod-tooltip-background-color-default` | | ||
| `--mod-tooltip-background-color-informative` | | ||
| `--mod-tooltip-background-color-negative` | | ||
| `--mod-tooltip-background-color-positive` | | ||
| `--mod-tooltip-border-radius` | | ||
| `--mod-tooltip-cjk-line-height` | | ||
| `--mod-tooltip-content-color` | | ||
| `--mod-tooltip-font-size` | | ||
| `--mod-tooltip-font-weight` | | ||
| `--mod-tooltip-height` | | ||
| `--mod-tooltip-icon-height` | | ||
| `--mod-tooltip-icon-spacing-block-start` | | ||
| `--mod-tooltip-icon-spacing-inline-end` | | ||
| `--mod-tooltip-icon-spacing-inline-start` | | ||
| `--mod-tooltip-icon-width` | | ||
| `--mod-tooltip-line-height` | | ||
| `--mod-tooltip-margin` | | ||
| `--mod-tooltip-max-inline-size` | | ||
| `--mod-tooltip-pointer-corner-spacing` | | ||
| `--mod-tooltip-spacing-block-end` | | ||
| `--mod-tooltip-spacing-block-start` | | ||
| `--mod-tooltip-spacing-inline` | | ||
| `--mod-tooltip-tip-antialiasing-inset` | | ||
| `--mod-tooltip-tip-block-size` | | ||
| `--mod-tooltip-tip-height-percentage` | | ||
| `--mod-tooltip-tip-square-size` | | ||
| Modifiable custom properties | | ||
| ----------------------------------------- | | ||
| `--mod-overlay-animation-duration` | | ||
| `--mod-overlay-animation-duration-opened` | | ||
| `--mod-tooltip-animation-distance` | | ||
| `--mod-tooltip-background-color-default` | | ||
| `--mod-tooltip-border-radius` | | ||
| `--mod-tooltip-cjk-line-height` | | ||
| `--mod-tooltip-content-color` | | ||
| `--mod-tooltip-font-size` | | ||
| `--mod-tooltip-font-weight` | | ||
| `--mod-tooltip-height` | | ||
| `--mod-tooltip-line-height` | | ||
| `--mod-tooltip-margin` | | ||
| `--mod-tooltip-max-inline-size` | | ||
| `--mod-tooltip-pointer-corner-spacing` | | ||
| `--mod-tooltip-spacing-block-end` | | ||
| `--mod-tooltip-spacing-block-start` | | ||
| `--mod-tooltip-spacing-inline` | | ||
| `--mod-tooltip-tip-antialiasing-inset` | | ||
| `--mod-tooltip-tip-block-size` | | ||
| `--mod-tooltip-tip-corner-radius` | | ||
| `--mod-tooltip-tip-height-percentage` | | ||
| `--mod-tooltip-tip-square-size` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.