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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-tel-input",
3
- "version": "25.8.4",
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.4/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/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.
@@ -3267,7 +3267,7 @@ var intlTelInput = Object.assign(
3267
3267
  attachUtils,
3268
3268
  startedLoadingUtilsScript: false,
3269
3269
  startedLoadingAutoCountry: false,
3270
- version: "25.8.4"
3270
+ version: "25.8.5"
3271
3271
  }
3272
3272
  );
3273
3273
  var intl_tel_input_default = intlTelInput;
@@ -3231,7 +3231,7 @@ var intlTelInput = Object.assign(
3231
3231
  attachUtils,
3232
3232
  startedLoadingUtilsScript: false,
3233
3233
  startedLoadingAutoCountry: false,
3234
- version: "25.8.4"
3234
+ version: "25.8.5"
3235
3235
  }
3236
3236
  );
3237
3237
  var intl_tel_input_default = intlTelInput;
@@ -3267,7 +3267,7 @@ var intlTelInput = Object.assign(
3267
3267
  attachUtils,
3268
3268
  startedLoadingUtilsScript: false,
3269
3269
  startedLoadingAutoCountry: false,
3270
- version: "25.8.4"
3270
+ version: "25.8.5"
3271
3271
  }
3272
3272
  );
3273
3273
  var intl_tel_input_default = intlTelInput;
@@ -3231,7 +3231,7 @@ var intlTelInput = Object.assign(
3231
3231
  attachUtils,
3232
3232
  startedLoadingUtilsScript: false,
3233
3233
  startedLoadingAutoCountry: false,
3234
- version: "25.8.4"
3234
+ version: "25.8.5"
3235
3235
  }
3236
3236
  );
3237
3237
  var intl_tel_input_default = intlTelInput;
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.4/build/js/utils.js"`.
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.
@@ -2595,7 +2595,7 @@ const Y = (u) => {
2595
2595
  attachUtils: Y,
2596
2596
  startedLoadingUtilsScript: !1,
2597
2597
  startedLoadingAutoCountry: !1,
2598
- version: "25.8.4"
2598
+ version: "25.8.5"
2599
2599
  }
2600
2600
  ), Z = {
2601
2601
  __name: "IntlTelInput",
@@ -2595,7 +2595,7 @@ const Z2 = (m) => {
2595
2595
  attachUtils: Z2,
2596
2596
  startedLoadingUtilsScript: !1,
2597
2597
  startedLoadingAutoCountry: !1,
2598
- version: "25.8.4"
2598
+ version: "25.8.5"
2599
2599
  }
2600
2600
  );
2601
2601
  (function() {