UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

23 lines (22 loc) 915 B
import type { BadgeAPI, BadgeStates, ButtonProps, FocusableElement, KoliBriIconsProp, LabelPropType, PropColor, Stringified } from '../../schema'; import type { JSX } from '../../stencil-public-runtime'; export declare class KolBadge implements BadgeAPI, FocusableElement { private bgColorStr; private colorStr; private readonly id; private smartButtonRef?; private readonly catchSmartButtonRef; private renderSmartButton; kolFocus(): Promise<void>; render(): JSX.Element; _color?: Stringified<PropColor>; _icons?: Stringified<KoliBriIconsProp>; _label: LabelPropType; _smartButton?: Stringified<ButtonProps>; state: BadgeStates; private handleColorChange; validateIcons(value?: KoliBriIconsProp): void; validateColor(value?: Stringified<PropColor>): void; validateSmartButton(value?: ButtonProps | string): void; componentWillLoad(): void; }