@cds/core
Version:
Clarity Design System - common components, themes, and utilties
47 lines (46 loc) • 1.14 kB
TypeScript
import { PropertyValues } from 'lit';
import { CdsBaseButton } from '@cds/core/internal';
/**
* Action Button
*
* ```typescript
* import '@cds/core/button-action/register.js';
* ```
*
* ```html
* <cds-button-action></cds-button-action>
* ```
* @beta
* @element cds-button-action
* @slot - For projecting text content or cds-icon
* @property pressed
* @cssprop --icon-width
* @cssprop --icon-height
* @cssprop --width
* @cssprop --height
* @cssprop --cursor
* @cssprop --color
* @cssprop --font-size
* @cssprop --background
* @cssprop --padding
* @cssprop --outline
* @cssprop --outline-offset
* @property pressed - boolean
* @property expanded - boolean
*/
export declare class CdsButtonAction extends CdsBaseButton {
shape: string;
action: string;
iconSize: string;
i18n: {
sort: string;
expand: string;
close: string;
resize: string;
filter: string;
};
protected cdsButtonAction: boolean;
static styles: import("lit").CSSResultGroup[];
render(): import("lit-html").TemplateResult<1>;
updated(props: PropertyValues<this>): void;
}