RockefellerArchiveCenter / styles

Style Library for the Rockefeller Archive Center
https://styles.rockarch.org
MIT License
0 stars 1 forks source link

Make card component more flexible #205

Closed HaSistrunk closed 5 months ago

HaSistrunk commented 5 months ago

Is your feature request related to a problem? Please describe.

From Style Library implementation in aquila (https://github.com/RockefellerArchiveCenter/aquila/pull/303) and argo (https://github.com/RockefellerArchiveCenter/argo/pull/281), we found that using the card component was useful beyond just clickable lists of items. But to make those styles work, we had to apply local custom styles to undo Style Library styles that make the whole card focusable/clickable.

Describe the solution you'd like

Make the card styles more flexible. In the RAC Style Guide/Library, they were conceived to be a list of things where the card itself is clickable. Expand these to be more flexible as containers of other kinds of content. This will likely mean new card classes.