-
Notifications
You must be signed in to change notification settings - Fork 233
fix(sp-textfield): update border width and color for s2/Express #5734
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
Conversation
🦋 Changeset detectedLatest commit: 685b162 The changes in this PR will be included in the next version bump. This PR includes changesets to release 84 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📚 Branch Preview🔍 Visual Regression Test ResultsWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
Deployed to Azure Blob Storage: If the changes are expected, update the |
Tachometer resultsChrometextfield permalinktest-basic
Firefoxtextfield permalinktest-basic
|
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.
just curious about whether or not these should affect only the text area, or the text field as well.
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.
These changes look great! I do have a question, is padding-block-end
for textfield/textarea out of scope? I see that it hasn't changed so it's still using the component-bottom-to-text-100
tokens for all sizes. This isn't so noticeable for textarea, but since it also affects textfield, the bottom spacing is a bit large for the small size and a bit small for the XL size.
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.
I'm still a little curious if, beyond just the block-start padding, we could explore adjusting the component's block-end padding, too. If I reset the padding-block-end variables to their corresponding component-bottom-to-text-*
properties, the text within the textfield/textarea looks more centered.
With only the padding-block-start values:


After adding padding-block-end values:

Would this change still be in scope for your ticket?
Thank you for testing it out! You and @rise-erpelding are totally right, without these other tokens changed, the text will not be aligned. I pushed the changes, if you can verify the VRTs tests. Thank you! |
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.
Express looks good! I think you've just got a small typo on Spectrum 2. Could you also rebase/resolve conflicts when you get a chance, so we can see this with your other textfield changes that just merged? 🙂
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.
This looks great! I have a small request regarding updating the changeset, but otherwise I think this is good to go!
8b3c1f2
to
5bff4fc
Compare
@iuliauta Sorry about this! I jumped the gun in getting this PR merged when we had other priorities that needed to come first. I'll work on getting this PR ready again and see it through once we're able to merge again. Thanks for your patience! |
This PR improves the textarea component in spectrum-two and Express themes.
The border width, corner radius and paddings between textarea and label/help-text are addressed in this PR: #5733
The changes made in this PR:
Motivation and context
Fix the regressions found after changing from the express theme to the spectrum-two theme.
Related issue(s)
SWC-1073 (original)
CCEX-230903
Screenshots (if appropriate)
Author's checklist
Reviewer's checklist
patch
,minor
, ormajor
featuresManual review test cases
Descriptive Test Statement
Device review