Skip to content

Commit f7a2c7f

Browse files
committed
Update to v5.3.6
1 parent 087adf9 commit f7a2c7f

34 files changed

+76
-63
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Please see the appropriate guide for your environment of choice:
2121
Add `bootstrap` to your Gemfile:
2222

2323
```ruby
24-
gem 'bootstrap', '~> 5.3.3'
24+
gem 'bootstrap', '~> 5.3.6'
2525
```
2626

2727
This gem requires a Sass engine, so make sure you have **one** of these gems in your Gemfile:
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
//= require ./bootstrap-global-this-define
2-
//= require ./bootstrap/dom/data
32
//= require ./bootstrap/util/index
43
//= require ./bootstrap/dom/event-handler
4+
//= require ./bootstrap/dom/data
55
//= require ./bootstrap/dom/manipulator
66
//= require ./bootstrap/util/config
77
//= require ./bootstrap/base-component
8-
//= require ./bootstrap/button
9-
//= require ./bootstrap/dom/selector-engine
10-
//= require ./bootstrap/scrollspy
11-
//= require ./bootstrap/util/scrollbar
128
//= require ./bootstrap/util/sanitizer
13-
//= require ./bootstrap/util/swipe
14-
//= require ./bootstrap/carousel
15-
//= require ./bootstrap/collapse
16-
//= require ./bootstrap/util/backdrop
17-
//= require ./bootstrap/util/component-functions
18-
//= require ./bootstrap/util/focustrap
19-
//= require ./bootstrap/modal
20-
//= require ./bootstrap/alert
9+
//= require ./bootstrap/dom/selector-engine
2110
//= require ./bootstrap/util/template-factory
2211
//= require ./bootstrap/tooltip
2312
//= require ./bootstrap/popover
13+
//= require ./bootstrap/button
14+
//= require ./bootstrap/util/component-functions
15+
//= require ./bootstrap/alert
16+
//= require ./bootstrap/util/scrollbar
17+
//= require ./bootstrap/util/backdrop
18+
//= require ./bootstrap/util/focustrap
2419
//= require ./bootstrap/offcanvas
2520
//= require ./bootstrap/toast
26-
//= require ./bootstrap/dropdown
21+
//= require ./bootstrap/modal
2722
//= require ./bootstrap/tab
23+
//= require ./bootstrap/util/swipe
24+
//= require ./bootstrap/carousel
25+
//= require ./bootstrap/scrollspy
26+
//= require ./bootstrap/collapse
27+
//= require ./bootstrap/dropdown
2828
//= require ./bootstrap-global-this-undefine

assets/javascripts/bootstrap.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap v5.3.5 (https://getbootstrap.com/)
2+
* Bootstrap v5.3.6 (https://getbootstrap.com/)
33
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
44
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
55
*/
@@ -666,7 +666,7 @@
666666
* Constants
667667
*/
668668

669-
const VERSION = '5.3.5';
669+
const VERSION = '5.3.6';
670670

671671
/**
672672
* Class definition
@@ -692,6 +692,8 @@
692692
this[propertyName] = null;
693693
}
694694
}
695+
696+
// Private
695697
_queueCallback(callback, element, isAnimated = true) {
696698
executeAfterTransition(callback, element, isAnimated);
697699
}
@@ -1623,11 +1625,11 @@
16231625
this._element.style[dimension] = '';
16241626
this._queueCallback(complete, this._element, true);
16251627
}
1628+
1629+
// Private
16261630
_isShown(element = this._element) {
16271631
return element.classList.contains(CLASS_NAME_SHOW$7);
16281632
}
1629-
1630-
// Private
16311633
_configAfterMerge(config) {
16321634
config.toggle = Boolean(config.toggle); // Coerce string values
16331635
config.parent = getElement(config.parent);
@@ -1870,6 +1872,9 @@
18701872
this._element.setAttribute('aria-expanded', 'false');
18711873
Manipulator.removeDataAttribute(this._menu, 'popper');
18721874
EventHandler.trigger(this._element, EVENT_HIDDEN$5, relatedTarget);
1875+
1876+
// Explicitly return focus to the trigger element
1877+
this._element.focus();
18731878
}
18741879
_getConfig(config) {
18751880
config = super._getConfig(config);
@@ -4391,7 +4396,6 @@
43914396
}
43924397

43934398
// Private
4394-
43954399
_maybeScheduleHide() {
43964400
if (!this._config.autohide) {
43974401
return;

assets/javascripts/bootstrap.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/javascripts/bootstrap/alert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap alert.js v5.3.5 (https://getbootstrap.com/)
2+
* Bootstrap alert.js v5.3.6 (https://getbootstrap.com/)
33
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
44
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
55
*/

assets/javascripts/bootstrap/base-component.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap base-component.js v5.3.5 (https://getbootstrap.com/)
2+
* Bootstrap base-component.js v5.3.6 (https://getbootstrap.com/)
33
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
44
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
55
*/
@@ -21,7 +21,7 @@
2121
* Constants
2222
*/
2323

24-
const VERSION = '5.3.5';
24+
const VERSION = '5.3.6';
2525

2626
/**
2727
* Class definition
@@ -47,6 +47,8 @@
4747
this[propertyName] = null;
4848
}
4949
}
50+
51+
// Private
5052
_queueCallback(callback, element, isAnimated = true) {
5153
index_js.executeAfterTransition(callback, element, isAnimated);
5254
}

assets/javascripts/bootstrap/button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap button.js v5.3.5 (https://getbootstrap.com/)
2+
* Bootstrap button.js v5.3.6 (https://getbootstrap.com/)
33
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
44
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
55
*/

assets/javascripts/bootstrap/carousel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap carousel.js v5.3.5 (https://getbootstrap.com/)
2+
* Bootstrap carousel.js v5.3.6 (https://getbootstrap.com/)
33
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
44
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
55
*/

assets/javascripts/bootstrap/collapse.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap collapse.js v5.3.5 (https://getbootstrap.com/)
2+
* Bootstrap collapse.js v5.3.6 (https://getbootstrap.com/)
33
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
44
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
55
*/
@@ -163,11 +163,11 @@
163163
this._element.style[dimension] = '';
164164
this._queueCallback(complete, this._element, true);
165165
}
166+
167+
// Private
166168
_isShown(element = this._element) {
167169
return element.classList.contains(CLASS_NAME_SHOW);
168170
}
169-
170-
// Private
171171
_configAfterMerge(config) {
172172
config.toggle = Boolean(config.toggle); // Coerce string values
173173
config.parent = index_js.getElement(config.parent);

assets/javascripts/bootstrap/dom/data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap data.js v5.3.5 (https://getbootstrap.com/)
2+
* Bootstrap data.js v5.3.6 (https://getbootstrap.com/)
33
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
44
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
55
*/

0 commit comments

Comments
 (0)