2023-08-31 01:55:02 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`RoomHeader does not show the face pile for DMs 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<header
|
|
|
|
class="mx_Flex mx_RoomHeader light-panel"
|
|
|
|
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x);"
|
|
|
|
>
|
2023-11-29 05:15:21 +08:00
|
|
|
<button
|
|
|
|
aria-label="Room info"
|
|
|
|
class="mx_RoomHeader_infoWrapper"
|
|
|
|
tabindex="0"
|
2023-08-31 01:55:02 +08:00
|
|
|
>
|
2023-11-29 05:15:21 +08:00
|
|
|
<span
|
2024-03-07 22:40:03 +08:00
|
|
|
class="_avatar_mcap2_17 mx_BaseAvatar _avatar-imageless_mcap2_61"
|
2024-02-08 01:26:05 +08:00
|
|
|
data-color="3"
|
2023-11-29 05:15:21 +08:00
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
|
|
|
role="presentation"
|
|
|
|
style="--cpd-avatar-size: 40px;"
|
|
|
|
>
|
|
|
|
!
|
|
|
|
</span>
|
2023-08-31 01:55:02 +08:00
|
|
|
<div
|
2023-11-29 05:15:21 +08:00
|
|
|
class="mx_Box mx_RoomHeader_info mx_Box--flex"
|
|
|
|
style="--mx-box-flex: 1;"
|
2023-08-31 01:55:02 +08:00
|
|
|
>
|
2023-11-29 05:15:21 +08:00
|
|
|
<div
|
|
|
|
aria-level="1"
|
|
|
|
class="_typography_yh5dq_162 _font-body-lg-semibold_yh5dq_83 mx_RoomHeader_heading"
|
|
|
|
dir="auto"
|
|
|
|
role="heading"
|
2023-10-11 22:43:01 +08:00
|
|
|
>
|
2023-11-29 05:15:21 +08:00
|
|
|
<span
|
|
|
|
class="mx_RoomHeader_truncated mx_lineClamp"
|
|
|
|
>
|
|
|
|
!1:example.org
|
|
|
|
</span>
|
|
|
|
</div>
|
2023-08-31 01:55:02 +08:00
|
|
|
</div>
|
2023-11-29 05:15:21 +08:00
|
|
|
</button>
|
2023-12-20 23:32:24 +08:00
|
|
|
<div
|
2023-08-31 01:55:02 +08:00
|
|
|
class="mx_Flex"
|
|
|
|
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x);"
|
|
|
|
>
|
|
|
|
<button
|
2023-12-14 19:10:01 +08:00
|
|
|
aria-disabled="true"
|
2023-09-12 00:55:32 +08:00
|
|
|
aria-label="There's no one here to call"
|
2024-01-26 00:53:41 +08:00
|
|
|
class="_icon-button_16nk7_17"
|
2023-12-14 19:10:01 +08:00
|
|
|
role="button"
|
2023-08-31 01:55:02 +08:00
|
|
|
style="--cpd-icon-button-size: 32px;"
|
2023-12-14 19:10:01 +08:00
|
|
|
tabindex="0"
|
2023-08-31 01:55:02 +08:00
|
|
|
>
|
2024-01-26 00:53:41 +08:00
|
|
|
<div
|
2024-02-02 18:26:06 +08:00
|
|
|
class="_indicator-icon_133tf_26"
|
2024-01-26 00:53:41 +08:00
|
|
|
style="--cpd-icon-button-size: 100%; --cpd-color-icon-tertiary: var(--cpd-color-icon-disabled);"
|
|
|
|
>
|
2024-01-31 23:18:52 +08:00
|
|
|
<div
|
|
|
|
data-state="closed"
|
|
|
|
/>
|
2024-01-26 00:53:41 +08:00
|
|
|
</div>
|
2023-08-31 01:55:02 +08:00
|
|
|
</button>
|
|
|
|
<button
|
2023-12-14 19:10:01 +08:00
|
|
|
aria-disabled="true"
|
2023-09-12 00:55:32 +08:00
|
|
|
aria-label="There's no one here to call"
|
2024-01-26 00:53:41 +08:00
|
|
|
class="_icon-button_16nk7_17"
|
2023-09-04 19:42:27 +08:00
|
|
|
data-state="closed"
|
2023-12-14 19:10:01 +08:00
|
|
|
role="button"
|
2023-08-31 01:55:02 +08:00
|
|
|
style="--cpd-icon-button-size: 32px;"
|
2023-12-14 19:10:01 +08:00
|
|
|
tabindex="0"
|
2023-08-31 01:55:02 +08:00
|
|
|
>
|
2024-01-26 00:53:41 +08:00
|
|
|
<div
|
2024-02-02 18:26:06 +08:00
|
|
|
class="_indicator-icon_133tf_26"
|
2024-01-26 00:53:41 +08:00
|
|
|
style="--cpd-icon-button-size: 100%; --cpd-color-icon-tertiary: var(--cpd-color-icon-disabled);"
|
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</div>
|
2023-08-31 01:55:02 +08:00
|
|
|
</button>
|
|
|
|
<button
|
2023-09-12 00:55:32 +08:00
|
|
|
aria-label="Threads"
|
2024-01-26 00:53:41 +08:00
|
|
|
class="_icon-button_16nk7_17"
|
2023-09-04 19:42:27 +08:00
|
|
|
data-state="closed"
|
2023-12-14 19:10:01 +08:00
|
|
|
role="button"
|
2023-08-31 01:55:02 +08:00
|
|
|
style="--cpd-icon-button-size: 32px;"
|
2023-12-14 19:10:01 +08:00
|
|
|
tabindex="0"
|
2023-08-31 01:55:02 +08:00
|
|
|
>
|
2024-01-26 00:53:41 +08:00
|
|
|
<div
|
2024-02-02 18:26:06 +08:00
|
|
|
class="_indicator-icon_133tf_26"
|
2024-01-26 00:53:41 +08:00
|
|
|
style="--cpd-icon-button-size: 100%;"
|
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</div>
|
2023-08-31 01:55:02 +08:00
|
|
|
</button>
|
2023-12-20 23:32:24 +08:00
|
|
|
</div>
|
2023-08-31 01:55:02 +08:00
|
|
|
</header>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|