intl-tel-input 23.9.0 → 23.9.2

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 (47) hide show
  1. package/README.md +5 -5
  2. package/build/js/data.js +1 -1
  3. package/build/js/data.min.js +1 -1
  4. package/build/js/i18n/ar/countries.js +0 -7
  5. package/build/js/i18n/bg/countries.js +0 -7
  6. package/build/js/i18n/bn/countries.js +0 -7
  7. package/build/js/i18n/bs/countries.js +0 -7
  8. package/build/js/i18n/ca/countries.js +0 -7
  9. package/build/js/i18n/cs/countries.js +0 -7
  10. package/build/js/i18n/de/countries.js +0 -7
  11. package/build/js/i18n/el/countries.js +0 -7
  12. package/build/js/i18n/en/countries.js +0 -7
  13. package/build/js/i18n/es/countries.js +0 -7
  14. package/build/js/i18n/fa/countries.js +0 -7
  15. package/build/js/i18n/fi/countries.js +0 -7
  16. package/build/js/i18n/fr/countries.js +0 -7
  17. package/build/js/i18n/hi/countries.js +0 -7
  18. package/build/js/i18n/hr/countries.js +0 -7
  19. package/build/js/i18n/hu/countries.js +0 -7
  20. package/build/js/i18n/id/countries.js +0 -7
  21. package/build/js/i18n/it/countries.js +0 -7
  22. package/build/js/i18n/ja/countries.js +0 -7
  23. package/build/js/i18n/ko/countries.js +0 -7
  24. package/build/js/i18n/mr/countries.js +0 -7
  25. package/build/js/i18n/nl/countries.js +0 -7
  26. package/build/js/i18n/pt/countries.js +0 -7
  27. package/build/js/i18n/ro/countries.js +0 -7
  28. package/build/js/i18n/ru/countries.js +0 -7
  29. package/build/js/i18n/sk/countries.js +0 -7
  30. package/build/js/i18n/sv/countries.js +0 -7
  31. package/build/js/i18n/te/countries.js +0 -7
  32. package/build/js/i18n/th/countries.js +0 -7
  33. package/build/js/i18n/tr/countries.js +0 -7
  34. package/build/js/i18n/ur/countries.js +0 -7
  35. package/build/js/i18n/zh/countries.js +0 -7
  36. package/build/js/intlTelInput.d.ts +0 -7
  37. package/build/js/intlTelInput.js +2 -9
  38. package/build/js/intlTelInput.min.js +2 -2
  39. package/build/js/intlTelInputWithUtils.js +2 -9
  40. package/build/js/intlTelInputWithUtils.min.js +2 -2
  41. package/package.json +9 -3
  42. package/react/README.md +1 -1
  43. package/react/build/IntlTelInput.cjs +1 -8
  44. package/react/build/IntlTelInput.d.ts +0 -7
  45. package/react/build/IntlTelInput.js +1 -8
  46. package/react/build/IntlTelInputWithUtils.cjs +1 -8
  47. package/react/build/IntlTelInputWithUtils.js +1 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-tel-input",
3
- "version": "23.9.0",
3
+ "version": "23.9.2",
4
4
  "description": "A JavaScript plugin for entering and validating international telephone numbers",
5
5
  "keywords": [
6
6
  "international",
@@ -123,8 +123,14 @@
123
123
  "require": "./react/build/IntlTelInputWithUtils.cjs",
124
124
  "default": "./react/build/IntlTelInputWithUtils.js"
125
125
  },
126
- "./i18n": "./build/js/i18n/index.js",
127
- "./i18n/*": "./build/js/i18n/*/index.js",
126
+ "./i18n": {
127
+ "types": "./build/js/intlTelInput.d.ts",
128
+ "default": "./build/js/i18n/index.js"
129
+ },
130
+ "./i18n/*": {
131
+ "types": "./build/js/intlTelInput.d.ts",
132
+ "default": "./build/js/i18n/*/index.js"
133
+ },
128
134
  "./styles": "./build/css/intlTelInput.css",
129
135
  "./*": "./*"
130
136
  },
package/react/README.md CHANGED
@@ -29,7 +29,7 @@ import "intl-tel-input/styles";
29
29
 
