Skip to content

v21.0.0

Compare
Choose a tag to compare
@jackocnr jackocnr released this 02 Apr 12:11
· 614 commits to master since this release

BREAKING CHANGES

  • Remove legacy jQuery version of the plugin
  • Remove Sass variables in favour of CSS variables (thanks @anthony0030)
    • NOTE: upgrading users are recommended to update their CSS overrides to use the new CSS variables instead where possible - see CSS file for details
  • React component: drop CommonJS build (IntlTelInput.cjs.js) and rename ES Modules build from IntlTelInput.esm.js to IntlTelInput.js
  • React component: remove redundant react props: placeholder, className, disabled, onFocus, onBlur (instead use inputProps)
  • Switch selected-flag div to be a <button> instead of just having role="button" attribute
  • Rename HTML/CSS classes: selected-flag => selected-country and flag-container => country-container

OTHER CHANGES

  • Use Esbuild instead of grunt plugins (template/concat/uglify) to build JS
  • Use ES modules internally
  • Use Typescript internally (type declaration files can be found in build/js/ and react/build/js/ dirs)
  • Update libphonenumber to v8.13.33 (thanks @anthony0030)
  • Add a way to automatically download the correct version of node (thanks @anthony0030)