mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-22 15:24:24 +03:00
80c4c3c28c
* Refine styles of menus, toasts, popovers, and modals This is a reintroduction of https://github.com/matrix-org/matrix-react-sdk/pull/12247, with the difference that modal styles have now been refreshed as well. * Restore the fixed heights of some dialogs * Fix formatting and flaky screenshot
141 lines
3.5 KiB
Text
141 lines
3.5 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<ChangelogDialog /> should fetch github proxy url for each repo with old and new version strings 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
data-focus-guard="true"
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
tabindex="0"
|
|
/>
|
|
<div
|
|
aria-describedby="mx_Dialog_content"
|
|
aria-labelledby="mx_BaseDialog_title"
|
|
class="mx_QuestionDialog mx_Dialog_fixedWidth"
|
|
data-focus-lock-disabled="false"
|
|
role="dialog"
|
|
>
|
|
<div
|
|
class="mx_Dialog_header"
|
|
>
|
|
<h1
|
|
class="mx_Heading_h3 mx_Dialog_title"
|
|
id="mx_BaseDialog_title"
|
|
>
|
|
Changelog
|
|
</h1>
|
|
</div>
|
|
<div
|
|
aria-label="Close dialog"
|
|
class="mx_AccessibleButton mx_Dialog_cancelButton"
|
|
role="button"
|
|
tabindex="0"
|
|
/>
|
|
<div
|
|
class="mx_Dialog_content"
|
|
id="mx_Dialog_content"
|
|
>
|
|
<div
|
|
class="mx_ChangelogDialog_content"
|
|
>
|
|
<div>
|
|
<h2
|
|
class="mx_Heading_h4"
|
|
>
|
|
vector-im/element-web
|
|
</h2>
|
|
<ul>
|
|
<li
|
|
class="mx_ChangelogDialog_li"
|
|
>
|
|
<a
|
|
href="https://api.github.com/repos/vector-im/element-web/commit/commit-sha"
|
|
rel="noreferrer noopener"
|
|
target="_blank"
|
|
>
|
|
This is the first commit message
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<h2
|
|
class="mx_Heading_h4"
|
|
>
|
|
matrix-org/matrix-react-sdk
|
|
</h2>
|
|
<ul>
|
|
<li
|
|
class="mx_ChangelogDialog_li"
|
|
>
|
|
<a
|
|
href="https://api.github.com/repos/matrix-org/matrix-react-sdk/commit/commit-sha"
|
|
rel="noreferrer noopener"
|
|
target="_blank"
|
|
>
|
|
This is a commit message
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<h2
|
|
class="mx_Heading_h4"
|
|
>
|
|
matrix-org/matrix-js-sdk
|
|
</h2>
|
|
<ul>
|
|
<li
|
|
class="mx_ChangelogDialog_li"
|
|
>
|
|
<a
|
|
href="https://api.github.com/repos/matrix-org/matrix-js-sdk/commit/commit-sha1"
|
|
rel="noreferrer noopener"
|
|
target="_blank"
|
|
>
|
|
This is a commit message
|
|
</a>
|
|
</li>
|
|
<li
|
|
class="mx_ChangelogDialog_li"
|
|
>
|
|
<a
|
|
href="https://api.github.com/repos/matrix-org/matrix-js-sdk/commit/commit-sha2"
|
|
rel="noreferrer noopener"
|
|
target="_blank"
|
|
>
|
|
This is another commit message
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="mx_Dialog_buttons"
|
|
>
|
|
<span
|
|
class="mx_Dialog_buttons_row"
|
|
>
|
|
<button
|
|
data-testid="dialog-cancel-button"
|
|
type="button"
|
|
>
|
|
Cancel
|
|
</button>
|
|
<button
|
|
class="mx_Dialog_primary"
|
|
data-testid="dialog-primary-button"
|
|
type="button"
|
|
>
|
|
Update
|
|
</button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div
|
|
data-focus-guard="true"
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
tabindex="0"
|
|
/>
|
|
</DocumentFragment>
|
|
`;
|