react-spectrum
5847e26d - feat: add support for tree sections (#9013)

Commit
42 days ago
feat: add support for tree sections (#9013) * initial tree stuff * fix virtualized tree section expanding, update methods to remove flattenTree * cleanup * more cleanup * update key after if its content node * fix types when checking content node * fix spacing * update dynamic story * update setSize with added getDirectChildren function * fix types, update at method * remove console logs * add collection dependency to gridlist * fix lint * update yarn lock * rename dynamic row section array * add tests, fix setSize for top level nodes inside a section * fix lint * remove comments * more cleanup * comments and stuff * fix tests * these changes were made in oct and it's now jan so... * lots of comments regarding skipping content nodes in tree * skip content nodes is listlayout and collections, update keyboard delegate * update yarn lock * update direct children function * comments * update direct children functiona and remove collectionode type from gridlist * update comments * updates * simplify logic for visible/non disabled item * comments, small fixes * make guarding against content node more robust * optimize filtering content nodes in list layout * optimize getting child array * add helper function for cloning * add comments
Author
Parents
Loading