/** * Copyright Aquera Inc 2023 * * This source code is licensed under the BSD-3-Clause license found in the * LICENSE file in the root directory of this source tree. */ import type { CSSResultGroup } from 'lit'; import '../nile-icon-button/nile-icon-button'; import NileElement from '../internal/nile-element'; import '../nile-link/nile-link'; export declare class NileNavTab extends NileElement { static styles: CSSResultGroup; private readonly attrId; private readonly componentId; navTab: HTMLElement; /** The name of the tab panel this tab is associated with. */ panel: string; /** Draws the tab in an active state. */ active: boolean; /** Makes the tab closable and shows a close button. */ closable: boolean; /** Disables the tab and prevents selection. */ disabled: boolean; centered: boolean; link?: string; connectedCallback(): void; firstUpdated(): void; updated(): void; private syncA11yState; /** * Give the host element the accessible name, since nile-link is hidden * from the accessibility tree. * Author `aria-label` (without `data-auto-aria-label`) is never overwritten so icon-only tabs can keep explicit names. * Auto-derived names set `data-auto-aria-label="true"` so slot/text updates can refresh them. */ private updateAccessibleName; private handleCloseClick; private handleTabClick; handleActiveChange(): void; handleDisabledChange(): void; focus(options?: FocusOptions): void; blur(): void; render(): import("lit-html").TemplateResult<1>; } export default NileNavTab; declare global { interface HTMLElementTagNameMap { 'nile-nav-tab': NileNavTab; } }