This commit is contained in:
afc163 2017-02-19 14:04:22 +08:00
parent 6e4fae0e29
commit 673969d0ba
5 changed files with 6318 additions and 6451 deletions

View File

@ -1156,45 +1156,40 @@ exports[`test renders ./components/locale-provider/demo/all.md correctly 1`] = `
<div <div
class="ant-table-content"> class="ant-table-content">
<div <div
class=""> class="ant-table-body">
<span> <table
<div class="">
class="ant-table-body"> <colgroup>
<table <col />
class=""> <col />
<colgroup> </colgroup>
<col /> <thead
<col /> class="ant-table-thead">
</colgroup> <tr>
<thead <th
class="ant-table-thead"> class="">
<tr> <span>
<th Name
class=""> <i
<span> class="anticon anticon-filter ant-dropdown-trigger"
Name title="Filter Menu" />
<i </span>
class="anticon anticon-filter ant-dropdown-trigger" </th>
title="Filter Menu" /> <th
</span> class="">
</th> <span>
<th Age
class=""> </span>
<span> </th>
Age </tr>
</span> </thead>
</th> <tbody
</tr> class="ant-table-tbody" />
</thead> </table>
<tbody </div>
class="ant-table-tbody" /> <div
</table> class="ant-table-placeholder">
</div> No Data
</span>
<div
class="ant-table-placeholder">
No Data
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -24,75 +24,70 @@ exports[`Table.filter renders filter correctly 1`] = `
<div <div
class="ant-table-content"> class="ant-table-content">
<div <div
class=""> class="ant-table-body">
<span> <table
<div class="">
class="ant-table-body"> <colgroup>
<table <col />
class=""> </colgroup>
<colgroup> <thead
<col /> class="ant-table-thead">
</colgroup> <tr>
<thead <th
class="ant-table-thead"> class="">
<tr> <span>
<th Name
class=""> <i
<span> class="anticon anticon-filter ant-dropdown-trigger"
Name title="筛选" />
<i </span>
class="anticon anticon-filter ant-dropdown-trigger" </th>
title="筛选" /> </tr>
</span> </thead>
</th> <tbody
</tr> class="ant-table-tbody">
</thead> <tr
<tbody class="ant-table-row ant-table-row-level-0">
class="ant-table-tbody"> <td
<tr class="">
class="ant-table-row ant-table-row-level-0"> <span
<td class="ant-table-row-indent indent-level-0"
class=""> style="padding-left:0px;" />
<span Jack
class="ant-table-row-indent indent-level-0" </td>
style="padding-left:0px;" /> </tr>
Jack <tr
</td> class="ant-table-row ant-table-row-level-0">
</tr> <td
<tr class="">
class="ant-table-row ant-table-row-level-0"> <span
<td class="ant-table-row-indent indent-level-0"
class=""> style="padding-left:0px;" />
<span Lucy
class="ant-table-row-indent indent-level-0" </td>
style="padding-left:0px;" /> </tr>
Lucy <tr
</td> class="ant-table-row ant-table-row-level-0">
</tr> <td
<tr class="">
class="ant-table-row ant-table-row-level-0"> <span
<td class="ant-table-row-indent indent-level-0"
class=""> style="padding-left:0px;" />
<span Tom
class="ant-table-row-indent indent-level-0" </td>
style="padding-left:0px;" /> </tr>
Tom <tr
</td> class="ant-table-row ant-table-row-level-0">
</tr> <td
<tr class="">
class="ant-table-row ant-table-row-level-0"> <span
<td class="ant-table-row-indent indent-level-0"
class=""> style="padding-left:0px;" />
<span Jerry
class="ant-table-row-indent indent-level-0" </td>
style="padding-left:0px;" /> </tr>
Jerry </tbody>
</td> </table>
</tr>
</tbody>
</table>
</div>
</span>
</div> </div>
</div> </div>
</div> </div>

View File

