bootstrap 4.1.2 → 4.1.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bootstrap might be problematic. Click here for more details.

Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/assets/javascripts/bootstrap-sprockets.js +5 -5
  4. data/assets/javascripts/bootstrap.js +23 -23
  5. data/assets/javascripts/bootstrap.min.js +2 -2
  6. data/assets/javascripts/bootstrap/alert.js +159 -133
  7. data/assets/javascripts/bootstrap/button.js +149 -124
  8. data/assets/javascripts/bootstrap/carousel.js +463 -407
  9. data/assets/javascripts/bootstrap/collapse.js +338 -282
  10. data/assets/javascripts/bootstrap/dropdown.js +439 -382
  11. data/assets/javascripts/bootstrap/modal.js +502 -446
  12. data/assets/javascripts/bootstrap/popover.js +223 -163
  13. data/assets/javascripts/bootstrap/scrollspy.js +307 -251
  14. data/assets/javascripts/bootstrap/tab.js +217 -191
  15. data/assets/javascripts/bootstrap/tooltip.js +582 -525
  16. data/assets/javascripts/bootstrap/util.js +129 -116
  17. data/assets/stylesheets/_bootstrap-grid.scss +1 -1
  18. data/assets/stylesheets/_bootstrap-reboot.scss +1 -1
  19. data/assets/stylesheets/_bootstrap.scss +1 -1
  20. data/assets/stylesheets/bootstrap/_buttons.scss +0 -1
  21. data/assets/stylesheets/bootstrap/_custom-forms.scss +13 -19
  22. data/assets/stylesheets/bootstrap/_forms.scss +13 -15
  23. data/assets/stylesheets/bootstrap/_input-group.scss +15 -2
  24. data/assets/stylesheets/bootstrap/_modal.scss +18 -6
  25. data/assets/stylesheets/bootstrap/_reboot.scss +4 -2
  26. data/assets/stylesheets/bootstrap/_tables.scss +0 -1
  27. data/assets/stylesheets/bootstrap/_variables.scss +10 -9
  28. data/assets/stylesheets/bootstrap/mixins/_forms.scss +7 -7
  29. data/lib/bootstrap/version.rb +2 -2
  30. metadata +2 -2
@@ -4,9 +4,14 @@
4
4
  // .modal-content - actual modal w/ bg and corners and stuff
5
5
 
6
6
 
7
- // Kill the scroll on the body
8
7
  .modal-open {
8
+ // Kill the scroll on the body
9
9
  overflow: hidden;
10
+
11
+ .modal {
12
+ overflow-x: hidden;
13
+ overflow-y: auto;
14
+ }
10
15
  }
11
16
 
12
17
  // Container that the modal scrolls within
@@ -25,11 +30,6 @@
25
30
  // We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a
26
31
  // gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342
27
32
  // See also https://github.com/twbs/bootstrap/issues/17695
28
-
29
- .modal-open & {
30
- overflow-x: hidden;
31
- overflow-y: auto;
32
- }
33
33
  }
34
34
 
35
35
  // Shell div to position the modal with bottom padding
@@ -54,6 +54,13 @@
54
54
  display: flex;
55
55
  align-items: center;
