Skip to content

Releases: NickDJM/accessible-menu

4.1.2

01 Aug 17:40
Compare
Choose a tag to compare

4.1.2 (2024-08-01)

Bug Fixes

  • add requestAnimationFrame to focus and blur to make transitioning more consistent (#338) (6add377), closes #337

4.1.1

01 Aug 12:42
Compare
Choose a tag to compare

4.1.1 (2024-08-01)

Bug Fixes

  • toggles: use appropriate aria attributes based on spec (d041b52), closes #333

Build System

  • npm: remove browser-sync plugin (aa1f65a)
  • npm: update husky to latest and remove deprecations (7c3e78d)

4.1.0

25 Jun 16:15
Compare
Choose a tag to compare

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

  • api: correct information about how ids are generated (cbc4b68)
  • update copyright on license (eab322f)

4.0.1

05 Mar 20:30
Compare
Choose a tag to compare

4.0.1 (2024-03-05)

Bug Fixes

  • allow external projects to properly import src (426e53a)

4.0.0

01 Mar 01:27
Compare
Choose a tag to compare

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

01 Mar 01:09
Compare
Choose a tag to compare

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

26 Sep 00:59
Compare
Choose a tag to compare
4.0.0-beta.5 Pre-release
Pre-release

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)

3.0.8

30 Jun 15:01
Compare
Choose a tag to compare

3.0.8 (2023-06-30)

Build System

  • npm: update all dependencies to latest (af2bd4a)

4.0.0-beta.4

29 Jun 15:39
Compare
Choose a tag to compare
4.0.0-beta.4 Pre-release
Pre-release

4.0.0-beta.4 (2023-06-29)

Bug Fixes

  • accessibility: set submenu menubar roles to menu (c25652c)

3.0.7

29 Jun 15:36
Compare
Choose a tag to compare

3.0.7 (2023-06-29)

Bug Fixes

  • accessibility: set sebmenu menubar roles to menu (26b517f)