upd: snapshot

This commit is contained in:
ycjcl868 2019-11-20 18:13:17 +08:00 committed by GitHub Action
parent ec0dba9323
commit b01bed3f6f
2 changed files with 1 additions and 267 deletions

View File

@ -90,188 +90,6 @@ exports[`renders ./components/button/demo/block.md correctly 1`] = `
</div>
`;
exports[`renders ./components/button/demo/button-group.md correctly 1`] = `
<div>
<h4>
Basic
</h4>
<div
class="ant-btn-group"
>
<button
class="ant-btn"
type="button"
>
<span>
Cancel
</span>
</button>
<button
class="ant-btn"
type="button"
>
<span>
OK
</span>
</button>
</div>
<div
class="ant-btn-group"
>
<button
class="ant-btn"
disabled=""
type="button"
>
<span>
L
</span>
</button>
<button
class="ant-btn"
disabled=""
type="button"
>
<span>
M
</span>
</button>
<button
class="ant-btn"
disabled=""
type="button"
>
<span>
R
</span>
</button>
</div>
<div
class="ant-btn-group"
>
<button
class="ant-btn"
type="button"
>
<span>
L
</span>
</button>
<button
class="ant-btn"
type="button"
>
<span>
M
</span>
</button>
<button
class="ant-btn"
type="button"
>
<span>
R
</span>
</button>
</div>
<h4>
With Icon
</h4>
<div
class="ant-btn-group"
>
<button
class="ant-btn ant-btn-primary"
type="button"
>
<span
aria-label="left"
class="anticon anticon-left"
role="img"
>
<svg
aria-hidden="true"
class=""
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"
/>
</svg>
</span>
<span>
Go back
</span>
</button>
<button
class="ant-btn ant-btn-primary"
type="button"
>
<span>
Go forward
</span>
<span
aria-label="right"
class="anticon anticon-right"
role="img"
>
<svg
aria-hidden="true"
class=""
data-icon="right"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"
/>
</svg>
</span>
</button>
</div>
<div
class="ant-btn-group"
>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only"
type="button"
>
cloud
</button>
<button
class="ant-btn ant-btn-primary ant-btn-icon-only"
type="button"
>
cloud-download
</button>
</div>
<div
class="ant-btn-group"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
type="button"
>
cloud
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
type="button"
>
cloud-download
</button>
</div>
</div>
`;
exports[`renders ./components/button/demo/disabled.md correctly 1`] = `
<div>
<button
@ -389,14 +207,6 @@ exports[`renders ./components/button/demo/ghost.md correctly 1`] = `
Default
</span>
</button>
<button
class="ant-btn ant-btn-dashed ant-btn-background-ghost"
type="button"
>
<span>
Dashed
</span>
</button>
<button
class="ant-btn ant-btn-danger ant-btn-background-ghost"
type="button"
@ -718,82 +528,6 @@ exports[`renders ./components/button/demo/loading.md correctly 1`] = `
Click me!
</span>
</button>
<br />
<button
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-loading"
type="button"
>
<span
aria-label="loading"
class="anticon anticon-loading"
role="img"
>
<svg
aria-hidden="true"
class="anticon-spin"
data-icon="loading"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
/>
</svg>
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-circle ant-btn-icon-only ant-btn-loading"
type="button"
>
<span
aria-label="loading"
class="anticon anticon-loading"
role="img"
>
<svg
aria-hidden="true"
class="anticon-spin"
data-icon="loading"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
/>
</svg>
</span>
</button>
<button
class="ant-btn ant-btn-danger ant-btn-round ant-btn-icon-only ant-btn-loading"
type="button"
>
<span
aria-label="loading"
class="anticon anticon-loading"
role="img"
>
<svg
aria-hidden="true"
class="anticon-spin"
data-icon="loading"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
/>
</svg>
</span>
</button>
</div>
`;

View File

@ -248,7 +248,6 @@ exports[`renders ./components/form/demo/advanced-search.md correctly 1`] = `
<a
style="margin-left:8px;font-size:12px"
>
Collapse
<span
aria-label="down"
class="anticon anticon-down"
@ -269,6 +268,7 @@ exports[`renders ./components/form/demo/advanced-search.md correctly 1`] = `
/>
</svg>
</span>
Collapse
</a>
</div>
</div>