1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 00:24:03 +02:00
Commit Graph

911 Commits

Author SHA1 Message Date
Mark Otto
97ce2abd4f Fix JS linter errors 2025-05-31 12:29:05 -07:00
Mark Otto
24f2269928 Toggler compontent from upstrea PR 2025-05-30 20:32:57 -07:00
Mark Otto
3f88e39de9 Remove jQuery support in plugins 2025-05-30 20:30:55 -07:00
Julien Déramond
0f19b06745 Update devDependencies (#41450) 2025-05-07 17:24:20 +02:00
Mark Otto
f849680d16 Release v5.3.6 (#41406)
* Update to v5.3.6

* Rebuild

* Rebuild
2025-05-05 12:21:55 -07:00
Mohamad Salman
7bbbc492ef Removed line break between // Private comment and function (#41218) 2025-04-25 10:22:58 -07:00
Mohamad Salman
3bb3c95188 Move _isShown() method to private section (#41220) 2025-04-25 10:21:47 -07:00
Mark Otto
24305e7b18 Attempt to return focus explicitly to dropdown trigger (#41365)
Co-authored-by: Mark Otto <mdo@heypierre.app>
2025-04-21 21:20:09 -07:00
Mohamad Salman
5c5f2913df Add private comment to BaseComponent Class (#41254) 2025-04-21 20:33:04 -07:00
Mark Otto
85f23534bd Bump to v5.3.5 (#41348)
* Bump to v5.3.5

* Undo comment version change

* undo comment

* release again
2025-04-04 11:20:30 -07:00
XhmikosR
51581ed235 Release v5.3.4 (#40656)
* Bump version to v5.3.4

* Dist

* Dist

* dist again

* re-run npm release

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2025-04-03 08:58:10 -07:00
Dmitry
fecd219983 Fix popover remaining open when toggled after being shown (#40803)
Co-authored-by: Dmitry Sergienko <dmitry.sergienko@codefirst.net>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-09-12 09:45:08 +02:00
XhmikosR
6ca9152d04 Update devDependencies and regenerate package-lock.json (#40673)
* @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-29 17:26:02 +03:00
Nathan Sarang-Walters
16d80a4ff7 Fix this reference for JavaScript functions (#38725) 2024-07-19 07:05:21 +02:00
Caleb Albritton
4219af2c0e Fix broken comment link for reflow hack (#39791) 2024-03-18 10:32:49 +02:00
XhmikosR
953b4b6c1b Fix various redirects 2024-03-06 09:52:50 +02:00
Julien Déramond
6e1f75f420 Release v5.3.3 (#39524)
* Release v5.3.3

* Dist

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-02-20 17:14:29 +02:00
GeoSot
6ed1cdd43e Selector Engine: fix multiple IDs (#39201)
* fix: regression of #38989

* Add unit test in selector-engine.spec.js

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-02-18 08:58:07 +02:00
dependabot[bot]
40c6d8a4bc Build(deps-dev): Bump eslint-config-xo from 0.43.1 to 0.44.0 (#39651)
* 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] <support@github.com>

* Update .eslintrc.json

* Update .eslintrc.json

* autofix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-02-06 21:46:52 +02:00
Frans de Jonge
b9f92d70c9 Allow <dl>, <dt> and <dd> in JS sanitizer (#39376)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-11-15 08:38:27 +01:00
Julien Déramond
344e912d04 Release v5.3.2 (#39173)
* Bump version to 5.3.2

* Dist
2023-09-14 17:19:27 +03:00
Louis-Maxime Piton
9900cf33c0 Fix collapse multiple ids target (#38989) 2023-09-13 09:30:32 +02:00
Mustafa Ateş Uzun
1be3057230 Dropdown: reuse variable (#39046)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-08-21 09:06:39 +03:00
XhmikosR
2a1bf52b73 Release v5.3.1 (#38956)
* Bump version to 5.3.1

* Dist
2023-07-26 10:46:38 +03:00
Kyle Tsang
d45cc7ef51 Support Home and End keys in tabs (#38498)
* 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 <redux@splintered.co.uk>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-07-23 22:06:14 +03:00
XhmikosR
60098ac499 Release v5.3.0 (#38657)
* Bump version to 5.3.0

* Dist
2023-05-30 18:15:55 +03:00
Kyle Tsang
d5dee316f7 Update URL sanitizer to allow more protocols (#38531)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-05-01 00:33:09 +03:00
Alejandro Mendoza
a06c2e6b5f Fix scrollspy and accented anchor links (#38502) 2023-05-01 00:31:26 +03:00
XhmikosR
ae43f0c48b Tweak and re-organize ESLint config (#38369)
* 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-29 13:49:30 -04:00
XhmikosR
7a7fc1ad34 Modal: drop loop (#38368)
We only have two elements to iterate over so it doesn't make a lot of sense to use a loop here
2023-03-29 11:00:31 +03:00
XhmikosR
c953096a40 event-handler: switch to const (#38362) 2023-03-28 22:34:06 +03:00
Hannah Issermann
06f7c3b6c7 Add js-docs shortcode to ensure consistency between doc and js code (#38316)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-27 12:10:25 +03:00
kyletsang
d533e6f33d Fix tooltip body placement with variation placements 2023-03-25 12:22:15 -07:00
XhmikosR
c877cefcef Release v5.3.0-alpha2 (#38244)
* Bump version to 5.3.0-alpha2

* Dist
2023-03-24 16:30:16 +02:00
GeoSot
ab049cd4a0 Remove version comment from JavaScript src files (#38294) 2023-03-22 09:12:33 +02:00
Jan Bensch
e00d06e45b Fix wrong generation of aria-labelledby in tab navigation (#38223)
* fix wrong generation of aria-labelledby in tab navigation

* fix wrong test

---------

Co-authored-by: Jan Bensch <github@bensch.dev>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-14 06:50:08 +02:00
Roni Diwan
7432ebc665 Unify offcanvas keydown event logic with modal (#38025) 2023-02-11 09:35:10 +01:00
XhmikosR
cf9454caa0 Release v5.3.0-alpha1 (#37661)
* Bump version to 5.3.0-alpha1

* Dist

* Add docs versions updates

* Update note in homepage hero

Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-12-24 18:37:22 +02:00
XhmikosR
8f6de23682 Merge branch 'main' into prepare-523 2022-11-22 09:51:29 +02:00
XhmikosR
39589472f7 Bump version to 5.2.3 2022-11-21 20:15:33 +02:00
GeoSot
7e3074c165 fix tooltip/popper disposal inconsistencies (#37235) 2022-11-21 20:12:43 +02:00
XhmikosR
2fde88c200 Use Object.entries in more places (#37482) 2022-11-13 09:19:11 +02:00
XhmikosR
5208dd10c4 ESLint: enable prefer-template rule (#37484) 2022-11-12 10:09:36 +02:00
XhmikosR
21e036bf13 hydrateObj: use default param (#37483) 2022-11-12 10:03:16 +02:00
GeoSot
0a484e7586 fix: change replaceAll usage introduced in #35566 (#37473) 2022-11-11 10:40:17 +02:00
GeoSot
fcdfee90b3 ref: refactor getSelector not to be exported (#37438) 2022-11-07 14:55:34 +02:00
Pierre Souchay
ef4e2daa48 Properly escape IDs in getSelector() to handle weird IDs (#35565) (#35566) 2022-11-07 14:43:06 +02:00
GeoSot
e81e7cda90 Move getElementFromSelector & getSelectorFromElement to SelectorEngine (#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 <juderamond@gmail.com>
2022-11-06 20:31:43 +02:00
GeoSot
aa9d32dd15 Use explicit imports in our javascript source files (#36854) 2022-10-26 08:26:51 +03:00
GeoSot
4cb046a6b8 Boost execute function, being able to handle arguments (#36652) 2022-10-07 15:25:00 +03:00