intl-tel-input 23.7.3 → 23.7.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 +6 -6
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/intlTelInput.js +3 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +3 -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 +2 -1
- package/react/build/IntlTelInput.js +2 -1
- package/react/build/IntlTelInputWithUtils.cjs +2 -1
- package/react/build/IntlTelInputWithUtils.js +2 -1
package/package.json
CHANGED
package/react/README.md
CHANGED
|
@@ -29,7 +29,7 @@ import "intl-tel-input/styles";
|
|
|
29
29
|
|
|
30
30
|
See the [Validation demo](https://github.com/jackocnr/intl-tel-input/blob/master/react/demo/ValidationApp.tsx) for a more fleshed out example of how to handle validation.
|
|
31
31
|
|
|
32
|
-
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"` instead, to include the utils script. Alternatively, if you use the main `"intl-tel-input/react"` import, then you should couple this with the `utilsScript` 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 `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.7.
|
|
32
|
+
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"` instead, to include the utils script. Alternatively, if you use the main `"intl-tel-input/react"` import, then you should couple this with the `utilsScript` 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 `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.7.4/build/js/utils.js"`.
|
|
33
33
|
|
|
34
34
|
## Props
|
|
35
35
|
Here's a list of all of the current props you can pass to the IntlTelInput react component.
|
|
@@ -2777,6 +2777,7 @@ var loadUtils = (path) => {
|
|
|
2777
2777
|
return new Promise((resolve, reject) => {
|
|
2778
2778
|
import(
|
|
2779
2779
|
/* webpackIgnore: true */
|
|
2780
|
+
/* @vite-ignore */
|
|
2780
2781
|
path
|
|
2781
2782
|
).then(({ default: utils }) => {
|
|
2782
2783
|
intlTelInput.utils = utils;
|
|
@@ -2812,7 +2813,7 @@ var intlTelInput = Object.assign(
|
|
|
2812
2813
|
//* A map from instance ID to instance object.
|
|
2813
2814
|
instances: {},
|
|
2814
2815
|
loadUtils,
|
|
2815
|
-
version: "23.7.
|
|
2816
|
+
version: "23.7.4"
|
|
2816
2817
|
}
|
|
2817
2818
|
);
|
|
2818
2819
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -2741,6 +2741,7 @@ var loadUtils = (path) => {
|
|
|
2741
2741
|
return new Promise((resolve, reject) => {
|
|
2742
2742
|
import(
|
|
2743
2743
|
/* webpackIgnore: true */
|
|
2744
|
+
/* @vite-ignore */
|
|
2744
2745
|
path
|
|
2745
2746
|
).then(({ default: utils }) => {
|
|
2746
2747
|
intlTelInput.utils = utils;
|
|
@@ -2776,7 +2777,7 @@ var intlTelInput = Object.assign(
|
|
|
2776
2777
|
//* A map from instance ID to instance object.
|
|
2777
2778
|
instances: {},
|
|
2778
2779
|
loadUtils,
|
|
2779
|
-
version: "23.7.
|
|
2780
|
+
version: "23.7.4"
|
|
2780
2781
|
}
|
|
2781
2782
|
);
|
|
2782
2783
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -2777,6 +2777,7 @@ var loadUtils = (path) => {
|
|
|
2777
2777
|
return new Promise((resolve, reject) => {
|
|
2778
2778
|
import_INTENTIONALLY_BROKEN(
|
|
2779
2779
|
/* webpackIgnore: true */
|
|
2780
|
+
/* @vite-ignore */
|
|
2780
2781
|
path
|
|
2781
2782
|
).then(({ default: utils2 }) => {
|
|
2782
2783
|
intlTelInput.utils = utils2;
|
|
@@ -2812,7 +2813,7 @@ var intlTelInput = Object.assign(
|
|
|
2812
2813
|
//* A map from instance ID to instance object.
|
|
2813
2814
|
instances: {},
|
|
2814
2815
|
loadUtils,
|
|
2815
|
-
version: "23.7.
|
|
2816
|
+
version: "23.7.4"
|
|
2816
2817
|
}
|
|
2817
2818
|
);
|
|
2818
2819
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -2741,6 +2741,7 @@ var loadUtils = (path) => {
|
|
|
2741
2741
|
return new Promise((resolve, reject) => {
|
|
2742
2742
|
import_INTENTIONALLY_BROKEN(
|
|
2743
2743
|
/* webpackIgnore: true */
|
|
2744
|
+
/* @vite-ignore */
|
|
2744
2745
|
path
|
|
2745
2746
|
).then(({ default: utils2 }) => {
|
|
2746
2747
|
intlTelInput.utils = utils2;
|
|
@@ -2776,7 +2777,7 @@ var intlTelInput = Object.assign(
|
|
|
2776
2777
|
//* A map from instance ID to instance object.
|
|
2777
2778
|
instances: {},
|
|
2778
2779
|
loadUtils,
|
|
2779
|
-
version: "23.7.
|
|
2780
|
+
version: "23.7.4"
|
|
2780
2781
|
}
|
|
2781
2782
|
);
|
|
2782
2783
|
var intl_tel_input_default = intlTelInput;
|