mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-26 00:26:53 +08:00
update table snapshot
This commit is contained in:
parent
8feb15ea72
commit
71316d6baa
@ -1711,10 +1711,13 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
|
||||
>
|
||||
<tr>
|
||||
<th
|
||||
class="ant-table-column-has-filters"
|
||||
class="ant-table-column-has-actions ant-table-column-has-filters"
|
||||
>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
<span>
|
||||
Name
|
||||
</div>
|
||||
<i
|
||||
class="anticon anticon-filter ant-dropdown-trigger"
|
||||
title="Filter menu"
|
||||
@ -1729,18 +1732,19 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
d="M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"
|
||||
d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"
|
||||
/>
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Age
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -29,7 +29,7 @@ exports[`Table.filter override custom filter correctly 1`] = `
|
||||
exports[`Table.filter renders custom content correctly 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-dropdown ant-dropdown-placement-bottomLeft ant-dropdown-hidden"
|
||||
class="ant-dropdown ant-dropdown-placement-bottomRight ant-dropdown-hidden"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
@ -44,7 +44,7 @@ exports[`Table.filter renders custom content correctly 1`] = `
|
||||
|
||||
exports[`Table.filter renders custom filter icon correctly 1`] = `
|
||||
<span
|
||||
class="ant-table-filter-icon ant-dropdown-trigger"
|
||||
class="ant-table-filter-icon ant-table-filter-selected ant-dropdown-trigger"
|
||||
style=""
|
||||
title="Filter menu"
|
||||
>
|
||||
@ -92,10 +92,13 @@ exports[`Table.filter renders filter correctly 1`] = `
|
||||
>
|
||||
<tr>
|
||||
<th
|
||||
class="ant-table-column-has-filters"
|
||||
class="ant-table-column-has-actions ant-table-column-has-filters"
|
||||
>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
<span>
|
||||
Name
|
||||
</div>
|
||||
<i
|
||||
class="anticon anticon-filter ant-dropdown-trigger"
|
||||
title="Filter menu"
|
||||
@ -110,11 +113,10 @@ exports[`Table.filter renders filter correctly 1`] = `
|
||||
width="1em"
|
||||
>
|
||||
<path
|
||||
d="M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"
|
||||
d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"
|
||||
/>
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -126,7 +128,7 @@ exports[`Table.filter renders filter correctly 1`] = `
|
||||
data-row-key="0"
|
||||
>
|
||||
<td
|
||||
class="ant-table-column-has-filters"
|
||||
class="ant-table-column-has-actions ant-table-column-has-filters"
|
||||
>
|
||||
<span
|
||||
class="ant-table-row-indent indent-level-0"
|
||||
@ -140,7 +142,7 @@ exports[`Table.filter renders filter correctly 1`] = `
|
||||
data-row-key="1"
|
||||
>
|
||||
<td
|
||||
class="ant-table-column-has-filters"
|
||||
class="ant-table-column-has-actions ant-table-column-has-filters"
|
||||
>
|
||||
<span
|
||||
class="ant-table-row-indent indent-level-0"
|
||||
@ -154,7 +156,7 @@ exports[`Table.filter renders filter correctly 1`] = `
|
||||
data-row-key="2"
|
||||
>
|
||||
<td
|
||||
class="ant-table-column-has-filters"
|
||||
class="ant-table-column-has-actions ant-table-column-has-filters"
|
||||
>
|
||||
<span
|
||||
class="ant-table-row-indent indent-level-0"
|
||||
@ -168,7 +170,7 @@ exports[`Table.filter renders filter correctly 1`] = `
|
||||
data-row-key="3"
|
||||
>
|
||||
<td
|
||||
class="ant-table-column-has-filters"
|
||||
class="ant-table-column-has-actions ant-table-column-has-filters"
|
||||
>
|
||||
<span
|
||||
class="ant-table-row-indent indent-level-0"
|
||||
@ -190,7 +192,7 @@ exports[`Table.filter renders filter correctly 1`] = `
|
||||
exports[`Table.filter renders menu correctly 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-dropdown ant-dropdown-placement-bottomLeft ant-dropdown-hidden"
|
||||
class="ant-dropdown ant-dropdown-placement-bottomRight ant-dropdown-hidden"
|
||||
>
|
||||
<div
|
||||
class="ant-table-filter-dropdown"
|
||||
@ -285,7 +287,7 @@ exports[`Table.filter renders menu correctly 1`] = `
|
||||
exports[`Table.filter renders radio filter correctly 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-dropdown ant-dropdown-placement-bottomLeft ant-dropdown-hidden"
|
||||
class="ant-dropdown ant-dropdown-placement-bottomRight ant-dropdown-hidden"
|
||||
>
|
||||
<div
|
||||
class="ant-table-filter-dropdown"
|
||||
|
@ -32,9 +32,11 @@ exports[`Table.pagination renders pagination correctly 1`] = `
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Name
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -6,19 +6,18 @@ exports[`Table.sorter renders sorter icon correctly 1`] = `
|
||||
>
|
||||
<tr>
|
||||
<th
|
||||
class="ant-table-column-has-filters"
|
||||
class="ant-table-column-has-actions ant-table-column-has-sorters"
|
||||
>
|
||||
<div
|
||||
class="ant-table-column-sorters"
|
||||
title="Sort"
|
||||
>
|
||||
<span>
|
||||
Name
|
||||
<div
|
||||
class="ant-table-column-sorter"
|
||||
>
|
||||
<span
|
||||
class="ant-table-column-sorter-up off"
|
||||
title="↑"
|
||||
>
|
||||
<i
|
||||
class="anticon anticon-caret-up"
|
||||
class="anticon anticon-caret-up ant-table-column-sorter-up off"
|
||||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
@ -34,13 +33,8 @@ exports[`Table.sorter renders sorter icon correctly 1`] = `
|
||||
/>
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
<span
|
||||
class="ant-table-column-sorter-down off"
|
||||
title="↓"
|
||||
>
|
||||
<i
|
||||
class="anticon anticon-caret-down"
|
||||
class="anticon anticon-caret-down ant-table-column-sorter-down off"
|
||||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
@ -56,9 +50,8 @@ exports[`Table.sorter renders sorter icon correctly 1`] = `
|
||||
/>
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -35,33 +35,41 @@ exports[`Table renders JSX correctly 1`] = `
|
||||
class=""
|
||||
colspan="2"
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Name
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
rowspan="2"
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Age
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
First Name
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Last Name
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -39,58 +39,74 @@ exports[`Table renders empty table 1`] = `
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 1
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 2
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 3
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 4
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 5
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 6
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 7
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 8
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -150,58 +166,74 @@ exports[`Table renders empty table with custom emptyText 1`] = `
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 1
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 2
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 3
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 4
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 5
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 6
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 7
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 8
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -273,79 +305,101 @@ exports[`Table renders empty table with fixed columns 1`] = `
|
||||
<th
|
||||
class="ant-table-fixed-columns-in-body"
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Full Name
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class="ant-table-fixed-columns-in-body"
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Age
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 1
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 2
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 3
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 4
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 5
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 6
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 7
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 8
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class="ant-table-fixed-columns-in-body"
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Action
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -388,16 +442,20 @@ exports[`Table renders empty table with fixed columns 1`] = `
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Full Name
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Age
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -433,9 +491,11 @@ exports[`Table renders empty table with fixed columns 1`] = `
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Action
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -506,58 +566,74 @@ exports[`Table renders empty table without emptyText when loading 1`] = `
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 1
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 2
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 3
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 4
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 5
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 6
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 7
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
>
|
||||
<span>
|
||||
<div
|
||||
title="Sort"
|
||||
>
|
||||
Column 8
|
||||
</span>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
Loading…
Reference in New Issue
Block a user