mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
parent
9d2c91598b
commit
250c7a9c68
@ -2,117 +2,109 @@
|
|||||||
|
|
||||||
exports[`renders ./components/auto-complete/demo/antd.md correctly 1`] = `
|
exports[`renders ./components/auto-complete/demo/antd.md correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
||||||
|
style="width:200px;height:50px;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:200px;height:50px;"
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection__placeholder"
|
||||||
>
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
||||||
<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"
|
unselectable="unselectable"
|
||||||
>
|
>
|
||||||
<b />
|
input here
|
||||||
</span>
|
</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>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/auto-complete/demo/basic.md correctly 1`] = `
|
exports[`renders ./components/auto-complete/demo/basic.md correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
||||||
|
style="width:200px;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:200px;"
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection__placeholder"
|
||||||
>
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
||||||
<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-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"
|
unselectable="unselectable"
|
||||||
>
|
>
|
||||||
<b />
|
input here
|
||||||
</span>
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li
|
||||||
|
class="ant-select-search ant-select-search--inline"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="ant-select-search__field__wrap"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-input ant-select-search__field"
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field__mirror"
|
||||||
|
>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
@ -123,141 +115,8 @@ exports[`renders ./components/auto-complete/demo/certain-category.md correctly 1
|
|||||||
style="width:250px;"
|
style="width:250px;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
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
|
|
||||||
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-select-search__field ant-input-affix-wrapper"
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="ant-input"
|
|
||||||
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>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`renders ./components/auto-complete/demo/non-case-sensitive.md correctly 1`] = `
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<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-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>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`renders ./components/auto-complete/demo/options.md correctly 1`] = `
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
|
||||||
style="width:200px;"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
aria-autocomplete="list"
|
||||||
@ -284,11 +143,22 @@ exports[`renders ./components/auto-complete/demo/options.md correctly 1`] = `
|
|||||||
<div
|
<div
|
||||||
class="ant-select-search__field__wrap"
|
class="ant-select-search__field__wrap"
|
||||||
>
|
>
|
||||||
<input
|
<span
|
||||||
class="ant-input ant-select-search__field"
|
class="ant-select-search__field ant-input-affix-wrapper"
|
||||||
type="text"
|
>
|
||||||
value=""
|
<input
|
||||||
/>
|
class="ant-input"
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-input-suffix"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
class="anticon anticon-search certain-category-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
<span
|
<span
|
||||||
class="ant-select-search__field__mirror"
|
class="ant-select-search__field__mirror"
|
||||||
>
|
>
|
||||||
@ -310,81 +180,187 @@ exports[`renders ./components/auto-complete/demo/options.md correctly 1`] = `
|
|||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
exports[`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-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[`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-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[`renders ./components/auto-complete/demo/uncertain-category.md correctly 1`] = `
|
exports[`renders ./components/auto-complete/demo/uncertain-category.md correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="global-search-wrapper"
|
class="global-search-wrapper"
|
||||||
style="width:300px;"
|
style="width:300px;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
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
|
<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"
|
aria-autocomplete="list"
|
||||||
style="width:100%;"
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection__placeholder"
|
||||||
>
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
||||||
<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-select-search__field ant-input-affix-wrapper"
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="ant-input"
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-input-suffix"
|
|
||||||
>
|
|
||||||
<button
|
|
||||||
class="ant-btn search-btn ant-btn-primary ant-btn-lg"
|
|
||||||
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"
|
unselectable="unselectable"
|
||||||
>
|
>
|
||||||
<b />
|
input here
|
||||||
</span>
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li
|
||||||
|
class="ant-select-search ant-select-search--inline"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="ant-select-search__field__wrap"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field ant-input-affix-wrapper"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-input"
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-input-suffix"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
class="ant-btn search-btn ant-btn-primary ant-btn-lg"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
class="anticon anticon-search"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field__mirror"
|
||||||
|
>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -460,21 +460,17 @@ exports[`renders ./components/button/demo/multiple.md correctly 1`] = `
|
|||||||
secondary
|
secondary
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn ant-dropdown-trigger"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn ant-dropdown-trigger"
|
more
|
||||||
type="button"
|
</span>
|
||||||
>
|
<i
|
||||||
<span>
|
class="anticon anticon-down"
|
||||||
more
|
/>
|
||||||
</span>
|
</button>
|
||||||
<i
|
|
||||||
class="anticon anticon-down"
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
@ -8,75 +8,67 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
|
|||||||
class="ant-fullcalendar-header"
|
class="ant-fullcalendar-header"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-fullcalendar-year-select ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-fullcalendar-year-select ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="2016年"
|
||||||
>
|
>
|
||||||
<div
|
2016年
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="2016年"
|
|
||||||
>
|
|
||||||
2016年
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-fullcalendar-month-select ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-fullcalendar-month-select ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="11月"
|
||||||
>
|
>
|
||||||
<div
|
11月
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="11月"
|
|
||||||
>
|
|
||||||
11月
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -1023,75 +1015,67 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
|
|||||||
class="ant-fullcalendar-header"
|
class="ant-fullcalendar-header"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-sm ant-fullcalendar-year-select ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-sm ant-fullcalendar-year-select ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="2016年"
|
||||||
>
|
>
|
||||||
<div
|
2016年
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="2016年"
|
|
||||||
>
|
|
||||||
2016年
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-sm ant-fullcalendar-month-select ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-sm ant-fullcalendar-month-select ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="11月"
|
||||||
>
|
>
|
||||||
<div
|
11月
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="11月"
|
|
||||||
>
|
|
||||||
11月
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -2036,75 +2020,67 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
|
|||||||
class="ant-fullcalendar-header"
|
class="ant-fullcalendar-header"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-fullcalendar-year-select ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-fullcalendar-year-select ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="2016年"
|
||||||
>
|
>
|
||||||
<div
|
2016年
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="2016年"
|
|
||||||
>
|
|
||||||
2016年
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-fullcalendar-month-select ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-fullcalendar-month-select ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="11月"
|
||||||
>
|
>
|
||||||
<div
|
11月
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="11月"
|
|
||||||
>
|
|
||||||
11月
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -3363,75 +3339,67 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
|
|||||||
class="ant-fullcalendar-header"
|
class="ant-fullcalendar-header"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-fullcalendar-year-select ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-fullcalendar-year-select ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="2017年"
|
||||||
>
|
>
|
||||||
<div
|
2017年
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="2017年"
|
|
||||||
>
|
|
||||||
2017年
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-fullcalendar-month-select ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-fullcalendar-month-select ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="1月"
|
||||||
>
|
>
|
||||||
<div
|
1月
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="1月"
|
|
||||||
>
|
|
||||||
1月
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -1,324 +1,276 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`renders ./components/cascader/demo/basic.md correctly 1`] = `
|
exports[`renders ./components/cascader/demo/basic.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
/>
|
||||||
>
|
<input
|
||||||
<span
|
autocomplete="off"
|
||||||
class="ant-cascader-picker-label"
|
class="ant-input ant-cascader-input "
|
||||||
/>
|
placeholder="Please select"
|
||||||
<input
|
readonly=""
|
||||||
autocomplete="off"
|
type="text"
|
||||||
class="ant-input ant-cascader-input "
|
value=""
|
||||||
placeholder="Please select"
|
/>
|
||||||
readonly=""
|
<i
|
||||||
type="text"
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
value=""
|
/>
|
||||||
/>
|
</span>
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/cascader/demo/change-on-select.md correctly 1`] = `
|
exports[`renders ./components/cascader/demo/change-on-select.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
/>
|
||||||
>
|
<input
|
||||||
<span
|
autocomplete="off"
|
||||||
class="ant-cascader-picker-label"
|
class="ant-input ant-cascader-input "
|
||||||
/>
|
placeholder="Please select"
|
||||||
<input
|
readonly=""
|
||||||
autocomplete="off"
|
type="text"
|
||||||
class="ant-input ant-cascader-input "
|
value=""
|
||||||
placeholder="Please select"
|
/>
|
||||||
readonly=""
|
<i
|
||||||
type="text"
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
value=""
|
/>
|
||||||
/>
|
</span>
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/cascader/demo/custom-render.md correctly 1`] = `
|
exports[`renders ./components/cascader/demo/custom-render.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
style="width:270px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
style="width:270px;"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<span
|
<span>
|
||||||
class="ant-cascader-picker-label"
|
Zhejiang /
|
||||||
>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
Zhejiang /
|
Hangzhou /
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
Hangzhou /
|
West Lake (
|
||||||
</span>
|
<a>
|
||||||
<span>
|
752100
|
||||||
West Lake (
|
</a>
|
||||||
<a>
|
)
|
||||||
752100
|
|
||||||
</a>
|
|
||||||
)
|
|
||||||
</span>
|
|
||||||
</span>
|
</span>
|
||||||
<input
|
|
||||||
autocomplete="off"
|
|
||||||
class="ant-input ant-cascader-input "
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<i
|
|
||||||
class="anticon anticon-cross-circle ant-cascader-picker-clear"
|
|
||||||
/>
|
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
<input
|
||||||
|
autocomplete="off"
|
||||||
|
class="ant-input ant-cascader-input "
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<i
|
||||||
|
class="anticon anticon-cross-circle ant-cascader-picker-clear"
|
||||||
|
/>
|
||||||
|
<i
|
||||||
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/cascader/demo/custom-trigger.md correctly 1`] = `
|
exports[`renders ./components/cascader/demo/custom-trigger.md correctly 1`] = `
|
||||||
<span>
|
<span>
|
||||||
Unselect
|
Unselect
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<a
|
Change city
|
||||||
href="#"
|
</a>
|
||||||
tabindex="0"
|
|
||||||
>
|
|
||||||
Change city
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/cascader/demo/default-value.md correctly 1`] = `
|
exports[`renders ./components/cascader/demo/default-value.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<span
|
Zhejiang / Hangzhou / West Lake
|
||||||
class="ant-cascader-picker-label"
|
|
||||||
>
|
|
||||||
Zhejiang / Hangzhou / West Lake
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
autocomplete="off"
|
|
||||||
class="ant-input ant-cascader-input "
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<i
|
|
||||||
class="anticon anticon-cross-circle ant-cascader-picker-clear"
|
|
||||||
/>
|
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
<input
|
||||||
|
autocomplete="off"
|
||||||
|
class="ant-input ant-cascader-input "
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<i
|
||||||
|
class="anticon anticon-cross-circle ant-cascader-picker-clear"
|
||||||
|
/>
|
||||||
|
<i
|
||||||
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/cascader/demo/disabled-option.md correctly 1`] = `
|
exports[`renders ./components/cascader/demo/disabled-option.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
/>
|
||||||
>
|
<input
|
||||||
<span
|
autocomplete="off"
|
||||||
class="ant-cascader-picker-label"
|
class="ant-input ant-cascader-input "
|
||||||
/>
|
placeholder="Please select"
|
||||||
<input
|
readonly=""
|
||||||
autocomplete="off"
|
type="text"
|
||||||
class="ant-input ant-cascader-input "
|
value=""
|
||||||
placeholder="Please select"
|
/>
|
||||||
readonly=""
|
<i
|
||||||
type="text"
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
value=""
|
/>
|
||||||
/>
|
</span>
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/cascader/demo/hover.md correctly 1`] = `
|
exports[`renders ./components/cascader/demo/hover.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
/>
|
||||||
>
|
<input
|
||||||
<span
|
autocomplete="off"
|
||||||
class="ant-cascader-picker-label"
|
class="ant-input ant-cascader-input "
|
||||||
/>
|
placeholder="Please select"
|
||||||
<input
|
readonly=""
|
||||||
autocomplete="off"
|
type="text"
|
||||||
class="ant-input ant-cascader-input "
|
value=""
|
||||||
placeholder="Please select"
|
/>
|
||||||
readonly=""
|
<i
|
||||||
type="text"
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
value=""
|
/>
|
||||||
/>
|
</span>
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/cascader/demo/lazy.md correctly 1`] = `
|
exports[`renders ./components/cascader/demo/lazy.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
/>
|
||||||
>
|
<input
|
||||||
<span
|
autocomplete="off"
|
||||||
class="ant-cascader-picker-label"
|
class="ant-input ant-cascader-input "
|
||||||
/>
|
placeholder="Please select"
|
||||||
<input
|
readonly=""
|
||||||
autocomplete="off"
|
type="text"
|
||||||
class="ant-input ant-cascader-input "
|
value=""
|
||||||
placeholder="Please select"
|
/>
|
||||||
readonly=""
|
<i
|
||||||
type="text"
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
value=""
|
/>
|
||||||
/>
|
</span>
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/cascader/demo/search.md correctly 1`] = `
|
exports[`renders ./components/cascader/demo/search.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
/>
|
||||||
>
|
<input
|
||||||
<span
|
autocomplete="off"
|
||||||
class="ant-cascader-picker-label"
|
class="ant-input ant-cascader-input "
|
||||||
/>
|
placeholder="Please select"
|
||||||
<input
|
type="text"
|
||||||
autocomplete="off"
|
value=""
|
||||||
class="ant-input ant-cascader-input "
|
/>
|
||||||
placeholder="Please select"
|
<i
|
||||||
type="text"
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
value=""
|
/>
|
||||||
/>
|
</span>
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/cascader/demo/size.md correctly 1`] = `
|
exports[`renders ./components/cascader/demo/size.md correctly 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
/>
|
||||||
>
|
<input
|
||||||
<span
|
autocomplete="off"
|
||||||
class="ant-cascader-picker-label"
|
class="ant-input ant-cascader-input ant-input-lg"
|
||||||
/>
|
placeholder="Please select"
|
||||||
<input
|
readonly=""
|
||||||
autocomplete="off"
|
type="text"
|
||||||
class="ant-input ant-cascader-input ant-input-lg"
|
value=""
|
||||||
placeholder="Please select"
|
/>
|
||||||
readonly=""
|
<i
|
||||||
type="text"
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
value=""
|
/>
|
||||||
/>
|
</span>
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
/>
|
||||||
>
|
<input
|
||||||
<span
|
autocomplete="off"
|
||||||
class="ant-cascader-picker-label"
|
class="ant-input ant-cascader-input "
|
||||||
/>
|
placeholder="Please select"
|
||||||
<input
|
readonly=""
|
||||||
autocomplete="off"
|
type="text"
|
||||||
class="ant-input ant-cascader-input "
|
value=""
|
||||||
placeholder="Please select"
|
/>
|
||||||
readonly=""
|
<i
|
||||||
type="text"
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
value=""
|
/>
|
||||||
/>
|
</span>
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
/>
|
||||||
>
|
<input
|
||||||
<span
|
autocomplete="off"
|
||||||
class="ant-cascader-picker-label"
|
class="ant-input ant-cascader-input ant-input-sm"
|
||||||
/>
|
placeholder="Please select"
|
||||||
<input
|
readonly=""
|
||||||
autocomplete="off"
|
type="text"
|
||||||
class="ant-input ant-cascader-input ant-input-sm"
|
value=""
|
||||||
placeholder="Please select"
|
/>
|
||||||
readonly=""
|
<i
|
||||||
type="text"
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
value=""
|
/>
|
||||||
/>
|
</span>
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,19 +1,15 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/basic.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/basic.md correctly 1`] = `
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
class="ant-dropdown-link ant-dropdown-trigger"
|
||||||
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
Hover me
|
||||||
class="ant-dropdown-link ant-dropdown-trigger"
|
<i
|
||||||
href="#"
|
class="anticon anticon-down"
|
||||||
>
|
/>
|
||||||
Hover me
|
</a>
|
||||||
<i
|
|
||||||
class="anticon anticon-down"
|
|
||||||
/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
|
||||||
@ -29,18 +25,14 @@ exports[`renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
|
|||||||
Dropdown
|
Dropdown
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn ant-dropdown-trigger ant-btn-default"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<i
|
||||||
class="ant-btn ant-dropdown-trigger ant-btn-default"
|
class="anticon anticon-down"
|
||||||
type="button"
|
/>
|
||||||
>
|
</button>
|
||||||
<i
|
|
||||||
class="anticon anticon-down"
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ant-btn-group ant-dropdown-button"
|
class="ant-btn-group ant-dropdown-button"
|
||||||
@ -55,194 +47,142 @@ exports[`renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
|
|||||||
Dropdown
|
Dropdown
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<button
|
|
||||||
class="ant-btn ant-dropdown-trigger ant-btn-default"
|
|
||||||
type="button"
|
|
||||||
>
|
|
||||||
<i
|
|
||||||
class="anticon anticon-down"
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<button
|
<button
|
||||||
class="ant-btn ant-dropdown-trigger"
|
class="ant-btn ant-dropdown-trigger ant-btn-default"
|
||||||
style="margin-left:8px;"
|
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span>
|
|
||||||
Button
|
|
||||||
</span>
|
|
||||||
<i
|
<i
|
||||||
class="anticon anticon-down"
|
class="anticon anticon-down"
|
||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<button
|
||||||
|
class="ant-btn ant-dropdown-trigger"
|
||||||
|
style="margin-left:8px;"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
Button
|
||||||
|
</span>
|
||||||
|
<i
|
||||||
|
class="anticon anticon-down"
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/event.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/event.md correctly 1`] = `
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
class="ant-dropdown-link ant-dropdown-trigger"
|
||||||
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
Hover me, Click menu item
|
||||||
class="ant-dropdown-link ant-dropdown-trigger"
|
<i
|
||||||
href="#"
|
class="anticon anticon-down"
|
||||||
>
|
/>
|
||||||
Hover me, Click menu item
|
</a>
|
||||||
<i
|
|
||||||
class="anticon anticon-down"
|
|
||||||
/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/item.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/item.md correctly 1`] = `
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
class="ant-dropdown-link ant-dropdown-trigger"
|
||||||
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
Hover me
|
||||||
class="ant-dropdown-link ant-dropdown-trigger"
|
<i
|
||||||
href="#"
|
class="anticon anticon-down"
|
||||||
>
|
/>
|
||||||
Hover me
|
</a>
|
||||||
<i
|
|
||||||
class="anticon anticon-down"
|
|
||||||
/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/overlay-visible.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/overlay-visible.md correctly 1`] = `
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
class="ant-dropdown-link ant-dropdown-trigger"
|
||||||
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
Hover me
|
||||||
class="ant-dropdown-link ant-dropdown-trigger"
|
<i
|
||||||
href="#"
|
class="anticon anticon-down"
|
||||||
>
|
/>
|
||||||
Hover me
|
</a>
|
||||||
<i
|
|
||||||
class="anticon anticon-down"
|
|
||||||
/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/placement.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/placement.md correctly 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn ant-dropdown-trigger"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn ant-dropdown-trigger"
|
bottomLeft
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
bottomLeft
|
class="ant-btn ant-dropdown-trigger"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn ant-dropdown-trigger"
|
bottomCenter
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
bottomCenter
|
class="ant-btn ant-dropdown-trigger"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn ant-dropdown-trigger"
|
bottomRight
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
bottomRight
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<br />
|
<br />
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn ant-dropdown-trigger"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn ant-dropdown-trigger"
|
topLeft
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
topLeft
|
class="ant-btn ant-dropdown-trigger"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn ant-dropdown-trigger"
|
topCenter
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
topCenter
|
class="ant-btn ant-dropdown-trigger"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn ant-dropdown-trigger"
|
topRight
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
topRight
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/sub-menu.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/sub-menu.md correctly 1`] = `
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
class="ant-dropdown-link ant-dropdown-trigger"
|
||||||
|
href="#"
|
||||||
>
|
>
|
||||||
|
Cascading menu
|
||||||
|
<i
|
||||||
|
class="anticon anticon-down"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`renders ./components/dropdown/demo/trigger.md correctly 1`] = `
|
||||||
|
<div>
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-link ant-dropdown-trigger"
|
class="ant-dropdown-link ant-dropdown-trigger"
|
||||||
href="#"
|
href="#"
|
||||||
>
|
>
|
||||||
Cascading menu
|
Click me
|
||||||
<i
|
<i
|
||||||
class="anticon anticon-down"
|
class="anticon anticon-down"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/trigger.md correctly 1`] = `
|
|
||||||
<div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<a
|
|
||||||
class="ant-dropdown-link ant-dropdown-trigger"
|
|
||||||
href="#"
|
|
||||||
>
|
|
||||||
Click me
|
|
||||||
<i
|
|
||||||
class="anticon anticon-down"
|
|
||||||
/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
@ -468,39 +468,35 @@ exports[`renders ./components/form/demo/coordinated.md correctly 1`] = `
|
|||||||
class="ant-form-item-control "
|
class="ant-form-item-control "
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-lg ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-lg ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection__placeholder"
|
||||||
>
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
||||||
<div
|
|
||||||
class="ant-select-selection__placeholder"
|
|
||||||
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
Select a option and change input text above
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
unselectable="unselectable"
|
||||||
>
|
>
|
||||||
<b />
|
Select a option and change input text above
|
||||||
</span>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -561,40 +557,36 @@ exports[`renders ./components/form/demo/customized-form-controls.md correctly 1`
|
|||||||
value="0"
|
value="0"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-lg ant-select ant-select-enabled"
|
||||||
|
style="width:32%;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-lg ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:32%;"
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="RMB"
|
||||||
>
|
>
|
||||||
<div
|
RMB
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="RMB"
|
|
||||||
>
|
|
||||||
RMB
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
@ -1338,13 +1330,9 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Nickname
|
Nickname
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-question-circle-o"
|
||||||
>
|
/>
|
||||||
<i
|
|
||||||
class="anticon anticon-question-circle-o"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
@ -1384,35 +1372,31 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
|
|||||||
<div
|
<div
|
||||||
class="ant-form-item-control has-success"
|
class="ant-form-item-control has-success"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<span
|
Zhejiang / Hangzhou / West Lake
|
||||||
class="ant-cascader-picker-label"
|
|
||||||
>
|
|
||||||
Zhejiang / Hangzhou / West Lake
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
autocomplete="off"
|
|
||||||
class="ant-input ant-cascader-input ant-input-lg"
|
|
||||||
data-__meta="[object Object]"
|
|
||||||
id="residence"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<i
|
|
||||||
class="anticon anticon-cross-circle ant-cascader-picker-clear"
|
|
||||||
/>
|
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
<input
|
||||||
|
autocomplete="off"
|
||||||
|
class="ant-input ant-cascader-input ant-input-lg"
|
||||||
|
data-__meta="[object Object]"
|
||||||
|
id="residence"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<i
|
||||||
|
class="anticon anticon-cross-circle ant-cascader-picker-clear"
|
||||||
|
/>
|
||||||
|
<i
|
||||||
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1447,40 +1431,36 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
|
|||||||
class="ant-input-group-addon"
|
class="ant-input-group-addon"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
|
style="width:60px;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:60px;"
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="+86"
|
||||||
>
|
>
|
||||||
<div
|
+86
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="+86"
|
|
||||||
>
|
|
||||||
+86
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
@ -1517,58 +1497,54 @@ exports[`renders ./components/form/demo/register.md correctly 1`] = `
|
|||||||
class="ant-form-item-control "
|
class="ant-form-item-control "
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-lg ant-select-lg ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-lg ant-select-lg ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection__placeholder"
|
||||||
>
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
||||||
<div
|
|
||||||
class="ant-select-selection__placeholder"
|
|
||||||
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
website
|
|
||||||
</div>
|
|
||||||
<ul>
|
|
||||||
<li
|
|
||||||
class="ant-select-search ant-select-search--inline"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="ant-select-search__field__wrap"
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="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"
|
unselectable="unselectable"
|
||||||
>
|
>
|
||||||
<b />
|
website
|
||||||
</span>
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li
|
||||||
|
class="ant-select-search ant-select-search--inline"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="ant-select-search__field__wrap"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-input ant-select-search__field"
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field__mirror"
|
||||||
|
>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1719,20 +1695,16 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
>
|
>
|
||||||
<div
|
<div>
|
||||||
id="TriggerContainer"
|
<input
|
||||||
>
|
class="ant-calendar-picker-input ant-input ant-input-lg"
|
||||||
<div>
|
placeholder="请选择日期"
|
||||||
<input
|
readonly=""
|
||||||
class="ant-calendar-picker-input ant-input ant-input-lg"
|
value=""
|
||||||
placeholder="请选择日期"
|
/>
|
||||||
readonly=""
|
<span
|
||||||
value=""
|
class="ant-calendar-picker-icon"
|
||||||
/>
|
/>
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -1762,20 +1734,16 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width:154px;"
|
style="width:154px;"
|
||||||
>
|
>
|
||||||
<div
|
<div>
|
||||||
id="TriggerContainer"
|
<input
|
||||||
>
|
class="ant-calendar-picker-input ant-input ant-input-lg"
|
||||||
<div>
|
placeholder="请选择日期"
|
||||||
<input
|
readonly=""
|
||||||
class="ant-calendar-picker-input ant-input ant-input-lg"
|
value=""
|
||||||
placeholder="请选择日期"
|
/>
|
||||||
readonly=""
|
<span
|
||||||
value=""
|
class="ant-calendar-picker-icon"
|
||||||
/>
|
/>
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -1804,20 +1772,16 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
>
|
>
|
||||||
<div
|
<div>
|
||||||
id="TriggerContainer"
|
<input
|
||||||
>
|
class="ant-calendar-picker-input ant-input ant-input-lg"
|
||||||
<div>
|
placeholder="请选择日期"
|
||||||
<input
|
readonly=""
|
||||||
class="ant-calendar-picker-input ant-input ant-input-lg"
|
value=""
|
||||||
placeholder="请选择日期"
|
/>
|
||||||
readonly=""
|
<span
|
||||||
value=""
|
class="ant-calendar-picker-icon"
|
||||||
/>
|
/>
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -1846,34 +1810,30 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-calendar-picker-input ant-input ant-input-lg"
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-calendar-range-picker-input"
|
||||||
|
placeholder="开始日期"
|
||||||
|
readonly=""
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input ant-input-lg"
|
class="ant-calendar-range-picker-separator"
|
||||||
>
|
>
|
||||||
<input
|
~
|
||||||
class="ant-calendar-range-picker-input"
|
|
||||||
placeholder="开始日期"
|
|
||||||
readonly=""
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-calendar-range-picker-separator"
|
|
||||||
>
|
|
||||||
~
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="ant-calendar-range-picker-input"
|
|
||||||
placeholder="结束日期"
|
|
||||||
readonly=""
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
<input
|
||||||
|
class="ant-calendar-range-picker-input"
|
||||||
|
placeholder="结束日期"
|
||||||
|
readonly=""
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-calendar-picker-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1902,34 +1862,30 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width:300px;"
|
style="width:300px;"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-calendar-picker-input ant-input ant-input-lg"
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-calendar-range-picker-input"
|
||||||
|
placeholder="开始日期"
|
||||||
|
readonly=""
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input ant-input-lg"
|
class="ant-calendar-range-picker-separator"
|
||||||
>
|
>
|
||||||
<input
|
~
|
||||||
class="ant-calendar-range-picker-input"
|
|
||||||
placeholder="开始日期"
|
|
||||||
readonly=""
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-calendar-range-picker-separator"
|
|
||||||
>
|
|
||||||
~
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="ant-calendar-range-picker-input"
|
|
||||||
placeholder="结束日期"
|
|
||||||
readonly=""
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
<input
|
||||||
|
class="ant-calendar-range-picker-input"
|
||||||
|
placeholder="结束日期"
|
||||||
|
readonly=""
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-calendar-picker-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1954,24 +1910,20 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
<div
|
<div
|
||||||
class="ant-form-item-control "
|
class="ant-form-item-control "
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-time-picker ant-time-picker-large"
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-time-picker ant-time-picker-large"
|
class="ant-time-picker-icon"
|
||||||
>
|
/>
|
||||||
<input
|
</span>
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="请选择时间"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -2050,39 +2002,35 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
|
|||||||
class="ant-form-item-control "
|
class="ant-form-item-control "
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-lg ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-lg ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection__placeholder"
|
||||||
>
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
||||||
<div
|
|
||||||
class="ant-select-selection__placeholder"
|
|
||||||
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
Please select a country
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
unselectable="unselectable"
|
||||||
>
|
>
|
||||||
<b />
|
Please select a country
|
||||||
</span>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -2109,51 +2057,47 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
|
|||||||
class="ant-form-item-control "
|
class="ant-form-item-control "
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-lg ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-lg ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--multiple"
|
||||||
|
role="combobox"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--multiple"
|
|
||||||
role="combobox"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection__placeholder"
|
||||||
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
>
|
>
|
||||||
<div
|
Please select favourite colors
|
||||||
class="ant-select-selection__placeholder"
|
|
||||||
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
Please select favourite colors
|
|
||||||
</div>
|
|
||||||
<ul>
|
|
||||||
<li
|
|
||||||
class="ant-select-search ant-select-search--inline"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="ant-select-search__field__wrap"
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
autocomplete="off"
|
|
||||||
class="ant-select-search__field"
|
|
||||||
id="select-multiple"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-select-search__field__mirror"
|
|
||||||
>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li
|
||||||
|
class="ant-select-search ant-select-search--inline"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="ant-select-search__field__wrap"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
autocomplete="off"
|
||||||
|
class="ant-select-search__field"
|
||||||
|
id="select-multiple"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field__mirror"
|
||||||
|
>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -2329,18 +2273,14 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="0"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="0"
|
style="left:0%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:0%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
>
|
>
|
||||||
@ -2856,20 +2796,16 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
|
|||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width:100%;"
|
style="width:100%;"
|
||||||
>
|
>
|
||||||
<div
|
<div>
|
||||||
id="TriggerContainer"
|
<input
|
||||||
>
|
class="ant-calendar-picker-input ant-input ant-input-lg"
|
||||||
<div>
|
placeholder="请选择日期"
|
||||||
<input
|
readonly=""
|
||||||
class="ant-calendar-picker-input ant-input ant-input-lg"
|
value=""
|
||||||
placeholder="请选择日期"
|
/>
|
||||||
readonly=""
|
<span
|
||||||
value=""
|
class="ant-calendar-picker-icon"
|
||||||
/>
|
/>
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -2894,25 +2830,21 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
|
|||||||
<div
|
<div
|
||||||
class="ant-form-item-control has-feedback has-warning"
|
class="ant-form-item-control has-feedback has-warning"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-time-picker ant-time-picker-large"
|
||||||
|
style="width:100%;"
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-time-picker ant-time-picker-large"
|
class="ant-time-picker-icon"
|
||||||
style="width:100%;"
|
/>
|
||||||
>
|
</span>
|
||||||
<input
|
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="请选择时间"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -2936,39 +2868,35 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
|
|||||||
class="ant-form-item-control has-feedback has-error"
|
class="ant-form-item-control has-feedback has-error"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-lg ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-lg ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="Option 1"
|
||||||
>
|
>
|
||||||
<div
|
Option 1
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="Option 1"
|
|
||||||
>
|
|
||||||
Option 1
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -2993,31 +2921,27 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
|
|||||||
<div
|
<div
|
||||||
class="ant-form-item-control has-feedback is-validating"
|
class="ant-form-item-control has-feedback is-validating"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-cascader-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker"
|
class="ant-cascader-picker-label"
|
||||||
tabindex="0"
|
/>
|
||||||
>
|
<input
|
||||||
<span
|
autocomplete="off"
|
||||||
class="ant-cascader-picker-label"
|
class="ant-input ant-cascader-input ant-input-lg"
|
||||||
/>
|
readonly=""
|
||||||
<input
|
type="text"
|
||||||
autocomplete="off"
|
value=""
|
||||||
class="ant-input ant-cascader-input ant-input-lg"
|
/>
|
||||||
readonly=""
|
<i
|
||||||
type="text"
|
class="anticon anticon-cross-circle ant-cascader-picker-clear"
|
||||||
value=""
|
/>
|
||||||
/>
|
<i
|
||||||
<i
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
class="anticon anticon-cross-circle ant-cascader-picker-clear"
|
/>
|
||||||
/>
|
</span>
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-form-explain"
|
class="ant-form-explain"
|
||||||
>
|
>
|
||||||
@ -3060,20 +2984,16 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
>
|
>
|
||||||
<div
|
<div>
|
||||||
id="TriggerContainer"
|
<input
|
||||||
>
|
class="ant-calendar-picker-input ant-input ant-input-lg"
|
||||||
<div>
|
placeholder="请选择日期"
|
||||||
<input
|
readonly=""
|
||||||
class="ant-calendar-picker-input ant-input ant-input-lg"
|
value=""
|
||||||
placeholder="请选择日期"
|
/>
|
||||||
readonly=""
|
<span
|
||||||
value=""
|
class="ant-calendar-picker-icon"
|
||||||
/>
|
/>
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
<div
|
<div
|
||||||
@ -3109,20 +3029,16 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
>
|
>
|
||||||
<div
|
<div>
|
||||||
id="TriggerContainer"
|
<input
|
||||||
>
|
class="ant-calendar-picker-input ant-input ant-input-lg"
|
||||||
<div>
|
placeholder="请选择日期"
|
||||||
<input
|
readonly=""
|
||||||
class="ant-calendar-picker-input ant-input ant-input-lg"
|
value=""
|
||||||
placeholder="请选择日期"
|
/>
|
||||||
readonly=""
|
<span
|
||||||
value=""
|
class="ant-calendar-picker-icon"
|
||||||
/>
|
/>
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -511,18 +511,14 @@ exports[`renders ./components/grid/demo/playground.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="5"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="1"
|
||||||
aria-valuemax="5"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="1"
|
style="left:20%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:20%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
>
|
>
|
||||||
@ -612,18 +608,14 @@ exports[`renders ./components/grid/demo/playground.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="5"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="2"
|
||||||
aria-valuemax="5"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="2"
|
style="left:40%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:40%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
>
|
>
|
||||||
|
@ -42,40 +42,36 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
|
|||||||
class="ant-input-group-addon"
|
class="ant-input-group-addon"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
|
style="width:80px;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:80px;"
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="Http://"
|
||||||
>
|
>
|
||||||
<div
|
Http://
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="Http://"
|
|
||||||
>
|
|
||||||
Http://
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
@ -88,40 +84,36 @@ exports[`renders ./components/input/demo/addon.md correctly 1`] = `
|
|||||||
class="ant-input-group-addon"
|
class="ant-input-group-addon"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
|
style="width:70px;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:70px;"
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title=".com"
|
||||||
>
|
>
|
||||||
<div
|
.com
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title=".com"
|
|
||||||
>
|
|
||||||
.com
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
@ -225,39 +217,35 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
|||||||
class="ant-input-group ant-input-group-compact"
|
class="ant-input-group ant-input-group-compact"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="Zhejiang"
|
||||||
>
|
>
|
||||||
<div
|
Zhejiang
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="Zhejiang"
|
|
||||||
>
|
|
||||||
Zhejiang
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input
|
<input
|
||||||
@ -272,39 +260,35 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
|||||||
class="ant-input-group ant-input-group-compact"
|
class="ant-input-group ant-input-group-compact"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="Option1"
|
||||||
>
|
>
|
||||||
<div
|
Option1
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="Option1"
|
|
||||||
>
|
|
||||||
Option1
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input
|
<input
|
||||||
@ -374,20 +358,16 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
>
|
>
|
||||||
<div
|
<div>
|
||||||
id="TriggerContainer"
|
<input
|
||||||
>
|
class="ant-calendar-picker-input ant-input"
|
||||||
<div>
|
placeholder="请选择日期"
|
||||||
<input
|
readonly=""
|
||||||
class="ant-calendar-picker-input ant-input"
|
value=""
|
||||||
placeholder="请选择日期"
|
/>
|
||||||
readonly=""
|
<span
|
||||||
value=""
|
class="ant-calendar-picker-icon"
|
||||||
/>
|
/>
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
@ -396,75 +376,67 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
|||||||
class="ant-input-group ant-input-group-compact"
|
class="ant-input-group ant-input-group-compact"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="Option1-1"
|
||||||
>
|
>
|
||||||
<div
|
Option1-1
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="Option1-1"
|
|
||||||
>
|
|
||||||
Option1-1
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="Option2-2"
|
||||||
>
|
>
|
||||||
<div
|
Option2-2
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="Option2-2"
|
|
||||||
>
|
|
||||||
Option2-2
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
@ -473,39 +445,35 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
|||||||
class="ant-input-group ant-input-group-compact"
|
class="ant-input-group ant-input-group-compact"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="Between"
|
||||||
>
|
>
|
||||||
<div
|
Between
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="Between"
|
|
||||||
>
|
|
||||||
Between
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input
|
<input
|
||||||
@ -533,95 +501,87 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
|||||||
class="ant-input-group ant-input-group-compact"
|
class="ant-input-group ant-input-group-compact"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="Sign Up"
|
||||||
>
|
>
|
||||||
<div
|
Sign Up
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="Sign Up"
|
|
||||||
>
|
|
||||||
Sign Up
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
||||||
|
style="width:200px;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:200px;"
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection__placeholder"
|
||||||
>
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
||||||
<div
|
|
||||||
class="ant-select-selection__placeholder"
|
|
||||||
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
Email
|
|
||||||
</div>
|
|
||||||
<ul>
|
|
||||||
<li
|
|
||||||
class="ant-select-search ant-select-search--inline"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="ant-select-search__field__wrap"
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="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"
|
unselectable="unselectable"
|
||||||
>
|
>
|
||||||
<b />
|
Email
|
||||||
</span>
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li
|
||||||
|
class="ant-select-search ant-select-search--inline"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="ant-select-search__field__wrap"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-input ant-select-search__field"
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field__mirror"
|
||||||
|
>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
@ -630,66 +590,58 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
|
|||||||
class="ant-input-group ant-input-group-compact"
|
class="ant-input-group ant-input-group-compact"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
|
style="width:30%;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:30%;"
|
aria-expanded="false"
|
||||||
>
|
aria-haspopup="true"
|
||||||
<div
|
class="ant-select-selection
|
||||||
aria-autocomplete="list"
|
ant-select-selection--single"
|
||||||
aria-expanded="false"
|
role="combobox"
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="ant-select-selection__rendered"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="Home"
|
|
||||||
>
|
|
||||||
Home
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-cascader-picker"
|
|
||||||
style="width:70%;"
|
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
|
<div
|
||||||
|
class="ant-select-selection__rendered"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="Home"
|
||||||
|
>
|
||||||
|
Home
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<span
|
<span
|
||||||
class="ant-cascader-picker-label"
|
class="ant-select-arrow"
|
||||||
/>
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
<input
|
unselectable="unselectable"
|
||||||
autocomplete="off"
|
>
|
||||||
class="ant-input ant-cascader-input "
|
<b />
|
||||||
placeholder="Select Address"
|
</span>
|
||||||
readonly=""
|
</div>
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<i
|
|
||||||
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-cascader-picker"
|
||||||
|
style="width:70%;"
|
||||||
|
tabindex="0"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="ant-cascader-picker-label"
|
||||||
|
/>
|
||||||
|
<input
|
||||||
|
autocomplete="off"
|
||||||
|
class="ant-input ant-cascader-input "
|
||||||
|
placeholder="Select Address"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<i
|
||||||
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
@ -764,16 +716,12 @@ exports[`renders ./components/input/demo/textarea.md correctly 1`] = `
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/input/demo/tooltip.md correctly 1`] = `
|
exports[`renders ./components/input/demo/tooltip.md correctly 1`] = `
|
||||||
<div
|
<input
|
||||||
id="TriggerContainer"
|
class="ant-input"
|
||||||
>
|
maxlength="25"
|
||||||
<input
|
placeholder="Input a number"
|
||||||
class="ant-input"
|
style="width:120px;"
|
||||||
maxlength="25"
|
type="text"
|
||||||
placeholder="Input a number"
|
value=""
|
||||||
style="width:120px;"
|
/>
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
@ -143,57 +143,45 @@ exports[`renders ./components/layout/demo/custom-trigger.md correctly 1`] = `
|
|||||||
role="menu"
|
role="menu"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="true"
|
||||||
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:24px;"
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="true"
|
class="anticon anticon-user"
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span>
|
||||||
style="padding-left:24px;"
|
nav 1
|
||||||
>
|
</span>
|
||||||
<i
|
</li>
|
||||||
class="anticon anticon-user"
|
<li
|
||||||
/>
|
aria-selected="false"
|
||||||
<span>
|
class="ant-menu-item"
|
||||||
nav 1
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-video-camera"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span>
|
||||||
style="padding-left:24px;"
|
nav 2
|
||||||
>
|
</span>
|
||||||
<i
|
</li>
|
||||||
class="anticon anticon-video-camera"
|
<li
|
||||||
/>
|
aria-selected="false"
|
||||||
<span>
|
class="ant-menu-item"
|
||||||
nav 2
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-upload"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span>
|
||||||
style="padding-left:24px;"
|
nav 3
|
||||||
>
|
</span>
|
||||||
<i
|
</li>
|
||||||
class="anticon anticon-upload"
|
|
||||||
/>
|
|
||||||
<span>
|
|
||||||
nav 3
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -236,39 +224,27 @@ exports[`renders ./components/layout/demo/fixed.md correctly 1`] = `
|
|||||||
style="line-height:64px;"
|
style="line-height:64px;"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
>
|
>
|
||||||
<li
|
nav 1
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="true"
|
||||||
>
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
nav 1
|
role="menuitem"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
nav 2
|
||||||
aria-selected="true"
|
</li>
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 2
|
role="menuitem"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
nav 3
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
>
|
|
||||||
nav 3
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -351,158 +327,126 @@ exports[`renders ./components/layout/demo/fixed-sider.md correctly 1`] = `
|
|||||||
role="menu"
|
role="menu"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:24px;"
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-user"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 1
|
||||||
class="anticon anticon-user"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
<li
|
||||||
class="nav-text"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 1
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-video-camera"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 2
|
||||||
class="anticon anticon-video-camera"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
<li
|
||||||
class="nav-text"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 2
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-upload"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 3
|
||||||
class="anticon anticon-upload"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
<li
|
||||||
class="nav-text"
|
aria-selected="true"
|
||||||
>
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
nav 3
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="true"
|
class="anticon anticon-bar-chart"
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 4
|
||||||
class="anticon anticon-bar-chart"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
<li
|
||||||
class="nav-text"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 4
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-cloud-o"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 5
|
||||||
class="anticon anticon-cloud-o"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
<li
|
||||||
class="nav-text"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 5
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-appstore-o"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 6
|
||||||
class="anticon anticon-appstore-o"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
<li
|
||||||
class="nav-text"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 6
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-team"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 7
|
||||||
class="anticon anticon-team"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
<li
|
||||||
class="nav-text"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 7
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-shop"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 8
|
||||||
class="anticon anticon-shop"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
|
||||||
class="nav-text"
|
|
||||||
>
|
|
||||||
nav 8
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -648,82 +592,66 @@ exports[`renders ./components/layout/demo/responsive.md correctly 1`] = `
|
|||||||
role="menu"
|
role="menu"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:24px;"
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-user"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 1
|
||||||
class="anticon anticon-user"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
<li
|
||||||
class="nav-text"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 1
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-video-camera"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 2
|
||||||
class="anticon anticon-video-camera"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
<li
|
||||||
class="nav-text"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 2
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-upload"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 3
|
||||||
class="anticon anticon-upload"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
<li
|
||||||
class="nav-text"
|
aria-selected="true"
|
||||||
>
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
nav 3
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="true"
|
class="anticon anticon-user"
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span
|
||||||
style="padding-left:24px;"
|
class="nav-text"
|
||||||
>
|
>
|
||||||
<i
|
nav 4
|
||||||
class="anticon anticon-user"
|
</span>
|
||||||
/>
|
</li>
|
||||||
<span
|
|
||||||
class="nav-text"
|
|
||||||
>
|
|
||||||
nav 4
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -775,40 +703,32 @@ exports[`renders ./components/layout/demo/side.md correctly 1`] = `
|
|||||||
role="menu"
|
role="menu"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="true"
|
||||||
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:24px;"
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="true"
|
class="anticon anticon-pie-chart"
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span>
|
||||||
style="padding-left:24px;"
|
Option 1
|
||||||
>
|
</span>
|
||||||
<i
|
</li>
|
||||||
class="anticon anticon-pie-chart"
|
<li
|
||||||
/>
|
aria-selected="false"
|
||||||
<span>
|
class="ant-menu-item"
|
||||||
Option 1
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-desktop"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span>
|
||||||
style="padding-left:24px;"
|
Option 2
|
||||||
>
|
</span>
|
||||||
<i
|
</li>
|
||||||
class="anticon anticon-desktop"
|
|
||||||
/>
|
|
||||||
<span>
|
|
||||||
Option 2
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<li
|
<li
|
||||||
class="ant-menu-submenu-inline ant-menu-submenu"
|
class="ant-menu-submenu-inline ant-menu-submenu"
|
||||||
>
|
>
|
||||||
@ -849,23 +769,19 @@ exports[`renders ./components/layout/demo/side.md correctly 1`] = `
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:24px;"
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-file"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span>
|
||||||
style="padding-left:24px;"
|
File
|
||||||
>
|
</span>
|
||||||
<i
|
</li>
|
||||||
class="anticon anticon-file"
|
|
||||||
/>
|
|
||||||
<span>
|
|
||||||
File
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -950,39 +866,27 @@ exports[`renders ./components/layout/demo/top.md correctly 1`] = `
|
|||||||
style="line-height:64px;"
|
style="line-height:64px;"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
>
|
>
|
||||||
<li
|
nav 1
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="true"
|
||||||
>
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
nav 1
|
role="menuitem"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
nav 2
|
||||||
aria-selected="true"
|
</li>
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 2
|
role="menuitem"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
nav 3
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
>
|
|
||||||
nav 3
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -1062,39 +966,27 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = `
|
|||||||
style="line-height:64px;"
|
style="line-height:64px;"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
>
|
>
|
||||||
<li
|
nav 1
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="true"
|
||||||
>
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
nav 1
|
role="menuitem"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
nav 2
|
||||||
aria-selected="true"
|
</li>
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 2
|
role="menuitem"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
nav 3
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
>
|
|
||||||
nav 3
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -1183,54 +1075,38 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = `
|
|||||||
id="sub1$Menu"
|
id="sub1$Menu"
|
||||||
role="menu"
|
role="menu"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="true"
|
||||||
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:48px;"
|
||||||
>
|
>
|
||||||
<li
|
option1
|
||||||
aria-selected="true"
|
</li>
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
option1
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
option2
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
option2
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
option3
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
option3
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
option4
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
style="padding-left:48px;"
|
|
||||||
>
|
|
||||||
option4
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
@ -1306,39 +1182,27 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = `
|
|||||||
style="line-height:64px;"
|
style="line-height:64px;"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
>
|
>
|
||||||
<li
|
nav 1
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="true"
|
||||||
>
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
nav 1
|
role="menuitem"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
nav 2
|
||||||
aria-selected="true"
|
</li>
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
>
|
class="ant-menu-item"
|
||||||
nav 2
|
role="menuitem"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
nav 3
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
>
|
|
||||||
nav 3
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -1381,54 +1245,38 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = `
|
|||||||
id="sub1$Menu"
|
id="sub1$Menu"
|
||||||
role="menu"
|
role="menu"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="true"
|
||||||
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:48px;"
|
||||||
>
|
>
|
||||||
<li
|
option1
|
||||||
aria-selected="true"
|
</li>
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
option1
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
option2
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
option2
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
option3
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
option3
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
option4
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
style="padding-left:48px;"
|
|
||||||
>
|
|
||||||
option4
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
|
@ -131,39 +131,35 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
|
|||||||
class="ant-pagination-options"
|
class="ant-pagination-options"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-pagination-options-size-changer ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-pagination-options-size-changer ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="10 / page"
|
||||||
>
|
>
|
||||||
<div
|
10 / page
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="10 / page"
|
|
||||||
>
|
|
||||||
10 / page
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
@ -173,123 +169,107 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
|
|||||||
class="example"
|
class="example"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
|
style="width:200px;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:200px;"
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-search ant-select-search--inline"
|
||||||
|
style="display:none;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-search ant-select-search--inline"
|
class="ant-select-search__field__wrap"
|
||||||
style="display:none;"
|
|
||||||
>
|
>
|
||||||
<div
|
<input
|
||||||
class="ant-select-search__field__wrap"
|
autocomplete="off"
|
||||||
|
class="ant-select-search__field"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field__mirror"
|
||||||
>
|
>
|
||||||
<input
|
|
||||||
autocomplete="off"
|
</span>
|
||||||
class="ant-select-search__field"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-select-search__field__mirror"
|
|
||||||
>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
>
|
>
|
||||||
<div
|
<div>
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<div>
|
|
||||||
<input
|
|
||||||
class="ant-calendar-picker-input ant-input"
|
|
||||||
placeholder="Select date"
|
|
||||||
readonly=""
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</span>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker "
|
|
||||||
>
|
|
||||||
<input
|
<input
|
||||||
class="ant-time-picker-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
placeholder="Select time"
|
placeholder="Select date"
|
||||||
readonly=""
|
readonly=""
|
||||||
type="text"
|
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-time-picker-icon"
|
class="ant-calendar-picker-icon"
|
||||||
/>
|
/>
|
||||||
</span>
|
</div>
|
||||||
</div>
|
</span>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker "
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="Select time"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width:200px;"
|
style="width:200px;"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-calendar-picker-input ant-input"
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-calendar-range-picker-input"
|
||||||
|
placeholder="Start date"
|
||||||
|
readonly=""
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-range-picker-separator"
|
||||||
>
|
>
|
||||||
<input
|
~
|
||||||
class="ant-calendar-range-picker-input"
|
|
||||||
placeholder="Start date"
|
|
||||||
readonly=""
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-calendar-range-picker-separator"
|
|
||||||
>
|
|
||||||
~
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="ant-calendar-range-picker-input"
|
|
||||||
placeholder="End date"
|
|
||||||
readonly=""
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-calendar-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
<input
|
||||||
|
class="ant-calendar-range-picker-input"
|
||||||
|
placeholder="End date"
|
||||||
|
readonly=""
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-calendar-picker-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -319,15 +299,11 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
|
|||||||
Show confirm
|
Show confirm
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
Click to confirm
|
||||||
href="#"
|
</a>
|
||||||
>
|
|
||||||
Click to confirm
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="example"
|
class="example"
|
||||||
@ -501,75 +477,67 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
|
|||||||
class="ant-fullcalendar-header"
|
class="ant-fullcalendar-header"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-sm ant-fullcalendar-year-select ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-sm ant-fullcalendar-year-select ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="2016"
|
||||||
>
|
>
|
||||||
<div
|
2016
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="2016"
|
|
||||||
>
|
|
||||||
2016
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-sm ant-fullcalendar-month-select ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-sm ant-fullcalendar-month-select ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="Nov"
|
||||||
>
|
>
|
||||||
<div
|
Nov
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="Nov"
|
|
||||||
>
|
|
||||||
Nov
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -1541,14 +1509,10 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Name
|
Name
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-filter ant-dropdown-trigger"
|
||||||
>
|
title="Filter menu"
|
||||||
<i
|
/>
|
||||||
class="anticon anticon-filter ant-dropdown-trigger"
|
|
||||||
title="Filter menu"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
@ -1655,39 +1619,35 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
|
|||||||
class="ant-pagination-options"
|
class="ant-pagination-options"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-pagination-options-size-changer ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-pagination-options-size-changer ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="10 / page"
|
||||||
>
|
>
|
||||||
<div
|
10 / page
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="10 / page"
|
|
||||||
>
|
|
||||||
10 / page
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
@ -7,35 +7,27 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = `
|
|||||||
role="menu"
|
role="menu"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="true"
|
||||||
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="true"
|
class="anticon anticon-mail"
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
Navigation One
|
||||||
>
|
</li>
|
||||||
<i
|
<li
|
||||||
class="anticon anticon-mail"
|
aria-disabled="true"
|
||||||
/>
|
aria-selected="false"
|
||||||
Navigation One
|
class="ant-menu-item-disabled ant-menu-item"
|
||||||
</li>
|
role="menuitem"
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-disabled="true"
|
class="anticon anticon-appstore"
|
||||||
aria-selected="false"
|
/>
|
||||||
class="ant-menu-item-disabled ant-menu-item"
|
Navigation Two
|
||||||
role="menuitem"
|
</li>
|
||||||
>
|
|
||||||
<i
|
|
||||||
class="anticon anticon-appstore"
|
|
||||||
/>
|
|
||||||
Navigation Two
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<li
|
<li
|
||||||
class="ant-menu-submenu-horizontal ant-menu-submenu"
|
class="ant-menu-submenu-horizontal ant-menu-submenu"
|
||||||
>
|
>
|
||||||
@ -53,23 +45,19 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = `
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
>
|
>
|
||||||
<li
|
<a
|
||||||
aria-selected="false"
|
href="https://ant.design"
|
||||||
class="ant-menu-item"
|
rel="noopener noreferrer"
|
||||||
role="menuitem"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<a
|
Navigation Four - Link
|
||||||
href="https://ant.design"
|
</a>
|
||||||
rel="noopener noreferrer"
|
</li>
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
Navigation Four - Link
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@ -117,30 +105,22 @@ exports[`renders ./components/menu/demo/inline.md correctly 1`] = `
|
|||||||
<ul
|
<ul
|
||||||
class="ant-menu-item-group-list"
|
class="ant-menu-item-group-list"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="true"
|
||||||
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:48px;"
|
||||||
>
|
>
|
||||||
<li
|
Option 1
|
||||||
aria-selected="true"
|
</li>
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 1
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 2
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
style="padding-left:48px;"
|
|
||||||
>
|
|
||||||
Option 2
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
@ -154,30 +134,22 @@ exports[`renders ./components/menu/demo/inline.md correctly 1`] = `
|
|||||||
<ul
|
<ul
|
||||||
class="ant-menu-item-group-list"
|
class="ant-menu-item-group-list"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:48px;"
|
||||||
>
|
>
|
||||||
<li
|
Option 3
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 3
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 4
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
style="padding-left:48px;"
|
|
||||||
>
|
|
||||||
Option 4
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -244,57 +216,45 @@ exports[`renders ./components/menu/demo/inline-collapsed.md correctly 1`] = `
|
|||||||
role="menu"
|
role="menu"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="true"
|
||||||
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:24px;"
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="true"
|
class="anticon anticon-pie-chart"
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span>
|
||||||
style="padding-left:24px;"
|
Option 1
|
||||||
>
|
</span>
|
||||||
<i
|
</li>
|
||||||
class="anticon anticon-pie-chart"
|
<li
|
||||||
/>
|
aria-selected="false"
|
||||||
<span>
|
class="ant-menu-item"
|
||||||
Option 1
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-desktop"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span>
|
||||||
style="padding-left:24px;"
|
Option 2
|
||||||
>
|
</span>
|
||||||
<i
|
</li>
|
||||||
class="anticon anticon-desktop"
|
<li
|
||||||
/>
|
aria-selected="false"
|
||||||
<span>
|
class="ant-menu-item"
|
||||||
Option 2
|
role="menuitem"
|
||||||
</span>
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-inbox"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
<span>
|
||||||
style="padding-left:24px;"
|
Option 3
|
||||||
>
|
</span>
|
||||||
<i
|
</li>
|
||||||
class="anticon anticon-inbox"
|
|
||||||
/>
|
|
||||||
<span>
|
|
||||||
Option 3
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<li
|
<li
|
||||||
class="ant-menu-submenu-inline ant-menu-submenu-open ant-menu-submenu"
|
class="ant-menu-submenu-inline ant-menu-submenu-open ant-menu-submenu"
|
||||||
>
|
>
|
||||||
@ -320,54 +280,38 @@ exports[`renders ./components/menu/demo/inline-collapsed.md correctly 1`] = `
|
|||||||
id="sub1$Menu"
|
id="sub1$Menu"
|
||||||
role="menu"
|
role="menu"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:48px;"
|
||||||
>
|
>
|
||||||
<li
|
Option 5
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 5
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 6
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 6
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 7
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 7
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 8
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
style="padding-left:48px;"
|
|
||||||
>
|
|
||||||
Option 8
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
@ -427,54 +371,38 @@ exports[`renders ./components/menu/demo/sider-current.md correctly 1`] = `
|
|||||||
id="sub1$Menu"
|
id="sub1$Menu"
|
||||||
role="menu"
|
role="menu"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:48px;"
|
||||||
>
|
>
|
||||||
<li
|
Option 1
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 1
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 2
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 2
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 3
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 3
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 4
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
style="padding-left:48px;"
|
|
||||||
>
|
|
||||||
Option 4
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
@ -553,36 +481,28 @@ exports[`renders ./components/menu/demo/switch-mode.md correctly 1`] = `
|
|||||||
style="width:240px;"
|
style="width:240px;"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="true"
|
||||||
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:24px;"
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="true"
|
class="anticon anticon-mail"
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
Navigation One
|
||||||
style="padding-left:24px;"
|
</li>
|
||||||
>
|
<li
|
||||||
<i
|
aria-selected="false"
|
||||||
class="anticon anticon-mail"
|
class="ant-menu-item"
|
||||||
/>
|
role="menuitem"
|
||||||
Navigation One
|
style="padding-left:24px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<i
|
||||||
aria-selected="false"
|
class="anticon anticon-calendar"
|
||||||
class="ant-menu-item"
|
/>
|
||||||
role="menuitem"
|
Navigation Two
|
||||||
style="padding-left:24px;"
|
</li>
|
||||||
>
|
|
||||||
<i
|
|
||||||
class="anticon anticon-calendar"
|
|
||||||
/>
|
|
||||||
Navigation Two
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<li
|
<li
|
||||||
class="ant-menu-submenu-inline ant-menu-submenu-open ant-menu-submenu"
|
class="ant-menu-submenu-inline ant-menu-submenu-open ant-menu-submenu"
|
||||||
>
|
>
|
||||||
@ -608,30 +528,22 @@ exports[`renders ./components/menu/demo/switch-mode.md correctly 1`] = `
|
|||||||
id="sub1$Menu"
|
id="sub1$Menu"
|
||||||
role="menu"
|
role="menu"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:48px;"
|
||||||
>
|
>
|
||||||
<li
|
Option 3
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 3
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 4
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
style="padding-left:48px;"
|
|
||||||
>
|
|
||||||
Option 4
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<li
|
<li
|
||||||
class="ant-menu-submenu-inline ant-menu-submenu"
|
class="ant-menu-submenu-inline ant-menu-submenu"
|
||||||
>
|
>
|
||||||
@ -718,54 +630,38 @@ exports[`renders ./components/menu/demo/theme.md correctly 1`] = `
|
|||||||
id="sub1$Menu"
|
id="sub1$Menu"
|
||||||
role="menu"
|
role="menu"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="true"
|
||||||
|
class="ant-menu-item-selected ant-menu-item"
|
||||||
|
role="menuitem"
|
||||||
|
style="padding-left:48px;"
|
||||||
>
|
>
|
||||||
<li
|
Option 1
|
||||||
aria-selected="true"
|
</li>
|
||||||
class="ant-menu-item-selected ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 1
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 2
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 2
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 3
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
<li
|
||||||
role="menuitem"
|
aria-selected="false"
|
||||||
style="padding-left:48px;"
|
class="ant-menu-item"
|
||||||
>
|
role="menuitem"
|
||||||
Option 3
|
style="padding-left:48px;"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
Option 4
|
||||||
aria-selected="false"
|
</li>
|
||||||
class="ant-menu-item"
|
|
||||||
role="menuitem"
|
|
||||||
style="padding-left:48px;"
|
|
||||||
>
|
|
||||||
Option 4
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
|
@ -47,40 +47,36 @@ exports[`renders ./components/notification/demo/duration.md correctly 1`] = `
|
|||||||
exports[`renders ./components/notification/demo/placement.md correctly 1`] = `
|
exports[`renders ./components/notification/demo/placement.md correctly 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
|
style="width:120px;margin-right:10px;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:120px;margin-right:10px;"
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="topRight"
|
||||||
>
|
>
|
||||||
<div
|
topRight
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="topRight"
|
|
||||||
>
|
|
||||||
topRight
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
|
@ -165,39 +165,35 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
|
|||||||
class="ant-pagination-options"
|
class="ant-pagination-options"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-pagination-options-size-changer ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-pagination-options-size-changer ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="10 条/页"
|
||||||
>
|
>
|
||||||
<div
|
10 条/页
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="10 条/页"
|
|
||||||
>
|
|
||||||
10 条/页
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
@ -618,39 +614,35 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
|
|||||||
class="ant-pagination-options"
|
class="ant-pagination-options"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select-sm ant-pagination-options-size-changer ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-sm ant-pagination-options-size-changer ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="10 条/页"
|
||||||
>
|
>
|
||||||
<div
|
10 条/页
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="10 条/页"
|
|
||||||
>
|
|
||||||
10 条/页
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
@ -1,28 +1,20 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`renders ./components/popconfirm/demo/basic.md correctly 1`] = `
|
exports[`renders ./components/popconfirm/demo/basic.md correctly 1`] = `
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
Delete
|
||||||
href="#"
|
</a>
|
||||||
>
|
|
||||||
Delete
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/popconfirm/demo/dynamic-trigger.md correctly 1`] = `
|
exports[`renders ./components/popconfirm/demo/dynamic-trigger.md correctly 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
Delete a task
|
||||||
href="#"
|
</a>
|
||||||
>
|
|
||||||
Delete a task
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
Whether directly execute:
|
Whether directly execute:
|
||||||
@ -38,15 +30,11 @@ exports[`renders ./components/popconfirm/demo/dynamic-trigger.md correctly 1`] =
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/popconfirm/demo/locale.md correctly 1`] = `
|
exports[`renders ./components/popconfirm/demo/locale.md correctly 1`] = `
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
Delete
|
||||||
href="#"
|
</a>
|
||||||
>
|
|
||||||
Delete
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/popconfirm/demo/placement.md correctly 1`] = `
|
exports[`renders ./components/popconfirm/demo/placement.md correctly 1`] = `
|
||||||
@ -56,162 +44,114 @@ exports[`renders ./components/popconfirm/demo/placement.md correctly 1`] = `
|
|||||||
<div
|
<div
|
||||||
style="margin-left:70px;white-space:nowrap;"
|
style="margin-left:70px;white-space:nowrap;"
|
||||||
>
|
>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
TL
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
TL
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Top
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Top
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
TR
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
TR
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="width:70px;float:left;"
|
style="width:70px;float:left;"
|
||||||
>
|
>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
LT
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
LT
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Left
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Left
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
LB
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
LB
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="width:70px;margin-left:304px;"
|
style="width:70px;margin-left:304px;"
|
||||||
>
|
>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
RT
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
RT
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Right
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Right
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
RB
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
RB
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="margin-left:70px;clear:both;white-space:nowrap;"
|
style="margin-left:70px;clear:both;white-space:nowrap;"
|
||||||
>
|
>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
BL
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
BL
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Bottom
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Bottom
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
BR
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
BR
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
@ -2,61 +2,45 @@
|
|||||||
|
|
||||||
exports[`renders ./components/popover/demo/arrow-point-at-center.md correctly 1`] = `
|
exports[`renders ./components/popover/demo/arrow-point-at-center.md correctly 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Align edge / 边缘对齐
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Align edge / 边缘对齐
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Arrow points to center / 箭头指向中心
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
Arrow points to center / 箭头指向中心
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/popover/demo/basic.md correctly 1`] = `
|
exports[`renders ./components/popover/demo/basic.md correctly 1`] = `
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn ant-btn-primary"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn ant-btn-primary"
|
Hover me
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
Hover me
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/popover/demo/control.md correctly 1`] = `
|
exports[`renders ./components/popover/demo/control.md correctly 1`] = `
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn ant-btn-primary"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn ant-btn-primary"
|
Click me
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
Click me
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/popover/demo/placement.md correctly 1`] = `
|
exports[`renders ./components/popover/demo/placement.md correctly 1`] = `
|
||||||
@ -66,203 +50,143 @@ exports[`renders ./components/popover/demo/placement.md correctly 1`] = `
|
|||||||
<div
|
<div
|
||||||
style="margin-left:70px;white-space:nowrap;"
|
style="margin-left:70px;white-space:nowrap;"
|
||||||
>
|
>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
TL
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
TL
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Top
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Top
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
TR
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
TR
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="width:70px;float:left;"
|
style="width:70px;float:left;"
|
||||||
>
|
>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
LT
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
LT
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Left
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Left
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
LB
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
LB
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="width:70px;margin-left:304px;"
|
style="width:70px;margin-left:304px;"
|
||||||
>
|
>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
RT
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
RT
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Right
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Right
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
RB
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
RB
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="margin-left:70px;clear:both;white-space:nowrap;"
|
style="margin-left:70px;clear:both;white-space:nowrap;"
|
||||||
>
|
>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
BL
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
BL
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Bottom
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Bottom
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
BR
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
BR
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/popover/demo/triggerType.md correctly 1`] = `
|
exports[`renders ./components/popover/demo/triggerType.md correctly 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Hover me
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Hover me
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Focus me
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Focus me
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Click me
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
Click me
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -16,18 +16,14 @@ exports[`renders ./components/slider/demo/basic.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="30"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="30"
|
style="left:30%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:30%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -46,31 +42,23 @@ exports[`renders ./components/slider/demo/basic.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="20"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle ant-slider-handle-1"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="20"
|
style="left:20%;"
|
||||||
class="ant-slider-handle ant-slider-handle-1"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:20%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="50"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle ant-slider-handle-2"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="50"
|
style="left:50%;"
|
||||||
class="ant-slider-handle ant-slider-handle-2"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:50%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -103,18 +91,14 @@ exports[`renders ./components/slider/demo/event.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="30"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="30"
|
style="left:30%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:30%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -133,31 +117,23 @@ exports[`renders ./components/slider/demo/event.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="20"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle ant-slider-handle-1"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="20"
|
style="left:20%;"
|
||||||
class="ant-slider-handle ant-slider-handle-1"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:20%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="50"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle ant-slider-handle-2"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="50"
|
style="left:50%;"
|
||||||
class="ant-slider-handle ant-slider-handle-2"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:50%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -186,18 +162,14 @@ exports[`renders ./components/slider/demo/icon-slider.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="20"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="0"
|
||||||
aria-valuemax="20"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="0"
|
style="left:0%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:0%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -230,18 +202,14 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="20"
|
||||||
<div
|
aria-valuemin="1"
|
||||||
aria-disabled="false"
|
aria-valuenow="1"
|
||||||
aria-valuemax="20"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="1"
|
role="slider"
|
||||||
aria-valuenow="1"
|
style="left:0%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:0%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -321,18 +289,14 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="1"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="0"
|
||||||
aria-valuemax="1"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="0"
|
style="left:0%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:0%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -431,18 +395,14 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="37"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="37"
|
style="left:37%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:37%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
>
|
>
|
||||||
@ -505,31 +465,23 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="26"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle ant-slider-handle-1"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="26"
|
style="left:26%;"
|
||||||
class="ant-slider-handle ant-slider-handle-1"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:26%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="37"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle ant-slider-handle-2"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="37"
|
style="left:37%;"
|
||||||
class="ant-slider-handle ant-slider-handle-2"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:37%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
>
|
>
|
||||||
@ -595,18 +547,14 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="37"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="37"
|
style="left:37%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:37%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
>
|
>
|
||||||
@ -672,18 +620,14 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="37"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="37"
|
style="left:37%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:37%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
>
|
>
|
||||||
@ -749,18 +693,14 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="37"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="37"
|
style="left:37%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:37%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
>
|
>
|
||||||
@ -811,18 +751,14 @@ exports[`renders ./components/slider/demo/tip-formatter.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="0"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="0"
|
style="left:0%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:0%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -841,18 +777,14 @@ exports[`renders ./components/slider/demo/tip-formatter.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="0"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="0"
|
style="left:0%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="left:0%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -881,18 +813,14 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="30"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="30"
|
style="bottom:30%;"
|
||||||
class="ant-slider-handle"
|
/>
|
||||||
role="slider"
|
|
||||||
style="bottom:30%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -915,31 +843,23 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
|
|||||||
class="ant-slider-step"
|
class="ant-slider-step"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="20"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle ant-slider-handle-1"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="20"
|
style="bottom:20%;"
|
||||||
class="ant-slider-handle ant-slider-handle-1"
|
/>
|
||||||
role="slider"
|
|
||||||
style="bottom:20%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="50"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle ant-slider-handle-2"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="50"
|
style="bottom:50%;"
|
||||||
class="ant-slider-handle ant-slider-handle-2"
|
/>
|
||||||
role="slider"
|
|
||||||
style="bottom:50%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
/>
|
/>
|
||||||
@ -979,31 +899,23 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="26"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle ant-slider-handle-1"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="26"
|
style="bottom:26%;"
|
||||||
class="ant-slider-handle ant-slider-handle-1"
|
/>
|
||||||
role="slider"
|
|
||||||
style="bottom:26%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
aria-disabled="false"
|
||||||
>
|
aria-valuemax="100"
|
||||||
<div
|
aria-valuemin="0"
|
||||||
aria-disabled="false"
|
aria-valuenow="37"
|
||||||
aria-valuemax="100"
|
class="ant-slider-handle ant-slider-handle-2"
|
||||||
aria-valuemin="0"
|
role="slider"
|
||||||
aria-valuenow="37"
|
style="bottom:37%;"
|
||||||
class="ant-slider-handle ant-slider-handle-2"
|
/>
|
||||||
role="slider"
|
|
||||||
style="bottom:37%;"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
class="ant-slider-mark"
|
class="ant-slider-mark"
|
||||||
>
|
>
|
||||||
|
@ -26,13 +26,9 @@ exports[`renders ./components/steps/demo/customized-progress-dot.md correctly 1`
|
|||||||
<span
|
<span
|
||||||
class="ant-steps-icon"
|
class="ant-steps-icon"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-steps-icon-dot"
|
||||||
>
|
/>
|
||||||
<span
|
|
||||||
class="ant-steps-icon-dot"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -74,13 +70,9 @@ exports[`renders ./components/steps/demo/customized-progress-dot.md correctly 1`
|
|||||||
<span
|
<span
|
||||||
class="ant-steps-icon"
|
class="ant-steps-icon"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-steps-icon-dot"
|
||||||
>
|
/>
|
||||||
<span
|
|
||||||
class="ant-steps-icon-dot"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -122,13 +114,9 @@ exports[`renders ./components/steps/demo/customized-progress-dot.md correctly 1`
|
|||||||
<span
|
<span
|
||||||
class="ant-steps-icon"
|
class="ant-steps-icon"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-steps-icon-dot"
|
||||||
>
|
/>
|
||||||
<span
|
|
||||||
class="ant-steps-icon-dot"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -169,13 +157,9 @@ exports[`renders ./components/steps/demo/customized-progress-dot.md correctly 1`
|
|||||||
<span
|
<span
|
||||||
class="ant-steps-icon"
|
class="ant-steps-icon"
|
||||||
>
|
>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-steps-icon-dot"
|
||||||
>
|
/>
|
||||||
<span
|
|
||||||
class="ant-steps-icon-dot"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -110,7 +110,7 @@ describe('Table.filter', () => {
|
|||||||
}],
|
}],
|
||||||
}));
|
}));
|
||||||
|
|
||||||
wrapper.find('Icon').first().simulate('click');
|
wrapper.find('Dropdown').first().simulate('click');
|
||||||
|
|
||||||
expect(handleChange).toBeCalledWith(true);
|
expect(handleChange).toBeCalledWith(true);
|
||||||
});
|
});
|
||||||
|
@ -50,14 +50,10 @@ exports[`Table.filter renders filter correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Name
|
Name
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-filter ant-dropdown-trigger"
|
||||||
>
|
title="筛选"
|
||||||
<i
|
/>
|
||||||
class="anticon anticon-filter ant-dropdown-trigger"
|
|
||||||
title="筛选"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -11,32 +11,24 @@ exports[`Table.rowSelection render with default selection correctly 1`] = `
|
|||||||
role="menu"
|
role="menu"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<li
|
||||||
id="TriggerContainer"
|
aria-selected="false"
|
||||||
|
class="ant-dropdown-menu-item"
|
||||||
|
role="menuitem"
|
||||||
>
|
>
|
||||||
<li
|
<div>
|
||||||
aria-selected="false"
|
全选当页
|
||||||
class="ant-dropdown-menu-item"
|
</div>
|
||||||
role="menuitem"
|
</li>
|
||||||
>
|
<li
|
||||||
<div>
|
aria-selected="false"
|
||||||
全选当页
|
class="ant-dropdown-menu-item"
|
||||||
</div>
|
role="menuitem"
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<li
|
<div>
|
||||||
aria-selected="false"
|
反选当页
|
||||||
class="ant-dropdown-menu-item"
|
</div>
|
||||||
role="menuitem"
|
</li>
|
||||||
>
|
|
||||||
<div>
|
|
||||||
反选当页
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -67,14 +67,10 @@ exports[`renders ./components/table/demo/ajax.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Gender
|
Gender
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-filter ant-dropdown-trigger"
|
||||||
>
|
title="筛选"
|
||||||
<i
|
/>
|
||||||
class="anticon anticon-filter ant-dropdown-trigger"
|
|
||||||
title="筛选"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
@ -892,15 +888,11 @@ exports[`renders ./components/table/demo/custom-filter-panel.md correctly 1`] =
|
|||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Name
|
Name
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-smile-o ant-table-filter-icon ant-dropdown-trigger"
|
||||||
>
|
style="color:#aaa;"
|
||||||
<i
|
title="筛选"
|
||||||
class="anticon anticon-smile-o ant-table-filter-icon ant-dropdown-trigger"
|
/>
|
||||||
style="color:#aaa;"
|
|
||||||
title="筛选"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
@ -915,14 +907,10 @@ exports[`renders ./components/table/demo/custom-filter-panel.md correctly 1`] =
|
|||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Address
|
Address
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-filter ant-dropdown-trigger"
|
||||||
>
|
title="筛选"
|
||||||
<i
|
/>
|
||||||
class="anticon anticon-filter ant-dropdown-trigger"
|
|
||||||
title="筛选"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -2524,15 +2512,11 @@ exports[`renders ./components/table/demo/edit-cell.md correctly 1`] = `
|
|||||||
<td
|
<td
|
||||||
class=""
|
class=""
|
||||||
>
|
>
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
Delete
|
||||||
href="#"
|
</a>
|
||||||
>
|
|
||||||
Delete
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
@ -2571,15 +2555,11 @@ exports[`renders ./components/table/demo/edit-cell.md correctly 1`] = `
|
|||||||
<td
|
<td
|
||||||
class=""
|
class=""
|
||||||
>
|
>
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
Delete
|
||||||
href="#"
|
</a>
|
||||||
>
|
|
||||||
Delete
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -6760,14 +6740,10 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Name
|
Name
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-filter ant-dropdown-trigger"
|
||||||
>
|
title="筛选"
|
||||||
<i
|
/>
|
||||||
class="anticon anticon-filter ant-dropdown-trigger"
|
|
||||||
title="筛选"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
@ -7427,14 +7403,10 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Name
|
Name
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-filter ant-dropdown-trigger"
|
||||||
>
|
title="筛选"
|
||||||
<i
|
/>
|
||||||
class="anticon anticon-filter ant-dropdown-trigger"
|
|
||||||
title="筛选"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -7888,14 +7860,10 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-filter ant-dropdown-trigger"
|
||||||
>
|
title="筛选"
|
||||||
<i
|
/>
|
||||||
class="anticon anticon-filter ant-dropdown-trigger"
|
|
||||||
title="筛选"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
@ -7950,14 +7918,10 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-filter ant-dropdown-trigger"
|
||||||
>
|
title="筛选"
|
||||||
<i
|
/>
|
||||||
class="anticon anticon-filter ant-dropdown-trigger"
|
|
||||||
title="筛选"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -8784,14 +8748,10 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-filter ant-dropdown-trigger"
|
||||||
>
|
title="筛选"
|
||||||
<i
|
/>
|
||||||
class="anticon anticon-filter ant-dropdown-trigger"
|
|
||||||
title="筛选"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
@ -8846,14 +8806,10 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = `
|
|||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<i
|
||||||
id="TriggerContainer"
|
class="anticon anticon-filter ant-dropdown-trigger"
|
||||||
>
|
title="筛选"
|
||||||
<i
|
/>
|
||||||
class="anticon anticon-filter ant-dropdown-trigger"
|
|
||||||
title="筛选"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -9994,15 +9950,11 @@ exports[`renders ./components/table/demo/row-selection-custom.md correctly 1`] =
|
|||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-table-selection-down ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
<div
|
<i
|
||||||
class="ant-table-selection-down ant-dropdown-trigger"
|
class="anticon anticon-down"
|
||||||
>
|
/>
|
||||||
<i
|
|
||||||
class="anticon anticon-down"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
|
@ -794,39 +794,35 @@ exports[`renders ./components/tabs/demo/position.md correctly 1`] = `
|
|||||||
>
|
>
|
||||||
Tab position:
|
Tab position:
|
||||||
<div
|
<div
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-expanded="false"
|
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection-selected-value"
|
||||||
|
style="display:block;opacity:1;"
|
||||||
|
title="top"
|
||||||
>
|
>
|
||||||
<div
|
top
|
||||||
class="ant-select-selection-selected-value"
|
|
||||||
style="display:block;opacity:1;"
|
|
||||||
title="top"
|
|
||||||
>
|
|
||||||
top
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
|
||||||
unselectable="unselectable"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
unselectable="unselectable"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,156 +2,188 @@
|
|||||||
|
|
||||||
exports[`renders ./components/time-picker/demo/12hours.md correctly 1`] = `
|
exports[`renders ./components/time-picker/demo/12hours.md correctly 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-time-picker "
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-time-picker "
|
class="ant-time-picker-icon"
|
||||||
>
|
/>
|
||||||
<input
|
</span>
|
||||||
class="ant-time-picker-input"
|
<span
|
||||||
placeholder="请选择时间"
|
class="ant-time-picker "
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-time-picker "
|
class="ant-time-picker-icon"
|
||||||
>
|
/>
|
||||||
<input
|
</span>
|
||||||
class="ant-time-picker-input"
|
<span
|
||||||
placeholder="请选择时间"
|
class="ant-time-picker "
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-time-picker "
|
class="ant-time-picker-icon"
|
||||||
>
|
/>
|
||||||
<input
|
</span>
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="请选择时间"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/time-picker/demo/addon.md correctly 1`] = `
|
exports[`renders ./components/time-picker/demo/addon.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-time-picker "
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-time-picker "
|
class="ant-time-picker-icon"
|
||||||
>
|
/>
|
||||||
<input
|
</span>
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="请选择时间"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/time-picker/demo/basic.md correctly 1`] = `
|
exports[`renders ./components/time-picker/demo/basic.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-time-picker "
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-time-picker "
|
class="ant-time-picker-icon"
|
||||||
>
|
/>
|
||||||
<input
|
</span>
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="请选择时间"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/time-picker/demo/disable-options.md correctly 1`] = `
|
exports[`renders ./components/time-picker/demo/disable-options.md correctly 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker "
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="Just Disabled"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker "
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="Hide Directly"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`renders ./components/time-picker/demo/disabled.md correctly 1`] = `
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<span
|
<span
|
||||||
class="ant-time-picker "
|
class="ant-time-picker "
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
class="ant-time-picker-input"
|
class="ant-time-picker-input"
|
||||||
disabled=""
|
placeholder="Just Disabled"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker "
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="Hide Directly"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`renders ./components/time-picker/demo/disabled.md correctly 1`] = `
|
||||||
|
<span
|
||||||
|
class="ant-time-picker "
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
disabled=""
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value="12:08:23"
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`renders ./components/time-picker/demo/hide-column.md correctly 1`] = `
|
||||||
|
<span
|
||||||
|
class="ant-time-picker "
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value="12:08"
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`renders ./components/time-picker/demo/size.md correctly 1`] = `
|
||||||
|
<div>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker ant-time-picker-large"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value="12:08:23"
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker "
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value="12:08:23"
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker-icon"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
|
class="ant-time-picker ant-time-picker-small"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
placeholder="请选择时间"
|
placeholder="请选择时间"
|
||||||
readonly=""
|
readonly=""
|
||||||
type="text"
|
type="text"
|
||||||
@ -164,103 +196,19 @@ exports[`renders ./components/time-picker/demo/disabled.md correctly 1`] = `
|
|||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/time-picker/demo/hide-column.md correctly 1`] = `
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker "
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="请选择时间"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value="12:08"
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`renders ./components/time-picker/demo/size.md correctly 1`] = `
|
|
||||||
<div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker ant-time-picker-large"
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="请选择时间"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value="12:08:23"
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker "
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="请选择时间"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value="12:08:23"
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker ant-time-picker-small"
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="请选择时间"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value="12:08:23"
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`renders ./components/time-picker/demo/value.md correctly 1`] = `
|
exports[`renders ./components/time-picker/demo/value.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-time-picker "
|
||||||
>
|
>
|
||||||
|
<input
|
||||||
|
class="ant-time-picker-input"
|
||||||
|
placeholder="请选择时间"
|
||||||
|
readonly=""
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-time-picker "
|
class="ant-time-picker-icon"
|
||||||
>
|
/>
|
||||||
<input
|
</span>
|
||||||
class="ant-time-picker-input"
|
|
||||||
placeholder="请选择时间"
|
|
||||||
readonly=""
|
|
||||||
type="text"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-time-picker-icon"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
@ -2,30 +2,22 @@
|
|||||||
|
|
||||||
exports[`renders ./components/tooltip/demo/arrow-point-at-center.md correctly 1`] = `
|
exports[`renders ./components/tooltip/demo/arrow-point-at-center.md correctly 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Align edge / 边缘对齐
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
<button
|
||||||
Align edge / 边缘对齐
|
class="ant-btn"
|
||||||
</span>
|
type="button"
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Arrow points to center / 箭头指向中心
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
Arrow points to center / 箭头指向中心
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@ -33,42 +25,30 @@ exports[`renders ./components/tooltip/demo/auto-adjust-overflow.md correctly 1`]
|
|||||||
<div
|
<div
|
||||||
style="overflow:hidden;position:relative;padding:24px;border:1px solid #e9e9e9;"
|
style="overflow:hidden;position:relative;padding:24px;border:1px solid #e9e9e9;"
|
||||||
>
|
>
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Adjust automatically / 自动调整
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
Adjust automatically / 自动调整
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<br />
|
<br />
|
||||||
<div
|
<button
|
||||||
id="TriggerContainer"
|
class="ant-btn"
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
<button
|
<span>
|
||||||
class="ant-btn"
|
Ingore / 不处理
|
||||||
type="button"
|
</span>
|
||||||
>
|
</button>
|
||||||
<span>
|
|
||||||
Ingore / 不处理
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/tooltip/demo/basic.md correctly 1`] = `
|
exports[`renders ./components/tooltip/demo/basic.md correctly 1`] = `
|
||||||
<div
|
<span>
|
||||||
id="TriggerContainer"
|
Tooltip will show when mouse enter.
|
||||||
>
|
</span>
|
||||||
<span>
|
|
||||||
Tooltip will show when mouse enter.
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/tooltip/demo/placement.md correctly 1`] = `
|
exports[`renders ./components/tooltip/demo/placement.md correctly 1`] = `
|
||||||
@ -76,126 +56,78 @@ exports[`renders ./components/tooltip/demo/placement.md correctly 1`] = `
|
|||||||
<div
|
<div
|
||||||
style="margin-left:60px;"
|
style="margin-left:60px;"
|
||||||
>
|
>
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
TL
|
||||||
href="#"
|
</a>
|
||||||
>
|
<a
|
||||||
TL
|
href="#"
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<a
|
Top
|
||||||
href="#"
|
</a>
|
||||||
>
|
<a
|
||||||
Top
|
href="#"
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<a
|
TR
|
||||||
href="#"
|
</a>
|
||||||
>
|
|
||||||
TR
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="width:60px;float:left;"
|
style="width:60px;float:left;"
|
||||||
>
|
>
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
LT
|
||||||
href="#"
|
</a>
|
||||||
>
|
<a
|
||||||
LT
|
href="#"
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<a
|
Left
|
||||||
href="#"
|
</a>
|
||||||
>
|
<a
|
||||||
Left
|
href="#"
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<a
|
LB
|
||||||
href="#"
|
</a>
|
||||||
>
|
|
||||||
LB
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="width:60px;margin-left:270px;"
|
style="width:60px;margin-left:270px;"
|
||||||
>
|
>
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
RT
|
||||||
href="#"
|
</a>
|
||||||
>
|
<a
|
||||||
RT
|
href="#"
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<a
|
Right
|
||||||
href="#"
|
</a>
|
||||||
>
|
<a
|
||||||
Right
|
href="#"
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<a
|
RB
|
||||||
href="#"
|
</a>
|
||||||
>
|
|
||||||
RB
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="margin-left:60px;clear:both;"
|
style="margin-left:60px;clear:both;"
|
||||||
>
|
>
|
||||||
<div
|
<a
|
||||||
id="TriggerContainer"
|
href="#"
|
||||||
>
|
>
|
||||||
<a
|
BL
|
||||||
href="#"
|
</a>
|
||||||
>
|
<a
|
||||||
BL
|
href="#"
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<a
|
Bottom
|
||||||
href="#"
|
</a>
|
||||||
>
|
<a
|
||||||
Bottom
|
href="#"
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
>
|
||||||
<a
|
BR
|
||||||
href="#"
|
</a>
|
||||||
>
|
|
||||||
BR
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -14,12 +14,12 @@ describe('Tooltip', () => {
|
|||||||
mouseLeaveDelay={0}
|
mouseLeaveDelay={0}
|
||||||
onVisibleChange={onVisibleChange}
|
onVisibleChange={onVisibleChange}
|
||||||
>
|
>
|
||||||
<div className="box">Hello world!</div>
|
<div>Hello world!</div>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
);
|
);
|
||||||
|
|
||||||
// `title` is empty.
|
// `title` is empty.
|
||||||
const div = wrapper.find('.box');
|
const div = wrapper.find('div').at(0);
|
||||||
div.simulate('mouseenter');
|
div.simulate('mouseenter');
|
||||||
expect(onVisibleChange).not.toHaveBeenCalled();
|
expect(onVisibleChange).not.toHaveBeenCalled();
|
||||||
expect(wrapper.ref('tooltip').prop('visible')).toBe(false);
|
expect(wrapper.ref('tooltip').prop('visible')).toBe(false);
|
||||||
@ -30,23 +30,23 @@ describe('Tooltip', () => {
|
|||||||
|
|
||||||
// update `title` value.
|
// update `title` value.
|
||||||
wrapper.setProps({ title: 'Have a nice day!' });
|
wrapper.setProps({ title: 'Have a nice day!' });
|
||||||
div.simulate('mouseenter');
|
wrapper.simulate('mouseenter');
|
||||||
expect(onVisibleChange).toHaveBeenLastCalledWith(true);
|
expect(onVisibleChange).toHaveBeenLastCalledWith(true);
|
||||||
expect(wrapper.ref('tooltip').prop('visible')).toBe(true);
|
expect(wrapper.ref('tooltip').prop('visible')).toBe(true);
|
||||||
|
|
||||||
div.simulate('mouseleave');
|
wrapper.simulate('mouseleave');
|
||||||
expect(onVisibleChange).toHaveBeenLastCalledWith(false);
|
expect(onVisibleChange).toHaveBeenLastCalledWith(false);
|
||||||
expect(wrapper.ref('tooltip').prop('visible')).toBe(false);
|
expect(wrapper.ref('tooltip').prop('visible')).toBe(false);
|
||||||
|
|
||||||
// add `visible` props.
|
// add `visible` props.
|
||||||
wrapper.setProps({ visible: false });
|
wrapper.setProps({ visible: false });
|
||||||
div.simulate('mouseenter');
|
wrapper.simulate('mouseenter');
|
||||||
expect(onVisibleChange).toHaveBeenLastCalledWith(true);
|
expect(onVisibleChange).toHaveBeenLastCalledWith(true);
|
||||||
const lastCount = onVisibleChange.mock.calls.length;
|
const lastCount = onVisibleChange.mock.calls.length;
|
||||||
expect(wrapper.ref('tooltip').prop('visible')).toBe(false);
|
expect(wrapper.ref('tooltip').prop('visible')).toBe(false);
|
||||||
|
|
||||||
// always trigger onVisibleChange
|
// always trigger onVisibleChange
|
||||||
div.simulate('mouseleave');
|
wrapper.simulate('mouseleave');
|
||||||
expect(onVisibleChange.mock.calls.length).toBe(lastCount); // no change with lastCount
|
expect(onVisibleChange.mock.calls.length).toBe(lastCount); // no change with lastCount
|
||||||
expect(wrapper.ref('tooltip').prop('visible')).toBe(false);
|
expect(wrapper.ref('tooltip').prop('visible')).toBe(false);
|
||||||
});
|
});
|
||||||
@ -88,7 +88,7 @@ describe('Tooltip', () => {
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(wrapper).toMatchSnapshot();
|
expect(wrapper.getDOMNode().tagName).toBe('SPAN');
|
||||||
const button = wrapper.find('span').at(0);
|
const button = wrapper.find('span').at(0);
|
||||||
button.simulate('mouseenter');
|
button.simulate('mouseenter');
|
||||||
expect(onVisibleChange).toBeCalledWith(true);
|
expect(onVisibleChange).toBeCalledWith(true);
|
||||||
@ -110,8 +110,8 @@ describe('Tooltip', () => {
|
|||||||
<Button disabled style={{ display: 'block' }}>Hello world!</Button>
|
<Button disabled style={{ display: 'block' }}>Hello world!</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
);
|
);
|
||||||
expect(wrapper1).toMatchSnapshot();
|
expect(wrapper1.getDOMNode().style.display).toBe('inline-block');
|
||||||
expect(wrapper2).toMatchSnapshot();
|
expect(wrapper2.getDOMNode().style.display).toBe('block');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should not wrap span when trigger is not hover', () => {
|
it('should not wrap span when trigger is not hover', () => {
|
||||||
@ -130,44 +130,42 @@ describe('Tooltip', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should works for arrowPointAtCenter', () => {
|
it('should works for arrowPointAtCenter', () => {
|
||||||
jest.dontMock('rc-trigger', () => {
|
const arrowWidth = 5;
|
||||||
const arrowWidth = 5;
|
const horizontalArrowShift = 16;
|
||||||
const horizontalArrowShift = 16;
|
const triggerWidth = 200;
|
||||||
const triggerWidth = 200;
|
|
||||||
|
|
||||||
const wrapper = mount(
|
const wrapper = mount(
|
||||||
<Tooltip
|
<Tooltip
|
||||||
title="xxxxx"
|
title="xxxxx"
|
||||||
trigger="click"
|
trigger="click"
|
||||||
mouseEnterDelay={0}
|
mouseEnterDelay={0}
|
||||||
mouseLeaveDelay={0}
|
mouseLeaveDelay={0}
|
||||||
placement="bottomLeft"
|
placement="bottomLeft"
|
||||||
>
|
>
|
||||||
<button style={{ width: triggerWidth }}>
|
<button style={{ width: triggerWidth }}>
|
||||||
Hello world!
|
Hello world!
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
);
|
);
|
||||||
wrapper.find('button').at(0).simulate('click');
|
wrapper.find('button').at(0).simulate('click');
|
||||||
const popupLeftDefault = parseInt(wrapper.node.getPopupDomNode().style.left, 10);
|
const popupLeftDefault = parseInt(wrapper.node.getPopupDomNode().style.left, 10);
|
||||||
|
|
||||||
const wrapper2 = mount(
|
const wrapper2 = mount(
|
||||||
<Tooltip
|
<Tooltip
|
||||||
title="xxxxx"
|
title="xxxxx"
|
||||||
trigger="click"
|
trigger="click"
|
||||||
mouseEnterDelay={0}
|
mouseEnterDelay={0}
|
||||||
mouseLeaveDelay={0}
|
mouseLeaveDelay={0}
|
||||||
placement="bottomLeft"
|
placement="bottomLeft"
|
||||||
arrowPointAtCenter
|
arrowPointAtCenter
|
||||||
>
|
>
|
||||||
<button style={{ width: triggerWidth }}>
|
<button style={{ width: triggerWidth }}>
|
||||||
Hello world!
|
Hello world!
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
);
|
);
|
||||||
wrapper2.find('button').at(0).simulate('click');
|
wrapper2.find('button').at(0).simulate('click');
|
||||||
const popupLeftArrowPointAtCenter = parseInt(wrapper2.node.getPopupDomNode().style.left, 10);
|
const popupLeftArrowPointAtCenter = parseInt(wrapper2.node.getPopupDomNode().style.left, 10);
|
||||||
expect(popupLeftArrowPointAtCenter - popupLeftDefault).toBe((triggerWidth / 2) - horizontalArrowShift - arrowWidth);
|
expect(popupLeftArrowPointAtCenter - popupLeftDefault).toBe((triggerWidth / 2) - horizontalArrowShift - arrowWidth);
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -1,184 +1,168 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`renders ./components/tree-select/demo/basic.md correctly 1`] = `
|
exports[`renders ./components/tree-select/demo/basic.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled ant-select-allow-clear"
|
||||||
|
style="width:300px;"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-select ant-select-enabled ant-select-allow-clear"
|
aria-autocomplete="list"
|
||||||
style="width:300px;"
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection__placeholder"
|
||||||
>
|
>
|
||||||
<span
|
Please select
|
||||||
class="ant-select-selection__placeholder"
|
|
||||||
>
|
|
||||||
Please select
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="outline:none;"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
<span
|
||||||
|
class="ant-select-arrow"
|
||||||
|
style="outline:none;"
|
||||||
|
>
|
||||||
|
<b />
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</span>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/tree-select/demo/checkable.md correctly 1`] = `
|
exports[`renders ./components/tree-select/demo/checkable.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled"
|
||||||
|
style="width:300px;"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-select ant-select-enabled"
|
aria-autocomplete="list"
|
||||||
style="width:300px;"
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--multiple"
|
||||||
|
role="combobox"
|
||||||
>
|
>
|
||||||
<span
|
<ul
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--multiple"
|
|
||||||
role="combobox"
|
|
||||||
>
|
>
|
||||||
<ul
|
<li
|
||||||
class="ant-select-selection__rendered"
|
class="ant-select-selection__choice"
|
||||||
|
style="user-select:none;-webkit-user-select:none;"
|
||||||
|
title="Node1"
|
||||||
|
unselectable="unselectable"
|
||||||
>
|
>
|
||||||
<li
|
<span
|
||||||
class="ant-select-selection__choice"
|
class="ant-select-selection__choice__remove"
|
||||||
style="user-select:none;-webkit-user-select:none;"
|
/>
|
||||||
title="Node1"
|
<span
|
||||||
unselectable="unselectable"
|
class="ant-select-selection__choice__content"
|
||||||
>
|
>
|
||||||
<span
|
Node1
|
||||||
class="ant-select-selection__choice__remove"
|
</span>
|
||||||
|
</li>
|
||||||
|
<li
|
||||||
|
class="ant-select-search ant-select-search--inline"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field__wrap"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-select-search__field"
|
||||||
|
role="textbox"
|
||||||
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
class="ant-select-selection__choice__content"
|
class="ant-select-search__field__mirror"
|
||||||
>
|
>
|
||||||
Node1
|
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</span>
|
||||||
<li
|
</li>
|
||||||
class="ant-select-search ant-select-search--inline"
|
</ul>
|
||||||
>
|
<span
|
||||||
<span
|
class="ant-select-search__field__placeholder"
|
||||||
class="ant-select-search__field__wrap"
|
style="display:none;"
|
||||||
>
|
>
|
||||||
<input
|
Please select
|
||||||
class="ant-select-search__field"
|
|
||||||
role="textbox"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-select-search__field__mirror"
|
|
||||||
>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<span
|
|
||||||
class="ant-select-search__field__placeholder"
|
|
||||||
style="display:none;"
|
|
||||||
>
|
|
||||||
Please select
|
|
||||||
</span>
|
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</span>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/tree-select/demo/multiple.md correctly 1`] = `
|
exports[`renders ./components/tree-select/demo/multiple.md correctly 1`] = `
|
||||||
<div
|
<span
|
||||||
id="TriggerContainer"
|
class="ant-select ant-select-enabled ant-select-allow-clear"
|
||||||
|
style="width:300px;"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-select ant-select-enabled ant-select-allow-clear"
|
aria-autocomplete="list"
|
||||||
style="width:300px;"
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--multiple"
|
||||||
|
role="combobox"
|
||||||
|
>
|
||||||
|
<ul
|
||||||
|
class="ant-select-selection__rendered"
|
||||||
|
>
|
||||||
|
<li
|
||||||
|
class="ant-select-search ant-select-search--inline"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field__wrap"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
class="ant-select-search__field"
|
||||||
|
role="textbox"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field__mirror"
|
||||||
|
>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<span
|
||||||
|
class="ant-select-search__field__placeholder"
|
||||||
|
style="display:block;"
|
||||||
|
>
|
||||||
|
Please select
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`renders ./components/tree-select/demo/treeData.md correctly 1`] = `
|
||||||
|
<span
|
||||||
|
class="ant-select ant-select-enabled"
|
||||||
|
style="width:300px;"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
aria-autocomplete="list"
|
||||||
|
aria-haspopup="true"
|
||||||
|
class="ant-select-selection
|
||||||
|
ant-select-selection--single"
|
||||||
|
role="combobox"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-autocomplete="list"
|
class="ant-select-selection__rendered"
|
||||||
aria-haspopup="true"
|
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--multiple"
|
|
||||||
role="combobox"
|
|
||||||
>
|
>
|
||||||
<ul
|
|
||||||
class="ant-select-selection__rendered"
|
|
||||||
>
|
|
||||||
<li
|
|
||||||
class="ant-select-search ant-select-search--inline"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-select-search__field__wrap"
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
class="ant-select-search__field"
|
|
||||||
role="textbox"
|
|
||||||
value=""
|
|
||||||
/>
|
|
||||||
<span
|
|
||||||
class="ant-select-search__field__mirror"
|
|
||||||
>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<span
|
<span
|
||||||
class="ant-select-search__field__placeholder"
|
class="ant-select-selection__placeholder"
|
||||||
style="display:block;"
|
|
||||||
>
|
>
|
||||||
Please select
|
Please select
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`renders ./components/tree-select/demo/treeData.md correctly 1`] = `
|
|
||||||
<div
|
|
||||||
id="TriggerContainer"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-select ant-select-enabled"
|
|
||||||
style="width:300px;"
|
|
||||||
>
|
|
||||||
<span
|
<span
|
||||||
aria-autocomplete="list"
|
class="ant-select-arrow"
|
||||||
aria-haspopup="true"
|
style="outline:none;"
|
||||||
class="ant-select-selection
|
|
||||||
ant-select-selection--single"
|
|
||||||
role="combobox"
|
|
||||||
tabindex="0"
|
|
||||||
>
|
>
|
||||||
<span
|
<b />
|
||||||
class="ant-select-selection__rendered"
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
class="ant-select-selection__placeholder"
|
|
||||||
>
|
|
||||||
Please select
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
<span
|
|
||||||
class="ant-select-arrow"
|
|
||||||
style="outline:none;"
|
|
||||||
>
|
|
||||||
<b />
|
|
||||||
</span>
|
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</span>
|
||||||
`;
|
`;
|
||||||
|
@ -94,24 +94,20 @@ exports[`renders ./components/upload/demo/defaultFileList.md correctly 1`] = `
|
|||||||
<div
|
<div
|
||||||
class="ant-upload-list-item-info"
|
class="ant-upload-list-item-info"
|
||||||
>
|
>
|
||||||
<div
|
<span>
|
||||||
id="TriggerContainer"
|
<i
|
||||||
>
|
class="anticon anticon-paper-clip"
|
||||||
<span>
|
/>
|
||||||
<i
|
<a
|
||||||
class="anticon anticon-paper-clip"
|
class="ant-upload-list-item-name"
|
||||||
/>
|
href="http://www.baidu.com/zzz.png"
|
||||||
<a
|
rel="noopener noreferrer"
|
||||||
class="ant-upload-list-item-name"
|
target="_blank"
|
||||||
href="http://www.baidu.com/zzz.png"
|
title="zzz.png"
|
||||||
rel="noopener noreferrer"
|
>
|
||||||
target="_blank"
|
zzz.png
|
||||||
title="zzz.png"
|
</a>
|
||||||
>
|
</span>
|
||||||
zzz.png
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<i
|
<i
|
||||||
class="anticon anticon-cross"
|
class="anticon anticon-cross"
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
const Trigger = require.requireActual('rc-trigger');
|
|
||||||
|
|
||||||
const render = Trigger.prototype.render;
|
|
||||||
|
|
||||||
Trigger.prototype.render = function () { // eslint-disable-line
|
|
||||||
const { popupVisible } = this.state;
|
|
||||||
return (
|
|
||||||
<div id="TriggerContainer">
|
|
||||||
{render.call(this)}
|
|
||||||
{popupVisible && this.getComponent()}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Trigger;
|
|
Loading…
Reference in New Issue
Block a user