intl-tel-input 25.4.5 → 25.4.7
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/build/IntlTelInput.cjs +4 -1
- package/angular/build/IntlTelInput.d.ts +372 -0
- package/angular/build/IntlTelInput.js +4 -1
- package/angular/build/IntlTelInputWithUtils.cjs +4 -1
- package/angular/build/IntlTelInputWithUtils.js +4 -1
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/intlTelInput.js +5 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +5 -2
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/package.json +3 -2
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +4 -1
- package/react/build/IntlTelInput.js +4 -1
- package/react/build/IntlTelInputWithUtils.cjs +4 -1
- package/react/build/IntlTelInputWithUtils.js +4 -1
- package/vue/README.md +1 -1
- package/vue/build/IntlTelInput.mjs +2 -2
- package/vue/build/IntlTelInputWithUtils.mjs +20 -20
package/README.md
CHANGED
|
@@ -77,16 +77,16 @@ _Note: We have now dropped support for all versions of Internet Explorer because
|
|
|
77
77
|
## Getting Started (Using a CDN)
|
|
78
78
|
1. Add the CSS
|
|
79
79
|
```html
|
|
80
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.
|
|
80
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.7/build/css/intlTelInput.css">
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
2. Add the plugin script and initialise it on your input element
|
|
84
84
|
```html
|
|
85
|
-
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.
|
|
85
|
+
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.7/build/js/intlTelInput.min.js"></script>
|
|
86
86
|
<script>
|
|
87
87
|
const input = document.querySelector("#phone");
|
|
88
88
|
window.intlTelInput(input, {
|
|
89
|
-
loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.
|
|
89
|
+
loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.7/build/js/utils.js"),
|
|
90
90
|
});
|
|
91
91
|
</script>
|
|
92
92
|
```
|
|
@@ -322,7 +322,7 @@ The `loadUtils` option takes a function which returns a Promise which resolves t
|
|
|
322
322
|
```js
|
|
323
323
|
// (A) import utils module from a CDN
|
|
324
324
|
intlTelInput(htmlInputElement, {
|
|
325
|
-
loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.
|
|
325
|
+
loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.7/build/js/utils.js"),
|
|
326
326
|
});
|
|
327
327
|
|
|
328
328
|
// (B) import utils module from your own hosted version of utils.js
|
|
@@ -606,7 +606,7 @@ The `loadUtils` option takes a function which returns a Promise which resolves t
|
|
|
606
606
|
```js
|
|
607
607
|
// (A) import utils module from a CDN
|
|
608
608
|
intlTelInput(htmlInputElement, {
|
|
609
|
-
loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.
|
|
609
|
+
loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.7/build/js/utils.js"),
|
|
610
610
|
});
|
|
611
611
|
|
|
612
612
|
// (B) import utils module from your own hosted version of utils.js
|
|
@@ -2055,6 +2055,9 @@ var Iti = class {
|
|
|
2055
2055
|
}
|
|
2056
2056
|
if (dropdownContainer) {
|
|
2057
2057
|
let dropdownClasses = "iti iti--container";
|
|
2058
|
+
if (containerClass) {
|
|
2059
|
+
dropdownClasses += ` ${containerClass}`;
|
|
2060
|
+
}
|
|
2058
2061
|
if (useFullscreenPopup) {
|
|
2059
2062
|
dropdownClasses += " iti--fullscreen-popup";
|
|
2060
2063
|
} else {
|
|
@@ -3169,7 +3172,7 @@ var intlTelInput = Object.assign(
|
|
|
3169
3172
|
attachUtils,
|
|
3170
3173
|
startedLoadingUtilsScript: false,
|
|
3171
3174
|
startedLoadingAutoCountry: false,
|
|
3172
|
-
version: "25.4.
|
|
3175
|
+
version: "25.4.7"
|
|
3173
3176
|
}
|
|
3174
3177
|
);
|
|
3175
3178
|
var intl_tel_input_default = intlTelInput;
|