-
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.
fix(stepper,infieldbutton,picker): s2 foundations fast follows (#3536)
* fix(picker): update default border-color to gray-500 - also updates metadata.json * fix(infieldbutton): update tokens for background color - updates gray-50 to gray-100 for default background color - updates gray-100 to gray-200 for down and hover state background color - updates metadata.json to reflect changes These fixes should align the stepper infield buttons with the style behavior of other form elements (particularly to match picker). * fix(picker): update font color for focus state - in the keyboard focus state, the picker value/placeholder font color was resolving to gray-800, when gray-900 was expected. - create changeset * fix(stepper): fix border color for focus&hover fix(picker): add .spectrum-Picker-label to selector - this should avoid accidentally targeting the nested is-placeholder class - updates changeset
- Loading branch information
1 parent
5b6021c
commit f77aa72
Showing
9 changed files
with
23 additions
and
13 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,12 @@ | ||
--- | ||
"@spectrum-css/infieldbutton": patch | ||
"@spectrum-css/stepper": patch | ||
"@spectrum-css/picker": patch | ||
--- | ||
|
||
S2 Foundations fixes | ||
|
||
- Adjusts the background-color of the infield button components within stepper to use `gray-100` as opposed to `gray-25`. | ||
- This corresponds to the background-color updates picker has for S2. | ||
- Corrects the border color for the default picker for S2 foundations, using `gray-500` (instead of `gray-800`) to align with other field/form components. | ||
- Refactors the `&.is-keyboardFocused&.is-placeholder` selector to `&.is-keyboardFocused.spectrum-Picker-label.is-placeholder` to avoid unexpectedly targeting the nested placeholder class. |
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
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
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
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