update test snap shot

This commit is contained in:
HeskeyBaozi 2018-08-13 14:46:55 +08:00
parent 63fae615c3
commit 0a8f964935
27 changed files with 4834 additions and 518 deletions

View File

@ -49,7 +49,22 @@ exports[`renders ./components/auto-complete/demo/basic.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -136,7 +151,22 @@ exports[`renders ./components/auto-complete/demo/certain-category.md correctly 1
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -185,7 +215,22 @@ exports[`renders ./components/auto-complete/demo/custom.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -240,7 +285,22 @@ exports[`renders ./components/auto-complete/demo/non-case-sensitive.md correctly
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -295,7 +355,22 @@ exports[`renders ./components/auto-complete/demo/options.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -387,7 +462,22 @@ exports[`renders ./components/auto-complete/demo/uncertain-category.md correctly
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>

View File

@ -240,8 +240,25 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
style="width:64px;height:64px;line-height:64px;font-size:32px"
>
<i
class="anticon anticon-user"
/>
class="anticon"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M633.6 240.4C601.1 207.9 557.9 190 512 190s-89.1 17.9-121.6 50.4S340 316.1 340 362c0 45.9 17.9 89.1 50.4 121.6S466.1 534 512 534s89.1-17.9 121.6-50.4S684 407.9 684 362c0-45.9-17.9-89.1-50.4-121.6z"
fill="none"
/>
<path
d="M858.5 763.6c-18.9-44.8-46.1-85-80.6-119.5-34.5-34.5-74.7-61.6-119.5-80.6-.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.6-34.5 34.5-61.6 74.7-80.6 119.5C146.9 807.5 137 854 136 901.8c-.1 4.5 3.5 8.2 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.8h60c4.5 0 8.1-3.7 8-8.2-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"
/>
</svg>
</i>
</span>
<span
class="ant-avatar ant-avatar-lg ant-avatar-circle ant-avatar-icon"
@ -322,8 +339,25 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
style="width:64px;height:64px;line-height:64px;font-size:32px"
>
<i
class="anticon anticon-user"
/>
class="anticon"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M633.6 240.4C601.1 207.9 557.9 190 512 190s-89.1 17.9-121.6 50.4S340 316.1 340 362c0 45.9 17.9 89.1 50.4 121.6S466.1 534 512 534s89.1-17.9 121.6-50.4S684 407.9 684 362c0-45.9-17.9-89.1-50.4-121.6z"
fill="none"
/>
<path
d="M858.5 763.6c-18.9-44.8-46.1-85-80.6-119.5-34.5-34.5-74.7-61.6-119.5-80.6-.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.6-34.5 34.5-61.6 74.7-80.6 119.5C146.9 807.5 137 854 136 901.8c-.1 4.5 3.5 8.2 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.8h60c4.5 0 8.1-3.7 8-8.2-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"
/>
</svg>
</i>
</span>
<span
class="ant-avatar ant-avatar-lg ant-avatar-square ant-avatar-icon"

View File

@ -35,7 +35,22 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -67,7 +82,22 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -1044,7 +1074,22 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -1076,7 +1121,22 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -2051,7 +2111,22 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -2083,7 +2158,22 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -3468,7 +3558,22 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -3500,7 +3605,22 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>

View File

@ -27,7 +27,24 @@ exports[`Drawer className is test_drawer 1`] = `
>
<span
class="ant-drawer-close-x"
/>
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
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.9c-4.4 5.2-.7 13.1 6.1 13.1h79.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"
/>
</svg>
</i>
</span>
</button>
<div
class="ant-drawer-body"
@ -101,7 +118,24 @@ exports[`Drawer destroyOnClose is true 1`] = `
>
<span
class="ant-drawer-close-x"
/>
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
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.9c-4.4 5.2-.7 13.1 6.1 13.1h79.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"
/>
</svg>
</i>
</span>
</button>
<div
class="ant-drawer-body"
@ -151,7 +185,24 @@ exports[`Drawer have a title 1`] = `
>
<span
class="ant-drawer-close-x"
/>
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
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.9c-4.4 5.2-.7 13.1 6.1 13.1h79.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"
/>
</svg>
</i>
</span>
</button>
<div
class="ant-drawer-body"
@ -192,7 +243,24 @@ exports[`Drawer render correctly 1`] = `
>
<span
class="ant-drawer-close-x"
/>
>
<i
class="anticon"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
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.9c-4.4 5.2-.7 13.1 6.1 13.1h79.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"
/>
</svg>
</i>
</span>
</button>
<div
class="ant-drawer-body"

View File

@ -10,7 +10,9 @@ exports[`Drawer render correctly 1`] = `
open
</span>
</button>
<div>
<div
class=""
>
<div
class="ant-drawer ant-drawer-right ant-drawer-open"
>
@ -19,7 +21,7 @@ exports[`Drawer render correctly 1`] = `
/>
<div
class="ant-drawer-content-wrapper"
style=""
style="width: 256px;"
>
<div
class="ant-drawer-content"

View File

@ -569,7 +569,22 @@ exports[`renders ./components/form/demo/coordinated.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -667,7 +682,22 @@ exports[`renders ./components/form/demo/customized-form-controls.md correctly 1`
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -1001,13 +1031,13 @@ exports[`renders ./components/form/demo/horizontal-login.md correctly 1`] = `
>
<i
class="anticon"
style="color:rgba(0,0,0,.25)"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
style="color:rgba(0,0,0,.25)"
viewBox="0 0 1024 1024"
width="1em"
>
@ -1055,13 +1085,13 @@ exports[`renders ./components/form/demo/horizontal-login.md correctly 1`] = `
>
<i
class="anticon"
style="color:rgba(0,0,0,.25)"
>
<svg
aria-hidden="true"
data-icon="lock"
fill="currentColor"
height="1em"
style="color:rgba(0,0,0,.25)"
viewBox="0 0 1024 1024"
width="1em"
>
@ -1326,13 +1356,13 @@ exports[`renders ./components/form/demo/normal-login.md correctly 1`] = `
>
<i
class="anticon"
style="color:rgba(0,0,0,.25)"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
style="color:rgba(0,0,0,.25)"
viewBox="0 0 1024 1024"
width="1em"
>
@ -1380,13 +1410,13 @@ exports[`renders ./components/form/demo/normal-login.md correctly 1`] = `
>
<i
class="anticon"
style="color:rgba(0,0,0,.25)"
>
<svg
aria-hidden="true"
data-icon="lock"
fill="currentColor"
height="1em"
style="color:rgba(0,0,0,.25)"
viewBox="0 0 1024 1024"
width="1em"
>
@ -1671,7 +1701,20 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
/>
<i
class="anticon ant-cascader-picker-clear"
/>
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
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.9c-4.4 5.2-.7 13.1 6.1 13.1h79.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"
/>
</svg>
</i>
<i
class="anticon ant-cascader-picker-arrow"
>
@ -1758,7 +1801,22 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -1850,7 +1908,22 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -2483,7 +2556,22 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -2602,10 +2690,22 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -2614,10 +2714,22 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -3006,10 +3118,16 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
>
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -3061,7 +3179,12 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -3113,7 +3236,12 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="3"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -3165,7 +3293,12 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="4"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -3217,7 +3350,12 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -3884,7 +4022,22 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -3954,7 +4107,20 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
/>
<i
class="anticon ant-cascader-picker-clear"
/>
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
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.9c-4.4 5.2-.7 13.1 6.1 13.1h79.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"
/>
</svg>
</i>
<i
class="anticon ant-cascader-picker-arrow"
>
@ -4181,10 +4347,22 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -4193,10 +4371,22 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -4283,10 +4473,22 @@ exports[`renders ./components/form/demo/without-form-create.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -4295,10 +4497,22 @@ exports[`renders ./components/form/demo/without-form-create.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div

View File

@ -14,10 +14,22 @@ exports[`renders ./components/input-number/demo/basic.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -26,10 +38,22 @@ exports[`renders ./components/input-number/demo/basic.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -65,10 +89,22 @@ exports[`renders ./components/input-number/demo/digit.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -77,10 +113,22 @@ exports[`renders ./components/input-number/demo/digit.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -116,10 +164,22 @@ exports[`renders ./components/input-number/demo/disabled.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="true"
@ -128,10 +188,22 @@ exports[`renders ./components/input-number/demo/disabled.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -182,10 +254,22 @@ exports[`renders ./components/input-number/demo/formatter.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -194,10 +278,22 @@ exports[`renders ./components/input-number/demo/formatter.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -228,10 +324,22 @@ exports[`renders ./components/input-number/demo/formatter.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -240,10 +348,22 @@ exports[`renders ./components/input-number/demo/formatter.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -281,10 +401,22 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -293,10 +425,22 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -329,10 +473,22 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -341,10 +497,22 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -377,10 +545,22 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -389,10 +569,22 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div

View File

@ -70,7 +70,22 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -112,7 +127,22 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -268,7 +298,22 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -311,7 +356,22 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -334,10 +394,22 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="false"
@ -346,10 +418,22 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -442,7 +526,22 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -474,7 +573,22 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -511,7 +625,22 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -567,7 +696,22 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -619,7 +763,22 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -657,7 +816,22 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -707,13 +881,13 @@ exports[`renders ./components/input/demo/presuffix.md correctly 1`] = `
>
<i
class="anticon"
style="color:rgba(0,0,0,.25)"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
height="1em"
style="color:rgba(0,0,0,.25)"
viewBox="0 0 1024 1024"
width="1em"
>

View File

@ -63,9 +63,10 @@ exports[`Input.Search should support suffix 1`] = `
>
<i
className="anticon ant-input-search-icon"
onClick={[Function]}
>
<AntdIcon
onClick={[Function]}
<IconReact
style={Object {}}
type="search"
>
<svg
@ -73,7 +74,7 @@ exports[`Input.Search should support suffix 1`] = `
data-icon="search"
fill="currentColor"
height="1em"
onClick={[Function]}
style={Object {}}
viewBox="0 0 1024 1024"
width="1em"
>
@ -87,7 +88,7 @@ exports[`Input.Search should support suffix 1`] = `
key="path-1"
/>
</svg>
</AntdIcon>
</IconReact>
</i>
</Icon>
</span>

View File

@ -934,6 +934,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<span>
<i
class="anticon"
style="margin-right:8px"
/>
156
</span>
@ -945,6 +946,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<span>
<i
class="anticon"
style="margin-right:8px"
/>
156
</span>
@ -956,13 +958,13 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<span>
<i
class="anticon"
style="margin-right:8px"
>
<svg
aria-hidden="true"
data-icon="message"
fill="currentColor"
height="1em"
style="margin-right:8px"
viewBox="0 0 1024 1024"
width="1em"
>
@ -1060,6 +1062,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<span>
<i
class="anticon"
style="margin-right:8px"
/>
156
</span>
@ -1071,6 +1074,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<span>
<i
class="anticon"
style="margin-right:8px"
/>
156
</span>
@ -1082,13 +1086,13 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<span>
<i
class="anticon"
style="margin-right:8px"
>
<svg
aria-hidden="true"
data-icon="message"
fill="currentColor"
height="1em"
style="margin-right:8px"
viewBox="0 0 1024 1024"
width="1em"
>
@ -1186,6 +1190,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<span>
<i
class="anticon"
style="margin-right:8px"
/>
156
</span>
@ -1197,6 +1202,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<span>
<i
class="anticon"
style="margin-right:8px"
/>
156
</span>
@ -1208,13 +1214,13 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
<span>
<i
class="anticon"
style="margin-right:8px"
>
<svg
aria-hidden="true"
data-icon="message"
fill="currentColor"
height="1em"
style="margin-right:8px"
viewBox="0 0 1024 1024"
width="1em"
>

View File

@ -158,7 +158,22 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -209,7 +224,22 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -596,7 +626,22 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -628,7 +673,22 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -1611,7 +1671,6 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
data-icon="filter"
fill="currentColor"
height="1em"
title="Filter menu"
viewBox="0 0 1024 1024"
width="1em"
>
@ -1756,7 +1815,22 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>

View File

@ -75,7 +75,22 @@ exports[`renders ./components/notification/demo/placement.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>

View File

@ -191,7 +191,22 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -636,7 +651,22 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>

View File

@ -3,10 +3,16 @@
exports[`renders ./components/rate/demo/basic.md correctly 1`] = `
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
aria-checked="false"
aria-posinset="1"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -58,7 +64,12 @@ exports[`renders ./components/rate/demo/basic.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="2"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -110,7 +121,12 @@ exports[`renders ./components/rate/demo/basic.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="3"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -162,7 +178,12 @@ exports[`renders ./components/rate/demo/basic.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -214,7 +235,12 @@ exports[`renders ./components/rate/demo/basic.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -272,10 +298,16 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
<div>
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
aria-checked="false"
aria-posinset="1"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -327,7 +359,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="2"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -379,7 +416,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="3"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -431,7 +473,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -483,7 +530,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -538,11 +590,17 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
<br />
<ul
class="ant-rate"
role="radiogroup"
style="font-size:36px"
tabindex="0"
>
<li
aria-checked="false"
aria-posinset="1"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -556,7 +614,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="2"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -570,7 +633,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="3"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -584,7 +652,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -598,7 +671,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -615,10 +693,16 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
<br />
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
aria-checked="false"
aria-posinset="1"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -632,7 +716,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="2"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -646,7 +735,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="3"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -660,7 +754,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -674,7 +773,12 @@ exports[`renders ./components/rate/demo/character.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -695,10 +799,16 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
<div>
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -750,7 +860,12 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -802,7 +917,12 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="3"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -854,7 +974,12 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -906,7 +1031,12 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -962,10 +1092,16 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
<br />
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1017,7 +1153,12 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1069,7 +1210,12 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="3"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1121,7 +1267,12 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1173,7 +1324,12 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1232,10 +1388,16 @@ exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
exports[`renders ./components/rate/demo/disabled.md correctly 1`] = `
<ul
class="ant-rate ant-rate-disabled"
role="radiogroup"
tabindex="-1"
>
<li
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1287,7 +1449,12 @@ exports[`renders ./components/rate/demo/disabled.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1339,7 +1506,12 @@ exports[`renders ./components/rate/demo/disabled.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="3"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1391,7 +1563,12 @@ exports[`renders ./components/rate/demo/disabled.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1443,7 +1620,12 @@ exports[`renders ./components/rate/demo/disabled.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1500,10 +1682,16 @@ exports[`renders ./components/rate/demo/disabled.md correctly 1`] = `
exports[`renders ./components/rate/demo/half.md correctly 1`] = `
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1555,7 +1743,12 @@ exports[`renders ./components/rate/demo/half.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1607,7 +1800,12 @@ exports[`renders ./components/rate/demo/half.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="3"
aria-setsize="5"
class="ant-rate-star ant-rate-star-half ant-rate-star-active"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1659,7 +1857,12 @@ exports[`renders ./components/rate/demo/half.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1711,7 +1914,12 @@ exports[`renders ./components/rate/demo/half.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1769,10 +1977,16 @@ exports[`renders ./components/rate/demo/text.md correctly 1`] = `
<span>
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1824,7 +2038,12 @@ exports[`renders ./components/rate/demo/text.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1876,7 +2095,12 @@ exports[`renders ./components/rate/demo/text.md correctly 1`] = `
</div>
</li>
<li
aria-checked="true"
aria-posinset="3"
aria-setsize="5"
class="ant-rate-star ant-rate-star-full"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1928,7 +2152,12 @@ exports[`renders ./components/rate/demo/text.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
@ -1980,7 +2209,12 @@ exports[`renders ./components/rate/demo/text.md correctly 1`] = `
</div>
</li>
<li
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
class="ant-rate-star ant-rate-star-zero"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"

View File

@ -77,14 +77,14 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
>
<svg
aria-hidden="true"
data-icon="arrowdown"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
@ -125,14 +125,14 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
>
<svg
aria-hidden="true"
data-icon="arrowdown"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
@ -178,14 +178,14 @@ exports[`renders ./components/select/demo/coordinate.md correctly 1`] = `
>
<svg
aria-hidden="true"
data-icon="arrowdown"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
@ -226,14 +226,14 @@ exports[`renders ./components/select/demo/coordinate.md correctly 1`] = `
>
<svg
aria-hidden="true"
data-icon="arrowdown"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
@ -278,14 +278,14 @@ exports[`renders ./components/select/demo/label-in-value.md correctly 1`] = `
>
<svg
aria-hidden="true"
data-icon="arrowdown"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
@ -441,14 +441,14 @@ exports[`renders ./components/select/demo/optgroup.md correctly 1`] = `
>
<svg
aria-hidden="true"
data-icon="arrowdown"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
@ -511,14 +511,14 @@ exports[`renders ./components/select/demo/search.md correctly 1`] = `
>
<svg
aria-hidden="true"
data-icon="arrowdown"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
@ -723,14 +723,14 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
>
<svg
aria-hidden="true"
data-icon="arrowdown"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>

View File

@ -153,6 +153,7 @@ exports[`renders ./components/slider/demo/icon-slider.md correctly 1`] = `
>
<i
class="anticon"
style="color:rgba(0, 0, 0, .45)"
/>
<div
class="ant-slider"
@ -183,6 +184,7 @@ exports[`renders ./components/slider/demo/icon-slider.md correctly 1`] = `
</div>
<i
class="anticon"
style="color:"
/>
</div>
`;
@ -240,10 +242,22 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="true"
@ -252,10 +266,22 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div
@ -328,10 +354,22 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-up-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-up-inner"
>
<svg
aria-hidden="true"
data-icon="up"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3c-3.8 5.3-.1 12.7 6.5 12.7h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"
/>
</svg>
</i>
</span>
<span
aria-disabled="true"
@ -340,10 +378,22 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
role="button"
unselectable="unselectable"
>
<span
class="ant-input-number-handler-down-inner"
unselectable="unselectable"
/>
<i
class="anticon ant-input-number-handler-down-inner"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
<div

View File

@ -21,6 +21,7 @@ exports[`renders ./components/spin/demo/custom-indicator.md correctly 1`] = `
>
<i
class="anticon anticon-spin ant-spin-dot"
style="font-size:24px"
/>
</div>
`;

View File

@ -1,6 +1,30 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Table.filter override custom filter correctly 1`] = `null`;
exports[`Table.filter override custom filter correctly 1`] = `
<div
className="ant-dropdown-custom-view"
id="customFilter"
>
<span
id="setSelectedKeys"
onClick={[Function]}
>
setSelectedKeys
</span>
<span
id="confirm"
onClick={[Function]}
>
Confirm
</span>
<span
id="reset"
onClick={[Function]}
>
Reset
</span>
</div>
`;
exports[`Table.filter renders custom content correctly 1`] = `
<div>
@ -80,7 +104,6 @@ exports[`Table.filter renders filter correctly 1`] = `
data-icon="filter"
fill="currentColor"
height="1em"
title="Filter menu"
viewBox="0 0 1024 1024"
width="1em"
>
@ -102,6 +125,7 @@ exports[`Table.filter renders filter correctly 1`] = `
>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="0"
>
<td
class="ant-table-column-has-filters"
@ -115,6 +139,7 @@ exports[`Table.filter renders filter correctly 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="1"
>
<td
class="ant-table-column-has-filters"
@ -128,6 +153,7 @@ exports[`Table.filter renders filter correctly 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="2"
>
<td
class="ant-table-column-has-filters"
@ -141,6 +167,7 @@ exports[`Table.filter renders filter correctly 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="3"
>
<td
class="ant-table-column-has-filters"

View File

@ -43,6 +43,7 @@ exports[`Table.pagination renders pagination correctly 1`] = `
>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="0"
>
<td
class=""
@ -56,6 +57,7 @@ exports[`Table.pagination renders pagination correctly 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="1"
>
<td
class=""

View File

@ -70,6 +70,7 @@ exports[`Table renders JSX correctly 1`] = `
>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="1"
>
<td
class=""
@ -93,6 +94,7 @@ exports[`Table renders JSX correctly 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="2"
>
<td
class=""

File diff suppressed because it is too large Load Diff

View File

@ -358,8 +358,21 @@ exports[`renders ./components/tabs/demo/custom-add-trigger.md correctly 1`] = `
<div>
Tab 1
<i
class="anticon anticon-close"
/>
class="anticon ant-tabs-close-x"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
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.9c-4.4 5.2-.7 13.1 6.1 13.1h79.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"
/>
</svg>
</i>
</div>
</div>
<div
@ -371,8 +384,21 @@ exports[`renders ./components/tabs/demo/custom-add-trigger.md correctly 1`] = `
<div>
Tab 2
<i
class="anticon anticon-close"
/>
class="anticon ant-tabs-close-x"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
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.9c-4.4 5.2-.7 13.1 6.1 13.1h79.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"
/>
</svg>
</i>
</div>
</div>
</div>
@ -515,8 +541,21 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = `
>
<span>
<i
class="anticon anticon-plus ant-tabs-new-tab"
/>
class="anticon ant-tabs-new-tab"
>
<svg
aria-hidden="true"
data-icon="plus"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M848 474H550V152h-76v322H176c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h298v322h76V550h298c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"
/>
</svg>
</i>
</span>
</div>
<div
@ -557,8 +596,21 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = `
<div>
Tab 1
<i
class="anticon anticon-close"
/>
class="anticon ant-tabs-close-x"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
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.9c-4.4 5.2-.7 13.1 6.1 13.1h79.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"
/>
</svg>
</i>
</div>
</div>
<div
@ -570,8 +622,21 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = `
<div>
Tab 2
<i
class="anticon anticon-close"
/>
class="anticon ant-tabs-close-x"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
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.9c-4.4 5.2-.7 13.1 6.1 13.1h79.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"
/>
</svg>
</i>
</div>
</div>
<div
@ -774,8 +839,28 @@ exports[`renders ./components/tabs/demo/icon.md correctly 1`] = `
>
<span>
<i
class="anticon anticon-apple"
/>
class="anticon"
>
<svg
aria-hidden="true"
data-icon="apple"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M722.5 676.1c-19.3-28.3-31.5-58.4-37.9-89-4.3-20.2-5.5-37.1-5.1-51.8-.1-61.9 19.4-115 56.9-158.4-16.5-7.5-35.9-12.1-58.6-13.8-4-.3-8.4-.3-13.2.1-16.3 1.2-35.1 6.1-60.8 15.2-4.6 1.6-30.4 11.2-37.5 13.6-18.9 6.5-32.1 9.8-47.7 9.8-15.3 0-29.5-3.1-47.6-9-5.7-1.8-11.5-3.8-19.2-6.6-1.6-.6-14.7-5.3-18.5-6.7-12.7-4.5-22.1-7.6-30.7-9.9-10.9-3-19.4-4.4-25.4-4.5-36 .7-71.5 15.7-97.8 42.3-30.6 31.1-48.4 76.9-48.4 137.1 0 40.9 7.6 83.7 23 128.6 12.5 35.9 38.5 87.1 66 125.7 15.6 21.9 31.1 39 45.1 49.9 6.1 4.8 11.5 8 16 9.8 1.6.7 3 1.1 4.1 1.3.5.1 1.1.1 1.8.2 5.9-.1 12.4-1.6 22.9-5.2 2.5-.9 5.3-1.9 8.7-3.2 2.1-.8 9.5-3.6 10.2-3.9 17.1-6.5 28.7-10.4 42.7-13.8 19-4.7 38-7.2 58.1-7.2 19.7 0 38.3 2.6 56.9 7.4 13.3 3.5 23.7 7.1 41.1 13.8.6.2 3.6 1.4 4.4 1.7 1.6.6 2.9 1.1 4.2 1.6 17.1 6.5 25.7 8.7 34.7 8.8 5.4-.2 13.5-3.6 24-11.6 13.3-10.1 27.6-25.7 41.9-45.7 14.8-20.6 28.9-45 40.3-68.7-21.7-17-39.9-36.4-54.6-57.9z"
fill="none"
/>
<path
d="M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6-.8-.3-3.9-1.5-4.4-1.7-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8z"
/>
<path
d="M642.3 230.7c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"
/>
</svg>
</i>
Tab 1
</span>
</div>
@ -787,8 +872,31 @@ exports[`renders ./components/tabs/demo/icon.md correctly 1`] = `
>
<span>
<i
class="anticon anticon-android"
/>
class="anticon"
>
<svg
aria-hidden="true"
data-icon="android"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
class="st0"
d="M395.2 885.5c0 6.8 3.9 10.6 10.7 10.6 6.1 0 9.9-3.1 10.5-8.7v-60.1h-21.2v58.2zM647.1 213c-37.5-27.4-85.3-42.5-135-42.5s-97.5 15-135 42.3c-32.1 23.7-54.1 54.3-62.6 87.6h395.4c-8.6-33.2-30.4-63.7-62.8-87.4zm-198.8 76.1c-18.6 0-32-13.4-32-31.9s13.5-31.9 32-31.9c18.7 0 32.1 13.4 32 31.9 0 18.5-13.5 31.9-32 31.9zm127.8 0c-18.6 0-32-13.4-32-31.9s13.5-31.9 32-31.9c18.7 0 32 13.2 32 31.9 0 18.5-13.4 31.9-32 31.9zM235.3 363.8c-6.8 0-10.7 3.8-10.7 10.6v235.2c0 6.8 3.9 10.6 10.7 10.6 6.8 0 10.7-3.8 10.7-10.6V374.5c0-6.8-3.9-10.7-10.7-10.7zM629.3 827.3h-21.2v58.2c0 6.8 3.9 10.6 10.7 10.6 6.1 0 9.9-3.1 10.5-8.7v-60.1zM789 363.8c-6.8 0-10.7 3.8-10.7 10.6v235.2c0 6.8 3.9 10.6 10.7 10.6 6.8 0 10.7-3.8 10.7-10.6V374.5c0-6.8-3.9-10.7-10.7-10.7zM309.9 364h404.6v399.6H309.9z"
/>
<path
d="M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9z"
/>
<path
d="M842.2 321.6c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1z"
/>
<path
d="M576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z"
/>
</svg>
</i>
Tab 2
</span>
</div>
@ -855,7 +963,22 @@ exports[`renders ./components/tabs/demo/position.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="down"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
/>
</svg>
</i>
</span>
</div>
</div>

View File

@ -44,7 +44,7 @@ exports[`renders ./components/timeline/demo/alternate.md correctly 1`] = `
class="ant-timeline-item-head ant-timeline-item-head-custom ant-timeline-item-head-blue"
>
<i
class="anticon anticon-clock-circle-o"
class="anticon"
style="font-size:16px"
/>
</div>
@ -94,7 +94,7 @@ exports[`renders ./components/timeline/demo/alternate.md correctly 1`] = `
class="ant-timeline-item-head ant-timeline-item-head-custom ant-timeline-item-head-blue"
>
<i
class="anticon anticon-clock-circle-o"
class="anticon"
style="font-size:16px"
/>
</div>
@ -302,6 +302,7 @@ exports[`renders ./components/timeline/demo/custom.md correctly 1`] = `
>
<i
class="anticon"
style="font-size:16px"
/>
</div>
<div
@ -454,7 +455,7 @@ exports[`renders ./components/timeline/demo/right.md correctly 1`] = `
class="ant-timeline-item-head ant-timeline-item-head-custom ant-timeline-item-head-red"
>
<i
class="anticon anticon-clock-circle-o"
class="anticon"
style="font-size:16px"
/>
</div>

View File

@ -33,7 +33,8 @@ exports[`Search should show cross icon when input value exists 1`] = `
<i
className="anticon"
>
<AntdIcon
<IconReact
style={Object {}}
type="search"
>
<svg
@ -41,6 +42,7 @@ exports[`Search should show cross icon when input value exists 1`] = `
data-icon="search"
fill="currentColor"
height="1em"
style={Object {}}
viewBox="0 0 1024 1024"
width="1em"
>
@ -54,7 +56,7 @@ exports[`Search should show cross icon when input value exists 1`] = `
key="path-1"
/>
</svg>
</AntdIcon>
</IconReact>
</i>
</Icon>
</span>
@ -97,7 +99,8 @@ exports[`Search should show cross icon when input value exists 2`] = `
<i
className="anticon"
>
<AntdIcon
<IconReact
style={Object {}}
type="cross-circle"
/>
</i>

View File

@ -242,7 +242,6 @@ exports[`renders ./components/upload/demo/picture-card.md correctly 1`] = `
data-icon="delete"
fill="currentColor"
height="1em"
title="Remove file"
viewBox="0 0 1024 1024"
width="1em"
>

View File

@ -639,8 +639,7 @@ exports[`Upload List should non-image format file preview 1`] = `
</span>
</div>
<i
class="anticon anticon-cross"
title="Remove file"
class="anticon"
/>
</div>
</div>