Skip to content

Releases: AdeleD/react-paginate

v8.2.0

12 Apr 20:19
Compare
Choose a tag to compare
  • Add an ARIA label for pagination break link with default props of Jump forward and Jump backward when index is before and after the break, respectively
  • Add an optional prop to PaginationBoxView breakAriaLabels allowing the above labels to be user defined.

v8.1.5

30 Mar 16:54
Compare
Choose a tag to compare
  • Fix the type of renderOnZeroPageCount in the type declaration file (#454).
  • Explain how to add CSS style to the component (#472).

v8.1.4

05 Nov 08:08
98db5f7
Compare
Choose a tag to compare

v8.1.3

11 Apr 09:55
f1120b1
Compare
Choose a tag to compare
  • Support React 18 (see: #423)

v8.1.2

21 Feb 12:28
3fea129
Compare
Choose a tag to compare
  • Excluded unnecessary files from NPM package (see: #410)

v8.1.1

16 Feb 01:22
1900475
Compare
Choose a tag to compare
  • Add TypeScript definition for pageLabelBuilder prop

v8.1.0

03 Dec 01:22
c35167b
Compare
Choose a tag to compare
  • A new prop onClick has been added. It is a callback for any click on the component. It exposes information on the part clicked (for eg. isNext for when next control is clicked or isBreak for a break clicked), the next expected page nextSelectedPage & others. Can return false to prevent any page change or a number to override the page to jump to. Just return nothing (or undefined) to let default behavior take place. (see: #263)
  • Prevent breaks to be displayed when both pageRangeDisplayed and marginPagesDisplayed are 0

v8.0.3

02 Dec 23:35
137588c
Compare
Choose a tag to compare
  • Fix bug on marginPagesDisplayed={0} (see: #396)

v8.0.2

29 Nov 10:35
6ac34d0
Compare
Choose a tag to compare

v8.0.1

24 Nov 15:47
91ad937
Compare
Choose a tag to compare
  • Fix the indexed passed when replacing a break (containing only one page) with the actual page (see: #395)