-
Notifications
You must be signed in to change notification settings - Fork 66
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
feat(phone-input): new module #2259
Conversation
ba35b37
to
a03e836
Compare
🦋 Changeset detectedLatest commit: 829a953 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
a03e836
to
b62f566
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.
Overall looks pretty good.
There are some issues we need to fix before it goes out like with the shifting and some minor docs changes.
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.
Couple more issues I found when doing ebayui integration
a641de6
to
0bb36c7
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.
Looks nice so far. There are a few things to consider.
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.
Overall lgtm, just a couple of docs and minor style concerns
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
Overall good job!
76f8d48
to
9eadcc1
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.
Nice work!!! Everything looks good except,
- The question about the prefix possibly being inside
<input>
if we're going to be using a mask in ebay ui. - The way we're handling disabled flags.
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.
Nice!!!
<span class="btn__cell"> | ||
<span class="btn__text"> | ||
<svg class="flag flag--us" focusable="false" height="18" width="24" aria-hidden="true" data-country-code="1" | ||
aria-label="Country: United States of America (+1)"> |
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.
@saiponnada I notice this example code has the aria-label on the svg instead of the button.
Number</label> | ||
<span class="textbox"> | ||
<span id="floating-phone-prefix-0">+1</span> | ||
<input class="textbox__control" type="tel" aria-label="area code + phone number" |
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.
@saiponnada As we already have a label element doing the job, we can remove aria-label here.
Fixes #1601
Description
Created a new
Phone-Input
module. Made changes tobutton
to address variants for phone-Input.Added docs to
Phone-Input
andfloating-label
.Notes
Screenshots
Variants
Checklist