bootstrap-scss 4.5.2 → 4.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -40,8 +40,8 @@
40
40
 
41
41
  Several quick start options are available:
42
42
 
43
- - Install with [npm](https://www.npmjs.com/): `npm install bootstrap-scss@4.5.2`
44
- - Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap-scss@4.5.2`
43
+ - Install with [npm](https://www.npmjs.com/): `npm install bootstrap-scss@4.5.3`
44
+ - Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap-scss@4.5.3`
45
45
 
46
46
  Read the [Getting started page](https://getbootstrap.com/docs/4.5/getting-started/introduction/) for information on the framework contents, templates and examples, and more.
47
47
 
@@ -76,7 +76,7 @@ For simplicity, this project will use the same version numbers as Bootstrap.
76
76
 
77
77
  ## Changelog
78
78
 
79
- https://blog.getbootstrap.com/2020/08/06/bootstrap-4-5-2/
79
+ https://blog.getbootstrap.com/2020/10/13/bootstrap-4-5-3/
80
80
 
81
81
  ## Copyright and license
82
82
 
package/_alert.scss CHANGED
@@ -34,6 +34,7 @@
34
34
  position: absolute;
35
35
  top: 0;
36
36
  right: 0;
37
+ z-index: 2;
37
38
  padding: $alert-padding-y $alert-padding-x;
38
39
  color: inherit;
39
40
  }
package/_card.scss CHANGED
@@ -206,12 +206,12 @@
206
206
 
207
207
  .card-img-top,
208
208
  .card-header {
209
- // stylelint-disable-next-line property-blacklist
209
+ // stylelint-disable-next-line property-disallowed-list
210
210
  border-top-right-radius: 0;
211
211
  }
212
212
  .card-img-bottom,
213
213
  .card-footer {
214
- // stylelint-disable-next-line property-blacklist
214
+ // stylelint-disable-next-line property-disallowed-list
215
215
  border-bottom-right-radius: 0;
216
216
  }
217
217
  }
@@ -221,12 +221,12 @@
221
221
 
222
222
  .card-img-top,
223
223
  .card-header {
224
- // stylelint-disable-next-line property-blacklist
224
+ // stylelint-disable-next-line property-disallowed-list
225
225
  border-top-left-radius: 0;
226
226
  }
227
227
  .card-img-bottom,
228
228
  .card-footer {
229
- // stylelint-disable-next-line property-blacklist
229
+ // stylelint-disable-next-line property-disallowed-list
230
230
  border-bottom-left-radius: 0;
231
231
  }
232
232
  }
@@ -13,6 +13,7 @@
13
13
  display: block;
14
14
  min-height: $font-size-base * $line-height-base;
15
15
  padding-left: $custom-control-gutter + $custom-control-indicator-size;
16
+ color-adjust: exact; // Keep themed appearance for print
16
17
  }
17
18
 
18
19
  .custom-control-inline {
@@ -38,7 +39,7 @@
38
39
  &:focus ~ .custom-control-label::before {
39
40
  // the mixin is not used here to make sure there is feedback
40
41
  @if $enable-shadows {
41
- box-shadow: $input-box-shadow, $input-focus-box-shadow;
42
+ box-shadow: $input-box-shadow, $custom-control-indicator-focus-box-shadow;
42
43
  } @else {
43
44
  box-shadow: $custom-control-indicator-focus-box-shadow;
44
45
  }
@@ -150,7 +151,7 @@
150
151
 
151
152
  .custom-radio {
152
153
  .custom-control-label::before {
153
- // stylelint-disable-next-line property-blacklist
154
+ // stylelint-disable-next-line property-disallowed-list
154
155
  border-radius: $custom-radio-indicator-border-radius;
155
156
  }
156
157
 
@@ -180,7 +181,7 @@
180
181
  left: -($custom-switch-width + $custom-control-gutter);
181
182
  width: $custom-switch-width;
182
183
  pointer-events: all;
183
- // stylelint-disable-next-line property-blacklist
184
+ // stylelint-disable-next-line property-disallowed-list
184
185
  border-radius: $custom-switch-indicator-border-radius;
185
186
  }
186
187
 
@@ -190,7 +191,7 @@
190
191
  width: $custom-switch-indicator-size;
191
192
  height: $custom-switch-indicator-size;
192
193
  background-color: $custom-control-indicator-border-color;
193
- // stylelint-disable-next-line property-blacklist
194
+ // stylelint-disable-next-line property-disallowed-list
194
195
  border-radius: $custom-switch-indicator-border-radius;
195
196
  @include transition(transform .15s ease-in-out, $custom-forms-transition);
196
197
  }
package/_dropdown.scss CHANGED
@@ -22,7 +22,7 @@
22
22
  display: none; // none by default, but block on "open" of the menu
23
23
  float: left;
24
24
  min-width: $dropdown-min-width;
25
- padding: $dropdown-padding-y 0;
25
+ padding: $dropdown-padding-y $dropdown-padding-x;
26
26
  margin: $dropdown-spacer 0 0; // override default ul
27
27
  @include font-size($dropdown-font-size);
28
28
  color: $dropdown-color;
package/_functions.scss CHANGED
@@ -51,6 +51,9 @@
51
51
  }
52
52
 
53
53
  // See https://codepen.io/kevinweber/pen/dXWoRw