30
30
  See the [Validation demo](https://github.com/jackocnr/intl-tel-input/blob/master/react/demo/ValidationApp.tsx) for a more fleshed-out example of how to handle validation.
31
31
 
32
- 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"` instead, 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@23.9.0/build/js/utils.js"`.
32
+ 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"` instead, 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@23.9.2/build/js/utils.js"`.
33
33
 
34
34
  ## Props
35
35
  Here's a list of all of the current props you can pass to the IntlTelInput react component.
@@ -1123,7 +1123,6 @@ var countryTranslations = {
1123
1123
  al: "Albania",
1124
1124
  am: "Armenia",
1125
1125
  ao: "Angola",
1126
- aq: "Antarctica",
1127
1126
  ar: "Argentina",
1128
1127
  as: "American Samoa",
1129
1128
  at: "Austria",
@@ -1148,7 +1147,6 @@ var countryTranslations = {
1148
1147
  br: "Brazil",
1149
1148
  bs: "Bahamas",
1150
1149
  bt: "Bhutan",
1151
- bv: "Bouvet Island",
1152
1150
  bw: "Botswana",
1153
1151
  by: "Belarus",
1154
1152
  bz: "Belize",
@@ -1204,13 +1202,11 @@ var countryTranslations = {
1204
1202
  gp: "Guadeloupe",
1205
1203
  gq: "Equatorial Guinea",
1206
1204
  gr: "Greece",
1207
- gs: "South Georgia & South Sandwich Islands",
1208
1205
  gt: "Guatemala",
1209
1206
  gu: "Guam",
1210
1207
  gw: "Guinea-Bissau",
1211
1208
  gy: "Guyana",
1212
1209
  hk: "Hong Kong SAR China",
1213
- hm: "Heard & McDonald Islands",
1214
1210
  hn: "Honduras",
1215
1211
  hr: "Croatia",
1216
1212
  ht: "Haiti",
@@ -1295,7 +1291,6 @@ var countryTranslations = {
1295
1291
  pk: "Pakistan",
1296
1292
  pl: "Poland",
1297
1293
  pm: "St. Pierre & Miquelon",
1298
- pn: "Pitcairn Islands",
1299
1294
  pr: "Puerto Rico",
1300
1295
  ps: "Palestinian Territories",
1301
1296
  pt: "Portugal",
@@ -1330,7 +1325,6 @@ var countryTranslations = {
1330
1325
  sz: "Eswatini",
1331
1326
  tc: "Turks & Caicos Islands",
1332
1327
  td: "Chad",
1333
- tf: "French Southern Territories",
1334
1328
  tg: "Togo",
1335
1329
  th: "Thailand",
1336
1330
  tj: "Tajikistan",
@@ -1346,7 +1340,6 @@ var countryTranslations = {
1346
1340
  tz: "Tanzania",
1347
1341
  ua: "Ukraine",
1348
1342
  ug: "Uganda",
1349
- um: "U.S. Outlying Islands",
1350
1343
  us: "United States",
1351
1344
  uy: "Uruguay",
1352
1345
  uz: "Uzbekistan",
@@ -2841,7 +2834,7 @@ var intlTelInput = Object.assign(
2841
2834
  //* A map from instance ID to instance object.
2842
2835
  instances: {},
2843
2836
  loadUtils,
2844
- version: "23.9.0"
2837
+ version: "23.9.2"
2845
2838
  }
2846
2839
  );
2847
2840
  var intl_tel_input_default = intlTelInput;
@@ -12,13 +12,6 @@ declare module "intl-tel-input/data" {
12
12
  }
13
13
  declare module "intl-tel-input/i18n/types" {
14
14
  export type I18n = {
15
- aq?: string;
16
- bv?: string;
17
- gs?: string;
18
- hm?: string;
19
- pn?: string;
20
- tf?: string;
21
- um?: string;
22
15
  af?: string;
23
16
  al?: string;
24
17
  dz?: string;
@@ -1087,7 +1087,6 @@ var countryTranslations = {
1087
1087
  al: "Albania",
1088
1088
  am: "Armenia",
1089
1089
  ao: "Angola",
1090
- aq: "Antarctica",
1091
1090
  ar: "Argentina",
1092
1091
  as: "American Samoa",
1093
1092
  at: "Austria",
@@ -1112,7 +1111,6 @@ var countryTranslations = {
1112
1111
  br: "Brazil",
1113
1112
  bs: "Bahamas",
1114
1113
  bt: "Bhutan",
1115
- bv: "Bouvet Island",
1116
1114
  bw: "Botswana",
1117
1115
  by: "Belarus",
1118
1116
  bz: "Belize",
@@ -1168,13 +1166,11 @@ var countryTranslations = {
1168
1166
  gp: "Guadeloupe",
1169
1167
  gq: "Equatorial Guinea",
1170
1168
  gr: "Greece",
1171
- gs: "South Georgia & South Sandwich Islands",
1172
1169
  gt: "Guatemala",
1173
1170
  gu: "Guam",
1174
1171
  gw: "Guinea-Bissau",
1175
1172
  gy: "Guyana",
1176
1173
  hk: "Hong Kong SAR China",
1177
- hm: "Heard & McDonald Islands",
1178
1174
  hn: "Honduras",
1179
1175
  hr: "Croatia",
1180
1176
  ht: "Haiti",
@@ -1259,7 +1255,6 @@ var countryTranslations = {
1259
1255
  pk: "Pakistan",
1260
1256
  pl: "Poland",
1261
1257
  pm: "St. Pierre & Miquelon",
1262
- pn: "Pitcairn Islands",
1263
1258
  pr: "Puerto Rico",
1264
1259
  ps: "Palestinian Territories",
1265
1260
  pt: "Portugal",
@@ -1294,7 +1289,6 @@ var countryTranslations = {
1294
1289
  sz: "Eswatini",
1295
1290
  tc: "Turks & Caicos Islands",
1296
1291
  td: "Chad",
1297
- tf: "French Southern Territories",
1298
1292
  tg: "Togo",
1299
1293
  th: "Thailand",
1300
1294
  tj: "Tajikistan",
@@ -1310,7 +1304,6 @@ var countryTranslations = {
1310
1304
  tz: "Tanzania",
1311
1305
  ua: "Ukraine",
1312
1306
  ug: "Uganda",
1313
- um: "U.S. Outlying Islands",
1314
1307
  us: "United States",
1315
1308
  uy: "Uruguay",
1316
1309
  uz: "Uzbekistan",
@@ -2805,7 +2798,7 @@ var intlTelInput = Object.assign(
2805
2798
  //* A map from instance ID to instance object.
2806
2799
  instances: {},
2807
2800
  loadUtils,
2808
- version: "23.9.0"
2801
+ version: "23.9.2"
2809
2802
  }
2810
2803
  );
2811
2804
  var intl_tel_input_default = intlTelInput;
@@ -1123,7 +1123,6 @@ var countryTranslations = {
1123
1123
  al: "Albania",
1124
1124
  am: "Armenia",
1125
1125
  ao: "Angola",
1126
- aq: "Antarctica",
1127
1126
  ar: "Argentina",
1128
1127
  as: "American Samoa",
1129
1128
  at: "Austria",
@@ -1148,7 +1147,6 @@ var countryTranslations = {
1148
1147
  br: "Brazil",
1149
1148
  bs: "Bahamas",
1150
1149
  bt: "Bhutan",
1151
- bv: "Bouvet Island",
1152
1150
  bw: "Botswana",
1153
1151
  by: "Belarus",
1154
1152
  bz: "Belize",
@@ -1204,13 +1202,11 @@ var countryTranslations = {
1204
1202
  gp: "Guadeloupe",
1205
1203
  gq: "Equatorial Guinea",
1206
1204
  gr: "Greece",
1207
- gs: "South Georgia & South Sandwich Islands",
1208
1205
  gt: "Guatemala",
1209
1206
  gu: "Guam",
1210
1207
  gw: "Guinea-Bissau",
1211
1208
  gy: "Guyana",
1212
1209
  hk: "Hong Kong SAR China",
1213
- hm: "Heard & McDonald Islands",
1214
1210
  hn: "Honduras",
1215
1211
  hr: "Croatia",
1216
1212
  ht: "Haiti",
@@ -1295,7 +1291,6 @@ var countryTranslations = {
1295
1291
  pk: "Pakistan",
1296
1292
  pl: "Poland",
1297
1293
  pm: "St. Pierre & Miquelon",
1298
- pn: "Pitcairn Islands",
1299
1294
  pr: "Puerto Rico",
1300
1295
  ps: "Palestinian Territories",
1301
1296
  pt: "Portugal",
@@ -1330,7 +1325,6 @@ var countryTranslations = {
1330
1325
  sz: "Eswatini",
1331
1326
  tc: "Turks & Caicos Islands",
1332
1327
  td: "Chad",
1333
- tf: "French Southern Territories",
1334
1328
  tg: "Togo",
1335
1329
  th: "Thailand",
1336
1330
  tj: "Tajikistan",
@@ -1346,7 +1340,6 @@ var countryTranslations = {
1346
1340
  tz: "Tanzania",
1347
1341
  ua: "Ukraine",
1348
1342
  ug: "Uganda",
1349
- um: "U.S. Outlying Islands",
1350
1343
  us: "United States",
1351
1344
  uy: "Uruguay",
1352
1345
  uz: "Uzbekistan",
@@ -2841,7 +2834,7 @@ var intlTelInput = Object.assign(
2841
2834
  //* A map from instance ID to instance object.
2842
2835
  instances: {},
2843
2836
  loadUtils,
2844
- version: "23.9.0"
2837
+ version: "23.9.2"
2845
2838
  }
2846
2839
  );
2847
2840
  var intl_tel_input_default = intlTelInput;
@@ -1087,7 +1087,6 @@ var countryTranslations = {
1087
1087
  al: "Albania",
1088
1088
  am: "Armenia",
1089
1089
  ao: "Angola",
1090
- aq: "Antarctica",
1091
1090
  ar: "Argentina",
1092
1091
  as: "American Samoa",
1093
1092
  at: "Austria",
@@ -1112,7 +1111,6 @@ var countryTranslations = {
1112
1111
  br: "Brazil",
1113
1112
  bs: "Bahamas",
1114
1113
  bt: "Bhutan",
1115
- bv: "Bouvet Island",
1116
1114
  bw: "Botswana",
1117
1115
  by: "Belarus",
1118
1116
  bz: "Belize",
@@ -1168,13 +1166,11 @@ var countryTranslations = {
1168
1166
  gp: "Guadeloupe",
1169
1167
  gq: "Equatorial Guinea",
1170
1168
  gr: "Greece",
1171
- gs: "South Georgia & South Sandwich Islands",
1172
1169
  gt: "Guatemala",
1173
1170
  gu: "Guam",
1174
1171
  gw: "Guinea-Bissau",
1175
1172
  gy: "Guyana",
1176
1173
  hk: "Hong Kong SAR China",
1177
- hm: "Heard & McDonald Islands",
1178
1174
  hn: "Honduras",
1179
1175
  hr: "Croatia",
1180
1176
  ht: "Haiti",
@@ -1259,7 +1255,6 @@ var countryTranslations = {
1259
1255
  pk: "Pakistan",
1260
1256
  pl: "Poland",
1261
1257
  pm: "St. Pierre & Miquelon",
1262
- pn: "Pitcairn Islands",
1263
1258
  pr: "Puerto Rico",
1264
1259
  ps: "Palestinian Territories",
1265
1260
  pt: "Portugal",
@@ -1294,7 +1289,6 @@ var countryTranslations = {
1294
1289
  sz: "Eswatini",
1295
1290
  tc: "Turks & Caicos Islands",
1296
1291
  td: "Chad",
1297
- tf: "French Southern Territories",
1298
1292
  tg: "Togo",
1299
1293
  th: "Thailand",
1300
1294
  tj: "Tajikistan",
@@ -1310,7 +1304,6 @@ var countryTranslations = {
1310
1304
  tz: "Tanzania",
1311
1305
  ua: "Ukraine",
1312
1306
  ug: "Uganda",
1313
- um: "U.S. Outlying Islands",
1314
1307
  us: "United States",
1315
1308
  uy: "Uruguay",
1316
1309
  uz: "Uzbekistan",
@@ -2805,7 +2798,7 @@ var intlTelInput = Object.assign(
2805
2798
  //* A map from instance ID to instance object.
2806
2799
  instances: {},
2807
2800
  loadUtils,
2808
- version: "23.9.0"
2801
+ version: "23.9.2"
2809
2802
  }
2810
2803
  );
2811
2804
  var intl_tel_input_default = intlTelInput;