@@ -135,50 +135,36 @@ exports[`Select.Basic render renders aria-attributes correctly 1`] = `
135135 class = " antd select-test antd-single antd-allow-clear antd-show-search"
136136>
137137 <div
138- class = " antd-selector "
138+ class = " antd-content "
139139 >
140- <span
141- class = " antd-selection-wrap"
140+ <div
141+ class = " antd-content-value"
142+ style = " visibility: visible;"
143+ title = " 2"
142144 >
143- <span
144- class = " antd-selection-search"
145- >
146- <input
147- aria-autocomplete = " list"
148- aria-controls = " test-id_list"
149- aria-expanded = " false"
150- aria-haspopup = " listbox"
151- aria-label = " some-label"
152- aria-labelledby = " test-id"
153- aria-owns = " test-id_list"
154- autocomplete = " off"
155- class = " antd-selection-search-input"
156- id = " test-id"
157- role = " combobox"
158- type = " search"
159- value = " "
160- />
161- </span >
162- <span
163- class = " antd-selection-item"
164- title = " 2"
165- >
166- 2
167- </span >
168- </span >
145+ 2
146+ </div >
147+ <input
148+ aria-autocomplete = " list"
149+ aria-controls = " test-id_list"
150+ aria-expanded = " false"
151+ aria-haspopup = " listbox"
152+ aria-label = " some-label"
153+ aria-labelledby = " test-id"
154+ aria-owns = " test-id_list"
155+ autocomplete = " off"
156+ class = " antd-input"
157+ id = " test-id"
158+ role = " combobox"
159+ type = " search"
160+ value = " "
161+ />
169162 </div >
170- <span
171- aria-hidden = " true"
163+ <div
172164 class = " antd-clear"
173- style = " user-select: none;"
174- unselectable = " on"
175165 >
176- <span
177- class = " antd-clear-icon"
178- >
179- ×
180- </span >
181- </span >
166+ ×
167+ </div >
182168</div >
183169` ;
184170
@@ -218,48 +204,34 @@ exports[`Select.Basic render renders data-attributes correctly 1`] = `
218204 data-test = " test-id"
219205>
220206 <div
221- class = " antd-selector "
207+ class = " antd-content "
222208 >
223- <span
224- class = " antd-selection-wrap"
209+ <div
210+ class = " antd-content-value"
211+ style = " visibility: visible;"
212+ title = " 2"
225213 >
226- <span
227- class = " antd-selection-search"
228- >
229- <input
230- aria-autocomplete = " list"
231- aria-controls = " test-id_list"
232- aria-expanded = " false"
233- aria-haspopup = " listbox"
234- aria-owns = " test-id_list"
235- autocomplete = " off"
236- class = " antd-selection-search-input"
237- id = " test-id"
238- role = " combobox"
239- type = " search"
240- value = " "
241- />
242- </span >
243- <span
244- class = " antd-selection-item"
245- title = " 2"
246- >
247- 2
248- </span >
249- </span >
214+ 2
215+ </div >
216+ <input
217+ aria-autocomplete = " list"
218+ aria-controls = " test-id_list"
219+ aria-expanded = " false"
220+ aria-haspopup = " listbox"
221+ aria-owns = " test-id_list"
222+ autocomplete = " off"
223+ class = " antd-input"
224+ id = " test-id"
225+ role = " combobox"
226+ type = " search"
227+ value = " "
228+ />
250229 </div >
251- <span
252- aria-hidden = " true"
230+ <div
253231 class = " antd-clear"
254- style = " user-select: none;"
255- unselectable = " on"
256232 >
257- <span
258- class = " antd-clear-icon"
259- >
260- ×
261- </span >
262- </span >
233+ ×
234+ </div >
263235</div >
264236` ;
265237
@@ -295,48 +267,34 @@ exports[`Select.Basic render renders role prop correctly 1`] = `
295267 role = " button"
296268>
297269 <div
298- class = " antd-selector "
270+ class = " antd-content "
299271 >
300- <span
301- class = " antd-selection-wrap"
272+ <div
273+ class = " antd-content-value"
274+ style = " visibility: visible;"
275+ title = " 2"
302276 >
303- <span
304- class = " antd-selection-search"
305- >
306- <input
307- aria-autocomplete = " list"
308- aria-controls = " test-id_list"
309- aria-expanded = " false"
310- aria-haspopup = " listbox"
311- aria-owns = " test-id_list"
312- autocomplete = " off"
313- class = " antd-selection-search-input"
314- id = " test-id"
315- role = " button"
316- type = " search"
317- value = " "
318- />
319- </span >
320- <span
321- class = " antd-selection-item"
322- title = " 2"
323- >
324- 2
325- </span >
326- </span >
277+ 2
278+ </div >
279+ <input
280+ aria-autocomplete = " list"
281+ aria-controls = " test-id_list"
282+ aria-expanded = " false"
283+ aria-haspopup = " listbox"
284+ aria-owns = " test-id_list"
285+ autocomplete = " off"
286+ class = " antd-input"
287+ id = " test-id"
288+ role = " button"
289+ type = " search"
290+ value = " "
291+ />
327292 </div >
328- <span
329- aria-hidden = " true"
293+ <div
330294 class = " antd-clear"
331- style = " user-select: none;"
332- unselectable = " on"
333295 >
334- <span
335- class = " antd-clear-icon"
336- >
337- ×
338- </span >
339- </span >
296+ ×
297+ </div >
340298</div >
341299` ;
342300
0 commit comments