bootstrap 4.6.0 → 4.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/assets/javascripts/bootstrap/alert.js +31 -36
  4. data/assets/javascripts/bootstrap/button.js +31 -36
  5. data/assets/javascripts/bootstrap/carousel.js +86 -96
  6. data/assets/javascripts/bootstrap/collapse.js +68 -74
  7. data/assets/javascripts/bootstrap/dropdown.js +71 -80
  8. data/assets/javascripts/bootstrap/modal.js +119 -125
  9. data/assets/javascripts/bootstrap/popover.js +40 -35
  10. data/assets/javascripts/bootstrap/scrollspy.js +47 -55
  11. data/assets/javascripts/bootstrap/tab.js +54 -53
  12. data/assets/javascripts/bootstrap/toast.js +42 -46
  13. data/assets/javascripts/bootstrap/tooltip.js +111 -114
  14. data/assets/javascripts/bootstrap/util.js +16 -19
  15. data/assets/javascripts/bootstrap-sprockets.js +7 -7
  16. data/assets/javascripts/bootstrap.js +792 -868
  17. data/assets/javascripts/bootstrap.min.js +3 -3
  18. data/assets/stylesheets/_bootstrap-grid.scss +3 -3
  19. data/assets/stylesheets/_bootstrap-reboot.scss +3 -3
  20. data/assets/stylesheets/_bootstrap.scss +3 -3
  21. data/assets/stylesheets/bootstrap/_card.scss +5 -5
  22. data/assets/stylesheets/bootstrap/_carousel.scss +5 -2
  23. data/assets/stylesheets/bootstrap/_custom-forms.scss +8 -8
  24. data/assets/stylesheets/bootstrap/_forms.scss +10 -10
  25. data/assets/stylesheets/bootstrap/_functions.scss +47 -1
  26. data/assets/stylesheets/bootstrap/_images.scss +1 -1
  27. data/assets/stylesheets/bootstrap/_input-group.scss +3 -0
  28. data/assets/stylesheets/bootstrap/_jumbotron.scss +1 -1
  29. data/assets/stylesheets/bootstrap/_modal.scss +2 -2
  30. data/assets/stylesheets/bootstrap/_nav.scss +5 -0
  31. data/assets/stylesheets/bootstrap/_popover.scss +9 -9
  32. data/assets/stylesheets/bootstrap/_print.scss +0 -9
  33. data/assets/stylesheets/bootstrap/_spinners.scss +4 -4
  34. data/assets/stylesheets/bootstrap/_tooltip.scss +4 -4
  35. data/assets/stylesheets/bootstrap/_transitions.scss +6 -0
  36. data/assets/stylesheets/bootstrap/_variables.scss +14 -11
  37. data/assets/stylesheets/bootstrap/mixins/_forms.scss +13 -3
  38. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +2 -2
  39. data/assets/stylesheets/bootstrap/mixins/_grid.scss +11 -11
  40. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +1 -1
  41. data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +1 -1
  42. data/assets/stylesheets/bootstrap/utilities/_embed.scss +1 -1
  43. data/assets/stylesheets/bootstrap/utilities/_spacing.scss +1 -1
  44. data/assets/stylesheets/bootstrap/vendor/_rfs.scss +126 -102
  45. data/bootstrap.gemspec +1 -1
  46. data/lib/bootstrap/version.rb +2 -2
  47. data/tasks/updater/js.rb +18 -6
  48. data/tasks/updater/network.rb +7 -1
  49. metadata +4 -4
@@ -1,13 +1,13 @@
1
1
  /*!
2
- * Bootstrap util.js v4.6.0 (https://getbootstrap.com/)
3
- * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap util.js v4.6.2 (https://getbootstrap.com/)
3
+ * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  (function (global, factory) {
7
7
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) :
8
8
  typeof define === 'function' && define.amd ? define(['jquery'], factory) :
9
9
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Util = factory(global.jQuery));
10
- }(this, (function ($) { 'use strict';
10
+ })(this, (function ($) { 'use strict';
11
11
 
12
12
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
13
 
@@ -15,14 +15,12 @@
15
15
 
16
16
  /**
17
17
  * --------------------------------------------------------------------------
18
- * Bootstrap (v4.6.0): util.js
18
+ * Bootstrap (v4.6.2): util.js
19
19
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
20
20
  * --------------------------------------------------------------------------
21
21
  */
22
22
  /**
23
- * ------------------------------------------------------------------------
24
23
  * Private TransitionEnd Helpers
25
- * ------------------------------------------------------------------------
26
24
  */
