-
Notifications
You must be signed in to change notification settings - Fork 198
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
refactor(picker)!: use spectrum tokens #1528
Conversation
509b05c
to
4ab4402
Compare
🚀 Deployed on https://pr-1528--spectrum-css.netlify.app |
80f89a0
to
7fa286b
Compare
d878607
to
0ed3d64
Compare
0ed3d64
to
b46e9b7
Compare
d2e7164
to
1b726e0
Compare
@@ -45,6 +45,7 @@ examples: | |||
name: Standard | |||
markup: | | |||
<h4>Closed</h4> | |||
<div class="spectrum-FieldLabel spectrum-FieldLabel--sizeM">Country</div> |
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.
The design examples all use Field Labels, but I didn't think I should use a label
with a button. What element should this be?
components/picker/index.css
Outdated
border-width: var(--spectrum-picker-texticon-disabled-border-size); | ||
cursor: default; | ||
/* Placeholder tokens */ | ||
.spectrum--medium { |
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.
1b726e0
to
c758e46
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.
Whoa this one is complex.
36b6c45
to
78d6230
Compare
Still need to update Invalid red box shadows Still need to add focus-indicator gap
- Rename border-size to border-width - Remove Help text from other example - Remove focus state box-shadow transition - Fix quiet indicator gap
The design for this variant will be updated.
- Add Popover offset to align with Picker
- Hide focus indicator when menu is-open
9672a47
to
e826552
Compare
Description
Refactor Picker to use core tokens and update WHCM.
How and where has this been tested?
Screenshots
To-do list