intl-tel-input 25.1.1 → 25.2.0

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.1.1",
3
+ "version": "25.2.0",
4
4
  "description": "A JavaScript plugin for entering and validating international telephone numbers",
5
5
  "keywords": [
6
6
  "international",
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.1.1/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.2.0/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.
@@ -3164,7 +3164,7 @@ var intlTelInput = Object.assign(
3164
3164
  attachUtils,
3165
3165
  startedLoadingUtilsScript: false,
3166
3166
  startedLoadingAutoCountry: false,
3167
- version: "25.1.1"
3167
+ version: "25.2.0"
3168
3168
  }
3169
3169
  );
3170
3170
  var intl_tel_input_default = intlTelInput;
@@ -1110,6 +1110,24 @@ declare module "intl-tel-input/i18n/tr" {
1110
1110
  const allTranslations: I18n;
1111
1111
  export default allTranslations;
1112
1112
  }
1113
+ declare module "intl-tel-input/i18n/uk/countries" {
1114
+ import { I18n } from "intl-tel-input/i18n/types";
1115
+ const countryTranslations: I18n;
1116
+ export default countryTranslations;
1117
+ }
1118
+ declare module "intl-tel-input/i18n/uk/interface" {
1119
+ import { I18n } from "intl-tel-input/i18n/types";
1120
+ const interfaceTranslations: I18n;
1121
+ export default interfaceTranslations;
1122
+ }
1123
+ declare module "intl-tel-input/i18n/uk" {
1124
+ import { I18n } from "intl-tel-input/i18n/types";
1125
+ import countryTranslations from "intl-tel-input/i18n/uk/countries";
1126
+ import interfaceTranslations from "intl-tel-input/i18n/uk/interface";
1127
+ export { countryTranslations, interfaceTranslations };
1128
+ const allTranslations: I18n;
1129
+ export default allTranslations;
1130
+ }
1113
1131
  declare module "intl-tel-input/i18n/ur/countries" {
1114
1132
  import { I18n } from "intl-tel-input/i18n/types";
1115
1133
  const countryTranslations: I18n;
@@ -1198,6 +1216,7 @@ declare module "intl-tel-input/i18n" {
1198
1216
  export { default as te, countryTranslations as teCountryTranslations, interfaceTranslations as teInterfaceTranslations } from "intl-tel-input/i18n/te";
1199
1217
  export { default as th, countryTranslations as thCountryTranslations, interfaceTranslations as thInterfaceTranslations } from "intl-tel-input/i18n/th";
1200
1218
  export { default as tr, countryTranslations as trCountryTranslations, interfaceTranslations as trInterfaceTranslations } from "intl-tel-input/i18n/tr";
1219
+ export { default as uk, countryTranslations as ukCountryTranslations, interfaceTranslations as ukInterfaceTranslations } from "intl-tel-input/i18n/uk";
1201
1220
  export { default as ur, countryTranslations as urCountryTranslations, interfaceTranslations as urInterfaceTranslations } from "intl-tel-input/i18n/ur";
1202
1221
  export { default as vi, countryTranslations as viCountryTranslations, interfaceTranslations as viInterfaceTranslations } from "intl-tel-input/i18n/vi";
1203
1222
  export { default as zh, countryTranslations as zhCountryTranslations, interfaceTranslations as zhInterfaceTranslations } from "intl-tel-input/i18n/zh";
@@ -3128,7 +3128,7 @@ var intlTelInput = Object.assign(
3128
3128
  attachUtils,
3129
3129
  startedLoadingUtilsScript: false,
3130
3130
  startedLoadingAutoCountry: false,
3131
- version: "25.1.1"
3131
+ version: "25.2.0"
3132
3132
  }
3133
3133
  );
3134
3134
  var intl_tel_input_default = intlTelInput;
@@ -3164,7 +3164,7 @@ var intlTelInput = Object.assign(
3164
3164
  attachUtils,
3165
3165
  startedLoadingUtilsScript: false,
3166
3166
  startedLoadingAutoCountry: false,
3167
- version: "25.1.1"
3167
+ version: "25.2.0"
3168
3168
  }
3169
3169
  );
3170
3170
  var intl_tel_input_default = intlTelInput;
@@ -3128,7 +3128,7 @@ var intlTelInput = Object.assign(
3128
3128
  attachUtils,
3129
3129
  startedLoadingUtilsScript: false,
3130
3130
  startedLoadingAutoCountry: false,
3131
- version: "25.1.1"
3131
+ version: "25.2.0"
3132
3132
  }
3133
3133
  );
3134
3134
  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.1.1/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.2.0/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.
@@ -2529,7 +2529,7 @@ const W = (u) => {
2529
2529
  attachUtils: W,
2530
2530
  startedLoadingUtilsScript: !1,
2531
2531
  startedLoadingAutoCountry: !1,
2532
- version: "25.1.1"
2532
+ version: "25.2.0"
2533
2533
  }
2534
2534
  ), J = {
2535
2535
  __name: "IntlTelInput",
@@ -2529,7 +2529,7 @@ const H2 = (y) => {
2529
2529
  attachUtils: H2,
2530
2530
  startedLoadingUtilsScript: !1,
2531
2531
  startedLoadingAutoCountry: !1,
2532
- version: "25.1.1"
2532
+ version: "25.2.0"
2533
2533
  }
2534
2534
  );
2535
2535
  (function() {