Bump react-window from 1.8.11 to 2.2.3
Type: Pull Request
State: Open
Association: Unknown
Comments: 3
(6 months ago)
(6 months ago)
Bumps react-window from 1.8.11 to 2.2.3.
Release notes
Sourced from react-window's releases.
2.2.3
- Update TS Doc comments for
ListandGridimperative methods to specify when a method throws.- Throw a
RangeError(instead of a regularError) if an invalid index is passed to one of the imperative scroll-to methods.2.2.2
The return type of
ListandGridcomponents is explicitly annotated asReactElement. The return type ofrowComponentandcellComponentchanged fromReactNodetoReactElement. This was done to fix TypeScript warnings for React versions 18.0 - 18.2. (See issue #875)2.2.1
- Fix possible scroll-jump scenario with
useDynamicRowHeight2.2.0
- Support for dynamic row heights via new
useDynamicRowHeighthook.const rowHeight = useDynamicRowHeight({ defaultRowHeight: 50 });return <List rowHeight={rowHeight} {...rest} />;
- Smaller NPM bundle; (docs are no longer included as part of the bundle due to the added size)
Documentation at: https://react-window-9gegorjnr-brian-vaughns-projects.vercel.app/
2.1.2
Prevent
ResizeObserverAPI from being called at all if an explicitListheight (orGridwidth and height) is provided.Thanks to
@tnajdekfor the PR!
Documentation at: https://react-window-8cygyvomv-brian-vaughns-projects.vercel.app/
2.1.1
Grids with only one row no longer incorrectly set cell height to 100%.
Documentation at: https://react-window-8cygyvomv-brian-vaughns-projects.vercel.app/
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
... (truncated)
Changelog
Sourced from react-window's changelog.
2.2.3
- Update TS Doc comments for
ListandGridimperative methods to specify when a method throws.- Throw a
RangeError(instead of a regularError) if an invalid index is passed to one of the imperative scroll-to methods.2.2.2
The return type of
ListandGridcomponents is explicitly annotated asReactElement. The return type ofrowComponentandcellComponentchanged fromReactNodetoReactElement. This was done to fix TypeScript warnings for React versions 18.0 - 18.2. (See issue #875)2.2.1
- Fix possible scroll-jump scenario with
useDynamicRowHeight2.2.0
- Support for dynamic row heights via new
useDynamicRowHeighthook.const rowHeight = useDynamicRowHeight({ defaultRowHeight: 50 });return <List rowHeight={rowHeight} {...rest} />;
- Smaller NPM bundle; (docs are no longer included as part of the bundle due to the added size)
2.1.2
Prevent
ResizeObserverAPI from being called at all if an explicitListheight (orGridwidth and height) is provided.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, </tr></table>
... (truncated)
Commits
1f590762.2.2 -> 2.2.3179ed6aImprove docs for imperative API; throw RangeError if invalid index specific (...572111aFix indent on props API page66ab1f0Mkae example text easier to copy+paste into an IDEa2bae7b2.2.1 - 2.2.25d59563Annotate Grid and List return types explicitly to avoid redundant inlined inf...b2fe9edUpdate README.md docs with component prop types (#873)2d844eaFormatting tweakse4c83fdImprove RowProps and CellProps generics docs03fd826Increased font size of code blocks- 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)
Package Dependencies
Technical Details
| ID: | 12263680 |
| UUID: | 3762207949 |
| Node ID: | PR_kwDOLiT30866kqGn |
| Host: | GitHub |
| Repository: | codeharborhub/codeharborhub.github.io |