@cds/core
Version:
Clarity Design System - common components, themes, and utilties
45 lines (44 loc) • 1.3 kB
TypeScript
import { CdsInternalPopup } from '@cds/core/internal-components/popup';
/**
* Signposts are dropdowns which default to having a pointer and a close
* action. Like dropdowns, signposts are generic containers that are
* designed to hold any type of content.
*
* ```typescript
* import '@cds/core/signpost/register.js';
* ```
*
* ```html
* <cds-signpost>...</cds-signpost>
* ```
* @beta
* @element cds-signpost
* @slot - Content slot for the content inside the signpost
* @event closeChange - Notify user when close event has occurred
* @cssprop --active-corner-border-radius
* @cssprop --background
* @cssprop --backdrop-background
* @cssprop --layered-backdrop-background
* @cssprop --border-color
* @cssprop --border-radius
* @cssprop --border-width
* @cssprop --box-shadow
* @cssprop --close-button-offset
* @cssprop --color
* @cssprop --min-height
* @cssprop --min-width
* @cssprop --max-height
* @cssprop --max-width
* @cssprop --mobile-max-height
* @cssprop --overflow - sets overflow x and y values respectively
* @cssprop --height
* @cssprop --width
* @cssprop --animation-duration
* @cssprop --animation-easing
* @property trigger
*
*/
export declare class CdsSignpost extends CdsInternalPopup {
closable: boolean;
defaultPointerType: string | null;
}