IGalleryDisplayConfig
Configuration for how to display a gallery. This can apply to a catalog's display, a collection's display, the gallery-card's display, etc.
Properties
| Property | Type | Notes |
|---|---|---|
| Optional | CARD_TITLE_TAGS |
header tag for the gallery card titles - needed for a11y |
| Optional | CORNERS |
card corner appearance |
| Optional | boolean |
Whether to apply a standard set of filters (that will update automatically as defaults evolve), or elect to manually reorder, show/hide, etc. filters to create a "custom" set. |
| Optional |
Array<{
|
|
| Optional | "thumbnail" | "icon" |
Type of media to render in the layout card |
| Optional | "list" | "grid" | "map" | "table" | "calendar" | "compact" | "grid-filled" |
default layout |
| Optional | Array<"list" | "grid" | "map" | "table" | "calendar" | "compact" | "grid-filled"> |
Gallery layout options to expose in the layout switcher |
| Optional | "solid" | "outline" | "outline-fill" | "transparent" |
button style if showLinkButton = true |
| Optional | string |
button text rendered if showLinkButton = true |
| Optional | DROP_SHADOWS |
card drop shadow |
| Optional | boolean |
whether to show a button on the gallery card linking out to the content - redundant with the title link, but it's currently supported/desired |
| Optional | "show" | "hide" | "grid" |
Indicates whether the card render show a thumbnail. "grid" means the card will only render a thumbnail if the layout is set to "grid" |
| Optional | "relevance" | "title" | "created" | "modified" |
Interface defined in packages/common/src/search/types/IHubCatalog.ts:176