import { EventEmitter } from "../../stencil-public-runtime"; import { StzhButtonBlurEvent, StzhButtonClickEvent, StzhButtonFocusEvent, StzhButtonSize, StzhButtonVariant, StzhLocaleComponent } from "../../index"; /** * @slot - Slot for label/text content * @slot icon - Slot for icon element * @slot badge - Slot for `stzh-badge` element */ export declare class StzhButton { /** Translation strings */ localization: StzhLocaleComponent; /** Disable hyphenation for text inside button */ noHyphenation: boolean; /** Badge position */ badgePosition: "icon" | "button"; /** Whether the button is full width */ fullwidth: boolean; /** Whether the button is rounded */ rounded: boolean; /** Size variant */ size: StzhButtonSize; /** Size variant (above small breakpoint) */ sizeSmall: StzhButtonSize; /** Size variant (above medium breakpoint) */ sizeMedium: StzhButtonSize; /** Size variant (above large breakpoint) */ sizeLarge: StzhButtonSize; /** Size variant (above ultra breakpoint) */ sizeUltra: StzhButtonSize; /** Text alignment */ textAlign: "left" | "center" | "right" | "space-between" | "default"; /** Variant style */ variant: StzhButtonVariant; /** Icon (use instead of icon slot) */ icon: string; /** Icon Position */ iconPosition: "left" | "right"; /** The name of the button element */ name: string; /** The value of the button element */ value: string; /** `href` if the button should be used as link */ href: string; /** Rel (if href is used) */ rel: string; /** Target if the button is used as link (if `href` used) */ target: string; /** Download attribute of link (if `href` used) */ download: string; /** Type of the button */ type: "button" | "submit" | "reset"; /** Whether the button is disabled */ disabled: boolean; /** Whether to disable the button on click or not */ disableOnClick: boolean; /** Whether the button is active */ active: boolean; /** Label */ label: string; /** Effect/Animation used. For website use stzh-cta instead */ effect: "default" | "cta"; /** Whether only an icon is used inside the button */ iconOnly: boolean; /** Whether padding left should be removed */ noPaddingLeft: boolean; /** Whether padding right should be removed */ noPaddingRight: boolean; /** Access key of button (usually a number e.g. 1) */ buttonAccesskey: string; /** ID of button element */ buttonId: string; /** Whether to show toggle icon (show minus when a11yExpanded=true, otherwise plus) */ showToggleIcon: boolean; /** Accessible label for screen readers to replace visible text */ a11yLabel: string; /** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */ a11yDescribedby: string; /** Aria expanded of link/button */ a11yExpanded: boolean; /** Aria disabled of link/button */ a11yDisabled: boolean; /** Aria controls of link/button */ a11yControls: string; /** Aria current of link/button */ a11yCurrent: string; /** Tabindex of link/button */ a11yTabindex: string; /** * For Adobe Analytics. * Will be rendered as value of `s-object-id` attribute to the link/button element. * Default value will be taken from `label` prop or default slot. */ analyticsId: string; element: HTMLStzhButtonElement; resetListener(event: Event): void; /** Focus event */ stzhFocus: EventEmitter; /** Blur event */ stzhBlur: EventEmitter; /** Click event */ stzhClick: EventEmitter; private button; private text; private focusedByInput; private handleReset; private onRootFocus; private onFocus; private onBlur; private onClick; private renderIcon; private renderContent; private renderInner; componentWillLoad(): Promise; componentDidRender(): void; render(): any; }