UNPKG

@agendize/design-system

Version:
32 lines 1.17 kB
import { OverlayPosition } from "../../viewModel"; export declare const ButtonColorValues: string[]; export declare type ButtonColor = typeof ButtonColorValues[number]; export declare const ButtonSizeValues: string[]; export declare type ButtonSize = typeof ButtonSizeValues[number]; export declare const ButtonShapeValues: string[]; export declare type ButtonShape = typeof ButtonShapeValues[number]; export declare const ButtonCursorValues: string[]; export declare type ButtonCursor = typeof ButtonCursorValues[number]; export interface ButtonProperties { id: string; color?: ButtonColor; size?: ButtonSize; stretch?: boolean; shape?: ButtonShape; cursor?: ButtonCursor; iconLeft?: string; iconRight?: string; iconAlone?: string; disabled?: boolean; stopPropagation?: boolean; ariaLabel: string; tooltipLabel?: string; tooltipPosition?: OverlayPosition; actionLocker?: boolean; showOverflow?: boolean; } export declare const buttonDefaultProperties: ButtonProperties; export interface ButtonEmits { (eventName: 'action', e: MouseEvent | KeyboardEvent): void; } //# sourceMappingURL=viewModel.d.ts.map