Skip to content

Commit 406663a

Browse files
committed
chore: update changelog and documentation
1 parent c798473 commit 406663a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ All notable changes to this project will be documented in this file. See [standa
44

55
## [1.1.0](https://github.com/LandRegistry/govuk-react-components-library/compare/v1.0.3...v1.1.0) (2026-03-18)
66

7-
87
### Features
98

10-
* update pagination to align with govuk-frontend, document for migration and stories ([d45d61b](https://github.com/LandRegistry/govuk-react-components-library/commit/d45d61b3cf92da4e2418736c1d075467f3fcf91f))
11-
* upgrade storybook and upgrade packages and add exit-this-page and password input ([702afa8](https://github.com/LandRegistry/govuk-react-components-library/commit/702afa8c172e9dfa00376ac52288ba8413d0888d))
9+
- update pagination to align with govuk-frontend, document for migration and stories ([d45d61b](https://github.com/LandRegistry/govuk-react-components-library/commit/d45d61b3cf92da4e2418736c1d075467f3fcf91f))
10+
- upgrade storybook and upgrade packages and add exit-this-page and password input ([702afa8](https://github.com/LandRegistry/govuk-react-components-library/commit/702afa8c172e9dfa00376ac52288ba8413d0888d))
1211

1312
### [1.0.3](https://github.com/LandRegistry/govuk-react-components-library/compare/v1.0.2...v1.0.3) (2025-10-10)
1413

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ or in html
403403

404404
## Pagination migration
405405

406-
The `Pagination` component API changed in v2.0.0. The previous API was computation-driven — you supplied raw counts and the component calculated the page range internally. The new API is render-driven: you supply the exact items to display, mirroring the [GOV.UK Design System pagination fixture shape](https://design-system.service.gov.uk/components/pagination/). This means the rendered HTML matches the Design System exactly and consumers have full control over what is shown.
406+
The `Pagination` component API changed in v1.1.0. The previous API was computation-driven — you supplied raw counts and the component calculated the page range internally. The new API is render-driven: you supply the exact items to display, mirroring the [GOV.UK Design System pagination fixture shape](https://design-system.service.gov.uk/components/pagination/). This means the rendered HTML matches the Design System exactly and consumers have full control over what is shown.
407407

408408
<details>
409409
<summary>Basic numbered pagination</summary>
@@ -421,7 +421,7 @@ import { Pagination } from "@hmlr/govuk-react-components-library";
421421
/>;
422422
```
423423

424-
**After (v2.0.0+)**
424+
**After (v1.1.0+)**
425425

426426
```jsx
427427
import { Pagination } from "@hmlr/govuk-react-components-library";

0 commit comments

Comments
 (0)