intl-tel-input 23.8.1 → 23.8.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": "23.8.1",
3
+ "version": "23.8.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@23.8.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@23.8.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.
@@ -1725,7 +1725,7 @@ var Iti = class {
1725
1725
  );
1726
1726
  }
1727
1727
  const selectedCountryPrimary = createEl("div", { class: "iti__selected-country-primary" }, this.selectedCountry);
1728
- this.selectedCountryInner = createEl("div", null, selectedCountryPrimary);
1728
+ this.selectedCountryInner = createEl("div", { class: "iti__flag" }, selectedCountryPrimary);
1729
1729
  this.selectedCountryA11yText = createEl(
1730
1730
  "span",
1731
1731
  { class: "iti__a11y-text" },
@@ -2838,7 +2838,7 @@ var intlTelInput = Object.assign(
2838
2838
  //* A map from instance ID to instance object.
2839
2839
  instances: {},
2840
2840
  loadUtils,
2841
- version: "23.8.1"
2841
+ version: "23.8.2"
2842
2842
  }
2843
2843
  );
2844
2844
  var intl_tel_input_default = intlTelInput;
@@ -1689,7 +1689,7 @@ var Iti = class {
1689
1689
  );
1690
1690
  }
1691
1691
  const selectedCountryPrimary = createEl("div", { class: "iti__selected-country-primary" }, this.selectedCountry);
1692
- this.selectedCountryInner = createEl("div", null, selectedCountryPrimary);
1692
+ this.selectedCountryInner = createEl("div", { class: "iti__flag" }, selectedCountryPrimary);
1693
1693
  this.selectedCountryA11yText = createEl(
1694
1694
  "span",
1695
1695
  { class: "iti__a11y-text" },
@@ -2802,7 +2802,7 @@ var intlTelInput = Object.assign(
2802
2802
  //* A map from instance ID to instance object.
2803
2803
  instances: {},
2804
2804
  loadUtils,
2805
- version: "23.8.1"
2805
+ version: "23.8.2"
2806
2806
  }
2807
2807
  );
2808
2808
  var intl_tel_input_default = intlTelInput;
@@ -1725,7 +1725,7 @@ var Iti = class {
1725
1725
  );
1726
1726
  }
1727
1727
  const selectedCountryPrimary = createEl("div", { class: "iti__selected-country-primary" }, this.selectedCountry);
1728
- this.selectedCountryInner = createEl("div", null, selectedCountryPrimary);
1728
+ this.selectedCountryInner = createEl("div", { class: "iti__flag" }, selectedCountryPrimary);
1729
1729
  this.selectedCountryA11yText = createEl(
1730
1730
  "span",
1731
1731
  { class: "iti__a11y-text" },
@@ -2838,7 +2838,7 @@ var intlTelInput = Object.assign(
2838
2838
  //* A map from instance ID to instance object.
2839
2839
  instances: {},
2840
2840
  loadUtils,
2841
- version: "23.8.1"
2841
+ version: "23.8.2"
2842
2842
  }
2843
2843
  );
2844
2844
  var intl_tel_input_default = intlTelInput;
@@ -1689,7 +1689,7 @@ var Iti = class {
1689
1689
  );
1690
1690
  }
1691
1691
  const selectedCountryPrimary = createEl("div", { class: "iti__selected-country-primary" }, this.selectedCountry);
1692
- this.selectedCountryInner = createEl("div", null, selectedCountryPrimary);
1692
+ this.selectedCountryInner = createEl("div", { class: "iti__flag" }, selectedCountryPrimary);
1693
1693
  this.selectedCountryA11yText = createEl(
1694
1694
  "span",
1695
1695
  { class: "iti__a11y-text" },
@@ -2802,7 +2802,7 @@ var intlTelInput = Object.assign(
2802
2802
  //* A map from instance ID to instance object.
2803
2803
  instances: {},
2804
2804
  loadUtils,
2805
- version: "23.8.1"
2805
+ version: "23.8.2"
2806
2806
  }
2807
2807
  );
2808
2808
  var intl_tel_input_default = intlTelInput;