This commit is contained in:
乐仪 2017-06-08 11:44:04 +08:00
parent 7667225b0f
commit 153fb0fc34
10 changed files with 139 additions and 334 deletions

View File

@ -79,6 +79,30 @@ exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
</div>
`;
exports[`renders ./components/avatar/demo/dynamic.md correctly 1`] = `
<div>
<span
class="ant-avatar ant-avatar-lg ant-avatar-circle"
style="background-color:#f56a00;"
>
<span
class="ant-avatar-string"
>
U
</span>
</span>
<button
class="ant-btn ant-btn-sm"
style="margin-left:16px;"
type="button"
>
<span>
Change
</span>
</button>
</div>
`;
exports[`renders ./components/avatar/demo/type.md correctly 1`] = `
<div>
<div

View File

@ -0,0 +1,49 @@
---
order: 2
title:
zh-CN: 自动调整字符大小
en-US: Autoset Font Size
---
## zh-CN
对于字符型的头像,当字符串较长时,字体大小可以根据头像宽度自动调整。
## en-US
For letter type Avatar, when the letters are too long to display, the font size can be automatically adjusted according to the width of the Avatar.
````jsx
import { Avatar, Button } from 'antd';
const UserList = ['U', 'Lucy', 'Tom', 'Edward'];
const colorList = ['#f56a00', '#7265e6', '#ffbf00', '#00a2ae'];
class Autoset extends React.Component {
constructor(props) {
super(props);
this.state = {
user: UserList[0],
color: colorList[0],
};
}
changeUser = () => {
const index = UserList.indexOf(this.state.user);
this.setState({
user: index < UserList.length - 1 ? UserList[index + 1] : UserList[0],
color: index < colorList.length - 1 ? colorList[index + 1] : colorList[0],
});
}
render() {
return (
<div>
<Avatar style={{ backgroundColor: this.state.color }} size="large">{this.state.user}</Avatar>
<Button size="small" style={{ marginLeft: 16 }} onClick={this.changeUser}>Change</Button>
</div>
);
}
}
ReactDOM.render(<Autoset />
, mountNode);
````

View File

