diff --git a/components/locale-provider/__tests__/__snapshots__/index.test.js.snap b/components/locale-provider/__tests__/__snapshots__/index.test.js.snap index 8891aa0a6e..d4173cf3f9 100644 --- a/components/locale-provider/__tests__/__snapshots__/index.test.js.snap +++ b/components/locale-provider/__tests__/__snapshots__/index.test.js.snap @@ -2081,11 +2081,8 @@ exports[`Locale Provider should display the text as ar 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="" /> @@ -7125,11 +7122,8 @@ exports[`Locale Provider should display the text as az 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="" /> @@ -12169,11 +12163,8 @@ exports[`Locale Provider should display the text as bg 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="" /> @@ -17213,11 +17204,8 @@ exports[`Locale Provider should display the text as ca 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="" /> @@ -22257,11 +22245,8 @@ exports[`Locale Provider should display the text as cs 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="" /> @@ -27301,11 +27286,8 @@ exports[`Locale Provider should display the text as da 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="" /> @@ -32345,11 +32327,8 @@ exports[`Locale Provider should display the text as de 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="" /> @@ -37389,11 +37368,8 @@ exports[`Locale Provider should display the text as el 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="" /> @@ -42433,11 +42409,8 @@ exports[`Locale Provider should display the text as en 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="" /> @@ -47477,11 +47450,8 @@ exports[`Locale Provider should display the text as en-gb 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="" /> @@ -52521,11 +52491,8 @@ exports[`Locale Provider should display the text as es 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="" /> @@ -57565,11 +57532,8 @@ exports[`Locale Provider should display the text as et 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="" /> @@ -62609,11 +62573,8 @@ exports[`Locale Provider should display the text as fa 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="" /> @@ -67653,11 +67614,8 @@ exports[`Locale Provider should display the text as fi 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="" /> @@ -72697,11 +72655,8 @@ exports[`Locale Provider should display the text as fr 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="" /> @@ -77741,11 +77696,8 @@ exports[`Locale Provider should display the text as fr 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="" /> @@ -82785,11 +82737,8 @@ exports[`Locale Provider should display the text as ga 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="" /> @@ -87829,11 +87778,8 @@ exports[`Locale Provider should display the text as gl 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="" /> @@ -92873,11 +92819,8 @@ exports[`Locale Provider should display the text as he 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="" /> @@ -97917,11 +97860,8 @@ exports[`Locale Provider should display the text as hi 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="" /> @@ -102961,11 +102901,8 @@ exports[`Locale Provider should display the text as hr 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="" /> @@ -108005,11 +107942,8 @@ exports[`Locale Provider should display the text as hu 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="" /> @@ -113049,11 +112983,8 @@ exports[`Locale Provider should display the text as hy-am 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="" /> @@ -118093,11 +118024,8 @@ exports[`Locale Provider should display the text as id 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="" /> @@ -123137,11 +123065,8 @@ exports[`Locale Provider should display the text as is 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="" /> @@ -128181,11 +128106,8 @@ exports[`Locale Provider should display the text as it 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="" /> @@ -133225,11 +133147,8 @@ exports[`Locale Provider should display the text as ja 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="" /> @@ -138269,11 +138188,8 @@ exports[`Locale Provider should display the text as kn 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="" /> @@ -143313,11 +143229,8 @@ exports[`Locale Provider should display the text as ko 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="" /> @@ -148357,11 +148270,8 @@ exports[`Locale Provider should display the text as ku 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="" /> @@ -153401,11 +153311,8 @@ exports[`Locale Provider should display the text as ku-iq 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="" /> @@ -158445,11 +158352,8 @@ exports[`Locale Provider should display the text as lt 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="" /> @@ -163489,11 +163393,8 @@ exports[`Locale Provider should display the text as lv 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="" /> @@ -168533,11 +168434,8 @@ exports[`Locale Provider should display the text as mk 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="" /> @@ -173577,11 +173475,8 @@ exports[`Locale Provider should display the text as mn-mn 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="" /> @@ -178621,11 +178516,8 @@ exports[`Locale Provider should display the text as ms-my 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="" /> @@ -183665,11 +183557,8 @@ exports[`Locale Provider should display the text as nb 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="" /> @@ -188709,11 +188598,8 @@ exports[`Locale Provider should display the text as ne-np 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="" /> @@ -193753,11 +193639,8 @@ exports[`Locale Provider should display the text as nl 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="" /> @@ -198797,11 +198680,8 @@ exports[`Locale Provider should display the text as nl-be 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="" /> @@ -203841,11 +203721,8 @@ exports[`Locale Provider should display the text as pl 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="" /> @@ -208885,11 +208762,8 @@ exports[`Locale Provider should display the text as pt 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="" /> @@ -213929,11 +213803,8 @@ exports[`Locale Provider should display the text as pt-br 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="" /> @@ -218973,11 +218844,8 @@ exports[`Locale Provider should display the text as ro 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="" /> @@ -224017,11 +223885,8 @@ exports[`Locale Provider should display the text as ru 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="" /> @@ -229061,11 +228926,8 @@ exports[`Locale Provider should display the text as sk 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="" /> @@ -234105,11 +233967,8 @@ exports[`Locale Provider should display the text as sl 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="" /> @@ -239149,11 +239008,8 @@ exports[`Locale Provider should display the text as sr 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="" /> @@ -244193,11 +244049,8 @@ exports[`Locale Provider should display the text as sv 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="" /> @@ -249237,11 +249090,8 @@ exports[`Locale Provider should display the text as ta 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="" /> @@ -254281,11 +254131,8 @@ exports[`Locale Provider should display the text as th 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="" /> @@ -259325,11 +259172,8 @@ exports[`Locale Provider should display the text as tr 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="" /> @@ -264369,11 +264213,8 @@ exports[`Locale Provider should display the text as uk 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="" /> @@ -269413,11 +269254,8 @@ exports[`Locale Provider should display the text as vi 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="" /> @@ -274457,11 +274295,8 @@ exports[`Locale Provider should display the text as zh-cn 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="" /> @@ -279501,11 +279336,8 @@ exports[`Locale Provider should display the text as zh-hk 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="" /> @@ -284545,11 +284377,8 @@ exports[`Locale Provider should display the text as zh-tw 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="" /> diff --git a/components/select/__tests__/__snapshots__/demo.test.js.snap b/components/select/__tests__/__snapshots__/demo.test.js.snap index 53cebc0d11..eba338697b 100644 --- a/components/select/__tests__/__snapshots__/demo.test.js.snap +++ b/components/select/__tests__/__snapshots__/demo.test.js.snap @@ -895,11 +895,8 @@ exports[`renders ./components/select/demo/debug.md 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="" /> @@ -1537,11 +1534,8 @@ exports[`renders ./components/select/demo/search.md 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="" /> @@ -1600,11 +1594,8 @@ exports[`renders ./components/select/demo/search-box.md 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="" /> diff --git a/components/tree-select/__tests__/__snapshots__/demo.test.js.snap b/components/tree-select/__tests__/__snapshots__/demo.test.js.snap index 870193bc3b..f03c8f69b2 100644 --- a/components/tree-select/__tests__/__snapshots__/demo.test.js.snap +++ b/components/tree-select/__tests__/__snapshots__/demo.test.js.snap @@ -82,11 +82,8 @@ exports[`renders ./components/tree-select/demo/basic.md 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="" /> @@ -263,11 +260,8 @@ exports[`renders ./components/tree-select/demo/suffix.md 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="" /> diff --git a/package.json b/package.json index 5bb329a55b..6d0d265a25 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "rc-progress": "~3.1.0", "rc-rate": "~2.8.2", "rc-resize-observer": "^0.2.3", - "rc-select": "~11.2.0", + "rc-select": "~11.3.1", "rc-slider": "~9.3.0", "rc-steps": "~4.1.0", "rc-switch": "~3.2.0",