Skip to content

Releases: danoc/clickable-box

v1.1.0

26 Nov 14:20
Compare
Choose a tag to compare

v1.0.0...v1.1.0

v1.0.0

10 Jun 03:06
Compare
Choose a tag to compare

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.11

30 Apr 04:06
Compare
Choose a tag to compare
  • Prevent scrolling when pressing Spacebar (#24) 70780c1

v0.1.10...v0.1.11

v0.1.10

08 Apr 10:41
Compare
Choose a tag to compare

v0.1.9...v0.1.10

v0.1.9

12 Mar 04:20
Compare
Choose a tag to compare

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

15 Jan 21:56
Compare
Choose a tag to compare

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

15 Dec 23:53
Compare
Choose a tag to compare

Fixed

  • Don't add aria-disabled just because onClick isn't provided. Only add if disabled prop is true. (6e2bace)

v0.1.6

15 Dec 23:39
Compare
Choose a tag to compare

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

15 Dec 05:07
Compare
Choose a tag to compare

Fixed

  • Fix event logic so that onClick fires on "Space" press.

v0.1.4

14 Dec 05:05
Compare
Choose a tag to compare

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)