intl-tel-input 23.0.12 → 23.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 (48) hide show
  1. package/README.md +6 -6
  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 +212 -212
  5. package/build/js/i18n/bg/countries.js +180 -180
  6. package/build/js/i18n/bn/countries.js +212 -212
  7. package/build/js/i18n/de/countries.js +155 -155
  8. package/build/js/i18n/el/countries.js +185 -185
  9. package/build/js/i18n/en/countries.js +144 -144
  10. package/build/js/i18n/es/countries.js +151 -151
  11. package/build/js/i18n/fa/countries.js +252 -0
  12. package/build/js/i18n/fa/index.js +6 -0
  13. package/build/js/i18n/fa/interface.js +14 -0
  14. package/build/js/i18n/fi/countries.js +252 -0
  15. package/build/js/i18n/fi/index.js +6 -0
  16. package/build/js/i18n/fi/interface.js +14 -0
  17. package/build/js/i18n/fr/countries.js +150 -150
  18. package/build/js/i18n/hi/countries.js +207 -207
  19. package/build/js/i18n/hu/countries.js +156 -156
  20. package/build/js/i18n/id/countries.js +156 -156
  21. package/build/js/i18n/index.js +3 -0
  22. package/build/js/i18n/ja/countries.js +215 -215
  23. package/build/js/i18n/ko/countries.js +216 -216
  24. package/build/js/i18n/mr/countries.js +210 -210
  25. package/build/js/i18n/nl/countries.js +147 -147
  26. package/build/js/i18n/pt/countries.js +158 -158
  27. package/build/js/i18n/ro/countries.js +151 -151
  28. package/build/js/i18n/ru/countries.js +181 -181
  29. package/build/js/i18n/sv/countries.js +252 -0
  30. package/build/js/i18n/sv/index.js +6 -0
  31. package/build/js/i18n/sv/interface.js +14 -0
  32. package/build/js/i18n/te/countries.js +208 -208
  33. package/build/js/i18n/th/countries.js +223 -223
  34. package/build/js/i18n/tr/countries.js +163 -163
  35. package/build/js/i18n/ur/countries.js +202 -202
  36. package/build/js/i18n/zh/countries.js +189 -189
  37. package/build/js/intlTelInput.d.ts +291 -291
  38. package/build/js/intlTelInput.js +146 -146
  39. package/build/js/intlTelInput.min.js +2 -2
  40. package/build/js/intlTelInputWithUtils.js +146 -146
  41. package/build/js/intlTelInputWithUtils.min.js +2 -2
  42. package/package.json +1 -1
  43. package/react/README.md +1 -1
  44. package/react/build/IntlTelInput.cjs +145 -145
  45. package/react/build/IntlTelInput.d.ts +300 -292
  46. package/react/build/IntlTelInput.js +145 -145
  47. package/react/build/IntlTelInputWithUtils.cjs +145 -145
  48. package/react/build/IntlTelInputWithUtils.js +145 -145
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-tel-input",
3
- "version": "23.0.12",
3
+ "version": "23.1.1",
4
4
  "description": "A JavaScript plugin for entering and validating international telephone numbers",
