chore: Update snapshot

This commit is contained in:
zombiej 2020-06-01 16:40:46 +08:00
parent 294144b1ae
commit 39ed9b3889
3 changed files with 111 additions and 97 deletions

View File

@ -25192,8 +25192,8 @@ exports[`ConfigProvider components Tabs configProvider 1`] = `
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="config-tabs-tab"
aria-selected="true"
class="config-tabs-tab config-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -25249,11 +25249,10 @@ exports[`ConfigProvider components Tabs configProvider 1`] = `
class="config-tabs-content config-tabs-content-top"
>
<div
aria-hidden="true"
class="config-tabs-tabpane"
aria-hidden="false"
class="config-tabs-tabpane config-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
tabindex="0"
/>
</div>
</div>
@ -25276,8 +25275,8 @@ exports[`ConfigProvider components Tabs configProvider componentSize large 1`] =
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="config-tabs-tab"
aria-selected="true"
class="config-tabs-tab config-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -25333,11 +25332,10 @@ exports[`ConfigProvider components Tabs configProvider componentSize large 1`] =
class="config-tabs-content config-tabs-content-top"
>
<div
aria-hidden="true"
class="config-tabs-tabpane"
aria-hidden="false"
class="config-tabs-tabpane config-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
tabindex="0"
/>
</div>
</div>
@ -25360,8 +25358,8 @@ exports[`ConfigProvider components Tabs configProvider componentSize middle 1`]
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="config-tabs-tab"
aria-selected="true"
class="config-tabs-tab config-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -25417,11 +25415,10 @@ exports[`ConfigProvider components Tabs configProvider componentSize middle 1`]
class="config-tabs-content config-tabs-content-top"
>
<div
aria-hidden="true"
class="config-tabs-tabpane"
aria-hidden="false"
class="config-tabs-tabpane config-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
tabindex="0"
/>
</div>
</div>
@ -25444,8 +25441,8 @@ exports[`ConfigProvider components Tabs configProvider virtual and dropdownMatch
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="ant-tabs-tab"
aria-selected="true"
class="ant-tabs-tab ant-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -25501,11 +25498,10 @@ exports[`ConfigProvider components Tabs configProvider virtual and dropdownMatch
class="ant-tabs-content ant-tabs-content-top"
>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
tabindex="0"
/>
</div>
</div>
@ -25528,8 +25524,8 @@ exports[`ConfigProvider components Tabs normal 1`] = `
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="ant-tabs-tab"
aria-selected="true"
class="ant-tabs-tab ant-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -25585,11 +25581,10 @@ exports[`ConfigProvider components Tabs normal 1`] = `
class="ant-tabs-content ant-tabs-content-top"
>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
tabindex="0"
/>
</div>
</div>
@ -25612,8 +25607,8 @@ exports[`ConfigProvider components Tabs prefixCls 1`] = `
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="prefix-Tabs-tab"
aria-selected="true"
class="prefix-Tabs-tab prefix-Tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -25669,11 +25664,10 @@ exports[`ConfigProvider components Tabs prefixCls 1`] = `
class="prefix-Tabs-content prefix-Tabs-content-top"
>
<div
aria-hidden="true"
class="prefix-Tabs-tabpane"
aria-hidden="false"
class="prefix-Tabs-tabpane prefix-Tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
tabindex="0"
/>
</div>
</div>

View File

@ -133,8 +133,8 @@ exports[`renders ./components/tabs/demo/card.md correctly 1`] = `
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="ant-tabs-tab"
aria-selected="true"
class="ant-tabs-tab ant-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -208,12 +208,13 @@ exports[`renders ./components/tabs/demo/card.md correctly 1`] = `
class="ant-tabs-content ant-tabs-content-top"
>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
/>
tabindex="0"
>
Content of Tab Pane 1
</div>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
@ -252,8 +253,8 @@ exports[`renders ./components/tabs/demo/card-top.md correctly 1`] = `
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="ant-tabs-tab"
aria-selected="true"
class="ant-tabs-tab ant-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -327,12 +328,21 @@ exports[`renders ./components/tabs/demo/card-top.md correctly 1`] = `
class="ant-tabs-content ant-tabs-content-top"
>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
/>
tabindex="0"
>
<p>
Content of Tab Pane 1
</p>
<p>
Content of Tab Pane 1
</p>
<p>
Content of Tab Pane 1
</p>
</div>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
@ -661,8 +671,8 @@ exports[`renders ./components/tabs/demo/custom-tab-bar-node.md correctly 1`] = `
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="ant-tabs-tab"
aria-selected="true"
class="ant-tabs-tab ant-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -736,12 +746,13 @@ exports[`renders ./components/tabs/demo/custom-tab-bar-node.md correctly 1`] = `
class="ant-tabs-content ant-tabs-content-top"
>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
/>
tabindex="0"
>
Content of Tab Pane 1
</div>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
@ -909,14 +920,14 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = `
tabindex="0"
>
<span
aria-label="close"
class="anticon anticon-close"
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
>
<svg
aria-hidden="true"
class=""
data-icon="close"
data-icon="close-circle"
fill="currentColor"
focusable="false"
height="1em"
@ -924,7 +935,10 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = `
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.9A7.95 7.95 0 00203 838h79.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"
d="M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"
/>
<path
d="M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
</svg>
</span>
@ -945,14 +959,14 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = `
tabindex="0"
>
<span
aria-label="close"
class="anticon anticon-close"
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
>
<svg
aria-hidden="true"
class=""
data-icon="close"
data-icon="close-circle"
fill="currentColor"
focusable="false"
height="1em"
@ -960,7 +974,10 @@ exports[`renders ./components/tabs/demo/editable-card.md correctly 1`] = `
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.9A7.95 7.95 0 00203 838h79.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"
d="M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"
/>
<path
d="M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
/>
</svg>
</span>
@ -1126,8 +1143,8 @@ exports[`renders ./components/tabs/demo/extra.md correctly 1`] = `
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="ant-tabs-tab"
aria-selected="true"
class="ant-tabs-tab ant-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -1213,12 +1230,13 @@ exports[`renders ./components/tabs/demo/extra.md correctly 1`] = `
class="ant-tabs-content ant-tabs-content-top"
>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
/>
tabindex="0"
>
Content of tab 1
</div>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
@ -2190,8 +2208,8 @@ exports[`renders ./components/tabs/demo/position.md correctly 1`] = `
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="ant-tabs-tab"
aria-selected="true"
class="ant-tabs-tab ant-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -2265,12 +2283,13 @@ exports[`renders ./components/tabs/demo/position.md correctly 1`] = `
class="ant-tabs-content ant-tabs-content-top"
>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
/>
tabindex="0"
>
Content of Tab 1
</div>
<div
aria-hidden="true"
class="ant-tabs-tabpane"

View File

@ -14,12 +14,13 @@ exports[`Tabs renderTabBar custom-tab-bar 1`] = `
class="ant-tabs-content ant-tabs-content-top"
>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
/>
tabindex="0"
>
foo
</div>
</div>
</div>
</div>
@ -41,8 +42,8 @@ exports[`Tabs rtl render component should be rendered correctly in RTL direction
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="ant-tabs-tab"
aria-selected="true"
class="ant-tabs-tab ant-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -98,11 +99,10 @@ exports[`Tabs rtl render component should be rendered correctly in RTL direction
class="ant-tabs-content ant-tabs-content-top"
>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
tabindex="0"
/>
</div>
</div>
@ -125,8 +125,8 @@ exports[`Tabs tabPosition remove card 1`] = `
style="transform:translate(0px, 0px)"
>
<button
aria-selected="false"
class="ant-tabs-tab"
aria-selected="true"
class="ant-tabs-tab ant-tabs-tab-active"
role="tab"
tabindex="0"
type="button"
@ -187,12 +187,13 @@ exports[`Tabs tabPosition remove card 1`] = `
class="ant-tabs-content ant-tabs-content-left"
>
<div
aria-hidden="true"
class="ant-tabs-tabpane"
aria-hidden="false"
class="ant-tabs-tabpane ant-tabs-tabpane-active"
role="tabpanel"
style="display:none"
tabindex="-1"
/>
tabindex="0"
>
foo
</div>
</div>
</div>
</div>