Skip to content

Commit 32001c7

Browse files
author
a.idzikowski
committed
Release 10.1.1
1 parent c671301 commit 32001c7

File tree

9 files changed

+49
-8
lines changed

9 files changed

+49
-8
lines changed

angular-bootstrap-md-10.0.1.tgz

-1.04 MB
Binary file not shown.

angular-bootstrap-md-10.1.1.tgz

1.04 MB
Binary file not shown.

changelog

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
10.1.1
2+
In version 10.1.1 we added some new features and fixes for the existing components, check what changed below:
3+
4+
**Fixes:**
5+
6+
* Input group - resolved problem with z-index of outline input label,
7+
* Accordion/Sidenav - resolved problem with auto expand on route change,
8+
* Textarea - fixed label validation styles in outline version,
9+
10+
**New features:**
11+
12+
* Radio - added new disabled input for mdbRadio directive.
13+
* Calendar plugin - added new startDate input that allow to set default date.
14+
115
10.0.1
216
In version 10.0.1 we added some fixes for the existing components, check what changed below:
317

package-lock.json

Lines changed: 3 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-bootstrap-md-lib",
3-
"version": "10.0.1",
3+
"version": "10.1.1",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",
@@ -32,7 +32,7 @@
3232
"@angular/router": "~10.1.1",
3333
"@fortawesome/fontawesome-free": "^5.6.3",
3434
"@types/chart.js": "^2.7.42",
35-
"angular-bootstrap-md": "file:angular-bootstrap-md-10.0.0.tgz",
35+
"angular-bootstrap-md": "file:angular-bootstrap-md-10.1.1.tgz",
3636
"chart.js": "^2.5.0",
3737
"core-js": "^2.5.4",
3838
"hammerjs": "^2.0.8",

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.1",
4+
"version": "10.1.1",
55
"schematics": "./schematics/collection.json",
66
"ng-update": {
77
"migrations": "./schematics/migration.json"

projects/angular-bootstrap-md/src/lib/assets/scss/core/msc/_forms.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,12 @@ input.counter-success ~ span.text-success {
761761
overflow-y: auto !important;
762762
}
763763

764+
// Fix for outline input label inside option group
765+
// without z-index: 3 it is displayed under the border
766+
.input-group.md-form.md-outline label.active {
767+
z-index: 3;
768+
}
769+
764770
.md-outline input.form-control.validate-success.ng-valid.ng-dirty,
765771
.md-outline input.form-control.validate-success.ng-valid.ng-touched,
766772
.md-outline.form-submitted input.form-control.validate-success.ng-valid {
@@ -797,7 +803,7 @@ input.counter-success ~ span.text-success {
797803

798804
.md-outline .md-textarea.validate-success.ng-valid.ng-dirty,
799805
.md-outline .md-textarea.validate-success.ng-valid.ng-touched + label {
800-
color: inherit !important;
806+
color: $input-success-color !important;
801807
font-weight: normal !important;
802808
}
803809

@@ -811,7 +817,7 @@ input.counter-success ~ span.text-success {
811817
.md-outline .md-textarea.validate-error.ng-invalid.ng-touched + label,
812818
.md-outline .md-textarea.validate-error.ng-invalid.ng-dirty + label,
813819
.md-outline .form-submitted .md-textarea.validate-error.ng-invalid + label {
814-
color: inherit !important;
820+
color: $input-error-color !important;
815821
font-weight: normal !important;
816822
}
817823

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
10.1.1
2+
In version 10.1.1 we added some new features and fixes for the existing components, check what changed below:
3+
4+
**Fixes:**
5+
6+
* Input group - resolved problem with z-index of outline input label,
7+
* Accordion/Sidenav - resolved problem with auto expand on route change,
8+
* Textarea - fixed label validation styles in outline version,
9+
10+
**New features:**
11+
12+
* Radio - added new disabled input for mdbRadio directive.
13+
* Calendar plugin - added new startDate input that allow to set default date.
14+
115
10.0.1
216
In version 10.0.1 we added some fixes for the existing components, check what changed below:
317

projects/angular-bootstrap-md/src/lib/free/buttons/radio.directive.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,20 @@ export class ButtonRadioDirective implements ControlValueAccessor, OnInit {
3434
/** Current value of radio component or group */
3535
@Input() public value: any;
3636

37+
@HostBinding('class.disabled')
38+
@Input()
39+
disabled = false;
40+
3741
@HostBinding('class.active')
3842
public get isActive(): boolean {
3943
return this.mdbRadio === this.value;
4044
}
4145

4246
@HostListener('click', ['$event'])
4347
public onClick(event?: any): void {
48+
if (this.disabled) {
49+
return;
50+
}
4451
try {
4552
this.el.nativeElement.parentElement.childNodes.forEach((element: any) => {
4653
this.radioElementsArray.push(element);

0 commit comments

Comments
 (0)