Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-paginate

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-paginate - npm Package Versions

13
11

8.0.0

Diff

Changelog

Source

= 8.0.0

  • Remove button role for links with an href (see: https://github.com/AdeleD/react-paginate/pull/390)
  • Add a rel attribute on previous page, current page and next page controls. They are respectivement customizable thanks to props prevPageRel, selectedPageRel and nextPageRel. To disable the rel attribute, set them to null. (see: https://github.com/AdeleD/react-paginate/pull/391)
  • A new prop disabledLinkClassName has been added. It allows to add a custom class on disabled previous and next controls. Default to undefined (no class added).
  • tabindex is now set to -1 on disabled controls (disable previous/next buttons; active page button). (see: https://github.com/AdeleD/react-paginate/issues/219)
  • Add a warning when providing an initialPage prop value that is greater than the maximum page index from pageCount prop.
  • Add a warning when providing a forcePage prop value that is greater than the maximum page index from pageCount prop.
  • The href generated from hrefBuilder prop is now also set on active page control <a> tag. (see #242)
  • A new prop hrefAllControls has been added. It allows to enable hrefBuilder for all controls.
  • Fix page range of 2 when first page is selected. (see https://github.com/AdeleD/react-paginate/issues/307)
  • Fix the breaking algorithm to not create breaks for only one page (see: https://github.com/AdeleD/react-paginate/issues/270)
adele
published 7.1.5 •

Changelog

Source

= 7.1.5

  • Fix the Webpack build to work for both browser and Node (see: https://github.com/AdeleD/react-paginate/issues/389)
  • Add a warning when providing both initialPage and forcePage props. You should only provides forcePage when the component is controlled. (see: https://github.com/AdeleD/react-paginate/pull/290)
adele
published 7.1.4 •

Changelog

Source

= 7.1.4

  • A new prop renderOnZeroPageCount has been added. It allows to define what to display when pageCount is zero. By default, it lets the main pagination boxes be displayed (Previous / Next). To display nothing, just provides renderOnZeroPageCount={null}. (see: https://github.com/AdeleD/react-paginate/pull/377)
  • A new prop className has been added, which is an alias to containerClassName and is useful for integration with CSS-in-JS frameworks like styled-components. (see: https://github.com/AdeleD/react-paginate/issues/321)
  • Fix the Webpack build by providing a web target (see: https://github.com/AdeleD/react-paginate/issues/317)
  • Add a warning when a non integer is provided for pageCount
adele
published 7.1.3 •

Changelog

Source

= 7.1.3

  • Remove react-hot-loader from production build.
adele
published 7.1.2 •

Changelog

Source

= 7.1.2

  • A new prop pageLabelBuilder has been added. It allows to customize pages labels of the component. By default, the page number is displayed (see: https://github.com/AdeleD/react-paginate/pull/334).
adele
published 7.1.1 •

Changelog

Source

= 7.1.1

  • Add an onPageActive callback (see: https://github.com/AdeleD/react-paginate/pull/349).
adele
published 7.1.0 •

Changelog

Source

= 7.1.0

  • Compatibility with React v17.0
adele
published 7.0.0 •

Changelog

Source

= 7.0.0

  • Add a rel attribute on previous/next buttons. Rel attributes are customizable thanks to props 'prevRel' and 'nextRel' (see: https://github.com/AdeleD/react-paginate/pull/326).
  • Upgrade devDependencies packages jest-cli and webpack-cli.
adele
published 6.5.0 •

Changelog

Source

= 6.5.0

  • Add a prop 'eventListener' to let users use a custom event listener on prev/next buttons, pages and break views.
adele
published 6.4.0 •

Changelog

Source

= 6.4.0

  • Two properties have been added to extend accessibility support (see https://github.com/AdeleD/react-paginate/pull/164).
    • nextAriaLabel: defines the aria-label html property for the 'Next page' button (default: 'Next page').
    • previousAriaLabel: defines the aria-label html property for the 'Previous page' button (default: 'Previous page').
  • Upgrade devDependencies packages (see: https://github.com/AdeleD/react-paginate/pull/314).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc