import type { CSSResultGroup } from 'lit'; import DSAIcon from '../icon/icon'; import { ShoelaceElement } from '../../internal/shoelace-element'; /** * @summary Card nav item can be used to provide navigation options in a Card nav. * @documentation https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/card-nav-carte-de-navigation/web-UaT6ppPp * * @dependency dsa-icon * * @slot - The item content. * */ export default class DSACardNavItem extends ShoelaceElement { static styles: CSSResultGroup; static dependencies: { 'dsa-icon': typeof DSAIcon; }; private readonly hasSlotController; /** When set, the item will be a link. */ href: string; /** Tells the browser where to open the link. Only used when `href` is present. */ target: '_blank' | '_parent' | '_self' | '_top'; /** * When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the * default is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a * specific tab/window, this will prevent that from working correctly. You can remove or change the default value by * setting the attribute to an empty string or a value of your choice, respectively. */ rel: string; /** Tells the browser to download the linked file as this filename. Only used when `href` is present. */ download?: string; /** Default role of the item container. */ role: string; private isLink; render(): import("lit").TemplateResult; } declare global { interface HTMLElementTagNameMap { 'dsa-card-nav-item': DSACardNavItem; } }