feat: Pagination size change select component is searchable (#42608)

* feat: Paginaition size change select enable search

close https://github.com/ant-design/ant-design/issues/27684

* test: update snapshot

* test: update snapshot
This commit is contained in:
afc163 2023-05-25 19:26:47 +08:00 committed by GitHub
parent b795b091ca
commit 8fb97df92c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 131 additions and 506 deletions

View File

@ -18988,7 +18988,7 @@ exports[`ConfigProvider components Pagination configProvider 1`] = `
>
<div
aria-label="Page Size"
class="config-select config-pagination-options-size-changer config-select-single config-select-show-arrow"
class="config-select config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-show-search"
>
<div
class="config-select-selector"
@ -19007,11 +19007,8 @@ exports[`ConfigProvider components Pagination configProvider 1`] = `
autocomplete="off"
class="config-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -19134,7 +19131,7 @@ exports[`ConfigProvider components Pagination configProvider 1`] = `
>
<div
aria-label="Page Size"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-show-search"
>
<div
class="config-select-selector"
@ -19153,11 +19150,8 @@ exports[`ConfigProvider components Pagination configProvider 1`] = `
autocomplete="off"
class="config-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -19285,7 +19279,7 @@ exports[`ConfigProvider components Pagination configProvider componentDisabled 1
>
<div
aria-label="Page Size"
class="config-select config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-disabled"
class="config-select config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-disabled config-select-show-search"
>
<div
class="config-select-selector"
@ -19305,11 +19299,8 @@ exports[`ConfigProvider components Pagination configProvider componentDisabled 1
class="config-select-selection-search-input"
disabled=""
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -19432,7 +19423,7 @@ exports[`ConfigProvider components Pagination configProvider componentDisabled 1
>
<div
aria-label="Page Size"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-disabled"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-disabled config-select-show-search"
>
<div
class="config-select-selector"
@ -19452,11 +19443,8 @@ exports[`ConfigProvider components Pagination configProvider componentDisabled 1
class="config-select-selection-search-input"
disabled=""
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -19584,7 +19572,7 @@ exports[`ConfigProvider components Pagination configProvider componentSize large
>
<div
aria-label="Page Size"
class="config-select config-pagination-options-size-changer config-select-single config-select-show-arrow"
class="config-select config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-show-search"
>
<div
class="config-select-selector"
@ -19603,11 +19591,8 @@ exports[`ConfigProvider components Pagination configProvider componentSize large
autocomplete="off"
class="config-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -19730,7 +19715,7 @@ exports[`ConfigProvider components Pagination configProvider componentSize large
>
<div
aria-label="Page Size"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-show-search"
>
<div
class="config-select-selector"
@ -19749,11 +19734,8 @@ exports[`ConfigProvider components Pagination configProvider componentSize large
autocomplete="off"
class="config-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -19881,7 +19863,7 @@ exports[`ConfigProvider components Pagination configProvider componentSize middl
>
<div
aria-label="Page Size"
class="config-select config-pagination-options-size-changer config-select-single config-select-show-arrow"
class="config-select config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-show-search"
>
<div
class="config-select-selector"
@ -19900,11 +19882,8 @@ exports[`ConfigProvider components Pagination configProvider componentSize middl
autocomplete="off"
class="config-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -20027,7 +20006,7 @@ exports[`ConfigProvider components Pagination configProvider componentSize middl
>
<div
aria-label="Page Size"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-show-search"
>
<div
class="config-select-selector"
@ -20046,11 +20025,8 @@ exports[`ConfigProvider components Pagination configProvider componentSize middl
autocomplete="off"
class="config-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -20178,7 +20154,7 @@ exports[`ConfigProvider components Pagination configProvider componentSize small
>
<div
aria-label="Page Size"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-show-search"
>
<div
class="config-select-selector"
@ -20197,11 +20173,8 @@ exports[`ConfigProvider components Pagination configProvider componentSize small
autocomplete="off"
class="config-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -20324,7 +20297,7 @@ exports[`ConfigProvider components Pagination configProvider componentSize small
>
<div
aria-label="Page Size"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow"
class="config-select config-select-sm config-pagination-options-size-changer config-select-single config-select-show-arrow config-select-show-search"
>
<div
class="config-select-selector"
@ -20343,11 +20316,8 @@ exports[`ConfigProvider components Pagination configProvider componentSize small
autocomplete="off"
class="config-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -20475,7 +20445,7 @@ exports[`ConfigProvider components Pagination normal 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -20494,11 +20464,8 @@ exports[`ConfigProvider components Pagination normal 1`] = `
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -20621,7 +20588,7 @@ exports[`ConfigProvider components Pagination normal 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -20640,11 +20607,8 @@ exports[`ConfigProvider components Pagination normal 1`] = `
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -20772,7 +20736,7 @@ exports[`ConfigProvider components Pagination prefixCls 1`] = `
>
<div
aria-label="Page Size"
class="ant-select prefix-Pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select prefix-Pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -20791,11 +20755,8 @@ exports[`ConfigProvider components Pagination prefixCls 1`] = `
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -20918,7 +20879,7 @@ exports[`ConfigProvider components Pagination prefixCls 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-select-sm prefix-Pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-select-sm prefix-Pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -20937,11 +20898,8 @@ exports[`ConfigProvider components Pagination prefixCls 1`] = `
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>

View File

@ -300,7 +300,7 @@ exports[`List.pagination should change page size work 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -319,11 +319,8 @@ exports[`List.pagination should change page size work 1`] = `
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -449,7 +446,7 @@ exports[`List.pagination should change page size work 2`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-open"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-open ant-select-show-search"
>
<div
class="ant-select-selector"
@ -468,11 +465,8 @@ exports[`List.pagination should change page size work 2`] = `
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -592,13 +586,13 @@ exports[`List.pagination should change page size work 2`] = `
unselectable="on"
>
<span
aria-label="down"
class="anticon anticon-down ant-select-suffix"
aria-label="search"
class="anticon anticon-search ant-select-suffix"
role="img"
>
<svg
aria-hidden="true"
data-icon="down"
data-icon="search"
fill="currentColor"
focusable="false"
height="1em"
@ -606,7 +600,7 @@ exports[`List.pagination should change page size work 2`] = `
width="1em"
>
<path
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
/>
</svg>
</span>
@ -711,7 +705,7 @@ exports[`List.pagination should default work 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -730,11 +724,8 @@ exports[`List.pagination should default work 1`] = `
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>

File diff suppressed because it is too large Load Diff

View File

@ -6,8 +6,8 @@ type CompoundedComponent = React.FC<SelectProps> & {
Option: typeof Select.Option;
};
const MiniSelect: CompoundedComponent = (props) => <Select {...props} size="small" />;
const MiddleSelect: CompoundedComponent = (props) => <Select {...props} size="middle" />;
const MiniSelect: CompoundedComponent = (props) => <Select {...props} showSearch size="small" />;
const MiddleSelect: CompoundedComponent = (props) => <Select {...props} showSearch size="middle" />;
MiniSelect.Option = Select.Option;
MiddleSelect.Option = Select.Option;

View File

@ -182,7 +182,7 @@ exports[`renders components/pagination/demo/all.tsx extend context correctly 1`]
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -201,11 +201,8 @@ exports[`renders components/pagination/demo/all.tsx extend context correctly 1`]
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -664,7 +661,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -683,11 +680,8 @@ Array [
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -1006,7 +1000,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled ant-select-show-search"
>
<div
class="ant-select-selector"
@ -1026,11 +1020,8 @@ Array [
class="ant-select-selection-search-input"
disabled=""
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -1435,7 +1426,7 @@ exports[`renders components/pagination/demo/itemRender.tsx extend context correc
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -1454,11 +1445,8 @@ exports[`renders components/pagination/demo/itemRender.tsx extend context correc
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -1780,7 +1768,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -1799,11 +1787,8 @@ Array [
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -2133,7 +2118,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled ant-select-show-search"
>
<div
class="ant-select-selector"
@ -2153,11 +2138,8 @@ Array [
class="ant-select-selection-search-input"
disabled=""
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -2566,7 +2548,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -2585,11 +2567,8 @@ Array [
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -3002,7 +2981,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled ant-select-show-search"
>
<div
class="ant-select-selector"
@ -3022,11 +3001,8 @@ Array [
class="ant-select-selection-search-input"
disabled=""
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -3409,7 +3385,7 @@ exports[`renders components/pagination/demo/more.tsx extend context correctly 1`
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -3428,11 +3404,8 @@ exports[`renders components/pagination/demo/more.tsx extend context correctly 1`
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -3885,7 +3858,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -3904,11 +3877,8 @@ Array [
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -4183,7 +4153,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -4202,11 +4172,8 @@ Array [
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -4529,7 +4496,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -4548,11 +4515,8 @@ Array [
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -4871,7 +4835,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled ant-select-show-search"
>
<div
class="ant-select-selector"
@ -4891,11 +4855,8 @@ Array [
class="ant-select-selection-search-input"
disabled=""
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>

View File

@ -182,7 +182,7 @@ exports[`renders components/pagination/demo/all.tsx correctly 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -200,11 +200,8 @@ exports[`renders components/pagination/demo/all.tsx correctly 1`] = `
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -561,7 +558,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -579,11 +576,8 @@ Array [
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -800,7 +794,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled ant-select-show-search"
>
<div
class="ant-select-selector"
@ -819,11 +813,8 @@ Array [
autocomplete="off"
class="ant-select-selection-search-input"
disabled=""
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -1126,7 +1117,7 @@ exports[`renders components/pagination/demo/itemRender.tsx correctly 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -1144,11 +1135,8 @@ exports[`renders components/pagination/demo/itemRender.tsx correctly 1`] = `
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -1368,7 +1356,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -1386,11 +1374,8 @@ Array [
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -1618,7 +1603,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled ant-select-show-search"
>
<div
class="ant-select-selector"
@ -1637,11 +1622,8 @@ Array [
autocomplete="off"
class="ant-select-selection-search-input"
disabled=""
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -1948,7 +1930,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -1966,11 +1948,8 @@ Array [
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -2281,7 +2260,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled ant-select-show-search"
>
<div
class="ant-select-selector"
@ -2300,11 +2279,8 @@ Array [
autocomplete="off"
class="ant-select-selection-search-input"
disabled=""
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -2585,7 +2561,7 @@ exports[`renders components/pagination/demo/more.tsx correctly 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -2603,11 +2579,8 @@ exports[`renders components/pagination/demo/more.tsx correctly 1`] = `
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -2958,7 +2931,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -2976,11 +2949,8 @@ Array [
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -3153,7 +3123,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -3171,11 +3141,8 @@ Array [
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -3396,7 +3363,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -3414,11 +3381,8 @@ Array [
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -3635,7 +3599,7 @@ Array [
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-disabled ant-select-show-search"
>
<div
class="ant-select-selector"
@ -3654,11 +3618,8 @@ Array [
autocomplete="off"
class="ant-select-selection-search-input"
disabled=""
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>

View File

@ -254,7 +254,7 @@ exports[`Pagination ConfigProvider should be rendered correctly when componentSi
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -273,11 +273,8 @@ exports[`Pagination ConfigProvider should be rendered correctly when componentSi
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>

View File

@ -5591,7 +5591,7 @@ exports[`renders components/table/demo/edit-row.tsx extend context correctly 1`]
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -5610,11 +5610,8 @@ exports[`renders components/table/demo/edit-row.tsx extend context correctly 1`]
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -10231,7 +10228,7 @@ exports[`renders components/table/demo/fixed-columns-header.tsx extend context c
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -10250,11 +10247,8 @@ exports[`renders components/table/demo/fixed-columns-header.tsx extend context c
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -11598,7 +11592,7 @@ exports[`renders components/table/demo/fixed-header.tsx extend context correctly
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -11617,11 +11611,8 @@ exports[`renders components/table/demo/fixed-header.tsx extend context correctly
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -12922,7 +12913,7 @@ exports[`renders components/table/demo/grouping-columns.tsx extend context corre
>
<div
aria-label="Page Size"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -12941,11 +12932,8 @@ exports[`renders components/table/demo/grouping-columns.tsx extend context corre
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -15336,7 +15324,7 @@ exports[`renders components/table/demo/narrow.tsx extend context correctly 1`] =
>
<div
aria-label="Page Size"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -15355,11 +15343,8 @@ exports[`renders components/table/demo/narrow.tsx extend context correctly 1`] =
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>
@ -27838,7 +27823,7 @@ exports[`renders components/table/demo/sticky.tsx extend context correctly 1`] =
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -27857,11 +27842,8 @@ exports[`renders components/table/demo/sticky.tsx extend context correctly 1`] =
autocomplete="off"
class="ant-select-selection-search-input"
id="rc_select_TEST_OR_SSR"
readonly=""
role="combobox"
style="opacity: 0;"
type="search"
unselectable="on"
value=""
/>
</span>

View File

@ -4872,7 +4872,7 @@ exports[`renders components/table/demo/edit-row.tsx correctly 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -4890,11 +4890,8 @@ exports[`renders components/table/demo/edit-row.tsx correctly 1`] = `
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -8092,7 +8089,7 @@ exports[`renders components/table/demo/fixed-columns-header.tsx correctly 1`] =
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -8110,11 +8107,8 @@ exports[`renders components/table/demo/fixed-columns-header.tsx correctly 1`] =
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -9356,7 +9350,7 @@ exports[`renders components/table/demo/fixed-header.tsx correctly 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -9374,11 +9368,8 @@ exports[`renders components/table/demo/fixed-header.tsx correctly 1`] = `
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -10390,7 +10381,7 @@ exports[`renders components/table/demo/grouping-columns.tsx correctly 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -10408,11 +10399,8 @@ exports[`renders components/table/demo/grouping-columns.tsx correctly 1`] = `
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -12093,7 +12081,7 @@ exports[`renders components/table/demo/narrow.tsx correctly 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -12111,11 +12099,8 @@ exports[`renders components/table/demo/narrow.tsx correctly 1`] = `
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>
@ -22713,7 +22698,7 @@ exports[`renders components/table/demo/sticky.tsx correctly 1`] = `
>
<div
aria-label="Page Size"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow"
class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search"
>
<div
class="ant-select-selector"
@ -22731,11 +22716,8 @@ exports[`renders components/table/demo/sticky.tsx correctly 1`] = `
aria-owns="undefined_list"
autocomplete="off"
class="ant-select-selection-search-input"
readonly=""
role="combobox"
style="opacity:0"
type="search"
unselectable="on"
value=""
/>
</span>