intl-tel-input 26.0.2 → 26.0.4
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 +5 -5
- package/angular/README.md +1 -1
- package/angular/build/IntlTelInput.js +2 -2
- package/angular/build/IntlTelInputWithUtils.js +2 -2
- package/angular/build/types/intl-tel-input/i18n/et/index.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/index.d.ts +1 -1
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/et/index.js +18 -0
- package/build/js/i18n/index.js +1 -1
- package/build/js/intlTelInput.d.ts +4 -4
- package/build/js/intlTelInput.js +3 -3
- package/build/js/intlTelInput.min.js +5 -5
- package/build/js/intlTelInputWithUtils.js +3 -3
- package/build/js/intlTelInputWithUtils.min.js +5 -5
- package/package.json +1 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +2 -2
- package/react/build/IntlTelInput.d.ts +4 -4
- package/react/build/IntlTelInput.js +2 -2
- package/react/build/IntlTelInputWithUtils.cjs +2 -2
- package/react/build/IntlTelInputWithUtils.js +2 -2
- package/svelte/README.md +1 -1
- package/svelte/build/IntlTelInput.mjs +287 -287
- package/svelte/build/IntlTelInputWithUtils.mjs +308 -308
- package/vue/README.md +1 -1
- package/vue/build/exports/IntlTelInput.mjs +1 -1
- package/vue/build/exports/IntlTelInputWithUtils.mjs +1 -1
- package/vue/build/intl-tel-input/i18n/index.d.ts +1 -1
- package/vue/build/{intl-tel-input-DYFK-Vt4.mjs → intl-tel-input-UemlYcBr.mjs} +38 -38
- package/build/img/globe.png +0 -0
- package/build/img/globe.webp +0 -0
- package/build/img/globe@2x.png +0 -0
- package/build/img/globe@2x.webp +0 -0
- package/build/img/globe_light.png +0 -0
- package/build/img/globe_light.webp +0 -0
- package/build/img/globe_light@2x.png +0 -0
- package/build/img/globe_light@2x.webp +0 -0
- /package/vue/build/intl-tel-input/i18n/{ee → et}/index.d.ts +0 -0
package/package.json
CHANGED
package/react/README.md
CHANGED
|
@@ -32,7 +32,7 @@ import "intl-tel-input/styles";
|
|
|
32
32
|
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.
|
|
33
33
|
|
|
34
34
|
## Utils Script
|
|
35
|
-
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 just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@26.0.
|
|
35
|
+
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 just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@26.0.4/build/js/utils.js"`.
|
|
36
36
|
|
|
37
37
|
## Props
|
|
38
38
|
Here's a list of all of the current props you can pass to the IntlTelInput React component.
|
|
@@ -3420,7 +3420,7 @@ var Iti = class _Iti {
|
|
|
3420
3420
|
const { name, dialCode } = this.selectedCountryData;
|
|
3421
3421
|
title = name;
|
|
3422
3422
|
ariaLabel = i18n.selectedCountryAriaLabel.replace("${countryName}", name).replace("${dialCode}", `+${dialCode}`);
|
|
3423
|
-
selectedCountryInner = "";
|
|
3423
|
+
selectedCountryInner = showFlags ? "" : buildGlobeIcon();
|
|
3424
3424
|
} else {
|
|
3425
3425
|
title = i18n.noCountrySelected;
|
|
3426
3426
|
ariaLabel = i18n.noCountrySelected;
|
|
@@ -3866,7 +3866,7 @@ var intlTelInput = Object.assign(
|
|
|
3866
3866
|
attachUtils,
|
|
3867
3867
|
startedLoadingUtilsScript: false,
|
|
3868
3868
|
startedLoadingAutoCountry: false,
|
|
3869
|
-
version: "26.0.
|
|
3869
|
+
version: "26.0.4"
|
|
3870
3870
|
}
|
|
3871
3871
|
);
|
|
3872
3872
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -530,17 +530,17 @@ declare module "intl-tel-input/i18n/de" {
|
|
|
530
530
|
const interfaceTranslations: I18n;
|
|
531
531
|
export default interfaceTranslations;
|
|
532
532
|
}
|
|
533
|
-
declare module "intl-tel-input/i18n/
|
|
533
|
+
declare module "intl-tel-input/i18n/el" {
|
|
534
534
|
import type { I18n } from "intl-tel-input/i18n/types";
|
|
535
535
|
const interfaceTranslations: I18n;
|
|
536
536
|
export default interfaceTranslations;
|
|
537
537
|
}
|
|
538
|
-
declare module "intl-tel-input/i18n/
|
|
538
|
+
declare module "intl-tel-input/i18n/es" {
|
|
539
539
|
import type { I18n } from "intl-tel-input/i18n/types";
|
|
540
540
|
const interfaceTranslations: I18n;
|
|
541
541
|
export default interfaceTranslations;
|
|
542
542
|
}
|
|
543
|
-
declare module "intl-tel-input/i18n/
|
|
543
|
+
declare module "intl-tel-input/i18n/et" {
|
|
544
544
|
import type { I18n } from "intl-tel-input/i18n/types";
|
|
545
545
|
const interfaceTranslations: I18n;
|
|
546
546
|
export default interfaceTranslations;
|
|
@@ -714,10 +714,10 @@ declare module "intl-tel-input/i18n" {
|
|
|
714
714
|
export { default as cs } from "intl-tel-input/i18n/cs";
|
|
715
715
|
export { default as da } from "intl-tel-input/i18n/da";
|
|
716
716
|
export { default as de } from "intl-tel-input/i18n/de";
|
|
717
|
-
export { default as ee } from "intl-tel-input/i18n/ee";
|
|
718
717
|
export { default as el } from "intl-tel-input/i18n/el";
|
|
719
718
|
export { default as en } from "intl-tel-input/i18n/en";
|
|
720
719
|
export { default as es } from "intl-tel-input/i18n/es";
|
|
720
|
+
export { default as et } from "intl-tel-input/i18n/et";
|
|
721
721
|
export { default as fa } from "intl-tel-input/i18n/fa";
|
|
722
722
|
export { default as fi } from "intl-tel-input/i18n/fi";
|
|
723
723
|
export { default as fr } from "intl-tel-input/i18n/fr";
|
|
@@ -3384,7 +3384,7 @@ var Iti = class _Iti {
|
|
|
3384
3384
|
const { name, dialCode } = this.selectedCountryData;
|
|
3385
3385
|
title = name;
|
|
3386
3386
|
ariaLabel = i18n.selectedCountryAriaLabel.replace("${countryName}", name).replace("${dialCode}", `+${dialCode}`);
|
|
3387
|
-
selectedCountryInner = "";
|
|
3387
|
+
selectedCountryInner = showFlags ? "" : buildGlobeIcon();
|
|
3388
3388
|
} else {
|
|
3389
3389
|
title = i18n.noCountrySelected;
|
|
3390
3390
|
ariaLabel = i18n.noCountrySelected;
|
|
@@ -3830,7 +3830,7 @@ var intlTelInput = Object.assign(
|
|
|
3830
3830
|
attachUtils,
|
|
3831
3831
|
startedLoadingUtilsScript: false,
|
|
3832
3832
|
startedLoadingAutoCountry: false,
|
|
3833
|
-
version: "26.0.
|
|
3833
|
+
version: "26.0.4"
|
|
3834
3834
|
}
|
|
3835
3835
|
);
|
|
3836
3836
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -3420,7 +3420,7 @@ var Iti = class _Iti {
|
|
|
3420
3420
|
const { name, dialCode } = this.selectedCountryData;
|
|
3421
3421
|
title = name;
|
|
3422
3422
|
ariaLabel = i18n.selectedCountryAriaLabel.replace("${countryName}", name).replace("${dialCode}", `+${dialCode}`);
|
|
3423
|
-
selectedCountryInner = "";
|
|
3423
|
+
selectedCountryInner = showFlags ? "" : buildGlobeIcon();
|
|
3424
3424
|
} else {
|
|
3425
3425
|
title = i18n.noCountrySelected;
|
|
3426
3426
|
ariaLabel = i18n.noCountrySelected;
|
|
@@ -3866,7 +3866,7 @@ var intlTelInput = Object.assign(
|
|
|
3866
3866
|
attachUtils,
|
|
3867
3867
|
startedLoadingUtilsScript: false,
|
|
3868
3868
|
startedLoadingAutoCountry: false,
|
|
3869
|
-
version: "26.0.
|
|
3869
|
+
version: "26.0.4"
|
|
3870
3870
|
}
|
|
3871
3871
|
);
|
|
3872
3872
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -3384,7 +3384,7 @@ var Iti = class _Iti {
|
|
|
3384
3384
|
const { name, dialCode } = this.selectedCountryData;
|
|
3385
3385
|
title = name;
|
|
3386
3386
|
ariaLabel = i18n.selectedCountryAriaLabel.replace("${countryName}", name).replace("${dialCode}", `+${dialCode}`);
|
|
3387
|
-
selectedCountryInner = "";
|
|
3387
|
+
selectedCountryInner = showFlags ? "" : buildGlobeIcon();
|
|
3388
3388
|
} else {
|
|
3389
3389
|
title = i18n.noCountrySelected;
|
|
3390
3390
|
ariaLabel = i18n.noCountrySelected;
|
|
@@ -3830,7 +3830,7 @@ var intlTelInput = Object.assign(
|
|
|
3830
3830
|
attachUtils,
|
|
3831
3831
|
startedLoadingUtilsScript: false,
|
|
3832
3832
|
startedLoadingAutoCountry: false,
|
|
3833
|
-
version: "26.0.
|
|
3833
|
+
version: "26.0.4"
|
|
3834
3834
|
}
|
|
3835
3835
|
);
|
|
3836
3836
|
var intl_tel_input_default = intlTelInput;
|
package/svelte/README.md
CHANGED
|
@@ -28,7 +28,7 @@ Try it for yourself by downloading and building the project yourself in 3 simple
|
|
|
28
28
|
|
|
29
29
|
See the [Validation demo](https://github.com/jackocnr/intl-tel-input/blob/master/svelte/demo/validation/App.svelte) 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/svelteWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/svelte"` 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@26.0.
|
|
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/svelteWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/svelte"` 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@26.0.4/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 Svelte component.
|