Repository navigation
v5.2.0
-
New Bootstrap 4 compatibility SCSS (
lib/bootstrap-5/bs4-compat), for apps moving from4.x: Bootstrap 5
normalized to look like Bootstrap 4.
@import "package:bones_ui_bootstrap/bootstrap-5/bs4-compat/bootstrap";_variables.scss: Bootstrap 4 values for the variables whose defaults changed (border radius, no responsive font
sizes, links without underline,<small>/<code>,<hr>,.badge,.card,.form-control,.table,
.navbar, accordion), all!default._rules.scss: checkboxes and radios without padding, date inputs height, lists indent, inherited
.badge/.cardcolors,.form-controlappearance,.tableborders (keeping.table-borderedand
.table-borderless),.navbar-brand, and the accordion (BSAccordion) with the look of the Bootstrap 4
BSAccordion(.card,.card-header,.btn-linkwith its hover,.card-body)._class-aliases.scss(optional): the Bootstrap 4 class names (float-right,text-left,ml-2,
font-weight-bold,sr-only,badge-pill,badge-primary,no-gutters,form-group,btn-block, ...).
-
Bootstrap:- New
defaultLoadCss: theloadloadCsswhen not passed, including the calls made by this package (e.g.
enableTooltip), so noloadcall, whoever makes it first, loads the bundled CSS. load:loadCssis now nullable (defaults todefaultLoadCss).
- New
-
Tests:
- New
bones_ui_bootstrap_bs4_compat_vm_test.dart: compiles the compatibility SCSS through itspackage:URL:
variables, rules (after the Bootstrap rules they override), app variables override, class aliases. - New
bones_ui_bootstrap_default_no_css_test.dart:Bootstrap.defaultLoadCss = falsewithenableTooltip
making the firstload.
- New