intl-tel-input 26.0.2 → 26.0.3
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/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- 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.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-DYFK-Vt4.mjs → intl-tel-input-A8ZXud5P.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/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.3/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.3"
|
|
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.3"
|
|
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.3"
|
|
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.3"
|
|
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.3/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.
|