@cds/core
Version:
Clarity Design System - common components, themes, and utilties
42 lines (41 loc) • 1.05 kB
TypeScript
import { PropertyValues } from 'lit';
import { CdsControl } from '@cds/core/forms';
/**
* Select
*
* ```typescript
* import '@cds/core/select';
* ```
*
* ```html
* <cds-select>
* <label>Test</label>
* <select>
* <option>Option One</option>
* <option>Option Two</option>
* <option>Option Three</option>
* </select>
* </cds-select>
* ```
*
* @element cds-select
* @slot - For projecting select and label
* @cssprop --background
* @cssprop --background-size
* @cssprop --border
* @cssprop --border-bottom
* @cssprop --outline
* @cssprop --padding
* @cssprop --font-size
* @cssprop --color
* @cssprop --line-height
* @cssprop --transition
*/
export declare class CdsSelect extends CdsControl {
protected get suffixDefaultTemplate(): import("lit-html").TemplateResult<1>;
static get styles(): import("lit").CSSResultGroup[];
protected globalStyles: import("lit").CSSResultGroup;
protected multiple: boolean;
protected size: boolean;
firstUpdated(props: PropertyValues<this>): void;
}