aboutsummaryrefslogtreecommitdiff
path: root/js/src/dom/selector-engine.js
AgeCommit message (Collapse)AuthorFilesLines
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR1-1/+1
2021-07-27Add shift-tab keyboard support for dialogs (modal & Offcanvas components) ↵Ryan Berliner1-0/+17
(#33865) * consolidate dialog focus trap logic * add shift-tab support to focustrap * remove redundant null check of trap element Co-authored-by: GeoSot <[email protected]> * remove area support forom focusableChildren * fix no expectations warning in focustrap tests Co-authored-by: GeoSot <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-06-22Release v5.0.2 (#34276)v5.0.2XhmikosR1-1/+1
* Bump version to v5.0.2. * Dist
2021-05-13Release v5.0.1 (#33972)v5.0.1XhmikosR1-1/+1
* Bump version to 5.0.1. * Dist
2021-05-05Release v5.0.0 (#33647)v5.0.0XhmikosR1-1/+1
* Bump version to 5.0.0 * Fix npm tag * Dist
2021-03-23Release v5.0.0-beta3 (#33439)v5.0.0-beta3XhmikosR1-1/+1
2021-02-10Release v5.0.0-beta2 (#32467)v5.0.0-beta2XhmikosR1-1/+1
* Bump version to 5.0.0-beta2 * Dist
2020-12-09SelectorEngine: drop variable used once (#32391)XhmikosR1-3/+2
2020-12-07Remove `SelectorEngine.matches()`. (#32339)XhmikosR1-6/+2
It's basically unused.
2020-12-07Prepare v5.0.0-beta1.XhmikosR1-1/+1
2020-11-11Prepare v5.0.0-alpha3 (#32122)v5.0.0-alpha3XhmikosR1-1/+1
2020-11-05Remove the now unneeded polyfills.XhmikosR1-4/+2
2020-09-29Prepare v5.0.0-alpha2. (#31748)v5.0.0-alpha2XhmikosR1-1/+1
2020-06-16Rename "master" to "main". (#31050)XhmikosR1-1/+1
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR1-1/+1
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-04-28Drop closest from SelectorEngine (#30653)Martijn Cuppens1-4/+0
Co-authored-by: XhmikosR <[email protected]>
2020-03-25fix: remove make array util function (#30430)Johann-S1-5/+4
2020-03-23Use next dropdown menu instead of first of the parentMartijn Cuppens1-0/+14
2020-03-18Remove IE compatibility JS codeJohann-S1-3/+3
2020-03-09`prev()` function fails when non-element nodes are present (#30117)Martijn Cuppens1-7/+5
The `prev()` function doesn't take nodes other than elements into account. Also we could simplify things a lot using the `previousElementSibling` property. This property isn't fully supported in IE, it only works for elements, but since the `element` variable is an element, we can safely use it here. I've also added an additional test. I don't think we had this issue in v4, since we relied on jQuery back then. Ref. https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/nextElementSibling
2019-07-23rewrite unit tests for selector engineJohann-S1-24/+2
2019-05-08Rename `eventHandler` and `selectorEngine` files.XhmikosR1-0/+97