Skip to content

feat(preview): Add interactive PaginationPreview component#667

Open
Copilot wants to merge 1 commit intomainfrom
copilot/pagination-preview
Open

feat(preview): Add interactive PaginationPreview component#667
Copilot wants to merge 1 commit intomainfrom
copilot/pagination-preview

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 10, 2026

Adds an interactive PaginationPreview component for the KolPagination web component and migrates the German and English documentation pages from static HTML examples + LiveEditorCompact/Configurator to the new preview.

New component

  • src/components/previews/components/Pagination.tsx — exposes _label, _max, _page, _siblingCount, _boundaryCount, and _hasButtons; _page is clamped to [1, _max] dynamically as _max changes

Documentation

  • Replaced static code block, static example HTML, ## Live-Editor, and <Configurator> with a single <PaginationPreview> in both docs/30-components/pagination.mdx and the EN translation
  • Promoted <Readme /> under a top-level # API heading, consistent with other migrated component pages

Translations

  • Added preview.component.pagination.label to both i18n/de/code.json ("Seitennavigation") and i18n/en/code.json ("Page navigation")

Copilot AI linked an issue Apr 10, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix pagination component for preview functionality feat(preview): Add interactive PaginationPreview component Apr 10, 2026
Copilot AI requested a review from laske185 April 10, 2026 07:45
@laske185 laske185 force-pushed the copilot/pagination-preview branch from 3fd5997 to 339527d Compare April 10, 2026 08:40
@laske185 laske185 marked this pull request as ready for review April 10, 2026 08:40
@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pagination-Preview

2 participants