npm intl-tel-input 28.0.0
v28.0.0

latest release: 28.0.1
2 hours ago

BREAKING CHANGES

  • Re-org to packages (c5e67e23)
    • intl-tel-input/react@intl-tel-input/react
    • intl-tel-input/reactWithUtils@intl-tel-input/react/with-utils
    • intl-tel-input/vue@intl-tel-input/vue
    • intl-tel-input/vueWithUtils@intl-tel-input/vue/with-utils
    • intl-tel-input/angular@intl-tel-input/angular
    • intl-tel-input/angularWithUtils@intl-tel-input/angular/with-utils
    • intl-tel-input/svelte@intl-tel-input/svelte
    • intl-tel-input/svelteWithUtils@intl-tel-input/svelte/with-utils
    • Vanilla intl-tel-input import unchanged.
  • Replace integer enums with string names in public API (08b41377)
    • getNumber(format), getNumberType(), and getValidationError() now use libphonenumber-style names (e.g. "E164", "MOBILE", "TOO_SHORT") instead of integers; -99 sentinels are now null.
  • getSelectedCountryData now returns the full Country object instead of just a partial (36be0e28)
    • Returns the full Country object (incl. priority, areaCodes, etc.) rather than a curated subset.
  • New option: countryNameOverrides (d3f0b9b4)
    • Customise specific country display names without forking the locale data.
  • Update geoIpLookup to work with promise instead (d72514b7)
    • geoIpLookup now expects a function returning a Promise<iso2> instead of a (success, failure) => ... callback.
  • Move from data-country-code on list items to data-iso2 (49b435ec)
    • Country list <li> items now use data-iso2 instead of data-country-code — update any custom selectors.
  • Enable separateDialCode, strictMode and strictRejectAnimation by default (4ecba221)
    • New defaults: separateDialCode: true, strictMode: true, strictRejectAnimation: true. Pass false to opt out.

Don't miss a new intl-tel-input release

NewReleases is sending notifications on new releases.