vira
Version:
A simple and highly versatile design system using element-vir.
37 lines (36 loc) • 1.37 kB
TypeScript
import { type PartialWithUndefined } from '@augment-vir/common';
/**
* A combination ViraCard and ViraCollapsibleWrapper with a collapse caret.
*
* @category Elements
* @see https://electrovir.github.io/vira/book/elements/vira-checkbox
*/
export declare const ViraCollapsibleCard: import("element-vir").DeclarativeElementDefinition<`vira-${string}`, PartialWithUndefined<{
/**
* When set to `true`, the card styles are diminished so you can still use this element in
* more flexible ways.
*
* @default false
*/
rawCollapsible: boolean;
startExpanded: boolean;
/**
* If set to true, the card will always be expanded, expansion cannot be toggled, and the
* expand toggle icon is hidden.
*
* @default false
*/
blockExpansion: boolean;
/** When true, forces the content to expand when printing regardless of collapsed state. */
expandOnPrint: boolean;
/**
* When set to `true`, the header is hidden.
*
* @default false
*/
hideHeader: boolean;
}>, {
isExpanded: boolean;
}, {
expandToggle: import("element-vir").DefineEvent<boolean>;
}, "vira-collapsible-card-expanded" | "vira-collapsible-card-expansion-blocked" | "vira-collapsible-card-card-styles", "vira-collapsible-card-content-gap", readonly ["vira-collapsible-card-header"], readonly ["openCaret"]>;