v5.2.2
版本发布时间: 2022-10-03 15:50:53
twbs/bootstrap最新发布版本:v5.3.3(2024-02-20 23:19:46)
Highlights
-
Accordion
- Use Sass variable for the accordion color instead of an invalid CSS variable
-
Buttons
- Undo changes to
.btn:hover
from v5.2.1. We now explicitly target.btn-check
styles instead.
- Undo changes to
-
Dropdowns
- Restore the ability for dropdowns to work without an explicit
data
attribute (will be removed again in v6)
- Restore the ability for dropdowns to work without an explicit
-
Modals
- Improve modal event listeners
- Use
<h1>
for all.modal-title
instances in our docs
-
Tables
- Don't redefine
$border-color
intable-variant()
mixin
- Don't redefine
-
Tabs
- Tabs no longer autofocus and cause pages to jump on
tab.show()
- Fix
.active
class toggling of tabs within dropdowns
- Tabs no longer autofocus and cause pages to jump on
-
Toasts
- Properly set toast
z-index
on.toast-container
as opposed to individual.toast
s that don't receive any other positioning
- Properly set toast
-
Tooltips
- Fix tooltip selectors with
title
attribute on dynamically created elements
- Fix tooltip selectors with
🎨 CSS
- #37118: Set toast z-index variable in the correct spot
- #37165: Explicitly target
.btn-check
and undo:hover
- #37182: Use Sass variable for accordion color
- #37239: Don't redefine
$border-color
intable-variant
mixin
☕️ JavaScript
- #36914: Fix tooltip selector usage
- #37128: Fix modal event listeners
- #37146: Drop tabs auto-focus
- #37151: Fix active class toggling of tabs within dropdown
- #37189: Enrich Tab Test for keyboard handler
- #37190: Dropdown: fix case with invalid markup
- #37200: Ensure Tab keyboard functionality after #37146
📖 Docs
- #36899: Slightly improve image compression
- #37142: Add informative note for Tooltip/Popover selector option
- #37145: Docs: minor fix for Navbar > Offcanvas examples
- #37153: Fix typo in docs - Configure Vite section
- #37199: Replace Webpack and Vite PNGs by SVGs
- #37210: Use
<h1>
for allmodal-title
examples/uses - #37214: Docs: Change
view in GitHub
links insidemain
🌎 Accessibility
- #37200: Ensure Tab keyboard functionality after #37146
- #37210: Use
<h1>
for allmodal-title
examples/uses
🏭 Tests
- #36915: Use ES6 on visual tests
- #37189: Enrich Tab Test for keyboard handler
🧰 Misc
- #35079: Add PR template
- #36421: NuGet: Use license expression
- #37186: Add eslint-plugin-html to lint JS in HTML files
📦 Dependencies
- Updated numerous devDependencies: https://github.com/twbs/bootstrap/pulls?q=is%3Apr+label%3Adependencies+project%3Atwbs%2F10+is%3Aclosed
1、 bootstrap-5.2.2-dist.zip 1.38MB
2、 bootstrap-5.2.2-examples.zip 1.26MB