-
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
fix(picker): spinner position in RTL direction #2567
Conversation
File metricsSummaryTotal size: 3.96 MB*
Detailspicker
* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
🚀 Deployed on https://pr-2567--spectrum-css.netlify.app |
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.
Visually this change is looking good! Just a couple of comments related to deprecating mods.
To answer your question about finding storybook, in the docs site side navigation, you can scroll down to the bottom and click on "Component preview" and it should pull up storybook.
Thanks @mdt2, great feedback. I have no additional feedback, just +1 to her suggestions. |
This does look strange. I took a quick peek and it looks like the token definition matches the S1 design spec, but we have a margin-inline-start value that seems to be limiting it at the XL size: |
Guys, I have no more things to add to this PR, happy to implement any other feedback, or else we can merge it. |
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.
Looks good to me, thank you! @castastrophe, @pfulton this should be ready for a final look/merge 👍
5b8e4eb
to
84359f5
Compare
84359f5
to
109beb1
Compare
* fix(picker): spinner position in RTL direction * chore(picker): apply styles only to is-loading and is-invalid * chore(picker): commit mods.md * chore(picker): add deprecation Co-authored-by: Melissa Thompson <[email protected]> * chore(picker): renamed variable --------- Co-authored-by: rmanole <[email protected]> Co-authored-by: Melissa Thompson <[email protected]>
Description
Aims to fix #2566
How 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.
Validation steps
is-loading
LTR - margin is applied between the spinner and the labelis-loading
RTL - margin is applied between the spinner and the labelis-invalid
LTR - margin is applied between the spinner and the iconis-invalid
RTL - margin is applied between the spinner and the iconnot invalid
- label has no margin endnot loading
- label has no margin endRegression testing
Validate:
Screenshots
To-do list