mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 21:57:06 +01:00
5d17f86e02
* Updating component-librar import paths * Updating snapshots * Updates to AvatarBase story * Updates to avatar and checkbox * Updating last of the deprecated import paths * Updating component-library snapshots from button-base * Updating snapshots from rest of codebase to do with button-base * Removing unneeded CSS * Updating snapshots
55 lines
2.5 KiB
Plaintext
55 lines
2.5 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`SnapCard should render 1`] = `
|
|
<div>
|
|
<div
|
|
class="mm-box mm-box--padding-4 mm-box--sm:padding-4 mm-box--md:padding-4 mm-box--lg:padding-4 mm-box--display-flex mm-box--flex-direction-column mm-box--background-color-background-default mm-box--rounded-sm mm-box--border-color-border-muted mm-box--border-width-1 box--border-style-solid"
|
|
data-testid="key-management-snap"
|
|
>
|
|
<div
|
|
class="mm-box mm-box--margin-bottom-2 mm-box--display-flex mm-box--justify-content-space-between mm-box--align-items-center"
|
|
>
|
|
<div
|
|
class="mm-box mm-box--margin-right-1 mm-box--padding-2 mm-box--sm:padding-2 mm-box--md:padding-2 mm-box--lg:padding-2 mm-box--display-flex mm-box--justify-content-center mm-box--align-items-center mm-box--border-color-border-muted mm-box--border-width-1 box--border-style-solid"
|
|
style="border-radius: 50%; height: 32px; width: 32px;"
|
|
>
|
|
<div
|
|
class="mm-box snap-detail-icon mm-box--display-flex mm-box--justify-content-center mm-box--align-items-center"
|
|
>
|
|
<p
|
|
class="box mm-text mm-text--body-md box--flex-direction-row box--color-text-default"
|
|
>
|
|
M
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<button
|
|
class="mm-box mm-text mm-button-base mm-button-base--size-md mm-button-secondary mm-text--body-md-medium mm-box--padding-right-4 mm-box--padding-left-4 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-default mm-box--background-color-transparent mm-box--rounded-pill mm-box--border-color-primary-default box--border-style-solid box--border-width-1"
|
|
data-testid="install-snap-button"
|
|
>
|
|
Install
|
|
</button>
|
|
</div>
|
|
<p
|
|
class="box mm-text mm-text--body-sm box--margin-bottom-2 box--flex-direction-row box--color-text-alternative"
|
|
>
|
|
Metamask Simple Keyring
|
|
</p>
|
|
<h3
|
|
class="box mm-text mm-text--heading-md box--margin-bottom-auto box--flex-direction-row box--color-text-default"
|
|
>
|
|
Secure your account with MetaMask Mobile
|
|
</h3>
|
|
<div
|
|
class="mm-box mm-box--display-flex mm-box--justify-content-space-between"
|
|
>
|
|
<span
|
|
class="box mm-icon mm-icon--size-md box--margin-left-auto box--display-inline-block box--flex-direction-row box--color-icon-alternative"
|
|
data-testid="to-snap-detail"
|
|
style="mask-image: url('./images/icons/arrow-2-right.svg');"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|