mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 18:08:14 +08:00
af51897889
* Update dependency @vector-im/compound-web to v3.1.3 * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix TAC width due to compound update (#12326) --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: Florian Duros <florianduros@element.io>
74 lines
1.7 KiB
Plaintext
74 lines
1.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<BeaconViewDialog /> renders a fallback when there are no locations 1`] = `
|
|
<div
|
|
class="mx_MapFallback mx_BeaconViewDialog_map"
|
|
data-testid="beacon-view-dialog-map-fallback"
|
|
>
|
|
<div
|
|
class="mx_MapFallback_bg"
|
|
/>
|
|
<div
|
|
class="mx_MapFallback_icon"
|
|
/>
|
|
<span
|
|
class="mx_BeaconViewDialog_mapFallbackMessage"
|
|
>
|
|
No live locations
|
|
</span>
|
|
<div
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
data-testid="beacon-view-dialog-fallback-close"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Close
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`<BeaconViewDialog /> renders own beacon status when user is live sharing 1`] = `
|
|
<div
|
|
class="mx_DialogOwnBeaconStatus"
|
|
>
|
|
<span
|
|
class="_avatar_mcap2_17 mx_BaseAvatar mx_DialogOwnBeaconStatus_avatar _avatar-imageless_mcap2_61"
|
|
data-color="6"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 32px;"
|
|
title="@alice:server"
|
|
>
|
|
a
|
|
</span>
|
|
<div
|
|
class="mx_BeaconStatus mx_BeaconStatus_Active mx_DialogOwnBeaconStatus_status"
|
|
>
|
|
<div
|
|
class="mx_BeaconStatus_description"
|
|
>
|
|
<span
|
|
class="mx_BeaconStatus_label"
|
|
>
|
|
Live location enabled
|
|
</span>
|
|
<span
|
|
class="mx_LiveTimeRemaining"
|
|
data-testid="room-live-share-expiry"
|
|
>
|
|
1h left
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="mx_AccessibleButton mx_OwnBeaconStatus_button mx_OwnBeaconStatus_destructiveButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link"
|
|
data-testid="beacon-status-stop-beacon"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Stop
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|