-
Notifications
You must be signed in to change notification settings - Fork 130
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
Add PhoneNumberInput component #2500
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
* SX-2129 Edit phone number Circuit UI component * Add test for accessibility errors * Update documentation and add placeholder prop for the subscriber number * Update packages/circuit-ui/components/PhoneNumberInput/PhoneNumberInput.tsx Co-authored-by: Connor Bär <connor-baer@users.noreply.github.com> * Update packages/circuit-ui/components/PhoneNumberInput/PhoneNumberInputService.spec.ts Co-authored-by: Connor Bär <connor-baer@users.noreply.github.com> * Update packages/circuit-ui/components/PhoneNumberInput/PhoneNumberInput.mdx Co-authored-by: Connor Bär <connor-baer@users.noreply.github.com> * Update packages/circuit-ui/components/PhoneNumberInput/PhoneNumberInput.mdx Co-authored-by: Connor Bär <connor-baer@users.noreply.github.com> * Add fallback logic for Intl.DisplayNames * Update stories to have only one validation story * Update docs and readonly props * Update code country to be of type input when read only and reset validation hint as additional field * Update country code input element to not trigger countryCode onChange property * Remove legacy useEffect * Trigger deployment --------- Co-authored-by: Connor Bär <connor-baer@users.noreply.github.com> Co-authored-by: Connor Bär <github@connorbaer.com>
This comment was marked as resolved.
This comment was marked as resolved.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2500 +/- ##
==========================================
+ Coverage 88.16% 88.29% +0.12%
==========================================
Files 204 206 +2
Lines 22320 22752 +432
Branches 1490 1518 +28
==========================================
+ Hits 19678 20088 +410
- Misses 2590 2612 +22
Partials 52 52
|
Addresses DSYS-654.
Purpose
The new phone number input component allow us to collect accurate, consistently formatted phone numbers including the country code and minimize the amount of friction for users.
Requirements
Approach and changes
Definition of done