Skip to content

Commit 1b567d9

Browse files
committed
v27.1.1
1 parent 12f6d28 commit 1b567d9

11 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/ISSUE_TEMPLATE/1_bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
label: Prerequisites
88
description: Take a couple of minutes to help our maintainers work faster.
99
options:
10-
- label: I am using the latest version (v27.1.0) of both intl-tel-input and utils.js.
10+
- label: I am using the latest version (v27.1.1) of both intl-tel-input and utils.js.
1111
required: true
1212
- label: This plugin uses libphonenumber for formatting, validation, and placeholder numbers. If my issue relates to one of these things, I confirm I have used their [test site](https://libphonenumber.appspot.com) to ensure the issue is not with them, and will provide a link to the test results page showing this. Else, I have [reported the issue](https://github.com/google/libphonenumber/blob/master/CONTRIBUTING.md) to them instead of here.
1313
required: true

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
See the Github Releases page for changelog: https://github.com/jackocnr/intl-tel-input/releases
22

3-
Or to view a specific version, e.g. v27.1.0, update the URL accordingly, e.g. https://github.com/jackocnr/intl-tel-input/releases/tag/v27.1.0
3+
Or to view a specific version, e.g. v27.1.1, update the URL accordingly, e.g. https://github.com/jackocnr/intl-tel-input/releases/tag/v27.1.1
44

55
## Breaking changes
66

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": "27.1.0",
3+
"version": "27.1.1",
44
"description": "A JavaScript plugin for entering and validating international telephone numbers",
55
"keywords": [
66
"international",

package-lock.json

Lines changed: 2 additions & 2 deletions
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": "27.1.0",
3+
"version": "27.1.1",
44
"description": "A JavaScript plugin for entering and validating international telephone numbers",
55
"type": "module",
66
"license": "MIT",

site/src/docs/markdown/angular_component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import "intl-tel-input/styles";
4646
4747
See the [validation demo](https://github.com/jackocnr/intl-tel-input/blob/master/angular/demo/validation/validation.component.ts) for a more fleshed-out example of how to handle validation, or check out the [form demo](https://github.com/jackocnr/intl-tel-input/blob/master/angular/demo/form/form.component.ts) for an alternative approach using `ReactiveFormsModule`.
4848

49-
A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about file size), then you can just import `IntlTelInput` from `"intl-tel-input/angularWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/angular"` import, then you should couple this with the `loadUtils` initialisation option - you will need to host the 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@27.1.0/dist/js/utils.js"`.
49+
A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about file size), then you can just import `IntlTelInput` from `"intl-tel-input/angularWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/angular"` import, then you should couple this with the `loadUtils` initialisation option - you will need to host the 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@27.1.1/dist/js/utils.js"`.
5050

5151
## Props
5252

site/src/docs/markdown/getting_started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ This page is for getting started with the JavaScript plugin. For the framework c
1212

1313
1. Add the CSS
1414
```html
15-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@27.1.0/dist/css/intlTelInput.css">
15+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@27.1.1/dist/css/intlTelInput.css">
1616
```
1717

1818
2. Add the plugin script and initialise it on your input element
1919
```html
20-
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@27.1.0/dist/js/intlTelInput.min.js"></script>
20+
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@27.1.1/dist/js/intlTelInput.min.js"></script>
2121
<script>
2222
const input = document.querySelector("#phone");
2323
window.intlTelInput(input, {
24-
loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@27.1.0/dist/js/utils.js"),
24+
loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@27.1.1/dist/js/utils.js"),
2525
});
2626
</script>
2727
```

site/src/docs/markdown/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ The [`loadUtils`](#loadutils) option takes a function that returns a Promise res
327327
```js
328328
// (A) import utils module from a CDN
329329
intlTelInput(htmlInputElement, {
330-
loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@27.1.0/dist/js/utils.js"),
330+
loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@27.1.1/dist/js/utils.js"),
331331
});
332332

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

site/src/docs/markdown/react_component.md

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

4242
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.
4343

44-
A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about file size), 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 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@27.1.0/dist/js/utils.js"`.
44+
A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about file size), 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 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@27.1.1/dist/js/utils.js"`.
4545

4646
## Props
4747

site/src/docs/markdown/svelte_component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ See the [Validation demo](https://github.com/jackocnr/intl-tel-input/blob/master
4343
> [!NOTE]
4444
> The package ships the raw `.svelte` source file rather than a pre-built `.mjs` bundle, so your project's existing Svelte tooling compiles it alongside your own components. Any standard Svelte setup (SvelteKit, Vite + `@sveltejs/vite-plugin-svelte`, etc.) handles this out of the box.
4545
46-
A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about file size), 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 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@27.1.0/dist/js/utils.js"`.
46+
A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about file size), 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 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@27.1.1/dist/js/utils.js"`.
4747

4848
## Props
4949

0 commit comments

Comments
 (0)