Skip to content

Releases: scttcper/ngx-toastr

2.0.1

15 Nov 19:37
Compare
Choose a tag to compare

fix another angular 2.2.x bug on removing toastrs
drop some unused code

2.0.0

15 Nov 19:01
Compare
Choose a tag to compare

fixed breaking changes from angular 2.2.x reported in #21

breaking

removes the need pass viewContainerRef to ToastrService. The setup instructions in the readme have been updated.

1.5.6

11 Nov 18:17
Compare
Choose a tag to compare

fixes #20

1.5.5

10 Nov 18:14
Compare
Choose a tag to compare

AOT compilation support. If you are using angular-cli you can now use --aot without errors.

1.4.3

19 Oct 17:58
Compare
Choose a tag to compare

default toast css can now be included via sass import
@import 'node_modules/toastr-ng2/toastr';

1.4.1

18 Oct 16:02
Compare
Choose a tag to compare

Fixed a lodash types issue when deploying to npm.

1.4.0

13 Oct 04:37
Compare
Choose a tag to compare

The default toast component has changed and is now an attribute instead of an element. Classes will be applied to this. Fixes #15

before

<div class="overlay-container">
  <div id="toast-container" class="toast-top-right">
    <toast-component>
      <div class="toast toast-success" style="opacity: 1;">
        <div class="toast-title" aria-label="title">title</div>
        <div class="toast-message" aria-label="Message">
        Message
        </div>
      </div>
    </toast-component>
  </div>
</div>

after

<div class="overlay-container">
  <div id="toast-container" class="toast-top-right">
    <div toast-component class="toast-success toast">
      <div class="toast-title" aria-label="Title">Title</div>
      <div class="toast-message" aria-label="Message">
        Message
      </div>
    </div>
  </div>
</div>

1.3.5

11 Oct 00:12
Compare
Choose a tag to compare

Fix a bug when publishing to npm

1.3.4

07 Oct 17:56
Compare
Choose a tag to compare

Bug fixes.
Repository now uses latest angular-cli and demo is using angular latest.

1.3.2

16 Sep 16:09
Compare
Choose a tag to compare

Fix #13 where the default values would change after hover