intl-tel-input 24.0.1 → 24.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-tel-input",
3
- "version": "24.0.1",
3
+ "version": "24.0.2",
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@24.0.1/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@24.0.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.
@@ -1838,7 +1838,7 @@ var Iti = class {
1838
1838
  c.nodeById[this.id] = listItem;
1839
1839
  let content = "";
1840
1840
  if (this.options.showFlags) {
1841
- content += `<div class='iti__flag-box'><div class='iti__flag iti__${c.iso2}'></div></div>`;
1841
+ content += `<div class='iti__flag iti__${c.iso2}'></div>`;
1842
1842
  }
1843
1843
  content += `<span class='iti__country-name'>${c.name}</span>`;
1844
1844
  content += `<span class='iti__dial-code'>+${c.dialCode}</span>`;
@@ -2835,7 +2835,7 @@ var intlTelInput = Object.assign(
2835
2835
  //* A map from instance ID to instance object.
2836
2836
  instances: {},
2837
2837
  loadUtils,
2838
- version: "24.0.1"
2838
+ version: "24.0.2"
2839
2839
  }
2840
2840
  );
2841
2841
  var intl_tel_input_default = intlTelInput;
@@ -1802,7 +1802,7 @@ var Iti = class {
1802
1802
  c.nodeById[this.id] = listItem;
1803
1803
  let content = "";
1804
1804
  if (this.options.showFlags) {
1805
- content += `<div class='iti__flag-box'><div class='iti__flag iti__${c.iso2}'></div></div>`;
1805
+ content += `<div class='iti__flag iti__${c.iso2}'></div>`;
1806
1806
  }
1807
1807
  content += `<span class='iti__country-name'>${c.name}</span>`;
1808
1808
  content += `<span class='iti__dial-code'>+${c.dialCode}</span>`;
@@ -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: "24.0.1"
2802
+ version: "24.0.2"
2803
2803
  }
2804
2804
  );
2805
2805
  var intl_tel_input_default = intlTelInput;
@@ -1838,7 +1838,7 @@ var Iti = class {
1838
1838
  c.nodeById[this.id] = listItem;
1839
1839
  let content = "";
1840
1840
  if (this.options.showFlags) {
1841
- content += `<div class='iti__flag-box'><div class='iti__flag iti__${c.iso2}'></div></div>`;
1841
+ content += `<div class='iti__flag iti__${c.iso2}'></div>`;
1842
1842
  }
1843
1843
  content += `<span class='iti__country-name'>${c.name}</span>`;
1844
1844
  content += `<span class='iti__dial-code'>+${c.dialCode}</span>`;
@@ -2835,7 +2835,7 @@ var intlTelInput = Object.assign(
2835
2835
  //* A map from instance ID to instance object.
2836
2836
  instances: {},
2837
2837
  loadUtils,
2838
- version: "24.0.1"
2838
+ version: "24.0.2"
2839
2839
  }
2840
2840
  );
2841
2841
  var intl_tel_input_default = intlTelInput;
@@ -1802,7 +1802,7 @@ var Iti = class {
1802
1802
  c.nodeById[this.id] = listItem;
1803
1803
  let content = "";
1804
1804
  if (this.options.showFlags) {
1805
- content += `<div class='iti__flag-box'><div class='iti__flag iti__${c.iso2}'></div></div>`;
1805
+ content += `<div class='iti__flag iti__${c.iso2}'></div>`;
1806
1806
  }
1807
1807
  content += `<span class='iti__country-name'>${c.name}</span>`;
1808
1808
  content += `<span class='iti__dial-code'>+${c.dialCode}</span>`;
@@ -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: "24.0.1"
2802
+ version: "24.0.2"
2803
2803
  }
2804
2804
  );
2805
2805
  var intl_tel_input_default = intlTelInput;