Skip to content

Commit

Permalink
Merge pull request #66 from trimble-oss/dev/coliff/release-v206
Browse files Browse the repository at this point in the history
Release v206
  • Loading branch information
coliff authored Oct 8, 2024
2 parents 9af099f + e96080b commit 4d75036
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 25 deletions.
2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-grid.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-grid.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-grid.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-grid.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-reboot.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-reboot.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-reboot.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-reboot.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-utilities.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-utilities.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-utilities.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap-utilities.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap.min.css.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ params:
authors: "Trimble"
disableModusBootstrapCSS: true

current_version: "2.0.5"
current_ruby_version: "2.0.5"
current_version: "2.0.6"
current_ruby_version: "2.0.6"
docs_version: "v2"
rfs_version: "v10.0.0"
github_org: "https://github.com/trimble-oss"
Expand All @@ -118,8 +118,8 @@ params:

cdn:
# See https://www.srihash.org for info on how to generate the hashes
css: "https://cdn.jsdelivr.net/npm/@trimble-oss/[email protected].4/dist/css/modus-bootstrap.min.css"
css_hash: "sha256-DBsCml3ZmgO5u2jtDXhxYXa7cqIl1jlzvC4Jw4wZ3lM="
css: "https://cdn.jsdelivr.net/npm/@trimble-oss/[email protected].5/dist/css/modus-bootstrap.min.css"
css_hash: "sha256-4fb5F6oU9+Kp51+FcAYADjU9zExna/ZI7LGjOQfhutI="
js: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
js_hash: "sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy"
js_bundle: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@trimble-oss/modus-bootstrap",
"description": "Modus Bootstrap 2 based on Bootstrap v5.x",
"version": "2.0.5",
"version": "2.0.6",
"config": {
"version_short": "2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion scss/mixins/_banner.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@mixin bsBanner($file) {
/*!
* Modus Bootstrap #{$file} v2.0.5 (https://modus-bootstrap.trimble.com/)
* Modus Bootstrap #{$file} v2.0.6 (https://modus-bootstrap.trimble.com/)
* Copyright 2024 Trimble Inc.
* Licensed under MIT (https://github.com/trimble-oss/modus-bootstrap/blob/main/LICENSE)
* This a fork of Bootstrap: Initial license below
Expand Down
3 changes: 2 additions & 1 deletion site/content/docs/v2/getting-started/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ toc: true

2. Check your JavaScript/TypeScript files don't use deprecated/renamed classes and update as necessary as the command-line script in the step above is only really for HTML-like templates.

3. Update any of the CSS imports on your project to remove any `@trimbleinc/bootstrap` imports and instead just use a single import which includes light mode, dark mode, modus-layout and everything else you need.:
3. Update any of the CSS imports on your project to remove any `@trimbleinc/modus-bootstrap` imports and instead just use a single import which includes light mode, dark mode, modus-layout and everything else you need.:
```sass
@import '../node_modules/@trimble-oss/modus-bootstrap/dist/css/modus-bootstrap.min.css';`
```

## Post Migration tips

- Modus Bootstrap doesn't include Print styles, though you can use [bootstrap-print-css](https://www.npmjs.com/package/bootstrap-print-css) from npm.
- If you used negative margins/padding classes (e.g, `.mt-n1` or `.pb-n2`) note that these are not included in the CDN version of the Modus Bootstrap CSS so you may want to add those.
- Remember that there is a new XXL breakpoint so be sure to make use of it and optimize layouts[ for screens larger than 1440px](https://modus-bootstrap.trimble.com/docs/v2/layout/breakpoints/).
- There is a [helpful browser extension](https://github.com/julien-deramond/bootstrap-deprecated-classes-extension) which can be used for finding any deprecated classes on your site.

0 comments on commit 4d75036

Please sign in to comment.