import { type PropertyValues } from 'lit'; import { type NavSize } from '../../core/pagination-nav.js'; import { UiElement } from '../shared/element.js'; import type { TooltipPlacement } from '../tooltip/tooltip.js'; import '../icon-button/icon-button.js'; /** * Carbon `PaginationNav` (`cds-pagination-nav`): numbered pages between Previous and Next, the pages that don't fit * folded into "…" selects (core/pagination-nav). `page` is 0-based, as Carbon's; `items-shown` page items show (at * least 4); `loop` wraps Previous / Next; `disable-overflow` turns the "…" selects off. Each page is a button * (`aria-current="page"` on the current one, `tabindex="0"` so Safari focuses it on click and Tab reaches it) and the * change is announced ("Page 3 of 25"). * * @fires ui-change - detail: { page } (0-based) after the user chose a page * @csspart base - The `