Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rename default toastClass from .toast to .ngx-toastr #632

Merged
merged 2 commits into from Mar 14, 2019

Conversation

scttcper
Copy link
Owner

@scttcper scttcper commented Mar 13, 2019

BREAKING CHANGE: rename default toastClass from .toast to .ngx-toastr. All styles using .toast will need to be renamed or pass toastClass: 'toast' to ToastrModule.forRoot() for legacy behavior

closes #605
closes #602

BREAKING CHANGE: any styles for .toast will need to be renamed or pass `toastClass: 'toast'` to `ToastrModule.forRoot()`
Copy link
Collaborator

@trevor-hackett trevor-hackett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm OK with the changes. Will maybe want to consider replacing old-toastr.css with the current toastr.css before the class name changes just in case there's need/demand to have the old class names for some reason.

You'll also want to update the README.md to indicate the correct default value of toastClass

@scttcper scttcper merged commit 4019e17 into master Mar 14, 2019
@scttcper scttcper deleted the rename-class branch March 14, 2019 06:13
@scttcper
Copy link
Owner Author

🎉 This PR is included in version 10.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

golovlyev pushed a commit to Micord/ngx-toastr that referenced this pull request Mar 13, 2020
)

* feat: rename default toastClass from .toast to .ngx-toastr

BREAKING CHANGE: any styles for .toast will need to be renamed or pass `toastClass: 'toast'` to `ToastrModule.forRoot()`

* docs: update readme to match new default ngx-toastr

(cherry picked from commit 4019e17)

# Conflicts:
#	src/lib/toastr/toastr-config.ts
golovlyev pushed a commit to golovlyev/ngx-toastr that referenced this pull request Mar 13, 2020
)

* feat: rename default toastClass from .toast to .ngx-toastr

BREAKING CHANGE: any styles for .toast will need to be renamed or pass `toastClass: 'toast'` to `ToastrModule.forRoot()`

* docs: update readme to match new default ngx-toastr

# Conflicts:
#	src/lib/toastr/toastr-config.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not showing unless hovering Not working with Bootstrap 4.2?
2 participants