react-spectrum
a9fccbde - feat(S2): S2 ListView (#8878)

Commit
3 days ago
feat(S2): S2 ListView (#8878) * feat: s2 ListView * Explore highlight selection * fix docs type check * Add highlight selection option b to table * Add highlight selection option b to ListView * change selection behaviour of table for highlight mode * add option D as highlightMode * change font weight to bold for highlight selection * update background color * Start new highlight selection prototypes, ListView and part of TreeView * fix lint * update styles for listview and treeview * tableview * design updates * fix colors and add disabled items * fix lint * initialize docs * fix edgeToText import * update ListView (loadingMore, actionmenu, empty state, checkbox) * match selection styles to treeview/tableview * docs improvements * add jsdoc * support hasChildItems chevron * add stories * add hasChildItems example to docs * fix overflow in empty state * use objectFit: 'cover' for images * vertically align icons * add overflowMode * audit props * codemods * add chromatic stories * lint * add ListView testing docs * fix types * docs types * add description for search menu * docs types * fix selection checkbox visibility (always hide if disabled) * remove highlightMode prop * remove Tree/Table selection changes * remove unrelated Picker change * remove press scaling * keep bottom border width static to avoid 1px shift when highlight selection occurs. * add remaining states to chromatic * remove ListViewLoadMoreItem * fix prop types * update migration guide * remove bottom border radius for last item * prop types * remove style props from list item * remove seam mask element in favor of extending row background * make docs example wide * update docs content * add ActionBar support * fix gap for checkbox selection * docs update * style updates * remove renderer context * merge selection for checkbox selection * update docs * add LinkOut icon for links that open in new tab * fix storybook stories * add example to ActionBar docs * reserve space for trailing icon if at least one row has one * add padding to loading spinner * separate the icon and thumbnail slots examples in docs * docs types * move check image into chromatic folder * export ListViewContext from index.ts * cleanup story * use icons in all items in navigation docs * remove unused shorthands from macro theme * refactor to move isPrevSelected, isNextSelected, etc. logic out of GridList. * fix last item bottom border styles * pass id instead of item through render props (matches Table) * fix border styles * add explicit bottom border width --------- Co-authored-by: Reid Barber <reid@reidbarber.com>
Author
Parents
Loading