2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/animated.tsx correctly 1`] = `
|
2022-08-08 17:01:25 +08:00
|
|
|
Array [
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-right:8px"
|
2022-08-08 17:01:25 +08:00
|
|
|
>
|
|
|
|
<button
|
|
|
|
aria-checked="true"
|
|
|
|
class="ant-switch ant-switch-checked"
|
|
|
|
role="switch"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-switch-handle"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner"
|
|
|
|
>
|
2022-10-14 12:11:43 +08:00
|
|
|
<span
|
|
|
|
class="ant-switch-inner-checked"
|
|
|
|
>
|
|
|
|
inkBar
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner-unchecked"
|
|
|
|
>
|
|
|
|
inkBar
|
|
|
|
</span>
|
2022-08-08 17:01:25 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
aria-checked="true"
|
|
|
|
class="ant-switch ant-switch-checked"
|
|
|
|
role="switch"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-switch-handle"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner"
|
|
|
|
>
|
2022-10-14 12:11:43 +08:00
|
|
|
<span
|
|
|
|
class="ant-switch-inner-checked"
|
|
|
|
>
|
|
|
|
tabPane
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner-unchecked"
|
|
|
|
>
|
|
|
|
tabPane
|
|
|
|
</span>
|
2022-08-08 17:01:25 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
<div
|
|
|
|
class="ant-tabs ant-tabs-top"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav"
|
|
|
|
role="tablist"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-wrap"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2022-08-08 17:01:25 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2022-08-08 17:01:25 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Bamboo
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2022-08-08 17:01:25 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Little
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2022-08-08 17:01:25 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Light
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2022-08-08 17:01:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2022-08-08 17:01:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content-holder"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content ant-tabs-content-top ant-tabs-content-animated"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="height:200px;box-shadow:0 0 3px rgba(255, 0, 0, 0.5)"
|
2022-08-08 17:01:25 +08:00
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Hello Bamboo!
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/basic.tsx correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs ant-tabs-top"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
2016-11-22 14:28:05 +08:00
|
|
|
role="tablist"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 3
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
|
|
|
<span
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-08-16 16:15:25 +08:00
|
|
|
</span>
|
2020-05-30 18:28:25 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content-holder"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Content of Tab Pane 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/card.tsx correctly 1`] = `
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs ant-tabs-top ant-tabs-card"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav"
|
|
|
|
role="tablist"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-wrap"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-06-01 16:40:46 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 3
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
2018-07-29 15:19:59 +08:00
|
|
|
/>
|
2020-05-30 18:28:25 +08:00
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
2020-06-01 16:40:46 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
2020-05-30 18:28:25 +08:00
|
|
|
role="tabpanel"
|
2020-06-01 16:40:46 +08:00
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Content of Tab Pane 1
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/card-top.tsx correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2023-01-05 15:30:59 +08:00
|
|
|
class="css-1g7foe3"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs ant-tabs-top ant-tabs-card"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
|
|
|
role="tablist"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-wrap"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-06-01 16:40:46 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab Title 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab Title 2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab Title 3
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
2020-05-30 18:28:25 +08:00
|
|
|
data-icon="ellipsis"
|
2018-09-02 19:53:29 +08:00
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2020-05-30 18:28:25 +08:00
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2020-05-30 18:28:25 +08:00
|
|
|
</button>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
|
|
|
>
|
|
|
|
<div
|
2020-06-01 16:40:46 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
2020-05-30 18:28:25 +08:00
|
|
|
role="tabpanel"
|
2020-06-01 16:40:46 +08:00
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<p>
|
2022-09-28 17:29:47 +08:00
|
|
|
Content of Tab Pane
|
2022-10-08 16:17:20 +08:00
|
|
|
<!-- -->
|
2022-09-09 15:51:35 +08:00
|
|
|
1
|
2020-06-01 16:40:46 +08:00
|
|
|
</p>
|
|
|
|
<p>
|
2022-09-28 17:29:47 +08:00
|
|
|
Content of Tab Pane
|
2022-10-08 16:17:20 +08:00
|
|
|
<!-- -->
|
2022-09-09 15:51:35 +08:00
|
|
|
1
|
2020-06-01 16:40:46 +08:00
|
|
|
</p>
|
|
|
|
<p>
|
2022-09-28 17:29:47 +08:00
|
|
|
Content of Tab Pane
|
2022-10-08 16:17:20 +08:00
|
|
|
<!-- -->
|
2022-09-09 15:51:35 +08:00
|
|
|
1
|
2020-06-01 16:40:46 +08:00
|
|
|
</p>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/centered.tsx correctly 1`] = `
|
2020-06-28 22:41:59 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs ant-tabs-top ant-tabs-centered"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav"
|
|
|
|
role="tablist"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-wrap"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2020-06-28 22:41:59 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2020-06-28 22:41:59 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-06-28 22:41:59 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-06-28 22:41:59 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 3
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-06-28 22:41:59 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-06-28 22:41:59 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content-holder"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Content of Tab Pane 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/custom-add-trigger.tsx correctly 1`] = `
|
2020-05-30 18:28:25 +08:00
|
|
|
<div>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-bottom:16px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2020-05-30 18:28:25 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
ADD
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs ant-tabs-top ant-tabs-editable ant-tabs-card ant-tabs-editable-card"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav"
|
2016-11-22 14:28:05 +08:00
|
|
|
role="tablist"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-with-remove ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
<button
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="remove"
|
|
|
|
class="ant-tabs-tab-remove"
|
|
|
|
tabindex="0"
|
2020-06-24 17:55:50 +08:00
|
|
|
type="button"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
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"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2020-06-24 17:55:50 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-with-remove"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
<button
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="remove"
|
|
|
|
class="ant-tabs-tab-remove"
|
|
|
|
tabindex="0"
|
2020-06-24 17:55:50 +08:00
|
|
|
type="button"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
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"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2020-06-24 17:55:50 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-08-16 16:15:25 +08:00
|
|
|
</span>
|
2020-05-30 18:28:25 +08:00
|
|
|
</button>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
2017-06-26 20:33:13 +08:00
|
|
|
Content of Tab Pane 1
|
2020-05-30 18:28:25 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/custom-tab-bar.tsx correctly 1`] = `
|
2022-12-29 18:37:06 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs ant-tabs-top"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2022-12-29 18:37:06 +08:00
|
|
|
style="z-index:1"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-12-29 18:37:06 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav"
|
|
|
|
role="tablist"
|
|
|
|
style="background:#ffffff"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2022-12-29 18:37:06 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
2022-12-29 18:37:06 +08:00
|
|
|
class="ant-tabs-nav-list"
|
|
|
|
style="transform:translate(0px, 0px)"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
2022-12-29 18:37:06 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
|
|
|
data-node-key="1"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2022-12-29 18:37:06 +08:00
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-12-29 18:37:06 +08:00
|
|
|
Tab 1
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
2022-12-29 18:37:06 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab"
|
|
|
|
data-node-key="2"
|
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2022-12-29 18:37:06 +08:00
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2022-12-29 18:37:06 +08:00
|
|
|
Tab 2
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
2022-12-29 18:37:06 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab"
|
|
|
|
data-node-key="3"
|
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2022-12-29 18:37:06 +08:00
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2022-12-29 18:37:06 +08:00
|
|
|
Tab 3
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
</div>
|
2022-12-29 18:37:06 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
2020-05-30 18:28:25 +08:00
|
|
|
</div>
|
2022-12-29 18:37:06 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
style="background:#ffffff"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
aria-controls="null-more-popup"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2022-12-29 18:37:06 +08:00
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2022-12-29 18:37:06 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-12-29 18:37:06 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-29 18:37:06 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content-holder"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2022-12-29 18:37:06 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2022-12-29 18:37:06 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
style="height:200px"
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-12-29 18:37:06 +08:00
|
|
|
Content of Tab Pane 1
|
2020-05-30 18:28:25 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/custom-tab-bar-node.tsx correctly 1`] = `
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs ant-tabs-top"
|
|
|
|
>
|
2018-08-28 18:56:25 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
|
|
|
role="tablist"
|
2018-08-28 18:56:25 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-wrap"
|
|
|
|
>
|
2018-08-28 18:56:25 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2018-08-28 18:56:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2023-02-13 10:29:12 +08:00
|
|
|
aria-describedby="DndDescribedBy-0"
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-roledescription="sortable"
|
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
|
|
|
data-node-key="1"
|
|
|
|
role="button"
|
|
|
|
style="cursor:move"
|
|
|
|
tabindex="0"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2023-02-13 10:29:12 +08:00
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
2020-06-24 17:55:50 +08:00
|
|
|
>
|
2023-02-13 10:29:12 +08:00
|
|
|
Tab 1
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2023-02-13 10:29:12 +08:00
|
|
|
aria-describedby="DndDescribedBy-0"
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-roledescription="sortable"
|
|
|
|
class="ant-tabs-tab"
|
|
|
|
data-node-key="2"
|
|
|
|
role="button"
|
|
|
|
style="cursor:move"
|
|
|
|
tabindex="0"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2023-02-13 10:29:12 +08:00
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
2020-06-24 17:55:50 +08:00
|
|
|
>
|
2023-02-13 10:29:12 +08:00
|
|
|
Tab 2
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2023-02-13 10:29:12 +08:00
|
|
|
aria-describedby="DndDescribedBy-0"
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-roledescription="sortable"
|
|
|
|
class="ant-tabs-tab"
|
|
|
|
data-node-key="3"
|
|
|
|
role="button"
|
|
|
|
style="cursor:move"
|
|
|
|
tabindex="0"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2023-02-13 10:29:12 +08:00
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
2020-06-24 17:55:50 +08:00
|
|
|
>
|
2023-02-13 10:29:12 +08:00
|
|
|
Tab 3
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-28 18:56:25 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-08-05 10:49:08 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2022-08-05 10:49:08 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2018-08-28 18:56:25 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-08-28 18:56:25 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2018-08-28 18:56:25 +08:00
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content-holder"
|
|
|
|
>
|
2018-08-28 18:56:25 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2018-08-28 18:56:25 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-06-01 16:40:46 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
2018-08-28 18:56:25 +08:00
|
|
|
role="tabpanel"
|
2020-06-01 16:40:46 +08:00
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Content of Tab Pane 1
|
|
|
|
</div>
|
2018-08-28 18:56:25 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/disabled.tsx correctly 1`] = `
|
2019-01-16 20:00:23 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs ant-tabs-top"
|
2019-01-16 20:00:23 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
2019-01-16 20:00:23 +08:00
|
|
|
role="tablist"
|
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2019-01-16 20:00:23 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2019-01-16 20:00:23 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2019-01-16 20:00:23 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-disabled"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2019-01-16 20:00:23 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="true"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 3
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-16 20:00:23 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2019-01-16 20:00:23 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2019-01-16 20:00:23 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
2019-01-16 20:00:23 +08:00
|
|
|
/>
|
2020-05-30 18:28:25 +08:00
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2019-01-16 20:00:23 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2019-01-16 20:00:23 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2019-01-16 20:00:23 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
2019-01-16 20:00:23 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/editable-card.tsx correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs ant-tabs-top ant-tabs-editable ant-tabs-card ant-tabs-editable-card"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
2016-11-22 14:28:05 +08:00
|
|
|
role="tablist"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-with-remove ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
<button
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="remove"
|
|
|
|
class="ant-tabs-tab-remove"
|
|
|
|
tabindex="0"
|
2020-06-24 17:55:50 +08:00
|
|
|
type="button"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<span
|
2020-06-05 20:11:25 +08:00
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
2020-05-30 18:28:25 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
2020-06-05 20:11:25 +08:00
|
|
|
data-icon="close"
|
2020-05-30 18:28:25 +08:00
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2020-06-05 20:11:25 +08:00
|
|
|
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"
|
2020-05-30 18:28:25 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2020-06-24 17:55:50 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-with-remove"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
<button
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="remove"
|
|
|
|
class="ant-tabs-tab-remove"
|
|
|
|
tabindex="0"
|
2020-06-24 17:55:50 +08:00
|
|
|
type="button"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
|
|
|
<span
|
2020-06-05 20:11:25 +08:00
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
2020-05-30 18:28:25 +08:00
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
2020-06-05 20:11:25 +08:00
|
|
|
data-icon="close"
|
2020-05-30 18:28:25 +08:00
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2020-06-05 20:11:25 +08:00
|
|
|
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"
|
2020-05-30 18:28:25 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2020-06-24 17:55:50 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 3
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<button
|
|
|
|
aria-label="Add tab"
|
|
|
|
class="ant-tabs-nav-add"
|
|
|
|
type="button"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="plus"
|
|
|
|
class="anticon anticon-plus"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
2020-05-30 18:28:25 +08:00
|
|
|
data-icon="plus"
|
2018-09-02 19:53:29 +08:00
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
2022-09-09 15:51:35 +08:00
|
|
|
<defs>
|
|
|
|
<style />
|
|
|
|
</defs>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"
|
|
|
|
/>
|
2018-09-02 19:53:29 +08:00
|
|
|
<path
|
2020-05-30 18:28:25 +08:00
|
|
|
d="M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2020-05-30 18:28:25 +08:00
|
|
|
</button>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-08-16 16:15:25 +08:00
|
|
|
</span>
|
2020-05-30 18:28:25 +08:00
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
aria-label="Add tab"
|
|
|
|
class="ant-tabs-nav-add"
|
|
|
|
type="button"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<span
|
|
|
|
aria-label="plus"
|
|
|
|
class="anticon anticon-plus"
|
|
|
|
role="img"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="plus"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-09-09 15:51:35 +08:00
|
|
|
<defs>
|
|
|
|
<style />
|
|
|
|
</defs>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"
|
2018-07-29 15:19:59 +08:00
|
|
|
/>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Content of Tab 1
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/extra.tsx correctly 1`] = `
|
2020-08-07 09:53:45 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs ant-tabs-top"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-nav"
|
|
|
|
role="tablist"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2020-06-24 17:55:50 +08:00
|
|
|
>
|
2020-08-07 09:53:45 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-06-24 17:55:50 +08:00
|
|
|
>
|
2020-08-07 09:53:45 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-06-24 17:55:50 +08:00
|
|
|
>
|
2020-08-07 09:53:45 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 3
|
|
|
|
</div>
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
2020-08-07 09:53:45 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
</div>
|
2020-08-07 09:53:45 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-08-07 09:53:45 +08:00
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-08-07 09:53:45 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-08-07 09:53:45 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-08-07 09:53:45 +08:00
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-08-07 09:53:45 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-extra-content"
|
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2020-08-07 09:53:45 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Extra Action
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-08-07 09:53:45 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2020-08-07 09:53:45 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Content of tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
</div>
|
2020-08-07 09:53:45 +08:00
|
|
|
</div>,
|
|
|
|
<br />,
|
|
|
|
<br />,
|
|
|
|
<br />,
|
|
|
|
<div>
|
|
|
|
You can also specify its direction or both side
|
|
|
|
</div>,
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-divider ant-divider-horizontal"
|
|
|
|
role="separator"
|
|
|
|
/>,
|
|
|
|
<div
|
|
|
|
class="ant-checkbox-group"
|
|
|
|
>
|
|
|
|
<label
|
2020-09-06 13:07:39 +08:00
|
|
|
class="ant-checkbox-wrapper ant-checkbox-wrapper-checked ant-checkbox-group-item"
|
2020-08-07 09:53:45 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-checkbox ant-checkbox-checked"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
class="ant-checkbox-input"
|
|
|
|
type="checkbox"
|
|
|
|
value="left"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-checkbox-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
left
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
2020-09-06 13:07:39 +08:00
|
|
|
class="ant-checkbox-wrapper ant-checkbox-wrapper-checked ant-checkbox-group-item"
|
2020-08-07 09:53:45 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-checkbox ant-checkbox-checked"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
class="ant-checkbox-input"
|
|
|
|
type="checkbox"
|
|
|
|
value="right"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-checkbox-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
right
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</div>,
|
|
|
|
<br />,
|
|
|
|
<br />,
|
|
|
|
<div
|
|
|
|
class="ant-tabs ant-tabs-top"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-nav"
|
|
|
|
role="tablist"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-extra-content"
|
2020-06-01 16:40:46 +08:00
|
|
|
>
|
2020-08-07 09:53:45 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default tabs-extra-demo-button"
|
2020-08-07 09:53:45 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Left Extra Action
|
|
|
|
</span>
|
|
|
|
</button>
|
2020-06-01 16:40:46 +08:00
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2020-08-07 09:53:45 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2020-08-07 09:53:45 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-08-07 09:53:45 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-08-07 09:53:45 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 3
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
2020-08-07 09:53:45 +08:00
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-08-07 09:53:45 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-08-07 09:53:45 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-extra-content"
|
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2020-08-07 09:53:45 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Right Extra Action
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
</div>
|
2020-08-07 09:53:45 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-content-holder"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Content of tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
2020-05-30 18:28:25 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/icon.tsx correctly 1`] = `
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs ant-tabs-top"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav"
|
|
|
|
role="tablist"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-wrap"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<span
|
|
|
|
aria-label="apple"
|
|
|
|
class="anticon anticon-apple"
|
|
|
|
role="img"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="apple"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2022-09-28 17:29:47 +08:00
|
|
|
Tab
|
2022-10-08 16:17:20 +08:00
|
|
|
<!-- -->
|
2022-09-09 15:51:35 +08:00
|
|
|
1
|
2020-05-30 18:28:25 +08:00
|
|
|
</span>
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<span
|
|
|
|
aria-label="android"
|
|
|
|
class="anticon anticon-android"
|
|
|
|
role="img"
|
2017-09-27 22:32:49 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="android"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2022-09-28 17:29:47 +08:00
|
|
|
Tab
|
2022-10-08 16:17:20 +08:00
|
|
|
<!-- -->
|
2022-09-09 15:51:35 +08:00
|
|
|
2
|
2020-05-30 18:28:25 +08:00
|
|
|
</span>
|
2020-06-24 17:55:50 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-08-05 23:01:28 +08:00
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
2017-08-05 23:01:28 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
2018-07-29 15:19:59 +08:00
|
|
|
/>
|
2020-05-30 18:28:25 +08:00
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
2022-08-08 17:01:25 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
2020-05-30 18:28:25 +08:00
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/nest.tsx correctly 1`] = `
|
2020-05-30 18:28:25 +08:00
|
|
|
<div>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-select-selector"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-08-05 23:01:28 +08:00
|
|
|
<span
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-select-selection-search"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
2019-12-25 11:29:54 +08:00
|
|
|
readonly=""
|
2019-09-12 20:15:17 +08:00
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2020-05-12 12:44:49 +08:00
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
2018-11-23 13:39:33 +08:00
|
|
|
/>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2019-09-12 20:15:17 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
2018-11-23 13:39:33 +08:00
|
|
|
<span
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-label="down"
|
2020-06-24 23:28:54 +08:00
|
|
|
class="anticon anticon-down ant-select-suffix"
|
2019-09-12 20:15:17 +08:00
|
|
|
role="img"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<path
|
|
|
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-11-23 13:39:33 +08:00
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2018-11-23 13:39:33 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
2019-12-25 11:29:54 +08:00
|
|
|
readonly=""
|
2019-09-12 20:15:17 +08:00
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2020-05-12 12:44:49 +08:00
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
2018-11-23 13:39:33 +08:00
|
|
|
/>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2019-09-12 20:15:17 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
2018-11-23 13:39:33 +08:00
|
|
|
<span
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-label="down"
|
2020-06-24 23:28:54 +08:00
|
|
|
class="anticon anticon-down ant-select-suffix"
|
2019-09-12 20:15:17 +08:00
|
|
|
role="img"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<path
|
|
|
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-11-23 13:39:33 +08:00
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2018-11-23 13:39:33 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
2019-12-25 11:29:54 +08:00
|
|
|
readonly=""
|
2019-09-12 20:15:17 +08:00
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2020-05-12 12:44:49 +08:00
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
2018-11-23 13:39:33 +08:00
|
|
|
/>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2019-09-12 20:15:17 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
2018-11-23 13:39:33 +08:00
|
|
|
<span
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-label="down"
|
2020-06-24 23:28:54 +08:00
|
|
|
class="anticon anticon-down ant-select-suffix"
|
2019-09-12 20:15:17 +08:00
|
|
|
role="img"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<path
|
|
|
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-11-23 13:39:33 +08:00
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2018-11-23 13:39:33 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-activedescendant="undefined_list_0"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2019-09-12 20:15:17 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
2019-12-25 11:29:54 +08:00
|
|
|
readonly=""
|
2019-09-12 20:15:17 +08:00
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2020-05-12 12:44:49 +08:00
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
2018-11-23 13:39:33 +08:00
|
|
|
/>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2019-09-12 20:15:17 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
2018-11-23 13:39:33 +08:00
|
|
|
<span
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-label="down"
|
2020-06-24 23:28:54 +08:00
|
|
|
class="anticon anticon-down ant-select-suffix"
|
2019-09-12 20:15:17 +08:00
|
|
|
role="img"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<path
|
|
|
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-11-23 13:39:33 +08:00
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2018-11-23 13:39:33 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs ant-tabs-top"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
2018-11-23 13:39:33 +08:00
|
|
|
role="tablist"
|
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-11-23 13:39:33 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
2018-11-23 13:39:33 +08:00
|
|
|
/>
|
2020-05-30 18:28:25 +08:00
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2018-11-23 13:39:33 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs ant-tabs-top"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="height:300px"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
|
|
|
role="tablist"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-wrap"
|
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="0"
|
2018-11-23 13:39:33 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 0
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 3
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="4"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 4
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="5"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 5
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="6"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 6
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="7"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 7
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="8"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 8
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="9"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 9
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="10"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 10
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="11"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 11
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="12"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 12
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="13"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 13
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="14"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 14
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="15"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 15
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="16"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 16
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="17"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 17
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="18"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 18
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="19"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 19
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-11-23 13:39:33 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
TTTT 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-11-23 13:39:33 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/position.tsx correctly 1`] = `
|
2020-11-05 15:37:33 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-04-29 21:41:58 +08:00
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-bottom:24px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-04-29 16:21:56 +08:00
|
|
|
class="ant-space-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-right:8px"
|
2020-04-29 16:21:56 +08:00
|
|
|
>
|
2020-11-05 15:37:33 +08:00
|
|
|
Tab position:
|
2020-04-29 16:21:56 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-11-05 15:37:33 +08:00
|
|
|
class="ant-radio-group ant-radio-group-outline"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-11-05 15:37:33 +08:00
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-04-29 16:21:56 +08:00
|
|
|
<span
|
2020-11-05 15:37:33 +08:00
|
|
|
class="ant-radio-button"
|
2020-04-29 16:21:56 +08:00
|
|
|
>
|
|
|
|
<input
|
2020-11-05 15:37:33 +08:00
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="top"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
2020-04-29 16:21:56 +08:00
|
|
|
/>
|
|
|
|
</span>
|
2020-11-05 15:37:33 +08:00
|
|
|
<span>
|
|
|
|
top
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
2020-04-29 16:21:56 +08:00
|
|
|
<span
|
2020-11-05 15:37:33 +08:00
|
|
|
class="ant-radio-button"
|
2020-04-29 16:21:56 +08:00
|
|
|
>
|
2020-11-05 15:37:33 +08:00
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="bottom"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
2020-04-29 16:21:56 +08:00
|
|
|
</span>
|
2020-11-05 15:37:33 +08:00
|
|
|
<span>
|
|
|
|
bottom
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper ant-radio-button-wrapper-checked"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-04-29 16:21:56 +08:00
|
|
|
<span
|
2020-11-05 15:37:33 +08:00
|
|
|
class="ant-radio-button ant-radio-button-checked"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-11-05 15:37:33 +08:00
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="left"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
2020-04-29 16:21:56 +08:00
|
|
|
</span>
|
2020-11-05 15:37:33 +08:00
|
|
|
<span>
|
|
|
|
left
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="right"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
right
|
|
|
|
</span>
|
|
|
|
</label>
|
2020-04-29 16:21:56 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2020-11-05 15:37:33 +08:00
|
|
|
</div>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-11-05 15:37:33 +08:00
|
|
|
class="ant-tabs ant-tabs-left"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
2016-11-22 14:28:05 +08:00
|
|
|
role="tablist"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-06-01 16:40:46 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 3
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
|
|
|
<span
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
2018-07-29 15:19:59 +08:00
|
|
|
/>
|
2020-05-30 18:28:25 +08:00
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-11-05 15:37:33 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-left"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
2020-06-01 16:40:46 +08:00
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
2020-05-30 18:28:25 +08:00
|
|
|
role="tabpanel"
|
2020-06-01 16:40:46 +08:00
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Content of Tab 1
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-05 15:37:33 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/size.tsx correctly 1`] = `
|
2017-10-18 21:17:18 +08:00
|
|
|
<div>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2018-06-28 17:12:16 +08:00
|
|
|
class="ant-radio-group ant-radio-group-outline"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-bottom:16px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-10-18 21:17:18 +08:00
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper ant-radio-button-wrapper-checked"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-08-05 23:01:28 +08:00
|
|
|
<span
|
2017-10-18 21:17:18 +08:00
|
|
|
class="ant-radio-button ant-radio-button-checked"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2017-10-18 21:17:18 +08:00
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
2018-01-25 18:24:59 +08:00
|
|
|
value="small"
|
2017-10-18 21:17:18 +08:00
|
|
|
/>
|
2017-08-05 23:01:28 +08:00
|
|
|
<span
|
2017-10-18 21:17:18 +08:00
|
|
|
class="ant-radio-button-inner"
|
2017-08-05 23:01:28 +08:00
|
|
|
/>
|
|
|
|
</span>
|
2017-10-18 21:17:18 +08:00
|
|
|
<span>
|
|
|
|
Small
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
2017-08-05 23:01:28 +08:00
|
|
|
<span
|
2017-10-18 21:17:18 +08:00
|
|
|
class="ant-radio-button"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2017-10-18 21:17:18 +08:00
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
2022-05-19 09:46:26 +08:00
|
|
|
value="middle"
|
2017-10-18 21:17:18 +08:00
|
|
|
/>
|
2017-08-05 23:01:28 +08:00
|
|
|
<span
|
2017-10-18 21:17:18 +08:00
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
2022-05-19 09:46:26 +08:00
|
|
|
Middle
|
2017-10-18 21:17:18 +08:00
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
2018-01-25 18:24:59 +08:00
|
|
|
value="large"
|
2017-08-05 23:01:28 +08:00
|
|
|
/>
|
2017-10-18 21:17:18 +08:00
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Large
|
2017-08-05 23:01:28 +08:00
|
|
|
</span>
|
2017-10-18 21:17:18 +08:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs ant-tabs-top ant-tabs-small"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-bottom:32px"
|
2017-10-18 21:17:18 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
2017-10-18 21:17:18 +08:00
|
|
|
role="tablist"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2017-10-18 21:17:18 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab 3
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
2018-07-29 15:19:59 +08:00
|
|
|
/>
|
2020-05-30 18:28:25 +08:00
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-10-18 21:17:18 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2017-10-18 21:17:18 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Content of tab 1
|
|
|
|
</div>
|
2017-10-18 21:17:18 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-04-01 10:54:38 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs ant-tabs-top ant-tabs-small ant-tabs-card"
|
2020-04-01 10:54:38 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
2020-04-01 10:54:38 +08:00
|
|
|
role="tablist"
|
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2020-04-01 10:54:38 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2020-04-01 10:54:38 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2020-04-01 10:54:38 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Card Tab 1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Card Tab 2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Card Tab 3
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
2020-04-01 10:54:38 +08:00
|
|
|
>
|
|
|
|
<span
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2020-04-01 10:54:38 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2020-04-01 10:54:38 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
2020-04-01 10:54:38 +08:00
|
|
|
/>
|
2020-05-30 18:28:25 +08:00
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2020-04-01 10:54:38 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content-holder"
|
2020-04-01 10:54:38 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
2020-04-01 10:54:38 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Content of card tab 1
|
|
|
|
</div>
|
2020-04-01 10:54:38 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/tabs/demo/slide.tsx correctly 1`] = `
|
2017-04-22 09:43:32 +08:00
|
|
|
<div>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2018-06-28 17:12:16 +08:00
|
|
|
class="ant-radio-group ant-radio-group-outline"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-bottom:8px"
|
2017-04-22 09:43:32 +08:00
|
|
|
>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper ant-radio-button-wrapper-checked"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button ant-radio-button-checked"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
2018-01-25 18:24:59 +08:00
|
|
|
value="top"
|
2017-04-22 09:43:32 +08:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Horizontal
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
2018-01-25 18:24:59 +08:00
|
|
|
value="left"
|
2017-04-22 09:43:32 +08:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Vertical
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs ant-tabs-top"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="height:220px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav"
|
2017-04-22 09:43:32 +08:00
|
|
|
role="tablist"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-list"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="transform:translate(0px, 0px)"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="0"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-0
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-active"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="1"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="2"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-2
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="3"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-3
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="4"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-4
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="5"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-5
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="6"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-6
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="7"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-7
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="8"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-8
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="9"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-9
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="10"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-10
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="11"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-11
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="12"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-12
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="13"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-13
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="14"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-14
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="15"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-15
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="16"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-16
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="17"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-17
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="18"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-18
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="19"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-19
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="20"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-20
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="21"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-21
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="22"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-22
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="23"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-23
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="24"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-24
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="25"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-25
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="26"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-26
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="27"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-27
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab ant-tabs-tab-disabled"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="28"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="true"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
>
|
|
|
|
Tab-28
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-05-30 18:28:25 +08:00
|
|
|
class="ant-tabs-tab"
|
2022-12-19 16:56:32 +08:00
|
|
|
data-node-key="29"
|
2020-05-30 18:28:25 +08:00
|
|
|
>
|
2020-06-24 17:55:50 +08:00
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class="ant-tabs-tab-btn"
|
|
|
|
role="tab"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Tab-29
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-30 18:28:25 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="null-more-popup"
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-nav-more"
|
2022-10-08 16:17:20 +08:00
|
|
|
id="null-more"
|
|
|
|
style="visibility:hidden;order:1"
|
2020-05-30 18:28:25 +08:00
|
|
|
tabindex="-1"
|
|
|
|
type="button"
|
2017-08-05 23:01:28 +08:00
|
|
|
>
|
|
|
|
<span
|
2020-05-30 18:28:25 +08:00
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2018-08-16 16:15:25 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
<path
|
|
|
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2018-08-16 16:15:25 +08:00
|
|
|
</span>
|
2020-05-30 18:28:25 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content-holder"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-content ant-tabs-content-top"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-05-30 18:28:25 +08:00
|
|
|
Content of tab 1
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|