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

@ -1155,9 +1155,6 @@ exports[`test renders ./components/locale-provider/demo/all.md correctly 1`] = `
class="ant-table ant-table-large ant-table-empty ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-empty ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -1190,7 +1187,6 @@ exports[`test renders ./components/locale-provider/demo/all.md correctly 1`] = `
class="ant-table-tbody" /> class="ant-table-tbody" />
</table> </table>
</div> </div>
</span>
<div <div
class="ant-table-placeholder"> class="ant-table-placeholder">
No Data No Data
@ -1202,7 +1198,6 @@ exports[`test renders ./components/locale-provider/demo/all.md correctly 1`] = `
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
`; `;

View File

@ -23,9 +23,6 @@ exports[`Table.filter renders filter correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -92,8 +89,6 @@ exports[`Table.filter renders filter correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -9,9 +9,6 @@ exports[`Table.pagination renders pagination correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -55,8 +52,6 @@ exports[`Table.pagination renders pagination correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul

View File

@ -9,9 +9,6 @@ exports[`Table renders JSX correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -95,8 +92,6 @@ exports[`Table renders JSX correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -9,9 +9,6 @@ exports[`test renders ./components/table/demo/ajax.md correctly 1`] = `
class="ant-table ant-table-large ant-table-empty ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-empty ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -68,7 +65,6 @@ exports[`test renders ./components/table/demo/ajax.md correctly 1`] = `
class="ant-table-tbody" /> class="ant-table-tbody" />
</table> </table>
</div> </div>
</span>
<div <div
class="ant-table-placeholder"> class="ant-table-placeholder">
<span> <span>
@ -81,7 +77,6 @@ exports[`test renders ./components/table/demo/ajax.md correctly 1`] = `
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
`; `;
@ -96,9 +91,6 @@ exports[`test renders ./components/table/demo/basic.md correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -278,8 +270,6 @@ exports[`test renders ./components/table/demo/basic.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -323,9 +313,6 @@ exports[`test renders ./components/table/demo/bordered.md correctly 1`] = `
</div> </div>
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -426,14 +413,12 @@ exports[`test renders ./components/table/demo/bordered.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
<div <div
class="ant-table-footer"> class="ant-table-footer">
Footer Footer
</div> </div>
</div> </div>
</div> </div>
</div>
<ul <ul
class="ant-pagination ant-table-pagination" class="ant-pagination ant-table-pagination"
unselectable="unselectable"> unselectable="unselectable">
@ -471,9 +456,6 @@ exports[`test renders ./components/table/demo/colspan-rowspan.md correctly 1`] =
class="ant-table ant-table-large ant-table-bordered ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-bordered ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -647,8 +629,6 @@ exports[`test renders ./components/table/demo/colspan-rowspan.md correctly 1`] =
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -688,9 +668,6 @@ exports[`test renders ./components/table/demo/custom-filter-panel.md correctly 1
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -803,8 +780,6 @@ exports[`test renders ./components/table/demo/custom-filter-panel.md correctly 1
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -1121,9 +1096,6 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
</div> </div>
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -1824,14 +1796,12 @@ exports[`test renders ./components/table/demo/dynamic-settings.md correctly 1`]
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
<div <div
class="ant-table-footer"> class="ant-table-footer">
Here is footer Here is footer
</div> </div>
</div> </div>
</div> </div>
</div>
<ul <ul
class="ant-pagination ant-table-pagination" class="ant-pagination ant-table-pagination"
unselectable="unselectable"> unselectable="unselectable">
@ -1878,9 +1848,6 @@ exports[`test renders ./components/table/demo/edit-cell.md correctly 1`] = `
class="ant-table ant-table-large ant-table-bordered ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-bordered ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -1992,8 +1959,6 @@ exports[`test renders ./components/table/demo/edit-cell.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -2034,9 +1999,6 @@ exports[`test renders ./components/table/demo/edit-row.md correctly 1`] = `
class="ant-table ant-table-large ant-table-bordered ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-bordered ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -2123,8 +2085,6 @@ exports[`test renders ./components/table/demo/edit-row.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -2164,9 +2124,6 @@ exports[`test renders ./components/table/demo/expand.md correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -2298,8 +2255,6 @@ exports[`test renders ./components/table/demo/expand.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -2339,9 +2294,6 @@ exports[`test renders ./components/table/demo/expand-children.md correctly 1`] =
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -2729,8 +2681,6 @@ exports[`test renders ./components/table/demo/expand-children.md correctly 1`] =
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -2772,7 +2722,6 @@ exports[`test renders ./components/table/demo/fixed-columns.md correctly 1`] = `
class="ant-table-content"> class="ant-table-content">
<div <div
class="ant-table-fixed-left"> class="ant-table-fixed-left">
<span>
<div <div
class="ant-table-body-outer"> class="ant-table-body-outer">
<div <div
@ -2836,11 +2785,9 @@ exports[`test renders ./components/table/demo/fixed-columns.md correctly 1`] = `
</table> </table>
</div> </div>
</div> </div>
</span>
</div> </div>
<div <div
class="ant-table-scroll"> class="ant-table-scroll">
<span>
<div <div
class="ant-table-body" class="ant-table-body"
style="overflow-x:auto;"> style="overflow-x:auto;">
@ -3045,11 +2992,9 @@ exports[`test renders ./components/table/demo/fixed-columns.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div> </div>
<div <div
class="ant-table-fixed-right"> class="ant-table-fixed-right">
<span>
<div <div
class="ant-table-body-outer"> class="ant-table-body-outer">
<div <div
@ -3097,7 +3042,6 @@ exports[`test renders ./components/table/demo/fixed-columns.md correctly 1`] = `
</table> </table>
</div> </div>
</div> </div>
</span>
</div> </div>
</div> </div>
</div> </div>
@ -3140,7 +3084,6 @@ exports[`test renders ./components/table/demo/fixed-columns-header.md correctly
class="ant-table-content"> class="ant-table-content">
<div <div
class="ant-table-fixed-left"> class="ant-table-fixed-left">
<span>
<div <div
class="ant-table-header"> class="ant-table-header">
<table <table
@ -3329,11 +3272,9 @@ exports[`test renders ./components/table/demo/fixed-columns-header.md correctly
</table> </table>
</div> </div>
</div> </div>
</span>
</div> </div>
<div <div
class="ant-table-scroll"> class="ant-table-scroll">
<span>
<div <div
class="ant-table-header"> class="ant-table-header">
<table <table
@ -3999,11 +3940,9 @@ exports[`test renders ./components/table/demo/fixed-columns-header.md correctly
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div> </div>
<div <div
class="ant-table-fixed-right"> class="ant-table-fixed-right">
<span>
<div <div
class="ant-table-header"> class="ant-table-header">
<table <table
@ -4142,7 +4081,6 @@ exports[`test renders ./components/table/demo/fixed-columns-header.md correctly
</table> </table>
</div> </div>
</div> </div>
</span>
</div> </div>
</div> </div>
</div> </div>
@ -4223,9 +4161,6 @@ exports[`test renders ./components/table/demo/fixed-header.md correctly 1`] = `
class="ant-table ant-table-large ant-table-fixed-header ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-fixed-header ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="ant-table-scroll">
<span>
<div <div
class="ant-table-header"> class="ant-table-header">
<table <table
@ -5179,8 +5114,6 @@ exports[`test renders ./components/table/demo/fixed-header.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -5229,7 +5162,6 @@ exports[`test renders ./components/table/demo/grouping-columns.md correctly 1`]
class="ant-table-content"> class="ant-table-content">
<div <div
class="ant-table-fixed-left"> class="ant-table-fixed-left">
<span>
<div <div
class="ant-table-header"> class="ant-table-header">
<table <table
@ -5372,11 +5304,9 @@ exports[`test renders ./components/table/demo/grouping-columns.md correctly 1`]
</table> </table>
</div> </div>
</div> </div>
</span>
</div> </div>
<div <div
class="ant-table-scroll"> class="ant-table-scroll">
<span>
<div <div
class="ant-table-header"> class="ant-table-header">
<table <table
@ -5922,11 +5852,9 @@ exports[`test renders ./components/table/demo/grouping-columns.md correctly 1`]
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div> </div>
<div <div
class="ant-table-fixed-right"> class="ant-table-fixed-right">
<span>
<div <div
class="ant-table-header"> class="ant-table-header">
<table <table
@ -6036,7 +5964,6 @@ exports[`test renders ./components/table/demo/grouping-columns.md correctly 1`]
</table> </table>
</div> </div>
</div> </div>
</span>
</div> </div>
</div> </div>
</div> </div>
@ -6117,9 +6044,6 @@ exports[`test renders ./components/table/demo/head.md correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -6280,8 +6204,6 @@ exports[`test renders ./components/table/demo/head.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -6321,9 +6243,6 @@ exports[`test renders ./components/table/demo/jsx.md correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -6525,8 +6444,6 @@ exports[`test renders ./components/table/demo/jsx.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -6566,9 +6483,6 @@ exports[`test renders ./components/table/demo/nested-table.md correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -6757,8 +6671,6 @@ exports[`test renders ./components/table/demo/nested-table.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -6823,9 +6735,6 @@ exports[`test renders ./components/table/demo/reset-filter.md correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -6986,8 +6895,6 @@ exports[`test renders ./components/table/demo/reset-filter.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -7028,9 +6935,6 @@ exports[`test renders ./components/table/demo/row-selection.md correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -7234,8 +7138,6 @@ exports[`test renders ./components/table/demo/row-selection.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -7289,9 +7191,6 @@ exports[`test renders ./components/table/demo/row-selection-and-operation.md cor
class="ant-table ant-table-large ant-table-scroll-position-left"> class="ant-table ant-table-large ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -7686,8 +7585,6 @@ exports[`test renders ./components/table/demo/row-selection-and-operation.md cor
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -7760,9 +7657,6 @@ exports[`test renders ./components/table/demo/size.md correctly 1`] = `
class="ant-table ant-table-middle ant-table-scroll-position-left"> class="ant-table ant-table-middle ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -7854,8 +7748,6 @@ exports[`test renders ./components/table/demo/size.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul
@ -7895,9 +7787,6 @@ exports[`test renders ./components/table/demo/size.md correctly 1`] = `
class="ant-table ant-table-small ant-table-scroll-position-left"> class="ant-table ant-table-small ant-table-scroll-position-left">
<div <div
class="ant-table-content"> class="ant-table-content">
<div
class="">
<span>
<div <div
class="ant-table-body"> class="ant-table-body">
<table <table
@ -7989,8 +7878,6 @@ exports[`test renders ./components/table/demo/size.md correctly 1`] = `
</tbody> </tbody>
</table> </table>
</div> </div>
</span>
</div>
</div> </div>
</div> </div>
<ul <ul