Releases: danoc/clickable-box
Releases · danoc/clickable-box
v1.0.0
This release bumps the package version to 1.0.0
since ClickableBox
has been stable for a few months. All of the other changes are internal and don't affect the published component.
v0.1.11...v1.0.0
v0.1.9
These are all behind-the-scenes changes that should have no effect on the dist
code.
Changed
- Use
np
for releasing. 8952d57
- Upgrade devDependencies. 3ca8a3f
- Use
microbundle
for publishing packages. 5237e8c
- Upgrade dev dependencies ab81097
- Add
prettier/react
as ESLint plugin 923acc7
v0.1.8
Fixed
- Allow
style
prop to be passed in. (c82e8ef)
- Publish ESM version as well as CommonJS. (c79de92)
Changed
- Upgrade
devDependencies
, simplify rollup config.
v0.1.7
Fixed
- Don't add
aria-disabled
just because onClick
isn't provided. Only add if disabled
prop is true. (6e2bace)
v0.1.6
Fixed
- Fix handling when both
onClick
and onKeyPress
are passed. (8378aaa)
- Keep
tabIndex={0}
if onClick
is not provided. (973917d)
- Always set
role="button"
(30019ab)
- Set
tabIndex
to null, not -1
, if disabled (ef317f7)
v0.1.5
Fixed
- Fix event logic so that
onClick
fires on "Space" press.
v0.1.4
Fixed
- Set the
tabIndex
to -1
when disabled
. (#11)
- Prevent users from setting a custom
tabIndex
when disabled
. (#11)
- Add
aria-disabled
when disabled
. (#11)