mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: bump react-infinite-scroll-component from 7.1.0 to 7.2.1 in /site (#28112)
Bumps [react-infinite-scroll-component](https://github.com/ankeetmaini/react-infinite-scroll-component) from 7.1.0 to 7.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ankeetmaini/react-infinite-scroll-component/releases">react-infinite-scroll-component's releases</a>.</em></p> <blockquote> <h2>v7.2.1 - Accessibility props</h2> <h2>What's new</h2> <h3>Accessibility props</h3> <p>You can now pass <code>role</code>, <code>aria-label</code>, <code>aria-labelledby</code>, <code>tabIndex</code>, <code>id</code>, and any <code>aria-*</code> attribute directly to the scroll container:</p> <pre lang="tsx"><code><InfiniteScroll role="list" aria-label="Search results" dataLength={items.length} next={fetchMore} hasMore={hasMore} loader={<p>Loading...</p>} > {items.map(item => ( <div role="listitem" key={item.id}>{item.name}</div> ))} </InfiniteScroll> </code></pre> <p>Closes <a href="https://redirect.github.com/ankeetmaini/react-infinite-scroll-component/issues/411">#411</a>. Thanks to <a href="https://github.com/sayedrisat"><code>@sayedrisat</code></a> for the contribution!</p> <h2>Commits</h2> <ul> <li>feat: add accessibility props to scroll container (<a href="https://redirect.github.com/ankeetmaini/react-infinite-scroll-component/issues/432">#432</a>)</li> <li>docs: expand accessibility props table and add usage examples (<a href="https://redirect.github.com/ankeetmaini/react-infinite-scroll-component/issues/433">#433</a>)</li> </ul> <h2>v7.2.0 - useInfiniteScroll hook</h2> <h2>What's new</h2> <h3><code>useInfiniteScroll</code> hook</h3> <p>A new named export for building fully custom infinite scroll UIs. The hook manages the <code>IntersectionObserver</code> lifecycle and exposes <code>sentinelRef</code> and <code>isLoading</code> — your markup, your styles, your loader.</p> <pre lang="tsx"><code>import { useInfiniteScroll } from 'react-infinite-scroll-component'; <p>const { sentinelRef, isLoading } = useInfiniteScroll({<br /> next: fetchMore,<br /> hasMore,<br /> dataLength: items.length,<br /> });<br /> </code></pre></p> <p>Attach <code>sentinelRef</code> to any element at the end of your list. <code>isLoading</code> is <code>true</code> from when <code>next()</code> fires until <code>dataLength</code> changes.</p> <p>Accepts the same <code>hasMore</code>, <code>dataLength</code>, <code>next</code>, <code>scrollThreshold</code>, <code>scrollableTarget</code>, and <code>inverse</code> props as the <code>InfiniteScroll</code> component.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ankeetmaini/react-infinite-scroll-component/commit/8f5ee8c782e9542009c53d3cf09a4e548c4660d5"><code>8f5ee8c</code></a> chore: bump version to 7.2.1</li> <li><a href="https://github.com/ankeetmaini/react-infinite-scroll-component/commit/4b957d00b451d6cbd4a99300b8da240a4d1e8d3e"><code>4b957d0</code></a> docs: add sayedrisat to contributors list</li> <li><a href="https://github.com/ankeetmaini/react-infinite-scroll-component/commit/b7a3600aed44d039b8e2a407cd1441e807dbb879"><code>b7a3600</code></a> docs: add accessibility props to table and usage examples</li> <li><a href="https://github.com/ankeetmaini/react-infinite-scroll-component/commit/dc9f7f4da80629ee8f4efd0e5fc27001a0ce0349"><code>dc9f7f4</code></a> Scope container props to accessibility attributes</li> <li><a href="https://github.com/ankeetmaini/react-infinite-scroll-component/commit/0feacda0e92e90bd898373127af289e73addb936"><code>0feacda</code></a> Add accessibility props to scroll container</li> <li><a href="https://github.com/ankeetmaini/react-infinite-scroll-component/commit/92b3249f361e97323dc9c0ffde603fb91823196c"><code>92b3249</code></a> chore: bump version to 7.2.0</li> <li><a href="https://github.com/ankeetmaini/react-infinite-scroll-component/commit/d896cc9f166e6c2b57effcfd86d2d32d0d67a383"><code>d896cc9</code></a> fix: update stories.tsx import to renamed ScrollableTop</li> <li><a href="https://github.com/ankeetmaini/react-infinite-scroll-component/commit/a3102a644304ab1927bbee2044417cb875a8f038"><code>a3102a6</code></a> docs: fill empty defaults with dash, expand all prop descriptions</li> <li><a href="https://github.com/ankeetmaini/react-infinite-scroll-component/commit/d93280928ef51481c5d1ee6bdac75cb64f38fbe7"><code>d932809</code></a> docs: overhaul README and improve package.json metadata</li> <li><a href="https://github.com/ankeetmaini/react-infinite-scroll-component/commit/b53588b1cadfeaef6aec9a70266421d83d0d2ae9"><code>b53588b</code></a> feat: add AGENTS.md and llms.txt for AI discoverability</li> <li>Additional commits viewable in <a href="https://github.com/ankeetmaini/react-infinite-scroll-component/compare/v7.1.0...v7.2.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@
|
||||
"react-confetti": "6.4.0",
|
||||
"react-day-picker": "9.14.0",
|
||||
"react-dom": "19.2.8",
|
||||
"react-infinite-scroll-component": "7.1.0",
|
||||
"react-infinite-scroll-component": "7.2.1",
|
||||
"react-markdown": "9.1.0",
|
||||
"react-query": "npm:@tanstack/react-query@5.82.0",
|
||||
"react-resizable-panels": "3.0.6",
|
||||
|
||||
Generated
+7
-7
@@ -204,8 +204,8 @@ importers:
|
||||
specifier: 19.2.8
|
||||
version: 19.2.8(react@19.2.8)
|
||||
react-infinite-scroll-component:
|
||||
specifier: 7.1.0
|
||||
version: 7.1.0(react-dom@19.2.8(react@19.2.8))(react@19.2.8)
|
||||
specifier: 7.2.1
|
||||
version: 7.2.1(react-dom@19.2.8(react@19.2.8))(react@19.2.8)
|
||||
react-markdown:
|
||||
specifier: 9.1.0
|
||||
version: 9.1.0(@types/react@19.2.18)(react@19.2.8)
|
||||
@@ -5258,12 +5258,12 @@ packages:
|
||||
react-fast-compare@2.0.4:
|
||||
resolution: {integrity: sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==, tarball: https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz}
|
||||
|
||||
react-infinite-scroll-component@7.1.0:
|
||||
resolution: {integrity: sha512-EPUMyOnpmJDqI1aoUi9uR/TSUfJCUN77ZkpzYSshGwrC2NTaH6p+rxaP/2DZJWygOZmZcAieZk4VciF8q9H/tw==, tarball: https://registry.npmjs.org/react-infinite-scroll-component/-/react-infinite-scroll-component-7.1.0.tgz}
|
||||
react-infinite-scroll-component@7.2.1:
|
||||
resolution: {integrity: sha512-yPuEf6VHBJXFt+YXDxjlnAuhorUwiA2cKURx/P6a7WW3k+TvwY/mbx7KP1rQ1hxGzDcwreczRyLIv6eSd1sFIw==, tarball: https://registry.npmjs.org/react-infinite-scroll-component/-/react-infinite-scroll-component-7.2.1.tgz}
|
||||
engines: {node: '>=20.0.0'}
|
||||
peerDependencies:
|
||||
react: '>=17.0.0'
|
||||
react-dom: '>=17.0.0'
|
||||
react: '>=17'
|
||||
react-dom: '>=17'
|
||||
|
||||
react-inspector@6.0.2:
|
||||
resolution: {integrity: sha512-x+b7LxhmHXjHoU/VrFAzw5iutsILRoYyDq97EDYdFpPLcvqtEzk4ZSZSQjnFPbr5T57tLXnHcqFYoN1pI6u8uQ==, tarball: https://registry.npmjs.org/react-inspector/-/react-inspector-6.0.2.tgz}
|
||||
@@ -11734,7 +11734,7 @@ snapshots:
|
||||
|
||||
react-fast-compare@2.0.4: {}
|
||||
|
||||
react-infinite-scroll-component@7.1.0(react-dom@19.2.8(react@19.2.8))(react@19.2.8):
|
||||
react-infinite-scroll-component@7.2.1(react-dom@19.2.8(react@19.2.8))(react@19.2.8):
|
||||
dependencies:
|
||||
react: 19.2.8
|
||||
react-dom: 19.2.8(react@19.2.8)
|
||||
|
||||
Reference in New Issue
Block a user