update snapshot

This commit is contained in:
afc163 2018-10-10 15:12:06 +08:00
parent f1d1d87de0
commit 68c177cdc1
9 changed files with 251 additions and 735 deletions

View File

@ -8,6 +8,7 @@ exports[`Icon \`component\` prop can access to svg defs if has children 1`] = `
aria-hidden="true"
class=""
fill="currentColor"
focusable="false"
height="1em"
width="1em"
>
@ -250,6 +251,7 @@ exports[`Icon should support pass svg paths as children 1`] = `
aria-hidden="true"
class=""
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 24 24"
width="1em"
@ -272,6 +274,7 @@ exports[`Icon should support svg react component 1`] = `
aria-hidden="true"
class=""
fill="currentColor"
focusable="false"
height="1em"
width="1em"
>
@ -325,6 +328,7 @@ exports[`Icon.createFromIconfontCN() should support iconfont.cn 1`] = `
aria-hidden="true"
class=""
fill="currentColor"
focusable="false"
height="1em"
width="1em"
>
@ -340,6 +344,7 @@ exports[`Icon.createFromIconfontCN() should support iconfont.cn 1`] = `
aria-hidden="true"
class=""
fill="currentColor"
focusable="false"
height="1em"
width="1em"
>
@ -355,6 +360,7 @@ exports[`Icon.createFromIconfontCN() should support iconfont.cn 1`] = `
aria-hidden="true"
class=""
fill="currentColor"
focusable="false"
height="1em"
width="1em"
>

View File

@ -1713,9 +1713,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -1740,9 +1738,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>

View File

