2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/progress/demo/circle.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:120px;height:120px;font-size:24px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2017-09-20 16:26:18 +08:00
|
|
|
viewBox="0 0 100 100"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
2017-03-17 23:57:34 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-path"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2016-11-22 14:28:05 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:221.48228207808043px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</svg>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-progress-text"
|
2018-10-12 19:18:09 +08:00
|
|
|
title="75%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
75%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-exception ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:120px;height:120px;font-size:24px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2017-09-20 16:26:18 +08:00
|
|
|
viewBox="0 0 100 100"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
2017-03-17 23:57:34 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-path"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2016-11-22 14:28:05 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:206.7167966062084px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</svg>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-progress-text"
|
2018-07-19 20:37:47 +08:00
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="close"
|
2018-08-30 22:59:43 +08:00
|
|
|
class="anticon anticon-close"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-03 19:29:27 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-03 19:29:27 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-03 19:29:27 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
|
2018-09-03 19:29:27 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2018-07-19 20:37:47 +08:00
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-success ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:120px;height:120px;font-size:24px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2017-09-20 16:26:18 +08:00
|
|
|
viewBox="0 0 100 100"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
2017-03-17 23:57:34 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-path"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2016-11-22 14:28:05 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</svg>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="check"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-check"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-03 19:29:27 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="check"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-03 19:29:27 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-03 19:29:27 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"
|
2018-09-03 19:29:27 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/progress/demo/circle-dynamic.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:120px;height:120px;font-size:24px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2017-09-20 16:26:18 +08:00
|
|
|
viewBox="0 0 100 100"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
2017-03-17 23:57:34 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2017-11-06 21:14:40 +08:00
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2017-11-06 21:14:40 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="0"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2017-11-06 21:14:40 +08:00
|
|
|
stroke-linecap="round"
|
2020-05-04 13:38:04 +08:00
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:0px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-11-06 21:14:40 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</svg>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-progress-text"
|
2018-10-12 19:18:09 +08:00
|
|
|
title="0%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-btn-group"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2017-02-04 22:35:33 +08:00
|
|
|
class="ant-btn ant-btn-icon-only"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-10-27 21:59:16 +08:00
|
|
|
<span
|
|
|
|
aria-label="minus"
|
|
|
|
class="anticon anticon-minus"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="minus"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</button>
|
|
|
|
<button
|
2017-02-04 22:35:33 +08:00
|
|
|
class="ant-btn ant-btn-icon-only"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-10-27 21:59:16 +08:00
|
|
|
<span
|
|
|
|
aria-label="plus"
|
|
|
|
class="anticon anticon-plus"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="plus"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<defs />
|
|
|
|
<path
|
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"
|
|
|
|
/>
|
|
|
|
<path
|
|
|
|
d="M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</button>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/progress/demo/circle-mini.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:80px;height:80px;font-size:18px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2017-09-20 16:26:18 +08:00
|
|
|
viewBox="0 0 100 100"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
2017-03-17 23:57:34 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-path"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2016-11-22 14:28:05 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:88.59291283123217px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</svg>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-progress-text"
|
2018-10-12 19:18:09 +08:00
|
|
|
title="30%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
30%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-exception ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:80px;height:80px;font-size:18px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2017-09-20 16:26:18 +08:00
|
|
|
viewBox="0 0 100 100"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
2017-03-17 23:57:34 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-path"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2016-11-22 14:28:05 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:206.7167966062084px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</svg>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-progress-text"
|
2018-07-19 20:37:47 +08:00
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="close"
|
2018-08-30 22:59:43 +08:00
|
|
|
class="anticon anticon-close"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-03 19:29:27 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-03 19:29:27 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-03 19:29:27 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
|
2018-09-03 19:29:27 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2018-07-19 20:37:47 +08:00
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-success ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:80px;height:80px;font-size:18px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2017-09-20 16:26:18 +08:00
|
|
|
viewBox="0 0 100 100"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
2017-03-17 23:57:34 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-path"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2016-11-22 14:28:05 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</svg>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="check"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-check"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-03 19:29:27 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="check"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-03 19:29:27 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-03 19:29:27 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"
|
2018-09-03 19:29:27 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-20 11:40:24 +08:00
|
|
|
exports[`renders ./components/progress/demo/dashboard.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2017-03-20 11:40:24 +08:00
|
|
|
<div
|
2020-03-22 17:59:43 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
2017-03-20 11:40:24 +08:00
|
|
|
>
|
2020-03-22 17:59:43 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width:120px;height:120px;font-size:24px"
|
2017-03-20 11:40:24 +08:00
|
|
|
>
|
2020-03-22 17:59:43 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2020-03-22 17:59:43 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-trail"
|
|
|
|
d="M 50,50 m 0,47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94"
|
2020-03-22 17:59:43 +08:00
|
|
|
fill-opacity="0"
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
|
|
|
style="stroke-dasharray:220.30970943744057px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
|
|
|
/>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94"
|
2020-03-22 17:59:43 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2020-03-22 17:59:43 +08:00
|
|
|
stroke=""
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
|
|
|
style="stroke-dasharray:165.23228207808043px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="75%"
|
|
|
|
>
|
|
|
|
75%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2020-03-22 17:59:43 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width:120px;height:120px;font-size:24px"
|
2017-04-01 13:17:02 +08:00
|
|
|
>
|
2020-03-22 17:59:43 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2020-03-22 17:59:43 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-trail"
|
|
|
|
d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94"
|
|
|
|
fill-opacity="0"
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
|
|
|
style="stroke-dasharray:265.3097094374406px 295.3097094374406px;stroke-dashoffset:-15px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
|
|
|
/>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,47
|
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94"
|
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2020-03-22 17:59:43 +08:00
|
|
|
stroke=""
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
|
|
|
style="stroke-dasharray:198.98228207808043px 295.3097094374406px;stroke-dashoffset:-15px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="75%"
|
|
|
|
>
|
|
|
|
75%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2017-03-20 11:40:24 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/progress/demo/dynamic.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:0%;height:8px;border-radius:"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="0%"
|
|
|
|
>
|
|
|
|
0%
|
|
|
|
</span>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-btn-group"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2017-02-04 22:35:33 +08:00
|
|
|
class="ant-btn ant-btn-icon-only"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-10-27 21:59:16 +08:00
|
|
|
<span
|
|
|
|
aria-label="minus"
|
|
|
|
class="anticon anticon-minus"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="minus"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</button>
|
|
|
|
<button
|
2017-02-04 22:35:33 +08:00
|
|
|
class="ant-btn ant-btn-icon-only"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-10-27 21:59:16 +08:00
|
|
|
<span
|
|
|
|
aria-label="plus"
|
|
|
|
class="anticon anticon-plus"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="plus"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<defs />
|
|
|
|
<path
|
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"
|
|
|
|
/>
|
|
|
|
<path
|
|
|
|
d="M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</button>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/progress/demo/format.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:120px;height:120px;font-size:24px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2017-09-20 16:26:18 +08:00
|
|
|
viewBox="0 0 100 100"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
2017-03-17 23:57:34 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-path"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2016-11-22 14:28:05 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:221.48228207808043px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</svg>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-progress-text"
|
2018-10-12 19:18:09 +08:00
|
|
|
title="75 Days"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
75 Days
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-success ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:120px;height:120px;font-size:24px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2017-09-20 16:26:18 +08:00
|
|
|
viewBox="0 0 100 100"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-trail"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
2017-03-17 23:57:34 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<path
|
2017-02-22 19:34:44 +08:00
|
|
|
class="ant-progress-circle-path"
|
2016-11-22 14:28:05 +08:00
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2016-11-22 14:28:05 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2016-11-22 14:28:05 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2017-03-20 11:40:24 +08:00
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</svg>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-progress-text"
|
2018-10-12 19:18:09 +08:00
|
|
|
title="Done"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
Done
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2019-06-26 18:13:45 +08:00
|
|
|
exports[`renders ./components/progress/demo/gradient-line.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2019-06-26 18:13:45 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2019-06-26 18:13:45 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2019-06-26 18:13:45 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:99.9%;height:8px;border-radius:;background-image:linear-gradient(to right, #108ee9 0%, #87d068 100%)"
|
|
|
|
/>
|
2019-06-26 18:13:45 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="99.9%"
|
|
|
|
>
|
|
|
|
99.9%
|
|
|
|
</span>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2019-06-26 18:13:45 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-active ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2019-06-26 18:13:45 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2019-06-26 18:13:45 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:99.9%;height:8px;border-radius:;background-image:linear-gradient(to right, #108ee9, #87d068)"
|
|
|
|
/>
|
2019-06-26 18:13:45 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="99.9%"
|
|
|
|
>
|
|
|
|
99.9%
|
|
|
|
</span>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2019-06-26 17:31:54 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner ant-progress-circle-gradient"
|
|
|
|
style="width:120px;height:120px;font-size:24px"
|
|
|
|
>
|
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2019-06-26 17:31:54 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
|
|
|
<defs>
|
|
|
|
<linearGradient
|
2020-05-13 19:13:30 +08:00
|
|
|
id="ant-progress-gradient-12"
|
2019-06-26 17:31:54 +08:00
|
|
|
x1="100%"
|
|
|
|
x2="0%"
|
|
|
|
y1="0%"
|
|
|
|
y2="0%"
|
|
|
|
>
|
|
|
|
<stop
|
|
|
|
offset="0%"
|
|
|
|
stop-color="#108ee9"
|
|
|
|
/>
|
|
|
|
<stop
|
|
|
|
offset="100%"
|
|
|
|
stop-color="#87d068"
|
|
|
|
/>
|
|
|
|
</linearGradient>
|
|
|
|
</defs>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-trail"
|
|
|
|
d="M 50,50 m 0,-47
|
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
|
|
|
fill-opacity="0"
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2019-06-26 17:31:54 +08:00
|
|
|
/>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,-47
|
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2020-05-13 19:13:30 +08:00
|
|
|
stroke="url(#ant-progress-gradient-12)"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
|
|
|
style="stroke:[object Object];stroke-dasharray:265.77873849369655px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="90%"
|
|
|
|
>
|
|
|
|
90%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2019-03-24 17:05:24 +08:00
|
|
|
<div
|
2019-06-26 18:13:45 +08:00
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-success ant-progress-show-info ant-progress-default"
|
2019-03-24 17:05:24 +08:00
|
|
|
>
|
2019-06-26 18:13:45 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-inner ant-progress-circle-gradient"
|
|
|
|
style="width:120px;height:120px;font-size:24px"
|
|
|
|
>
|
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2019-06-26 18:13:45 +08:00
|
|
|
viewBox="0 0 100 100"
|
2019-03-24 17:05:24 +08:00
|
|
|
>
|
2019-06-26 18:13:45 +08:00
|
|
|
<defs>
|
|
|
|
<linearGradient
|
2020-05-13 19:13:30 +08:00
|
|
|
id="ant-progress-gradient-13"
|
2019-06-26 18:13:45 +08:00
|
|
|
x1="100%"
|
|
|
|
x2="0%"
|
|
|
|
y1="0%"
|
|
|
|
y2="0%"
|
|
|
|
>
|
|
|
|
<stop
|
|
|
|
offset="0%"
|
|
|
|
stop-color="#108ee9"
|
|
|
|
/>
|
|
|
|
<stop
|
|
|
|
offset="100%"
|
|
|
|
stop-color="#87d068"
|
|
|
|
/>
|
|
|
|
</linearGradient>
|
|
|
|
</defs>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-trail"
|
|
|
|
d="M 50,50 m 0,-47
|
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
|
|
|
fill-opacity="0"
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2019-06-26 18:13:45 +08:00
|
|
|
/>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,-47
|
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2020-05-13 19:13:30 +08:00
|
|
|
stroke="url(#ant-progress-gradient-13)"
|
2019-06-26 18:13:45 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
|
|
|
style="stroke:[object Object];stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-03-24 17:05:24 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="check"
|
2019-06-26 18:13:45 +08:00
|
|
|
class="anticon anticon-check"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2019-03-24 17:05:24 +08:00
|
|
|
>
|
2019-06-26 18:13:45 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="check"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"
|
2019-06-26 18:13:45 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2019-03-24 17:05:24 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2019-03-24 17:05:24 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/progress/demo/line.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:30%;height:8px;border-radius:"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="30%"
|
|
|
|
>
|
|
|
|
30%
|
|
|
|
</span>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-line ant-progress-status-active ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:50%;height:8px;border-radius:"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="50%"
|
|
|
|
>
|
|
|
|
50%
|
|
|
|
</span>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-line ant-progress-status-exception ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:70%;height:8px;border-radius:"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2020-02-02 11:12:07 +08:00
|
|
|
aria-label="close-circle"
|
|
|
|
class="anticon anticon-close-circle"
|
|
|
|
role="img"
|
2018-07-19 20:37:47 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close-circle"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<path
|
|
|
|
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-07-19 20:37:47 +08:00
|
|
|
</span>
|
2020-02-02 11:12:07 +08:00
|
|
|
</span>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-line ant-progress-status-success ant-progress-show-info ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:100%;height:8px;border-radius:"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2020-02-02 11:12:07 +08:00
|
|
|
aria-label="check-circle"
|
|
|
|
class="anticon anticon-check-circle"
|
|
|
|
role="img"
|
2018-07-19 20:37:47 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="check-circle"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<path
|
|
|
|
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-07-19 20:37:47 +08:00
|
|
|
</span>
|
2020-02-02 11:12:07 +08:00
|
|
|
</span>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:50%;height:8px;border-radius:"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/progress/demo/line-mini.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:170px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-small"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:30%;height:6px;border-radius:"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="30%"
|
|
|
|
>
|
|
|
|
30%
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-line ant-progress-status-active ant-progress-show-info ant-progress-small"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:50%;height:6px;border-radius:"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="50%"
|
|
|
|
>
|
|
|
|
50%
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-line ant-progress-status-exception ant-progress-show-info ant-progress-small"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:70%;height:6px;border-radius:"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2020-02-02 11:12:07 +08:00
|
|
|
aria-label="close-circle"
|
|
|
|
class="anticon anticon-close-circle"
|
|
|
|
role="img"
|
2018-07-19 20:37:47 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close-circle"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<path
|
|
|
|
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-07-19 20:37:47 +08:00
|
|
|
</span>
|
2020-02-02 11:12:07 +08:00
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-09-27 22:32:49 +08:00
|
|
|
class="ant-progress ant-progress-line ant-progress-status-success ant-progress-show-info ant-progress-small"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:100%;height:6px;border-radius:"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2020-02-02 11:12:07 +08:00
|
|
|
aria-label="check-circle"
|
|
|
|
class="anticon anticon-check-circle"
|
|
|
|
role="img"
|
2018-07-19 20:37:47 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="check-circle"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<path
|
|
|
|
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-07-19 20:37:47 +08:00
|
|
|
</span>
|
2020-02-02 11:12:07 +08:00
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
2018-01-19 15:22:37 +08:00
|
|
|
|
2018-08-01 00:19:06 +08:00
|
|
|
exports[`renders ./components/progress/demo/linecap.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2018-08-01 00:19:06 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2018-08-01 00:19:06 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2018-08-01 00:19:06 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:75%;height:8px;border-radius:0"
|
|
|
|
/>
|
2018-08-01 00:19:06 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="75%"
|
|
|
|
>
|
|
|
|
75%
|
|
|
|
</span>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2018-08-01 00:19:06 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width:120px;height:120px;font-size:24px"
|
|
|
|
>
|
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2018-08-01 00:19:06 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-trail"
|
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2018-08-01 00:19:06 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="square"
|
2018-08-01 00:19:06 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2018-08-01 00:19:06 +08:00
|
|
|
/>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2018-08-01 00:19:06 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2018-08-01 00:19:06 +08:00
|
|
|
stroke-linecap="square"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:221.48228207808043px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2018-08-01 00:19:06 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
2018-10-12 19:18:09 +08:00
|
|
|
title="75%"
|
2018-08-01 00:19:06 +08:00
|
|
|
>
|
|
|
|
75%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2018-08-01 00:19:06 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width:120px;height:120px;font-size:24px"
|
|
|
|
>
|
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2018-08-01 00:19:06 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-trail"
|
|
|
|
d="M 50,50 m 0,47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94"
|
2018-08-01 00:19:06 +08:00
|
|
|
fill-opacity="0"
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="square"
|
2018-08-01 00:19:06 +08:00
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:220.30970943744057px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2018-08-01 00:19:06 +08:00
|
|
|
/>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94"
|
2018-08-01 00:19:06 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2018-08-01 00:19:06 +08:00
|
|
|
stroke-linecap="square"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:165.23228207808043px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2018-08-01 00:19:06 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
2018-10-12 19:18:09 +08:00
|
|
|
title="75%"
|
2018-08-01 00:19:06 +08:00
|
|
|
>
|
|
|
|
75%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2018-08-01 00:19:06 +08:00
|
|
|
`;
|
|
|
|
|
2018-01-19 15:22:37 +08:00
|
|
|
exports[`renders ./components/progress/demo/segment.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2019-01-18 15:19:36 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
2020-02-02 11:12:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
2018-01-19 15:22:37 +08:00
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-inner"
|
2018-01-19 15:22:37 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-02-02 11:12:07 +08:00
|
|
|
class="ant-progress-bg"
|
|
|
|
style="width:60%;height:8px;border-radius:"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-success-bg"
|
|
|
|
style="width:30%;height:8px;border-radius:"
|
|
|
|
/>
|
2019-01-18 15:19:36 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-02 11:12:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="60%"
|
|
|
|
>
|
|
|
|
60%
|
|
|
|
</span>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2019-01-18 15:19:36 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width:120px;height:120px;font-size:24px"
|
|
|
|
>
|
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2019-01-18 15:19:36 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-trail"
|
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2019-01-18 15:19:36 +08:00
|
|
|
fill-opacity="0"
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:295.3097094374406px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2018-01-19 15:22:37 +08:00
|
|
|
/>
|
2019-01-18 15:19:36 +08:00
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2019-01-18 15:19:36 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:88.59291283123217px 295.3097094374406px;stroke-dashoffset:-88.59291283123217px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2018-01-19 15:22:37 +08:00
|
|
|
/>
|
2019-01-18 15:19:36 +08:00
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,-47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,94
|
|
|
|
a 47,47 0 1 1 0,-94"
|
2019-01-18 15:19:36 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2020-08-20 17:15:40 +08:00
|
|
|
style="stroke:#52C41A;stroke-dasharray:88.59291283123217px 295.3097094374406px;stroke-dashoffset:-0px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2019-01-18 15:19:36 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="60%"
|
|
|
|
>
|
|
|
|
60%
|
|
|
|
</span>
|
2018-01-19 15:22:37 +08:00
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
2019-01-18 15:19:36 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-circle ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
style="width:120px;height:120px;font-size:24px"
|
2018-01-19 15:22:37 +08:00
|
|
|
>
|
2019-01-18 15:19:36 +08:00
|
|
|
<svg
|
2020-05-13 19:13:30 +08:00
|
|
|
class="ant-progress-circle"
|
2019-01-18 15:19:36 +08:00
|
|
|
viewBox="0 0 100 100"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-trail"
|
|
|
|
d="M 50,50 m 0,47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94"
|
2019-01-18 15:19:36 +08:00
|
|
|
fill-opacity="0"
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-03 20:17:13 +08:00
|
|
|
style="stroke-dasharray:220.30970943744057px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2019-01-18 15:19:36 +08:00
|
|
|
/>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94"
|
2019-01-18 15:19:36 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2019-12-04 20:48:36 +08:00
|
|
|
style="stroke-dasharray:66.09291283123217px 295.3097094374406px;stroke-dashoffset:-103.59291283123217px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2019-01-18 15:19:36 +08:00
|
|
|
/>
|
|
|
|
<path
|
|
|
|
class="ant-progress-circle-path"
|
|
|
|
d="M 50,50 m 0,47
|
2019-06-19 19:41:37 +08:00
|
|
|
a 47,47 0 1 1 0,-94
|
|
|
|
a 47,47 0 1 1 0,94"
|
2019-01-18 15:19:36 +08:00
|
|
|
fill-opacity="0"
|
2020-05-04 13:38:04 +08:00
|
|
|
opacity="1"
|
2019-06-26 17:31:54 +08:00
|
|
|
stroke=""
|
2019-01-18 15:19:36 +08:00
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-width="6"
|
2020-08-20 17:15:40 +08:00
|
|
|
style="stroke:#52C41A;stroke-dasharray:66.09291283123217px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"
|
2019-01-18 15:19:36 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="60%"
|
|
|
|
>
|
|
|
|
60%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2018-01-19 15:22:37 +08:00
|
|
|
`;
|
2019-11-22 10:46:33 +08:00
|
|
|
|
|
|
|
exports[`renders ./components/progress/demo/steps.md correctly 1`] = `
|
2020-05-25 16:27:02 +08:00
|
|
|
Array [
|
2019-11-22 10:46:33 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-steps ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-outer"
|
|
|
|
>
|
|
|
|
<div
|
2020-05-29 13:43:53 +08:00
|
|
|
class="ant-progress-steps-item ant-progress-steps-item-active"
|
|
|
|
style="width:14px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-item"
|
2020-05-29 13:43:53 +08:00
|
|
|
style="width:14px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-item"
|
2020-05-29 13:43:53 +08:00
|
|
|
style="width:14px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="50%"
|
|
|
|
>
|
|
|
|
50%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
<br />,
|
2019-11-22 10:46:33 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-steps ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-outer"
|
|
|
|
>
|
|
|
|
<div
|
2020-05-29 13:43:53 +08:00
|
|
|
class="ant-progress-steps-item ant-progress-steps-item-active"
|
|
|
|
style="width:14px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-item"
|
2020-05-29 13:43:53 +08:00
|
|
|
style="width:14px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-item"
|
2020-05-29 13:43:53 +08:00
|
|
|
style="width:14px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-item"
|
2020-05-29 13:43:53 +08:00
|
|
|
style="width:14px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-item"
|
2020-05-29 13:43:53 +08:00
|
|
|
style="width:14px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
title="30%"
|
|
|
|
>
|
|
|
|
30%
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
<br />,
|
2019-11-22 10:46:33 +08:00
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-steps ant-progress-status-success ant-progress-show-info ant-progress-small"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-steps-outer"
|
|
|
|
>
|
|
|
|
<div
|
2020-05-29 13:43:53 +08:00
|
|
|
class="ant-progress-steps-item ant-progress-steps-item-active"
|
|
|
|
style="background-color:#52c41a;width:2px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<div
|
2020-05-29 13:43:53 +08:00
|
|
|
class="ant-progress-steps-item ant-progress-steps-item-active"
|
|
|
|
style="background-color:#52c41a;width:2px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<div
|
2020-05-29 13:43:53 +08:00
|
|
|
class="ant-progress-steps-item ant-progress-steps-item-active"
|
|
|
|
style="background-color:#52c41a;width:2px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<div
|
2020-05-29 13:43:53 +08:00
|
|
|
class="ant-progress-steps-item ant-progress-steps-item-active"
|
|
|
|
style="background-color:#52c41a;width:2px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<div
|
2020-05-29 13:43:53 +08:00
|
|
|
class="ant-progress-steps-item ant-progress-steps-item-active"
|
|
|
|
style="background-color:#52c41a;width:2px;height:8px"
|
2019-11-22 10:46:33 +08:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="check-circle"
|
|
|
|
class="anticon anticon-check-circle"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="check-circle"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-25 16:27:02 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2019-11-22 10:46:33 +08:00
|
|
|
`;
|