54
+ //
55
+ // Requires the use of quotes around data URIs.
56
+
54
57
  @function escape-svg($string) {
55
58
  @if str-index($string, "data:image/svg+xml") {
56
59
  @each $char, $encoded in $escaped-characters {
package/_list-group.scss CHANGED
@@ -111,7 +111,7 @@
111
111
  margin-top: 0;
112
112
  }
113
113
 
114
- & + .list-group-item {
114
+ + .list-group-item {
115
115
  border-top-width: $list-group-border-width;
116
116
  border-left-width: 0;
117
117
 
package/_reboot.scss CHANGED
@@ -278,10 +278,14 @@ caption {
278
278
  caption-side: bottom;
279
279
  }
280
280
 
281
+ // 1. Removes font-weight bold by inheriting
282
+ // 2. Matches default `<td>` alignment by inheriting `text-align`.
283
+ // 3. Fix alignment for Safari
284
+
281
285
  th {
282
- // Matches default `<td>` alignment by inheriting from the `<body>`, or the
283
- // closest parent with a set `text-align`.
284
- text-align: inherit;
286
+ font-weight: $table-th-font-weight; // 1
287
+ text-align: inherit; // 2
288
+ text-align: -webkit-match-parent; // 3
285
289
  }
286
290
 
287
291
 
@@ -299,7 +303,7 @@ label {
299
303
  //
300
304
  // Details at https://github.com/twbs/bootstrap/issues/24093
301
305
  button {
302
- // stylelint-disable-next-line property-blacklist
306
+ // stylelint-disable-next-line property-disallowed-list
303
307
  border-radius: 0;
304
308
  }
305
309
 
package/_spinners.scss CHANGED
@@ -13,7 +13,7 @@
13
13
  vertical-align: text-bottom;
14
14
  border: $spinner-border-width solid currentColor;
15
15
  border-right-color: transparent;
16
- // stylelint-disable-next-line property-blacklist
16
+ // stylelint-disable-next-line property-disallowed-list
17
17
  border-radius: 50%;
18
18
  animation: spinner-border .75s linear infinite;
19
19
  }
@@ -44,7 +44,7 @@
44
44
  height: $spinner-height;
45
45
  vertical-align: text-bottom;
46
46
  background-color: currentColor;
47
- // stylelint-disable-next-line property-blacklist
47
+ // stylelint-disable-next-line property-disallowed-list
48
48
  border-radius: 50%;
49
49
  opacity: 0;
50
50
  animation: spinner-grow .75s linear infinite;
package/_variables.scss CHANGED
@@ -363,6 +363,7 @@ $table-border-color: $border-color !default;
363
363
 
364
364
  $table-head-bg: $gray-200 !default;
365
365
  $table-head-color: $gray-700 !default;
366
+ $table-th-font-weight: null !default;
366
367
 
367
368
  $table-dark-color: $white !default;
368
369
  $table-dark-bg: $gray-800 !default;
@@ -755,6 +756,7 @@ $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
755
756
  // Dropdown menu container and contents.
756
757
 
757
758
  $dropdown-min-width: 10rem !default;
759
+ $dropdown-padding-x: 0 !default;
758
760
  $dropdown-padding-y: .5rem !default;
759
761
  $dropdown-spacer: .125rem !default;
760
762
  $dropdown-font-size: $font-size-base !default;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Grid v4.5.2 (https://getbootstrap.com/)
2
+ * Bootstrap Grid v4.5.3 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2020 The Bootstrap Authors
4
4
  * Copyright 2011-2020 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Reboot v4.5.2 (https://getbootstrap.com/)
2
+ * Bootstrap Reboot v4.5.3 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2020 The Bootstrap Authors
4
4
  * Copyright 2011-2020 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
package/bootstrap.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v4.5.2 (https://getbootstrap.com/)
2
+ * Bootstrap v4.5.3 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2020 The Bootstrap Authors
4
4
  * Copyright 2011-2020 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1,4 +1,4 @@
1
- // stylelint-disable property-blacklist
1
+ // stylelint-disable property-disallowed-list
2
2
  // Single side border-radius
3
3
 
4
4
  // Helper function to replace negative values with 0
package/mixins/_grid.scss CHANGED
@@ -62,7 +62,7 @@
62
62
  // numberof columns. Supports wrapping to new lines, but does not do a Masonry
63
63
  // style grid.
64
64
  @mixin row-cols($count) {
65
- & > * {
65
+ > * {
66
66
  flex: 0 0 100% / $count;
67
67
  max-width: 100% / $count;
68
68
  }
@@ -1,6 +1,6 @@
1
1
  // Only display content to screen readers
2
2
  //
3
- // See: https://a11yproject.com/posts/how-to-hide-content/
3
+ // See: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
4
4
  // See: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
5
5
 
6
6
  @mixin sr-only() {
@@ -1,4 +1,4 @@
1
- // stylelint-disable property-blacklist
1
+ // stylelint-disable property-disallowed-list
2
2
  @mixin transition($transition...) {
3
3
  @if length($transition) == 0 {
4
4
  $transition: $transition-base;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap-scss",
3
- "version": "4.5.2",
3
+ "version": "4.5.3",
4
4
  "description": "Bootstrap's SCSS files (only)",
5
5
  "main": "bootstrap.scss",
6
6
  "repository": {
@@ -1,4 +1,4 @@
1
- // stylelint-disable property-blacklist, declaration-no-important
1
+ // stylelint-disable property-disallowed-list, declaration-no-important
2
2
 
3
3
  //
4
4
  // Border
@@ -63,8 +63,8 @@
63
63
  .text-decoration-none { text-decoration: none !important; }
64
64
 
65
65
  .text-break {
66
- word-break: break-word !important; // IE & < Edge 18
67
- overflow-wrap: break-word !important;
66
+ word-break: break-word !important; // Deprecated, but avoids issues with flex containers
67
+ word-wrap: break-word !important; // Used instead of `overflow-wrap` for IE & Edge Legacy
68
68
  }
69
69
 
70
70
  // Reset