-
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
style(picker)!: add missing tokens #2063
Conversation
🚀 Deployed on https://pr-2063--spectrum-css.netlify.app |
617636f
to
2550569
Compare
@Westbrook - just a note here that this will remove the medium size class ( @mlogsdon18 noting that we'll make this a breaking change when merging in! |
57e5b81
to
7885f5b
Compare
/* Placeholder tokens to align Popover with Picker */ | ||
.spectrum--medium { | ||
--spectrum-picker-popover-quiet-offset-x: 12px; | ||
} | ||
|
||
.spectrum--large { | ||
--spectrum-picker-popover-quiet-offset-x: 14px; | ||
} |
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.
LGTM!
Added inline-size for new field-width token Removed medium size vars as they were set by default Added spacing tokens for the label, validation icon, and progress circle Removed margin-inline for quiet picker popovers
7885f5b
to
fa9611e
Compare
Description
field-width
tokenHow and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Storybook Test:
- [ ] Verify that all stories load correctly
Docs Test:
- [ ] Docs site displays examples correctly
- [ ] Inspect and verify that the new
field-width
token has been added and is being used for a default width- [ ] Inspect and verify that the
field-top-to-disclosure-icon-[size]
,field-end-edge-to-disclosure-icon-[size]
andpicker-end-edge-to-disclosure-icon-quiet
tokens are all in use for the Chevron padding.Regression testing
Validate:
To-do list
I have read the contribution guidelines.
I have updated relevant storybook stories and templates.
I have tested these changes in Windows High Contrast mode.
If my change impacts other components, I have tested to make sure they don't break.
If my change impacts documentation, I have updated the documentation accordingly.
✨ This pull request is ready to merge. ✨