intl-tel-input 25.3.0 → 25.3.2
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/README.md +9 -7
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/ee/countries.js +245 -0
- package/build/js/i18n/ee/index.js +5 -0
- package/build/js/i18n/ee/interface.js +13 -0
- package/build/js/i18n/index.js +1 -0
- package/build/js/intlTelInput.d.ts +19 -0
- package/build/js/intlTelInput.js +2 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +707 -586
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/build/js/utils.js +158 -155
- package/package.json +1 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +1 -1
- package/react/build/IntlTelInput.d.ts +19 -0
- package/react/build/IntlTelInput.js +1 -1
- package/react/build/IntlTelInputWithUtils.cjs +706 -585
- package/react/build/IntlTelInputWithUtils.js +706 -585
- package/vue/README.md +1 -1
- package/vue/build/IntlTelInput.mjs +1 -1
- package/vue/build/IntlTelInputWithUtils.mjs +706 -585
package/package.json
CHANGED
package/react/README.md
CHANGED
|
@@ -28,7 +28,7 @@ import "intl-tel-input/styles";
|
|
|
28
28
|
|
|
29
29
|
See the [Validation demo](https://github.com/jackocnr/intl-tel-input/blob/master/react/demo/validation/ValidationApp.tsx) for a more fleshed-out example of how to handle validation.
|
|
30
30
|
|
|
31
|
-
A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about filesize) then you can just import IntlTelInput from `"intl-tel-input/reactWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/react"` import, then you should couple this with the `loadUtils` initialisation option - you will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `loadUtils` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@25.3.
|
|
31
|
+
A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about filesize) then you can just import IntlTelInput from `"intl-tel-input/reactWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/react"` import, then you should couple this with the `loadUtils` initialisation option - you will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `loadUtils` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@25.3.2/build/js/utils.js"`.
|
|
32
32
|
|
|
33
33
|
## Props
|
|
34
34
|
Here's a list of all of the current props you can pass to the IntlTelInput React component.
|
|
@@ -678,6 +678,24 @@ declare module "intl-tel-input/i18n/de" {
|
|
|
678
678
|
const allTranslations: I18n;
|
|
679
679
|
export default allTranslations;
|
|
680
680
|
}
|
|
681
|
+
declare module "intl-tel-input/i18n/ee/countries" {
|
|
682
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
683
|
+
const countryTranslations: I18n;
|
|
684
|
+
export default countryTranslations;
|
|
685
|
+
}
|
|
686
|
+
declare module "intl-tel-input/i18n/ee/interface" {
|
|
687
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
688
|
+
const interfaceTranslations: I18n;
|
|
689
|
+
export default interfaceTranslations;
|
|
690
|
+
}
|
|
691
|
+
declare module "intl-tel-input/i18n/ee" {
|
|
692
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
693
|
+
import countryTranslations from "intl-tel-input/i18n/ee/countries";
|
|
694
|
+
import interfaceTranslations from "intl-tel-input/i18n/ee/interface";
|
|
695
|
+
export { countryTranslations, interfaceTranslations };
|
|
696
|
+
const allTranslations: I18n;
|
|
697
|
+
export default allTranslations;
|
|
698
|
+
}
|
|
681
699
|
declare module "intl-tel-input/i18n/el/countries" {
|
|
682
700
|
import { I18n } from "intl-tel-input/i18n/types";
|
|
683
701
|
const countryTranslations: I18n;
|
|
@@ -1191,6 +1209,7 @@ declare module "intl-tel-input/i18n" {
|
|
|
1191
1209
|
export { default as cs, countryTranslations as csCountryTranslations, interfaceTranslations as csInterfaceTranslations } from "intl-tel-input/i18n/cs";
|
|
1192
1210
|
export { default as da, countryTranslations as daCountryTranslations, interfaceTranslations as daInterfaceTranslations } from "intl-tel-input/i18n/da";
|
|
1193
1211
|
export { default as de, countryTranslations as deCountryTranslations, interfaceTranslations as deInterfaceTranslations } from "intl-tel-input/i18n/de";
|
|
1212
|
+
export { default as ee, countryTranslations as eeCountryTranslations, interfaceTranslations as eeInterfaceTranslations } from "intl-tel-input/i18n/ee";
|
|
1194
1213
|
export { default as el, countryTranslations as elCountryTranslations, interfaceTranslations as elInterfaceTranslations } from "intl-tel-input/i18n/el";
|
|
1195
1214
|
export { default as en, countryTranslations as enCountryTranslations, interfaceTranslations as enInterfaceTranslations } from "intl-tel-input/i18n/en";
|
|
1196
1215
|
export { default as es, countryTranslations as esCountryTranslations, interfaceTranslations as esInterfaceTranslations } from "intl-tel-input/i18n/es";
|