aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Jansing <[email protected]>2020-12-18 06:39:39 +0100
committerGitHub <[email protected]>2020-12-18 07:39:39 +0200
commitf07106e604c3bb3d7ea80b91f79378b55218d039 (patch)
treec63e7fa61b5c280b171f9ab64aeff8ba9736d802
parentef0bc661cfce6b5709189aa2d3edb85e0b1392e4 (diff)
downloadbootstrap-f07106e604c3bb3d7ea80b91f79378b55218d039.tar.xz
bootstrap-f07106e604c3bb3d7ea80b91f79378b55218d039.zip
Add helpers to utilities bundle (#32324)
Adds currently missing utilities classes which are located in scss/helpers to boostrap-utilities dist files. Co-authored-by: XhmikosR <[email protected]>
-rw-r--r--.bundlewatch.config.json4
-rw-r--r--scss/bootstrap-utilities.scss4
-rw-r--r--site/content/docs/5.0/migration.md3
3 files changed, 7 insertions, 4 deletions
diff --git a/.bundlewatch.config.json b/.bundlewatch.config.json
index 074066390..da47da480 100644
--- a/.bundlewatch.config.json
+++ b/.bundlewatch.config.json
@@ -18,11 +18,11 @@
},
{
"path": "./dist/css/bootstrap-utilities.css",
- "maxSize": "7 kB"
+ "maxSize": "7.5 kB"
},
{
"path": "./dist/css/bootstrap-utilities.min.css",
- "maxSize": "6.25 kB"
+ "maxSize": "6.75 kB"
},
{
"path": "./dist/css/bootstrap.css",
diff --git a/scss/bootstrap-utilities.scss b/scss/bootstrap-utilities.scss
index 8d96cf9d7..265aa890a 100644
--- a/scss/bootstrap-utilities.scss
+++ b/scss/bootstrap-utilities.scss
@@ -6,13 +6,13 @@
*/
// Configuration
-
@import "functions";
@import "variables";
@import "mixins";
@import "utilities";
+// Helpers
+@import "helpers";
// Utilities
-
@import "utilities/api";
diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md
index b2e08c3ab..1a442d516 100644
--- a/site/content/docs/5.0/migration.md
+++ b/site/content/docs/5.0/migration.md
@@ -11,7 +11,10 @@ toc: true
### Sass
+#### Utilities
+
- Extended the `.visually-hidden-focusable` helper to also work on containers, using `:focus-within`.
+- `bootstrap-utilities.css` now also includes our helpers. Helpers don't need to be imported in custom builds anymore.
- Extended form validation states customization capabilities. Added three new optional parameters to the `form-validation-state` mixin: `tooltip-color`, `tooltip-bg-color`, `focus-box-shadow`. These parameters can be set in the `$form-validation-states` map. [See #31757](https://github.com/twbs/bootstrap/pull/31757).
### JavaScript