You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
182 lines
4.5 KiB
182 lines
4.5 KiB
6 years ago
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
5 years ago
|
exports[`Select Deprecated should ignore mode="combobox" 1`] = `
|
||
|
<div
|
||
|
class="ant-select ant-select-single ant-select-show-arrow"
|
||
|
>
|
||
|
<div
|
||
|
class="ant-select-selector"
|
||
|
>
|
||
|
<span
|
||
|
class="ant-select-selection-search"
|
||
|
>
|
||
|
<input
|
||
|
aria-activedescendant="rc_select_TEST_OR_SSR_list_0"
|
||
|
aria-autocomplete="list"
|
||
|
aria-controls="rc_select_TEST_OR_SSR_list"
|
||
|
aria-haspopup="listbox"
|
||
|
aria-owns="rc_select_TEST_OR_SSR_list"
|
||
|
autocomplete="off"
|
||
|
class="ant-select-selection-search-input"
|
||
|
id="rc_select_TEST_OR_SSR"
|
||
|
readonly=""
|
||
|
role="combobox"
|
||
|
style="opacity: 0;"
|
||
4 years ago
|
type="search"
|
||
5 years ago
|
unselectable="on"
|
||
|
value=""
|
||
|
/>
|
||
|
</span>
|
||
|
<span
|
||
|
class="ant-select-selection-placeholder"
|
||
|
/>
|
||
|
</div>
|
||
|
<span
|
||
|
aria-hidden="true"
|
||
|
class="ant-select-arrow"
|
||
|
style="user-select: none;"
|
||
|
unselectable="on"
|
||
|
>
|
||
|
<span
|
||
|
aria-label="down"
|
||
4 years ago
|
class="anticon anticon-down ant-select-suffix"
|
||
5 years ago
|
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>
|
||
|
`;
|
||
|
|
||
6 years ago
|
exports[`Select Select Custom Icons should support customized icons 1`] = `
|
||
6 years ago
|
<div
|
||
5 years ago
|
class="ant-select ant-select-single ant-select-show-arrow"
|
||
6 years ago
|
>
|
||
6 years ago
|
<div
|
||
5 years ago
|
class="ant-select-selector"
|
||
6 years ago
|
>
|
||
5 years ago
|
<span
|
||
|
class="ant-select-selection-search"
|
||
|
>
|
||
|
<input
|
||
|
aria-activedescendant="rc_select_TEST_OR_SSR_list_0"
|
||
|
aria-autocomplete="list"
|
||
|
aria-controls="rc_select_TEST_OR_SSR_list"
|
||
|
aria-haspopup="listbox"
|
||
|
aria-owns="rc_select_TEST_OR_SSR_list"
|
||
|
autocomplete="off"
|
||
|
class="ant-select-selection-search-input"
|
||
|
id="rc_select_TEST_OR_SSR"
|
||
5 years ago
|
readonly=""
|
||
5 years ago
|
role="combobox"
|
||
|
style="opacity: 0;"
|
||
4 years ago
|
type="search"
|
||
5 years ago
|
unselectable="on"
|
||
5 years ago
|
value=""
|
||
|
/>
|
||
|
</span>
|
||
|
<span
|
||
|
class="ant-select-selection-placeholder"
|
||
6 years ago
|
/>
|
||
5 years ago
|
</div>
|
||
|
<span
|
||
|
aria-hidden="true"
|
||
|
class="ant-select-arrow"
|
||
|
style="user-select: none;"
|
||
|
unselectable="on"
|
||
|
>
|
||
6 years ago
|
<span
|
||
5 years ago
|
aria-label="down"
|
||
4 years ago
|
class="anticon anticon-down ant-select-suffix"
|
||
5 years ago
|
role="img"
|
||
6 years ago
|
>
|
||
5 years ago
|
<svg
|
||
|
aria-hidden="true"
|
||
|
data-icon="down"
|
||
|
fill="currentColor"
|
||
|
focusable="false"
|
||
|
height="1em"
|
||
|
viewBox="64 64 896 896"
|
||
|
width="1em"
|
||
6 years ago
|
>
|
||
5 years ago
|
<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>
|
||
6 years ago
|
</span>
|
||
5 years ago
|
</span>
|
||
6 years ago
|
</div>
|
||
6 years ago
|
`;
|
||
5 years ago
|
|
||
|
exports[`Select rtl render component should be rendered correctly in RTL direction 1`] = `
|
||
|
<div
|
||
|
class="ant-select ant-select-rtl ant-select-single ant-select-show-arrow"
|
||
|
>
|
||
|
<div
|
||
|
class="ant-select-selector"
|
||
|
>
|
||
|
<span
|
||
|
class="ant-select-selection-search"
|
||
|
>
|
||
|
<input
|
||
3 years ago
|
aria-activedescendant="rc_select_TEST_OR_SSR_list_0"
|
||
5 years ago
|
aria-autocomplete="list"
|
||
3 years ago
|
aria-controls="rc_select_TEST_OR_SSR_list"
|
||
5 years ago
|
aria-haspopup="listbox"
|
||
3 years ago
|
aria-owns="rc_select_TEST_OR_SSR_list"
|
||
5 years ago
|
autocomplete="off"
|
||
|
class="ant-select-selection-search-input"
|
||
3 years ago
|
id="rc_select_TEST_OR_SSR"
|
||
5 years ago
|
readonly=""
|
||
|
role="combobox"
|
||
3 years ago
|
style="opacity: 0;"
|
||
4 years ago
|
type="search"
|
||
5 years ago
|
unselectable="on"
|
||
5 years ago
|
value=""
|
||
|
/>
|
||
|
</span>
|
||
|
<span
|
||
|
class="ant-select-selection-placeholder"
|
||
|
/>
|
||
|
</div>
|
||
|
<span
|
||
|
aria-hidden="true"
|
||
|
class="ant-select-arrow"
|
||
3 years ago
|
style="user-select: none;"
|
||
5 years ago
|
unselectable="on"
|
||
|
>
|
||
|
<span
|
||
|
aria-label="down"
|
||
4 years ago
|
class="anticon anticon-down ant-select-suffix"
|
||
5 years ago
|
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>
|
||
|
`;
|