2018-05-25 17:00:32 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2019-01-09 22:32:06 +08:00
|
|
|
exports[`Badge badge should support float number 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
|
|
|
data-show="true"
|
|
|
|
title="3.5"
|
|
|
|
>
|
|
|
|
3.5
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Badge badge should support float number 2`] = `
|
|
|
|
<Badge
|
|
|
|
count="3.5"
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<Animate
|
|
|
|
animation={Object {}}
|
|
|
|
component=""
|
|
|
|
componentProps={Object {}}
|
|
|
|
onAppear={[Function]}
|
|
|
|
onEnd={[Function]}
|
|
|
|
onEnter={[Function]}
|
|
|
|
onLeave={[Function]}
|
|
|
|
showProp="data-show"
|
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
2019-01-09 22:32:06 +08:00
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<AnimateChild
|
2019-01-09 22:32:06 +08:00
|
|
|
animation={Object {}}
|
2019-04-16 14:22:22 +08:00
|
|
|
key="scrollNumber"
|
2019-01-09 22:32:06 +08:00
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<ScrollNumber
|
|
|
|
className="ant-badge-count ant-badge-multiple-words"
|
|
|
|
count="3.5"
|
|
|
|
data-show={true}
|
2019-01-09 22:32:06 +08:00
|
|
|
key="scrollNumber"
|
2019-04-16 14:22:22 +08:00
|
|
|
prefixCls="ant-scroll-number"
|
|
|
|
title="3.5"
|
|
|
|
>
|
|
|
|
<sup
|
|
|
|
className="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2019-01-09 22:32:06 +08:00
|
|
|
data-show={true}
|
|
|
|
title="3.5"
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
3.5
|
|
|
|
</sup>
|
|
|
|
</ScrollNumber>
|
|
|
|
</AnimateChild>
|
|
|
|
</Animate>
|
|
|
|
</span>
|
2019-01-09 22:32:06 +08:00
|
|
|
</Badge>
|
|
|
|
`;
|
|
|
|
|
2020-07-28 15:27:50 +08:00
|
|
|
exports[`Badge render Badge size when contains children 1`] = `
|
|
|
|
Array [
|
|
|
|
<span
|
|
|
|
class="ant-badge"
|
|
|
|
>
|
|
|
|
<a />
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count"
|
|
|
|
data-show="true"
|
|
|
|
title="5"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
|
|
|
style="transition:none;-ms-transform:translateY(-1500%);-webkit-transform:translateY(-1500%);transform:translateY(-1500%)"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit current"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>,
|
|
|
|
<span
|
|
|
|
class="ant-badge"
|
|
|
|
>
|
|
|
|
<a />
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count ant-badge-count-sm"
|
|
|
|
data-show="true"
|
|
|
|
title="5"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
|
|
|
style="transition:none;-ms-transform:translateY(-1500%);-webkit-transform:translateY(-1500%);transform:translateY(-1500%)"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit current"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2020-02-11 12:56:18 +08:00
|
|
|
exports[`Badge render Badge status/color when contains children 1`] = `
|
|
|
|
Array [
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-status"
|
|
|
|
>
|
|
|
|
<a />
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-dot ant-badge-status-success"
|
|
|
|
data-show="true"
|
|
|
|
title="5"
|
|
|
|
/>
|
|
|
|
</span>,
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-status"
|
|
|
|
>
|
|
|
|
<a />
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-dot ant-badge-status-blue"
|
|
|
|
data-show="true"
|
|
|
|
title="5"
|
|
|
|
/>
|
|
|
|
</span>,
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-status"
|
|
|
|
>
|
|
|
|
<a />
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-dot"
|
|
|
|
data-show="true"
|
|
|
|
style="background:#08c"
|
|
|
|
title="5"
|
|
|
|
/>
|
|
|
|
</span>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2019-04-02 19:01:12 +08:00
|
|
|
exports[`Badge render correct with negative number 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
|
|
|
data-show="true"
|
|
|
|
title="-10"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-symbol"
|
|
|
|
>
|
|
|
|
-
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
|
|
|
style="transition:none;-ms-transform:translateY(-1100%);-webkit-transform:translateY(-1100%);transform:translateY(-1100%)"
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit current"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
|
|
|
style="transition:none;-ms-transform:translateY(-1000%);-webkit-transform:translateY(-1000%);transform:translateY(-1000%)"
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit current"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
|
|
|
data-show="true"
|
|
|
|
title="-10"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-symbol"
|
|
|
|
>
|
|
|
|
-
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
|
|
|
style="transition:none;-ms-transform:translateY(-1100%);-webkit-transform:translateY(-1100%);transform:translateY(-1100%)"
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit current"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
|
|
|
style="transition:none;-ms-transform:translateY(-1000%);-webkit-transform:translateY(-1000%);transform:translateY(-1000%)"
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit current"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2019-04-02 19:01:12 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2020-01-02 19:10:16 +08:00
|
|
|
exports[`Badge rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-not-a-wrapper ant-badge-rtl"
|
|
|
|
/>
|
|
|
|
`;
|
|
|
|
|
2020-06-06 13:20:09 +08:00
|
|
|
exports[`Badge rtl render component should be rendered correctly in RTL direction 2`] = `
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-rtl"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="head-example"
|
|
|
|
href="#"
|
|
|
|
>
|
|
|
|
head
|
|
|
|
</a>
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count"
|
|
|
|
data-show="true"
|
|
|
|
style="left:10px;margin-top:10px"
|
|
|
|
title="5"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
|
|
|
style="transition:none;-ms-transform:translateY(-1500%);-webkit-transform:translateY(-1500%);transform:translateY(-1500%)"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit current"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="ant-scroll-number-only-unit"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2018-05-25 17:00:32 +08:00
|
|
|
exports[`Badge should be compatible with borderColor style 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<sup
|
|
|
|
class="ant-scroll-number ant-badge-count"
|
|
|
|
data-show="true"
|
2018-06-02 13:18:11 +08:00
|
|
|
style="background-color:#fff;color:#999;border-color:#d9d9d9;box-shadow:0 0 0 1px #d9d9d9 inset"
|
2018-05-25 17:00:32 +08:00
|
|
|
title="4"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-scroll-number-only"
|
2018-06-02 13:18:11 +08:00
|
|
|
style="transition:none;-ms-transform:translateY(-1400%);-webkit-transform:translateY(-1400%);transform:translateY(-1400%)"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit current"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
class="ant-scroll-number-only-unit"
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Badge should render when count is changed 1`] = `
|
|
|
|
<Badge
|
|
|
|
count={10}
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<Animate
|
|
|
|
animation={Object {}}
|
|
|
|
component=""
|
|
|
|
componentProps={Object {}}
|
|
|
|
onAppear={[Function]}
|
|
|
|
onEnd={[Function]}
|
|
|
|
onEnter={[Function]}
|
|
|
|
onLeave={[Function]}
|
|
|
|
showProp="data-show"
|
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<AnimateChild
|
2018-05-25 17:00:32 +08:00
|
|
|
animation={Object {}}
|
2019-04-16 14:22:22 +08:00
|
|
|
key="scrollNumber"
|
2018-05-25 17:00:32 +08:00
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<ScrollNumber
|
|
|
|
className="ant-badge-count ant-badge-multiple-words"
|
|
|
|
count={10}
|
|
|
|
data-show={true}
|
2018-05-25 17:34:40 +08:00
|
|
|
key="scrollNumber"
|
2019-04-16 14:22:22 +08:00
|
|
|
prefixCls="ant-scroll-number"
|
|
|
|
title={10}
|
|
|
|
>
|
|
|
|
<sup
|
|
|
|
className="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2018-05-25 17:00:32 +08:00
|
|
|
data-show={true}
|
|
|
|
title={10}
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-scroll-number-only"
|
|
|
|
key="0"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"WebkitTransform": "translateY(-1900%)",
|
|
|
|
"msTransform": "translateY(-1900%)",
|
|
|
|
"transform": "translateY(-1900%)",
|
|
|
|
"transition": "none",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="0"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="1"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="2"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="3"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="4"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="5"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="6"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="7"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="8"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="9"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="10"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="11"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="12"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="13"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="14"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="15"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="16"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="17"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="18"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit current"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="19"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="20"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="21"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="22"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="23"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="24"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="25"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="26"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="27"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="28"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="29"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</ScrollNumber>
|
|
|
|
</AnimateChild>
|
|
|
|
</Animate>
|
|
|
|
</span>
|
2018-05-25 17:00:32 +08:00
|
|
|
</Badge>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Badge should render when count is changed 2`] = `
|
|
|
|
<Badge
|
|
|
|
count={11}
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<Animate
|
|
|
|
animation={Object {}}
|
|
|
|
component=""
|
|
|
|
componentProps={Object {}}
|
|
|
|
onAppear={[Function]}
|
|
|
|
onEnd={[Function]}
|
|
|
|
onEnter={[Function]}
|
|
|
|
onLeave={[Function]}
|
|
|
|
showProp="data-show"
|
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<AnimateChild
|
2018-05-25 17:00:32 +08:00
|
|
|
animation={Object {}}
|
2019-04-16 14:22:22 +08:00
|
|
|
key="scrollNumber"
|
2018-05-25 17:00:32 +08:00
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<ScrollNumber
|
|
|
|
className="ant-badge-count ant-badge-multiple-words"
|
|
|
|
count={11}
|
|
|
|
data-show={true}
|
2018-05-25 17:34:40 +08:00
|
|
|
key="scrollNumber"
|
2019-04-16 14:22:22 +08:00
|
|
|
prefixCls="ant-scroll-number"
|
|
|
|
title={11}
|
|
|
|
>
|
|
|
|
<sup
|
|
|
|
className="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2018-05-25 17:00:32 +08:00
|
|
|
data-show={true}
|
|
|
|
title={11}
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-scroll-number-only"
|
|
|
|
key="1"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"WebkitTransform": "translateY(-1100%)",
|
|
|
|
"msTransform": "translateY(-1100%)",
|
|
|
|
"transform": "translateY(-1100%)",
|
|
|
|
"transition": "none",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="0"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="1"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="2"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="3"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="4"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="5"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="6"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="7"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="8"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="9"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="10"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit current"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="11"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="12"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="13"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="14"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="15"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="16"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="17"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="18"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="19"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="20"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="21"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="22"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="23"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="24"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="25"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="26"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="27"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="28"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="29"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
className="ant-scroll-number-only"
|
|
|
|
key="0"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"WebkitTransform": "translateY(-1000%)",
|
|
|
|
"msTransform": "translateY(-1000%)",
|
|
|
|
"transform": "translateY(-1000%)",
|
|
|
|
"transition": "none",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="0"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="1"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="2"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="3"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="4"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="5"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="6"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="7"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="8"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="9"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit current"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="10"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="11"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="12"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="13"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="14"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="15"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="16"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="17"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="18"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="19"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="20"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="21"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="22"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="23"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="24"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="25"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="26"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="27"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="28"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="29"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</ScrollNumber>
|
|
|
|
</AnimateChild>
|
|
|
|
</Animate>
|
|
|
|
</span>
|
2018-05-25 17:00:32 +08:00
|
|
|
</Badge>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Badge should render when count is changed 3`] = `
|
|
|
|
<Badge
|
|
|
|
count={11}
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<Animate
|
|
|
|
animation={Object {}}
|
|
|
|
component=""
|
|
|
|
componentProps={Object {}}
|
|
|
|
onAppear={[Function]}
|
|
|
|
onEnd={[Function]}
|
|
|
|
onEnter={[Function]}
|
|
|
|
onLeave={[Function]}
|
|
|
|
showProp="data-show"
|
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<AnimateChild
|
2018-05-25 17:00:32 +08:00
|
|
|
animation={Object {}}
|
2019-04-16 14:22:22 +08:00
|
|
|
key="scrollNumber"
|
2018-05-25 17:00:32 +08:00
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<ScrollNumber
|
|
|
|
className="ant-badge-count ant-badge-multiple-words"
|
|
|
|
count={11}
|
|
|
|
data-show={true}
|
2018-05-25 17:34:40 +08:00
|
|
|
key="scrollNumber"
|
2019-04-16 14:22:22 +08:00
|
|
|
prefixCls="ant-scroll-number"
|
|
|
|
title={11}
|
|
|
|
>
|
|
|
|
<sup
|
|
|
|
className="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2018-05-25 17:00:32 +08:00
|
|
|
data-show={true}
|
|
|
|
title={11}
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-scroll-number-only"
|
|
|
|
key="1"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"WebkitTransform": "translateY(-1100%)",
|
|
|
|
"msTransform": "translateY(-1100%)",
|
|
|
|
"transform": "translateY(-1100%)",
|
|
|
|
"transition": undefined,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="0"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="1"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="2"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="3"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="4"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="5"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="6"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="7"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="8"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="9"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="10"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit current"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="11"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="12"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="13"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="14"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="15"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="16"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="17"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="18"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="19"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="20"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="21"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="22"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="23"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="24"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="25"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="26"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="27"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="28"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="29"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
className="ant-scroll-number-only"
|
|
|
|
key="0"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"WebkitTransform": "translateY(-1100%)",
|
|
|
|
"msTransform": "translateY(-1100%)",
|
|
|
|
"transform": "translateY(-1100%)",
|
|
|
|
"transition": undefined,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="0"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="1"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="2"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="3"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="4"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="5"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="6"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="7"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="8"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="9"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="10"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit current"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="11"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="12"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="13"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="14"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="15"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="16"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="17"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="18"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="19"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="20"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="21"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="22"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="23"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="24"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="25"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="26"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="27"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="28"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="29"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</ScrollNumber>
|
|
|
|
</AnimateChild>
|
|
|
|
</Animate>
|
|
|
|
</span>
|
2018-05-25 17:00:32 +08:00
|
|
|
</Badge>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Badge should render when count is changed 4`] = `
|
|
|
|
<Badge
|
2020-05-31 12:38:32 +08:00
|
|
|
count={111}
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<Animate
|
|
|
|
animation={Object {}}
|
|
|
|
component=""
|
|
|
|
componentProps={Object {}}
|
|
|
|
onAppear={[Function]}
|
|
|
|
onEnd={[Function]}
|
|
|
|
onEnter={[Function]}
|
|
|
|
onLeave={[Function]}
|
|
|
|
showProp="data-show"
|
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<AnimateChild
|
2018-05-25 17:00:32 +08:00
|
|
|
animation={Object {}}
|
2019-04-16 14:22:22 +08:00
|
|
|
key="scrollNumber"
|
2018-05-25 17:00:32 +08:00
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<ScrollNumber
|
|
|
|
className="ant-badge-count ant-badge-multiple-words"
|
2020-05-31 12:38:32 +08:00
|
|
|
count="99+"
|
2019-04-16 14:22:22 +08:00
|
|
|
data-show={true}
|
2018-05-25 17:34:40 +08:00
|
|
|
key="scrollNumber"
|
2019-04-16 14:22:22 +08:00
|
|
|
prefixCls="ant-scroll-number"
|
2020-05-31 12:38:32 +08:00
|
|
|
title={111}
|
2019-04-16 14:22:22 +08:00
|
|
|
>
|
|
|
|
<sup
|
|
|
|
className="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
2018-05-25 17:00:32 +08:00
|
|
|
data-show={true}
|
2020-05-31 12:38:32 +08:00
|
|
|
title={111}
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-scroll-number-only"
|
|
|
|
key="1"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"WebkitTransform": "translateY(-1100%)",
|
|
|
|
"msTransform": "translateY(-1100%)",
|
|
|
|
"transform": "translateY(-1100%)",
|
|
|
|
"transition": "none",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="0"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="1"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="2"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="3"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="4"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="5"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="6"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="7"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="8"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="9"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="10"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit current"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="11"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="12"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="13"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="14"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="15"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="16"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="17"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="18"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="19"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="20"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="21"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="22"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="23"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="24"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="25"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="26"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="27"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="28"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="29"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
className="ant-scroll-number-only"
|
|
|
|
key="0"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"WebkitTransform": "translateY(-1100%)",
|
|
|
|
"msTransform": "translateY(-1100%)",
|
|
|
|
"transform": "translateY(-1100%)",
|
|
|
|
"transition": "none",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="0"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="1"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="2"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="3"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="4"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="5"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="6"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="7"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="8"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="9"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="10"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit current"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="11"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="12"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="13"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="14"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="15"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="16"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="17"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="18"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="19"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="20"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="21"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="22"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="23"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="24"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="25"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="26"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="27"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="28"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="29"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</ScrollNumber>
|
|
|
|
</AnimateChild>
|
|
|
|
</Animate>
|
|
|
|
</span>
|
2018-05-25 17:00:32 +08:00
|
|
|
</Badge>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Badge should render when count is changed 5`] = `
|
2020-05-31 12:38:32 +08:00
|
|
|
<Badge
|
|
|
|
count={10}
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
className="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<Animate
|
|
|
|
animation={Object {}}
|
|
|
|
component=""
|
|
|
|
componentProps={Object {}}
|
|
|
|
onAppear={[Function]}
|
|
|
|
onEnd={[Function]}
|
|
|
|
onEnter={[Function]}
|
|
|
|
onLeave={[Function]}
|
|
|
|
showProp="data-show"
|
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
|
|
|
>
|
|
|
|
<AnimateChild
|
|
|
|
animation={Object {}}
|
|
|
|
key="scrollNumber"
|
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
|
|
|
>
|
|
|
|
<ScrollNumber
|
|
|
|
className="ant-badge-count ant-badge-multiple-words"
|
|
|
|
count={10}
|
|
|
|
data-show={true}
|
|
|
|
key="scrollNumber"
|
|
|
|
prefixCls="ant-scroll-number"
|
|
|
|
title={10}
|
|
|
|
>
|
|
|
|
<sup
|
|
|
|
className="ant-scroll-number ant-badge-count ant-badge-multiple-words"
|
|
|
|
data-show={true}
|
|
|
|
title={10}
|
|
|
|
>
|
|
|
|
99+
|
|
|
|
</sup>
|
|
|
|
</ScrollNumber>
|
|
|
|
</AnimateChild>
|
|
|
|
</Animate>
|
|
|
|
</span>
|
|
|
|
</Badge>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Badge should render when count is changed 6`] = `
|
2018-05-25 17:00:32 +08:00
|
|
|
<Badge
|
|
|
|
count={9}
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-badge ant-badge-not-a-wrapper"
|
|
|
|
>
|
|
|
|
<Animate
|
|
|
|
animation={Object {}}
|
|
|
|
component=""
|
|
|
|
componentProps={Object {}}
|
|
|
|
onAppear={[Function]}
|
|
|
|
onEnd={[Function]}
|
|
|
|
onEnter={[Function]}
|
|
|
|
onLeave={[Function]}
|
|
|
|
showProp="data-show"
|
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
2018-05-25 17:00:32 +08:00
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<AnimateChild
|
2018-05-25 17:00:32 +08:00
|
|
|
animation={Object {}}
|
2019-04-16 14:22:22 +08:00
|
|
|
key="scrollNumber"
|
2018-05-25 17:00:32 +08:00
|
|
|
transitionAppear={true}
|
|
|
|
transitionEnter={true}
|
|
|
|
transitionLeave={true}
|
|
|
|
transitionName=""
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<ScrollNumber
|
|
|
|
className="ant-badge-count"
|
|
|
|
count={9}
|
|
|
|
data-show={true}
|
2018-05-25 17:34:40 +08:00
|
|
|
key="scrollNumber"
|
2019-04-16 14:22:22 +08:00
|
|
|
prefixCls="ant-scroll-number"
|
|
|
|
title={9}
|
|
|
|
>
|
|
|
|
<sup
|
|
|
|
className="ant-scroll-number ant-badge-count"
|
2018-05-25 17:00:32 +08:00
|
|
|
data-show={true}
|
|
|
|
title={9}
|
|
|
|
>
|
2019-04-16 14:22:22 +08:00
|
|
|
<span
|
|
|
|
className="ant-scroll-number-only"
|
|
|
|
key="1"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"WebkitTransform": "translateY(-1100%)",
|
|
|
|
"msTransform": "translateY(-1100%)",
|
|
|
|
"transform": "translateY(-1100%)",
|
|
|
|
"transition": "none",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="0"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="1"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="2"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="3"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="4"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="5"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="6"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="7"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="8"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="9"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="10"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit current"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="11"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="12"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="13"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="14"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="15"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="16"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="17"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="18"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="19"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="20"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="21"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="22"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="23"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="24"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="25"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="26"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="27"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="28"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="29"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
className="ant-scroll-number-only"
|
|
|
|
key="0"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"WebkitTransform": "translateY(-1000%)",
|
|
|
|
"msTransform": "translateY(-1000%)",
|
|
|
|
"transform": "translateY(-1000%)",
|
|
|
|
"transition": "none",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="0"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="1"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="2"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="3"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="4"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="5"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="6"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="7"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="8"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="9"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit current"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="10"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="11"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="12"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="13"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="14"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="15"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="16"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="17"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="18"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="19"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="20"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="21"
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="22"
|
|
|
|
>
|
|
|
|
2
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="23"
|
|
|
|
>
|
|
|
|
3
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="24"
|
|
|
|
>
|
|
|
|
4
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="25"
|
|
|
|
>
|
|
|
|
5
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="26"
|
|
|
|
>
|
|
|
|
6
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="27"
|
|
|
|
>
|
|
|
|
7
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="28"
|
|
|
|
>
|
|
|
|
8
|
|
|
|
</p>
|
|
|
|
<p
|
2020-02-05 13:52:26 +08:00
|
|
|
className="ant-scroll-number-only-unit"
|
2019-04-16 14:22:22 +08:00
|
|
|
key="29"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</p>
|
|
|
|
</span>
|
|
|
|
</sup>
|
|
|
|
</ScrollNumber>
|
|
|
|
</AnimateChild>
|
|
|
|
</Animate>
|
|
|
|
</span>
|
2018-05-25 17:00:32 +08:00
|
|
|
</Badge>
|
|
|
|
`;
|
2018-12-18 18:31:12 +08:00
|
|
|
|
|
|
|
exports[`Badge should support offset when count is a ReactNode 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-badge"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="head-example"
|
|
|
|
href="#"
|
2019-08-11 16:38:04 +08:00
|
|
|
>
|
|
|
|
head
|
|
|
|
</a>
|
2018-12-18 18:31:12 +08:00
|
|
|
<span
|
|
|
|
class="ant-scroll-number-custom-component custom"
|
|
|
|
style="right:-10px;margin-top:20px;color:#f5222d"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
`;
|
2020-07-08 14:47:07 +08:00
|
|
|
|
|
|
|
exports[`Ribbon rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-ribbon-wrapper"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-ribbon ant-ribbon-placement-end ant-ribbon-rtl"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-ribbon-corner"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|