intl-tel-input 24.6.1 → 24.7.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": "24.6.1",
3
+ "version": "24.7.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 `utilsScript` 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 `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@24.6.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 `utilsScript` 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 `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@24.7.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.
@@ -3148,7 +3148,7 @@ var intlTelInput = Object.assign(
3148
3148
  loadUtils,
3149
3149
  startedLoadingUtilsScript: false,
3150
3150
  startedLoadingAutoCountry: false,
3151
- version: "24.6.1"
3151
+ version: "24.7.0"
3152
3152
  }
3153
3153
  );
3154
3154
  var intl_tel_input_default = intlTelInput;
@@ -640,6 +640,24 @@ declare module "intl-tel-input/i18n/cs" {
640
640
  const allTranslations: I18n;
641
641
  export default allTranslations;
642
642
  }
643
+ declare module "intl-tel-input/i18n/da/countries" {
644
+ import { I18n } from "intl-tel-input/i18n/types";
645
+ const countryTranslations: I18n;
646
+ export default countryTranslations;
647
+ }
648
+ declare module "intl-tel-input/i18n/da/interface" {
649
+ import { I18n } from "intl-tel-input/i18n/types";
650
+ const interfaceTranslations: I18n;
651
+ export default interfaceTranslations;
652
+ }
653
+ declare module "intl-tel-input/i18n/da" {
654
+ import { I18n } from "intl-tel-input/i18n/types";
655
+ import countryTranslations from "intl-tel-input/i18n/da/countries";
656
+ import interfaceTranslations from "intl-tel-input/i18n/da/interface";
657
+ export { countryTranslations, interfaceTranslations };
658
+ const allTranslations: I18n;
659
+ export default allTranslations;
660
+ }
643
661
  declare module "intl-tel-input/i18n/de/countries" {
644
662
  import { I18n } from "intl-tel-input/i18n/types";
645
663
  const countryTranslations: I18n;
@@ -1151,6 +1169,7 @@ declare module "intl-tel-input/i18n" {
1151
1169
  export { default as bs, countryTranslations as bsCountryTranslations, interfaceTranslations as bsInterfaceTranslations } from "intl-tel-input/i18n/bs";
1152
1170
  export { default as ca, countryTranslations as caCountryTranslations, interfaceTranslations as caInterfaceTranslations } from "intl-tel-input/i18n/ca";
1153
1171
  export { default as cs, countryTranslations as csCountryTranslations, interfaceTranslations as csInterfaceTranslations } from "intl-tel-input/i18n/cs";
1172
+ export { default as da, countryTranslations as daCountryTranslations, interfaceTranslations as daInterfaceTranslations } from "intl-tel-input/i18n/da";
1154
1173
  export { default as de, countryTranslations as deCountryTranslations, interfaceTranslations as deInterfaceTranslations } from "intl-tel-input/i18n/de";
1155
1174
  export { default as el, countryTranslations as elCountryTranslations, interfaceTranslations as elInterfaceTranslations } from "intl-tel-input/i18n/el";
1156
1175
  export { default as en, countryTranslations as enCountryTranslations, interfaceTranslations as enInterfaceTranslations } from "intl-tel-input/i18n/en";
@@ -3112,7 +3112,7 @@ var intlTelInput = Object.assign(
3112
3112
  loadUtils,
3113
3113
  startedLoadingUtilsScript: false,
3114
3114
  startedLoadingAutoCountry: false,
3115
- version: "24.6.1"
3115
+ version: "24.7.0"
3116
3116
  }
3117
3117
  );
3118
3118
  var intl_tel_input_default = intlTelInput;
@@ -3144,7 +3144,7 @@ var intlTelInput = Object.assign(
3144
3144
  loadUtils,
3145
3145
  startedLoadingUtilsScript: false,
3146
3146
  startedLoadingAutoCountry: false,
3147
- version: "24.6.1"
3147
+ version: "24.7.0"
3148
3148
  }
3149
3149
  );
3150
3150
  var intl_tel_input_default = intlTelInput;
@@ -3108,7 +3108,7 @@ var intlTelInput = Object.assign(
3108
3108
  loadUtils,
3109
3109
  startedLoadingUtilsScript: false,
3110
3110
  startedLoadingAutoCountry: false,
3111
- version: "24.6.1"
3111
+ version: "24.7.0"
3112
3112
  }
3113
3113
  );
3114
3114
  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 `utilsScript` 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 `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@24.6.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 `utilsScript` 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 `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@24.7.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.
@@ -2503,7 +2503,7 @@ const W = (u) => {
2503
2503
  loadUtils: W,
2504
2504
  startedLoadingUtilsScript: !1,
2505
2505
  startedLoadingAutoCountry: !1,
2506
- version: "24.6.1"
2506
+ version: "24.7.0"
2507
2507
  }
2508
2508
  ), J = {
2509
2509
  __name: "IntlTelInput",
@@ -2499,7 +2499,7 @@ const V2 = (y) => {
2499
2499
  loadUtils: V2,
2500
2500
  startedLoadingUtilsScript: !1,
2501
2501
  startedLoadingAutoCountry: !1,
2502
- version: "24.6.1"
2502
+ version: "24.7.0"
2503
2503
  }
2504
2504
  );
2505
2505
  (function() {