intl-tel-input 25.15.0 → 25.15.1

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.
Files changed (79) hide show
  1. package/README.md +21 -19
  2. package/angular/README.md +1 -1
  3. package/angular/build/IntlTelInput.js +1 -1
  4. package/angular/build/IntlTelInputWithUtils.js +125 -186
  5. package/build/js/data.js +1 -1
  6. package/build/js/data.min.js +1 -1
  7. package/build/js/i18n/zh-hk/countries.js +245 -0
  8. package/build/js/i18n/zh-hk/index.js +5 -0
  9. package/build/js/i18n/zh-hk/interface.js +14 -0
  10. package/build/js/intlTelInput.js +2 -2
  11. package/build/js/intlTelInput.min.js +2 -2
  12. package/build/js/intlTelInputWithUtils.js +126 -187
  13. package/build/js/intlTelInputWithUtils.min.js +2 -2
  14. package/build/js/utils.js +53 -54
  15. package/package.json +2 -2
  16. package/react/README.md +4 -2
  17. package/react/build/IntlTelInput.cjs +1 -1
  18. package/react/build/IntlTelInput.js +1 -1
  19. package/react/build/IntlTelInputWithUtils.cjs +125 -186
  20. package/react/build/IntlTelInputWithUtils.js +125 -186
  21. package/svelte/README.md +7 -9
  22. package/svelte/build/IntlTelInput.mjs +1329 -1329
  23. package/svelte/build/IntlTelInputWithUtils.mjs +1829 -1890
  24. package/vue/README.md +7 -9
  25. package/vue/build/IntlTelInput.mjs +1 -1
  26. package/vue/build/IntlTelInputWithUtils.mjs +125 -186
  27. package/vue/build/exports/IntlTelInput.mjs +1 -1
  28. package/vue/build/exports/IntlTelInputWithUtils.mjs +1 -1
  29. package/vue/build/intl-tel-input/data.d.ts +18 -0
  30. package/vue/build/intl-tel-input/i18n/ar/index.d.ts +3 -0
  31. package/vue/build/intl-tel-input/i18n/bg/index.d.ts +3 -0
  32. package/vue/build/intl-tel-input/i18n/bn/index.d.ts +3 -0
  33. package/vue/build/intl-tel-input/i18n/bs/index.d.ts +3 -0
  34. package/vue/build/intl-tel-input/i18n/ca/index.d.ts +3 -0
  35. package/vue/build/intl-tel-input/i18n/cs/index.d.ts +3 -0
  36. package/vue/build/intl-tel-input/i18n/da/index.d.ts +3 -0
  37. package/vue/build/intl-tel-input/i18n/de/index.d.ts +3 -0
  38. package/vue/build/intl-tel-input/i18n/ee/index.d.ts +3 -0
  39. package/vue/build/intl-tel-input/i18n/el/index.d.ts +3 -0
  40. package/vue/build/intl-tel-input/i18n/en/index.d.ts +3 -0
  41. package/vue/build/intl-tel-input/i18n/es/index.d.ts +3 -0
  42. package/vue/build/intl-tel-input/i18n/fa/index.d.ts +3 -0
  43. package/vue/build/intl-tel-input/i18n/fi/index.d.ts +3 -0
  44. package/vue/build/intl-tel-input/i18n/fr/index.d.ts +3 -0
  45. package/vue/build/intl-tel-input/i18n/hi/index.d.ts +3 -0
  46. package/vue/build/intl-tel-input/i18n/hr/index.d.ts +3 -0
  47. package/vue/build/intl-tel-input/i18n/hu/index.d.ts +3 -0
  48. package/vue/build/intl-tel-input/i18n/id/index.d.ts +3 -0
  49. package/vue/build/intl-tel-input/i18n/index.d.ts +43 -0
  50. package/vue/build/intl-tel-input/i18n/it/index.d.ts +3 -0
  51. package/vue/build/intl-tel-input/i18n/ja/index.d.ts +3 -0
  52. package/vue/build/intl-tel-input/i18n/ko/index.d.ts +3 -0
  53. package/vue/build/intl-tel-input/i18n/lt/index.d.ts +3 -0
  54. package/vue/build/intl-tel-input/i18n/mr/index.d.ts +3 -0
  55. package/vue/build/intl-tel-input/i18n/nl/index.d.ts +3 -0
  56. package/vue/build/intl-tel-input/i18n/no/index.d.ts +3 -0
  57. package/vue/build/intl-tel-input/i18n/pl/index.d.ts +3 -0
  58. package/vue/build/intl-tel-input/i18n/pt/index.d.ts +3 -0
  59. package/vue/build/intl-tel-input/i18n/ro/index.d.ts +3 -0
  60. package/vue/build/intl-tel-input/i18n/ru/index.d.ts +3 -0
  61. package/vue/build/intl-tel-input/i18n/sk/index.d.ts +3 -0
  62. package/vue/build/intl-tel-input/i18n/sl/index.d.ts +3 -0
  63. package/vue/build/intl-tel-input/i18n/sq/index.d.ts +3 -0
  64. package/vue/build/intl-tel-input/i18n/sr/index.d.ts +3 -0
  65. package/vue/build/intl-tel-input/i18n/sv/index.d.ts +3 -0
  66. package/vue/build/intl-tel-input/i18n/te/index.d.ts +3 -0
  67. package/vue/build/intl-tel-input/i18n/th/index.d.ts +3 -0
  68. package/vue/build/intl-tel-input/i18n/tr/index.d.ts +3 -0
  69. package/vue/build/intl-tel-input/i18n/types.d.ts +10 -0
  70. package/vue/build/intl-tel-input/i18n/uk/index.d.ts +3 -0
  71. package/vue/build/intl-tel-input/i18n/ur/index.d.ts +3 -0
  72. package/vue/build/intl-tel-input/i18n/uz/index.d.ts +3 -0
  73. package/vue/build/intl-tel-input/i18n/vi/index.d.ts +3 -0
  74. package/vue/build/intl-tel-input/i18n/zh/index.d.ts +3 -0
  75. package/vue/build/intl-tel-input/intlTelInputWithUtils.d.ts +2 -0
  76. package/vue/build/{intl-tel-input-Db39yQmC.mjs → intl-tel-input-f0-6rrpA.mjs} +136 -138
  77. package/vue/build/modules/core/ui.d.ts +0 -1
  78. package/vue/build/modules/format/formatting.d.ts +1 -1
  79. package/vue/build/modules/types/public-api.d.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-tel-input",
