use cross

This commit is contained in:
HeskeyBaozi 2018-08-24 19:00:06 +08:00
parent ee1d2469a8
commit 28e2117c68
3 changed files with 64 additions and 8 deletions

View File

@ -80,7 +80,21 @@ exports[`renders ./components/progress/demo/circle.md correctly 1`] = `
>
<i
class="anticon anticon-cross"
>
<svg
aria-hidden="true"
class=""
data-icon="cross"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M567.7 514.9l254.8-254.6c15.4-15.4 15.4-40.3 0-55.6-15.4-15.4-40.3-15.4-55.6 0L512 459.2 257.1 204.6c-15.4-15.4-40.3-15.4-55.6 0-15.4 15.4-15.4 40.3 0 55.6l254.8 254.6-254.8 254.7c-15.4 15.4-15.4 40.3 0 55.6 7.7 7.7 17.8 11.5 27.8 11.5 10.1 0 20.1-3.8 27.8-11.5L512 570.5l254.9 254.7c7.7 7.7 17.7 11.5 27.8 11.5 10.1 0 20.1-3.8 27.8-11.5 15.4-15.4 15.4-40.3 0-55.6L567.7 514.9z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -316,7 +330,21 @@ exports[`renders ./components/progress/demo/circle-mini.md correctly 1`] = `
>
<i
class="anticon anticon-cross"
>
<svg
aria-hidden="true"
class=""
data-icon="cross"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M567.7 514.9l254.8-254.6c15.4-15.4 15.4-40.3 0-55.6-15.4-15.4-40.3-15.4-55.6 0L512 459.2 257.1 204.6c-15.4-15.4-40.3-15.4-55.6 0-15.4 15.4-15.4 40.3 0 55.6l254.8 254.6-254.8 254.7c-15.4 15.4-15.4 40.3 0 55.6 7.7 7.7 17.8 11.5 27.8 11.5 10.1 0 20.1-3.8 27.8-11.5L512 570.5l254.9 254.7c7.7 7.7 17.7 11.5 27.8 11.5 10.1 0 20.1-3.8 27.8-11.5 15.4-15.4 15.4-40.3 0-55.6L567.7 514.9z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -652,7 +680,21 @@ exports[`renders ./components/progress/demo/line.md correctly 1`] = `
>
<i
class="anticon anticon-cross-circle"
>
<svg
aria-hidden="true"
class=""
data-icon="cross-circle"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M512 0C229.2 0 0 229.2 0 512s229.2 512 512 512 512-229.2 512-512S794.8 0 512 0zm205.3 666.9c14 14.1 14 36.9-.1 50.9-7 7-16.2 10.5-25.4 10.5s-18.5-3.5-25.5-10.6L512 563 357.7 717.7c-7 7.1-16.3 10.6-25.5 10.6s-18.4-3.5-25.4-10.5c-14.1-14-14.1-36.8-.1-50.9L461.2 512 306.7 357.1c-14-14.1-14-36.9.1-50.9s36.9-14 50.9.1L512 461l154.3-154.8c14-14.1 36.8-14.1 50.9-.1 14.1 14 14.1 36.8.1 50.9L562.8 512l154.5 154.9z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -787,7 +829,21 @@ exports[`renders ./components/progress/demo/line-mini.md correctly 1`] = `
>
<i
class="anticon anticon-cross-circle"
>
<svg
aria-hidden="true"
class=""
data-icon="cross-circle"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M512 0C229.2 0 0 229.2 0 512s229.2 512 512 512 512-229.2 512-512S794.8 0 512 0zm205.3 666.9c14 14.1 14 36.9-.1 50.9-7 7-16.2 10.5-25.4 10.5s-18.5-3.5-25.5-10.6L512 563 357.7 717.7c-7 7.1-16.3 10.6-25.5 10.6s-18.4-3.5-25.4-10.5c-14.1-14-14.1-36.8-.1-50.9L461.2 512 306.7 357.1c-14-14.1-14-36.9.1-50.9s36.9-14 50.9.1L512 461l154.3-154.8c14-14.1 36.8-14.1 50.9-.1 14.1 14 14.1 36.8.1 50.9L562.8 512l154.5 154.9z"
/>
</svg>
</i>
</span>
</div>
</div>

View File

@ -35,7 +35,7 @@
padding: 0 8px;
}
.@{iconfont-css-prefix}-cross {
.@{iconfont-css-prefix}-close {
.iconfont-size-under-12px(10px);
cursor: pointer;
margin-left: 3px;
@ -53,8 +53,8 @@
&,
a,
a:hover,
.@{iconfont-css-prefix}-cross,
.@{iconfont-css-prefix}-cross:hover {
.@{iconfont-css-prefix}-close,
.@{iconfont-css-prefix}-close:hover {
color: #fff;
}
}

View File

@ -39,7 +39,7 @@
"react-dom": ">=16.0.0"
},
"dependencies": {
"@ant-design/icons": "^0.2.1-beta.7",
"@ant-design/icons": "^0.2.1-beta.8",
"@ant-design/icons-react": "^0.2.0-beta.1",
"array-tree-filter": "^2.0.0",
"babel-runtime": "6.x",