Skip to content

Commit e54853f

Browse files
author
unknown
committed
1.0.0
1 parent 39765f0 commit e54853f

29 files changed

+587
-14
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
## 1.0.0 (09.08.2021)
2+
3+
In this version we introduced some breaking changes, please check `Breaking changes` section and update your application accordingly.
4+
5+
### Breaking changes:
6+
7+
- Inputs - removed `margin-bottom` styles from inputs with validation classes.
8+
9+
### Fixes and improvements:
10+
11+
- Select - dropdown will be correctly removed on component destroy,
12+
- Select - resolved problem with select-all option state on component initialization,
13+
- Select - resolved problem with selection of options with false values,
14+
- Dropdown - resolved problem with opening component on icon click,
15+
- Toasts/Alerts - resolved problem with z-index,
16+
- Popconfirm - resolved problem with `onClose` and `onConfirm` events,
17+
- Loading management - backdrop will be correctly removed on component destroy when fullscreen option is used,
18+
- Timepicker - resolved problem with setting default value using Angular form controls,
19+
- Datepicker - previous/next button disabled state will be now correctly updated on component initialization,
20+
- Datepicker/Timepicker - click on toggle button will no longer submit form,
21+
- Datepicker/Timepicker - resolved problems with `valueChanges` event and validation status updates,
22+
- Datatables - resolved problem with scroll position when component is rendered inside a tab.
23+
24+
### New components:
25+
26+
- [Accordion](https://mdbootstrap.com/docs/b5/angular/components/accordion/)
27+
- [Charts advanced](https://mdbootstrap.com/docs/b5/angular/data/charts-advanced/)
28+
- [Lightbox](https://mdbootstrap.com/docs/b5/angular/components/lightbox/)
29+
- [Smooth scroll](https://mdbootstrap.com/docs/b5/angular/methods/smooth-scroll/)
30+
31+
---
32+
133
## 1.0.0-beta8 (12.07.2021)
234

335
In this version we introduced some breaking changes, please check `Breaking changes` section and update your application accordingly.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# MDB 5 Angular
44

5-
### Angular 11 & Bootstrap 5 & Material Design 2.0 UI KIT
5+
### Angular 12 & Bootstrap 5 & Material Design 2.0 UI KIT
66

77
**[>> Get Started in 4 steps](https://mdbootstrap.com/docs/b5/angular/getting-started/installation/)**
88

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 1.0.0 Beta 8
3+
Version: FREE 1.0.0
44

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

package-lock.json

Lines changed: 1 addition & 1 deletion
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": "1.0.0-beta8",
3+
"version": "1.0.0",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
## 1.0.0 (09.08.2021)
2+
3+
In this version we introduced some breaking changes, please check `Breaking changes` section and update your application accordingly.
4+
5+
### Breaking changes:
6+
7+
- Inputs - removed `margin-bottom` styles from inputs with validation classes.
8+
9+
### Fixes and improvements:
10+
11+
- Select - dropdown will be correctly removed on component destroy,
12+
- Select - resolved problem with select-all option state on component initialization,
13+
- Select - resolved problem with selection of options with false values,
14+
- Dropdown - resolved problem with opening component on icon click,
15+
- Toasts/Alerts - resolved problem with z-index,
16+
- Popconfirm - resolved problem with `onClose` and `onConfirm` events,
17+
- Loading management - backdrop will be correctly removed on component destroy when fullscreen option is used,
18+
- Timepicker - resolved problem with setting default value using Angular form controls,
19+
- Datepicker - previous/next button disabled state will be now correctly updated on component initialization,
20+
- Datepicker/Timepicker - click on toggle button will no longer submit form,
21+
- Datepicker/Timepicker - resolved problems with `valueChanges` event and validation status updates,
22+
- Datatables - resolved problem with scroll position when component is rendered inside a tab.
23+
24+
### New components:
25+
26+
- [Accordion](https://mdbootstrap.com/docs/b5/angular/components/accordion/)
27+
- [Charts advanced](https://mdbootstrap.com/docs/b5/angular/data/charts-advanced/)
28+
- [Lightbox](https://mdbootstrap.com/docs/b5/angular/components/lightbox/)
29+
- [Smooth scroll](https://mdbootstrap.com/docs/b5/angular/methods/smooth-scroll/)
30+
31+
---
32+
133
## 1.0.0-beta8 (12.07.2021)
234

335
In this version we introduced some breaking changes, please check `Breaking changes` section and update your application accordingly.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# MDB 5 Angular
44

5-
### Angular 11 & Bootstrap 5 & Material Design 2.0 UI KIT
5+
### Angular 12 & Bootstrap 5 & Material Design 2.0 UI KIT
66

77
**[>> Get Started in 4 steps](https://mdbootstrap.com/docs/b5/angular/getting-started/installation/)**
88

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { Directive, InjectionToken, TemplateRef } from '@angular/core';
2+
3+
export const MDB_ACCORDION_ITEM_BODY = new InjectionToken<MdbAccordionItemBodyDirective>(
4+
'MdbAccordionItemBodyDirective'
5+
);
6+
7+
@Directive({
8+
// eslint-disable-next-line @angular-eslint/directive-selector
9+
selector: '[mdbAccordionItemBody]',
10+
providers: [{ provide: MDB_ACCORDION_ITEM_BODY, useExisting: MdbAccordionItemBodyDirective }],
11+
})
12+
export class MdbAccordionItemBodyDirective {
13+
constructor(public template: TemplateRef<any>) {}
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { Directive, InjectionToken, TemplateRef } from '@angular/core';
2+
3+
export const MDB_ACCORDION_ITEM_HEADER = new InjectionToken<MdbAccordionItemHeaderDirective>(
4+
'MdbAccordionItemHeaderDirective'
5+
);
6+
7+
@Directive({
8+
// eslint-disable-next-line @angular-eslint/directive-selector
9+
selector: '[mdbAccordionItemHeader]',
10+
providers: [{ provide: MDB_ACCORDION_ITEM_HEADER, useExisting: MdbAccordionItemHeaderDirective }],
11+
})
12+
export class MdbAccordionItemHeaderDirective {
13+
constructor(public template: TemplateRef<any>) {}
14+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<h2 class="accordion-header" [id]="_headerId">
2+
<button
3+
class="accordion-button"
4+
type="button"
5+
[attr.aria-expanded]="!_collapsed"
6+
[attr.aria-controls]="id"
7+
[class.collapsed]="_addCollapsedClass"
8+
(click)="toggle()"
9+
>
10+
{{ header }}
11+
<ng-template *ngIf="_headerTemplate" [ngTemplateOutlet]="_headerTemplate"></ng-template>
12+
</button>
13+
</h2>
14+
<div
15+
mdbCollapse
16+
(collapseShow)="onShow()"
17+
(collapseHide)="onHide()"
18+
(collapseShow)="onShown()"
19+
(collapseHide)="onHidden()"
20+
[attr.id]="id"
21+
[attr.aria-labelledby]="_headerId"
22+
>
23+
<div class="accordion-body">
24+
<ng-template *ngIf="_bodyTemplate" [ngTemplateOutlet]="_bodyTemplate"></ng-template>
25+
</div>
26+
</div>

0 commit comments

Comments
 (0)