All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Replaced flag sprite sheet with country-flag-icons package
- This package no longer supports versions of material-ui under v5
- Moved
@material-ui/core
back to peerDependencies
- Fixed an issue with builds not being generated correctly - see alexplumb#34 and alexplumb#32
- Changed
clsx
toclsx
- Moved all packages to dependencies rather than peerDependencies
Fixed a regression caused by updating to @material-ui/[email protected]
- Fixed a regression caused by switching from
componentWillReceiveProps
tocomponentDidUpdate
- Fixed a regression with setting the
value
property
- BREAKING If you were previously using
InputProps
, change it toinputProps
with a lowercasei
- Removed
@material-ui/styles
dependency
- Changed the phone number format for Sweden
- Update lodash for security vulnerability
- Removed reliance on theme providers
- Added support for a new
native
property for people who want to use a native select for the button dropdown
- Added support for material-ui 4
- Added
clsx
to peer dependencies - Added
lodash
to peer dependencies
- Moved material-ui and react to peer dependencies
- Add support for
variant
TextField prop
- Fixed a React warning caused by having the first child of a menu being a React.Fragment
- Added @material-ui/core to webpack externals and removed lodash from externals
- Added support for
inputProps
TextField parameter
- Re-added support for
disableDropdown
parameter
- Fixed a spooky issue with the wrong value being sent to the onChange event listener
- Fixed a regression caused by moving on* event listeners to InputProps
- Fixed an issue with dropdowns not popping over the flag button
- Fixed an issue with the divider not appearing in the dropdown
- Fixed a regression with the dropdown not scrolling to the selected country
- Added support for
helperText
TextField property
- Set
error
property on the TextField for invalid phone numbers