Releases: NickDJM/accessible-menu
Releases · NickDJM/accessible-menu
2.1.1
2.1.0
2.1.0 (2020-07-25)
Features
- menu: allow for empty open and close classes (a58b1e3), closes #72
- menu: allow for multiple open and close classes (b4bc19f), closes #73
Bug Fixes
- events: make click handling a lot more strict (7f91256)
- toggle: allow for multiple open/close classes in IE with loop (608450d), closes #72
Documentation
Build System
2.0.0
2.0.0 (2020-05-21)
⚠ BREAKING CHANGES
- menutoggle: Bootstrap users will need to adjust their custom styles to handle not having the
parent's class altered when menus are toggled - menu: AccessibleMenu is no longer a constructor, so uses will have to use
AccessibleMenu.Menubar - menu: Anything relying on the menu.js file will need to be updated to _baseMenu.js
- menu: Using old getters/setter will result in an error
Features
- events: use keyup events instead of keydown events (4b8a5ad)
- menu: add ability to make submenu's open/close on hover (6b30546)
- menu: add DisclosureMenu class (9ade527), closes #61
- menu: add menuLinkSelector property to Menu class (6b4e1f2), closes #61
- menu: add new methods for setting dom elements in the menu (f55951c)
- menu: add support for a closed class (0668b56)
- menu: remove focus changing when user is using a mouse (0b02fb0)
- menu: split out menubar functionality into it's own class (3466db1), closes #61
Bug Fixes
- events: use touchup and mouseup events instead of click (24f8eaf)
- ie: add string.prototype.startsWith polyfill (181194b)
- importing: update index to match new structure (5e7a09b)
- menu: pass hoverDelay to all submenus (4eca2aa)
- package: adjust files (4bd259a)
- correct paths (ee62bc3)
- menubar: ensure escape will always close open menus (c42d2e5)
Performance Improvements
- events: add menu-level event tracking (338a2b0), closes #61
- menu: set default menuItemSelector to li (98e7ec5)
- toggle: clean up close function and create collapse (131d22d)
- toggle: only add button role if toggle isn't a button (95f2cfb)
- validation: condense more of the validation (d9064ac)
- validation: move validation to its own file for code reuse (9df795d)
Build System
- update dependencies and config (aa10023)
Documentation
- update documentation for 2.0.0 (794b553)
- update jsdocs to have proper default values declared (e7335a1)
Code Refactoring
1.1.0
1.0.6
1.0.5
1.0.4
1.0.4 (2019-12-15)
Bug Fixes
- menu: keep focus on root item after left/right arrows (f0d1499), closes #50
- menu: prevent default event on arrow up/down on top level menus (d9410f3), closes #47
Build System
- npm: disallow .files from being packaged (73e0579)
- npm: ensure build is run and committed with release (a9f03ff)
Code Refactoring
- main: change main.js to index.js to keep to internal standard (c4091ab)