Skip to content

Commit

Permalink
Release v20.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jackocnr committed Mar 26, 2024
1 parent e0deb7c commit 79e81d1
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@ _Note: We have now dropped support for all versions of Internet Explorer because
## Getting Started (Using a CDN)
1. Add the CSS
```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@20.2.0/build/css/intlTelInput.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@20.3.0/build/css/intlTelInput.css">
```

2. Add the plugin script and initialise it on your input element
```html
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@20.2.0/build/js/intlTelInput.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@20.3.0/build/js/intlTelInput.min.js"></script>
<script>
const input = document.querySelector("#phone");
window.intlTelInput(input, {
utilsScript: "https://cdn.jsdelivr.net/npm/intl-tel-input@20.2.0/build/js/utils.js",
utilsScript: "https://cdn.jsdelivr.net/npm/intl-tel-input@20.3.0/build/js/utils.js",
});
</script>
```
Expand Down
2 changes: 1 addition & 1 deletion build/js/data.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/js/data.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/js/intlTelInput-jquery.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* International Telephone Input v20.2.0
* International Telephone Input v20.3.0
* https://github.com/jackocnr/intl-tel-input.git
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -1683,7 +1683,7 @@
// default options
intlTelInputGlobals.defaults = defaults;
// version
intlTelInputGlobals.version = "20.2.0";
intlTelInputGlobals.version = "20.3.0";
var pluginName = "intlTelInput";
// A really lightweight plugin wrapper around the constructor,
// preventing against multiple instantiations
Expand Down
4 changes: 2 additions & 2 deletions build/js/intlTelInput-jquery.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/js/intlTelInput.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* International Telephone Input v20.2.0
* International Telephone Input v20.3.0
* https://github.com/jackocnr/intl-tel-input.git
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -1678,7 +1678,7 @@
// default options
intlTelInputGlobals.defaults = defaults;
// version
intlTelInputGlobals.version = "20.2.0";
intlTelInputGlobals.version = "20.3.0";
// convenience wrapper
return function(input, options) {
var iti = new Iti(input, options);
Expand Down
4 changes: 2 additions & 2 deletions build/js/intlTelInput.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jackocnr/intl-tel-input",
"version": "20.2.0",
"version": "20.3.0",
"description": "A JavaScript plugin for entering and validating international telephone numbers",
"keywords": [
"international",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intl-tel-input",
"version": "20.2.0",
"version": "20.3.0",
"description": "A JavaScript plugin for entering and validating international telephone numbers",
"keywords": [
"international",
Expand Down
2 changes: 1 addition & 1 deletion react/build/IntlTelInput.cjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion react/build/IntlTelInput.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion react/build/IntlTelInput.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion react/build/IntlTelInput.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion react/demo/simple-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -24838,7 +24838,7 @@ var E = $((K, v) => {
w("rejectUtilsScriptPromise"), t && t();
}, i.className = "iti-load-utils", i.async = true, i.src = g, document.body.appendChild(i);
};
return f.loadUtils = (g) => !window.intlTelInputUtils && !window.intlTelInputGlobals.startedLoadingUtilsScript ? (window.intlTelInputGlobals.startedLoadingUtilsScript = true, new Promise((e, t) => S(g, e, t))) : null, f.defaults = I, f.version = "20.2.0", function(g, e) {
return f.loadUtils = (g) => !window.intlTelInputUtils && !window.intlTelInputGlobals.startedLoadingUtilsScript ? (window.intlTelInputGlobals.startedLoadingUtilsScript = true, new Promise((e, t) => S(g, e, t))) : null, f.defaults = I, f.version = "20.3.0", function(g, e) {
var t = new D(g, e);
return t._init(), g.setAttribute("data-intl-tel-input-id", t.id), window.intlTelInputGlobals.instances[t.id] = t, t;
};
Expand Down
2 changes: 1 addition & 1 deletion react/demo/validation-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -24838,7 +24838,7 @@ var E = $((K, v) => {
w("rejectUtilsScriptPromise"), t && t();
}, i.className = "iti-load-utils", i.async = true, i.src = g, document.body.appendChild(i);
};
return f.loadUtils = (g) => !window.intlTelInputUtils && !window.intlTelInputGlobals.startedLoadingUtilsScript ? (window.intlTelInputGlobals.startedLoadingUtilsScript = true, new Promise((e, t) => S(g, e, t))) : null, f.defaults = I, f.version = "20.2.0", function(g, e) {
return f.loadUtils = (g) => !window.intlTelInputUtils && !window.intlTelInputGlobals.startedLoadingUtilsScript ? (window.intlTelInputGlobals.startedLoadingUtilsScript = true, new Promise((e, t) => S(g, e, t))) : null, f.defaults = I, f.version = "20.3.0", function(g, e) {
var t = new D(g, e);
return t._init(), g.setAttribute("data-intl-tel-input-id", t.id), window.intlTelInputGlobals.instances[t.id] = t, t;
};
Expand Down

0 comments on commit 79e81d1

Please sign in to comment.