56
56
  min-height: calc(100% - (#{$modal-dialog-margin} * 2));
57
+
58
+ // Ensure `modal-dialog-centered` extends the full height of the view (IE10/11)
59
+ &::before {
60
+ display: block; // IE10
61
+ height: calc(100vh - (#{$modal-dialog-margin} * 2));
62
+ content: "";
63
+ }
57
64
  }
58
65
 
59
66
  // Actual modal
@@ -153,6 +160,11 @@
153
160
 
154
161
  .modal-dialog-centered {
155
162
  min-height: calc(100% - (#{$modal-dialog-margin-y-sm-up} * 2));
163
+
164
+ &::before {
165
+ height: calc(100vh - (#{$modal-dialog-margin-y-sm-up} * 2));
166
+ }
167
+
156
168
  }
157
169
 
158
170
  .modal-content {
@@ -272,8 +272,10 @@ img {
272
272
  border-style: none; // Remove the border on images inside links in IE 10-.
273
273
  }
274
274
 
275
- svg:not(:root) {
276
- overflow: hidden; // Hide the overflow in IE
275
+ svg {
276
+ // Workaround for the SVG overflow bug in IE10/11 is still required.
277
+ // See https://github.com/twbs/bootstrap/issues/26878
278
+ overflow: hidden;
277
279
  vertical-align: middle;
278
280
  }
279
281
 
@@ -4,7 +4,6 @@
4
4
 
5
5
  .table {
6
6
  width: 100%;
7
- max-width: 100%;
8
7
  margin-bottom: $spacer;
9
8
  background-color: $table-bg; // Reset for nesting within parents with `background-color`.
10
9
 
@@ -248,7 +248,7 @@ $transition-collapse: height .35s ease !default;
248
248
  // Font, line-height, and color for body text, headings, and more.
249
249
 
250
250
  // stylelint-disable value-keyword-case
251
- $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
251
+ $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
252
252
  $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
253
253
  $font-family-base: $font-family-sans-serif !default;
254
254
  // stylelint-enable value-keyword-case
@@ -537,14 +537,15 @@ $custom-range-track-bg: $gray-300 !default;
537
537
  $custom-range-track-border-radius: 1rem !default;
538
538
  $custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
539
539
 
540
- $custom-range-thumb-width: 1rem !default;
541
- $custom-range-thumb-height: $custom-range-thumb-width !default;
542
- $custom-range-thumb-bg: $component-active-bg !default;
543
- $custom-range-thumb-border: 0 !default;
544
- $custom-range-thumb-border-radius: 1rem !default;
545
- $custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
546
- $custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
547
- $custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
540
+ $custom-range-thumb-width: 1rem !default;
541
+ $custom-range-thumb-height: $custom-range-thumb-width !default;
542
+ $custom-range-thumb-bg: $component-active-bg !default;
543
+ $custom-range-thumb-border: 0 !default;
544
+ $custom-range-thumb-border-radius: 1rem !default;
545
+ $custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
546
+ $custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
547
+ $custom-range-thumb-focus-box-shadow-width: $input-btn-focus-width !default; // For focus box shadow issue in IE/Edge
548
+ $custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
548
549
 
549
550
  $custom-file-height: $input-height !default;
550
551
  $custom-file-height-inner: $input-height-inner !default;
@@ -41,13 +41,13 @@
41
41
  z-index: 5;
42
42
  display: none;
43
43
  max-width: 100%; // Contain to parent when possible
44
- padding: .5rem;
44
+ padding: $tooltip-padding-y $tooltip-padding-x;
45
45
  margin-top: .1rem;
46
- font-size: .875rem;
47
- line-height: 1;
48
- color: $white;
49
- background-color: rgba($color, .8);
50
- border-radius: .2rem;
46
+ font-size: $tooltip-font-size;
47
+ line-height: $line-height-base;
48
+ color: color-yiq($color);
49
+ background-color: rgba($color, $tooltip-opacity);
50
+ @include border-radius($tooltip-border-radius);
51
51
  }
52
52
 
53
53
  .form-control,
@@ -129,7 +129,7 @@
129
129
  ~ .custom-file-label {
130
130
  border-color: $color;
131
131
 
132
- &::before { border-color: inherit; }
132
+ &::after { border-color: inherit; }
133
133
  }
134
134
 
135
135
  ~ .#{$state}-feedback,
@@ -1,4 +1,4 @@
1
1
  module Bootstrap
2
- VERSION = '4.1.2'
3
- BOOTSTRAP_SHA = '1f46337a89ed21c94a7c37bc0c0e14a71fef7d97'
2
+ VERSION = '4.1.3'
3
+ BOOTSTRAP_SHA = '3b558734382ce58b51e5fc676453bfd53bba9201'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.2
4
+ version: 4.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twitter, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-23 00:00:00.000000000 Z
11
+ date: 2018-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: popper_js