react-spectrum
21d19500 - feat: support selectionMode="replace" in grid collection test utils (#8028)

Commit
111 days ago
feat: support selectionMode="replace" in grid collection test utils (#8028) * attempt to get rid of jest calls in menu util * update RSP testing docs to directly mention mocks that maybe needed * bump versions of RTL to 16 * use alternative to calling jest run timers in menu option selection * fixing types and properly testing long press * fix lint * revert to pre testing library bump for clean slate * fix build and another submenu edge case now we shouldnt need to call runAllTimers after selectOption * fix react 16 bug * update return type of advanceTimer and docs copy * Initial support for tree highlight selection support * move some general fixes from selectionMode="replace" branch here * add highlight selection support to gridlist, listbox, and table * add test for deselection with modifier and add gridlist tests * fix build * add listbox test and fix logic for keyboard selection in utils if a checkbox wasnt present we werent using the keyboard navigate logic flow * add table util highlight selection tests and add proper keyboard navigation simulation to util * remove dep on react-aria/utils * update yarn lock * review comments * update prop name for clarity * fix case where S2 Combobox and Picker returns wrong trigger if contextual help is provided
Author
Parents
Loading