Releases: NickDJM/accessible-menu
Releases · NickDJM/accessible-menu
4.2.0
4.2.0 (2024-11-08)
Features
- add initialized menus to window.AccessibleMenu.menus object (c90e5aa)
- options: add transitionDuration option to allow for closing animations (8729d85), closes #319
Bug Fixes
- accessibility: close menu when it loses focus (54a3a57), closes #354
- prevent menu toggle on right-click (#355) (8882158)
Build System
- bump eslint-plugin-jsdoc from 48.11.0 to 50.0.0 (c7da84a)
- bump jsdom from 24.1.3 to 25.0.1 (e299b85)
- npm: upgrade eslint to latest (3c8a595)
- npm: upgrade vitest to latest (48da54c)
Documentation
- correct spelling throughout entire project (f4726c2)
4.1.2
4.1.1
4.1.0
4.1.0 (2024-06-25)
Features
- menus: add default submenuItemSelector (7eea6cf), closes #310
- treeview: handle aria-expanded true on load (a01b53c), closes #268
Bug Fixes
- demo: actually show active buttons (a478d12)
- hover: correct dynamic hover functionality to work like in apg (818cd3b), closes #303
- hover: handle cancelling hover events when re-entering menu items (a999f22), closes #299
- remove deprecated code (80a7697)
- treeview: move pointerleave event to proper spot (53c9442)
- treeview: only close submenus when menu recieves pointerleave event (dfeddbd), closes #315
Build System
- bump @eslint/js from 8.57.0 to 9.1.1 (e7bbef6)
- bump globals from 14.0.0 to 15.0.0 (0bb5677)
- npm: remove @babel/eslint-parser from dev dependencies (210eba6)
- release: remove unused updater (e720086)
Documentation
4.0.1
4.0.0
4.0.0 (2024-03-01)
⚠ BREAKING CHANGES
- toggles: any subclasses with custom initialize methods will need to add new setup methods
- validate: renamed isCSSSelector to isQuerySelector
- using new es module config will render any old versions incompatible
- dist file names have changed to *.iife.js and *.es.js
- validation: changes the return type of validation functions from boolean to object
- isEventSupported will no longer be declared in validate
Features
- toggles: split initialize method out into individual tasks (#285) (77db110)
- add cjs support and define exports (2d9d33f)
- add support for hoverDelay and transitions on pointerenter (1a19215), closes #211
- add demo environment using vite (07fb0ba), closes #201
- menu: add new TopLinkDisclosureMenu sub-class (93dbca1), closes #168
Bug Fixes
- menu: set default disclousre menu submenu toggle to button (395ee8f), closes #276 #273
- accessibility: set submenu menubar roles to menu (c25652c)
- controller: use toggle for space and enter (e5d7969), closes #222
- focus: do not reset child menus to correct focusing issues (b92fa0f), closes #209
- hover: correct treeview focus and general hover delay bugs (f613c84)
- menubar: properly focus parent menu current child when closing (0e42d2b)
Build System
- eslint: update ignores (565e876)
- github: build docs for 4.x (7804d48)
- npm: update commitlint to latest (c9ecd6d)
- npm: update dependencies to latest (5525245)
- npm: update lint-staged to latest (6ea9967)
- upgrade dependencies and config to support es modules (74da841)
- actions: update checkout to v4 (a481c5f)
- npm: update all dependencies to latest (92506d1)
- github: enable all workflows for 4.x (a08dda1)
- replace rollup with vite and update dist to match (d7b6785)
- use test run script for prerelease (9b33d1a)
- bump eslint-plugin-jsdoc from 39.9.1 to 40.0.0 (056c0cd)
- bump eslint-plugin-jsdoc from 40.3.0 to 43.0.0 (95e2b48)
- eslint: upgrade options for jsdoc plugin (f3d96c5)
- npm: ensure latest version of vitest to fix issues with githun action tests (a4488e8)
Code Refactoring
- demo: update styles and swap to plain css (887cf4c)
- validate: rename and rephrase css selectors to query selectors (de11dcd)
- validation: return a status and message when validation fails (ec16bc5)
- validation: update validation functions to take advantage of new error system (aba9997)
Documentation
- add api index (7951802)
- add current release to menu (4d3dd94)
- add links to codepens (52f36e1), closes #289
- add upgrade guide for both v3 to v4 and v2 to v3 (059e36c)
- correct capitalization (9ca87e7)
- replace auto generated docs with vitepress docs (08b01c4), closes #130* readme: correct test badge name (f5cb292)
- update test docs to account for top-link disclosures (de0a72b)
- update references and security policy to reflect 4.x change (f1c639d)
Continuous Integration
Miscellaneous Chores
- remove deprecated validation function (d710180)
3.0.9
3.0.9 (2024-03-01)
Build System
- actions: update checkout to v4 (f036ac1)
- bump @commitlint/cli from 17.8.1 to 18.4.3 (255b300)
- bump @commitlint/cli from 18.6.1 to 19.0.3 (315f933)
- bump @commitlint/config-conventional from 17.8.1 to 18.4.3 (60b8568)
- bump @commitlint/config-conventional from 18.6.2 to 19.0.3 (18cfecd)
- bump eslint-config-prettier from 8.10.0 to 9.1.0 (0adc7b7)
- bump eslint-plugin-jsdoc from 46.10.1 to 48.0.2 (98bcf4a)
- bump husky from 8.0.3 to 9.0.11 (935a097)
- bump lint-staged from 13.3.0 to 15.2.0 (432c9d9)
- bump prettier from 2.8.8 to 3.1.1 (8e2969e)
4.0.0-beta.5
4.0.0-beta.5 (2023-09-26)
Features
- add cjs support and define exports (2d9d33f)
Build System
- actions: update checkout to v4 (a481c5f)
Documentation
- readme: correct test badge name (f5cb292)
Continuous Integration
- update push and pr rules (15cbe9f)