ant-design/components/steps/__tests__/__snapshots__/demo.test.js.snap

1306 lines
28 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/steps/demo/clickable.md correctly 1`] = `
<div>
<div
class="ant-steps ant-steps-horizontal ant-steps-label-horizontal"
>
<div
class="ant-steps-item ant-steps-item-process"
role="button"
tabindex="0"
>
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
1
</span>
</div>
<div
class="ant-steps-item-content"
>
<div
class="ant-steps-item-title"
>
Step 1
</div>
<div
class="ant-steps-item-description"
>
This is a description.
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
role="button"
tabindex="0"
>
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
2
</span>
</div>
<div
class="ant-steps-item-content"
>
<div
class="ant-steps-item-title"
>
Step 2
</div>
<div
class="ant-steps-item-description"
>
This is a description.
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
role="button"
tabindex="0"
>
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
3
</span>
</div>
<div
class="ant-steps-item-content"
>
<div
class="ant-steps-item-title"
>
Step 3
</div>
<div
class="ant-steps-item-description"
>
This is a description.
</div>
</div>
</div>
</div>
<div
class="ant-divider ant-divider-horizontal"
/>
<div
class="ant-steps ant-steps-vertical"
>
<div
class="ant-steps-item ant-steps-item-process"
role="button"
tabindex="0"
>
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
1
</span>
</div>
<div
class="ant-steps-item-content"
>
<div
class="ant-steps-item-title"
>
Step 1
</div>
<div
class="ant-steps-item-description"
>
This is a description.
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
role="button"
tabindex="0"
>
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
2
</span>
</div>
<div
class="ant-steps-item-content"
>
<div
class="ant-steps-item-title"
>
Step 2
</div>
<div
class="ant-steps-item-description"
>
This is a description.
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
role="button"
tabindex="0"
>
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
3
</span>
</div>
<div
class="ant-steps-item-content"
>
<div
class="ant-steps-item-title"
>
Step 3
</div>
<div
class="ant-steps-item-description"
>
This is a description.
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/customized-progress-dot.md correctly 1`] = `
2017-01-24 16:07:03 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-label-vertical ant-steps-dot"
>
2017-01-24 16:07:03 +08:00
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-finish"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
<span
class="ant-steps-icon-dot"
/>
</span>
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-content"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-title"
>
Finished
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-description"
>
You can hover on the dot.
2017-01-24 16:07:03 +08:00
</div>
</div>
</div>
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-process"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
<span
class="ant-steps-icon-dot"
/>
</span>
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-content"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-title"
>
In Progress
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-description"
>
You can hover on the dot.
2017-01-24 16:07:03 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
<span
class="ant-steps-icon-dot"
/>
</span>
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-content"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-title"
>
Waiting
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-description"
>
You can hover on the dot.
2017-01-24 16:07:03 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
2017-04-05 11:55:16 +08:00
>
<span
class="ant-steps-icon"
>
<span
class="ant-steps-icon-dot"
/>
</span>
2017-04-05 11:55:16 +08:00
</div>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-content"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-title"
>
Waiting
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-description"
>
You can hover on the dot.
2017-01-24 16:07:03 +08:00
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/error.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-label-horizontal"
>
2016-11-22 14:28:05 +08:00
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-finish ant-steps-next-error"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
2018-08-31 18:54:06 +08:00
class="ant-steps-icon"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: check"
2018-08-31 18:54:06 +08:00
class="anticon anticon-check ant-steps-finish-icon"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="check"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +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 0 0-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-02 19:53:29 +08:00
/>
</svg>
</i>
2018-08-31 18:54:06 +08:00
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Finished
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-error"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
2018-08-31 18:54:06 +08:00
class="ant-steps-icon"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: close"
2018-08-31 18:54:06 +08:00
class="anticon anticon-close ant-steps-error-icon"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="close"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +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 0 0 203 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-02 19:53:29 +08:00
/>
</svg>
</i>
2018-08-31 18:54:06 +08:00
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
In Process
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
2017-04-05 11:55:16 +08:00
>
<span
class="ant-steps-icon"
>
3
</span>
2017-04-05 11:55:16 +08:00
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Waiting
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/icon.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-label-horizontal"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item ant-steps-item-finish ant-steps-item-custom"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: user"
2018-08-13 20:51:01 +08:00
class="anticon anticon-user"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="user"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M858.5 763.6a374 374 0 0 0-80.6-119.5 375.63 375.63 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Login
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-finish ant-steps-item-custom"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: solution"
2018-08-13 20:51:01 +08:00
class="anticon anticon-solution"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="solution"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
d="M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"
/>
</svg>
</i>
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Verification
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-process ant-steps-item-custom"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
2018-07-19 20:37:47 +08:00
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: loading"
2018-08-14 15:32:29 +08:00
class="anticon anticon-loading"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class="anticon-spin"
data-icon="loading"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
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 0 0-94.3-139.9 437.71 437.71 0 0 0-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"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2018-07-19 20:37:47 +08:00
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Pay
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait ant-steps-item-custom"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
2017-04-05 11:55:16 +08:00
>
<span
class="ant-steps-icon"
2018-07-19 20:37:47 +08:00
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: smile-o"
2018-08-13 20:51:01 +08:00
class="anticon anticon-smile-o"
2018-08-24 18:36:08 +08:00
>
<svg
aria-hidden="true"
class=""
2018-08-30 22:59:43 +08:00
data-icon="smile"
2018-08-24 18:36:08 +08:00
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-08-24 18:36:08 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-08-24 18:36:08 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M288 421a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm352 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 0 1 248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 0 1 249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 0 1 775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 0 1 775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 0 0-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 0 0-8-8.4z"
2018-08-24 18:36:08 +08:00
/>
</svg>
</i>
2018-07-19 20:37:47 +08:00
</span>
2017-04-05 11:55:16 +08:00
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Done
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/progress-dot.md correctly 1`] = `
2017-01-24 16:07:03 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-label-vertical ant-steps-dot"
>
2017-01-24 16:07:03 +08:00
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-finish"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
<span
class="ant-steps-icon-dot"
/>
</span>
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-content"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-title"
>
Finished
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2017-01-24 16:07:03 +08:00
</div>
</div>
</div>
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-process"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
<span
class="ant-steps-icon-dot"
/>
</span>
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-content"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-title"
>
In Progress
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2017-01-24 16:07:03 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
2017-04-05 11:55:16 +08:00
>
<span
class="ant-steps-icon"
>
<span
class="ant-steps-icon-dot"
/>
</span>
2017-04-05 11:55:16 +08:00
</div>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-content"
>
2017-01-24 16:07:03 +08:00
<div
class="ant-steps-item-title"
>
Waiting
2017-01-24 16:07:03 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2017-01-24 16:07:03 +08:00
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/simple.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-label-horizontal"
>
2016-11-22 14:28:05 +08:00
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-finish"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
2018-08-31 18:54:06 +08:00
class="ant-steps-icon"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: check"
2018-08-31 18:54:06 +08:00
class="anticon anticon-check ant-steps-finish-icon"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="check"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +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 0 0-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-02 19:53:29 +08:00
/>
</svg>
</i>
2018-08-31 18:54:06 +08:00
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Finished
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-process"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
2
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
In Progress
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
2017-04-05 11:55:16 +08:00
>
<span
class="ant-steps-icon"
>
3
</span>
2017-04-05 11:55:16 +08:00
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Waiting
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/small-size.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-horizontal ant-steps-small ant-steps-label-horizontal"
>
2016-11-22 14:28:05 +08:00
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-finish"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
2018-08-31 18:54:06 +08:00
class="ant-steps-icon"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: check"
2018-08-31 18:54:06 +08:00
class="anticon anticon-check ant-steps-finish-icon"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="check"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +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 0 0-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-02 19:53:29 +08:00
/>
</svg>
</i>
2018-08-31 18:54:06 +08:00
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Finished
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-process"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
2
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
In Progress
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
2017-04-05 11:55:16 +08:00
>
<span
class="ant-steps-icon"
>
3
</span>
2017-04-05 11:55:16 +08:00
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Waiting
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/step-next.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div
class="ant-steps ant-steps-horizontal ant-steps-label-horizontal"
>
2016-11-22 14:28:05 +08:00
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-process"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
1
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
First
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
2
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Second
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
2017-04-05 11:55:16 +08:00
>
<span
class="ant-steps-icon"
>
3
</span>
2017-04-05 11:55:16 +08:00
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Last
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
<div
class="steps-content"
>
2016-11-22 14:28:05 +08:00
First-content
</div>
<div
class="steps-action"
>
2016-11-22 14:28:05 +08:00
<button
class="ant-btn ant-btn-primary"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
Next
</span>
</button>
</div>
</div>
`;
exports[`renders ./components/steps/demo/vertical.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-vertical"
>
2016-11-22 14:28:05 +08:00
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-finish"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
2018-08-31 18:54:06 +08:00
class="ant-steps-icon"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: check"
2018-08-31 18:54:06 +08:00
class="anticon anticon-check ant-steps-finish-icon"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="check"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +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 0 0-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-02 19:53:29 +08:00
/>
</svg>
</i>
2018-08-31 18:54:06 +08:00
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Finished
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-process"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
2
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
In Progress
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
2017-04-05 11:55:16 +08:00
>
<span
class="ant-steps-icon"
>
3
</span>
2017-04-05 11:55:16 +08:00
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Waiting
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/steps/demo/vertical-small.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-steps ant-steps-vertical ant-steps-small"
>
2016-11-22 14:28:05 +08:00
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-finish"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
2018-08-31 18:54:06 +08:00
class="ant-steps-icon"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: check"
2018-08-31 18:54:06 +08:00
class="anticon anticon-check ant-steps-finish-icon"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="check"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +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 0 0-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-02 19:53:29 +08:00
/>
</svg>
</i>
2018-08-31 18:54:06 +08:00
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Finished
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
2018-08-24 19:12:55 +08:00
class="ant-steps-item ant-steps-item-process"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
>
<span
class="ant-steps-icon"
>
2
</span>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
In Progress
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
<div
class="ant-steps-item ant-steps-item-wait"
>
2017-04-05 11:55:16 +08:00
<div
class="ant-steps-item-tail"
/>
<div
class="ant-steps-item-icon"
2017-04-05 11:55:16 +08:00
>
<span
class="ant-steps-icon"
>
3
</span>
2017-04-05 11:55:16 +08:00
</div>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-content"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-steps-item-title"
>
Waiting
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-steps-item-description"
>
This is a description.
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
`;