table icon indicating copy to clipboard operation
table copied to clipboard

chore(deps-dev): bump react-window from 1.8.11 to 2.2.5

Open dependabot[bot] opened this issue 1 week ago • 3 comments

Bumps react-window from 1.8.11 to 2.2.5.

Release notes

Sourced from react-window's releases.

2.2.5

  • Use defaultHeight/defaultWidth prop to server render initial set of rows/cells
  • Adjust TypeScript return type for rowComponent/cellComponent to work around a ReactNode vs ReactElement mismatch caused by #875

2.2.4

  • Update README docs

2.2.3

  • Update TS Doc comments for List and Grid imperative methods to specify when a method throws.
  • Throw a RangeError (instead of a regular Error) if an invalid index is passed to one of the imperative scroll-to methods.

2.2.2

The return type of List and Grid components is explicitly annotated as ReactElement. The return type of rowComponent and cellComponent changed from ReactNode to ReactElement. 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 useDynamicRowHeight

2.2.0

  • Support for dynamic row heights via new useDynamicRowHeight hook.
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 ResizeObserver API from being called at all if an explicit List height (or Grid width and height) is provided.

Thanks to @​tnajdek for 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/

... (truncated)

Changelog

Sourced from react-window's changelog.

2.2.5

  • Use defaultHeight/defaultWidth prop to server render initial set of rows/cells
  • Adjust TypeScript return type for rowComponent/cellComponent to work around a ReactNode vs ReactElement mismatch caused by #875

2.2.4

  • Update README docs

2.2.3

  • Update TS Doc comments for List and Grid imperative methods to specify when a method throws.
  • Throw a RangeError (instead of a regular Error) if an invalid index is passed to one of the imperative scroll-to methods.

2.2.2

The return type of List and Grid components is explicitly annotated as ReactElement. The return type of rowComponent and cellComponent changed from ReactNode to ReactElement. 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 useDynamicRowHeight

2.2.0

  • Support for dynamic row heights via new useDynamicRowHeight hook.
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 ResizeObserver API from being called at all if an explicit List height (or Grid width 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 ariaAttributes prop to row and cell renderers to simplify better ARIA attributes for user-rendered cells

... (truncated)

Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

dependabot[bot] avatar Jan 13 '26 01:01 dependabot[bot]