react-native-international-phone-number 0.9.3 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +181 -460
- package/lib/assets/images/preview.png +0 -0
- package/lib/index.d.ts +10 -11
- package/lib/index.js +174 -273
- package/lib/interfaces/phoneInputProps.ts +36 -25
- package/lib/interfaces/phoneInputRef.ts +5 -3
- package/lib/interfaces/phoneInputStyles.ts +1 -1
- package/lib/styles.js +4 -97
- package/lib/utils/getCountryByPhoneNumber.js +5 -54
- package/lib/utils/getPlaceholders.js +0 -180
- package/lib/utils/getStyles.js +3 -63
- package/lib/utils/isValidPhoneNumber.js +10 -4
- package/package.json +3 -3
- package/.babelrc +0 -3
- package/lib/assets/fonts/TwemojiMozilla.woff2 +0 -0
- package/lib/assets/images/custom-styles.png +0 -0
- package/lib/constants/countries.js +0 -7751
- package/lib/interfaces/country.ts +0 -8
- package/lib/interfaces/countryCca2.ts +0 -242
- package/lib/interfaces/countryName.ts +0 -21
- package/lib/interfaces/language.ts +0 -21
- package/lib/interfaces/modalStyles.ts +0 -28
- package/lib/utils/getAllCountries.js +0 -16
- package/lib/utils/getCountriesByCallingCode.js +0 -51
- package/lib/utils/getCountriesByName.js +0 -20
- package/lib/utils/getCountryByCca2.js +0 -20
- package/lib/utils/getInputMask.js +0 -94
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
ISC License
|
|
2
2
|
|
|
3
|
-
Copyright 2022-present Willian Barbosa Lima do Nascimento
|
|
3
|
+
Copyright 2022-present Willian Barbosa Lima do Nascimento
|
|
4
4
|
|
|
5
5
|
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
|
6
6
|
|