From ec1425efb4a01408414b09e6021a147263fae4ac Mon Sep 17 00:00:00 2001 From: k-utsumi Date: Fri, 29 Jan 2021 13:10:39 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Clear=20duplicated=20c?= =?UTF-8?q?lass=20`border-0`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dist/css/bootstrap-utilities.css - [#L200-L202](https://github.com/twbs/bootstrap/blob/main/dist/css/bootstrap-utilities.css#L200-L202) - [#L272-L274](https://github.com/twbs/bootstrap/blob/main/dist/css/bootstrap-utilities.css#L272-L274) --- scss/_variables.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/scss/_variables.scss b/scss/_variables.scss index 3ad989a4196c..820d7c09f075 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -346,7 +346,6 @@ $container-padding-x: $grid-gutter-width / 2 !default; $border-width: 1px !default; $border-widths: ( - 0: 0, 1: 1px, 2: 2px, 3: 3px, From 20746538565991f1faa003aa80448c2ffda4e67e Mon Sep 17 00:00:00 2001 From: k-utsumi Date: Mon, 15 Feb 2021 20:29:40 +0900 Subject: [PATCH 2/3] Update migration.md --- site/content/docs/5.0/migration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index 850e27ab619a..5244ad8f53e4 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -17,6 +17,7 @@ toc: true - 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). +- Dropped the `0` entry in `$border-widths` map to remove duplicated class. ### JavaScript From 7796d0a1afdcbeca47da80d47ab8d15c8647c021 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 15 Feb 2021 16:04:26 -0800 Subject: [PATCH 3/3] Update migration.md --- site/content/docs/5.0/migration.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index 156934822754..94f2214d70b6 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -7,17 +7,20 @@ aliases: "/migration/" toc: true --- -## v5.0.0-beta2 +## v5.0.0-beta3 -### Sass +### Utilities + +- Dropped the `0` entry in `$border-widths` map to remove the duplicated `.border-0` class. -#### Utilities +## v5.0.0-beta2 + +### Utilities - Renamed `--aspect-ratio` to `--bs-aspect-ratio` to be consistent with other custom properties. - 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). -- Dropped the `0` entry in `$border-widths` map to remove duplicated class. ### JavaScript