From 334e83f4cd9549bc40e6e6f5ce950ac3519ff868 Mon Sep 17 00:00:00 2001 From: inokawa <48897392+inokawa@users.noreply.github.com> Date: Wed, 10 Jan 2024 23:56:35 +0900 Subject: [PATCH] 0.20.3 --- docs/classes/vue.VList.md | 22 ++++++------ docs/interfaces/react.CacheSnapshot.md | 2 +- .../react.CustomCellComponentProps.md | 4 +-- .../react.CustomContainerComponentProps.md | 4 +-- .../react.CustomItemComponentProps.md | 6 ++-- docs/interfaces/react.ScrollToIndexOpts.md | 4 +-- docs/interfaces/react.VGridHandle.md | 12 +++---- docs/interfaces/react.VGridProps.md | 18 +++++----- docs/interfaces/react.VListHandle.md | 14 ++++---- docs/interfaces/react.VListProps.md | 26 +++++++------- docs/interfaces/react.VirtualizerHandle.md | 14 ++++---- docs/interfaces/react.VirtualizerProps.md | 34 +++++++++---------- .../react.WindowVirtualizerHandle.md | 2 +- .../react.WindowVirtualizerProps.md | 24 ++++++------- docs/modules/react.md | 26 +++++++------- package-lock.json | 4 +-- package.json | 2 +- 17 files changed, 109 insertions(+), 109 deletions(-) diff --git a/docs/classes/vue.VList.md b/docs/classes/vue.VList.md index f8a30c16d..0ee4aeb2f 100644 --- a/docs/classes/vue.VList.md +++ b/docs/classes/vue.VList.md @@ -87,7 +87,7 @@ Scroll to the item specified by index. #### Defined in -[src/vue/VList.tsx:51](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L51) +[src/vue/VList.tsx:51](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L51) ___ @@ -109,7 +109,7 @@ Scroll to the given offset. #### Defined in -[src/vue/VList.tsx:56](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L56) +[src/vue/VList.tsx:56](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L56) ___ @@ -131,7 +131,7 @@ Scroll by the given offset. #### Defined in -[src/vue/VList.tsx:61](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L61) +[src/vue/VList.tsx:61](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L61) ## Properties @@ -309,7 +309,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/vue/VList.tsx:84](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L84) +[src/vue/VList.tsx:84](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L84) ___ @@ -321,7 +321,7 @@ The data items rendered by this component. #### Defined in -[src/vue/VList.tsx:68](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L68) +[src/vue/VList.tsx:68](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L68) ___ @@ -339,7 +339,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/vue/VList.tsx:73](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L73) +[src/vue/VList.tsx:73](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L73) ___ @@ -354,7 +354,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/vue/VList.tsx:80](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L80) +[src/vue/VList.tsx:80](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L80) ___ @@ -366,7 +366,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/vue/VList.tsx:88](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L88) +[src/vue/VList.tsx:88](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L88) ___ @@ -390,7 +390,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/vue/VList.tsx:37](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L37) +[src/vue/VList.tsx:37](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L37) ___ @@ -402,7 +402,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/vue/VList.tsx:41](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L41) +[src/vue/VList.tsx:41](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L41) ___ @@ -414,4 +414,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/vue/VList.tsx:45](https://github.com/inokawa/virtua/blob/d32b6594/src/vue/VList.tsx#L45) +[src/vue/VList.tsx:45](https://github.com/inokawa/virtua/blob/efa0f07c/src/vue/VList.tsx#L45) diff --git a/docs/interfaces/react.CacheSnapshot.md b/docs/interfaces/react.CacheSnapshot.md index af42a7f0e..219b74f85 100644 --- a/docs/interfaces/react.CacheSnapshot.md +++ b/docs/interfaces/react.CacheSnapshot.md @@ -20,4 +20,4 @@ Serializable cache snapshot. #### Defined in -[src/core/types.ts:8](https://github.com/inokawa/virtua/blob/d32b6594/src/core/types.ts#L8) +[src/core/types.ts:8](https://github.com/inokawa/virtua/blob/efa0f07c/src/core/types.ts#L8) diff --git a/docs/interfaces/react.CustomCellComponentProps.md b/docs/interfaces/react.CustomCellComponentProps.md index fafea02ec..d1f06f767 100644 --- a/docs/interfaces/react.CustomCellComponentProps.md +++ b/docs/interfaces/react.CustomCellComponentProps.md @@ -19,7 +19,7 @@ Props of customized cell component for [VGrid](../modules/react.md#experimental_ #### Defined in -[src/react/VGrid.tsx:89](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L89) +[src/react/VGrid.tsx:89](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L89) ___ @@ -29,4 +29,4 @@ ___ #### Defined in -[src/react/VGrid.tsx:90](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L90) +[src/react/VGrid.tsx:90](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L90) diff --git a/docs/interfaces/react.CustomContainerComponentProps.md b/docs/interfaces/react.CustomContainerComponentProps.md index 65459cb3c..a7ca13fab 100644 --- a/docs/interfaces/react.CustomContainerComponentProps.md +++ b/docs/interfaces/react.CustomContainerComponentProps.md @@ -17,7 +17,7 @@ #### Defined in -[src/react/types.ts:10](https://github.com/inokawa/virtua/blob/d32b6594/src/react/types.ts#L10) +[src/react/types.ts:10](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/types.ts#L10) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/react/types.ts:11](https://github.com/inokawa/virtua/blob/d32b6594/src/react/types.ts#L11) +[src/react/types.ts:11](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/types.ts#L11) diff --git a/docs/interfaces/react.CustomItemComponentProps.md b/docs/interfaces/react.CustomItemComponentProps.md index d40e7cc1c..c7348dca1 100644 --- a/docs/interfaces/react.CustomItemComponentProps.md +++ b/docs/interfaces/react.CustomItemComponentProps.md @@ -20,7 +20,7 @@ Props of customized item component for [Virtualizer](../modules/react.md#virtual #### Defined in -[src/react/ListItem.tsx:18](https://github.com/inokawa/virtua/blob/d32b6594/src/react/ListItem.tsx#L18) +[src/react/types.ts:23](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/types.ts#L23) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/react/ListItem.tsx:19](https://github.com/inokawa/virtua/blob/d32b6594/src/react/ListItem.tsx#L19) +[src/react/types.ts:24](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/types.ts#L24) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[src/react/ListItem.tsx:20](https://github.com/inokawa/virtua/blob/d32b6594/src/react/ListItem.tsx#L20) +[src/react/types.ts:25](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/types.ts#L25) diff --git a/docs/interfaces/react.ScrollToIndexOpts.md b/docs/interfaces/react.ScrollToIndexOpts.md index 247a4b8b7..287e072d3 100644 --- a/docs/interfaces/react.ScrollToIndexOpts.md +++ b/docs/interfaces/react.ScrollToIndexOpts.md @@ -24,7 +24,7 @@ Alignment of item. #### Defined in -[src/core/types.ts:22](https://github.com/inokawa/virtua/blob/d32b6594/src/core/types.ts#L22) +[src/core/types.ts:22](https://github.com/inokawa/virtua/blob/efa0f07c/src/core/types.ts#L22) ___ @@ -38,4 +38,4 @@ If true, scrolling animates smoothly with [`behavior: smooth` of scrollTo](https #### Defined in -[src/core/types.ts:28](https://github.com/inokawa/virtua/blob/d32b6594/src/core/types.ts#L28) +[src/core/types.ts:28](https://github.com/inokawa/virtua/blob/efa0f07c/src/core/types.ts#L28) diff --git a/docs/interfaces/react.VGridHandle.md b/docs/interfaces/react.VGridHandle.md index e03e3cda7..36c280796 100644 --- a/docs/interfaces/react.VGridHandle.md +++ b/docs/interfaces/react.VGridHandle.md @@ -39,7 +39,7 @@ Scroll to the item specified by index. #### Defined in -[src/react/VGrid.tsx:176](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L176) +[src/react/VGrid.tsx:176](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L176) ___ @@ -62,7 +62,7 @@ Scroll to the given offset. #### Defined in -[src/react/VGrid.tsx:182](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L182) +[src/react/VGrid.tsx:182](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L182) ___ @@ -85,7 +85,7 @@ Scroll by the given offset. #### Defined in -[src/react/VGrid.tsx:188](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L188) +[src/react/VGrid.tsx:188](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L188) ## Properties @@ -97,7 +97,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/VGrid.tsx:162](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L162) +[src/react/VGrid.tsx:162](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L162) ___ @@ -109,7 +109,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/VGrid.tsx:166](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L166) +[src/react/VGrid.tsx:166](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L166) ___ @@ -121,4 +121,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/VGrid.tsx:170](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L170) +[src/react/VGrid.tsx:170](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L170) diff --git a/docs/interfaces/react.VGridProps.md b/docs/interfaces/react.VGridProps.md index 02a6ea0ef..04650d4d1 100644 --- a/docs/interfaces/react.VGridProps.md +++ b/docs/interfaces/react.VGridProps.md @@ -109,7 +109,7 @@ A function to create elements rendered by this component. #### Defined in -[src/react/VGrid.tsx:198](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L198) +[src/react/VGrid.tsx:198](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L198) ___ @@ -121,7 +121,7 @@ Total row length of grid. #### Defined in -[src/react/VGrid.tsx:211](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L211) +[src/react/VGrid.tsx:211](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L211) ___ @@ -133,7 +133,7 @@ Total column length of grid. #### Defined in -[src/react/VGrid.tsx:215](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L215) +[src/react/VGrid.tsx:215](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L215) ___ @@ -151,7 +151,7 @@ Cell height hint for unmeasured items. It's recommended to specify this prop if #### Defined in -[src/react/VGrid.tsx:220](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L220) +[src/react/VGrid.tsx:220](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L220) ___ @@ -169,7 +169,7 @@ Cell width hint for unmeasured items. It's recommended to specify this prop if i #### Defined in -[src/react/VGrid.tsx:225](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L225) +[src/react/VGrid.tsx:225](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L225) ___ @@ -187,7 +187,7 @@ Number of items to render above/below the visible bounds of the grid. Lower valu #### Defined in -[src/react/VGrid.tsx:230](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L230) +[src/react/VGrid.tsx:230](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L230) ___ @@ -199,7 +199,7 @@ If set, the specified amount of rows will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:234](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L234) +[src/react/VGrid.tsx:234](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L234) ___ @@ -211,7 +211,7 @@ If set, the specified amount of cols will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:238](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L238) +[src/react/VGrid.tsx:238](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L238) ___ @@ -230,7 +230,7 @@ Customized components for advanced usage. #### Defined in -[src/react/VGrid.tsx:242](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L242) +[src/react/VGrid.tsx:242](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L242) ___ diff --git a/docs/interfaces/react.VListHandle.md b/docs/interfaces/react.VListHandle.md index 501a5e06e..fc02222f2 100644 --- a/docs/interfaces/react.VListHandle.md +++ b/docs/interfaces/react.VListHandle.md @@ -50,7 +50,7 @@ Scroll to the item specified by index. #### Defined in -[src/react/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L63) +[src/react/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L63) ___ @@ -76,7 +76,7 @@ Scroll to the given offset. #### Defined in -[src/react/Virtualizer.tsx:68](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L68) +[src/react/Virtualizer.tsx:68](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L68) ___ @@ -102,7 +102,7 @@ Scroll by the given offset. #### Defined in -[src/react/Virtualizer.tsx:73](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L73) +[src/react/Virtualizer.tsx:73](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L73) ## Properties @@ -118,7 +118,7 @@ Get current [CacheSnapshot](react.CacheSnapshot.md). #### Defined in -[src/react/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L45) +[src/react/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L45) ___ @@ -134,7 +134,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L49) +[src/react/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L49) ___ @@ -150,7 +150,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L53) +[src/react/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L53) ___ @@ -166,4 +166,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/Virtualizer.tsx:57](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L57) +[src/react/Virtualizer.tsx:57](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L57) diff --git a/docs/interfaces/react.VListProps.md b/docs/interfaces/react.VListProps.md index 8ae5c829a..ad5ec2e38 100644 --- a/docs/interfaces/react.VListProps.md +++ b/docs/interfaces/react.VListProps.md @@ -105,7 +105,7 @@ Pick.children #### Defined in -[src/react/Virtualizer.tsx:85](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L85) +[src/react/Virtualizer.tsx:85](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L85) ___ @@ -135,7 +135,7 @@ Pick.onScroll #### Defined in -[src/react/Virtualizer.tsx:148](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L148) +[src/react/Virtualizer.tsx:148](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L148) ___ @@ -151,7 +151,7 @@ Pick.reverse #### Defined in -[src/react/Virtualizer.tsx:113](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L113) +[src/react/Virtualizer.tsx:113](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L113) ___ @@ -167,7 +167,7 @@ Pick.shift #### Defined in -[src/react/Virtualizer.tsx:105](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L105) +[src/react/Virtualizer.tsx:105](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L105) ___ @@ -183,7 +183,7 @@ Pick.count #### Defined in -[src/react/Virtualizer.tsx:89](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L89) +[src/react/Virtualizer.tsx:89](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L89) ___ @@ -205,7 +205,7 @@ Pick.overscan #### Defined in -[src/react/Virtualizer.tsx:94](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L94) +[src/react/Virtualizer.tsx:94](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L94) ___ @@ -224,7 +224,7 @@ Pick.itemSize #### Defined in -[src/react/Virtualizer.tsx:101](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L101) +[src/react/Virtualizer.tsx:101](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L101) ___ @@ -240,7 +240,7 @@ Pick.horizontal #### Defined in -[src/react/Virtualizer.tsx:109](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L109) +[src/react/Virtualizer.tsx:109](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L109) ___ @@ -256,7 +256,7 @@ Pick.cache #### Defined in -[src/react/Virtualizer.tsx:117](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L117) +[src/react/Virtualizer.tsx:117](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L117) ___ @@ -272,7 +272,7 @@ Pick.ssrCount #### Defined in -[src/react/Virtualizer.tsx:129](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L129) +[src/react/Virtualizer.tsx:129](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L129) ___ @@ -294,7 +294,7 @@ Pick.item #### Defined in -[src/react/Virtualizer.tsx:139](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L139) +[src/react/Virtualizer.tsx:139](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L139) ___ @@ -318,7 +318,7 @@ Pick.onScrollEnd #### Defined in -[src/react/Virtualizer.tsx:152](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L152) +[src/react/Virtualizer.tsx:152](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L152) ___ @@ -349,7 +349,7 @@ Pick.onRangeChange #### Defined in -[src/react/Virtualizer.tsx:156](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L156) +[src/react/Virtualizer.tsx:156](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L156) ___ diff --git a/docs/interfaces/react.VirtualizerHandle.md b/docs/interfaces/react.VirtualizerHandle.md index d1921a36c..7cdb87218 100644 --- a/docs/interfaces/react.VirtualizerHandle.md +++ b/docs/interfaces/react.VirtualizerHandle.md @@ -46,7 +46,7 @@ Scroll to the item specified by index. #### Defined in -[src/react/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L63) +[src/react/Virtualizer.tsx:63](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L63) ___ @@ -68,7 +68,7 @@ Scroll to the given offset. #### Defined in -[src/react/Virtualizer.tsx:68](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L68) +[src/react/Virtualizer.tsx:68](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L68) ___ @@ -90,7 +90,7 @@ Scroll by the given offset. #### Defined in -[src/react/Virtualizer.tsx:73](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L73) +[src/react/Virtualizer.tsx:73](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L73) ## Properties @@ -102,7 +102,7 @@ Get current [CacheSnapshot](react.CacheSnapshot.md). #### Defined in -[src/react/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L45) +[src/react/Virtualizer.tsx:45](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L45) ___ @@ -114,7 +114,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L49) +[src/react/Virtualizer.tsx:49](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L49) ___ @@ -126,7 +126,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L53) +[src/react/Virtualizer.tsx:53](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L53) ___ @@ -138,4 +138,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/Virtualizer.tsx:57](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L57) +[src/react/Virtualizer.tsx:57](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L57) diff --git a/docs/interfaces/react.VirtualizerProps.md b/docs/interfaces/react.VirtualizerProps.md index 13b246c70..293c872e7 100644 --- a/docs/interfaces/react.VirtualizerProps.md +++ b/docs/interfaces/react.VirtualizerProps.md @@ -38,7 +38,7 @@ You can also pass a function and set [VirtualizerProps.count](react.VirtualizerP #### Defined in -[src/react/Virtualizer.tsx:85](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L85) +[src/react/Virtualizer.tsx:85](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L85) ___ @@ -50,7 +50,7 @@ If you set a function to [VirtualizerProps.children](react.VirtualizerProps.md#c #### Defined in -[src/react/Virtualizer.tsx:89](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L89) +[src/react/Virtualizer.tsx:89](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L89) ___ @@ -68,7 +68,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/react/Virtualizer.tsx:94](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L94) +[src/react/Virtualizer.tsx:94](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L94) ___ @@ -83,7 +83,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/Virtualizer.tsx:101](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L101) +[src/react/Virtualizer.tsx:101](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L101) ___ @@ -95,7 +95,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/react/Virtualizer.tsx:105](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L105) +[src/react/Virtualizer.tsx:105](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L105) ___ @@ -107,7 +107,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/Virtualizer.tsx:109](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L109) +[src/react/Virtualizer.tsx:109](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L109) ___ @@ -119,7 +119,7 @@ If true, items are aligned to the end of the list when total size of items are s #### Defined in -[src/react/Virtualizer.tsx:113](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L113) +[src/react/Virtualizer.tsx:113](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L113) ___ @@ -131,7 +131,7 @@ You can restore cache by passing a [CacheSnapshot](react.CacheSnapshot.md) on mo #### Defined in -[src/react/Virtualizer.tsx:117](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L117) +[src/react/Virtualizer.tsx:117](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L117) ___ @@ -143,7 +143,7 @@ If you put an element before virtualizer, you have to define its height with thi #### Defined in -[src/react/Virtualizer.tsx:121](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L121) +[src/react/Virtualizer.tsx:121](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L121) ___ @@ -155,7 +155,7 @@ If you put an element after virtualizer, you have to define its height with this #### Defined in -[src/react/Virtualizer.tsx:125](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L125) +[src/react/Virtualizer.tsx:125](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L125) ___ @@ -167,7 +167,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/react/Virtualizer.tsx:129](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L129) +[src/react/Virtualizer.tsx:129](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L129) ___ @@ -185,7 +185,7 @@ Component or element type for container element. #### Defined in -[src/react/Virtualizer.tsx:134](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L134) +[src/react/Virtualizer.tsx:134](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L134) ___ @@ -203,7 +203,7 @@ Component or element type for item element. This component will get [CustomItemC #### Defined in -[src/react/Virtualizer.tsx:139](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L139) +[src/react/Virtualizer.tsx:139](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L139) ___ @@ -215,7 +215,7 @@ Reference to the scrollable element. The default will get the parent element of #### Defined in -[src/react/Virtualizer.tsx:143](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L143) +[src/react/Virtualizer.tsx:143](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L143) ___ @@ -241,7 +241,7 @@ Callback invoked whenever scroll offset changes. #### Defined in -[src/react/Virtualizer.tsx:148](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L148) +[src/react/Virtualizer.tsx:148](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L148) ___ @@ -261,7 +261,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/Virtualizer.tsx:152](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L152) +[src/react/Virtualizer.tsx:152](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L152) ___ @@ -288,4 +288,4 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/Virtualizer.tsx:156](https://github.com/inokawa/virtua/blob/d32b6594/src/react/Virtualizer.tsx#L156) +[src/react/Virtualizer.tsx:156](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/Virtualizer.tsx#L156) diff --git a/docs/interfaces/react.WindowVirtualizerHandle.md b/docs/interfaces/react.WindowVirtualizerHandle.md index e826e15d3..3bcd5a4a7 100644 --- a/docs/interfaces/react.WindowVirtualizerHandle.md +++ b/docs/interfaces/react.WindowVirtualizerHandle.md @@ -20,4 +20,4 @@ Get current [CacheSnapshot](react.CacheSnapshot.md). #### Defined in -[src/react/WindowVirtualizer.tsx:40](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L40) +[src/react/WindowVirtualizer.tsx:40](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L40) diff --git a/docs/interfaces/react.WindowVirtualizerProps.md b/docs/interfaces/react.WindowVirtualizerProps.md index e714c6dad..93dec5377 100644 --- a/docs/interfaces/react.WindowVirtualizerProps.md +++ b/docs/interfaces/react.WindowVirtualizerProps.md @@ -33,7 +33,7 @@ You can also pass a function and set [WindowVirtualizerProps.count](react.Window #### Defined in -[src/react/WindowVirtualizer.tsx:52](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L52) +[src/react/WindowVirtualizer.tsx:52](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L52) ___ @@ -45,7 +45,7 @@ If you set a function to [WindowVirtualizerProps.children](react.WindowVirtualiz #### Defined in -[src/react/WindowVirtualizer.tsx:56](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L56) +[src/react/WindowVirtualizer.tsx:56](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L56) ___ @@ -63,7 +63,7 @@ Number of items to render above/below the visible bounds of the list. Lower valu #### Defined in -[src/react/WindowVirtualizer.tsx:61](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L61) +[src/react/WindowVirtualizer.tsx:61](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L61) ___ @@ -78,7 +78,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/WindowVirtualizer.tsx:68](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L68) +[src/react/WindowVirtualizer.tsx:68](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L68) ___ @@ -90,7 +90,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/react/WindowVirtualizer.tsx:72](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L72) +[src/react/WindowVirtualizer.tsx:72](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L72) ___ @@ -102,7 +102,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/WindowVirtualizer.tsx:76](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L76) +[src/react/WindowVirtualizer.tsx:76](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L76) ___ @@ -114,7 +114,7 @@ You can restore cache by passing a [CacheSnapshot](react.CacheSnapshot.md) on mo #### Defined in -[src/react/WindowVirtualizer.tsx:80](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L80) +[src/react/WindowVirtualizer.tsx:80](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L80) ___ @@ -126,7 +126,7 @@ A prop for SSR. If set, the specified amount of items will be mounted in the ini #### Defined in -[src/react/WindowVirtualizer.tsx:84](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L84) +[src/react/WindowVirtualizer.tsx:84](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L84) ___ @@ -144,7 +144,7 @@ Component or element type for container element. #### Defined in -[src/react/WindowVirtualizer.tsx:89](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L89) +[src/react/WindowVirtualizer.tsx:89](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L89) ___ @@ -162,7 +162,7 @@ Component or element type for item element. This component will get [CustomItemC #### Defined in -[src/react/WindowVirtualizer.tsx:94](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L94) +[src/react/WindowVirtualizer.tsx:94](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L94) ___ @@ -182,7 +182,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/WindowVirtualizer.tsx:98](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L98) +[src/react/WindowVirtualizer.tsx:98](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L98) ___ @@ -209,4 +209,4 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/WindowVirtualizer.tsx:102](https://github.com/inokawa/virtua/blob/d32b6594/src/react/WindowVirtualizer.tsx#L102) +[src/react/WindowVirtualizer.tsx:102](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/WindowVirtualizer.tsx#L102) diff --git a/docs/modules/react.md b/docs/modules/react.md index b62996427..faaaa3c34 100644 --- a/docs/modules/react.md +++ b/docs/modules/react.md @@ -22,16 +22,16 @@ - [VGridProps](../interfaces/react.VGridProps.md) - [VGridHandle](../interfaces/react.VGridHandle.md) - [CustomCellComponentProps](../interfaces/react.CustomCellComponentProps.md) -- [CustomItemComponentProps](../interfaces/react.CustomItemComponentProps.md) - [CustomContainerComponentProps](../interfaces/react.CustomContainerComponentProps.md) +- [CustomItemComponentProps](../interfaces/react.CustomItemComponentProps.md) ### Type Aliases - [ScrollToIndexAlign](react.md#scrolltoindexalign) - [CustomCellComponent](react.md#customcellcomponent) -- [CustomItemComponent](react.md#customitemcomponent) - [ViewportComponentAttributes](react.md#viewportcomponentattributes) - [CustomContainerComponent](react.md#customcontainercomponent) +- [CustomItemComponent](react.md#customitemcomponent) ## Functions @@ -129,7 +129,7 @@ node_modules/@types/react/index.d.ts:393 #### Defined in -[src/core/types.ts:11](https://github.com/inokawa/virtua/blob/d32b6594/src/core/types.ts#L11) +[src/core/types.ts:11](https://github.com/inokawa/virtua/blob/efa0f07c/src/core/types.ts#L11) ___ @@ -139,34 +139,34 @@ ___ #### Defined in -[src/react/VGrid.tsx:93](https://github.com/inokawa/virtua/blob/d32b6594/src/react/VGrid.tsx#L93) +[src/react/VGrid.tsx:93](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/VGrid.tsx#L93) ___ -### CustomItemComponent +### ViewportComponentAttributes -Ƭ **CustomItemComponent**: `React.ForwardRefExoticComponent`\<`React.PropsWithoutRef`\<[`CustomItemComponentProps`](../interfaces/react.CustomItemComponentProps.md)\> & `React.RefAttributes`\<`any`\>\> +Ƭ **ViewportComponentAttributes**: `Pick`\<`React.HTMLAttributes`\<`HTMLElement`\>, ``"className"`` \| ``"style"`` \| ``"id"`` \| ``"role"`` \| ``"tabIndex"`` \| ``"onKeyDown"``\> & `React.AriaAttributes` #### Defined in -[src/react/ListItem.tsx:23](https://github.com/inokawa/virtua/blob/d32b6594/src/react/ListItem.tsx#L23) +[src/react/types.ts:3](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/types.ts#L3) ___ -### ViewportComponentAttributes +### CustomContainerComponent -Ƭ **ViewportComponentAttributes**: `Pick`\<`React.HTMLAttributes`\<`HTMLElement`\>, ``"className"`` \| ``"style"`` \| ``"id"`` \| ``"role"`` \| ``"tabIndex"`` \| ``"onKeyDown"``\> & `React.AriaAttributes` +Ƭ **CustomContainerComponent**: `React.ForwardRefExoticComponent`\<`React.PropsWithoutRef`\<[`CustomContainerComponentProps`](../interfaces/react.CustomContainerComponentProps.md)\> & `React.RefAttributes`\<`any`\>\> #### Defined in -[src/react/types.ts:3](https://github.com/inokawa/virtua/blob/d32b6594/src/react/types.ts#L3) +[src/react/types.ts:14](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/types.ts#L14) ___ -### CustomContainerComponent +### CustomItemComponent -Ƭ **CustomContainerComponent**: `React.ForwardRefExoticComponent`\<`React.PropsWithoutRef`\<[`CustomContainerComponentProps`](../interfaces/react.CustomContainerComponentProps.md)\> & `React.RefAttributes`\<`any`\>\> +Ƭ **CustomItemComponent**: `React.ForwardRefExoticComponent`\<`React.PropsWithoutRef`\<[`CustomItemComponentProps`](../interfaces/react.CustomItemComponentProps.md)\> & `React.RefAttributes`\<`any`\>\> #### Defined in -[src/react/types.ts:14](https://github.com/inokawa/virtua/blob/d32b6594/src/react/types.ts#L14) +[src/react/types.ts:28](https://github.com/inokawa/virtua/blob/efa0f07c/src/react/types.ts#L28) diff --git a/package-lock.json b/package-lock.json index c2767a57e..a2bcfaff9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "virtua", - "version": "0.20.2", + "version": "0.20.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "virtua", - "version": "0.20.2", + "version": "0.20.3", "license": "MIT", "devDependencies": { "@babel/plugin-transform-react-pure-annotations": "7.23.3", diff --git a/package.json b/package.json index afb8422d4..5271dbded 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "virtua", - "version": "0.20.2", + "version": "0.20.3", "description": "A zero-config, fast and small (~3kB) virtual list (and grid) component for React and Vue.", "main": "lib/index.js", "module": "lib/index.mjs",