Skip to content

Commit 4535f07

Browse files
committed
Release v25.2.1
1 parent f5f7273 commit 4535f07

23 files changed

+2055
-1135
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- IMPORTANT: please read the New Issue Checklist before creating a new issue: https://github.com/jackocnr/intl-tel-input/wiki/New-Issue-Checklist -->
22

33
### Plugin version
4-
e.g. v25.2.0 (please try latest version)
4+
e.g. v25.2.1 (please try latest version)
55

66
### Steps to reproduce
77
1.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,16 @@ _Note: We have now dropped support for all versions of Internet Explorer because
7575
## Getting Started (Using a CDN)
7676
1. Add the CSS
7777
```html
78-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].0/build/css/intlTelInput.css">
78+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].1/build/css/intlTelInput.css">
7979
```
8080

8181
2. Add the plugin script and initialise it on your input element
8282
```html
83-
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/build/js/intlTelInput.min.js"></script>
83+
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/build/js/intlTelInput.min.js"></script>
8484
<script>
8585
const input = document.querySelector("#phone");
8686
window.intlTelInput(input, {
87-
loadUtils: () => import("https://cdn.jsdelivr.net/npm/[email protected].0/build/js/utils.js"),
87+
loadUtils: () => import("https://cdn.jsdelivr.net/npm/[email protected].1/build/js/utils.js"),
8888
});
8989
</script>
9090
```
@@ -313,7 +313,7 @@ The `loadUtils` option takes a function which returns a Promise which resolves t
313313
```js
314314
// (A) import utils module from a CDN
315315
intlTelInput(htmlInputElement, {
316-
loadUtils: () => import("https://cdn.jsdelivr.net/npm/[email protected].0/build/js/utils.js"),
316+
loadUtils: () => import("https://cdn.jsdelivr.net/npm/[email protected].1/build/js/utils.js"),
317317
});
318318

319319
// (B) import utils module from your own hosted version of utils.js
@@ -594,7 +594,7 @@ The `loadUtils` option takes a function which returns a Promise which resolves t
594594
```js
595595
// (A) import utils module from a CDN
596596
intlTelInput(htmlInputElement, {
597-
loadUtils: () => import("https://cdn.jsdelivr.net/npm/[email protected].0/build/js/utils.js"),
597+
loadUtils: () => import("https://cdn.jsdelivr.net/npm/[email protected].1/build/js/utils.js"),
598598
});
599599

600600
// (B) import utils module from your own hosted version of utils.js

build/js/data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* International Telephone Input v25.2.0
2+
* International Telephone Input v25.2.1
33
* https://github.com/jackocnr/intl-tel-input.git
44
* Licensed under the MIT license
55
*/

build/js/data.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/js/intlTelInput.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* International Telephone Input v25.2.0
2+
* International Telephone Input v25.2.1
33
* https://github.com/jackocnr/intl-tel-input.git
44
* Licensed under the MIT license
55
*/
@@ -3169,7 +3169,7 @@ var factoryOutput = (() => {
31693169
attachUtils,
31703170
startedLoadingUtilsScript: false,
31713171
startedLoadingAutoCountry: false,
3172-
version: "25.2.0"
3172+
version: "25.2.1"
31733173
}
31743174
);
31753175
var intl_tel_input_default = intlTelInput;

build/js/intlTelInput.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/js/intlTelInputWithUtils.js

Lines changed: 255 additions & 140 deletions
Large diffs are not rendered by default.

build/js/intlTelInputWithUtils.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jackocnr/intl-tel-input",
3-
"version": "25.2.0",
3+
"version": "25.2.1",
44
"description": "A JavaScript plugin for entering and validating international telephone numbers",
55
"keywords": [
66
"international",

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intl-tel-input",
3-
"version": "25.2.0",
3+
"version": "25.2.1",
44
"description": "A JavaScript plugin for entering and validating international telephone numbers",
55
"keywords": [
66
"international",

react/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import "intl-tel-input/styles";
2828

2929
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.
3030

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/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 alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/[email protected].0/build/js/utils.js"`.
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/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 alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/[email protected].1/build/js/utils.js"`.
3232

3333
## Props
3434
Here's a list of all of the current props you can pass to the IntlTelInput React component.

react/build/IntlTelInput.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3164,7 +3164,7 @@ var intlTelInput = Object.assign(
31643164
attachUtils,
31653165
startedLoadingUtilsScript: false,
31663166
startedLoadingAutoCountry: false,
3167-
version: "25.2.0"
3167+
version: "25.2.1"
31683168
}
31693169
);
31703170
var intl_tel_input_default = intlTelInput;

react/build/IntlTelInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3128,7 +3128,7 @@ var intlTelInput = Object.assign(
31283128
attachUtils,
31293129
startedLoadingUtilsScript: false,
31303130
startedLoadingAutoCountry: false,
3131-
version: "25.2.0"
3131+
version: "25.2.1"
31323132
}
31333133
);
31343134
var intl_tel_input_default = intlTelInput;

0 commit comments

Comments
 (0)