2023-08-31 01:55:02 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2024-08-06 22:51:25 +08:00
|
|
|
exports[`RoomHeader dm does not show the face pile for DMs 1`] = `
|
2023-08-31 01:55:02 +08:00
|
|
|
<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
|
2024-07-23 19:46:24 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="dialog"
|
2023-11-29 05:15:21 +08:00
|
|
|
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
|
2024-08-06 22:51:25 +08:00
|
|
|
aria-label="Close lobby"
|
2024-07-12 23:27:51 +08:00
|
|
|
class="_icon-button_bh2qc_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-08-06 22:51:25 +08:00
|
|
|
style="--cpd-icon-button-size: 100%;"
|
2024-01-26 00:53:41 +08:00
|
|
|
>
|
2024-08-06 22:51:25 +08:00
|
|
|
<svg
|
|
|
|
fill="currentColor"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
width="1em"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M6.293 6.293a1 1 0 0 1 1.414 0L12 10.586l4.293-4.293a1 1 0 1 1 1.414 1.414L13.414 12l4.293 4.293a1 1 0 0 1-1.414 1.414L12 13.414l-4.293 4.293a1 1 0 0 1-1.414-1.414L10.586 12 6.293 7.707a1 1 0 0 1 0-1.414Z"
|
|
|
|
/>
|
|
|
|
</svg>
|
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-07-12 23:27:51 +08:00
|
|
|
class="_icon-button_bh2qc_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);"
|
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</div>
|
2023-08-31 01:55:02 +08:00
|
|
|
</button>
|
2024-07-09 19:36:50 +08:00
|
|
|
<button
|
|
|
|
aria-label="Room info"
|
2024-07-12 23:27:51 +08:00
|
|
|
class="_icon-button_bh2qc_17"
|
2024-07-09 19:36:50 +08:00
|
|
|
role="button"
|
|
|
|
style="--cpd-icon-button-size: 32px;"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="_indicator-icon_133tf_26"
|
|
|
|
style="--cpd-icon-button-size: 100%;"
|
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
</button>
|
2023-08-31 01:55:02 +08:00
|
|
|
<button
|
2023-09-12 00:55:32 +08:00
|
|
|
aria-label="Threads"
|
2024-07-12 23:27:51 +08:00
|
|
|
class="_icon-button_bh2qc_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%;"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
`;
|