5
5
  "keywords": [
6
6
  "international",
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.0.12/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.1.1/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.
@@ -1115,253 +1115,253 @@ var data_default = allCountries;
1115
1115
 
1116
1116
  // src/js/i18n/en/countries.ts
1117
1117
  var countries_default = {
1118
+ ad: "Andorra",
1119
+ ae: "United Arab Emirates",
1118
1120
  af: "Afghanistan",
1119
- ax: "\xC5land Islands",
1121
+ ag: "Antigua & Barbuda",
1122
+ ai: "Anguilla",
1120
1123
  al: "Albania",
1121
- dz: "Algeria",
1122
- as: "American Samoa",
1123
- ad: "Andorra",
1124
+ am: "Armenia",
1124
1125
  ao: "Angola",
1125
- ai: "Anguilla",
1126
1126
  aq: "Antarctica",
1127
- ag: "Antigua & Barbuda",
1128
1127
  ar: "Argentina",
1129
- am: "Armenia",
1130
- aw: "Aruba",
1131
- au: "Australia",
1128
+ as: "American Samoa",
1132
1129
  at: "Austria",
1130
+ au: "Australia",
1131
+ aw: "Aruba",
1132
+ ax: "\xC5land Islands",
1133
1133
  az: "Azerbaijan",
1134
- bs: "Bahamas",
1135
- bh: "Bahrain",
1136
- bd: "Bangladesh",
1134
+ ba: "Bosnia & Herzegovina",
1137
1135
  bb: "Barbados",
1138
- by: "Belarus",
1136
+ bd: "Bangladesh",
1139
1137
  be: "Belgium",
1140
- bz: "Belize",
1138
+ bf: "Burkina Faso",
1139
+ bg: "Bulgaria",
1140
+ bh: "Bahrain",
1141
+ bi: "Burundi",
1141
1142
  bj: "Benin",
1143
+ bl: "St. Barth\xE9lemy",
1142
1144
  bm: "Bermuda",
1143
- bt: "Bhutan",
1145
+ bn: "Brunei",
1144
1146
  bo: "Bolivia",
1145
- ba: "Bosnia & Herzegovina",
1146
- bw: "Botswana",
1147
- bv: "Bouvet Island",
1147
+ bq: "Caribbean Netherlands",
1148
1148
  br: "Brazil",
1149
- io: "British Indian Ocean Territory",
1150
- vg: "British Virgin Islands",
1151
- bn: "Brunei",
1152
- bg: "Bulgaria",
1153
- bf: "Burkina Faso",
1154
- bi: "Burundi",
1155
- kh: "Cambodia",
1156
- cm: "Cameroon",
1149
+ bs: "Bahamas",
1150
+ bt: "Bhutan",
1151
+ bv: "Bouvet Island",
1152
+ bw: "Botswana",
1153
+ by: "Belarus",
1154
+ bz: "Belize",
1157
1155
  ca: "Canada",
1158
- cv: "Cape Verde",
1159
- bq: "Caribbean Netherlands",
1160
- ky: "Cayman Islands",
1156
+ cc: "Cocos (Keeling) Islands",
1157
+ cd: "Congo - Kinshasa",
1161
1158
  cf: "Central African Republic",
1162
- td: "Chad",
1159
+ cg: "Congo - Brazzaville",
1160
+ ch: "Switzerland",
1161
+ ci: "C\xF4te d\u2019Ivoire",
1162
+ ck: "Cook Islands",
1163
1163
  cl: "Chile",
1164
+ cm: "Cameroon",
1164
1165
  cn: "China",
1165
- cx: "Christmas Island",
1166
- cc: "Cocos (Keeling) Islands",
1167
1166
  co: "Colombia",
1168
- km: "Comoros",
1169
- cg: "Congo - Brazzaville",
1170
- cd: "Congo - Kinshasa",
1171
- ck: "Cook Islands",
1172
1167
  cr: "Costa Rica",
1173
- ci: "C\xF4te d\u2019Ivoire",
1174
- hr: "Croatia",
1175
1168
  cu: "Cuba",
1169
+ cv: "Cape Verde",
1176
1170
  cw: "Cura\xE7ao",
1171
+ cx: "Christmas Island",
1177
1172
  cy: "Cyprus",
1178
1173
  cz: "Czechia",
1179
- dk: "Denmark",
1174
+ de: "Germany",
1180
1175
  dj: "Djibouti",
1176
+ dk: "Denmark",
1181
1177
  dm: "Dominica",
1182
1178
  do: "Dominican Republic",
1179
+ dz: "Algeria",
1183
1180
  ec: "Ecuador",
1181
+ ee: "Estonia",
1184
1182
  eg: "Egypt",
1185
- sv: "El Salvador",
1186
- gq: "Equatorial Guinea",
1183
+ eh: "Western Sahara",
1187
1184
  er: "Eritrea",
1188
- ee: "Estonia",
1189
- sz: "Eswatini",
1185
+ es: "Spain",
1190
1186
  et: "Ethiopia",
1187
+ fi: "Finland",
1188
+ fj: "Fiji",
1191
1189
  fk: "Falkland Islands",
1190
+ fm: "Micronesia",
1192
1191
  fo: "Faroe Islands",
1193
- fj: "Fiji",
1194
- fi: "Finland",
1195
1192
  fr: "France",
1196
- gf: "French Guiana",
1197
- pf: "French Polynesia",
1198
- tf: "French Southern Territories",
1199
1193
  ga: "Gabon",
1200
- gm: "Gambia",
1194
+ gb: "United Kingdom",
1195
+ gd: "Grenada",
1201
1196
  ge: "Georgia",
1202
- de: "Germany",
1197
+ gf: "French Guiana",
1198
+ gg: "Guernsey",
1203
1199
  gh: "Ghana",
1204
1200
  gi: "Gibraltar",
1205
- gr: "Greece",
1206
1201
  gl: "Greenland",
1207
- gd: "Grenada",
1202
+ gm: "Gambia",
1203
+ gn: "Guinea",
1208
1204
  gp: "Guadeloupe",
1209
- gu: "Guam",
1205
+ gq: "Equatorial Guinea",
1206
+ gr: "Greece",
1207
+ gs: "South Georgia & South Sandwich Islands",
1210
1208
  gt: "Guatemala",
1211
- gg: "Guernsey",
1212
- gn: "Guinea",
1209
+ gu: "Guam",
1213
1210
  gw: "Guinea-Bissau",
1214
1211
  gy: "Guyana",
1215
- ht: "Haiti",
1212
+ hk: "Hong Kong SAR China",
1216
1213
  hm: "Heard & McDonald Islands",
1217
1214
  hn: "Honduras",
1218
- hk: "Hong Kong SAR China",
1215
+ hr: "Croatia",
1216
+ ht: "Haiti",
1219
1217
  hu: "Hungary",
1220
- is: "Iceland",
1221
- in: "India",
1222
1218
  id: "Indonesia",
1223
- ir: "Iran",
1224
- iq: "Iraq",
1225
1219
  ie: "Ireland",
1226
- im: "Isle of Man",
1227
1220
  il: "Israel",
1221
+ im: "Isle of Man",
1222
+ in: "India",
1223
+ io: "British Indian Ocean Territory",
1224
+ iq: "Iraq",
1225
+ ir: "Iran",
1226
+ is: "Iceland",
1228
1227
  it: "Italy",
1229
- jm: "Jamaica",
1230
- jp: "Japan",
1231
1228
  je: "Jersey",
1229
+ jm: "Jamaica",
1232
1230
  jo: "Jordan",
1233
- kz: "Kazakhstan",
1231
+ jp: "Japan",
1234
1232
  ke: "Kenya",
1233
+ kg: "Kyrgyzstan",
1234
+ kh: "Cambodia",
1235
1235
  ki: "Kiribati",
1236
+ km: "Comoros",
1237
+ kn: "St. Kitts & Nevis",
1238
+ kp: "North Korea",
1239
+ kr: "South Korea",
1236
1240
  kw: "Kuwait",
1237
- kg: "Kyrgyzstan",
1241
+ ky: "Cayman Islands",
1242
+ kz: "Kazakhstan",
1238
1243
  la: "Laos",
1239
- lv: "Latvia",
1240
1244
  lb: "Lebanon",
1241
- ls: "Lesotho",
1242
- lr: "Liberia",
1243
- ly: "Libya",
1245
+ lc: "St. Lucia",
1244
1246
  li: "Liechtenstein",
1247
+ lk: "Sri Lanka",
1248
+ lr: "Liberia",
1249
+ ls: "Lesotho",
1245
1250
  lt: "Lithuania",
1246
1251
  lu: "Luxembourg",
1247
- mo: "Macao SAR China",
1252
+ lv: "Latvia",
1253
+ ly: "Libya",
1254
+ ma: "Morocco",
1255
+ mc: "Monaco",
1256
+ md: "Moldova",
1257
+ me: "Montenegro",
1258
+ mf: "St. Martin",
1248
1259
  mg: "Madagascar",
1249
- mw: "Malawi",
1250
- my: "Malaysia",
1251
- mv: "Maldives",
1252
- ml: "Mali",
1253
- mt: "Malta",
1254
1260
  mh: "Marshall Islands",
1261
+ mk: "North Macedonia",
1262
+ ml: "Mali",
1263
+ mm: "Myanmar (Burma)",
1264
+ mn: "Mongolia",
1265
+ mo: "Macao SAR China",
1266
+ mp: "Northern Mariana Islands",
1255
1267
  mq: "Martinique",
1256
1268
  mr: "Mauritania",
1269
+ ms: "Montserrat",
1270
+ mt: "Malta",
1257
1271
  mu: "Mauritius",
1258
- yt: "Mayotte",
1272
+ mv: "Maldives",
1273
+ mw: "Malawi",
1259
1274
  mx: "Mexico",
1260
- fm: "Micronesia",
1261
- md: "Moldova",
1262
- mc: "Monaco",
1263
- mn: "Mongolia",
1264
- me: "Montenegro",
1265
- ms: "Montserrat",
1266
- ma: "Morocco",
1275
+ my: "Malaysia",
1267
1276
  mz: "Mozambique",
1268
- mm: "Myanmar (Burma)",
1269
1277
  na: "Namibia",
1270
- nr: "Nauru",
1271
- np: "Nepal",
1272
- nl: "Netherlands",
1273
1278
  nc: "New Caledonia",
1274
- nz: "New Zealand",
1275
- ni: "Nicaragua",
1276
1279
  ne: "Niger",
1277
- ng: "Nigeria",
1278
- nu: "Niue",
1279
1280
  nf: "Norfolk Island",
1280
- kp: "North Korea",
1281
- mk: "North Macedonia",
1282
- mp: "Northern Mariana Islands",
1281
+ ng: "Nigeria",
1282
+ ni: "Nicaragua",
1283
+ nl: "Netherlands",
1283
1284
  no: "Norway",
1285
+ np: "Nepal",
1286
+ nr: "Nauru",
1287
+ nu: "Niue",
1288
+ nz: "New Zealand",
1284
1289
  om: "Oman",
1285
- pk: "Pakistan",
1286
- pw: "Palau",
1287
- ps: "Palestinian Territories",
1288
1290
  pa: "Panama",
1289
- pg: "Papua New Guinea",
1290
- py: "Paraguay",
1291
1291
  pe: "Peru",
1292
+ pf: "French Polynesia",
1293
+ pg: "Papua New Guinea",
1292
1294
  ph: "Philippines",
1293
- pn: "Pitcairn Islands",
1295
+ pk: "Pakistan",
1294
1296
  pl: "Poland",
1295
- pt: "Portugal",
1297
+ pm: "St. Pierre & Miquelon",
1298
+ pn: "Pitcairn Islands",
1296
1299
  pr: "Puerto Rico",
1300
+ ps: "Palestinian Territories",
1301
+ pt: "Portugal",
1302
+ pw: "Palau",
1303
+ py: "Paraguay",
1297
1304
  qa: "Qatar",
1298
1305
  re: "R\xE9union",
1299
1306
  ro: "Romania",
1307
+ rs: "Serbia",
1300
1308
  ru: "Russia",
1301
1309
  rw: "Rwanda",
1302
- ws: "Samoa",
1303
- sm: "San Marino",
1304
- st: "S\xE3o Tom\xE9 & Pr\xEDncipe",
1305
1310
  sa: "Saudi Arabia",
1306
- sn: "Senegal",
1307
- rs: "Serbia",
1311
+ sb: "Solomon Islands",
1308
1312
  sc: "Seychelles",
1309
- sl: "Sierra Leone",
1313
+ sd: "Sudan",
1314
+ se: "Sweden",
1310
1315
  sg: "Singapore",
1311
- sx: "Sint Maarten",
1312
- sk: "Slovakia",
1316
+ sh: "St. Helena",
1313
1317
  si: "Slovenia",
1314
- sb: "Solomon Islands",
1318
+ sj: "Svalbard & Jan Mayen",
1319
+ sk: "Slovakia",
1320
+ sl: "Sierra Leone",
1321
+ sm: "San Marino",
1322
+ sn: "Senegal",
1315
1323
  so: "Somalia",
1316
- za: "South Africa",
1317
- gs: "South Georgia & South Sandwich Islands",
1318
- kr: "South Korea",
1319
- ss: "South Sudan",
1320
- es: "Spain",
1321
- lk: "Sri Lanka",
1322
- bl: "St. Barth\xE9lemy",
1323
- sh: "St. Helena",
1324
- kn: "St. Kitts & Nevis",
1325
- lc: "St. Lucia",
1326
- mf: "St. Martin",
1327
- pm: "St. Pierre & Miquelon",
1328
- vc: "St. Vincent & Grenadines",
1329
- sd: "Sudan",
1330
1324
  sr: "Suriname",
1331
- sj: "Svalbard & Jan Mayen",
1332
- se: "Sweden",
1333
- ch: "Switzerland",
1325
+ ss: "South Sudan",
1326
+ st: "S\xE3o Tom\xE9 & Pr\xEDncipe",
1327
+ sv: "El Salvador",
1328
+ sx: "Sint Maarten",
1334
1329
  sy: "Syria",
1335
- tw: "Taiwan",
1336
- tj: "Tajikistan",
1337
- tz: "Tanzania",
1338
- th: "Thailand",
1339
- tl: "Timor-Leste",
1330
+ sz: "Eswatini",
1331
+ tc: "Turks & Caicos Islands",
1332
+ td: "Chad",
1333
+ tf: "French Southern Territories",
1340
1334
  tg: "Togo",
1335
+ th: "Thailand",
1336
+ tj: "Tajikistan",
1341
1337
  tk: "Tokelau",
1342
- to: "Tonga",
1343
- tt: "Trinidad & Tobago",
1338
+ tl: "Timor-Leste",
1339
+ tm: "Turkmenistan",
1344
1340
  tn: "Tunisia",
1341
+ to: "Tonga",
1345
1342
  tr: "Turkey",
1346
- tm: "Turkmenistan",
1347
- tc: "Turks & Caicos Islands",
1343
+ tt: "Trinidad & Tobago",
1348
1344
  tv: "Tuvalu",
1349
- um: "U.S. Outlying Islands",
1350
- vi: "U.S. Virgin Islands",
1351
- ug: "Uganda",
1345
+ tw: "Taiwan",
1346
+ tz: "Tanzania",
1352
1347
  ua: "Ukraine",
1353
- ae: "United Arab Emirates",
1354
- gb: "United Kingdom",
1348
+ ug: "Uganda",
1349
+ um: "U.S. Outlying Islands",
1355
1350
  us: "United States",
1356
1351
  uy: "Uruguay",
1357
1352
  uz: "Uzbekistan",
1358
- vu: "Vanuatu",
1359
1353
  va: "Vatican City",
1354
+ vc: "St. Vincent & Grenadines",
1360
1355
  ve: "Venezuela",
1356
+ vg: "British Virgin Islands",
1357
+ vi: "U.S. Virgin Islands",
1361
1358
  vn: "Vietnam",
1359
+ vu: "Vanuatu",
1362
1360
  wf: "Wallis & Futuna",
1363
- eh: "Western Sahara",
1361
+ ws: "Samoa",
1364
1362
  ye: "Yemen",
1363
+ yt: "Mayotte",
1364
+ za: "South Africa",
1365
1365
  zm: "Zambia",
1366
1366
  zw: "Zimbabwe"
1367
1367
  };
@@ -2799,7 +2799,7 @@ var intlTelInput = Object.assign(
2799
2799
  //* A map from instance ID to instance object.
2800
2800
  instances: {},
2801
2801
  loadUtils,
2802
- version: "23.0.12"
2802
+ version: "23.1.1"
2803
2803
  }
2804
2804
  );
2805
2805
  var intl_tel_input_default = intlTelInput;