-
-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(toast): image variant, a11y support, title html, click support
This PR - adds accessibility support using aria labels to toasts just like we did for modals in #2036 - adds a ui image toast variant to show images without any padding - fixes missing html support in titles - fixes wrong placement of vertical actions when the message was too short - supports the onClick handler in any case now even if closeOnClick is set to false - onClick can now also return false to prevent closing the toast - the close icon gets a dedicated event now independent of the onClick event
- Loading branch information
Showing
3 changed files
with
81 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters