0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

2360 Commits

Author SHA1 Message Date
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
4f24144a31
dropdown.spec.js: expect nothing in constructor (#38442) 2023-04-11 18:03:34 +03:00
XhmikosR
ac576614a5
Release v5.3.0-alpha3 (#38357)
* Bump version to 5.3.0-alpha3

* Dist
2023-04-03 10:26:50 +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
XhmikosR
842fd50da8
Remove version from index.{esm,umd}.js too (#38302) 2023-03-22 10:23:24 +02:00
GeoSot
ab049cd4a0
Remove version comment from JavaScript src files (#38294) 2023-03-22 09:12:33 +02:00
Neeraj Kumar Das
6a043d95fa
Remove empty script tag (#38233) 2023-03-14 14:30:36 +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
Julien Déramond
f44feabe16
Tests: remove unnecessary id/aria-labelledby from collapse unit tests (#38089) 2023-02-21 19:33:52 +01:00
Julien Déramond
f5f6c5c4e3
Minor fix to avoid creating void elements in tooltip test file (#38034) 2023-02-11 10:18:39 +01:00
Roni Diwan
7432ebc665
Unify offcanvas keydown event logic with modal (#38025) 2023-02-11 09:35:10 +01:00
Tanguy Krotoff
1369b81492
Fix Android Chrome input date dimensions (#36143)
* 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 <otto@github.com>
2023-01-17 21:09:39 -08:00
Louis-Maxime Piton
9042efd0f8
Deprecate the Sass var and remove any occurence of the .text-muted (#37890) 2023-01-16 15:55:28 -08: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
cb021439c6 Dist 2022-11-21 20:19:01 +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
Patrick H. Lauke
0446e22b5a
Docs: use <button> for dropdown/popover examples, explain preference over <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-12 09:21:33 -08: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
Julien Déramond
137c932e47 Docs: standardize usage of <kbd> 2022-10-12 11:45:46 -07:00
GeoSot
4cb046a6b8
Boost execute function, being able to handle arguments (#36652) 2022-10-07 15:25:00 +03:00
GeoSot
01dc2f5100
fix tooltip/popper disposal inconsistencies (#37235) 2022-10-06 11:31:38 +03:00
Julien Déramond
1b3c38d2cd
Rename some vars in tab unit tests for consistency (#37248) 2022-10-03 17:44:37 +03:00
XhmikosR
961d5ff984
Release v5.2.2 (#37236)
* Bump version to v5.2.2

* Dist
2022-10-03 10:44:02 +03:00
GeoSot
d49d8ce583
Ensure Tab keyboard functionality after #37146 (#37200)
* fix: keyboard functionality

* test: add tests

* Add some focus spies in 2 other unit tests

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2022-10-02 13:05:30 +03:00
Patrick H. Lauke
0a5f6e078c
Use <h1> for all modal-title examples/uses (#37210)
* Use `fs-` font sizing classes where needed
* Also add info callout about heading hierarchy in modals
2022-10-02 13:02:36 +03:00
XhmikosR
812f891bfc
Update devDependencies (#37238)
* 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-10-02 08:24:41 +03:00
Julien Déramond
abb1cf529f
Add eslint-plugin-html to lint JS in HTML files (#37186) 2022-09-27 22:53:59 +03:00
GeoSot
597c402314
Dropdown: fix case with invalid markup (#37190)
This fixes a backward incompatible change in v5.2.1 where `.drodown-toggle` isn't present in the markup.
2022-09-27 10:39:11 +03:00
GeoSot
24f6e2764a
Tests: add testcase to Tabs, keyboard handler (#37189) 2022-09-23 22:18:57 +02:00
Carson Sievert
2b46842af9
Fix active class toggling of tabs within dropdown (#37151)
* Close #36947: fix active class toggling tabs within dropdown
2022-09-22 02:29:58 +03:00
GeoSot
27f20257eb
Use es6 on visual tests (#36915) 2022-09-22 01:48:23 +03:00
GeoSot
1510c25e9b
Drop tabs auto-focus (#37146)
* fix: drop tabs auto-focus
2022-09-20 17:20:47 +03:00
XhmikosR
d0117a17d8
Update devDependencies (#37177) 2022-09-20 08:09:14 +03:00
Jérémie Broutier
6f65df4fae
Fix modal event listeners (#37128)
* Fix modal event listeners (#37126)

Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-09-15 13:30:51 +03:00