react-spectrum
9aa0c7e9 - TagGroup: Add useTagGroupState and fix focus issues (#3798)

Commit
2 years ago
TagGroup: Add useTagGroupState and fix focus issues (#3798) * add useTagGroupState * update TagGroup to use useTagGroupState * update useTagGroup * cleanup useTag * cleanup stories * add comment * remove private from package.json * lint * fix types * lint * fix types * update removal string * switch to focus row instead of cell * fix types * add test for focus after deleting * set focusMode: 'cell' * cleanup useTag * lint * update translation string punctuation * fix type * refactor to use useGridList * update tests * improve types * lint * update comments * add test for clicking remove button * update tests to check that onRemove is called once * cleanup onPress and clearButtonProps type * fix text overflow and cleanup styles * update dependencies * cleanup Tag * update keyboard focus tests * fix types and imports * style fix * update tests * only restore focus if onRemove called * cleanup chain * formatting * lint * fix types * lint * lint * lint * formatting * remove unnecessary export
Author
Parents
Loading