mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-28 19:38:48 +08:00
1ffa1c9c18
* fix spacing for scope header * extract scope header into component, apply line clamp * update ThirdPartyMemberInfo styles * pass onClose to ThirdPartyRoomMemberInfo * rethemendex * add View3pidInvite to actions enum, replace uses * extract out action handler * push card instead, test * comment * reinstate data-testid * fix typo in styles
86 lines
2.3 KiB
Plaintext
86 lines
2.3 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<ThirdPartyMemberInfo /> should render invite 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_BaseCard"
|
|
>
|
|
<div
|
|
class="mx_BaseCard_header"
|
|
>
|
|
<div
|
|
class="mx_BaseCard_headerProp"
|
|
/>
|
|
</div>
|
|
<div
|
|
class="mx_AutoHideScrollbar"
|
|
tabindex="-1"
|
|
>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`<ThirdPartyMemberInfo /> should render invite when room in not available 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_BaseCard"
|
|
>
|
|
<div
|
|
class="mx_BaseCard_header"
|
|
>
|
|
<div
|
|
class="mx_BaseCard_headerProp"
|
|
/>
|
|
</div>
|
|
<div
|
|
class="mx_AutoHideScrollbar"
|
|
tabindex="-1"
|
|
>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|