@ -10,52 +10,47 @@ exports[`Table.pagination renders pagination correctly 1`] = `
<div <div
class="ant-table-content"> class="ant-table-content">
<div <div
class=""> class="ant-table-body">
<span> <table
<div class="">
class="ant-table-body"> <colgroup>
<table <col />
class=""> </colgroup>
<colgroup> <thead
<col /> class="ant-table-thead">
</colgroup> <tr>
<thead <th
class="ant-table-thead"> class="">
<tr> <span>
<th Name
class=""> </span>
<span> </th>
Name </tr>
</span> </thead>
</th> <tbody
</tr> class="ant-table-tbody">
</thead> <tr
<tbody class="ant-table-row ant-table-row-level-0">
class="ant-table-tbody"> <td
<tr class="">
class="ant-table-row ant-table-row-level-0"> <span
<td class="ant-table-row-indent indent-level-0"
class=""> style="padding-left:0px;" />
<span Jack
class="ant-table-row-indent indent-level-0" </td>
style="padding-left:0px;" /> </tr>
Jack <tr
</td> class="ant-table-row ant-table-row-level-0">
</tr> <td
<tr class="">
class="ant-table-row ant-table-row-level-0"> <span
<td class="ant-table-row-indent indent-level-0"
class=""> style="padding-left:0px;" />
<span Lucy
class="ant-table-row-indent indent-level-0" </td>
style="padding-left:0px;" /> </tr>
Lucy </tbody>
</td> </table>
</tr>
</tbody>
</table>
</div>
</span>
</div> </div>
</div> </div>
</div> </div>

View File

@ -10,92 +10,87 @@ exports[`Table renders JSX correctly 1`] = `
<div <div
class="ant-table-content"> class="ant-table-content">
<div <div
class=""> class="ant-table-body">
<span> <table
<div class="">
class="ant-table-body"> <colgroup>
<table <col />
class=""> <col />
<colgroup> <col />
<col /> </colgroup>
<col /> <thead
<col /> class="ant-table-thead">
</colgroup> <tr>
<thead <th
class="ant-table-thead"> class=""
<tr> colspan="2">
<th <span>
class="" Name
colspan="2"> </span>
<span> </th>
Name <th
</span> class=""
</th> rowspan="2">
<th <span>
class="" Age
rowspan="2"> </span>
<span> </th>
Age </tr>
</span> <tr>
</th> <th
</tr> class="">
<tr> <span>
<th First Name
class=""> </span>
<span> </th>
First Name <th
</span> class="">
</th> <span>
<th Last Name
class=""> </span>
<span> </th>
Last Name </tr>
</span> </thead>
</th> <tbody
</tr> class="ant-table-tbody">
</thead> <tr
<tbody class="ant-table-row ant-table-row-level-0">
class="ant-table-tbody"> <td
<tr class="">
class="ant-table-row ant-table-row-level-0"> <span
<td class="ant-table-row-indent indent-level-0"
class=""> style="padding-left:0px;" />
<span John
class="ant-table-row-indent indent-level-0" </td>
style="padding-left:0px;" /> <td
John class="">
</td> Brown
<td </td>
class=""> <td
Brown class="">
</td> 32
<td </td>
class=""> </tr>
32 <tr
</td> class="ant-table-row ant-table-row-level-0">
</tr> <td
<tr class="">
class="ant-table-row ant-table-row-level-0"> <span
<td class="ant-table-row-indent indent-level-0"
class=""> style="padding-left:0px;" />
<span Jim
class="ant-table-row-indent indent-level-0" </td>
style="padding-left:0px;" /> <td
Jim class="">
</td> Green
<td </td>
class=""> <td
Green class="">
</td> 42
<td </td>
class=""> </tr>
42 </tbody>
</td> </table>
</tr>
</tbody>
</table>
</div>
</span>
</div> </div>
</div> </div>
</div> </div>

File diff suppressed because it is too large Load Diff