Skip to content

Releases: blakeembrey/keyboard-manager

Optimization: normalize key once

08 Sep 22:17
9c96266
Compare
Choose a tag to compare

Added

  • Annotate return types, inline Event interface 6cf1a00

Fixed

  • Normalize with stringifyKey 85e0cdb

v4.0.0...v4.0.1

ESM package

09 Aug 04:08
2d76f13
Compare
Choose a tag to compare

Changed

  • Drop support for symbols as keys 171e974
  • Map additional keys from MDN 6731d80
  • Use Set for listener storage c7dd4e3
  • Map event.key the same way stringifyKey works to work around old IE/Firefox surprises c7dd4e3

v3.0.3...v4.0.0

Support undefined `event.key`

09 Aug 02:50
e99daa9
Compare
Choose a tag to compare

Fixed

v3.0.2...v3.0.3

Add ES2015 module to package

26 Jul 05:43
e39d46c
Compare
Choose a tag to compare

Fixed

v3.0.1...v3.0.2

Void Returns

31 Mar 23:18
Compare
Choose a tag to compare

Fixed

  • Void returns where type doesn't matter

Use Event Key

07 Nov 04:37
Compare
Choose a tag to compare

Changed

  • Use event.key over event.which (DOMString versus deprecated numeric key code)

Filter Input Events

15 Sep 06:32
Compare
Choose a tag to compare

Added

  • Expose filterInputEvent and isInputEvent for ignoring input-like keyboard events

Changed

  • Merge listener function signatures - previous form was undocumented, now it's consistent

Simplify Build

15 Sep 00:30
Compare
Choose a tag to compare

Changed

  • Change the concept of shortcut maps and arrays, use a single "listener" queue with support for propagation which cleverly enables "scopes"

Initial Release

14 Sep 21:33
Compare
Choose a tag to compare

Basic implementation for use in DOM-based applications (e.g. React.js) by implementing a shortcut queue.