Releases: sherweb/ngx-materialize
v6.1.3
v6.1.1
v6.0.1
v6.0.0
ngx-materialize v6.0.0
📦 Repository as been renamed from ng2-materialize
to ngx-materialize
🆖 Angular has been updated to 6.0.0
along with RxJs 6.0.0
🚀 Version has been bumped to 6.0.0
to be aligned with Angular
Be sure to follow the README.md for installation if needed.
Breaking changes
Repository renamed
- Need to uninstall
ng2-materialize
and installngx-materialize
MzModal component
onClose
output property has been renamed toclose
open
exposed method has been renamed toopenModal
close
exposed method has been renamed tocloseModal
MzSelect directive
onUpdate
output property has been renamed toupdate
Commits
v1.8.1
v1.8.0
New features and enhancements
- Add chip component (#279) (c7cdb17) @jfcere
- Add feature-discovery component (#301) (dc0a293) @jfcere
- Add pagination component (#220) (1daec4e) @scote
- Add inline input property to MzSelectContainerComponent (#284) (8316482) @jfcere
- Add icons installation instruction (#264) (b0c6715) @jfcere
- Handle options property changes with mz-datepicker (#286) (cd54644) @jfcere
- Transpile to commonjs (#261) (5a5d627) @jfcere
- Update ISSUE_TEMPLATE with StackBlitz link (#258) (6c8f61e) @scote
- Update types/materializecss@0.100.4 (#277) (1868099) @jfcere
Bug fixes
- Fix async optgroup with mz-select (#259) (5b64051) @jfcere
- Fix flat button style and extract h4 from mz-modal-header (#276) (af74f0a) @scote
- Fix non english characters mz tab item (#273) (d6de430) @scote
- Fix demo app flat button and waves effect (#278) (4c3e984) @scote
- Fix mz-collapsible-item *ngFor manipulation (#289) (5f4dc62) @jfcere
- Fix Date/Timepicker validation for ChangeDetectionStrategy.OnPush (#300) (7368eee) @jfcere
- Remove hardcoded hide-on-med-and-down class in mz-navbar-item-container (#282) (5a402f1) @jfcere
- Prevent memory leak with ModalService onClose subscribe (#275) (79e1be7) @scote
- Add InjectionModule to ModalModule (#266) (e5aed1c) @scote
v1.7.2
New features and enhancements
Bug fixes
- Fix scroll to top when navigating in demo-app (#247) 015951b @jfcere
- Add export for MzToastModule (#249) 36899df @Liad91
- Add missing MzMediaModule in MaterializeModule (#250) 8136191 @jfcere
- Fix export of MzTimepickerModule and remove unused imports (#254) ba9efb9 @jfcere
- Fix textarea module name (#253) 1d8b6c0 @scote
v1.7.1
v1.7.0
New features and enhancements
- Update ngx-markdown@1.4.0 (#236) 5e6d50a @jfcere
- Expose missing components and removed unused tsconfig path (#238) 7887729 @jfcere
- Update readme "Why ng2-materialize?" section (#218) b5e2b92 @scote
- Update @types/materialize-css (#233) 2641a70 @jfcere
- Add Sidenav opened state (#227) e14a278 @jfcere
- Remove mz-card-content inside p tag (#232) 364a715 @scote
- Refactor Card to use class property instead of input properties (#224) 10d2d55 @jfcere
- Add missing SideNav options (#221) 4cdb54b @jfcere
- Add module for all components (#237) 32a76c7 @scote
Bug fixes
- Change default container in MzInjectionService for document.body + setRootViewContainer parameter to Element (#242) 9f40996 @jfcere
- Remove show-on-large class handling for collapse-button in Sidenav (#234) 1f135b5 @jfcere
- Fix snippet code in readme animation section (#228) b85bd90 @hiagodotme
- Fix demo-app\yarn.lock after AppVeyor updated Yarn to 1.2.1 (#229) 9564375 @jfcere
Breaking changes
Card component
Properties backgroundClass
and textClass
have been removed on mz-card
component. This is breaking change for those using the grid system (classes such as col s12
) directly on mz-card
as it adds margin and padding to the applied element. Therefore it would now need to be wrapped into a container to apply the grid classes, the same way it should be done with pure Materialize card.
So it will now need to be used like this...
<div class="col s12">
<mz-card class="blue-grey darken-1 white-text">
<mz-card-content>
Great Content Here.
</mz-card-content>
</mz-card>
</div>
Deprecacted
MaterializeModule
You can now import individual component module in your application. Each component module name is specified in demo pages. You can see an example below on how to use component modules:
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
+ import { MzButtonModule, MzInputModule } from 'ng2-materialize';
import { HomeComponent } from './home.component';
@NgModule({
imports: [
CommonModule,
+ MzButtonModule,
+ MzInputModule,
],
declarations: [ HomeComponent ],
})
export class HomeModule { }
You can still import MaterializeModule to make all component availables but it is deprecated and will be removed in a near future.
1.6.0
New components
- DatePicker (#183) (569f985) @jfcere
- TimePicker(#214) (211b6b3) @jfcere
- Tab (#177) (a19029c) @scote
- Switch (#201) (f3b146e) @jfcere
Bug Fixes
- Remove 16px size for MDI icon in demo-app (#210) (25dc793) @scote
- Fix multiple select display value (#213) (dbf9544) @jfcere