27
25
 
28
26
  var TRANSITION_END = 'transitionend';
@@ -42,7 +40,7 @@
42
40
  bindType: TRANSITION_END,
43
41
  delegateType: TRANSITION_END,
44
42
  handle: function handle(event) {
45
- if ($__default['default'](event.target).is(this)) {
43
+ if ($__default["default"](event.target).is(this)) {
46
44
  return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
47
45
  }
48
46
 
@@ -55,7 +53,7 @@
55
53
  var _this = this;
56
54
 
57
55
  var called = false;
58
- $__default['default'](this).one(Util.TRANSITION_END, function () {
56
+ $__default["default"](this).one(Util.TRANSITION_END, function () {
59
57
  called = true;
60
58
  });
61
59
  setTimeout(function () {
@@ -67,13 +65,11 @@
67
65
  }
68
66
 
69
67
  function setTransitionEndSupport() {
70
- $__default['default'].fn.emulateTransitionEnd = transitionEndEmulator;
71
- $__default['default'].event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
68
+ $__default["default"].fn.emulateTransitionEnd = transitionEndEmulator;
69
+ $__default["default"].event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
72
70
  }
73
71
  /**
74
- * --------------------------------------------------------------------------
75
- * Public Util Api
76
- * --------------------------------------------------------------------------
72
+ * Public Util API
77
73
  */
78
74
 
79
75
 
@@ -81,6 +77,7 @@
81
77
  TRANSITION_END: 'bsTransitionEnd',
82
78
  getUID: function getUID(prefix) {
83
79
  do {
80
+ // eslint-disable-next-line no-bitwise
84
81
  prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here
85
82
  } while (document.getElementById(prefix));
86
83
 
@@ -106,8 +103,8 @@
106
103
  } // Get transition-duration of the element
107
104
 
108
105
 
109
- var transitionDuration = $__default['default'](element).css('transition-duration');
110
- var transitionDelay = $__default['default'](element).css('transition-delay');
106
+ var transitionDuration = $__default["default"](element).css('transition-duration');
107
+ var transitionDelay = $__default["default"](element).css('transition-delay');
111
108
  var floatTransitionDuration = parseFloat(transitionDuration);
112
109
  var floatTransitionDelay = parseFloat(transitionDelay); // Return 0 if element or transition duration is not found
113
110
 
@@ -124,7 +121,7 @@
124
121
  return element.offsetHeight;
125
122
  },
126
123
  triggerTransitionEnd: function triggerTransitionEnd(element) {
127
- $__default['default'](element).trigger(TRANSITION_END);
124
+ $__default["default"](element).trigger(TRANSITION_END);
128
125
  },
129
126
  supportsTransitionEnd: function supportsTransitionEnd() {
130
127
  return Boolean(TRANSITION_END);
@@ -168,11 +165,11 @@
168
165
  return Util.findShadowRoot(element.parentNode);
169
166
  },
170
167
  jQueryDetection: function jQueryDetection() {
171
- if (typeof $__default['default'] === 'undefined') {
168
+ if (typeof $__default["default"] === 'undefined') {
172
169
  throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.');
173
170
  }
174
171
 
175
- var version = $__default['default'].fn.jquery.split(' ')[0].split('.');
172
+ var version = $__default["default"].fn.jquery.split(' ')[0].split('.');
176
173
  var minMajor = 1;
177
174
  var ltMajor = 2;
178
175
  var minMinor = 9;
@@ -189,4 +186,4 @@
189
186
 
190
187
  return Util;
191
188
 
192
- })));
189
+ }));
@@ -1,12 +1,12 @@
1
1
  //= require ./bootstrap/util
2
- //= require ./bootstrap/dropdown
3
- //= require ./bootstrap/tab
4
- //= require ./bootstrap/collapse
5
- //= require ./bootstrap/modal
6
2
  //= require ./bootstrap/alert
7
3
  //= require ./bootstrap/button
8
- //= require ./bootstrap/scrollspy
9
- //= require ./bootstrap/toast
10
- //= require ./bootstrap/tooltip
11
4
  //= require ./bootstrap/carousel
5
+ //= require ./bootstrap/collapse
6
+ //= require ./bootstrap/dropdown
7
+ //= require ./bootstrap/modal
8
+ //= require ./bootstrap/tooltip
12
9
  //= require ./bootstrap/popover
10
+ //= require ./bootstrap/scrollspy
11
+ //= require ./bootstrap/tab
12
+ //= require ./bootstrap/toast