dependabot[bot] opened a new pull request, #45808: URL: https://github.com/apache/superset/pull/45808
Bumps [react-window](https://github.com/bvaughn/react-window) from 2.3.3 to 2.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/bvaughn/react-window/releases">react-window's releases</a>.</em></p> <blockquote> <h2>2.4.1</h2> <ul> <li>Fix performance issues for fixed-size rows or columns with a size of 0 (e.g. a percentage size before the container has been measured). Rendering no longer computes and caches bounds for every item, and only the first item is rendered (previously the last items were rendered, or every item if the scroll offset was negative). Invalid sizes (e.g. <code>"abc%"</code> or negative values) are treated as 0. - <a href="https://redirect.github.com/bvaughn/react-window/pull/923">#923</a></li> </ul> <h2>2.4.0</h2> <p>Server rendering improvements:</p> <h3>Features</h3> <ul> <li>Add <code>defaultScrollOffset</code> prop to <code>List</code> and <code>defaultScrollLeft</code>/<code>defaultScrollTop</code> props to <code>Grid</code> for setting the initial scroll position. Server-rendered HTML can't be pre-scrolled, so server rendering starts at the first row and the default scroll offset is applied when the component hydrates (unless the browser has already restored a scroll position). For lists and grids that are initially empty (e.g. while data is loading), the offset is applied once they have rows.</li> <li>Add <code>initialRowHeights</code> option to <code>useDynamicRowHeight</code> for providing row heights that are known or can be estimated ahead of time (e.g. during server rendering).</li> <li>Add a <a href="https://react-window.vercel.app/server-rendering">server rendering</a> page to the docs site.</li> </ul> <h3>Bug fixes</h3> <ul> <li>Server-rendered rows with dynamic heights are now displayed in normal document flow until they have been measured, rather than being positioned using estimated heights (which caused rows to overlap or leave gaps until after hydration).</li> <li>Fix <code>List</code> and <code>Grid</code> logging <code>useLayoutEffect</code> warnings when server rendered with React 18.</li> <li>Fix <code>getScrollbarSize</code> throwing when called during server rendering; it now returns 0.</li> </ul> <h2>2.3.4</h2> <ul> <li>Fix <code>useDynamicRowHeight</code> not measuring rows that set an <code>aria-hidden</code> attribute. - <a href="https://redirect.github.com/bvaughn/react-window/pull/917">#917</a></li> <li>Support rendering into a different window (e.g. an iframe or a pop-up window opened with a portal). <code>List</code>, <code>Grid</code>, and <code>useDynamicRowHeight</code> now use the <code>ResizeObserver</code>, <code>requestAnimationFrame</code>, and <code>document</code> that belong to the window containing the list, rather than the globals of the window that loaded the library. - <a href="https://redirect.github.com/bvaughn/react-window/pull/918">#918</a> <ul> <li><code>getScrollbarSize</code> accepts an optional <code>ownerDocument</code> parameter and caches the measured size separately for each document.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/bvaughn/react-window/blob/main/CHANGELOG.md">react-window's changelog</a>.</em></p> <blockquote> <h2>2.4.1</h2> <ul> <li>Fix performance issues for fixed-size rows or columns with a size of 0 (e.g. a percentage size before the container has been measured). Rendering no longer computes and caches bounds for every item, and only the first item is rendered (previously the last items were rendered, or every item if the scroll offset was negative). Invalid sizes (e.g. <code>"abc%"</code> or negative values) are treated as 0. - <a href="https://redirect.github.com/bvaughn/react-window/pull/923">#923</a></li> </ul> <h2>2.4.0</h2> <p>Server rendering improvements:</p> <h3>Features</h3> <ul> <li>Add <code>defaultScrollOffset</code> prop to <code>List</code> and <code>defaultScrollLeft</code>/<code>defaultScrollTop</code> props to <code>Grid</code> for setting the initial scroll position. Server-rendered HTML can't be pre-scrolled, so server rendering starts at the first row and the default scroll offset is applied when the component hydrates (unless the browser has already restored a scroll position). For lists and grids that are initially empty (e.g. while data is loading), the offset is applied once they have rows.</li> <li>Add <code>initialRowHeights</code> option to <code>useDynamicRowHeight</code> for providing row heights that are known or can be estimated ahead of time (e.g. during server rendering).</li> <li>Add a <a href="https://react-window.vercel.app/server-rendering">server rendering</a> page to the docs site.</li> </ul> <h3>Bug fixes</h3> <ul> <li>Server-rendered rows with dynamic heights are now displayed in normal document flow until they have been measured, rather than being positioned using estimated heights (which caused rows to overlap or leave gaps until after hydration).</li> <li>Fix <code>List</code> and <code>Grid</code> logging <code>useLayoutEffect</code> warnings when server rendered with React 18.</li> <li>Fix <code>getScrollbarSize</code> throwing when called during server rendering; it now returns 0.</li> </ul> <h2>2.3.4</h2> <ul> <li>Fix <code>useDynamicRowHeight</code> not measuring rows that set an <code>aria-hidden</code> attribute. - <a href="https://redirect.github.com/bvaughn/react-window/pull/917">#917</a></li> <li>Support rendering into a different window (e.g. an iframe or a pop-up window opened with a portal). <code>List</code>, <code>Grid</code>, and <code>useDynamicRowHeight</code> now use the <code>ResizeObserver</code>, <code>requestAnimationFrame</code>, and <code>document</code> that belong to the window containing the list, rather than the globals of the window that loaded the library. - <a href="https://redirect.github.com/bvaughn/react-window/pull/918">#918</a> <ul> <li><code>getScrollbarSize</code> accepts an optional <code>ownerDocument</code> parameter and caches the measured size separately for each document.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bvaughn/react-window/commit/3c1272061c434857a4f660b42d24806531acbf2f"><code>3c12720</code></a> 2.4.0 -> 2.4.1</li> <li><a href="https://github.com/bvaughn/react-window/commit/7c82b0171f4fb4bfd385219f8fd7a8b15825da98"><code>7c82b01</code></a> Avoid populating cached bounds when fixed itemSize is zero (<a href="https://redirect.github.com/bvaughn/react-window/issues/923">#923</a>)</li> <li><a href="https://github.com/bvaughn/react-window/commit/a75f5a97ac08a5e62cc35b73a3b71abda12bbb5b"><code>a75f5a9</code></a> 2.3.4 -> 2.4.0</li> <li><a href="https://github.com/bvaughn/react-window/commit/0a5d309bcf71a5efde8e8db678b7546f1dae55d0"><code>0a5d309</code></a> Server rendering improvements (<a href="https://redirect.github.com/bvaughn/react-window/issues/922">#922</a>)</li> <li><a href="https://github.com/bvaughn/react-window/commit/439cfee4148ca924584801387bbf7fecaa5f4f5e"><code>439cfee</code></a> Update react-lib-tools dep</li> <li><a href="https://github.com/bvaughn/react-window/commit/83de64f49a21aec52006d168c2ab9cae43b4ccc2"><code>83de64f</code></a> Update react-lib-tools dep</li> <li><a href="https://github.com/bvaughn/react-window/commit/7ed36acb83de519dcb393391bd706f90b602586b"><code>7ed36ac</code></a> Fix typos (<a href="https://redirect.github.com/bvaughn/react-window/issues/919">#919</a>)</li> <li><a href="https://github.com/bvaughn/react-window/commit/50a425ed4f85a32705312539513c0d4e306b8349"><code>50a425e</code></a> Run CI on main</li> <li><a href="https://github.com/bvaughn/react-window/commit/d8b21e2b19c6cb8d68e02249813dc7be73eb7c16"><code>d8b21e2</code></a> Speed up e2e tests</li> <li><a href="https://github.com/bvaughn/react-window/commit/21ce0f79f2524db26250ca7ec74350223ce81d06"><code>21ce0f7</code></a> Remove link to 1.0 docs from README</li> <li>Additional commits viewable in <a href="https://github.com/bvaughn/react-window/compare/2.3.3...2.4.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
