import { LitElement } from 'lit'; import { LINK_TYPES, LINK_TARGETS } from './defs'; /** * Component for navigation links. * @fires on-click - Captures the click event and emits the original event details. *
detail:{ origEvent: PointerEvent,href: string, otherattributes }
* @slot unnamed - Slot for link text.
* @slot icon - Slot for an icon.
*/
export declare class Link extends LitElement {
static styles: import("lit").CSSResult;
/** Link url. */
accessor href: string;
/** Defines a target attribute for where to load the URL. Possible options include "_self" (default), "_blank", "_parent", "_top" */
accessor target: LINK_TARGETS;
/** The Link type. Primary(App) or Secondary(Web).*/
accessor kind: LINK_TYPES;
/** Defines a relationship between a linked resource and the document. An empty string (default) means no particular relationship */
accessor rel: string;
/** Determines if the link is disabled.*/
accessor disabled: boolean;
/** Whether you want the standalone Link. By default false. Use this prop. (true) with icon with link variant. */
accessor standalone: boolean;
/** Positions icon on the left. */
accessor iconLeft: boolean;
/** Sets font-weight between default heavier and lighter font-weight. */
accessor linkFontWeight: 'lighter' | 'default';
/** Disables the hover animation on the icon. */
accessor animationInactive: boolean;
render(): import("lit-html").TemplateResult<1>;
private returnClassMap;
private handleClick;
}
declare global {
interface HTMLElementTagNameMap {
'kyn-link': Link;
}
}
//# sourceMappingURL=link.d.ts.map