mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
2ea28af6ed
* init * fix firefox * add active style * adjust arrow style * update select * update icon logic * render empty * init multiple * fix ff display style * sync font size * adjust padding style * add padding * padding it * hotfix of chrome * single sm * multiple size * update option group style * update snapshot * clean up transition * rm combobox in ts define * auto complete init * fix auto option def * update demo * update demo * update uncertain demo * update demo * warning if user set `size` on AutoComplete * add debug demo * updat demo * update demo of disabled * update snapshot * rm useless test * fix pagination test * fix Table test * fix calendar test case * fix calendar test case * adjust style * add big data demo * support clean up * fix ts define * fix lint * fix demo lint * fix style lint fix * rm useless deps * update snapshot * stop mock * add space
843 lines
26 KiB
Plaintext
843 lines
26 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/auto-complete/demo/basic.md correctly 1`] = `
|
|
<div>
|
|
<div
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
|
style="width:200px"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-select-selection-search-input"
|
|
role="combobox"
|
|
value=""
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
>
|
|
input here
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<br />
|
|
<div
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
|
style="width:200px"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-select-selection-search-input"
|
|
role="combobox"
|
|
value=""
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
>
|
|
control mode
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/auto-complete/demo/certain-category.md correctly 1`] = `
|
|
<div
|
|
class="certain-category-search-wrapper"
|
|
style="width:250px"
|
|
>
|
|
<div
|
|
class="ant-select certain-category-search ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
|
style="width:100%"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search-input ant-input-affix-wrapper ant-input-affix-wrapper-lg"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-input ant-input-lg"
|
|
placeholder="input here"
|
|
role="combobox"
|
|
type="text"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-input-suffix"
|
|
>
|
|
<span
|
|
aria-label="search"
|
|
class="anticon anticon-search certain-category-icon"
|
|
role="img"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="search"
|
|
fill="currentColor"
|
|
focusable="false"
|
|
height="1em"
|
|
viewBox="64 64 896 896"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/auto-complete/demo/custom.md correctly 1`] = `
|
|
<div
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
|
style="width:200px"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<textarea
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-input ant-select-selection-search-input"
|
|
placeholder="input here"
|
|
role="combobox"
|
|
style="height:50px"
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
/>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/auto-complete/demo/form-debug.md correctly 1`] = `
|
|
<form
|
|
class="ant-form ant-form-horizontal"
|
|
style="margin:0 auto"
|
|
>
|
|
<div
|
|
class="ant-row-flex ant-form-item"
|
|
>
|
|
<div
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
|
>
|
|
<label
|
|
class=""
|
|
title="单独 AutoComplete"
|
|
>
|
|
单独 AutoComplete
|
|
</label>
|
|
</div>
|
|
<div
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
|
>
|
|
<div
|
|
class="ant-form-item-control-input"
|
|
>
|
|
<div
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-select-selection-search-input"
|
|
role="combobox"
|
|
value=""
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="ant-row-flex ant-form-item"
|
|
>
|
|
<div
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
|
>
|
|
<label
|
|
class=""
|
|
title="单独 TreeSelect"
|
|
>
|
|
单独 TreeSelect
|
|
</label>
|
|
</div>
|
|
<div
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
|
>
|
|
<div
|
|
class="ant-form-item-control-input"
|
|
>
|
|
<span
|
|
aria-haspopup="listbox"
|
|
class="ant-select ant-select-enabled"
|
|
role="combobox"
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="ant-select-selection ant-select-selection--single"
|
|
>
|
|
<span
|
|
class="ant-select-selection__rendered"
|
|
>
|
|
<span
|
|
class="ant-select-selection__placeholder"
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-arrow"
|
|
style="outline:none"
|
|
>
|
|
<span
|
|
aria-label="down"
|
|
class="anticon anticon-down ant-select-arrow-icon"
|
|
role="img"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
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>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="ant-row-flex ant-form-item"
|
|
>
|
|
<div
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
|
>
|
|
<label
|
|
class=""
|
|
title="添加 Input.Group 正常"
|
|
>
|
|
添加 Input.Group 正常
|
|
</label>
|
|
</div>
|
|
<div
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
|
>
|
|
<div
|
|
class="ant-form-item-control-input"
|
|
>
|
|
<span
|
|
class="ant-input-group ant-input-group-compact"
|
|
>
|
|
<span
|
|
aria-haspopup="listbox"
|
|
class="ant-select ant-select-enabled"
|
|
role="combobox"
|
|
style="width:30%"
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="ant-select-selection ant-select-selection--single"
|
|
>
|
|
<span
|
|
class="ant-select-selection__rendered"
|
|
>
|
|
<span
|
|
class="ant-select-selection__placeholder"
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-arrow"
|
|
style="outline:none"
|
|
>
|
|
<span
|
|
aria-label="down"
|
|
class="anticon anticon-down ant-select-arrow-icon"
|
|
role="img"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
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>
|
|
</span>
|
|
<div
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-select-selection-search-input"
|
|
role="combobox"
|
|
value=""
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="ant-row-flex ant-form-item"
|
|
>
|
|
<div
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
|
>
|
|
<label
|
|
class=""
|
|
title="包含 search 图标正常"
|
|
>
|
|
包含 search 图标正常
|
|
</label>
|
|
</div>
|
|
<div
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
|
>
|
|
<div
|
|
class="ant-form-item-control-input"
|
|
>
|
|
<div
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search-input ant-input-affix-wrapper"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-input"
|
|
role="combobox"
|
|
type="text"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-input-suffix"
|
|
>
|
|
<span
|
|
aria-label="search"
|
|
class="anticon anticon-search"
|
|
role="img"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="search"
|
|
fill="currentColor"
|
|
focusable="false"
|
|
height="1em"
|
|
viewBox="64 64 896 896"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="ant-row-flex ant-form-item"
|
|
>
|
|
<div
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
|
>
|
|
<label
|
|
class=""
|
|
title="同时有 Input.Group 和图标发生移位"
|
|
>
|
|
同时有 Input.Group 和图标发生移位
|
|
</label>
|
|
</div>
|
|
<div
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
|
>
|
|
<div
|
|
class="ant-form-item-control-input"
|
|
>
|
|
<span
|
|
class="ant-input-group ant-input-group-compact"
|
|
>
|
|
<span
|
|
aria-haspopup="listbox"
|
|
class="ant-select ant-select-enabled"
|
|
role="combobox"
|
|
style="width:30%"
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="ant-select-selection ant-select-selection--single"
|
|
>
|
|
<span
|
|
class="ant-select-selection__rendered"
|
|
>
|
|
<span
|
|
class="ant-select-selection__placeholder"
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-arrow"
|
|
style="outline:none"
|
|
>
|
|
<span
|
|
aria-label="down"
|
|
class="anticon anticon-down ant-select-arrow-icon"
|
|
role="img"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
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>
|
|
</span>
|
|
<div
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search-input ant-input-affix-wrapper"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-input"
|
|
role="combobox"
|
|
type="text"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-input-suffix"
|
|
>
|
|
<span
|
|
aria-label="search"
|
|
class="anticon anticon-search"
|
|
role="img"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="search"
|
|
fill="currentColor"
|
|
focusable="false"
|
|
height="1em"
|
|
viewBox="64 64 896 896"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="ant-row-flex ant-form-item"
|
|
>
|
|
<div
|
|
class="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"
|
|
>
|
|
<label
|
|
class=""
|
|
title="同时有 Input.Group 和 Search 组件发生移位"
|
|
>
|
|
同时有 Input.Group 和 Search 组件发生移位
|
|
</label>
|
|
</div>
|
|
<div
|
|
class="ant-col ant-form-item-control ant-col-xs-24 ant-col-sm-16"
|
|
>
|
|
<div
|
|
class="ant-form-item-control-input"
|
|
>
|
|
<span
|
|
class="ant-input-group ant-input-group-compact"
|
|
>
|
|
<span
|
|
aria-haspopup="listbox"
|
|
class="ant-select ant-select-enabled"
|
|
role="combobox"
|
|
style="width:30%"
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="ant-select-selection ant-select-selection--single"
|
|
>
|
|
<span
|
|
class="ant-select-selection__rendered"
|
|
>
|
|
<span
|
|
class="ant-select-selection__placeholder"
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-arrow"
|
|
style="outline:none"
|
|
>
|
|
<span
|
|
aria-label="down"
|
|
class="anticon anticon-down ant-select-arrow-icon"
|
|
role="img"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
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>
|
|
</span>
|
|
<div
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<span
|
|
class="ant-input-search ant-select-selection-search-input ant-input-affix-wrapper"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-input"
|
|
role="combobox"
|
|
type="text"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-input-suffix"
|
|
>
|
|
<span
|
|
aria-label="search"
|
|
class="anticon anticon-search ant-input-search-icon"
|
|
role="img"
|
|
tabindex="-1"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="search"
|
|
fill="currentColor"
|
|
focusable="false"
|
|
height="1em"
|
|
viewBox="64 64 896 896"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
`;
|
|
|
|
exports[`renders ./components/auto-complete/demo/non-case-sensitive.md correctly 1`] = `
|
|
<div
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
|
style="width:200px"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-select-selection-search-input"
|
|
role="combobox"
|
|
value=""
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
>
|
|
try to type \`b\`
|
|
</span>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/auto-complete/demo/options.md correctly 1`] = `
|
|
<div
|
|
class="ant-select ant-select-auto-complete ant-select-single ant-select-show-search"
|
|
style="width:200px"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-select-selection-search-input"
|
|
role="combobox"
|
|
value=""
|
|
/>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
>
|
|
input here
|
|
</span>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/auto-complete/demo/uncertain-category.md correctly 1`] = `
|
|
<div
|
|
class="global-search-wrapper"
|
|
style="width:300px"
|
|
>
|
|
<div
|
|
class="ant-select global-search ant-select-auto-complete ant-select-single ant-select-customize-input ant-select-show-search"
|
|
style="width:100%"
|
|
>
|
|
<div
|
|
class="ant-select-selector"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search"
|
|
>
|
|
<span
|
|
class="ant-select-selection-search-input ant-input-affix-wrapper ant-input-affix-wrapper-lg"
|
|
>
|
|
<input
|
|
aria-activedescendant="undefined_list_0"
|
|
aria-autocomplete="list"
|
|
aria-controls="undefined_list"
|
|
aria-haspopup="listbox"
|
|
aria-owns="undefined_list"
|
|
autocomplete="off"
|
|
class="ant-input ant-input-lg"
|
|
placeholder="input here"
|
|
role="combobox"
|
|
type="text"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-input-suffix"
|
|
>
|
|
<button
|
|
class="ant-btn search-btn ant-btn-primary ant-btn-lg"
|
|
style="margin-right:-12px"
|
|
type="button"
|
|
>
|
|
<span
|
|
aria-label="search"
|
|
class="anticon anticon-search"
|
|
role="img"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="search"
|
|
fill="currentColor"
|
|
focusable="false"
|
|
height="1em"
|
|
viewBox="64 64 896 896"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</button>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
<span
|
|
class="ant-select-selection-placeholder"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|