@ -24,9 +24,8 @@ export default class Avatar extends React.Component<AvatarProps, any> {
shape: 'circle',
size: 'default',
};
refs: {
avatarChildren: HTMLElement;
};
private avatarChildren: any;
constructor(props) {
super(props);
@ -36,7 +35,18 @@ export default class Avatar extends React.Component<AvatarProps, any> {
}
componentDidMount() {
const childrenNode = this.refs.avatarChildren;
this.setScale();
}
componentDidUpdate(prevProps, prevState) {
if (prevProps.children !== this.props.children
|| (prevState.scale !== this.state.scale && this.state.scale === 1)) {
this.setScale();
}
}
setScale = () => {
const childrenNode = this.avatarChildren;
if (childrenNode) {
const childrenWidth = childrenNode.offsetWidth;
const avatarWidth = ReactDOM.findDOMNode(this).getBoundingClientRect().width;
@ -45,6 +55,10 @@ export default class Avatar extends React.Component<AvatarProps, any> {
this.setState({
scale: (avatarWidth - 8) / childrenWidth,
});
} else {
this.setState({
scale: 1,
});
}
}
}
@ -54,21 +68,12 @@ export default class Avatar extends React.Component<AvatarProps, any> {
prefixCls, shape, size, src, icon, className, ...others,
} = this.props;
let sizeCls = '';
switch (size) {
case 'large':
sizeCls = 'lg';
break;
case 'small':
sizeCls = 'sm';
break;
default:
sizeCls = '';
break;
}
const sizeCls = classNames({
[`${prefixCls}-lg`]: size === 'large',
[`${prefixCls}-sm`]: size === 'small',
});
const classString = classNames(prefixCls, className, {
[`${prefixCls}-${sizeCls}`]: sizeCls,
const classString = classNames(prefixCls, className, sizeCls, {
[`${prefixCls}-${shape}`]: shape,
[`${prefixCls}-image`]: src,
[`${prefixCls}-icon`]: icon,
@ -80,17 +85,30 @@ export default class Avatar extends React.Component<AvatarProps, any> {
} else if (icon) {
children = <Icon type={icon} />;
} else {
const childrenNode = this.refs.avatarChildren;
if (childrenNode && this.state.scale !== 1) {
const childrenNode = this.avatarChildren;
if (childrenNode || this.state.scale !== 1) {
const childrenStyle: React.CSSProperties = {
msTransform: `scale(${this.state.scale})`,
WebkitTransform: `scale(${this.state.scale})`,
transform: `scale(${this.state.scale})`,
position: 'absolute',
display: 'inline-block',
left: `calc(50% - ${childrenNode.offsetWidth / 2}px)`,
left: `calc(50% - ${Math.round(childrenNode.offsetWidth / 2)}px)`,
};
children = <span className={`${prefixCls}-string`} ref="avatarChildren" style={childrenStyle}>{children}</span>;
children = <span
className={`${prefixCls}-string`}
ref={span => this.avatarChildren = span}
style={childrenStyle}
>
{children}
</span>;
} else {
children = <span className={`${prefixCls}-string`} ref="avatarChildren">{children}</span>;
children = <span
className={`${prefixCls}-string`}
ref={span => this.avatarChildren = span}
>
{children}
</span>;
}
}
return (

View File

@ -2268,13 +2268,9 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
/>
</div>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="0"
class="ant-slider-handle"
role="slider"
style="left:0%;"
value="0"
/>
<div
class="ant-slider-mark"

View File

@ -511,13 +511,9 @@ exports[`renders ./components/grid/demo/playground.md correctly 1`] = `
/>
</div>
<div
aria-disabled="false"
aria-valuemax="5"
aria-valuemin="0"
aria-valuenow="1"
class="ant-slider-handle"
role="slider"
style="left:20%;"
value="1"
/>
<div
class="ant-slider-mark"
@ -608,13 +604,9 @@ exports[`renders ./components/grid/demo/playground.md correctly 1`] = `
/>
</div>
<div
aria-disabled="false"
aria-valuemax="5"
aria-valuemin="0"
aria-valuenow="2"
class="ant-slider-handle"
role="slider"
style="left:40%;"
value="2"
/>
<div
class="ant-slider-mark"

View File

@ -65,14 +65,12 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="Previous Page"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -81,7 +79,6 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -90,7 +87,6 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -99,7 +95,6 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -108,7 +103,6 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -118,7 +112,6 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="Next Page"
>
<a />
@ -1548,14 +1541,12 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="Previous Page"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -1564,7 +1555,6 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -1573,7 +1563,6 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -1582,7 +1571,6 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -1591,7 +1579,6 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -1601,7 +1588,6 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="Next Page"
>
<a />

View File

@ -8,14 +8,12 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -24,7 +22,6 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -33,7 +30,6 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -42,7 +38,6 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -51,7 +46,6 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -61,7 +55,6 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -77,14 +70,12 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1"
tabindex="0"
title="1"
>
<a>
@ -93,7 +84,6 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -102,7 +92,6 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3 ant-pagination-item-active"
tabindex="0"
title="3"
>
<a>
@ -111,7 +100,6 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -120,7 +108,6 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"
tabindex="0"
title="5"
>
<a>
@ -129,14 +116,12 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
</li>
<li
class="ant-pagination-jump-next"
tabindex="0"
title="向后 5 页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-50"
tabindex="0"
title="50"
>
<a>
@ -146,7 +131,6 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -198,14 +182,12 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1"
tabindex="0"
title="1"
>
<a>
@ -214,7 +196,6 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -223,7 +204,6 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3 ant-pagination-item-active"
tabindex="0"
title="3"
>
<a>
@ -232,7 +212,6 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -241,7 +220,6 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -251,7 +229,6 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -267,14 +244,12 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1"
tabindex="0"
title="1"
>
<a>
@ -283,7 +258,6 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2 ant-pagination-item-active"
tabindex="0"
title="2"
>
<a>
@ -292,7 +266,6 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -301,7 +274,6 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -310,7 +282,6 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"
tabindex="0"
title="5"
>
<a>
@ -319,14 +290,12 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
</li>
<li
class="ant-pagination-jump-next"
tabindex="0"
title="向后 5 页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-50"
tabindex="0"
title="50"
>
<a>
@ -336,7 +305,6 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -367,14 +335,12 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -383,7 +349,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -392,7 +357,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -401,7 +365,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -410,7 +373,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -420,7 +382,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -433,14 +394,12 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -449,7 +408,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -458,7 +416,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -467,7 +424,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -476,7 +432,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -486,7 +441,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -550,14 +504,12 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -566,7 +518,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -575,7 +526,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -584,7 +534,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -593,7 +542,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -603,7 +551,6 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -620,14 +567,12 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1"
tabindex="0"
title="1"
>
<a>
@ -636,14 +581,12 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
</li>
<li
class="ant-pagination-jump-prev"
tabindex="0"
title="向前 5 页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-4 ant-pagination-item-after-jump-prev"
tabindex="0"
title="4"
>
<a>
@ -652,7 +595,6 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -661,7 +603,6 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-6 ant-pagination-item-active"
tabindex="0"
title="6"
>
<a>
@ -670,7 +611,6 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-7"
tabindex="0"
title="7"
>
<a>
@ -679,7 +619,6 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-8 ant-pagination-item-before-jump-next"
tabindex="0"
title="8"
>
<a>
@ -688,14 +627,12 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
</li>
<li
class="ant-pagination-jump-next"
tabindex="0"
title="向后 5 页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-50"
tabindex="0"
title="50"
>
<a>
@ -705,7 +642,6 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -720,7 +656,6 @@ exports[`renders ./components/pagination/demo/simple.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
@ -730,7 +665,6 @@ exports[`renders ./components/pagination/demo/simple.md correctly 1`] = `
title="2/5"
>
<input
size="3"
type="text"
value="2"
/>
@ -744,7 +678,6 @@ exports[`renders ./components/pagination/demo/simple.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -766,14 +699,12 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -782,7 +713,6 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -791,7 +721,6 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -800,7 +729,6 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -809,7 +737,6 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -819,7 +746,6 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -838,14 +764,12 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -854,7 +778,6 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -863,7 +786,6 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -872,7 +794,6 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -881,7 +802,6 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -891,7 +811,6 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />

View File

@ -16,13 +16,9 @@ exports[`renders ./components/slider/demo/basic.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="30"
class="ant-slider-handle"
role="slider"
style="left:30%;"
value="30"
/>
<div
class="ant-slider-mark"
@ -42,22 +38,14 @@ exports[`renders ./components/slider/demo/basic.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="20"
class="ant-slider-handle ant-slider-handle-1"
role="slider"
style="left:20%;"
value="20"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="50"
class="ant-slider-handle ant-slider-handle-2"
role="slider"
style="left:50%;"
value="50"
/>
<div
class="ant-slider-mark"
@ -91,13 +79,9 @@ exports[`renders ./components/slider/demo/event.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="30"
class="ant-slider-handle"
role="slider"
style="left:30%;"
value="30"
/>
<div
class="ant-slider-mark"
@ -117,22 +101,14 @@ exports[`renders ./components/slider/demo/event.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="20"
class="ant-slider-handle ant-slider-handle-1"
role="slider"
style="left:20%;"
value="20"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="50"
class="ant-slider-handle ant-slider-handle-2"
role="slider"
style="left:50%;"
value="50"
/>
<div
class="ant-slider-mark"
@ -162,13 +138,9 @@ exports[`renders ./components/slider/demo/icon-slider.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="20"
aria-valuemin="0"
aria-valuenow="0"
class="ant-slider-handle"
role="slider"
style="left:0%;"
value="0"
/>
<div
class="ant-slider-mark"
@ -202,13 +174,9 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="20"
aria-valuemin="1"
aria-valuenow="1"
class="ant-slider-handle"
role="slider"
style="left:0%;"
value="1"
/>
<div
class="ant-slider-mark"
@ -288,13 +256,9 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="1"
aria-valuemin="0"
aria-valuenow="0"
class="ant-slider-handle"
role="slider"
style="left:0%;"
value="0"
/>
<div
class="ant-slider-mark"
@ -393,13 +357,9 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
/>
</div>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="37"
class="ant-slider-handle"
role="slider"
style="left:37%;"
value="37"
/>
<div
class="ant-slider-mark"
@ -463,22 +423,14 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
/>
</div>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="26"
class="ant-slider-handle ant-slider-handle-1"
role="slider"
style="left:26%;"
value="26"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="37"
class="ant-slider-handle ant-slider-handle-2"
role="slider"
style="left:37%;"
value="37"
/>
<div
class="ant-slider-mark"
@ -545,13 +497,9 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
/>
</div>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="37"
class="ant-slider-handle"
role="slider"
style="left:37%;"
value="37"
/>
<div
class="ant-slider-mark"
@ -618,13 +566,9 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
/>
</div>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="37"
class="ant-slider-handle"
role="slider"
style="left:37%;"
value="37"
/>
<div
class="ant-slider-mark"
@ -691,13 +635,9 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
/>
</div>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="37"
class="ant-slider-handle"
role="slider"
style="left:37%;"
value="37"
/>
<div
class="ant-slider-mark"
@ -749,13 +689,9 @@ exports[`renders ./components/slider/demo/tip-formatter.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="0"
class="ant-slider-handle"
role="slider"
style="left:0%;"
value="0"
/>
<div
class="ant-slider-mark"
@ -775,13 +711,9 @@ exports[`renders ./components/slider/demo/tip-formatter.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="0"
class="ant-slider-handle"
role="slider"
style="left:0%;"
value="0"
/>
<div
class="ant-slider-mark"
@ -811,13 +743,9 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="30"
class="ant-slider-handle"
role="slider"
style="bottom:30%;"
value="30"
/>
<div
class="ant-slider-mark"
@ -841,22 +769,14 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
class="ant-slider-step"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="20"
class="ant-slider-handle ant-slider-handle-1"
role="slider"
style="bottom:20%;"
value="20"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="50"
class="ant-slider-handle ant-slider-handle-2"
role="slider"
style="bottom:50%;"
value="50"
/>
<div
class="ant-slider-mark"
@ -897,22 +817,14 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
/>
</div>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="26"
class="ant-slider-handle ant-slider-handle-1"
role="slider"
style="bottom:26%;"
value="26"
/>
<div
aria-disabled="false"
aria-valuemax="100"
aria-valuemin="0"
aria-valuenow="37"
class="ant-slider-handle ant-slider-handle-2"
role="slider"
style="bottom:37%;"
value="37"
/>
<div
class="ant-slider-mark"

View File

@ -79,14 +79,12 @@ exports[`Table.pagination renders pagination correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -95,7 +93,6 @@ exports[`Table.pagination renders pagination correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -105,7 +102,6 @@ exports[`Table.pagination renders pagination correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />

View File

@ -355,14 +355,12 @@ exports[`renders ./components/table/demo/basic.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -372,7 +370,6 @@ exports[`renders ./components/table/demo/basic.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -543,14 +540,12 @@ exports[`renders ./components/table/demo/bordered.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -560,7 +555,6 @@ exports[`renders ./components/table/demo/bordered.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -812,14 +806,12 @@ exports[`renders ./components/table/demo/colspan-rowspan.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -829,7 +821,6 @@ exports[`renders ./components/table/demo/colspan-rowspan.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -1010,14 +1001,12 @@ exports[`renders ./components/table/demo/custom-filter-panel.md correctly 1`] =
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -1027,7 +1016,6 @@ exports[`renders ./components/table/demo/custom-filter-panel.md correctly 1`] =
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -2351,14 +2339,12 @@ exports[`renders ./components/table/demo/dynamic-settings.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -2368,7 +2354,6 @@ exports[`renders ./components/table/demo/dynamic-settings.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -2554,14 +2539,12 @@ exports[`renders ./components/table/demo/edit-cell.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -2571,7 +2554,6 @@ exports[`renders ./components/table/demo/edit-cell.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -2714,14 +2696,12 @@ exports[`renders ./components/table/demo/edit-row.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -2731,7 +2711,6 @@ exports[`renders ./components/table/demo/edit-row.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -2932,14 +2911,12 @@ exports[`renders ./components/table/demo/expand.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -2949,7 +2926,6 @@ exports[`renders ./components/table/demo/expand.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -3489,14 +3465,12 @@ exports[`renders ./components/table/demo/expand-children.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -3506,7 +3480,6 @@ exports[`renders ./components/table/demo/expand-children.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -3944,14 +3917,12 @@ exports[`renders ./components/table/demo/fixed-columns.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -3961,7 +3932,6 @@ exports[`renders ./components/table/demo/fixed-columns.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -5270,14 +5240,12 @@ exports[`renders ./components/table/demo/fixed-columns-header.md correctly 1`] =
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -5286,7 +5254,6 @@ exports[`renders ./components/table/demo/fixed-columns-header.md correctly 1`] =
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -5295,7 +5262,6 @@ exports[`renders ./components/table/demo/fixed-columns-header.md correctly 1`] =
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -5304,7 +5270,6 @@ exports[`renders ./components/table/demo/fixed-columns-header.md correctly 1`] =
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -5313,7 +5278,6 @@ exports[`renders ./components/table/demo/fixed-columns-header.md correctly 1`] =
</li>
<li
class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"
tabindex="0"
title="5"
>
<a>
@ -5322,14 +5286,12 @@ exports[`renders ./components/table/demo/fixed-columns-header.md correctly 1`] =
</li>
<li
class="ant-pagination-jump-next"
tabindex="0"
title="向后 5 页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-10"
tabindex="0"
title="10"
>
<a>
@ -5339,7 +5301,6 @@ exports[`renders ./components/table/demo/fixed-columns-header.md correctly 1`] =
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -6595,14 +6556,12 @@ exports[`renders ./components/table/demo/fixed-header.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -6611,7 +6570,6 @@ exports[`renders ./components/table/demo/fixed-header.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -6621,7 +6579,6 @@ exports[`renders ./components/table/demo/fixed-header.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -7668,14 +7625,12 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -7684,7 +7639,6 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -7693,7 +7647,6 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -7702,7 +7655,6 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -7711,7 +7663,6 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
</li>
<li
class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"
tabindex="0"
title="5"
>
<a>
@ -7720,14 +7671,12 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
</li>
<li
class="ant-pagination-jump-next"
tabindex="0"
title="向后 5 页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-10"
tabindex="0"
title="10"
>
<a>
@ -7737,7 +7686,6 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -7977,14 +7925,12 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -7994,7 +7940,6 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -8280,14 +8225,12 @@ exports[`renders ./components/table/demo/jsx.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -8297,7 +8240,6 @@ exports[`renders ./components/table/demo/jsx.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -8567,14 +8509,12 @@ exports[`renders ./components/table/demo/nested-table.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -8584,7 +8524,6 @@ exports[`renders ./components/table/demo/nested-table.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -8853,14 +8792,12 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -8870,7 +8807,6 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -9170,14 +9106,12 @@ exports[`renders ./components/table/demo/row-selection.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -9187,7 +9121,6 @@ exports[`renders ./components/table/demo/row-selection.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -9750,14 +9683,12 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md correctl
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -9766,7 +9697,6 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md correctl
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -9775,7 +9705,6 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md correctl
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -9784,7 +9713,6 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md correctl
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -9793,7 +9721,6 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md correctl
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -9803,7 +9730,6 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md correctl
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -10357,14 +10283,12 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] =
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -10373,7 +10297,6 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] =
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
@ -10382,7 +10305,6 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] =
</li>
<li
class="ant-pagination-item ant-pagination-item-3"
tabindex="0"
title="3"
>
<a>
@ -10391,7 +10313,6 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] =
</li>
<li
class="ant-pagination-item ant-pagination-item-4"
tabindex="0"
title="4"
>
<a>
@ -10400,7 +10321,6 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] =
</li>
<li
class="ant-pagination-item ant-pagination-item-5"
tabindex="0"
title="5"
>
<a>
@ -10410,7 +10330,6 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] =
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -10563,14 +10482,12 @@ exports[`renders ./components/table/demo/size.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -10580,7 +10497,6 @@ exports[`renders ./components/table/demo/size.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />
@ -10729,14 +10645,12 @@ exports[`renders ./components/table/demo/size.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
tabindex="0"
title="上一页"
>
<a />
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
@ -10746,7 +10660,6 @@ exports[`renders ./components/table/demo/size.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next"
tabindex="0"
title="下一页"
>
<a />