Bump react-window from 1.8.11 to 2.1.1
Type: Pull Request
State: Open
Association: None
Comments: 1
(9 months ago)
(9 months ago)
Bumps react-window from 1.8.11 to 2.1.1.
Release notes
Sourced from react-window's releases.
2.1.1
Grids with only one row no longer incorrectly set cell height to 100%.
2.1.0
Improved ARIA support:
- Add better default ARIA attributes for outer
HTMLDivElement- Add optional
ariaAttributesprop to row and cell renderers to simplify better ARIA attributes for user-rendered cells- Remove intermediate
HTMLDivElementfromListandGrid
- This may enable more/better custom CSS styling
- This may also enable adding an optional
childrenprop toListandGridfor e.g. overlays/tooltips- Add optional
tagNameprop; defaults to"div"but can be changed to e.g."ul"// Example of how to use new `ariaAttributes` prop function RowComponent({ ariaAttributes, index, style, ...rest }: RowComponentProps<object>) { return ( <div style={style} {...ariaAttributes}> ... </div> ); }Added optional
childrenprop to better support edge cases like sticky rows.Minor changes to
onRowsRenderedandonCellsRenderedcallbacks to make it easier to differentiate between visible items and items rendered due to overscan settings. These methods will now receive two params– the first for visible rows and the second for all rows (including overscan), e.g.:function onRowsRendered( visibleRows: { startIndex: number; stopIndex: number; }, allRows: { startIndex: number; stopIndex: number; } ): void { // ... }function onCellsRendered(
visibleCells: {
columnStartIndex: number;
</tr></table>
... (truncated)
Changelog
Sourced from react-window's changelog.
2.1.1
Grids with only one row no longer incorrectly set cell height to 100%.
2.1.0
Improved ARIA support:
- Add better default ARIA attributes for outer
HTMLDivElement- Add optional
ariaAttributesprop to row and cell renderers to simplify better ARIA attributes for user-rendered cells- Remove intermediate
HTMLDivElementfromListandGrid
- This may enable more/better custom CSS styling
- This may also enable adding an optional
childrenprop toListandGridfor e.g. overlays/tooltips- Add optional
tagNameprop; defaults to"div"but can be changed to e.g."ul"// Example of how to use new `ariaAttributes` prop function RowComponent({ ariaAttributes, index, style, ...rest }: RowComponentProps<object>) { return ( <div style={style} {...ariaAttributes}> ... </div> ); }Added optional
childrenprop to better support edge cases like sticky rows.Minor changes to
onRowsRenderedandonCellsRenderedcallbacks to make it easier to differentiate between visible items and items rendered due to overscan settings. These methods will now receive two params– the first for visible rows and the second for all rows (including overscan), e.g.:function onRowsRendered( visibleRows: { startIndex: number; stopIndex: number; }, allRows: { startIndex: number; stopIndex: number; } ): void { // ... }function onCellsRendered(
</tr></table>
... (truncated)
Commits
4008a092.1.0 -> 2.1.1feb74a0Grid with only one row should not set cell height to 100%c2eeeddFixed a minor problem in the documentation example code17b4bf0Convert JS scripts to TS (#839)de0adddRenamed .MJS extension to .JS to make VS Code work betterf31f7d3Merged TS+JS docs examplesc98a3c5Add sponsor link to home page0ceb022Markdown example tweaks1b6840bMerge pull request #836 from bvaughn/ARIA-roles35f651bRevert accidental change to docs example- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
0
0
+0
-0
Package Dependencies
Technical Details
| ID: | 8023395 |
| UUID: | 3433632025 |
| Node ID: | PR_kwDOPveXi86pd6AJ |
| Host: | GitHub |
| Repository: | codeharborhub/tutorial |