intl-tel-input 25.11.3 → 25.12.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/README.md +8 -8
- package/angular/README.md +6 -6
- package/angular/build/IntlTelInput.js +1 -1
- package/angular/build/IntlTelInputWithUtils.js +1 -1
- package/angular/build/types/intl-tel-input/i18n/index.d.ts +4 -0
- package/angular/build/types/intl-tel-input/i18n/lt/countries.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/lt/index.d.ts +6 -0
- package/angular/build/types/intl-tel-input/i18n/lt/interface.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sl/countries.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sl/index.d.ts +6 -0
- package/angular/build/types/intl-tel-input/i18n/sl/interface.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sq/countries.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sq/index.d.ts +6 -0
- package/angular/build/types/intl-tel-input/i18n/sq/interface.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sr/countries.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sr/index.d.ts +6 -0
- package/angular/build/types/intl-tel-input/i18n/sr/interface.d.ts +3 -0
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/ar/interface.js +12 -2
- package/build/js/i18n/bs/interface.js +9 -2
- package/build/js/i18n/cs/interface.js +9 -2
- package/build/js/i18n/hr/interface.js +9 -2
- package/build/js/i18n/index.js +4 -0
- package/build/js/i18n/lt/countries.js +245 -0
- package/build/js/i18n/lt/index.js +5 -0
- package/build/js/i18n/lt/interface.js +26 -0
- package/build/js/i18n/ro/interface.js +7 -2
- package/build/js/i18n/ru/interface.js +9 -2
- package/build/js/i18n/sk/interface.js +9 -2
- package/build/js/i18n/sl/countries.js +245 -0
- package/build/js/i18n/sl/index.js +5 -0
- package/build/js/i18n/sl/interface.js +25 -0
- package/build/js/i18n/sq/countries.js +245 -0
- package/build/js/i18n/sq/index.js +5 -0
- package/build/js/i18n/sq/interface.js +14 -0
- package/build/js/i18n/sr/countries.js +245 -0
- package/build/js/i18n/sr/index.js +5 -0
- package/build/js/i18n/sr/interface.js +21 -0
- package/build/js/i18n/uk/interface.js +9 -2
- package/build/js/intlTelInput.d.ts +76 -0
- package/build/js/intlTelInput.js +2 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +2 -2
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/package.json +1 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +1 -1
- package/react/build/IntlTelInput.d.ts +76 -0
- package/react/build/IntlTelInput.js +1 -1
- package/react/build/IntlTelInputWithUtils.cjs +1 -1
- package/react/build/IntlTelInputWithUtils.js +1 -1
- package/vue/README.md +1 -1
- package/vue/build/IntlTelInput.mjs +1 -1
- package/vue/build/IntlTelInputWithUtils.mjs +1 -1
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.
|
|
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.12.1/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.
|
|
@@ -873,6 +873,24 @@ declare module "intl-tel-input/i18n/ko" {
|
|
|
873
873
|
const allTranslations: I18n;
|
|
874
874
|
export default allTranslations;
|
|
875
875
|
}
|
|
876
|
+
declare module "intl-tel-input/i18n/lt/countries" {
|
|
877
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
878
|
+
const countryTranslations: I18n;
|
|
879
|
+
export default countryTranslations;
|
|
880
|
+
}
|
|
881
|
+
declare module "intl-tel-input/i18n/lt/interface" {
|
|
882
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
883
|
+
const interfaceTranslations: I18n;
|
|
884
|
+
export default interfaceTranslations;
|
|
885
|
+
}
|
|
886
|
+
declare module "intl-tel-input/i18n/lt" {
|
|
887
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
888
|
+
import countryTranslations from "intl-tel-input/i18n/lt/countries";
|
|
889
|
+
import interfaceTranslations from "intl-tel-input/i18n/lt/interface";
|
|
890
|
+
export { countryTranslations, interfaceTranslations };
|
|
891
|
+
const allTranslations: I18n;
|
|
892
|
+
export default allTranslations;
|
|
893
|
+
}
|
|
876
894
|
declare module "intl-tel-input/i18n/mr/countries" {
|
|
877
895
|
import { I18n } from "intl-tel-input/i18n/types";
|
|
878
896
|
const countryTranslations: I18n;
|
|
@@ -1017,6 +1035,60 @@ declare module "intl-tel-input/i18n/sk" {
|
|
|
1017
1035
|
const allTranslations: I18n;
|
|
1018
1036
|
export default allTranslations;
|
|
1019
1037
|
}
|
|
1038
|
+
declare module "intl-tel-input/i18n/sl/countries" {
|
|
1039
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1040
|
+
const countryTranslations: I18n;
|
|
1041
|
+
export default countryTranslations;
|
|
1042
|
+
}
|
|
1043
|
+
declare module "intl-tel-input/i18n/sl/interface" {
|
|
1044
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1045
|
+
const interfaceTranslations: I18n;
|
|
1046
|
+
export default interfaceTranslations;
|
|
1047
|
+
}
|
|
1048
|
+
declare module "intl-tel-input/i18n/sl" {
|
|
1049
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1050
|
+
import countryTranslations from "intl-tel-input/i18n/sl/countries";
|
|
1051
|
+
import interfaceTranslations from "intl-tel-input/i18n/sl/interface";
|
|
1052
|
+
export { countryTranslations, interfaceTranslations };
|
|
1053
|
+
const allTranslations: I18n;
|
|
1054
|
+
export default allTranslations;
|
|
1055
|
+
}
|
|
1056
|
+
declare module "intl-tel-input/i18n/sq/countries" {
|
|
1057
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1058
|
+
const countryTranslations: I18n;
|
|
1059
|
+
export default countryTranslations;
|
|
1060
|
+
}
|
|
1061
|
+
declare module "intl-tel-input/i18n/sq/interface" {
|
|
1062
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1063
|
+
const interfaceTranslations: I18n;
|
|
1064
|
+
export default interfaceTranslations;
|
|
1065
|
+
}
|
|
1066
|
+
declare module "intl-tel-input/i18n/sq" {
|
|
1067
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1068
|
+
import countryTranslations from "intl-tel-input/i18n/sq/countries";
|
|
1069
|
+
import interfaceTranslations from "intl-tel-input/i18n/sq/interface";
|
|
1070
|
+
export { countryTranslations, interfaceTranslations };
|
|
1071
|
+
const allTranslations: I18n;
|
|
1072
|
+
export default allTranslations;
|
|
1073
|
+
}
|
|
1074
|
+
declare module "intl-tel-input/i18n/sr/countries" {
|
|
1075
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1076
|
+
const countryTranslations: I18n;
|
|
1077
|
+
export default countryTranslations;
|
|
1078
|
+
}
|
|
1079
|
+
declare module "intl-tel-input/i18n/sr/interface" {
|
|
1080
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1081
|
+
const interfaceTranslations: I18n;
|
|
1082
|
+
export default interfaceTranslations;
|
|
1083
|
+
}
|
|
1084
|
+
declare module "intl-tel-input/i18n/sr" {
|
|
1085
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1086
|
+
import countryTranslations from "intl-tel-input/i18n/sr/countries";
|
|
1087
|
+
import interfaceTranslations from "intl-tel-input/i18n/sr/interface";
|
|
1088
|
+
export { countryTranslations, interfaceTranslations };
|
|
1089
|
+
const allTranslations: I18n;
|
|
1090
|
+
export default allTranslations;
|
|
1091
|
+
}
|
|
1020
1092
|
declare module "intl-tel-input/i18n/sv/countries" {
|
|
1021
1093
|
import { I18n } from "intl-tel-input/i18n/types";
|
|
1022
1094
|
const countryTranslations: I18n;
|
|
@@ -1202,6 +1274,7 @@ declare module "intl-tel-input/i18n" {
|
|
|
1202
1274
|
export { default as it, countryTranslations as itCountryTranslations, interfaceTranslations as itInterfaceTranslations } from "intl-tel-input/i18n/it";
|
|
1203
1275
|
export { default as ja, countryTranslations as jaCountryTranslations, interfaceTranslations as jaInterfaceTranslations } from "intl-tel-input/i18n/ja";
|
|
1204
1276
|
export { default as ko, countryTranslations as koCountryTranslations, interfaceTranslations as koInterfaceTranslations } from "intl-tel-input/i18n/ko";
|
|
1277
|
+
export { default as lt, countryTranslations as ltCountryTranslations, interfaceTranslations as ltInterfaceTranslations } from "intl-tel-input/i18n/lt";
|
|
1205
1278
|
export { default as mr, countryTranslations as mrCountryTranslations, interfaceTranslations as mrInterfaceTranslations } from "intl-tel-input/i18n/mr";
|
|
1206
1279
|
export { default as nl, countryTranslations as nlCountryTranslations, interfaceTranslations as nlInterfaceTranslations } from "intl-tel-input/i18n/nl";
|
|
1207
1280
|
export { default as no, countryTranslations as noCountryTranslations, interfaceTranslations as noInterfaceTranslations } from "intl-tel-input/i18n/no";
|
|
@@ -1210,6 +1283,9 @@ declare module "intl-tel-input/i18n" {
|
|
|
1210
1283
|
export { default as ro, countryTranslations as roCountryTranslations, interfaceTranslations as roInterfaceTranslations } from "intl-tel-input/i18n/ro";
|
|
1211
1284
|
export { default as ru, countryTranslations as ruCountryTranslations, interfaceTranslations as ruInterfaceTranslations } from "intl-tel-input/i18n/ru";
|
|
1212
1285
|
export { default as sk, countryTranslations as skCountryTranslations, interfaceTranslations as skInterfaceTranslations } from "intl-tel-input/i18n/sk";
|
|
1286
|
+
export { default as sl, countryTranslations as slCountryTranslations, interfaceTranslations as slInterfaceTranslations } from "intl-tel-input/i18n/sl";
|
|
1287
|
+
export { default as sq, countryTranslations as sqCountryTranslations, interfaceTranslations as sqInterfaceTranslations } from "intl-tel-input/i18n/sq";
|
|
1288
|
+
export { default as sr, countryTranslations as srCountryTranslations, interfaceTranslations as srInterfaceTranslations } from "intl-tel-input/i18n/sr";
|
|
1213
1289
|
export { default as sv, countryTranslations as svCountryTranslations, interfaceTranslations as svInterfaceTranslations } from "intl-tel-input/i18n/sv";
|
|
1214
1290
|
export { default as te, countryTranslations as teCountryTranslations, interfaceTranslations as teInterfaceTranslations } from "intl-tel-input/i18n/te";
|
|
1215
1291
|
export { default as th, countryTranslations as thCountryTranslations, interfaceTranslations as thInterfaceTranslations } from "intl-tel-input/i18n/th";
|
package/vue/README.md
CHANGED
|
@@ -34,7 +34,7 @@ See the [Validation demo](https://github.com/jackocnr/intl-tel-input/blob/master
|
|
|
34
34
|
"vue:demo": "vite --config vue/demo/[demo variant]/vite.config.js"
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
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/vueWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/vue"` 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.
|
|
37
|
+
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/vueWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/vue"` 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.12.1/build/js/utils.js"`.
|
|
38
38
|
|
|
39
39
|
## Props
|
|
40
40
|
Here's a list of all of the current props you can pass to the IntlTelInput Vue component.
|