Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 26, 2025

Bumps react-window and @types/react-window. These dependencies needed to be updated together.
Updates 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 ariaAttributes prop to row and cell renderers to simplify better ARIA attributes for user-rendered cells
  • Remove intermediate HTMLDivElement from List and Grid
    • This may enable more/better custom CSS styling
    • This may also enable adding an optional children prop to List and Grid for e.g. overlays/tooltips
  • Add optional tagName prop; 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 children prop to better support edge cases like sticky rows.

Minor changes to onRowsRendered and onCellsRendered callbacks 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 ariaAttributes prop to row and cell renderers to simplify better ARIA attributes for user-rendered cells
  • Remove intermediate HTMLDivElement from List and Grid
    • This may enable more/better custom CSS styling
    • This may also enable adding an optional children prop to List and Grid for e.g. overlays/tooltips
  • Add optional tagName prop; 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 children prop to better support edge cases like sticky rows.

Minor changes to onRowsRendered and onCellsRendered callbacks 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
  • 4008a09 2.1.0 -> 2.1.1
  • feb74a0 Grid with only one row should not set cell height to 100%
  • c2eeedd Fixed a minor problem in the documentation example code
  • 17b4bf0 Convert JS scripts to TS (#839)
  • de0addd Renamed .MJS extension to .JS to make VS Code work better
  • f31f7d3 Merged TS+JS docs examples
  • c98a3c5 Add sponsor link to home page
  • 0ceb022 Markdown example tweaks
  • 1b6840b Merge pull request #836 from bvaughn/ARIA-roles
  • 35f651b Revert accidental change to docs example
  • Additional commits viewable in compare view

Updates @types/react-window from 1.8.8 to 2.0.0

Commits

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 26, 2025
@dependabot dependabot bot requested a review from igboyes as a code owner September 26, 2025 17:09
@dependabot dependabot bot added the javascript Pull requests that update javascript code label Sep 26, 2025
@dependabot dependabot bot requested a review from ReeceHoffmann as a code owner September 26, 2025 17:09
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 26, 2025
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 26, 2025

Deploying virtool-ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: d9c2aae
Status: ✅  Deploy successful!
Preview URL: https://c6bf6fd7.virtool-ui.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-mult.virtool-ui.pages.dev

View logs

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/multi-be755fbc6d branch 2 times, most recently from 6060cbe to 40cf38f Compare October 2, 2025 22:20
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/multi-be755fbc6d branch from 40cf38f to 06b0e89 Compare October 20, 2025 16:39
Bumps [react-window](https://github.com/bvaughn/react-window) and [@types/react-window](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-window). These dependencies needed to be updated together.

Updates `react-window` from 1.8.11 to 2.1.1
- [Release notes](https://github.com/bvaughn/react-window/releases)
- [Changelog](https://github.com/bvaughn/react-window/blob/master/CHANGELOG.md)
- [Commits](bvaughn/react-window@1.8.11...2.1.1)

Updates `@types/react-window` from 1.8.8 to 2.0.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-window)

---
updated-dependencies:
- dependency-name: react-window
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/react-window"
  dependency-version: 2.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/multi-be755fbc6d branch from 06b0e89 to d9c2aae Compare October 20, 2025 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Development

Successfully merging this pull request may close these issues.

2 participants