intl-tel-input 18.1.0 → 18.1.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 (61) hide show
  1. package/.eslintrc +2 -8
  2. package/.vscode/settings.json +8 -0
  3. package/CHANGELOG.md +3 -0
  4. package/Gruntfile.js +0 -2
  5. package/README.md +14 -25
  6. package/build/js/data.js +1 -1
  7. package/build/js/data.min.js +1 -1
  8. package/build/js/intlTelInput-jquery.js +160 -59
  9. package/build/js/intlTelInput-jquery.min.js +3 -3
  10. package/build/js/intlTelInput.js +160 -59
  11. package/build/js/intlTelInput.min.js +3 -3
  12. package/composer.json +1 -1
  13. package/demo.html +42 -44
  14. package/demo_rtl.html +21 -23
  15. package/grunt/template.js +2 -265
  16. package/package.json +4 -1
  17. package/src/js/intlTelInput.js +563 -333
  18. package/examples/css/countrySync.css +0 -10
  19. package/examples/css/isValidNumber.css +0 -12
  20. package/examples/css/prism.css +0 -126
  21. package/examples/gen/country-sync.html +0 -98
  22. package/examples/gen/default-country-ip.html +0 -62
  23. package/examples/gen/display-number.html +0 -47
  24. package/examples/gen/hidden-input.html +0 -54
  25. package/examples/gen/init-promise.html +0 -66
  26. package/examples/gen/is-valid-number.html +0 -86
  27. package/examples/gen/js/countrySync.js +0 -31
  28. package/examples/gen/js/defaultCountryIp.js +0 -11
  29. package/examples/gen/js/displayNumber.js +0 -4
  30. package/examples/gen/js/hiddenInput.js +0 -5
  31. package/examples/gen/js/initPromise.js +0 -9
  32. package/examples/gen/js/isValidNumber.js +0 -37
  33. package/examples/gen/js/modifyCountryData.js +0 -11
  34. package/examples/gen/js/multipleInstances.js +0 -13
  35. package/examples/gen/js/nationalMode.js +0 -18
  36. package/examples/gen/js/onlyCountriesEurope.js +0 -8
  37. package/examples/gen/modify-country-data.html +0 -52
  38. package/examples/gen/multiple-instances.html +0 -60
  39. package/examples/gen/national-mode.html +0 -63
  40. package/examples/gen/only-countries-europe.html +0 -49
  41. package/examples/js/countrySync.js.ejs +0 -31
  42. package/examples/js/defaultCountryIp.js.ejs +0 -11
  43. package/examples/js/displayNumber.js.ejs +0 -4
  44. package/examples/js/hiddenInput.js.ejs +0 -5
  45. package/examples/js/initPromise.js.ejs +0 -9
  46. package/examples/js/isValidNumber.js.ejs +0 -37
  47. package/examples/js/modifyCountryData.js.ejs +0 -11
  48. package/examples/js/multipleInstances.js.ejs +0 -13
  49. package/examples/js/nationalMode.js.ejs +0 -18
  50. package/examples/js/onlyCountriesEurope.js.ejs +0 -8
  51. package/examples/js/prism.js +0 -11
  52. package/examples/partials/countrySync.html +0 -13
  53. package/examples/partials/defaultCountryIp.html +0 -5
  54. package/examples/partials/displayNumber.html +0 -1
  55. package/examples/partials/hiddenInput.html +0 -4
  56. package/examples/partials/initPromise.html +0 -8
  57. package/examples/partials/isValidNumber.html +0 -3
  58. package/examples/partials/multipleInstances.html +0 -3
  59. package/examples/partials/nationalMode.html +0 -2
  60. package/examples/partials/simpleInput.html +0 -1
  61. package/examples/template.html.ejs +0 -43
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-tel-input",
3
- "version": "18.1.0",
3
+ "version": "18.1.1",
4
4
  "description": "A JavaScript plugin for entering and validating international telephone numbers",
5
5
  "keywords": [
6
6
  "international",
@@ -21,7 +21,9 @@
21
21
  "babel-eslint": "^9.0.0",
22
22
  "custom-event-polyfill": "^1.0.6",
23
23
  "es6-promise": "^4.2.5",
24
+ "eslint": "^8.38.0",
24
25
  "eslint-config-airbnb": "^17.1.0",
26
+ "eslint-config-prettier": "^8.8.0",
25
27
  "eslint-plugin-import": "^2.14.0",
26
28
  "eslint-plugin-jsx-a11y": "^6.1.1",
27
29
  "eslint-plugin-react": "^7.11.1",
@@ -48,6 +50,7 @@
48
50
  "jquery": "^3.1.1",
49
51
  "load-grunt-config": "^0.19.2",
50
52
  "node-sass": "^6.0.1",
53
+ "prettier": "^2.8.7",
51
54
  "region-flags": "^1.1.0",
52
55
  "time-grunt": "^1.4.0"
53
56
  },