aboutsummaryrefslogtreecommitdiff
path: root/js/src
AgeCommit message (Collapse)AuthorFilesLines
2024-07-29Update devDependencies and regenerate package-lock.json (#40673)XhmikosR1-1/+1
* @babel/preset-env ^7.24.8 → ^7.25.0 * eslint-plugin-unicorn ^54.0.0 → ^55.0.0 * hugo-bin ^0.126.0 → ^0.127.0 * postcss ^8.4.39 → ^8.4.40 * rollup ^4.19.0 → ^4.19.1 * rtlcss ^4.1.1 → ^4.2.0
2024-07-19Fix `this` reference for JavaScript functions (#38725)Nathan Sarang-Walters4-5/+5
2024-03-18Fix broken comment link for reflow hack (#39791)Caleb Albritton1-1/+1
2024-03-06Fix various redirectsXhmikosR2-2/+2
2024-02-20Release v5.3.3 (#39524)Julien Déramond1-1/+1
* Release v5.3.3 * Dist --------- Co-authored-by: XhmikosR <[email protected]>
2024-02-18Selector Engine: fix multiple IDs (#39201)GeoSot1-2/+2
* fix: regression of #38989 * Add unit test in selector-engine.spec.js --------- Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2024-02-06Build(deps-dev): Bump eslint-config-xo from 0.43.1 to 0.44.0 (#39651)dependabot[bot]4-4/+12
* Build(deps-dev): Bump eslint-config-xo from 0.43.1 to 0.44.0 Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.43.1 to 0.44.0. - [Release notes](https://github.com/xojs/eslint-config-xo/releases) - [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.43.1...v0.44.0) --- updated-dependencies: - dependency-name: eslint-config-xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update .eslintrc.json * Update .eslintrc.json * autofix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2023-11-15Allow `<dl>`, `<dt>` and `<dd>` in JS sanitizer (#39376)Frans de Jonge1-0/+3
Co-authored-by: Julien Déramond <[email protected]>
2023-09-14Release v5.3.2 (#39173)Julien Déramond1-1/+1
* Bump version to 5.3.2 * Dist
2023-09-13Fix collapse multiple ids target (#38989)Louis-Maxime Piton1-2/+2
2023-08-21Dropdown: reuse variable (#39046)Mustafa Ateş Uzun1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2023-07-26Release v5.3.1 (#38956)XhmikosR1-1/+1
* Bump version to 5.3.1 * Dist
2023-07-23Support `Home` and `End` keys in tabs (#38498)Kyle Tsang1-3/+13
* Support `Home` and `End` keys in tabs * Update tab.js * simplify tests * Update navs-tabs.md * Update .bundlewatch.config.json --------- Co-authored-by: Patrick H. Lauke <[email protected]> Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2023-05-30Release v5.3.0 (#38657)XhmikosR1-1/+1
* Bump version to 5.3.0 * Dist
2023-05-01Update URL sanitizer to allow more protocols (#38531)Kyle Tsang1-42/+36
Co-authored-by: XhmikosR <[email protected]>
2023-05-01Fix scrollspy and accented anchor links (#38502)Alejandro Mendoza1-2/+2
2023-03-29Tweak and re-organize ESLint config (#38369)XhmikosR20-53/+53
* Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint
2023-03-29Modal: drop loop (#38368)XhmikosR1-3/+3
We only have two elements to iterate over so it doesn't make a lot of sense to use a loop here
2023-03-28event-handler: switch to const (#38362)XhmikosR1-2/+1
2023-03-27Add js-docs shortcode to ensure consistency between doc and js code (#38316)Hannah Issermann1-2/+4
Co-authored-by: XhmikosR <[email protected]>
2023-03-25Fix tooltip body placement with variation placementskyletsang1-1/+1
2023-03-24Release v5.3.0-alpha2 (#38244)XhmikosR1-1/+1
* Bump version to 5.3.0-alpha2 * Dist
2023-03-22Remove version comment from JavaScript src files (#38294)GeoSot26-26/+26
2023-03-14Fix wrong generation of `aria-labelledby` in tab navigation (#38223)Jan Bensch1-1/+1
* fix wrong generation of aria-labelledby in tab navigation * fix wrong test --------- Co-authored-by: Jan Bensch <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2023-02-11Unify `offcanvas` `keydown` event logic with `modal` (#38025)Roni Diwan2-4/+3
2022-12-24Release v5.3.0-alpha1 (#37661)XhmikosR26-29/+29
* Bump version to 5.3.0-alpha1 * Dist * Add docs versions updates * Update note in homepage hero Co-authored-by: Mark Otto <[email protected]>
2022-11-22Merge branch 'main' into prepare-523XhmikosR23-171/+174
2022-11-21Bump version to 5.2.3XhmikosR26-27/+27
2022-11-21fix tooltip/popper disposal inconsistencies (#37235)GeoSot1-16/+8
2022-11-13Use `Object.entries` in more places (#37482)XhmikosR3-9/+6
2022-11-12ESLint: enable prefer-template rule (#37484)XhmikosR1-1/+1
2022-11-12hydrateObj: use default param (#37483)XhmikosR1-2/+2
2022-11-11fix: change `replaceAll` usage introduced in #35566 (#37473)GeoSot1-1/+1
2022-11-07ref: refactor `getSelector` not to be exported (#37438)GeoSot1-32/+27
2022-11-07Properly escape IDs in getSelector() to handle weird IDs (#35565) (#35566)Pierre Souchay2-2/+18
2022-11-06Move `getElementFromSelector` & `getSelectorFromElement` to SelectorEngine ↵GeoSot8-64/+62
(#36027) * Move `getElementFromSelector` & getSelectorFromElement` inside selector-engine.js, in order to use SelectorEngine methods, avoiding raw querySelector usage * add `getMultipleElementsFromSelector` helper Co-authored-by: Julien Déramond <[email protected]>
2022-10-26Use explicit imports in our javascript source files (#36854)GeoSot22-84/+84
2022-10-07Boost `execute` function, being able to handle arguments (#36652)GeoSot4-13/+10
2022-10-06fix tooltip/popper disposal inconsistencies (#37235)GeoSot1-16/+8
2022-10-03Release v5.2.2 (#37236)XhmikosR26-27/+27
* Bump version to v5.2.2 * Dist
2022-10-02Ensure Tab keyboard functionality after #37146 (#37200)GeoSot1-0/+1
* fix: keyboard functionality * test: add tests * Add some focus spies in 2 other unit tests Co-authored-by: Julien Déramond <[email protected]>
2022-10-02Update devDependencies (#37238)XhmikosR1-3/+8
* Update devDependencies * @babel/cli ^7.18.10 → ^7.19.3 * @babel/core ^7.19.1 → ^7.19.3 * @babel/preset-env ^7.19.1 → ^7.19.3 * eslint-plugin-unicorn ^43.0.2 → ^44.0.0 * hugo-bin ^0.92.1 → ^0.92.2 * lockfile-lint ^4.9.3 → ^4.9.5 * postcss ^8.4.16 → ^8.4.17 * stylelint ^14.12.1 → ^14.13.0 * vnu-jar 21.10.12 → 22.9.29 * toast.js: fix new lint errors
2022-09-27Dropdown: fix case with invalid markup (#37190)GeoSot1-2/+9
This fixes a backward incompatible change in v5.2.1 where `.drodown-toggle` isn't present in the markup.
2022-09-22Fix active class toggling of tabs within dropdown (#37151)Carson Sievert1-2/+0
* Close #36947: fix active class toggling tabs within dropdown
2022-09-20Drop tabs auto-focus (#37146)GeoSot1-1/+0
* fix: drop tabs auto-focus
2022-09-15Fix modal event listeners (#37128)Jérémie Broutier1-2/+2
* Fix modal event listeners (#37126) Co-authored-by: GeoSot <[email protected]>
2022-09-14fix: add trick to support tooltip selector usage on dynamic created tooltips ↵GeoSot1-31/+18
that utilize `title` attribute (#36914)
2022-09-07Release v5.2.1 (#37098)XhmikosR26-27/+27
* Bump version to v5.2.1. * Dist
2022-09-07Fix modal event-listeners during dismiss click (#36863)GeoSot1-12/+16
ref: #36855
2022-09-07Fix tooltip manual toggling (#37086)GeoSot1-6/+5
partial regression of SHA: 9b9372e8ddd60413f3d9a582bd5481586d119d8d