aboutsummaryrefslogtreecommitdiff
path: root/js
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-Walters8-12/+101
2024-06-12Floating labels: Fix `max-width` and `background-color` (#39720)Louis-Maxime Piton1-0/+337
* Fix `max-width` * Fix label background color * Add new visual test: floating label * Fix `npm run docs` --------- Co-authored-by: Julien Déramond <[email protected]>
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éramond37-69/+69
* Release v5.3.3 * Dist --------- Co-authored-by: XhmikosR <[email protected]>
2024-02-18Selector Engine: fix multiple IDs (#39201)GeoSot3-2/+43
* 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]12-12/+36
* 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-10-13Tests: update navbar in visual modal test (#39294)Julien Déramond1-15/+19
2023-09-14Release v5.3.2 (#39173)Julien Déramond30-34/+34
* Bump version to 5.3.2 * Dist
2023-09-13Fix collapse multiple ids target (#38989)Louis-Maxime Piton2-2/+14
2023-08-21Dropdown: reuse variable (#39046)Mustafa Ateş Uzun1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2023-07-26Release v5.3.1 (#38956)XhmikosR29-33/+41
* Bump version to 5.3.1 * Dist
2023-07-23Support `Home` and `End` keys in tabs (#38498)Kyle Tsang2-3/+125
* 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-07-05Docs: add missing `aria-disabled='true'` to disabled anchorsJulien Déramond1-2/+2
2023-05-30Release v5.3.0 (#38657)XhmikosR52-83/+99
* Bump version to 5.3.0 * Dist
2023-05-01Update URL sanitizer to allow more protocols (#38531)Kyle Tsang2-52/+104
Co-authored-by: XhmikosR <[email protected]>
2023-05-01Fix scrollspy and accented anchor links (#38502)Alejandro Mendoza3-2/+45
2023-04-11dropdown.spec.js: expect nothing in constructor (#38442)XhmikosR1-0/+1
2023-04-03Release v5.3.0-alpha3 (#38357)XhmikosR47-141/+143
* Bump version to 5.3.0-alpha3 * Dist
2023-03-29Tweak and re-organize ESLint config (#38369)XhmikosR55-215/+152
* 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)XhmikosR53-111/+110
* Bump version to 5.3.0-alpha2 * Dist
2023-03-22Remove version from index.{esm,umd}.js too (#38302)XhmikosR2-2/+2
2023-03-22Remove version comment from JavaScript src files (#38294)GeoSot26-26/+26
2023-03-14Remove empty script tag (#38233)Neeraj Kumar Das1-1/+0
2023-03-14Fix wrong generation of `aria-labelledby` in tab navigation (#38223)Jan Bensch2-2/+2
* 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-21Tests: remove unnecessary `id`/`aria-labelledby` from collapse unit tests ↵Julien Déramond1-15/+15
(#38089)
2023-02-11Minor fix to avoid creating void elements in tooltip test file (#38034)Julien Déramond1-51/+51
2023-02-11Unify `offcanvas` `keydown` event logic with `modal` (#38025)Roni Diwan2-4/+3
2023-01-17Fix Android Chrome input date dimensions (#36143)Tanguy Krotoff1-0/+79
* Bind Hugo to 0.0.0.0, helps debug on mobile when on the same network * Use http-server for visual tests * Add input visual tests * Fix input date dimensions on Android Chrome * Increase bootstrap.css max size * Revert "Bind Hugo to 0.0.0.0" & "Use http-server for visual tests" * Switch to pixels: this is an empirical minimum safe value * Update .bundlewatch.config.json Co-authored-by: Mark Otto <[email protected]>
2023-01-16Deprecate the Sass var and remove any occurence of the `.text-muted` (#37890)Louis-Maxime Piton2-2/+2
2022-12-24Release v5.3.0-alpha1 (#37661)XhmikosR80-1704/+806
* 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-523XhmikosR35-331/+457
2022-11-21DistXhmikosR52-96/+87
2022-11-21Bump version to 5.2.3XhmikosR28-29/+29
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-12Docs: use `<button>` for dropdown/popover examples, explain preference over ↵Patrick H. Lauke1-3/+3
`<a>` for dropdowns, tweak collapse prose (#37432) * Expand dropdown explanation for use of `<a>`, use `<button>`s for modal examples * Remove redundant `role="button"` from collapse test `<button>` elements * Tweak language * Tweak collapse prose
2022-11-12ESLint: enable prefer-template rule (#37484)XhmikosR7-7/+7
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 Souchay4-5/+58
2022-11-06Move `getElementFromSelector` & `getSelectorFromElement` to SelectorEngine ↵GeoSot10-179/+218
(#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)GeoSot25-108/+134