Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Releases: rpearce/react-button-a11y

v4.1.2

02 Jan 13:59
ba9d59c
Compare
Choose a tag to compare

[4.1.2] - 2020-01-01

Changed

  • fixed commonjs bundle

v4.1.1

29 Dec 16:25
6931ab9
Compare
Choose a tag to compare

[4.1.1] - 2019-12-29

Changed

  • bump react-with-forwarded-ref

v4.1.0

29 Dec 14:54
5091847
Compare
Choose a tag to compare

[4.1.0] - 2019-12-29

Added

  • added browser field for umd build

Changed

  • bumped all deps
  • updated main and module fields
  • license from ISC to BSD-3
  • moved API docs back to README

Removed

  • .browserslistrc file (just use babel preset-env default)

v4.0.0

13 Sep 03:19
edfcd7d
Compare
Choose a tag to compare

[4.0.0] - 2019-09-12

Changed

  • now building commonjs & ESM build outputs in dist/ folder
  • using rollup for building output
  • security fixes
  • removed peer dependency on react-dom

v3.0.1

12 Feb 22:19
Compare
Choose a tag to compare

[3.0.1] - 2019-02-13

Added

  • added missing .browserslistrc file

Changed

  • bumped some dev dependencies

v3.0.0

12 Feb 20:24
Compare
Choose a tag to compare

[3.0.0] - 2019-02-13

Changed

  • sets a new peer dependency to be at least React 16.8
  • converts component to functional component and uses the useCallback
    hook
    for the
    handleKeyDown event memoization
  • wraps the component and forwarded ref higher-order component in
    React.memo
  • updates example to use useState
    and useCallback
    to toggle the button states (text and background color, where applicable)
  • rewrites the tests in
    react-testing-library
    to focus less on internals and more on what an end-user might see (and really
    to try it out, too)

v2.0.0

29 Dec 00:02
Compare
Choose a tag to compare

[2.0.0] - 2018-12-29

Changed

  • changed default element from div to span. Unfortunately, this qualifies
    as a breaking change (hence the major version bump).

v1.0.1

19 Dec 05:06
Compare
Choose a tag to compare

[1.0.1] - 2018-12-19

Fixed

  • fixed forwarding refs eating the display name by including
    react-with-forwarded-refs as a dependency

v1.0.0

17 Dec 22:46
Compare
Choose a tag to compare

[1.0.0] - 2018-12-18

Fixed

  • support for forwarding refs (#5)

Changed

  • peer dependency on react has to be bumped to >= 16.3, so that breaking
    change is the reason for the major version bump