Merge pull request #15841 from ant-design/improve-empty-built-style

style(Empty): create simple style Empty in a default way
This commit is contained in:
偏右 2019-04-04 12:07:40 +08:00 committed by GitHub
commit 5e9f9f84bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 134 additions and 126 deletions

View File

@ -1189,7 +1189,7 @@ exports[`Cascader should render not found content 1`] = `
componentName="Empty"
>
<div
className="ant-empty ant-empty-small"
className="ant-empty ant-empty-normal ant-empty-small"
>
<div
className="ant-empty-image"

View File

@ -15478,7 +15478,7 @@ exports[`ConfigProvider components Transfer configProvider 1`] = `
class="config-transfer-list-body-not-found"
>
<div
class="config-empty config-empty-small"
class="config-empty config-empty-normal config-empty-small"
>
<div
class="config-empty-image"
@ -15588,7 +15588,7 @@ exports[`ConfigProvider components Transfer configProvider 1`] = `
class="config-transfer-list-body-not-found"
>
<div
class="config-empty config-empty-small"
class="config-empty config-empty-normal config-empty-small"
>
<div
class="config-empty-image"
@ -15653,7 +15653,7 @@ exports[`ConfigProvider components Transfer normal 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -15763,7 +15763,7 @@ exports[`ConfigProvider components Transfer normal 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -15828,7 +15828,7 @@ exports[`ConfigProvider components Transfer prefixCls 1`] = `
class="prefix-Transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -15938,7 +15938,7 @@ exports[`ConfigProvider components Transfer prefixCls 1`] = `
class="prefix-Transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"

View File

@ -10,7 +10,7 @@ const renderEmpty = (componentName?: string): React.ReactNode => (
switch (componentName) {
case 'Table':
case 'List':
return <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} className={`${prefix}-normal`} />;
return <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} />;
case 'Select':
case 'TreeSelect':

View File

@ -214,7 +214,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -324,7 +324,7 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -484,7 +484,7 @@ exports[`renders ./components/empty/demo/customize.md correctly 1`] = `
>
<div
class="ant-empty-image"
style="height:200px"
style="height:60px"
>
<img
alt="empty"
@ -520,11 +520,10 @@ exports[`renders ./components/empty/demo/customize.md correctly 1`] = `
exports[`renders ./components/empty/demo/simple.md correctly 1`] = `
<div
class="ant-empty"
class="ant-empty ant-empty-normal"
>
<div
class="ant-empty-image"
style="height:40px"
>
<img
alt="No Data"

View File

@ -20,7 +20,7 @@ ReactDOM.render(
<Empty
image="https://gw.alipayobjects.com/mdn/miniapp_social/afts/img/A*pevERLJC9v0AAAAAAAAAAABjAQAAAQ/original"
imageStyle={{
height: 200,
height: 60,
}}
description={
<span>

View File

@ -17,7 +17,7 @@ You can choose another style of `image` by setting image to `Empty.PRESENTED_IMA
import { Empty } from 'antd';
ReactDOM.render(
<Empty image={Empty.PRESENTED_IMAGE_SIMPLE} imageStyle={{ height:40 }} />,
<Empty image={Empty.PRESENTED_IMAGE_SIMPLE} />,
mountNode
);
```

View File

@ -51,13 +51,20 @@ const OriginEmpty: React.SFC<EmptyProps> = (props: EmptyProps) => (
}
return (
<div className={classNames(prefixCls, className)} {...restProps}>
<div
className={classNames(
prefixCls,
{
[`${prefixCls}-normal`]: image === simpleEmptyImg,
},
className,
)}
{...restProps}
>
<div className={`${prefixCls}-image`} style={imageStyle}>
{imageNode}
</div>
<p className={`${prefixCls}-description`}>{des}</p>
{children && <div className={`${prefixCls}-footer`}>{children}</div>}
</div>
);

View File

@ -27,19 +27,21 @@
}
// antd internal empty style
&-small {
margin: 8px 0;
.@{empty-prefix-cls}-image {
height: 35px;
}
}
&-normal {
margin: 32px 0;
color: @disabled-color;
.@{empty-prefix-cls}-image {
height: 40px;
}
}
&-small {
margin: 8px 0;
color: @disabled-color;
.@{empty-prefix-cls}-image {
height: 35px;
}
}
}

View File

@ -32,7 +32,7 @@
&-empty-text {
padding: @list-empty-text-padding;
color: @text-color-secondary;
color: @disabled-color;
font-size: @font-size-base;
text-align: center;
}

View File

@ -513,7 +513,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -657,7 +657,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"

View File

@ -6154,7 +6154,7 @@ exports[`Locale Provider should display the text as ar 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -6299,7 +6299,7 @@ exports[`Locale Provider should display the text as ar 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -11235,7 +11235,7 @@ exports[`Locale Provider should display the text as bg 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -11380,7 +11380,7 @@ exports[`Locale Provider should display the text as bg 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -16316,7 +16316,7 @@ exports[`Locale Provider should display the text as ca 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -16461,7 +16461,7 @@ exports[`Locale Provider should display the text as ca 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -21397,7 +21397,7 @@ exports[`Locale Provider should display the text as cs 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -21542,7 +21542,7 @@ exports[`Locale Provider should display the text as cs 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -26478,7 +26478,7 @@ exports[`Locale Provider should display the text as da 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -26623,7 +26623,7 @@ exports[`Locale Provider should display the text as da 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -31559,7 +31559,7 @@ exports[`Locale Provider should display the text as de 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -31704,7 +31704,7 @@ exports[`Locale Provider should display the text as de 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -36640,7 +36640,7 @@ exports[`Locale Provider should display the text as el 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -36785,7 +36785,7 @@ exports[`Locale Provider should display the text as el 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -41721,7 +41721,7 @@ exports[`Locale Provider should display the text as en 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -41866,7 +41866,7 @@ exports[`Locale Provider should display the text as en 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -46802,7 +46802,7 @@ exports[`Locale Provider should display the text as en-gb 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -46947,7 +46947,7 @@ exports[`Locale Provider should display the text as en-gb 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -51883,7 +51883,7 @@ exports[`Locale Provider should display the text as es 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -52028,7 +52028,7 @@ exports[`Locale Provider should display the text as es 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -56964,7 +56964,7 @@ exports[`Locale Provider should display the text as et 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -57109,7 +57109,7 @@ exports[`Locale Provider should display the text as et 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -62045,7 +62045,7 @@ exports[`Locale Provider should display the text as fa 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -62190,7 +62190,7 @@ exports[`Locale Provider should display the text as fa 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -67126,7 +67126,7 @@ exports[`Locale Provider should display the text as fi 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -67271,7 +67271,7 @@ exports[`Locale Provider should display the text as fi 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -72207,7 +72207,7 @@ exports[`Locale Provider should display the text as fr 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -72352,7 +72352,7 @@ exports[`Locale Provider should display the text as fr 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -77288,7 +77288,7 @@ exports[`Locale Provider should display the text as fr 2`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -77433,7 +77433,7 @@ exports[`Locale Provider should display the text as fr 2`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -82369,7 +82369,7 @@ exports[`Locale Provider should display the text as he 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -82514,7 +82514,7 @@ exports[`Locale Provider should display the text as he 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -87450,7 +87450,7 @@ exports[`Locale Provider should display the text as hi 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -87595,7 +87595,7 @@ exports[`Locale Provider should display the text as hi 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -92531,7 +92531,7 @@ exports[`Locale Provider should display the text as hu 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -92676,7 +92676,7 @@ exports[`Locale Provider should display the text as hu 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -97612,7 +97612,7 @@ exports[`Locale Provider should display the text as id 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -97757,7 +97757,7 @@ exports[`Locale Provider should display the text as id 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -102693,7 +102693,7 @@ exports[`Locale Provider should display the text as is 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -102838,7 +102838,7 @@ exports[`Locale Provider should display the text as is 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -107774,7 +107774,7 @@ exports[`Locale Provider should display the text as it 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -107919,7 +107919,7 @@ exports[`Locale Provider should display the text as it 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -112855,7 +112855,7 @@ exports[`Locale Provider should display the text as ja 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -113000,7 +113000,7 @@ exports[`Locale Provider should display the text as ja 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -117936,7 +117936,7 @@ exports[`Locale Provider should display the text as kn 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -118081,7 +118081,7 @@ exports[`Locale Provider should display the text as kn 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -123017,7 +123017,7 @@ exports[`Locale Provider should display the text as ko 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -123162,7 +123162,7 @@ exports[`Locale Provider should display the text as ko 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -128098,7 +128098,7 @@ exports[`Locale Provider should display the text as ku-iq 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -128243,7 +128243,7 @@ exports[`Locale Provider should display the text as ku-iq 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -133179,7 +133179,7 @@ exports[`Locale Provider should display the text as mn-mn 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -133324,7 +133324,7 @@ exports[`Locale Provider should display the text as mn-mn 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -138260,7 +138260,7 @@ exports[`Locale Provider should display the text as nb 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -138405,7 +138405,7 @@ exports[`Locale Provider should display the text as nb 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -143341,7 +143341,7 @@ exports[`Locale Provider should display the text as ne-np 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -143486,7 +143486,7 @@ exports[`Locale Provider should display the text as ne-np 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -148422,7 +148422,7 @@ exports[`Locale Provider should display the text as nl 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -148567,7 +148567,7 @@ exports[`Locale Provider should display the text as nl 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -153503,7 +153503,7 @@ exports[`Locale Provider should display the text as nl-be 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -153648,7 +153648,7 @@ exports[`Locale Provider should display the text as nl-be 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -158584,7 +158584,7 @@ exports[`Locale Provider should display the text as pl 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -158729,7 +158729,7 @@ exports[`Locale Provider should display the text as pl 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -163665,7 +163665,7 @@ exports[`Locale Provider should display the text as pt 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -163810,7 +163810,7 @@ exports[`Locale Provider should display the text as pt 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -168746,7 +168746,7 @@ exports[`Locale Provider should display the text as pt-br 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -168891,7 +168891,7 @@ exports[`Locale Provider should display the text as pt-br 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -173827,7 +173827,7 @@ exports[`Locale Provider should display the text as ru 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -173972,7 +173972,7 @@ exports[`Locale Provider should display the text as ru 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -178908,7 +178908,7 @@ exports[`Locale Provider should display the text as sk 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -179053,7 +179053,7 @@ exports[`Locale Provider should display the text as sk 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -183989,7 +183989,7 @@ exports[`Locale Provider should display the text as sl 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -184134,7 +184134,7 @@ exports[`Locale Provider should display the text as sl 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -189070,7 +189070,7 @@ exports[`Locale Provider should display the text as sr 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -189215,7 +189215,7 @@ exports[`Locale Provider should display the text as sr 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -194151,7 +194151,7 @@ exports[`Locale Provider should display the text as sv 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -194296,7 +194296,7 @@ exports[`Locale Provider should display the text as sv 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -199232,7 +199232,7 @@ exports[`Locale Provider should display the text as th 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -199377,7 +199377,7 @@ exports[`Locale Provider should display the text as th 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -204313,7 +204313,7 @@ exports[`Locale Provider should display the text as tr 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -204458,7 +204458,7 @@ exports[`Locale Provider should display the text as tr 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -209394,7 +209394,7 @@ exports[`Locale Provider should display the text as uk 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -209539,7 +209539,7 @@ exports[`Locale Provider should display the text as uk 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -214475,7 +214475,7 @@ exports[`Locale Provider should display the text as vi 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -214620,7 +214620,7 @@ exports[`Locale Provider should display the text as vi 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -219556,7 +219556,7 @@ exports[`Locale Provider should display the text as zh-cn 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -219701,7 +219701,7 @@ exports[`Locale Provider should display the text as zh-cn 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -224637,7 +224637,7 @@ exports[`Locale Provider should display the text as zh-tw 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -224782,7 +224782,7 @@ exports[`Locale Provider should display the text as zh-tw 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"

View File

@ -408,7 +408,7 @@
position: relative;
z-index: 1;
padding: @table-padding-vertical @table-padding-horizontal;
color: @text-color-secondary;
color: @disabled-color;
font-size: @font-size-base;
text-align: center;
background: @component-background;

View File

@ -78,7 +78,7 @@ exports[`renders ./components/transfer/demo/advanced.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -242,7 +242,7 @@ exports[`renders ./components/transfer/demo/advanced.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -561,7 +561,7 @@ exports[`renders ./components/transfer/demo/custom-item.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -672,7 +672,7 @@ exports[`renders ./components/transfer/demo/custom-item.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -737,7 +737,7 @@ exports[`renders ./components/transfer/demo/large-data.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -847,7 +847,7 @@ exports[`renders ./components/transfer/demo/large-data.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -946,7 +946,7 @@ exports[`renders ./components/transfer/demo/search.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
@ -1090,7 +1090,7 @@ exports[`renders ./components/transfer/demo/search.md correctly 1`] = `
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-small"
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"