Releases
v4.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 )
You can’t perform that action at this time.