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)
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.
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.4.
Release notes
Sourced from react-paginate's releases.
Changelog
Sourced from react-paginate's changelog.
Commits
bb8683e
Update Changelog and build dist filescfa852e
Clean test output and check for DEPRECATED message3a1600d
Prepare releasebf6a7d8
Fix examlpeccbf37c
Add warning for non integer pageCount propabb82ea
Formatefcd6e8
Synchro widget example on CodePen3fe78f7
Closes #317 #332 Target web with default dist build (global -> window)8014ece
Build dist6e3706f
Closes #321. Add className prop to wrap with styled-components & allDependabot 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)