test: update snapshot for pagination

This commit is contained in:
Benjy Cui 2017-05-17 11:11:01 +08:00
parent f3c38d5811
commit 0b332f0fb8
4 changed files with 72 additions and 0 deletions

View File

@ -63,6 +63,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="Previous Page" title="Previous Page"
> >
@ -109,6 +110,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="Next Page" title="Next Page"
> >
@ -1537,6 +1539,7 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="Previous Page" title="Previous Page"
> >
@ -1583,6 +1586,7 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="Next Page" title="Next Page"
> >

View File

@ -6,6 +6,7 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -52,6 +53,7 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -66,6 +68,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="false"
class=" ant-pagination-prev" class=" ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -126,6 +129,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -176,6 +180,7 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="false"
class=" ant-pagination-prev" class=" ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -222,6 +227,7 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -236,6 +242,7 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="false"
class=" ant-pagination-prev" class=" ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -296,6 +303,7 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -325,6 +333,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -371,6 +380,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -382,6 +392,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -428,6 +439,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -490,6 +502,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
Total 50 items Total 50 items
</span> </span>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -536,6 +549,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -551,6 +565,7 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="false"
class=" ant-pagination-prev" class=" ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -625,6 +640,7 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -638,6 +654,7 @@ exports[`renders ./components/pagination/demo/simple.md correctly 1`] = `
class="ant-pagination ant-pagination-simple " class="ant-pagination ant-pagination-simple "
> >
<li <li
aria-disabled="false"
class=" ant-pagination-prev" class=" ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -659,6 +676,7 @@ exports[`renders ./components/pagination/demo/simple.md correctly 1`] = `
5 5
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -679,6 +697,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
Total 85 items Total 85 items
</span> </span>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -725,6 +744,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -742,6 +762,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
1-20 of 85 items 1-20 of 85 items
</span> </span>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -788,6 +809,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >

View File

@ -77,6 +77,7 @@ exports[`Table.pagination renders pagination correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -99,6 +100,7 @@ exports[`Table.pagination renders pagination correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >

View File

@ -353,6 +353,7 @@ exports[`renders ./components/table/demo/basic.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -367,6 +368,7 @@ exports[`renders ./components/table/demo/basic.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -536,6 +538,7 @@ exports[`renders ./components/table/demo/bordered.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -550,6 +553,7 @@ exports[`renders ./components/table/demo/bordered.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -800,6 +804,7 @@ exports[`renders ./components/table/demo/colspan-rowspan.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -814,6 +819,7 @@ exports[`renders ./components/table/demo/colspan-rowspan.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -993,6 +999,7 @@ exports[`renders ./components/table/demo/custom-filter-panel.md correctly 1`] =
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -1007,6 +1014,7 @@ exports[`renders ./components/table/demo/custom-filter-panel.md correctly 1`] =
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -2329,6 +2337,7 @@ exports[`renders ./components/table/demo/dynamic-settings.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -2343,6 +2352,7 @@ exports[`renders ./components/table/demo/dynamic-settings.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -2527,6 +2537,7 @@ exports[`renders ./components/table/demo/edit-cell.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -2541,6 +2552,7 @@ exports[`renders ./components/table/demo/edit-cell.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -2682,6 +2694,7 @@ exports[`renders ./components/table/demo/edit-row.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -2696,6 +2709,7 @@ exports[`renders ./components/table/demo/edit-row.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -2895,6 +2909,7 @@ exports[`renders ./components/table/demo/expand.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -2909,6 +2924,7 @@ exports[`renders ./components/table/demo/expand.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -3447,6 +3463,7 @@ exports[`renders ./components/table/demo/expand-children.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -3461,6 +3478,7 @@ exports[`renders ./components/table/demo/expand-children.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -3897,6 +3915,7 @@ exports[`renders ./components/table/demo/fixed-columns.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -3911,6 +3930,7 @@ exports[`renders ./components/table/demo/fixed-columns.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -5218,6 +5238,7 @@ exports[`renders ./components/table/demo/fixed-columns-header.md correctly 1`] =
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -5278,6 +5299,7 @@ exports[`renders ./components/table/demo/fixed-columns-header.md correctly 1`] =
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -6532,6 +6554,7 @@ exports[`renders ./components/table/demo/fixed-header.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -6554,6 +6577,7 @@ exports[`renders ./components/table/demo/fixed-header.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -7599,6 +7623,7 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -7659,6 +7684,7 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -7897,6 +7923,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -7911,6 +7938,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -8195,6 +8223,7 @@ exports[`renders ./components/table/demo/jsx.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -8209,6 +8238,7 @@ exports[`renders ./components/table/demo/jsx.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -8477,6 +8507,7 @@ exports[`renders ./components/table/demo/nested-table.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -8491,6 +8522,7 @@ exports[`renders ./components/table/demo/nested-table.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -8758,6 +8790,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -8772,6 +8805,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -9070,6 +9104,7 @@ exports[`renders ./components/table/demo/row-selection.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -9084,6 +9119,7 @@ exports[`renders ./components/table/demo/row-selection.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -9645,6 +9681,7 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md correctl
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -9691,6 +9728,7 @@ exports[`renders ./components/table/demo/row-selection-and-operation.md correctl
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -10243,6 +10281,7 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] =
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -10289,6 +10328,7 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] =
</a> </a>
</li> </li>
<li <li
aria-disabled="false"
class=" ant-pagination-next" class=" ant-pagination-next"
title="下一页" title="下一页"
> >
@ -10440,6 +10480,7 @@ exports[`renders ./components/table/demo/size.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -10454,6 +10495,7 @@ exports[`renders ./components/table/demo/size.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >
@ -10601,6 +10643,7 @@ exports[`renders ./components/table/demo/size.md correctly 1`] = `
unselectable="unselectable" unselectable="unselectable"
> >
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev" class="ant-pagination-disabled ant-pagination-prev"
title="上一页" title="上一页"
> >
@ -10615,6 +10658,7 @@ exports[`renders ./components/table/demo/size.md correctly 1`] = `
</a> </a>
</li> </li>
<li <li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-next" class="ant-pagination-disabled ant-pagination-next"
title="下一页" title="下一页"
> >