@trimble-oss/moduswebcomponents
Version:
Modus Web Components is a modern, accessible UI library built with Stencil JS that provides reusable web components following Trimble's Modus design system. This updated version focuses on improved flexibility, enhanced theming options, comprehensive cust
24 lines (23 loc) • 946 B
TypeScript
/**
* A customizable card component used to group and display content in a way that is easily readable.
*
* This component supports multiple `<slot>` elements including 'header' for images or custom content, 'title', 'subtitle', a default slot for main content, 'actions' for buttons or interactive elements, and 'footer'.
*/
export declare class ModusWcCard {
private inheritedAttributes;
/** Reference to the host element */
el: HTMLElement;
/** Makes any \<figure> in the 'header' slot cover the background */
backgroundFigure?: boolean;
/** Adds a hard border to the card */
bordered?: boolean;
/** Custom CSS class to apply */
customClass?: string;
/** Determines how the card is laid out */
layout?: 'vertical' | 'horizontal';
/** Determines the interior padding size */
padding?: 'compact' | 'comfortable';
componentWillLoad(): void;
private getClasses;
render(): any;
}