@timeax/form-palette 0.1.25 → 0.1.26

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/dist/extra.js CHANGED
@@ -12958,7 +12958,7 @@ var DEFAULT_COUNTRIES = [
12958
12958
  {
12959
12959
  code: "NG",
12960
12960
  label: "Nigeria",
12961
- dial: "234",
12961
+ dial: "+234",
12962
12962
  mask: "999 999 9999",
12963
12963
  flag: "\u{1F1F3}\u{1F1EC}"
12964
12964
  },
@@ -13070,7 +13070,7 @@ function digitsOnly(input) {
13070
13070
  return (input != null ? input : "").replace(/\D+/g, "");
13071
13071
  }
13072
13072
  function dialPrefixFor(country) {
13073
- return `${country.dial} `;
13073
+ return `+${country.dial} `;
13074
13074
  }
13075
13075
  function valueToNationalDigits(value, country) {
13076
13076
  const digits = digitsOnly(value);