Skip to content

Commit c671301

Browse files
author
a.idzikowski
committed
Release 10.0.1
1 parent a94fe7c commit c671301

File tree

8 files changed

+32
-6
lines changed

8 files changed

+32
-6
lines changed

angular-bootstrap-md-10.0.0.tgz

-1.04 MB
Binary file not shown.

angular-bootstrap-md-10.0.1.tgz

1.04 MB
Binary file not shown.

changelog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
10.0.1
2+
In version 10.0.1 we added some fixes for the existing components, check what changed below:
3+
4+
**Fixes:**
5+
6+
* Badge - resolved problem with input responsible for adding background color,
7+
* File Upload - added UploaderOptions to the exports list,
8+
* Accordion - fixed problem with input label position,
9+
* Range - resolved problem with value updates when using ngModel,
10+
* Timepicker - resolved problems with layout after change in HTML font size.
11+
112
10.0.0
213
In version 10.0.0 we added support for Angular 10. This update introduces breaking changes, check what changed below:
314

package-lock.json

Lines changed: 6 additions & 3 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": "angular-bootstrap-md-lib",
3-
"version": "10.0.0",
3+
"version": "10.0.1",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",

projects/angular-bootstrap-md/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-bootstrap-md",
33
"repository": "https://github.com/mdbootstrap/Angular-Bootstrap-with-Material-Design",
4-
"version": "10.0.0",
4+
"version": "10.0.1",
55
"schematics": "./schematics/collection.json",
66
"ng-update": {
77
"migrations": "./schematics/migration.json"

projects/angular-bootstrap-md/src/lib/changelog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
10.0.1
2+
In version 10.0.1 we added some fixes for the existing components, check what changed below:
3+
4+
**Fixes:**
5+
6+
* Badge - resolved problem with input responsible for adding background color,
7+
* File Upload - added UploaderOptions to the exports list,
8+
* Accordion - fixed problem with input label position,
9+
* Range - resolved problem with value updates when using ngModel,
10+
* Timepicker - resolved problems with layout after change in HTML font size.
11+
112
10.0.0
213
In version 10.0.0 we added support for Angular 10. This update introduces breaking changes, check what changed below:
314

projects/angular-bootstrap-md/src/lib/free/badge/mdb-badge.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
export class MDBBadgeComponent implements OnInit {
2020
@Input() @HostBinding('class.badge-default') default: boolean;
2121
@Input() @HostBinding('class.badge-primary') primary: boolean;
22+
@Input() @HostBinding('class.badge-secondary') secondary: boolean;
2223
@Input() @HostBinding('class.badge-success') success: boolean;
2324
@Input() @HostBinding('class.badge-info') info: boolean;
2425
@Input() @HostBinding('class.badge-warning') warning: boolean;
@@ -38,7 +39,7 @@ export class MDBBadgeComponent implements OnInit {
3839
const customClassArr = this.color.split(' ');
3940

4041
customClassArr.forEach((el: string) => {
41-
this._renderer.addClass(this._el.nativeElement, `badge-${el}`);
42+
this._renderer.addClass(this._el.nativeElement, el);
4243
});
4344
}
4445
}

0 commit comments

Comments
 (0)