Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxandxss committed Jul 24, 2016
1 parent 547d5f3 commit cb508fe
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 10 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## Version 2.0.0
Not the promised version, but should help with some unwanted bugs.

- `replace: true` has been removed from the directives.
- Preserve `margin-bottom` of each toasts.

**BREAKING CHANGE:**

`replace: true` has been removed. If you use a custom template, you will probably need to do
some CSS changes. On the good part, it should help with some bugs.

## Version 1.7.0

- `toastr` service has an `active()` method to get all the opened toasts.
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-toastr",
"version": "1.7.0",
"version": "2.0.0",
"authors": [
"Jesus Rodriguez <Foxandxss@gmail.com>"
],
Expand Down
8 changes: 5 additions & 3 deletions dist/angular-toastr.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,14 @@ button.toast-close-button {
#toast-container.toast-top-center .toast,
#toast-container.toast-bottom-center .toast {
width: 300px;
margin: auto;
margin-left: auto;
margin-right: auto;
}
#toast-container.toast-top-full-width .toast,
#toast-container.toast-bottom-full-width .toast {
width: 96%;
margin: auto;
margin-left: auto;
margin-right: auto;
}
.toast {
background-color: #030303;
Expand All @@ -148,7 +150,7 @@ button.toast-close-button {
.toast-warning {
background-color: #F89406;
}
.toast-progress {
progress-bar {
position: absolute;
left: 0;
bottom: 0;
Expand Down
1 change: 0 additions & 1 deletion dist/angular-toastr.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@

function progressBar(toastrConfig) {
return {
replace: true,
require: '^toast',
templateUrl: function() {
return toastrConfig.templates.progressbar;
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-toastr.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cb508fe

Please # to comment.