mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
303 lines
8.7 KiB
Plaintext
303 lines
8.7 KiB
Plaintext
exports[`test renders ./components/auto-complete/demo/antd.md correctly 1`] = `
|
||
<div
|
||
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
||
style="width:200px;height:50px;">
|
||
<div
|
||
aria-autocomplete="list"
|
||
aria-expanded="false"
|
||
aria-haspopup="true"
|
||
class="ant-select-selection
|
||
ant-select-selection--single"
|
||
role="combobox">
|
||
<div
|
||
class="ant-select-selection__rendered">
|
||
<div
|
||
class="ant-select-selection__placeholder"
|
||
style="display:block;user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
input here
|
||
</div>
|
||
<ul>
|
||
<li
|
||
class="ant-select-search ant-select-search--inline">
|
||
<div
|
||
class="ant-select-search__field__wrap">
|
||
<textarea
|
||
class="ant-input ant-select-search__field"
|
||
style="height:50px;" />
|
||
<span
|
||
class="ant-select-search__field__mirror">
|
||
|
||
</span>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<span
|
||
class="ant-select-arrow"
|
||
style="user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
<b />
|
||
</span>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`test renders ./components/auto-complete/demo/basic.md correctly 1`] = `
|
||
<div
|
||
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
||
style="width:200px;">
|
||
<div
|
||
aria-autocomplete="list"
|
||
aria-expanded="false"
|
||
aria-haspopup="true"
|
||
class="ant-select-selection
|
||
ant-select-selection--single"
|
||
role="combobox">
|
||
<div
|
||
class="ant-select-selection__rendered">
|
||
<div
|
||
class="ant-select-selection__placeholder"
|
||
style="display:block;user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
input here
|
||
</div>
|
||
<ul>
|
||
<li
|
||
class="ant-select-search ant-select-search--inline">
|
||
<div
|
||
class="ant-select-search__field__wrap">
|
||
<input
|
||
class="ant-input ant-input ant-select-search__field"
|
||
type="text"
|
||
value="" />
|
||
<span
|
||
class="ant-select-search__field__mirror">
|
||
|
||
</span>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<span
|
||
class="ant-select-arrow"
|
||
style="user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
<b />
|
||
</span>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`test renders ./components/auto-complete/demo/certain-category.md correctly 1`] = `
|
||
<div
|
||
class="certain-category-search-wrapper"
|
||
style="width:250px;">
|
||
<div
|
||
class="ant-select-lg ant-select-lg certain-category-search ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
||
style="width:100%;">
|
||
<div
|
||
aria-autocomplete="list"
|
||
aria-expanded="false"
|
||
aria-haspopup="true"
|
||
class="ant-select-selection
|
||
ant-select-selection--single"
|
||
role="combobox">
|
||
<div
|
||
class="ant-select-selection__rendered">
|
||
<div
|
||
class="ant-select-selection__placeholder"
|
||
style="display:block;user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
input here
|
||
</div>
|
||
<ul>
|
||
<li
|
||
class="ant-select-search ant-select-search--inline">
|
||
<div
|
||
class="ant-select-search__field__wrap">
|
||
<span
|
||
class="ant-input-preSuffix-wrapper">
|
||
<input
|
||
class="ant-input ant-input ant-select-search__field"
|
||
type="text"
|
||
value="" />
|
||
<span
|
||
class="ant-input-suffix">
|
||
<i
|
||
class="anticon anticon-search certain-category-icon" />
|
||
</span>
|
||
</span>
|
||
<span
|
||
class="ant-select-search__field__mirror">
|
||
|
||
</span>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<span
|
||
class="ant-select-arrow"
|
||
style="user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
<b />
|
||
</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`test renders ./components/auto-complete/demo/non-case-sensitive.md correctly 1`] = `
|
||
<div
|
||
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
||
style="width:200px;">
|
||
<div
|
||
aria-autocomplete="list"
|
||
aria-expanded="false"
|
||
aria-haspopup="true"
|
||
class="ant-select-selection
|
||
ant-select-selection--single"
|
||
role="combobox">
|
||
<div
|
||
class="ant-select-selection__rendered">
|
||
<div
|
||
class="ant-select-selection__placeholder"
|
||
style="display:block;user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
try to type \`b\`
|
||
</div>
|
||
<ul>
|
||
<li
|
||
class="ant-select-search ant-select-search--inline">
|
||
<div
|
||
class="ant-select-search__field__wrap">
|
||
<input
|
||
class="ant-input ant-input ant-select-search__field"
|
||
type="text"
|
||
value="" />
|
||
<span
|
||
class="ant-select-search__field__mirror">
|
||
|
||
</span>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<span
|
||
class="ant-select-arrow"
|
||
style="user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
<b />
|
||
</span>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`test renders ./components/auto-complete/demo/options.md correctly 1`] = `
|
||
<div
|
||
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
||
style="width:200px;">
|
||
<div
|
||
aria-autocomplete="list"
|
||
aria-expanded="false"
|
||
aria-haspopup="true"
|
||
class="ant-select-selection
|
||
ant-select-selection--single"
|
||
role="combobox">
|
||
<div
|
||
class="ant-select-selection__rendered">
|
||
<div
|
||
class="ant-select-selection__placeholder"
|
||
style="display:block;user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
input here
|
||
</div>
|
||
<ul>
|
||
<li
|
||
class="ant-select-search ant-select-search--inline">
|
||
<div
|
||
class="ant-select-search__field__wrap">
|
||
<input
|
||
class="ant-input ant-input ant-select-search__field"
|
||
type="text"
|
||
value="" />
|
||
<span
|
||
class="ant-select-search__field__mirror">
|
||
|
||
</span>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<span
|
||
class="ant-select-arrow"
|
||
style="user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
<b />
|
||
</span>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`test renders ./components/auto-complete/demo/uncertain-category.md correctly 1`] = `
|
||
<div
|
||
class="global-search-wrapper"
|
||
style="width:300px;">
|
||
<div
|
||
class="ant-select-lg ant-select-lg global-search ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
||
style="width:100%;">
|
||
<div
|
||
aria-autocomplete="list"
|
||
aria-expanded="false"
|
||
aria-haspopup="true"
|
||
class="ant-select-selection
|
||
ant-select-selection--single"
|
||
role="combobox">
|
||
<div
|
||
class="ant-select-selection__rendered">
|
||
<div
|
||
class="ant-select-selection__placeholder"
|
||
style="display:block;user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
input here
|
||
</div>
|
||
<ul>
|
||
<li
|
||
class="ant-select-search ant-select-search--inline">
|
||
<div
|
||
class="ant-select-search__field__wrap">
|
||
<span
|
||
class="ant-input-preSuffix-wrapper">
|
||
<input
|
||
class="ant-input ant-input ant-select-search__field"
|
||
type="text"
|
||
value="" />
|
||
<span
|
||
class="ant-input-suffix">
|
||
<button
|
||
class="ant-btn ant-btn-primary ant-btn-lg search-btn"
|
||
type="button">
|
||
<i
|
||
class="anticon anticon-search" />
|
||
</button>
|
||
</span>
|
||
</span>
|
||
<span
|
||
class="ant-select-search__field__mirror">
|
||
|
||
</span>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<span
|
||
class="ant-select-arrow"
|
||
style="user-select:none;-webkit-user-select:none;"
|
||
unselectable="unselectable">
|
||
<b />
|
||
</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|