Add a warning when providing both initialPage and forcePage props. You should only provides forcePage when the component is controlled. (see: AdeleD/react-paginate#290)
v7.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: AdeleD/react-paginate#377)
A new prop className has been added, which is an alias to containerClassName and is usefull for integration with CSS-in-JS frameworks like styled-components. (see: AdeleD/react-paginate#321)
Add a warning when providing both initialPage and forcePage props. You should only provides forcePage when the component is controlled. (see: AdeleD/react-paginate#290)
>= 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: AdeleD/react-paginate#377)
A new prop className has been added, which is an alias to containerClassName and is usefull for integration with CSS-in-JS frameworks like styled-components. (see: AdeleD/react-paginate#321)
Add a warning when a non integer is provided for pageCount
>= 7.1.3
Remove react-hot-loader from production build.
>= 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: AdeleD/react-paginate#334).
Add a rel attribute on previous/next buttons. Rel attributes are customizable thanks to props 'prevRel' and 'nextRel' (see: AdeleD/react-paginate#326).
Upgrade devDependencies packages jest-cli and webpack-cli.
Commits
186f474 Until v8, forcePage will not totally control the current page state
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps react-paginate from 6.5.0 to 7.1.5.
Release notes
Sourced from react-paginate's releases.
Changelog
Sourced from react-paginate's changelog.
Commits
186f474
Until v8, forcePage will not totally control the current page state4fa55d3
Update README to take into account commit https://github.com/AdeleD/react-pag...38e1d2e
#389 Set output.globalObject to this in Webpack build to support both browser...7c5e950
Observation: forcePage does NOT make the component controlled #198ff27037
Add warning when both initialPage and forcePage are provided32dbe0b
Add node on controlled and uncontrolled componentsbb8683e
Update Changelog and build dist filescfa852e
Clean test output and check for DEPRECATED message3a1600d
Prepare releasebf6a7d8
Fix examlpeDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)