Repository navigation
v5.1.0
-
Bundled the Bootstrap 5.3.7 SCSS sources (
lib/bootstrap-5/scss, unmodified from the officialbootstrap
5.3.7 npm package), for apps that compile their own Bootstrap theme:
@import "package:bones_ui_bootstrap/bootstrap-5/scss/bootstrap";- Only the major version in the path: Bootstrap 5.x updates don't change the import.
(The CSS and JS stay inlib/bootstrap-<version>, which busts the browser cache on updates.)
- Only the major version in the path: Bootstrap 5.x updates don't change the import.
-
Bootstrap:load: new parameterloadCss(defaulttrue). Withfalseonly the Bootstrap JS is loaded, for apps that
compile their own Bootstrap CSS.- New
PATH_SCSSandisCssLoaded.
-
pubspec.yaml:- New dev_dependencies:
sass: ^1.105.1package_config: ^3.0.0
- New dev_dependencies:
-
Tests:
- New
bones_ui_bootstrap_scss_vm_test.dart: compiles the bundled SCSS through itspackage:URL, with the
default variables and with a custom theme; the variables/mixins imports don't output CSS. - New
bones_ui_bootstrap_no_css_test.dart:Bootstrap.load(loadCss: false)loads only the JS, no Bootstrap
CSS applied, later calls keep the first options. Bootstrap.isCssLoadedafter the defaultload.
- New