btn btn-bcgold
addedform-control me-sm-2
updated toform-control me-sm-2 w-auto
for automatic search bar sizing
- added new secondary color to the theme -
secondary:#6c757d
in _variable.scss
control-label
changed toform-label
in in _additions.scss
lighten()
is no longer in usetint-color()
used instead- new variables added for pagination in _addtions.scss
- added two new color variables
light:#f8f9fa
anddark: #212529
in theme-colors to show pills as well as jumbotron
theme-color()
function has been dropped, new function definedhover-focus
mixin now dropped, new mixin initialized- webpack.config.js →
file-loader
has been deprecated,assest-modules
are recommendedRule.generator.filename
property is used instead to specify the path output and the correct file name.
- Updated Navbar naming conventions, updated
data-toggle
anddata-target
todata-bs-toggle
anddata-bs-target
nav-item
is no longer needed, onlynav-link
is required
- updated
mr-auto
tome-auto
under ul - (breaking)
sr-only
deprecated, updated tovisually hidden
form-inline
tod-flex
mr-2
changed tome-2
- (breaking)
btn-block
dropped, updated tod-block w-100
data-toggle
todata-bs-toggle
thead-dark
updated totable-dark
form-group
updated tomb-3
form-control-file
updated toform-control
control-label
updated toform-label
, as labels now required to have form-labels- In example select >
form-control
updated toform-select
- added
has-validation
tois-valid
andis-invalid
classes - Dropped
input-group-prepend
andinput-group-append
- deleted
input-group-prepend
div, span remains - deleted
input-group-append
div, span remains
- deleted
.form-group
,.form-row
, or.form-inline
dropped,mb-3
used instead.- forms now require
form-label
→ replacedcontrol-label
withform-label
. form-control
changed toform-select
.form-control-file
replaced withform-control
.is-valid
replaced withhas-validation
to keep up with naming conventions.sr-only
changed tovisually-hidden
- updated
data-toggle
todata-bs-toggle
- background color of breadcrumbs have been removed by default in v5
- (breaking) updatated
data-dismiss
todata-bs-dismiss
alert alert-dismissible alert-warning
changed toalert alert-warning alert-dismissible fade show
for correct alignment.- removed
×
use of background image, instead of needing to hardcode×
- (breaking)
close
changed tobtn-close
- (breaking)
badge-pill
changed torounded-pill
- (breaking)
badge badge-*
updated tobadge text-bg-*
badge badge-primary
updated tobadge text-bg-*
- Declarations now moved to the outer div to follow naming conventions
Version 5
<div class="progress mb-2" role="progressbar" aria-label="Default striped example" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar progress-bar-striped" style="width: 10%"></div>
</div>
Version 4
<div class="progress mb-2">
<div class="progress-bar progress-bar-striped" role="progressbar" style="width: 10%" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"></div>
</div>
progress-multiple
updated to follow new conventions- Contextual alternatives →
aria-labels
added / declarations moved to the outer div to follow naming conventions. - width now specified within the div
progress-bar w-25
instead of a specified style tag, height is no longer specified
jumbotron
class has been removed, utility classes used to replicate a jumbotron<div class="bg-light p-5 rounded">
- outer div, now contains py-3 for spacing between jumbotron and list groups.
- added
aria-current="true”
to specify active tags aria-disabled="true”
to specify disabled tags- updated
data-toggle
todata-bs-toggle
on tablist
title
changed todata-bs-title
data-*
is now changed todata-bs-*
- updated
close
tobtn-close
- updates to the way Popover's are initialized.
Version 5
<script>
// enable popovers everywhere
const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]')
const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl))
</script>
Version 4
<script>
// enable popovers everywhere
$(function () {
$('[data-toggle="popover"]').popover()
})
</script>
- Updates to the way Tooltips are Initialized
data-*
has been updated todata-bs-*
<script>
// enable tooltips-bs everywhere
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
</script>