UNPKG

@public-ui/components

Version:

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

64 lines (63 loc) 3.06 kB
import type { AccessKeyPropType, AlternativeButtonLinkRolePropType, AriaDescriptionPropType, ButtonCallbacksPropType, ButtonStates, ButtonTypePropType, ButtonVariantPropType, CustomClassPropType, DisabledPropType, FocusableElement, IconsPropType, InternalButtonAPI, LabelWithExpertSlotPropType, LinkVariantPropType, ShortKeyPropType, StencilUnknown, SyncValueBySelectorPropType, TooltipAlignPropType } from '../../schema'; import type { JSX } from '../../stencil-public-runtime'; import type { AriaHasPopupPropType } from '../../schema/props/aria-has-popup'; export declare class KolButtonWc implements InternalButtonAPI, FocusableElement { private readonly host?; private buttonRef?; private tooltipRef?; private readonly internalDescriptionById; kolFocus(): Promise<void>; hideTooltip(): Promise<void>; private readonly onClick; private readonly onMouseDown; render(): JSX.Element; private readonly controller; _accessKey?: AccessKeyPropType; _ariaControls?: string; _ariaDescription?: AriaDescriptionPropType; _ariaExpanded?: boolean; _ariaHasPopup?: AriaHasPopupPropType; _ariaSelected?: boolean; _customClass?: CustomClassPropType; _disabled?: boolean; _hideLabel?: boolean; _icons?: IconsPropType; _id?: string; _label: LabelWithExpertSlotPropType; _linkVariant?: LinkVariantPropType; _name?: string; _on?: ButtonCallbacksPropType<StencilUnknown>; _role?: AlternativeButtonLinkRolePropType; _shortKey?: ShortKeyPropType; _syncValueBySelector?: SyncValueBySelectorPropType; _tabIndex?: number; _tooltipAlign?: TooltipAlignPropType; _type?: ButtonTypePropType; _value?: StencilUnknown; _buttonVariant?: ButtonVariantPropType; state: ButtonStates; constructor(); validateAccessKey(value?: AccessKeyPropType): void; validateAriaControls(value?: string): void; validateAriaDescription(value?: AriaDescriptionPropType): void; validateAriaExpanded(value?: boolean): void; validateAriaSelected(value?: boolean): void; validateCustomClass(value?: CustomClassPropType): void; validateDisabled(value?: DisabledPropType): void; validateHideLabel(value?: boolean): void; validateIcons(value?: IconsPropType): void; validateId(value?: string): void; validateLabel(value?: LabelWithExpertSlotPropType): void; validateLinkVariant(value?: LinkVariantPropType): void; validateName(value?: string): void; validateOn(value?: ButtonCallbacksPropType<StencilUnknown>): void; validateRole(value?: AlternativeButtonLinkRolePropType): void; validateShortKey(value?: ShortKeyPropType): void; validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void; validateTabIndex(value?: number): void; validateTooltipAlign(value?: TooltipAlignPropType): void; validateType(value?: ButtonTypePropType): void; validateValue(value?: StencilUnknown): void; validateButtonVariant(value?: ButtonVariantPropType): void; componentWillLoad(): void; }