All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Another security fix
- Security fixes
- Removes Symbol import from core-js, now that it is part of ECMAScript. See #91
- Updates to core-js 3 and fixes tests. See #90
- Suppress "Unable to find node on an unmounted component" error during shallow rendering in enzyme. See #76
- Add pageUp, pageDown, home, end keys. See #72.
Thank you @dariuszpaluch!
- Make sure Symbol is getting polyfilled. See #67
- Remove smelly setTimeout from mount event handler now that we're capturing instead of bubbling and don't need to bump activation. See #64 and #66
- Add ALL_PRINTABLE_CHARACTERS symbol for binding. See #61
- [Fix] Added support for ALL_KEYS in decorators. See #56
- [Fix] Reverted changes made in 1.7.5 to 1.7.7 & added click check in capture mode See #55 (comment)
- [Fix] Do not reshuffle activation order of bound instances on click if the click target has already been removed from the DOM. See #55
- [Fix] Check for existence of
getAttribute
before calling it, mainly so jsdom tests will pass (fixes #53)
- [Fix] Actually fix the muting of keybindings when role=textbox + tests
- [Fix] Fix tests
- [Fix] Mute keybindings when role=textbox (fixes #51)
- 83df6fd [Fix] Prevent double firing of onKeyDown handlers when one of the bindings already has a ctrl modifier (which fires in text fields already)
- b015d8b [Fix] Better Symbol type checking. Thank you @AntonovAv (fixes #42).
- f6c6c01 [Feature] Patch feature: add "delete" and "del" as aliases to key code 46.
- 3870148 [Fix] Return values from decorated methods (fixes #35)
- f694b33 [Fix] Use window.KeyboardEvent instead of just KeyboardEvent for better clarity and testability with jsdom. (fixes #35)
- 146920a [Fix] Avoid transpilation to Array.from (thanks to @elyobo for pr #27)
- 3a6821f [Fix] Do not use Array.fill in order to maximize compatibility with IE (thanks to @elyobo for pr #26)
- f3a8ed0 [Fix] 1.6.0 introduced a bug wherein a decorated method would not fire when called programmatically.
- 8aa893f [Maintenance] Switch to simple indices rather than uuids (fixes #19 via pr #24 from @jeffijoe)
- e0cfb05 [Feature] Add experimental support for using the @keydown method decorator as a filter for handlers bound via onKeyDown to input, textarea, etc.
- 91209b0 [Feature] Add function key codes
- 025e549 [Fix] Use UUIDs as keys in the bindings map rather than the prototypes themselves, to address HMR issues in webpack (see #16)
- React >= 0.14.0 rather than ^0.14.0
- 8626078 [Feature] Add esc key
- Wrong react version dependency was cached.
- 8c00bb2 [Fix] Use proper es6 module import syntax
- 7fb3e85 [Fix] Add uppercase version of special keys back in for backwards compatibility
- 699f42c [Dependency Update] Switch to react-dom for full compatibility with React 0.14+. (Breaking SemVer just slightly for the sake of version parity.)
- ac8fb21 [Fix] Fix scoping problems introduced in last major code reorganization that meant some mounted instance would always receive keydown events.
- d1453b5 [Fix] Add node check to safeguard against unmounted components when looking for ancestors of click event targets.
- ec0bff2 [Fix] Re-export
Keys
lib after reorganization. - 1b93de3 [Maintenance] Reorganize code to be more coherent/modular/maintainable.
- 301f4e4 [Maintenance] Write preliminary reference documentation.
- 79af533 [Feature] Add support for more alphanumeric keys.
- c46805e [Maintenance] Move compile task into script to more easily manage different builds for umd vs. commonjs-only (default).
- Running
npm run compile
no longer builds for UMD by default. AMD users should use the umd-specific branch of master instead. See pr#7 for reference.