BREAKING CHANGES
- Remove legacy jQuery version of the plugin
- Remove Sass variables in favour of CSS variables (thanks @anthony0030)
- 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 useinputProps
) - Switch
selected-flag
div to be a<button>
instead of just havingrole="button"
attribute - Rename HTML/CSS classes:
selected-flag
=>selected-country
andflag-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)