@sandlada/mdc
Version:
@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.
30 lines • 1.12 kB
TypeScript
import { LitElement, type TemplateResult } from 'lit';
export declare class MDCSearchBar extends LitElement {
static styles: import("lit").CSSResult;
supportingText: string;
hideAvatar: boolean;
protected hasLeadingIcon: boolean;
protected hasTrailingIcon: boolean;
protected hasAvatar: boolean;
private avatarElement;
protected render(): TemplateResult;
protected renderLeadingIcon(): TemplateResult<1>;
protected renderTrailingIcon(): TemplateResult<1>;
protected renderInput(): TemplateResult<1>;
protected renderTouchTarget(): TemplateResult<1>;
protected renderAvatar(): TemplateResult<1>;
protected renderAvatarIcon(): TemplateResult<1>;
protected getRenderClasses(): {
'has-leading-icon': boolean;
'has-trailing-icon': boolean;
'has-avatar': boolean;
'hide-avatar': boolean;
};
private handleAvatarClick;
private handleInput;
private handleChange;
private handleLeadingIconSlotChange;
private handleTrailingIconSlotChange;
private handleAvatarSlotChange;
}
//# sourceMappingURL=search-bar.d.ts.map