@ -7208,9 +7208,7 @@ exports[`Locale Provider should display the text as ar 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -7235,9 +7233,7 @@ exports[`Locale Provider should display the text as ar 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -12090,9 +12086,7 @@ exports[`Locale Provider should display the text as bg 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -12117,9 +12111,7 @@ exports[`Locale Provider should display the text as bg 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -16972,9 +16964,7 @@ exports[`Locale Provider should display the text as ca 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -16999,9 +16989,7 @@ exports[`Locale Provider should display the text as ca 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -21854,9 +21842,7 @@ exports[`Locale Provider should display the text as cs 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -21881,9 +21867,7 @@ exports[`Locale Provider should display the text as cs 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -26736,9 +26720,7 @@ exports[`Locale Provider should display the text as de 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -26763,9 +26745,7 @@ exports[`Locale Provider should display the text as de 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -31618,9 +31598,7 @@ exports[`Locale Provider should display the text as el 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -31645,9 +31623,7 @@ exports[`Locale Provider should display the text as el 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -36500,9 +36476,7 @@ exports[`Locale Provider should display the text as en 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -36527,9 +36501,7 @@ exports[`Locale Provider should display the text as en 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -41382,9 +41354,7 @@ exports[`Locale Provider should display the text as en-gb 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -41409,9 +41379,7 @@ exports[`Locale Provider should display the text as en-gb 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -46264,9 +46232,7 @@ exports[`Locale Provider should display the text as es 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -46291,9 +46257,7 @@ exports[`Locale Provider should display the text as es 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -51146,9 +51110,7 @@ exports[`Locale Provider should display the text as et 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -51173,9 +51135,7 @@ exports[`Locale Provider should display the text as et 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -56028,9 +55988,7 @@ exports[`Locale Provider should display the text as fa 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -56055,9 +56013,7 @@ exports[`Locale Provider should display the text as fa 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -60910,9 +60866,7 @@ exports[`Locale Provider should display the text as fi 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -60937,9 +60891,7 @@ exports[`Locale Provider should display the text as fi 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -65792,9 +65744,7 @@ exports[`Locale Provider should display the text as fr 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -65819,9 +65769,7 @@ exports[`Locale Provider should display the text as fr 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -70674,9 +70622,7 @@ exports[`Locale Provider should display the text as fr 2`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -70701,9 +70647,7 @@ exports[`Locale Provider should display the text as fr 2`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -75556,9 +75500,7 @@ exports[`Locale Provider should display the text as is 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -75583,9 +75525,7 @@ exports[`Locale Provider should display the text as is 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -80438,9 +80378,7 @@ exports[`Locale Provider should display the text as it 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -80465,9 +80403,7 @@ exports[`Locale Provider should display the text as it 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -85320,9 +85256,7 @@ exports[`Locale Provider should display the text as ja 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -85347,9 +85281,7 @@ exports[`Locale Provider should display the text as ja 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -90202,9 +90134,7 @@ exports[`Locale Provider should display the text as ko 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -90229,9 +90159,7 @@ exports[`Locale Provider should display the text as ko 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -95084,9 +95012,7 @@ exports[`Locale Provider should display the text as ku-iq 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -95111,9 +95037,7 @@ exports[`Locale Provider should display the text as ku-iq 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -99966,9 +99890,7 @@ exports[`Locale Provider should display the text as mn-mn 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -99993,9 +99915,7 @@ exports[`Locale Provider should display the text as mn-mn 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -104848,9 +104768,7 @@ exports[`Locale Provider should display the text as nb 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -104875,9 +104793,7 @@ exports[`Locale Provider should display the text as nb 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -109730,9 +109646,7 @@ exports[`Locale Provider should display the text as nl 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -109757,9 +109671,7 @@ exports[`Locale Provider should display the text as nl 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -114612,9 +114524,7 @@ exports[`Locale Provider should display the text as nl-be 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -114639,9 +114549,7 @@ exports[`Locale Provider should display the text as nl-be 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -119494,9 +119402,7 @@ exports[`Locale Provider should display the text as pl 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -119521,9 +119427,7 @@ exports[`Locale Provider should display the text as pl 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -124376,9 +124280,7 @@ exports[`Locale Provider should display the text as pt 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -124403,9 +124305,7 @@ exports[`Locale Provider should display the text as pt 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -129258,9 +129158,7 @@ exports[`Locale Provider should display the text as pt-br 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -129285,9 +129183,7 @@ exports[`Locale Provider should display the text as pt-br 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -134140,9 +134036,7 @@ exports[`Locale Provider should display the text as ru 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -134167,9 +134061,7 @@ exports[`Locale Provider should display the text as ru 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -139022,9 +138914,7 @@ exports[`Locale Provider should display the text as sk 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -139049,9 +138939,7 @@ exports[`Locale Provider should display the text as sk 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -143904,9 +143792,7 @@ exports[`Locale Provider should display the text as sl 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -143931,9 +143817,7 @@ exports[`Locale Provider should display the text as sl 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -148786,9 +148670,7 @@ exports[`Locale Provider should display the text as sr 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -148813,9 +148695,7 @@ exports[`Locale Provider should display the text as sr 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -153668,9 +153548,7 @@ exports[`Locale Provider should display the text as sv 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -153695,9 +153573,7 @@ exports[`Locale Provider should display the text as sv 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -158550,9 +158426,7 @@ exports[`Locale Provider should display the text as th 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -158577,9 +158451,7 @@ exports[`Locale Provider should display the text as th 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -163432,9 +163304,7 @@ exports[`Locale Provider should display the text as tr 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -163459,9 +163329,7 @@ exports[`Locale Provider should display the text as tr 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -168314,9 +168182,7 @@ exports[`Locale Provider should display the text as uk 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -168341,9 +168207,7 @@ exports[`Locale Provider should display the text as uk 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -173196,9 +173060,7 @@ exports[`Locale Provider should display the text as vi 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -173223,9 +173085,7 @@ exports[`Locale Provider should display the text as vi 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -178078,9 +177938,7 @@ exports[`Locale Provider should display the text as zh-cn 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="排序"
>
<div>
Name
</div>
<i
@ -178105,9 +177963,7 @@ exports[`Locale Provider should display the text as zh-cn 1`] = `
<th
class=""
>
<div
title="排序"
>
<div>
Age
</div>
</th>
@ -182960,9 +182816,7 @@ exports[`Locale Provider should display the text as zh-tw 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i
@ -182987,9 +182841,7 @@ exports[`Locale Provider should display the text as zh-tw 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>

View File

@ -94,9 +94,7 @@ exports[`Table.filter renders filter correctly 1`] = `
<th
class="ant-table-column-has-actions ant-table-column-has-filters"
>
<div
title="Sort"
>
<div>
Name
</div>
<i

View File

@ -32,9 +32,7 @@ exports[`Table.pagination renders pagination correctly 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Name
</div>
</th>

View File

@ -36,9 +36,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
<th
class="ant-table-fixed-columns-in-body ant-table-selection-column"
>
<div
title="Sort"
>
<div>
<div
class="ant-table-selection"
>
@ -63,9 +61,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Name
</div>
</th>
@ -241,9 +237,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
<th
class="ant-table-selection-column"
>
<div
title="Sort"
>
<div>
<div
class="ant-table-selection"
>

View File

@ -35,9 +35,7 @@ exports[`Table renders JSX correctly 1`] = `
class=""
colspan="2"
>
<div
title="Sort"
>
<div>
Name
</div>
</th>
@ -45,9 +43,7 @@ exports[`Table renders JSX correctly 1`] = `
class=""
rowspan="2"
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -56,18 +52,14 @@ exports[`Table renders JSX correctly 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
First Name
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Last Name
</div>
</th>

File diff suppressed because it is too large Load Diff

View File

@ -39,72 +39,56 @@ exports[`Table renders empty table 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Column 1
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 2
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 3
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 4
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 5
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 6
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 7
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 8
</div>
</th>
@ -166,72 +150,56 @@ exports[`Table renders empty table with custom emptyText 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Column 1
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 2
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 3
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 4
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 5
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 6
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 7
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 8
</div>
</th>
@ -305,99 +273,77 @@ exports[`Table renders empty table with fixed columns 1`] = `
<th
class="ant-table-fixed-columns-in-body"
>
<div
title="Sort"
>
<div>
Full Name
</div>
</th>
<th
class="ant-table-fixed-columns-in-body"
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 1
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 2
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 3
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 4
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 5
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 6
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 7
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 8
</div>
</th>
<th
class="ant-table-fixed-columns-in-body"
>
<div
title="Sort"
>
<div>
Action
</div>
</th>
@ -442,18 +388,14 @@ exports[`Table renders empty table with fixed columns 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Full Name
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Age
</div>
</th>
@ -491,9 +433,7 @@ exports[`Table renders empty table with fixed columns 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Action
</div>
</th>
@ -566,72 +506,56 @@ exports[`Table renders empty table without emptyText when loading 1`] = `
<th
class=""
>
<div
title="Sort"
>
<div>
Column 1
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 2
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 3
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 4
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 5
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 6
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 7
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
<div>
Column 8
</div>
</th>