mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-28 19:38:48 +08:00
b0392b8fc3
* Warn users on unsupported browsers before they lack features Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update Learn more link Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update toast styles to match Figma Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove test code Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * update tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
81 lines
1.5 KiB
Plaintext
81 lines
1.5 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`GenericToast should render as expected with detail content 1`] = `
|
|
<DocumentFragment>
|
|
<div>
|
|
<div
|
|
class="mx_Toast_description"
|
|
>
|
|
<div>
|
|
Description
|
|
</div>
|
|
</div>
|
|
<div
|
|
aria-live="off"
|
|
class="mx_Toast_buttons"
|
|
>
|
|
<button
|
|
class="_button_zt6rp_17"
|
|
data-kind="secondary"
|
|
data-size="sm"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Reject
|
|
</button>
|
|
<button
|
|
class="_button_zt6rp_17"
|
|
data-kind="primary"
|
|
data-size="sm"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Accept
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`GenericToast should render as expected without detail content 1`] = `
|
|
<DocumentFragment>
|
|
<div>
|
|
<div
|
|
class="mx_Toast_description"
|
|
>
|
|
<div>
|
|
Description
|
|
</div>
|
|
<div
|
|
class="mx_Toast_detail"
|
|
>
|
|
Detail
|
|
</div>
|
|
</div>
|
|
<div
|
|
aria-live="off"
|
|
class="mx_Toast_buttons"
|
|
>
|
|
<button
|
|
class="_button_zt6rp_17"
|
|
data-kind="secondary"
|
|
data-size="sm"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Reject
|
|
</button>
|
|
<button
|
|
class="_button_zt6rp_17"
|
|
data-kind="primary"
|
|
data-size="sm"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Accept
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|