Skip to content

Commit dae4d5b

Browse files
author
unknown
committed
10.0.1
1 parent 352d9b7 commit dae4d5b

File tree

10 files changed

+58
-14
lines changed

10 files changed

+58
-14
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
}

src/app/app.component.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
<!-- Start your project here-->
2-
<div style="height: 100vh">
3-
<div class="flex-center flex-column">
4-
<h1 class="animated fadeIn mb-4">Material Design for Bootstrap (Angular)</h1>
5-
6-
<h5 class="animated fadeIn mb-3">Thank you for using our product. We're glad you're with us.</h5>
7-
<h6 class="animated fadeIn mb-3">Start browsing <a href="https://mdbootstrap.com/angular">documentation</a>.</h6>
8-
9-
<p class="animated fadeIn text-muted">MDB Team</p>
2+
<div class="container">
3+
<div class="d-flex justify-content-center align-items-center" style="height: 100vh;">
4+
<div class="text-center">
5+
<h1 class="text-white text-poppy-red">BLACK NOVEMBER SURPRISE!</h1>
6+
<i class="fas fa-shopping-basket text-white fa-10x"></i>
7+
<p class="mt-2 text-white">
8+
Check what we have prepared and start using the richest UI Kit today.<br />Hurry up & don't
9+
loose your chance.
10+
</p>
11+
<p>
12+
<a type="button" class="btn btn-danger btn-rounded btn-lg text-white bg-poppy-red" href="https://mdbootstrap.com/sale/" ><i class="fas fa-cart-arrow-down"></i> CLAIM OFFER</a>
13+
</p>
14+
</div>
1015
</div>
1116
</div>
1217
<!-- /Start your project here-->

src/styles.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
11
/* You can add global styles to this file, and also import other style files */
2+
3+
body {
4+
background-color: #2e2e2e;
5+
}
6+
.text-poppy-red {
7+
color: #ef5350 !important;
8+
}
9+
.btn-poppy-red {
10+
background-color: #ef5350 !important;
11+
}
12+
.bg-poppy-red {
13+
background-color: #ef5350 !important;
14+
}

0 commit comments

Comments
 (0)