Skip to content

Releases: recursive-beast/mui-phone-textfield

v5.1.0

06 Feb 16:09
Compare
Choose a tag to compare

5.1.0 (2024-02-06)

Bug Fixes

  • style conflict with tailwindCss (88e3eb1)

Features

v5.0.0

23 Aug 15:43
Compare
Choose a tag to compare

5.0.0 (2023-08-23)

Bug Fixes

  • update state on country change (266b5e9)

Features

  • add CountrySelect component (2df22e1)
  • provide convenient event listeners instead of onChange (eee54b4)
  • simplify component props (49390c7)

BREAKING CHANGES

  • package has been rewritten
  • simplified event listeners
  • value state is now controlled from inside the component
  • no need to configure bundler for image imports anymore
  • the select component is hidden if no country is
    provided
  • a select is used instead of a button that opens a menu,
    this results in better accessibility

v5.0.0-pre-release.1

23 Aug 13:51
Compare
Choose a tag to compare
v5.0.0-pre-release.1 Pre-release
Pre-release

5.0.0-pre-release.1 (2023-08-23)

Bug Fixes

  • update state on country change (266b5e9)

Features

  • add CountrySelect component (2df22e1)
  • provide convenient event listeners instead of onChange (eee54b4)
  • simplify component props (49390c7)

BREAKING CHANGES

  • package has been rewritten
  • simplified event listeners
  • value state is now controlled from inside the component
  • no need to configure bundler for image imports anymore
  • the select component is hidden if no country is
    provided
  • a select is used instead of a button that opens a menu,
    this results in better accessibility

v4.0.0

20 Feb 11:19
Compare
Choose a tag to compare

4.0.0 (2022-02-20)

Bug Fixes

BREAKING CHANGES

  • I mistakenly added an 's' to BREAKING CHANGE in the
    last fix commit.

v3.1.1

20 Feb 11:09
Compare
Choose a tag to compare

3.1.1 (2022-02-20)

Bug Fixes

v3.1.0

15 Feb 16:07
Compare
Choose a tag to compare

3.1.0 (2021-02-15)

Bug Fixes

  • typescript: make properties of countryDisplayNames optional (9d426ce)

Features

  • proptypes: accept only string values in countryDisplayNames (1dae4d6)

v3.0.0

05 Feb 17:05
Compare
Choose a tag to compare

3.0.0 (2021-02-05)

Features

  • sprite: images are external to the js bundle (8aec39b)
  • sprite: two versions are available, for normal and retina displays (438872b)

BREAKING CHANGES

  • sprite: the user is now responsible for processing any
    import/require to the sprite image using a bundler like webpack

v2.2.0

29 Jan 20:29
Compare
Choose a tag to compare

2.2.0 (2021-01-29)

Features

  • menubutton: removed dropdown arrow from the menu button (f55f474)
  • menubutton: the flag is now nested in an IconButton instead of a normal button (7293431)

v2.1.0

02 Jan 21:07
Compare
Choose a tag to compare

2.1.0 (2021-01-02)

Bug Fixes

  • added missing TextField's value prop (e45db21)

Features

  • menu: added support for basic keyboard navigation (2eddd72)
  • menu: improved accessibility (a72d040)
  • menu: items are less dense (18e47fa)

v2.0.0

23 Dec 23:46
Compare
Choose a tag to compare

2.0.0 (2020-12-23)

Features

  • onChange now receives a data object instead of the change event (3cc83d6)

BREAKING CHANGES

  • The object passed to onChange has the following
    properties:
    • formattedValue: The formatted value for the selected country. Extracted from the input value.
    • phoneNumber: An instance of the
      PhoneNumber
      class, or undefined if no valid phone number could be parsed from the input value.
    • event: The original event that triggered the onChange handler.