intl-tel-input 28.0.0 → 28.0.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.
@@ -1738,7 +1738,7 @@ var allCountries = [];
1738
1738
  for (const c of rawCountryData) {
1739
1739
  allCountries.push({
1740
1740
  name: "",
1741
- // populated in the plugin
1741
+ // populated in the core library
1742
1742
  iso2: c[0],
1743
1743
  dialCode: c[1],
1744
1744
  priority: c[2] || 0,
@@ -1958,7 +1958,7 @@ var defaults = {
1958
1958
  geoIpLookup: null,
1959
1959
  //* Inject a hidden input with the name returned from this function, and on submit, populate it with the result of getNumber.
1960
1960
  hiddenInput: null,
1961
- //* Internationalise the plugin text e.g. search input placeholder, country names.
1961
+ //* Internationalise the core library text e.g. search input placeholder, country names.
1962
1962
  i18n: {},
1963
1963
  //* Initial country.
1964
1964
  initialCountry: "",
@@ -2447,7 +2447,7 @@ var UI = class _UI {
2447
2447
  );
2448
2448
  }
2449
2449
  }
2450
- //* Generate all of the markup for the plugin: the selected country overlay, and the dropdown.
2450
+ //* Generate all of the markup for the core library: the selected country overlay, and the dropdown.
2451
2451
  buildMarkup(countries, searchTokens) {
2452
2452
  this.#countries = countries;
2453
2453
  this.#searchTokens = searchTokens;
@@ -4374,7 +4374,7 @@ var Iti = class _Iti {
4374
4374
  //********************
4375
4375
  //* PUBLIC METHODS
4376
4376
  //********************
4377
- //* Remove plugin.
4377
+ //* Remove core library.
4378
4378
  destroy() {
4379
4379
  if (!this.#isActive) {
4380
4380
  return;
@@ -4623,7 +4623,7 @@ var intlTelInput = Object.assign(
4623
4623
  documentReady: () => document.readyState === "complete",
4624
4624
  //* Get the country data object.
4625
4625
  getCountryData: () => data_default,
4626
- //* A getter for the plugin instance.
4626
+ //* A getter for the core library instance.
4627
4627
  getInstance: (input) => {
4628
4628
  const id = input.dataset[DATA_KEYS.INSTANCE_ID];
4629
4629
  return id ? intlTelInput.instances.get(id) ?? null : null;
@@ -4633,7 +4633,7 @@ var intlTelInput = Object.assign(
4633
4633
  attachUtils,
4634
4634
  startedLoadingUtils: false,
4635
4635
  startedLoadingAutoCountry: false,
4636
- version: "28.0.0",
4636
+ version: "28.0.2",
4637
4637
  NUMBER_FORMAT,
4638
4638
  NUMBER_TYPE,
4639
4639
  VALIDATION_ERROR
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-tel-input",
3
- "version": "28.0.0",
3
+ "version": "28.0.2",
4
4
  "description": "A JavaScript plugin for entering and validating international telephone numbers",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "./i18n/*": {
32
32
  "types": "./dist/js/i18n.d.ts",
33
- "import": "./dist/js/i18n/*/index.js"
33
+ "import": "./dist/js/i18n/*.js"
34
34
  },
35
35
  "./styles": {
36
36
  "types": "./dist/css/styles.d.ts",