Implement new toast UI (#10467)

* Implement new toast UI

* Use PCSS vars and Caption component

* Add GenericToast-test

* Tweak call toast

* Fix code style
This commit is contained in:
Michael Weimann 2023-04-18 13:38:41 +02:00 committed by GitHub
parent e350b4c2c2
commit 7632f36624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 206 additions and 66 deletions

View file

@ -27,8 +27,8 @@ exports[`UnverifiedSessionToast when rendering the toast should render as expect
<div
class="mx_Toast_description"
>
<div
class="mx_Toast_detail"
<span
class="mx_Caption mx_Toast_detail"
>
<span
data-testid="device-metadata-isVerified"
@ -41,7 +41,7 @@ exports[`UnverifiedSessionToast when rendering the toast should render as expect
>
ABC123
</span>
</div>
</span>
</div>
<div
aria-live="off"