Skip to content

Commit

Permalink
Update to v5.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Nov 25, 2022
1 parent 0b5b793 commit 092589a
Show file tree
Hide file tree
Showing 34 changed files with 117 additions and 135 deletions.
20 changes: 10 additions & 10 deletions assets/javascripts/bootstrap-sprockets.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
//= require ./bootstrap/base-component
//= require ./bootstrap/util/component-functions
//= require ./bootstrap/alert
//= require ./bootstrap/button
//= require ./bootstrap/dom/selector-engine
//= require ./bootstrap/util/swipe
//= require ./bootstrap/carousel
//= require ./bootstrap/collapse
//= require ./bootstrap/dropdown
//= require ./bootstrap/util/backdrop
//= require ./bootstrap/util/focustrap
//= require ./bootstrap/util/scrollbar
//= require ./bootstrap/modal
//= require ./bootstrap/offcanvas
//= require ./bootstrap/util/sanitizer
//= require ./bootstrap/util/template-factory
//= require ./bootstrap/tooltip
//= require ./bootstrap/popover
//= require ./bootstrap/util/scrollbar
//= require ./bootstrap/util/swipe
//= require ./bootstrap/util/backdrop
//= require ./bootstrap/button
//= require ./bootstrap/modal
//= require ./bootstrap/toast
//= require ./bootstrap/offcanvas
//= require ./bootstrap/collapse
//= require ./bootstrap/scrollspy
//= require ./bootstrap/carousel
//= require ./bootstrap/tab
//= require ./bootstrap/dropdown
//= require ./bootstrap/toast
//= require ./bootstrap-global-this-undefine
83 changes: 37 additions & 46 deletions assets/javascripts/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Bootstrap v5.2.2 (https://getbootstrap.com/)
* Bootstrap v5.2.3 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
Expand Down Expand Up @@ -31,7 +31,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/index.js
* Bootstrap (v5.2.3): util/index.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -346,7 +346,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): dom/event-handler.js
* Bootstrap (v5.2.3): dom/event-handler.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -615,7 +615,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): dom/data.js
* Bootstrap (v5.2.3): dom/data.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -667,7 +667,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): dom/manipulator.js
* Bootstrap (v5.2.3): dom/manipulator.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -737,7 +737,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/config.js
* Bootstrap (v5.2.3): util/config.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -798,15 +798,15 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): base-component.js
* Bootstrap (v5.2.3): base-component.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
/**
* Constants
*/

const VERSION = '5.2.2';
const VERSION = '5.2.3';
/**
* Class definition
*/
Expand Down Expand Up @@ -877,7 +877,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/component-functions.js
* Bootstrap (v5.2.3): util/component-functions.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand All @@ -903,7 +903,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): alert.js
* Bootstrap (v5.2.3): alert.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -983,7 +983,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): button.js
* Bootstrap (v5.2.3): button.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -1045,7 +1045,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): dom/selector-engine.js
* Bootstrap (v5.2.3): dom/selector-engine.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -1116,7 +1116,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/swipe.js
* Bootstrap (v5.2.3): util/swipe.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -1252,7 +1252,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): carousel.js
* Bootstrap (v5.2.3): carousel.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -1700,7 +1700,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): collapse.js
* Bootstrap (v5.2.3): collapse.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -1990,7 +1990,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): dropdown.js
* Bootstrap (v5.2.3): dropdown.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -2422,7 +2422,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/scrollBar.js
* Bootstrap (v5.2.3): util/scrollBar.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -2541,7 +2541,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/backdrop.js
* Bootstrap (v5.2.3): util/backdrop.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -2687,7 +2687,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/focustrap.js
* Bootstrap (v5.2.3): util/focustrap.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -2796,7 +2796,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): modal.js
* Bootstrap (v5.2.3): modal.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -3172,7 +3172,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): offcanvas.js
* Bootstrap (v5.2.3): offcanvas.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -3446,7 +3446,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/sanitizer.js
* Bootstrap (v5.2.3): util/sanitizer.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -3551,7 +3551,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/template-factory.js
* Bootstrap (v5.2.3): util/template-factory.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -3709,7 +3709,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): tooltip.js
* Bootstrap (v5.2.3): tooltip.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -3859,10 +3859,6 @@
clearTimeout(this._timeout);
EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);

if (this.tip) {
this.tip.remove();
}

if (this._element.getAttribute('data-bs-original-title')) {
this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'));
}
Expand Down Expand Up @@ -3891,10 +3887,7 @@
} // todo v6 remove this OR make it optional


if (this.tip) {
this.tip.remove();
this.tip = null;
}
this._disposePopper();

const tip = this._getTipElement();

Expand All @@ -3909,12 +3902,7 @@
EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED));
}

if (this._popper) {
this._popper.update();
} else {
this._popper = this._createPopper(tip);
}

this._popper = this._createPopper(tip);
tip.classList.add(CLASS_NAME_SHOW$2); // If this is a touch-enabled device we add extra
// empty mouseover listeners to the body's immediate children;
// only needed because of broken event delegation on iOS
Expand Down Expand Up @@ -3972,14 +3960,12 @@
}

if (!this._isHovered) {
tip.remove();
this._disposePopper();
}

this._element.removeAttribute('aria-describedby');

EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN$2));

this._disposePopper();
};

this._queueCallback(complete, this.tip, this._isAnimated());
Expand Down Expand Up @@ -4296,6 +4282,11 @@

this._popper = null;
}

if (this.tip) {
this.tip.remove();
this.tip = null;
}
} // Static


Expand Down Expand Up @@ -4325,7 +4316,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): popover.js
* Bootstrap (v5.2.3): popover.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -4408,7 +4399,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): scrollspy.js
* Bootstrap (v5.2.3): scrollspy.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -4699,7 +4690,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): tab.js
* Bootstrap (v5.2.3): tab.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -5012,7 +5003,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): toast.js
* Bootstrap (v5.2.3): toast.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -5233,7 +5224,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): index.umd.js
* Bootstrap (v5.2.3): index.umd.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down
4 changes: 2 additions & 2 deletions assets/javascripts/bootstrap.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/javascripts/bootstrap/alert.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Bootstrap alert.js v5.2.2 (https://getbootstrap.com/)
* Bootstrap alert.js v5.2.3 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
Expand All @@ -16,7 +16,7 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): alert.js
* Bootstrap (v5.2.3): alert.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
Expand Down
6 changes: 3 additions & 3 deletions assets/javascripts/bootstrap/base-component.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Bootstrap base-component.js v5.2.2 (https://getbootstrap.com/)
* Bootstrap base-component.js v5.2.3 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
Expand All @@ -17,15 +17,15 @@

/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): base-component.js
* Bootstrap (v5.2.3): base-component.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
/**
* Constants
*/

const VERSION = '5.2.2';
const VERSION = '5.2.3';
/**
* Class definition
*/
Expand Down
Loading

0 comments on commit 092589a

Please sign in to comment.