3
- "version": "25.15.0",
3
+ "version": "25.15.1",
4
4
  "description": "A JavaScript plugin for entering and validating international telephone numbers",
5
5
  "keywords": [
6
6
  "international",
@@ -78,7 +78,7 @@
78
78
  "react-dom": "^18.3.1",
79
79
  "sass": "^1.83.1",
80
80
  "sharp": "^0.33.5",
81
- "svelte": "^5.16.0",
81
+ "svelte": "^5.46.4",
82
82
  "time-grunt": "^2.0.0",
83
83
  "ts-node": "^10.9.2",
84
84
  "typescript": "^5.5.3",
package/react/README.md CHANGED
@@ -11,7 +11,9 @@ A React component wrapper for the [intl-tel-input](https://github.com/jackocnr/i
11
11
  - [Troubleshooting](#troubleshooting)
12
12
 
13
13
  ## Demo and Examples
14
- Check out [Storybook](https://intl-tel-input.com/storybook/?path=/docs/intltelinput--vanilla) where you can play with the various props. Alternatively, try it for yourself by downloading the project and opening /react/demo/validation.html (etc) in a browser.
14
+ Check out [Storybook](https://intl-tel-input.com/storybook/?path=/docs/intltelinput--vanilla) where you can play with the various props.
15
+
16
+ Alternatively, download and build the project yourself in 3 simple steps. You just need to initialise the submodules with `git submodule update --init --recursive`, then run `npm install`, and then `npm run build`. You should now be able to open the validation demo page /react/demo/validation/validation.html in your browser and give it a try. View other available demos [here](https://github.com/jackocnr/intl-tel-input/tree/master/react/demo).
15
17
 
16
18
  ## Getting Started
17
19
  ```js
@@ -30,7 +32,7 @@ import "intl-tel-input/styles";
30
32
  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.
31
33
 
32
34
  ## Utils Script
33
- 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 just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@25.15.0/build/js/utils.js"`.
35
+ 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 just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@25.15.1/build/js/utils.js"`.
34
36
 
35
37
  ## Props
36
38
  Here's a list of all of the current props you can pass to the IntlTelInput React component.
@@ -4106,7 +4106,7 @@ var intlTelInput = Object.assign(
4106
4106
  attachUtils,
4107
4107
  startedLoadingUtilsScript: false,
4108
4108
  startedLoadingAutoCountry: false,
4109
- version: "25.15.0"
4109
+ version: "25.15.1"
4110
4110
  }
4111
4111
  );
4112
4112
  var intl_tel_input_default = intlTelInput;
@@ -4070,7 +4070,7 @@ var intlTelInput = Object.assign(
4070
4070
  attachUtils,
4071
4071
  startedLoadingUtilsScript: false,
4072
4072
  startedLoadingAutoCountry: false,
4073
- version: "25.15.0"
4073
+ version: "25.15.1"
4074
4074
  }
4075
4075
  );
4076
4076
  var intl_tel_input_default = intlTelInput;