Skip to content

Commit a25147d

Browse files
committed
Release 6.0.0
1 parent a7d3e3d commit a25147d

File tree

20 files changed

+211
-103
lines changed

20 files changed

+211
-103
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
## 6.0.0 (15.01.2024)
2+
3+
This version requires Angular v17. Follow the [Angular Update Guide](https://update.angular.io/?l=3&v=16.0-17.0) to migrate your project to Angular 17.
4+
5+
### Breaking changes:
6+
7+
- Updated Angular to v17, this version is required in MDB Angular v6
8+
- [Calendar](https://mdbootstrap.com/docs/angular/plugins/calendar/) - changed type of `defaultView` input from `string` to `MdbCalendarView`
9+
- [Datepicker](https://mdbootstrap.com/docs/angular/forms/datepicker/) - changed type of `options` input from `any` to `MdbDatepickerOptions`
10+
- [Timepicker](https://mdbootstrap.com/docs/angular/forms/timepicker/)
11+
- Changed type of `options` input from `Options` to `MdbTimepickerOptions` and made all parameters optional
12+
- Changed `SelectedTime` type name to `MdbTimepickerSelectedTime` and added this type to public exports
13+
- [Popover](https://mdbootstrap.com/docs/angular/components/popover/) - removed unused `template` input
14+
- [Sidenav](https://mdbootstrap.com/docs/angular/navigation/sidenav/)
15+
- Changed return type of all events from `MdbSidenavComponent` to `void`
16+
- Removed redundant `li` element from `MdbSidenavItemComponent` template
17+
- [Transfer](https://mdbootstrap.com/docs/angular/plugins/transfer/)
18+
- Changed `onSearchOutput` event name to `searchOutput`
19+
- Changed `selectOutput` event name to `selectOutput`
20+
- Changed `onChange` event name to `listChange`
21+
- Changed `onSearch` event name to `itemSearch`
22+
- Changed `onSelect` event name to `itemSelect`
23+
24+
### Fixes and improvements:
25+
26+
- [Sidenav](https://mdbootstrap.com/docs/angular/navigation/sidenav/) - removed height animation transition
27+
- [Select](https://mdbootstrap.com/docs/angular/forms/select/) - blocked input clearing in disabled component
28+
- [Input fields](https://mdbootstrap.com/docs/angular/forms/input-fields/) - resolved problem with default label position in all inputs with built-in placeholder (like `datetime-local` or `time`)
29+
- [Lightbox](https://mdbootstrap.com/docs/angular/components/lightbox/) - resolved problem with component removal from DOM after using browser's back button
30+
- [Timepicker](https://mdbootstrap.com/docs/angular/forms/timepicker/) - resolved problem with font size in landscape view
31+
32+
### New fetures:
33+
34+
- [Select](https://mdbootstrap.com/docs/angular/forms/select/) - added new `inputId` and `inputFilterId` inputs that allow to declare ids for input elements
35+
36+
---
37+
138
## 5.2.0 (04.12.2023)
239

340
### Fixes and improvements:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Bootstrap 5 & Angular 16 UI KIT - 700+ components, MIT license, simple installation.
1+
Bootstrap 5 & Angular 17 UI KIT - 700+ components, MIT license, simple installation.
22

33
MDB is a collection of free Bootstrap templates, themes, design tools & resources.
44

@@ -17,7 +17,7 @@ One click setup! MDB GO allows you to create a WordPress page with a single clic
1717
Regardless whether you want to create a Travel Blog or an e-commerce shop to sell your product you can easily do that. You can even combine both into single page.
1818

1919

20-
## About Material Design for Bootstrap 5 & Angular 16
20+
## About Material Design for Bootstrap 5 & Angular 17
2121

2222
<p>Created by <a href="https://mdbootstrap.com"><img height="30" src="https://mdbootstrap.com/img/Marketing/general/logo/medium/mdb-angular-r.png"></a>
2323
<a href="https://npmcharts.com/compare/angular-bootstrap-md?minimal=true"> <img src="https://img.shields.io/npm/dm/mdbootstrap.svg?label=NPM%20Downloads" alt="Downloads"></a>

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MDB 5 Angular
22

3-
Version: FREE 5.2.0
3+
Version: FREE 6.0.0
44

55
Documentation:
66
https://mdbootstrap.com/docs/angular/

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mdb-angular-ui-kit-free",
3-
"version": "5.2.0",
3+
"version": "6.0.0",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",

projects/mdb-angular-ui-kit/CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
## 6.0.0 (15.01.2024)
2+
3+
This version requires Angular v17. Follow the [Angular Update Guide](https://update.angular.io/?l=3&v=16.0-17.0) to migrate your project to Angular 17.
4+
5+
### Breaking changes:
6+
7+
- Updated Angular to v17, this version is required in MDB Angular v6
8+
- [Calendar](https://mdbootstrap.com/docs/angular/plugins/calendar/) - changed type of `defaultView` input from `string` to `MdbCalendarView`
9+
- [Datepicker](https://mdbootstrap.com/docs/angular/forms/datepicker/) - changed type of `options` input from `any` to `MdbDatepickerOptions`
10+
- [Timepicker](https://mdbootstrap.com/docs/angular/forms/timepicker/)
11+
- Changed type of `options` input from `Options` to `MdbTimepickerOptions` and made all parameters optional
12+
- Changed `SelectedTime` type name to `MdbTimepickerSelectedTime` and added this type to public exports
13+
- [Popover](https://mdbootstrap.com/docs/angular/components/popover/) - removed unused `template` input
14+
- [Sidenav](https://mdbootstrap.com/docs/angular/navigation/sidenav/)
15+
- Changed return type of all events from `MdbSidenavComponent` to `void`
16+
- Removed redundant `li` element from `MdbSidenavItemComponent` template
17+
- [Transfer](https://mdbootstrap.com/docs/angular/plugins/transfer/)
18+
- Changed `onSearchOutput` event name to `searchOutput`
19+
- Changed `selectOutput` event name to `selectOutput`
20+
- Changed `onChange` event name to `listChange`
21+
- Changed `onSearch` event name to `itemSearch`
22+
- Changed `onSelect` event name to `itemSelect`
23+
24+
### Fixes and improvements:
25+
26+
- [Sidenav](https://mdbootstrap.com/docs/angular/navigation/sidenav/) - removed height animation transition
27+
- [Select](https://mdbootstrap.com/docs/angular/forms/select/) - blocked input clearing in disabled component
28+
- [Input fields](https://mdbootstrap.com/docs/angular/forms/input-fields/) - resolved problem with default label position in all inputs with built-in placeholder (like `datetime-local` or `time`)
29+
- [Lightbox](https://mdbootstrap.com/docs/angular/components/lightbox/) - resolved problem with component removal from DOM after using browser's back button
30+
- [Timepicker](https://mdbootstrap.com/docs/angular/forms/timepicker/) - resolved problem with font size in landscape view
31+
32+
### New fetures:
33+
34+
- [Select](https://mdbootstrap.com/docs/angular/forms/select/) - added new `inputId` and `inputFilterId` inputs that allow to declare ids for input elements
35+
36+
---
37+
138
## 5.2.0 (04.12.2023)
239

340
### Fixes and improvements:

projects/mdb-angular-ui-kit/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Bootstrap 5 & Angular 16 UI KIT - 700+ components, MIT license, simple installation.
1+
Bootstrap 5 & Angular 17 UI KIT - 700+ components, MIT license, simple installation.
22

33
MDB is a collection of free Bootstrap templates, themes, design tools & resources.
44

@@ -17,7 +17,7 @@ One click setup! MDB GO allows you to create a WordPress page with a single clic
1717
Regardless whether you want to create a Travel Blog or an e-commerce shop to sell your product you can easily do that. You can even combine both into single page.
1818

1919

20-
## About Material Design for Bootstrap 5 & Angular 16
20+
## About Material Design for Bootstrap 5 & Angular 17
2121

2222
<p>Created by <a href="https://mdbootstrap.com"><img height="30" src="https://mdbootstrap.com/img/Marketing/general/logo/medium/mdb-angular-r.png"></a>
2323
<a href="https://npmcharts.com/compare/angular-bootstrap-md?minimal=true"> <img src="https://img.shields.io/npm/dm/mdbootstrap.svg?label=NPM%20Downloads" alt="Downloads"></a>

projects/mdb-angular-ui-kit/assets/scss/bootstrap/_alert.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// Base styles
33
//
4-
4+
@use 'sass:math';
55
.alert {
66
// scss-docs-start alert-css-vars
77
--#{$prefix}alert-bg: transparent;
@@ -62,7 +62,7 @@
6262
$alert-color: shift-color($value, $alert-color-scale);
6363

6464
@if (contrast-ratio($alert-background, $alert-color) < $min-contrast-ratio) {
65-
$alert-color: mix($value, color-contrast($alert-background), abs($alert-color-scale));
65+
$alert-color: mix($value, color-contrast($alert-background), math.abs($alert-color-scale));
6666
}
6767
.alert-#{$state} {
6868
@include alert-variant($alert-background, $alert-border, $alert-color);

projects/mdb-angular-ui-kit/assets/scss/bootstrap/_list-group.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Base class
22
//
33
// Easily usable on <ul>, <ol>, or <div>.
4-
4+
@use 'sass:math';
55
.list-group {
66
// scss-docs-start list-group-css-vars
77
--#{$prefix}list-group-color: #{$list-group-color};
@@ -184,7 +184,7 @@
184184
$list-group-variant-bg: shift-color($value, $list-group-item-bg-scale);
185185
$list-group-variant-color: shift-color($value, $list-group-item-color-scale);
186186
@if (contrast-ratio($list-group-variant-bg, $list-group-variant-color) < $min-contrast-ratio) {
187-
$list-group-variant-color: mix($value, color-contrast($list-group-variant-bg), abs($list-group-item-color-scale));
187+
$list-group-variant-color: mix($value, color-contrast($list-group-variant-bg), math.abs($list-group-item-color-scale));
188188
}
189189

190190
@include list-group-item-variant($state, $list-group-variant-bg, $list-group-variant-color);

projects/mdb-angular-ui-kit/assets/scss/bootstrap/mixins/_grid.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
@mixin row-cols($count) {
5757
> * {
5858
flex: 0 0 auto;
59-
width: divide(100%, $count);
59+
width: percentage(divide(1, $count));
6060
}
6161
}
6262

0 commit comments

Comments
 (0)