Browse Source

update select snapshot

pull/11322/head
HeskeyBaozi 6 years ago
parent
commit
bda65ddb1e
  1. 250
      components/select/__tests__/__snapshots__/demo.test.js.snap
  2. 8
      components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap

250
components/select/__tests__/__snapshots__/demo.test.js.snap

@ -72,7 +72,22 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="arrowdown"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -105,7 +120,22 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="arrowdown"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -143,7 +173,22 @@ exports[`renders ./components/select/demo/coordinate.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="arrowdown"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -176,7 +221,22 @@ exports[`renders ./components/select/demo/coordinate.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="arrowdown"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -213,7 +273,22 @@ exports[`renders ./components/select/demo/label-in-value.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="arrowdown"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -256,7 +331,24 @@ exports[`renders ./components/select/demo/multiple.md correctly 1`] = `
</div>
<span
class="ant-select-selection__choice__remove"
/>
>
<i
class="anticon ant-select-remove-icon"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9c-4.4 5.2-.7 13.1 6.1 13.1h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
/>
</svg>
</i>
</span>
</li>
<li
class="ant-select-selection__choice"
@ -271,7 +363,24 @@ exports[`renders ./components/select/demo/multiple.md correctly 1`] = `
</div>
<span
class="ant-select-selection__choice__remove"
/>
>
<i
class="anticon ant-select-remove-icon"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9c-4.4 5.2-.7 13.1 6.1 13.1h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
/>
</svg>
</i>
</span>
</li>
<li
class="ant-select-search ant-select-search--inline"
@ -327,7 +436,22 @@ exports[`renders ./components/select/demo/optgroup.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="arrowdown"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -382,7 +506,22 @@ exports[`renders ./components/select/demo/search.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="arrowdown"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -579,7 +718,22 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
<b />
<i
class="anticon ant-select-arrow-icon"
>
<svg
aria-hidden="true"
data-icon="arrowdown"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861c12.7 14.7 35.5 14.7 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"
/>
</svg>
</i>
</span>
</div>
</div>
@ -620,7 +774,24 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
</div>
<span
class="ant-select-selection__choice__remove"
/>
>
<i
class="anticon ant-select-remove-icon"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9c-4.4 5.2-.7 13.1 6.1 13.1h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
/>
</svg>
</i>
</span>
</li>
<li
class="ant-select-selection__choice"
@ -635,7 +806,24 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
</div>
<span
class="ant-select-selection__choice__remove"
/>
>
<i
class="anticon ant-select-remove-icon"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9c-4.4 5.2-.7 13.1 6.1 13.1h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
/>
</svg>
</i>
</span>
</li>
<li
class="ant-select-search ant-select-search--inline"
@ -696,7 +884,24 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
</div>
<span
class="ant-select-selection__choice__remove"
/>
>
<i
class="anticon ant-select-remove-icon"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9c-4.4 5.2-.7 13.1 6.1 13.1h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
/>
</svg>
</i>
</span>
</li>
<li
class="ant-select-selection__choice"
@ -711,7 +916,24 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
</div>
<span
class="ant-select-selection__choice__remove"
/>
>
<i
class="anticon ant-select-remove-icon"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<path
d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9c-4.4 5.2-.7 13.1 6.1 13.1h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
/>
</svg>
</i>
</span>
</li>
<li
class="ant-select-search ant-select-search--inline"

8
components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap

@ -72,6 +72,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="0"
>
<td
class="ant-table-fixed-columns-in-body ant-table-selection-column"
@ -106,6 +107,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="1"
>
<td
class="ant-table-fixed-columns-in-body ant-table-selection-column"
@ -140,6 +142,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="2"
>
<td
class="ant-table-fixed-columns-in-body ant-table-selection-column"
@ -174,6 +177,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="3"
>
<td
class="ant-table-fixed-columns-in-body ant-table-selection-column"
@ -262,6 +266,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="0"
>
<td
class="ant-table-selection-column"
@ -287,6 +292,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="1"
>
<td
class="ant-table-selection-column"
@ -312,6 +318,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="2"
>
<td
class="ant-table-selection-column"
@ -337,6 +344,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="3"
>
<td
class="ant-table-selection-column"

Loading…
Cancel
Save