intl-tel-input 25.8.4 → 25.8.5
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/README.md +1 -1
- package/angular/build/IntlTelInput.js +1 -1
- package/angular/build/IntlTelInputWithUtils.js +1 -1
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/index.mjs +0 -0
- package/build/js/intlTelInput.js +2 -2
- package/build/js/intlTelInput.min.js +4 -4
- package/build/js/intlTelInputWithUtils.js +2 -2
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/package.json +9 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +1 -1
- package/react/build/IntlTelInput.js +1 -1
- package/react/build/IntlTelInputWithUtils.cjs +1 -1
- package/react/build/IntlTelInputWithUtils.js +1 -1
- package/vue/README.md +1 -1
- package/vue/build/IntlTelInput.mjs +1 -1
- package/vue/build/IntlTelInputWithUtils.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intl-tel-input",
|
|
3
|
-
"version": "25.8.
|
|
3
|
+
"version": "25.8.5",
|
|
4
4
|
"description": "A JavaScript plugin for entering and validating international telephone numbers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"international",
|
|
@@ -118,10 +118,12 @@
|
|
|
118
118
|
"exports": {
|
|
119
119
|
".": {
|
|
120
120
|
"types": "./build/js/intlTelInput.d.ts",
|
|
121
|
+
"import": "./build/js/intlTelInput.js",
|
|
121
122
|
"default": "./build/js/intlTelInput.js"
|
|
122
123
|
},
|
|
123
124
|
"./intlTelInputWithUtils": {
|
|
124
125
|
"types": "./build/js/intlTelInput.d.ts",
|
|
126
|
+
"import": "./build/js/intlTelInputWithUtils.js",
|
|
125
127
|
"default": "./build/js/intlTelInputWithUtils.js"
|
|
126
128
|
},
|
|
127
129
|
"./data": "./build/js/data.js",
|
|
@@ -129,11 +131,13 @@
|
|
|
129
131
|
"./react": {
|
|
130
132
|
"types": "./react/build/IntlTelInput.d.ts",
|
|
131
133
|
"require": "./react/build/IntlTelInput.cjs",
|
|
134
|
+
"import": "./react/build/IntlTelInput.js",
|
|
132
135
|
"default": "./react/build/IntlTelInput.js"
|
|
133
136
|
},
|
|
134
137
|
"./reactWithUtils": {
|
|
135
138
|
"types": "./react/build/IntlTelInput.d.ts",
|
|
136
139
|
"require": "./react/build/IntlTelInputWithUtils.cjs",
|
|
140
|
+
"import": "./react/build/IntlTelInputWithUtils.js",
|
|
137
141
|
"default": "./react/build/IntlTelInputWithUtils.js"
|
|
138
142
|
},
|
|
139
143
|
"./vue": {
|
|
@@ -144,18 +148,22 @@
|
|
|
144
148
|
},
|
|
145
149
|
"./angular": {
|
|
146
150
|
"types": "./angular/build/types/intl-tel-input/angular.d.ts",
|
|
151
|
+
"import": "./angular/build/IntlTelInput.js",
|
|
147
152
|
"default": "./angular/build/IntlTelInput.js"
|
|
148
153
|
},
|
|
149
154
|
"./angularWithUtils": {
|
|
150
155
|
"types": "./angular/build/types/intl-tel-input/angularWithUtils.d.ts",
|
|
156
|
+
"import": "./angular/build/IntlTelInputWithUtils.js",
|
|
151
157
|
"default": "./angular/build/IntlTelInputWithUtils.js"
|
|
152
158
|
},
|
|
153
159
|
"./i18n": {
|
|
154
160
|
"types": "./build/js/intlTelInput.d.ts",
|
|
161
|
+
"import": "./build/js/i18n/index.js",
|
|
155
162
|
"default": "./build/js/i18n/index.js"
|
|
156
163
|
},
|
|
157
164
|
"./i18n/*": {
|
|
158
165
|
"types": "./build/js/intlTelInput.d.ts",
|
|
166
|
+
"import": "./build/js/i18n/*/index.js",
|
|
159
167
|
"default": "./build/js/i18n/*/index.js"
|
|
160
168
|
},
|
|
161
169
|
"./styles": "./build/css/intlTelInput.css",
|
package/react/README.md
CHANGED
|
@@ -28,7 +28,7 @@ import "intl-tel-input/styles";
|
|
|
28
28
|
|
|
29
29
|
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.
|
|
30
30
|
|
|
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/intl-tel-input@25.8.
|
|
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/intl-tel-input@25.8.5/build/js/utils.js"`.
|
|
32
32
|
|
|
33
33
|
## Props
|
|
34
34
|
Here's a list of all of the current props you can pass to the IntlTelInput React component.
|
package/vue/README.md
CHANGED
|
@@ -34,7 +34,7 @@ See the [Validation demo](https://github.com/jackocnr/intl-tel-input/blob/master
|
|
|
34
34
|
"vue:demo": "vite --config vue/demo/[demo variant]/vite.config.js"
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
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/vueWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/vue"` 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/intl-tel-input@25.8.
|
|
37
|
+
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/vueWithUtils"`, to include the utils script. Alternatively, if you use the main `"intl-tel-input/vue"` 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/intl-tel-input@25.8.5/build/js/utils.js"`.
|
|
38
38
|
|
|
39
39
|
## Props
|
|
40
40
|
Here's a list of all of the current props you can pass to the IntlTelInput Vue component.
|