You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/silly-donkeys-remember.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,3 +3,9 @@
3
3
---
4
4
5
5
Improves the visibility of the clear button disabled variant on static color backgrounds by more closely aligning styles with close button.
6
+
7
+
- Adds `.spectrum-ClearButton--staticWhite` to the mod declarations associated with `.spectrum-ClearButton--overBackground` in advance of the latter being deprecated. The same class has been added to the `:focus` declaration for `spectrum-ClearButton--overBackground`.
8
+
- Adds `--spectrum-clear-button-icon-color-disabled: var(--spectrum-disabled-static-white-content-color);` custom property for `.spectrum-ClearButton--staticWhite`.
9
+
- Enables `cursor: pointer` for `.spectrum-ClearButton` when it is not disabled.
10
+
- Disables hover, active, focus and focus-within states for `:disabled``.spectrum-ClearButton` elements.
11
+
- Adds color styles for `:disabled` and `.is-disabled``.spectrum-ClearButton``:disabled` icons.
0 commit comments