2023-05-22 07:53:23 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<ThirdPartyMemberInfo /> should render invite 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
2023-11-29 16:25:34 +08:00
|
|
|
class="mx_BaseCard"
|
2023-05-22 07:53:23 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-11-29 16:25:34 +08:00
|
|
|
class="mx_BaseCard_header"
|
2023-05-22 07:53:23 +08:00
|
|
|
>
|
|
|
|
<div
|
2024-10-03 16:59:41 +08:00
|
|
|
class="mx_BaseCard_header_title"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="_typography_yh5dq_162 _font-body-md-medium_yh5dq_69 mx_BaseCard_header_title_heading"
|
|
|
|
role="heading"
|
|
|
|
>
|
|
|
|
Profile
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<button
|
2024-10-16 16:09:41 +08:00
|
|
|
aria-labelledby="floating-ui-1"
|
2024-10-03 16:59:41 +08:00
|
|
|
class="_icon-button_bh2qc_17 _subtle-bg_bh2qc_38"
|
|
|
|
data-testid="base-card-close-button"
|
|
|
|
role="button"
|
|
|
|
style="--cpd-icon-button-size: 28px;"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="_indicator-icon_133tf_26"
|
|
|
|
style="--cpd-icon-button-size: 100%;"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
</button>
|
2023-05-22 07:53:23 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-11-29 16:25:34 +08:00
|
|
|
class="mx_AutoHideScrollbar"
|
|
|
|
tabindex="-1"
|
2023-05-22 07:53:23 +08:00
|
|
|
>
|
2023-11-29 16:25:34 +08:00
|
|
|
<div
|
|
|
|
class="mx_Flex mx_ThirdPartyMemberInfo"
|
|
|
|
style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-4x);"
|
|
|
|
>
|
|
|
|
<section
|
|
|
|
class="mx_Flex"
|
|
|
|
style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x);"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="_typography_yh5dq_162 _font-body-lg-semibold_yh5dq_83"
|
|
|
|
role="heading"
|
|
|
|
>
|
|
|
|
bob@bob.com
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="_typography_yh5dq_162 _font-body-md-regular_yh5dq_59"
|
|
|
|
>
|
|
|
|
Invited by Alice DisplayName
|
|
|
|
</span>
|
|
|
|
</section>
|
|
|
|
</div>
|
2023-05-22 07:53:23 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<ThirdPartyMemberInfo /> should render invite when room in not available 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
2023-11-29 16:25:34 +08:00
|
|
|
class="mx_BaseCard"
|
2023-05-22 07:53:23 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-11-29 16:25:34 +08:00
|
|
|
class="mx_BaseCard_header"
|
2023-05-22 07:53:23 +08:00
|
|
|
>
|
|
|
|
<div
|
2024-10-03 16:59:41 +08:00
|
|
|
class="mx_BaseCard_header_title"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="_typography_yh5dq_162 _font-body-md-medium_yh5dq_69 mx_BaseCard_header_title_heading"
|
|
|
|
role="heading"
|
|
|
|
>
|
|
|
|
Profile
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<button
|
2024-10-16 16:09:41 +08:00
|
|
|
aria-labelledby="floating-ui-6"
|
2024-10-03 16:59:41 +08:00
|
|
|
class="_icon-button_bh2qc_17 _subtle-bg_bh2qc_38"
|
|
|
|
data-testid="base-card-close-button"
|
|
|
|
role="button"
|
|
|
|
style="--cpd-icon-button-size: 28px;"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="_indicator-icon_133tf_26"
|
|
|
|
style="--cpd-icon-button-size: 100%;"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
</button>
|
2023-05-22 07:53:23 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-11-29 16:25:34 +08:00
|
|
|
class="mx_AutoHideScrollbar"
|
|
|
|
tabindex="-1"
|
2023-05-22 07:53:23 +08:00
|
|
|
>
|
2023-11-29 16:25:34 +08:00
|
|
|
<div
|
|
|
|
class="mx_Flex mx_ThirdPartyMemberInfo"
|
|
|
|
style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-4x);"
|
|
|
|
>
|
|
|
|
<section
|
|
|
|
class="mx_Flex"
|
|
|
|
style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x);"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="_typography_yh5dq_162 _font-body-lg-semibold_yh5dq_83"
|
|
|
|
role="heading"
|
|
|
|
>
|
|
|
|
bob@bob.com
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="_typography_yh5dq_162 _font-body-md-regular_yh5dq_59"
|
|
|
|
>
|
|
|
|
Invited by Alice DisplayName
|
|
|
|
</span>
|
|
|
|
</section>
|
|
|
|
</div>
|
2023-05-22 07:53:23 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|