Releases: mseemann/angular2-mdl
Releases · mseemann/angular2-mdl
angular 8.0
Version 2.4.3
Bug Fixes
- 216 (AOT fails because of private members)
Version 2.4.2
Version 2.4.0
Features
- 186 (dialog animations (duration and curve) should be configurable)
Version 2.3.0
Version 2.0.0
2016-10-10
Features
- 127 (Autocomplete on inputs)
- 109 (AOT is now supported - e.g. the metadata files are generated)
- 121 (avoid editing the copied scss source from mdl)
- 118 (Add animation to mdl-dialogs)
- 113 (Disabled tabs)
- 112 (ViewEncapsulation.None for all components)
- 111 (forRoot module)
- 131 (Dialog design)
- 139 (change return types from Promise to Observable)
Breaking Changes
- The distribution structure has change:
- The scss folder is now located at scss and no longer in src/scss.
- The package is now distributed as umd bundle and esm. The bundle file is
bundle/angular2-mdl.js. The esm entry point iscomponents/index.js
- The module MdlModule now works as a root module and makes sure that all providers are loaded into the root injector of the app. You can use MdlNonRootModule. But you should be aware that the providers are possibly not singletons. You also can use MdlNonRootModule.forRoot. This is the same as MdlModule.
- MdlDialogService and MdlSnackbarService have changed:
- There is no longer a
setDefaultViewContainerRefmethod. There are two ways to specify aViewContainerRefwhere dynamic Components will be attached:- use
MdlDialogOutletServiceandsetDefaultViewContainerRef - use the
<dialog-outlet></dialog-outlet>component. This component can be anywhere in your html site. The best place is the last child of thebodyelement. (see https://github.com/mseemann/angular2-mdl/wiki/How-to-use-the-MdlDialogService for more information)
- use
- The possibility to set a
ViewContainerReffor each dialog or snackbar has been removed. alertandconfirm,showDialog*return anObservableand no longer aPromise(the enumConfirmResulthas been removed)
- There is no longer a
- This version now supports AOT - but you should be aware that AOT seems not to be ready for production. AOT behaves in many cases different then JIT. (see angular/angular#11606)
- The MdlSnachbarService returns now an Observable and no longer a Promise. Just change from
thentosubscribe.
Version 1.8.1
Features
- #114 (mouseover event on tab (layout))