2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/badge/demo/basic.md correctly 1`] = `
|
2017-03-01 11:16:58 +08:00
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class="ant-badge"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
<a
|
|
|
|
class="head-example"
|
2017-03-17 18:56:30 +08:00
|
|
|
href="#"
|
|
|
|
/>
|
2017-03-01 11:16:58 +08:00
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
2017-07-31 18:01:45 +08:00
|
|
|
title="5"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="transition:none;-ms-transform:translateY(-1500%);-webkit-transform:translateY(-1500%);transform:translateY(-1500%)"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class="current"
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-badge"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
<a
|
|
|
|
class="head-example"
|
2017-03-17 18:56:30 +08:00
|
|
|
href="#"
|
|
|
|
/>
|
2017-03-01 11:16:58 +08:00
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
2017-07-31 18:01:45 +08:00
|
|
|
title="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-03-01 11:16:58 +08:00
|
|
|
0
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/badge/demo/change.md correctly 1`] = `
|
2016-12-20 11:06:40 +08:00
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class="ant-badge"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<a
|
|
|
|
class="head-example"
|
2017-03-17 18:56:30 +08:00
|
|
|
href="#"
|
|
|
|
/>
|
2016-12-20 11:06:40 +08:00
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
2017-07-31 18:01:45 +08:00
|
|
|
title="5"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="transition:none;-ms-transform:translateY(-1500%);-webkit-transform:translateY(-1500%);transform:translateY(-1500%)"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class="current"
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-btn-group"
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<button
|
2017-02-04 22:35:33 +08:00
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2018-07-19 20:37:47 +08:00
|
|
|
<i
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-minus"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="minus"
|
|
|
|
fill="currentColor"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</i>
|
2016-12-20 11:06:40 +08:00
|
|
|
</button>
|
|
|
|
<button
|
2017-02-04 22:35:33 +08:00
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2018-07-19 20:37:47 +08:00
|
|
|
<i
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-plus"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="plus"
|
|
|
|
fill="currentColor"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
>
|
|
|
|
<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>
|
2016-12-20 11:06:40 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2017-09-20 16:26:18 +08:00
|
|
|
style="margin-top:10px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge"
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<a
|
|
|
|
class="head-example"
|
2017-03-17 18:56:30 +08:00
|
|
|
href="#"
|
|
|
|
/>
|
2016-12-20 11:06:40 +08:00
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-dot"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
|
|
|
/>
|
2016-12-20 11:06:40 +08:00
|
|
|
</span>
|
|
|
|
<span
|
2017-07-31 18:03:16 +08:00
|
|
|
checked=""
|
|
|
|
class="ant-switch ant-switch-checked"
|
2017-03-17 18:56:30 +08:00
|
|
|
tabindex="0"
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-switch-inner"
|
|
|
|
/>
|
2016-12-20 11:06:40 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/badge/demo/dot.md correctly 1`] = `
|
2016-12-20 11:06:40 +08:00
|
|
|
<div>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge"
|
|
|
|
>
|
2018-07-19 20:37:47 +08:00
|
|
|
<i
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-notification"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="notification"
|
|
|
|
fill="currentColor"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</i>
|
2016-12-20 11:06:40 +08:00
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-dot"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
|
|
|
/>
|
2016-12-20 11:06:40 +08:00
|
|
|
</span>
|
2018-02-24 11:40:44 +08:00
|
|
|
<span
|
|
|
|
class="ant-badge"
|
|
|
|
>
|
2018-07-19 20:37:47 +08:00
|
|
|
<i
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-notification"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="notification"
|
|
|
|
fill="currentColor"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</i>
|
2018-02-24 11:40:44 +08:00
|
|
|
</span>
|
2016-12-20 11:06:40 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge"
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<a
|
2017-03-17 18:56:30 +08:00
|
|
|
href="#"
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
Link something
|
|
|
|
</a>
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-dot"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
|
|
|
/>
|
2016-12-20 11:06:40 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/badge/demo/link.md correctly 1`] = `
|
2016-12-20 11:06:40 +08:00
|
|
|
<a
|
2017-03-17 18:56:30 +08:00
|
|
|
href="#"
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-badge"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="head-example"
|
|
|
|
/>
|
2016-12-20 11:06:40 +08:00
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
2017-07-31 18:01:45 +08:00
|
|
|
title="5"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="transition:none;-ms-transform:translateY(-1500%);-webkit-transform:translateY(-1500%);transform:translateY(-1500%)"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class="current"
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/badge/demo/no-wrapper.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div>
|
|
|
|
<span
|
2016-12-20 11:06:40 +08:00
|
|
|
class="ant-badge ant-badge-not-a-wrapper"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<sup
|
2017-10-18 17:19:42 +08:00
|
|
|
class="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
2017-07-31 18:01:45 +08:00
|
|
|
title="25"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="transition:none;-ms-transform:translateY(-1200%);-webkit-transform:translateY(-1200%);transform:translateY(-1200%)"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class="current"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="transition:none;-ms-transform:translateY(-1500%);-webkit-transform:translateY(-1500%);transform:translateY(-1500%)"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class="current"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-not-a-wrapper"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count"
|
|
|
|
data-show="true"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="background-color:#fff;color:#999;box-shadow:0 0 0 1px #d9d9d9 inset"
|
2017-07-31 18:01:45 +08:00
|
|
|
title="4"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="transition:none;-ms-transform:translateY(-1400%);-webkit-transform:translateY(-1400%);transform:translateY(-1400%)"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class="current"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
2016-12-20 11:06:40 +08:00
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-not-a-wrapper"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<sup
|
2017-10-18 17:19:42 +08:00
|
|
|
class="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2016-12-20 11:06:40 +08:00
|
|
|
data-show="true"
|
2017-10-16 19:53:46 +08:00
|
|
|
style="background-color:#52c41a"
|
2017-08-31 10:55:25 +08:00
|
|
|
title="109"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
99+
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/badge/demo/overflow.md correctly 1`] = `
|
2016-12-20 11:06:40 +08:00
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class="ant-badge"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<a
|
|
|
|
class="head-example"
|
2017-03-17 18:56:30 +08:00
|
|
|
href="#"
|
|
|
|
/>
|
2016-12-20 11:06:40 +08:00
|
|
|
<sup
|
2017-10-18 17:19:42 +08:00
|
|
|
class="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
2017-07-31 18:01:45 +08:00
|
|
|
title="99"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="transition:none;-ms-transform:translateY(-1900%);-webkit-transform:translateY(-1900%);transform:translateY(-1900%)"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class="current"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="transition:none;-ms-transform:translateY(-1900%);-webkit-transform:translateY(-1900%);transform:translateY(-1900%)"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class="current"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2017-03-17 18:56:30 +08:00
|
|
|
class=""
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
<span
|
2016-12-20 11:06:40 +08:00
|
|
|
class="ant-badge"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-20 11:06:40 +08:00
|
|
|
<a
|
|
|
|
class="head-example"
|
2017-03-17 18:56:30 +08:00
|
|
|
href="#"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<sup
|
2017-10-18 17:19:42 +08:00
|
|
|
class="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
2017-08-31 10:55:25 +08:00
|
|
|
title="100"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
99+
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-badge"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<a
|
|
|
|
class="head-example"
|
2017-03-17 18:56:30 +08:00
|
|
|
href="#"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<sup
|
2017-10-18 17:19:42 +08:00
|
|
|
class="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
2017-08-31 10:55:25 +08:00
|
|
|
title="99"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
10+
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-badge"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<a
|
|
|
|
class="head-example"
|
2017-03-17 18:56:30 +08:00
|
|
|
href="#"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<sup
|
2017-10-18 17:19:42 +08:00
|
|
|
class="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2017-03-17 18:56:30 +08:00
|
|
|
data-show="true"
|
2017-08-31 10:55:25 +08:00
|
|
|
title="1000"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
999+
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/badge/demo/status.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-dot ant-badge-status-success"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-text"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-dot ant-badge-status-error"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-text"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-dot ant-badge-status-default"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-text"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-dot ant-badge-status-processing"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-text"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-dot ant-badge-status-warning"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-text"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-dot ant-badge-status-success"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-text"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
Success
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-dot ant-badge-status-error"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-text"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
Error
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-dot ant-badge-status-default"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-text"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
Default
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-dot ant-badge-status-processing"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-text"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
Processing
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<br />
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge ant-badge-status ant-badge-not-a-wrapper"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-dot ant-badge-status-warning"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-badge-status-text"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
Warning
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
2018-04-10 01:09:18 +08:00
|
|
|
|
|
|
|
exports[`renders ./components/badge/demo/title.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class="ant-badge"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="head-example"
|
|
|
|
href="#"
|
|
|
|
/>
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count"
|
|
|
|
data-show="true"
|
|
|
|
title="Custom hover text"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
|
|
|
style="transition:none;-ms-transform:translateY(-1500%);-webkit-transform:translateY(-1500%);transform:translateY(-1500%)"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="current"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|