Releases: rpearce/react-button-a11y
Releases · rpearce/react-button-a11y
v4.1.2
[4.1.2] - 2020-01-01
Changed
v4.1.1
[4.1.1] - 2019-12-29
Changed
- bump
react-with-forwarded-ref
v4.1.0
[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
[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
[3.0.1] - 2019-02-13
Added
- added missing .browserslistrc file
Changed
- bumped some dev dependencies
v3.0.0
[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
[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
[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
[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