Use Bootstrap 5 Accordion for the facet list
This was not available in Bootstrap 4. It allows a lot more customization (via Bootstrap variables) and requires Blacklight itself to have less code.
After this PR, does facet list still work with Bootstrap 4, or is this a clean break requiring Bootstrap 5?
If it's a clean break, and that's what the community wants, then please make sure that's clearly noted in release notes for version that includes this? Also to avoid confusion probably remove the config bootstrap_version, and possibly remove other support for bootstrap 4?
@jrochkind this is only for BS 5 and it can be merged after https://github.com/projectblacklight/blacklight/pull/3226 is in place.
This is how IU is styling this component:
We have long done similar styling in Blacklight 7/Boostrap 4, adding styles to make the facet menu look like this even in that situation.
https://digital.sciencehistory.org/catalog
If we're going to remove the whitespace and borders around each facet, I think we also need to change the background color of the accordion headers (like IU + SHI do) to visually distinguish between the header and the facet values.
Good suggestion @cbeer I've adjusted it as per this screenshot: