Rework `ListItem` and `ListHeader` to use slot-based APIs (#3635)

This PR reworks the `ListItem` and `ListHeader` components to use
slot-based APIs, making them less opinionated about their contents.

Splitting this out of the collab UI styling PR so we can land it to
avoid conflicts.

Co-authored-by: Nate <nate@zed.dev>

Release Notes:

- N/A
ee509e043dMarshall Bowers committed on 12/13/2023, 9:08:31 PM· committed by GitHubparent5c82575
10 files changedLine totals unavailable