2023-06-07 21:59:21 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2017-03-17 18:56:30 +08:00
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/automatic-tokenization.tsx correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
2018-11-27 12:01:30 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2018-11-27 12:01:30 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
2018-11-27 12:01:30 +08:00
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/basic.tsx correctly 1`] = `
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
|
|
|
|
style="flex-wrap:wrap"
|
2023-01-18 19:20:40 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
|
|
|
style="width:120px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2018-11-27 12:01:30 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Lucy"
|
|
|
|
>
|
|
|
|
Lucy
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2018-11-27 12:01:30 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2018-11-27 12:01:30 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-13 22:03:12 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2018-12-13 22:03:12 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow ant-select-disabled"
|
|
|
|
style="width:120px"
|
2018-12-13 22:03:12 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
disabled=""
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Lucy"
|
|
|
|
>
|
|
|
|
Lucy
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow ant-select-loading"
|
|
|
|
style="width:120px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Lucy"
|
|
|
|
>
|
|
|
|
Lucy
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow ant-select-arrow-loading"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="loading"
|
|
|
|
class="anticon anticon-loading anticon-spin"
|
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select ant-select-single ant-select-allow-clear ant-select-show-arrow"
|
|
|
|
style="width:120px"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Lucy"
|
|
|
|
>
|
|
|
|
Lucy
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-clear"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="close-circle"
|
|
|
|
class="anticon anticon-close-circle"
|
|
|
|
role="img"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close-circle"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2023-01-18 19:20:40 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"
|
2023-01-18 19:20:40 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-09-15 16:42:25 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/big-data.tsx correctly 1`] = `
|
2020-03-14 00:04:54 +08:00
|
|
|
Array [
|
2019-09-12 20:15:17 +08:00
|
|
|
<h4
|
|
|
|
class="ant-typography"
|
|
|
|
>
|
2022-09-09 15:51:35 +08:00
|
|
|
100000
|
2022-10-08 16:17:20 +08:00
|
|
|
<!-- -->
|
2022-09-09 15:51:35 +08:00
|
|
|
Items
|
2020-03-14 00:04:54 +08:00
|
|
|
</h4>,
|
2019-05-22 19:34:32 +08:00
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2019-05-22 19:34:32 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
2019-05-22 19:34:32 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
2019-05-22 19:34:32 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-item ant-select-selection-item-disabled"
|
2021-08-27 11:48:59 +08:00
|
|
|
title="a10"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
a10
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2019-05-22 19:34:32 +08:00
|
|
|
>
|
|
|
|
<span
|
2020-12-25 13:13:07 +08:00
|
|
|
class="ant-select-selection-item"
|
2021-08-27 11:48:59 +08:00
|
|
|
title="c12"
|
2019-05-22 19:34:32 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
c12
|
|
|
|
</span>
|
|
|
|
<span
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-hidden="true"
|
2020-12-25 13:13:07 +08:00
|
|
|
class="ant-select-selection-item-remove"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2020-12-25 13:13:07 +08:00
|
|
|
unselectable="on"
|
2019-05-22 19:34:32 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2020-12-25 13:13:07 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2020-12-25 13:13:07 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
2019-05-22 19:34:32 +08:00
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2019-05-22 19:34:32 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-22 19:34:32 +08:00
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-03-14 00:04:54 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2019-05-22 19:34:32 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/bordered.tsx correctly 1`] = `
|
2023-01-19 15:37:54 +08:00
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
|
|
|
|
style="flex-wrap:wrap"
|
2023-01-19 15:37:54 +08:00
|
|
|
>
|
2020-02-06 10:02:02 +08:00
|
|
|
<div
|
2023-01-19 15:37:54 +08:00
|
|
|
class="ant-space-item"
|
2020-02-06 10:02:02 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-01-19 15:37:54 +08:00
|
|
|
class="ant-select ant-select-borderless ant-select-single ant-select-show-arrow"
|
|
|
|
style="width:120px"
|
2020-02-06 10:02:02 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2020-02-06 10:02:02 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-19 15:37:54 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Lucy"
|
|
|
|
>
|
|
|
|
Lucy
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-02-06 10:02:02 +08:00
|
|
|
<span
|
2023-01-19 15:37:54 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2020-02-06 10:02:02 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2020-02-06 10:02:02 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
2020-02-06 10:02:02 +08:00
|
|
|
</span>
|
2023-01-19 15:37:54 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-06 10:02:02 +08:00
|
|
|
<div
|
2023-01-19 15:37:54 +08:00
|
|
|
class="ant-space-item"
|
2020-02-06 10:02:02 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-01-19 15:37:54 +08:00
|
|
|
class="ant-select ant-select-borderless ant-select-single ant-select-show-arrow ant-select-disabled"
|
|
|
|
style="width:120px"
|
2020-02-06 10:02:02 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2020-02-06 10:02:02 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
disabled=""
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Lucy"
|
|
|
|
>
|
|
|
|
Lucy
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-02-06 10:02:02 +08:00
|
|
|
<span
|
2023-01-19 15:37:54 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2020-02-06 10:02:02 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2020-02-06 10:02:02 +08:00
|
|
|
>
|
2023-01-19 15:37:54 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
2020-02-06 10:02:02 +08:00
|
|
|
</span>
|
2023-01-19 15:37:54 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-06 10:02:02 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/coordinate.tsx correctly 1`] = `
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
|
|
|
|
style="flex-wrap:wrap"
|
2023-01-18 19:20:40 +08:00
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
|
|
|
style="width:120px"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Zhejiang"
|
|
|
|
>
|
|
|
|
Zhejiang
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
|
|
|
style="width:120px"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Hangzhou"
|
|
|
|
>
|
|
|
|
Hangzhou
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/custom-dropdown-menu.tsx correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<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:300px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-01-05 17:24:14 +08:00
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
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 14:57:05 +08:00
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
2019-09-26 22:28:08 +08:00
|
|
|
class="ant-select-selection-placeholder"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2019-09-26 22:28:08 +08:00
|
|
|
custom dropdown render
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
|
|
|
</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"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
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"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/custom-tag-render.tsx correctly 1`] = `
|
2020-02-11 20:00:56 +08:00
|
|
|
<div
|
2020-08-26 17:50:14 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2020-02-11 20:00:56 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2020-02-11 20:00:56 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span>
|
|
|
|
<span
|
|
|
|
class="ant-tag ant-tag-gold"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-right:3px"
|
2020-02-11 20:00:56 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
gold
|
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close ant-tag-close-icon"
|
|
|
|
role="img"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2020-12-25 13:13:07 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2020-12-25 13:13:07 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-02-11 20:00:56 +08:00
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2020-02-11 20:00:56 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span>
|
|
|
|
<span
|
|
|
|
class="ant-tag ant-tag-cyan"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-right:3px"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
cyan
|
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close ant-tag-close-icon"
|
|
|
|
role="img"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2020-12-25 13:13:07 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2020-12-25 13:13:07 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:0"
|
2020-02-11 20:00:56 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<input
|
|
|
|
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"
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
2020-02-11 20:00:56 +08:00
|
|
|
aria-hidden="true"
|
2020-12-25 13:13:07 +08:00
|
|
|
class="ant-select-selection-search-mirror"
|
2020-02-11 20:00:56 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-11 20:00:56 +08:00
|
|
|
</div>
|
2020-08-26 17:50:14 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2020-08-26 17:50:14 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-02-11 20:00:56 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/debug.tsx correctly 1`] = `
|
2019-12-30 22:49:19 +08:00
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
|
|
|
|
style="flex-wrap:wrap;width:500px;position:relative;z-index:1;border:1px solid red;background-color:#fff"
|
2019-12-30 22:49:19 +08:00
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-input"
|
|
|
|
style="width:100px"
|
|
|
|
type="text"
|
|
|
|
value="222"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow ant-select-show-search"
|
|
|
|
style="width:120px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
233
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2018-06-19 17:10:35 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2023-01-18 19:20:40 +08:00
|
|
|
style="width:120px"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-overflow"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
|
|
|
style="opacity:1"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Lucy"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item-content"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
Lucy
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-item-remove"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2023-01-18 19:20:40 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2023-01-18 19:20:40 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
|
|
|
style="opacity:1"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2017-01-05 17:24:14 +08:00
|
|
|
</div>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="debug-align"
|
|
|
|
>
|
|
|
|
AntDesign
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
222
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-04-04 13:43:53 +08:00
|
|
|
exports[`renders components/select/demo/debug-flip-shift.tsx correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
|
|
|
style="width:120px;margin-top:50vh"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/hide-selected.tsx correctly 1`] = `
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
Inserted are removed
|
|
|
|
</span>
|
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/label-in-value.tsx correctly 1`] = `
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:120px"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
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 14:57:05 +08:00
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
2020-07-09 15:16:49 +08:00
|
|
|
title="Lucy (101)"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
Lucy (101)
|
|
|
|
</span>
|
|
|
|
</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"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
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"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/multiple.tsx correctly 1`] = `
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-vertical ant-space-gap-row-small ant-space-gap-col-small"
|
2023-01-18 19:20:40 +08:00
|
|
|
style="width:100%"
|
|
|
|
>
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-08-04 11:56:18 +08:00
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-allow-clear ant-select-show-arrow ant-select-show-search"
|
2023-01-18 19:20:40 +08:00
|
|
|
style="width:100%"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-overflow"
|
2020-08-04 11:56:18 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
|
|
|
style="opacity:1"
|
2020-08-04 11:56:18 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="a10"
|
2020-08-04 11:56:18 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item-content"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
a10
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-item-remove"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2023-01-18 19:20:40 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2023-01-18 19:20:40 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
|
|
|
style="opacity:1"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="c12"
|
2020-08-04 11:56:18 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item-content"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
c12
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-item-remove"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2023-01-18 19:20:40 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2023-01-18 19:20:40 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
|
|
|
style="opacity:1"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-08-26 17:50:14 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-clear"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2020-08-26 17:50:14 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="close-circle"
|
|
|
|
class="anticon anticon-close-circle"
|
|
|
|
role="img"
|
2020-08-26 17:50:14 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close-circle"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2023-01-18 19:20:40 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"
|
2023-01-18 19:20:40 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2020-08-26 17:50:14 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-04 11:56:18 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2020-08-04 11:56:18 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-disabled ant-select-show-search"
|
2023-01-18 19:20:40 +08:00
|
|
|
style="width:100%"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-overflow"
|
2020-08-04 11:56:18 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
|
|
|
style="opacity:1"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="a10"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
a10
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
|
|
|
style="opacity:1"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="c12"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
c12
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
|
|
|
style="opacity:1"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
disabled=""
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-08-04 11:56:18 +08:00
|
|
|
</div>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/optgroup.tsx correctly 1`] = `
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
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 14:57:05 +08:00
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
2020-07-09 15:16:49 +08:00
|
|
|
title="Lucy"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
Lucy
|
|
|
|
</span>
|
|
|
|
</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"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
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"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/option-label-center.tsx correctly 1`] = `
|
2023-03-05 21:00:06 +08:00
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
|
|
|
|
style="flex-wrap:wrap"
|
2023-03-05 21:00:06 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-allow-clear ant-select-show-arrow"
|
|
|
|
style="width:120px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-03-05 21:00:06 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="long, long, long piece of text"
|
|
|
|
>
|
|
|
|
long, long, long piece of text
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-clear"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close-circle"
|
|
|
|
class="anticon anticon-close-circle"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close-circle"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2023-03-05 21:00:06 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"
|
2023-03-05 21:00:06 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-11 16:05:26 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-allow-clear ant-select-show-arrow"
|
|
|
|
style="width:120px;height:60px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
Select a option
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-18 13:51:17 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-allow-clear ant-select-show-arrow"
|
|
|
|
style="width:120px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
normal
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-clear"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close-circle"
|
|
|
|
class="anticon anticon-close-circle"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close-circle"
|
|
|
|
fill="currentColor"
|
|
|
|
fill-rule="evenodd"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-multiple ant-select-allow-clear ant-select-show-arrow ant-select-show-search"
|
|
|
|
style="width:120px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
|
|
|
style="opacity:1"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
normal
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-item-remove"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
|
|
|
fill-rule="evenodd"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
|
|
|
style="opacity:1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
style="width:0"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-clear"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close-circle"
|
|
|
|
class="anticon anticon-close-circle"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close-circle"
|
|
|
|
fill="currentColor"
|
|
|
|
fill-rule="evenodd"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-11 16:05:26 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-multiple ant-select-allow-clear ant-select-show-arrow ant-select-show-search"
|
|
|
|
style="width:120px;height:60px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
|
|
|
style="opacity:1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
style="width:0"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
Select a option
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow"
|
|
|
|
style="width:120px;height:60px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
Select a option
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-tree-select ant-select-single ant-select-allow-clear ant-select-show-arrow ant-select-show-search"
|
|
|
|
style="width:120px;height:60px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
Please select
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-05 21:00:06 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/option-label-prop.tsx correctly 1`] = `
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<span
|
2020-12-25 13:13:07 +08:00
|
|
|
class="ant-select-selection-item"
|
2021-08-27 11:48:59 +08:00
|
|
|
title="China"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
China
|
|
|
|
</span>
|
|
|
|
<span
|
2019-09-12 20:15:17 +08:00
|
|
|
aria-hidden="true"
|
2020-12-25 13:13:07 +08:00
|
|
|
class="ant-select-selection-item-remove"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2020-12-25 13:13:07 +08:00
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2020-12-25 13:13:07 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2020-12-25 13:13:07 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/placement.tsx correctly 1`] = `
|
2022-01-20 16:54:47 +08:00
|
|
|
Array [
|
|
|
|
<div
|
|
|
|
class="ant-radio-group ant-radio-group-outline"
|
|
|
|
>
|
|
|
|
<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"
|
|
|
|
value="topLeft"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
topLeft
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="topRight"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
topRight
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="bottomLeft"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
bottomLeft
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="bottomRight"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
bottomRight
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</div>,
|
|
|
|
<br />,
|
|
|
|
<br />,
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:120px"
|
2022-01-20 16:54:47 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2022-01-20 16:54:47 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-01-20 16:54:47 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2022-01-20 16:54:47 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="HangZhou #310000"
|
|
|
|
>
|
|
|
|
HangZhou #310000
|
|
|
|
</span>
|
|
|
|
</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"
|
2022-01-20 16:54:47 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2023-07-15 10:14:58 +08:00
|
|
|
exports[`renders components/select/demo/placement-debug.tsx correctly 1`] = `
|
|
|
|
<div
|
|
|
|
style="height:100%;min-height:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative"
|
|
|
|
>
|
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
|
2023-07-15 10:14:58 +08:00
|
|
|
style="position:absolute;top:0;left:50%;transform:translateX(-50%)"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-radio-group ant-radio-group-outline"
|
|
|
|
>
|
|
|
|
<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"
|
|
|
|
value="topLeft"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
TL
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="topRight"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
TR
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="bottomLeft"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
BL
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="bottomRight"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
BR
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
aria-checked="false"
|
|
|
|
class="ant-switch"
|
|
|
|
role="switch"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-switch-handle"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner-checked"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-switch-inner-unchecked"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Random
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
|
|
|
style="width:120px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/responsive.tsx correctly 1`] = `
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-vertical ant-space-gap-row-small ant-space-gap-col-small"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
|
|
|
>
|
|
|
|
<div
|
2021-05-24 21:14:03 +08:00
|
|
|
aria-hidden="true"
|
2020-12-25 13:13:07 +08:00
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-rest"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0;height:0;overflow-y:hidden;order:9007199254740991;pointer-events:none;position:absolute"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
2021-08-27 11:48:59 +08:00
|
|
|
title="+ 4 ..."
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
+ 4 ...
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1;order:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-disabled ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
|
|
|
>
|
|
|
|
<div
|
2021-05-24 21:14:03 +08:00
|
|
|
aria-hidden="true"
|
2020-12-25 13:13:07 +08:00
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-rest"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0;height:0;overflow-y:hidden;order:9007199254740991;pointer-events:none;position:absolute"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
2021-08-27 11:48:59 +08:00
|
|
|
title="+ 4 ..."
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
+ 4 ...
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1;order:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-controls="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
disabled=""
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/search.tsx correctly 1`] = `
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-show-arrow ant-select-show-search"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
|
|
|
role="combobox"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
Select a person
|
|
|
|
</span>
|
|
|
|
</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"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
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"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/search-box.tsx correctly 1`] = `
|
2019-09-12 20:15:17 +08:00
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
|
|
|
role="combobox"
|
2020-09-05 00:38:39 +08:00
|
|
|
type="search"
|
2019-09-12 20:15:17 +08:00
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
input search text
|
|
|
|
</span>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/search-sort.tsx correctly 1`] = `
|
2020-11-06 09:54:30 +08:00
|
|
|
<div
|
|
|
|
class="ant-select ant-select-single ant-select-show-arrow ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:200px"
|
2020-11-06 09:54:30 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2020-11-06 09:54:30 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-11-06 09:54:30 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
Search to Select
|
|
|
|
</span>
|
|
|
|
</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"
|
2020-11-06 09:54:30 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/select-users.tsx correctly 1`] = `
|
2017-03-23 13:48:19 +08:00
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2017-03-23 13:48:19 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
2017-03-23 13:48:19 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
2017-03-23 13:48:19 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2017-03-23 13:48:19 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
Select users
|
|
|
|
</span>
|
2017-03-23 13:48:19 +08:00
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2017-03-23 13:48:19 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/size.tsx correctly 1`] = `
|
2020-03-14 00:04:54 +08:00
|
|
|
Array [
|
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"
|
2017-03-24 12:14:00 +08:00
|
|
|
>
|
|
|
|
<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-03-24 12:14:00 +08:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Large
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
2023-02-04 13:12:30 +08:00
|
|
|
class="ant-radio-button-wrapper ant-radio-button-wrapper-checked"
|
2017-03-24 12:14:00 +08:00
|
|
|
>
|
|
|
|
<span
|
2023-02-04 13:12:30 +08:00
|
|
|
class="ant-radio-button ant-radio-button-checked"
|
2017-03-24 12:14:00 +08:00
|
|
|
>
|
|
|
|
<input
|
2023-02-04 13:12:30 +08:00
|
|
|
checked=""
|
2017-03-24 12:14:00 +08:00
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
2023-02-04 13:12:30 +08:00
|
|
|
value="middle"
|
2017-03-24 12:14:00 +08:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Default
|
|
|
|
</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="small"
|
2017-03-24 12:14:00 +08:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Small
|
|
|
|
</span>
|
|
|
|
</label>
|
2020-03-14 00:04:54 +08:00
|
|
|
</div>,
|
|
|
|
<br />,
|
|
|
|
<br />,
|
2017-03-24 12:14:00 +08:00
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-vertical ant-space-gap-row-small ant-space-gap-col-small"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
|
|
|
style="width:200px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
|
|
|
<span
|
2020-12-25 13:13:07 +08:00
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
2023-01-18 19:20:40 +08:00
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="a1"
|
|
|
|
>
|
|
|
|
a1
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-hidden="true"
|
2023-01-18 19:20:40 +08:00
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
2017-03-24 12:14:00 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2017-03-24 12:14:00 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2023-01-18 19:20:40 +08:00
|
|
|
style="width:100%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selector"
|
2017-03-24 12:14:00 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
|
|
|
style="opacity:1"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="a10"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
a10
|
|
|
|
</span>
|
|
|
|
<span
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-hidden="true"
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item-remove"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2023-01-18 19:20:40 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2023-01-18 19:20:40 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
|
|
|
style="opacity:1"
|
2017-03-24 12:14:00 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="c12"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
c12
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-item-remove"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2023-01-18 19:20:40 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2023-01-18 19:20:40 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
|
|
|
style="opacity:1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
style="width:0"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2023-01-18 19:20:40 +08:00
|
|
|
style="width:100%"
|
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selector"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select-selection-overflow"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
|
|
|
style="opacity:1"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="a10"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
a10
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-item-remove"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2023-01-18 19:20:40 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2023-01-18 19:20:40 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item"
|
|
|
|
style="opacity:1"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="c12"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item-content"
|
|
|
|
>
|
|
|
|
c12
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-item-remove"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="close"
|
|
|
|
class="anticon anticon-close"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="close"
|
|
|
|
fill="currentColor"
|
2023-08-02 02:15:02 +08:00
|
|
|
fill-rule="evenodd"
|
2023-01-18 19:20:40 +08:00
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2023-08-02 02:15:02 +08:00
|
|
|
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
|
2023-01-18 19:20:40 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
|
|
|
style="opacity:1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
style="width:0"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2020-12-25 13:13:07 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
2020-03-14 00:04:54 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
2017-09-15 16:42:25 +08:00
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/status.tsx correctly 1`] = `
|
2022-02-16 21:39:48 +08:00
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-vertical ant-space-gap-row-small ant-space-gap-col-small"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2022-02-16 21:39:48 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-status-error ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2022-02-16 21:39:48 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2022-02-16 21:39:48 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-02-16 21:39:48 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2022-02-16 21:39:48 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</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"
|
2022-02-16 21:39:48 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select ant-select-status-warning ant-select-single ant-select-show-arrow"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2022-02-16 21:39:48 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2022-02-16 21:39:48 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2022-02-16 21:39:48 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:0"
|
2022-02-16 21:39:48 +08:00
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
/>
|
|
|
|
</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"
|
2022-02-16 21:39:48 +08:00
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/suffix.tsx correctly 1`] = `
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
2023-09-05 10:17:56 +08:00
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
|
|
|
|
style="flex-wrap:wrap"
|
2023-01-18 19:20:40 +08:00
|
|
|
>
|
2018-09-15 00:00:16 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2018-09-15 00:00:16 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow"
|
|
|
|
style="width:120px"
|
2018-09-15 00:00:16 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2018-09-15 00:00:16 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
2023-03-29 14:44:41 +08:00
|
|
|
aria-expanded="false"
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Lucy"
|
|
|
|
>
|
|
|
|
Lucy
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="smile"
|
|
|
|
class="anticon anticon-smile"
|
|
|
|
role="img"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="smile"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-09-15 00:00:16 +08:00
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-space-item"
|
2018-09-15 00:00:16 +08:00
|
|
|
>
|
|
|
|
<div
|
2023-01-18 19:20:40 +08:00
|
|
|
class="ant-select ant-select-single ant-select-show-arrow ant-select-disabled"
|
|
|
|
style="width:120px"
|
2018-09-15 00:00:16 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selector"
|
2018-09-15 00:00:16 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-search"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-controls="undefined_list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="listbox"
|
|
|
|
aria-owns="undefined_list"
|
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
disabled=""
|
|
|
|
readonly=""
|
|
|
|
role="combobox"
|
|
|
|
style="opacity:0"
|
|
|
|
type="search"
|
|
|
|
unselectable="on"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-select-selection-item"
|
|
|
|
title="Lucy"
|
|
|
|
>
|
|
|
|
Lucy
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
2023-01-18 19:20:40 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<span
|
|
|
|
aria-label="meh"
|
|
|
|
class="anticon anticon-meh"
|
|
|
|
role="img"
|
2019-09-12 20:15:17 +08:00
|
|
|
>
|
2023-01-18 19:20:40 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="meh"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 565H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2019-09-12 20:15:17 +08:00
|
|
|
</span>
|
2023-01-18 19:20:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-09-15 00:00:16 +08:00
|
|
|
`;
|
|
|
|
|
2023-03-10 11:50:12 +08:00
|
|
|
exports[`renders components/select/demo/tags.tsx correctly 1`] = `
|
2017-09-15 16:42:25 +08:00
|
|
|
<div
|
2023-03-05 23:29:03 +08:00
|
|
|
class="ant-select ant-select-multiple ant-select-show-arrow ant-select-show-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-09-12 20:15:17 +08:00
|
|
|
class="ant-select-selector"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="opacity:1"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2020-12-25 13:13:07 +08:00
|
|
|
<div
|
|
|
|
class="ant-select-selection-search"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:0"
|
2020-12-25 13:13:07 +08:00
|
|
|
>
|
|
|
|
<input
|
|
|
|
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"
|
2020-12-25 13:13:07 +08:00
|
|
|
aria-haspopup="listbox"
|
2022-10-08 16:17:20 +08:00
|
|
|
aria-owns="undefined_list"
|
2020-12-25 13:13:07 +08:00
|
|
|
autocomplete="off"
|
|
|
|
class="ant-select-selection-search-input"
|
|
|
|
role="combobox"
|
|
|
|
type="search"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-selection-search-mirror"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-12 20:15:17 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-selection-placeholder"
|
|
|
|
>
|
|
|
|
Tags Mode
|
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
</div>
|
2023-03-05 23:29:03 +08:00
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-select-arrow"
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
|
|
|
unselectable="on"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="down"
|
|
|
|
class="anticon anticon-down ant-select-suffix"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="down"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</span>
|
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
</div>
|
|
|
|
`;
|