ngx-toastr

🍞 Angular Toastr

MIT License

Downloads
1.8M
Stars
2.5K
Committers
54

Bot releases are hidden (Show)

ngx-toastr -

Published by scttcper about 7 years ago

Really can't change build settings without breaking everything. Fixed paths in package.json

ngx-toastr -

Published by scttcper about 7 years ago

fix missing css from release

ngx-toastr -

Published by scttcper about 7 years ago

new build process adds an es2015 build like official @angular
enabled typescript's strictNullChecks

ngx-toastr -

Published by scttcper about 7 years ago

closes #158 adds ToastrConfig as an alias of IndividualConfig https://github.com/scttcper/ngx-toastr/commit/5f7e99218e4c4cdc17b013d70c262ee547aaf1fa

ngx-toastr -

Published by scttcper about 7 years ago

Breaking Changes

  • Refactor config to use InjectionToken https://angular.io/api/core/InjectionToken
  • Global and Individual toast configs are now interfaces
  • Minimum Angular version now 4.3.0+
  • Individual toasts now correctly inherit settings set with global settings
  • Refactor toast component constructor, fewer dependencies
  • block multiple forRoot calls
ngx-toastr -

Published by scttcper about 7 years ago

whoops: Individual toasts now correctly inherit settings set with global settings

ngx-toastr -

Published by scttcper about 7 years ago

Breaking Changes

  • Refactor config to use InjectionToken https://angular.io/api/core/InjectionToken
  • Global and Individual toast configs are now interfaces
  • Minimum Angular version now 4.3.0+
  • Individual toasts now correctly inherit settings set with global settings
  • Refactor toast component constructor, fewer dependencies
  • block multiple forRoot calls
ngx-toastr -

Published by scttcper about 7 years ago

Makes toastrService.isDuplicate public along with toastrService.currentlyActive and toastrService.toasts[].
Disables warning for angular 5

ngx-toastr -

Published by scttcper over 7 years ago

#143 html passed to toasts is now sanitized before display. thanks @superMDguy

ngx-toastr -

Published by scttcper over 7 years ago

  • Fix iconClasses override when using forRoot() #131 @yarrgh
ngx-toastr -

Published by scttcper over 7 years ago

remove un-used, transitive NgZone dependency #130 @dherges

ngx-toastr -

Published by scttcper over 7 years ago

Reverted changes for es2015 flat module. Kept UMD sourcemapping Closes #123

ngx-toastr -

Published by scttcper over 7 years ago

Add's toast position center-center 97dd12c5f7edd8b7cf9f0e3756a6b2eb3e2b19ef @wsyt1985

Missed the release notes for 5.1.0:
Builds now include a es2015 build closes #104

ngx-toastr -

Published by scttcper over 7 years ago

fixed newestOnTop config param. Changed the way defaults are set. https://github.com/scttcper/ngx-toastr/commit/66230af46ba645ae42b2c6b6e1e3ad74dec058e8

ngx-toastr -

Published by scttcper over 7 years ago

Fix toast-container overlay UI blocking #108 @tschettler

ngx-toastr -

Published by scttcper over 7 years ago

Silences warning on install with Angular 4+

Internal Changes:
The ActiveToast that is passed back from creating a toast now has a bit more type information.
ToastRef is now used with a rx/subject to close toasts from the service instead of reaching into the toast component directly.

ngx-toastr -

Published by scttcper over 7 years ago

ℹ️ ngx-toastr v4 to v5 breaking changes

  • Supports Angular v4 and drops support for anything lower than 2.4.x. Users of Angular less than v2.4 should stay on ngx-toastr v4.x.x
Required actions for Angular v4:
  • Install animations npm install @angular/animations --save
  • Add and import in root NgModule
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

What happened to 5.0.0?
I'm not sure.

ngx-toastr -

Published by scttcper over 7 years ago

Fixed bugs for component inheritance. If you were extending toast you should update the constructor. The values are now protected instead of private which allows for easier inheritance without Angular AoT. The constructor is only necessary when not using AoT.

constructor(
    protected toastrService: ToastrService,
    public data: ToastData,
    protected toastRef: ToastRef<any>,
    protected appRef: ApplicationRef,
    protected sanitizer: DomSanitizer
  ) {
    super(toastrService, data, toastRef, appRef, sanitizer);
  }
ngx-toastr -

Published by scttcper over 7 years ago

Fixes:

  • shows progress bar again after hover #72
  • tapToDismiss = false should be working now

New:

  • onAction observable passed back from toast creation. This can be used in custom toasts to trigger a selection. This has been added to the pink toast in the demo. #39
ngx-toastr -

Published by scttcper over 7 years ago

fixes #66 and main is now the commonjs bundle