import type { CSSResultGroup } from 'lit'; import DSAVisuallyHidden from '../visually-hidden/visually-hidden'; import { ShoelaceElement } from '../../internal/shoelace-element'; /** * @summary (Internal) Button used in dsa-pagination. * * @dependency dsa-visually-hidden * * @slot - The button's label. * @slot prefix - A presentational prefix icon or similar element. * @slot suffix - A presentational suffix icon or similar element. */ export default class DSAPaginationButton extends ShoelaceElement { static styles: CSSResultGroup; static dependencies: { 'dsa-visually-hidden': typeof DSAVisuallyHidden; }; private readonly hasSlotController; button: HTMLButtonElement; /** The page number of the button. A value of "-1" leads to a label "..." */ value: number; /** Determine if the page linked to the button is the current one (inactivates the button) */ selected: boolean; /** Disables the button */ disabled: boolean; /** Aria role of the pagination buttons. Inherited from the parent dsa-pagination */ navigationType: 'button' | 'link'; /** Aspect of the pagination. Should be false when used for table pagination. Inherited from the dsa-pagination parent */ compact: boolean; getAriaCurrent(): "true" | "page" | undefined; render(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'dsa-pagination-button': DSAPaginationButton; } }