cerberus
cerberus copied to clipboard
Bump react-paginate from 7.1.3 to 8.2.0 in /cerberus-dashboard
Bumps react-paginate from 7.1.3 to 8.2.0.
Release notes
Sourced from react-paginate's releases.
v8.2.0
- Add an ARIA label for pagination break link with default props of
Jump forward
andJump 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
- Fix the type of
renderOnZeroPageCount
in the type declaration file (AdeleD/react-paginate#454).- Explain how to add CSS style to the component (AdeleD/react-paginate#472).
v8.1.4
- Add an ARIA role
navigation
to main<ul>
tag- Dependencies bumps for generating build. Replace
react-hot-loader
byreact-refresh
(see: AdeleD/react-paginate#428)v8.1.3
- Support React 18 (see: AdeleD/react-paginate#423)
v8.1.2
- Excluded unnecessary files from NPM package (see: AdeleD/react-paginate#410)
v8.1.1
- Add TypeScript definition for
pageLabelBuilder
propv8.1.0
- 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 orisBreak
for a break clicked), the next expected pagenextSelectedPage
& others. Can returnfalse
to prevent any page change or a number to override the page to jump to. Just return nothing (orundefined
) to let default behavior take place. (see: AdeleD/react-paginate#263)- Prevent breaks to be displayed when both
pageRangeDisplayed
andmarginPagesDisplayed
are 0v8.0.3
- Fix bug on
marginPagesDisplayed={0}
(see: AdeleD/react-paginate#396)v8.0.2
- Add TypeScript definitions directly in the repository (instead of community definitions from DefinitelyTyped) (see: AdeleD/react-paginate#394)
v8.0.1
- Fix the indexed passed when replacing a break (containing only one page) with the actual page (see: AdeleD/react-paginate#395)
v8.0.0
- Remove button role for links with an href (see: AdeleD/react-paginate#390)
- Add a rel attribute on previous page, current page and next page controls. They are respectivement customizable thanks to props
prevPageRel
,selectedPageRel
andnextPageRel
. To disable the rel attribute, set them tonull
. (see: AdeleD/react-paginate#391)- A new prop
disabledLinkClassName
has been added. It allows to add a custom class on disabledprevious
andnext
controls. Default toundefined
(no class added).tabindex
is now set to-1
on disabled controls (disable previous/next buttons; active page button). (see: AdeleD/react-paginate#219)- Add a warning when providing an
initialPage
prop value that is greater than the maximum page index frompageCount
prop.- Add a warning when providing a
forcePage
prop value that is greater than the maximum page index frompageCount
prop.- The
href
generated fromhrefBuilder
prop is now also set on active page control<a>
tag. (see #242)- A new prop
hrefAllControls
has been added. It allows to enablehrefBuilder
for all controls.- Fix page range of 2 when first page is selected. (see AdeleD/react-paginate#307)
- Fix the breaking algorithm to not create breaks for only one page (see: AdeleD/react-paginate#270)
v7.1.5
- Fix the Webpack build to work for both browser and Node (see: AdeleD/react-paginate#389)
- Add a warning when providing both
initialPage
andforcePage
props. You should only providesforcePage
when the component is controlled. (see: AdeleD/react-paginate#290)
... (truncated)
Changelog
Sourced from react-paginate's changelog.
>= 8.2.0
- Add an ARIA label for pagination break link with default props of
Jump forward
andJump 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.>= 8.1.5
- Fix the type of
renderOnZeroPageCount
in the type declaration file (AdeleD/react-paginate#454).- Explain how to add CSS style to the component (AdeleD/react-paginate#472).
>= 8.1.4
- Add an ARIA role
navigation
to main<ul>
tag- Dependencies bumps for generating build. Replace
react-hot-loader
byreact-refresh
(see: AdeleD/react-paginate#428)>= 8.1.3
- Support React 18 (see: AdeleD/react-paginate#423)
>= 8.1.2
- Excluded unnecessary files from package (see: AdeleD/react-paginate#410)
>= 8.1.1
- Add TypeScript definition for
pageLabelBuilder
prop>= 8.1.0
- 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 orisBreak
for a break clicked), the next expected pagenextSelectedPage
& others. Can returnfalse
to prevent any page change or a number to override the page to jump to. Just return nothing (orundefined
) to let default behavior take place. (see: AdeleD/react-paginate#263)- Prevent breaks to be displayed when both
pageRangeDisplayed
andmarginPagesDisplayed
are 0>= 8.0.3
- Fix bug on
marginPagesDisplayed={0}
(see: AdeleD/react-paginate#396)>= 8.0.2
- Add TypeScript definitions directly in the repository (instead of community definitions from DefinitelyTyped) (see: AdeleD/react-paginate#394)
>= 8.0.1
- Fix the indexed passed when replacing a break (containing only one page) with the actual page (see: AdeleD/react-paginate#395)
>= 8.0.0
- Remove button role for links with an href (see: AdeleD/react-paginate#390)
- Add a rel attribute on previous page, current page and next page controls. They are respectivement customizable thanks to props
prevPageRel
,selectedPageRel
andnextPageRel
. To disable the rel attribute, set them tonull
. (see: AdeleD/react-paginate#391)- A new prop
disabledLinkClassName
has been added. It allows to add a custom class on disabledprevious
andnext
controls. Default toundefined
(no class added).tabindex
is now set to-1
on disabled controls (disable previous/next buttons; active page button). (see: AdeleD/react-paginate#219)
... (truncated)
Commits
099c164
Bump to 8.2.0c3198bc
Rebuild js map4e2445c
Add a description for the new breakAriaLabels prop to the Readme477a866
Merge branch 'Andeleidun-feature/breakLinkAriaLabel'888ca94
Merge branch 'master' into feature/breakLinkAriaLabelf2a2a06
Bump to 8.1.5cb6ff4e
Add default Aria labels for pagination break, and provide breakAriaLabels pro...2fd701d
Add an example CSS (basic) theme (#472)c2c27ca
Update README.md (#457)632e5cb
Fix renderOnZeroPageCount props type (#454)- Additional commits viewable in compare view
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)
Codecov Report
Patch and project coverage have no change.
Comparison is base (
91591b8
) 67.60% compared to head (ac4ad05
) 67.60%.
Additional details and impacted files
@@ Coverage Diff @@
## dep/dependency_upgrade_staging #1154 +/- ##
=================================================================
Coverage 67.60% 67.60%
Complexity 1481 1481
=================================================================
Files 189 189
Lines 6538 6538
Branches 444 444
=================================================================
Hits 4420 4420
Misses 1933 1933
Partials 185 185
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.