-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
chore(PasswordInput): updated size props #10612
Merged
sstrubberg
merged 5 commits into
carbon-design-system:main
from
sstrubberg:size-audit-controlled-pass
Feb 11, 2022
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
41d4e42
chore(PasswordInput): updated size props
sstrubberg c7b85ea
Merge branch 'main' into size-audit-controlled-pass
sstrubberg 968efb7
chore(PasswordInput): updated default props
sstrubberg a5a0348
Merge branch 'main' into size-audit-controlled-pass
sstrubberg 70f8310
Merge branch 'main' into size-audit-controlled-pass
sstrubberg File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
sorry, last thing. I thought
md
was just for v11? Would we need a ternary here for v10 sizes: small & large?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.
derp, good call. Should I go empty string since there was no default in v10?
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 guess we can also wait to see if Percy finishes out. Md might already be default since before it was just asking for a string.
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 don't think there are any styles for
md
in v10/v11 since there are no styles for${prefix}--text-input--md
in/styles
or/components
so I guess in a way the default is md size wise, it's just never called out specifically?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.
@abbeyhrt Totally. That's what I was assuming as well. The fact the Percy didn't yell at me for setting
md
is pretty telling, i think. @joshblack can we get some confirmation on these assumptions?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.
Personally, I would go for an empty for the size prop since
md
doesn't have any meaning but it's also something we can change later on since it wouldn't break anything.