diff --git a/docs/API.md b/docs/API.md index 85a2f596c..5b934b1b9 100644 --- a/docs/API.md +++ b/docs/API.md @@ -5,8 +5,8 @@ ### Functions - [VList](API.md#vlist) -- [VGrid](API.md#vgrid) - [WVList](API.md#wvlist) +- [experimental\_VGrid](API.md#experimental_vgrid) ### Interfaces @@ -14,11 +14,11 @@ - [ScrollToIndexOpts](interfaces/ScrollToIndexOpts.md) - [VListProps](interfaces/VListProps.md) - [VListHandle](interfaces/VListHandle.md) +- [WVListProps](interfaces/WVListProps.md) +- [WVListHandle](interfaces/WVListHandle.md) - [VGridProps](interfaces/VGridProps.md) - [VGridHandle](interfaces/VGridHandle.md) - [CustomCellComponentProps](interfaces/CustomCellComponentProps.md) -- [WVListProps](interfaces/WVListProps.md) -- [WVListHandle](interfaces/WVListHandle.md) - [CustomViewportComponentProps](interfaces/CustomViewportComponentProps.md) - [CustomItemComponentProps](interfaces/CustomItemComponentProps.md) @@ -54,17 +54,17 @@ node_modules/@types/react/index.d.ts:395 ___ -### VGrid +### WVList -▸ **VGrid**(`props`): `ReactNode` +▸ **WVList**(`props`): `ReactNode` -Virtualized grid component. See [VGridProps](interfaces/VGridProps.md) and [VGridHandle](interfaces/VGridHandle.md). +Virtualized list component controlled by the window scrolling. See [WVListProps](interfaces/WVListProps.md) and [WVListHandle](interfaces/WVListHandle.md). #### Parameters | Name | Type | | :------ | :------ | -| `props` | [`VGridProps`](interfaces/VGridProps.md) & `RefAttributes`<[`VGridHandle`](interfaces/VGridHandle.md)\> | +| `props` | [`WVListProps`](interfaces/WVListProps.md) & `RefAttributes`<[`WVListHandle`](interfaces/WVListHandle.md)\> | #### Returns @@ -76,17 +76,17 @@ node_modules/@types/react/index.d.ts:395 ___ -### WVList +### experimental\_VGrid -▸ **WVList**(`props`): `ReactNode` +▸ **experimental_VGrid**(`props`): `ReactNode` -Virtualized list component controlled by the window scrolling. See [WVListProps](interfaces/WVListProps.md) and [WVListHandle](interfaces/WVListHandle.md). +Virtualized grid component. See [VGridProps](interfaces/VGridProps.md) and [VGridHandle](interfaces/VGridHandle.md). #### Parameters | Name | Type | | :------ | :------ | -| `props` | [`WVListProps`](interfaces/WVListProps.md) & `RefAttributes`<[`WVListHandle`](interfaces/WVListHandle.md)\> | +| `props` | [`VGridProps`](interfaces/VGridProps.md) & `RefAttributes`<[`VGridHandle`](interfaces/VGridHandle.md)\> | #### Returns @@ -104,7 +104,7 @@ node_modules/@types/react/index.d.ts:395 #### Defined in -[src/core/types.ts:19](https://github.com/inokawa/virtua/blob/187dff7d/src/core/types.ts#L19) +[src/core/types.ts:19](https://github.com/inokawa/virtua/blob/3cb05164/src/core/types.ts#L19) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/react/VGrid.tsx:49](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L49) +[src/react/VGrid.tsx:49](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L49) ___ @@ -124,7 +124,7 @@ ___ #### Defined in -[src/react/Viewport.tsx:9](https://github.com/inokawa/virtua/blob/187dff7d/src/react/Viewport.tsx#L9) +[src/react/Viewport.tsx:9](https://github.com/inokawa/virtua/blob/3cb05164/src/react/Viewport.tsx#L9) ___ @@ -134,7 +134,7 @@ ___ #### Defined in -[src/react/Viewport.tsx:63](https://github.com/inokawa/virtua/blob/187dff7d/src/react/Viewport.tsx#L63) +[src/react/Viewport.tsx:63](https://github.com/inokawa/virtua/blob/3cb05164/src/react/Viewport.tsx#L63) ___ @@ -144,4 +144,4 @@ ___ #### Defined in -[src/react/ListItem.tsx:22](https://github.com/inokawa/virtua/blob/187dff7d/src/react/ListItem.tsx#L22) +[src/react/ListItem.tsx:22](https://github.com/inokawa/virtua/blob/3cb05164/src/react/ListItem.tsx#L22) diff --git a/docs/interfaces/CacheSnapshot.md b/docs/interfaces/CacheSnapshot.md index b1f2aabaf..bcbe8ce41 100644 --- a/docs/interfaces/CacheSnapshot.md +++ b/docs/interfaces/CacheSnapshot.md @@ -18,4 +18,4 @@ Serializable cache snapshot. #### Defined in -[src/core/types.ts:16](https://github.com/inokawa/virtua/blob/187dff7d/src/core/types.ts#L16) +[src/core/types.ts:16](https://github.com/inokawa/virtua/blob/3cb05164/src/core/types.ts#L16) diff --git a/docs/interfaces/CustomCellComponentProps.md b/docs/interfaces/CustomCellComponentProps.md index 1a4c642de..f88a6d647 100644 --- a/docs/interfaces/CustomCellComponentProps.md +++ b/docs/interfaces/CustomCellComponentProps.md @@ -1,6 +1,6 @@ # Interface: CustomCellComponentProps -Props of customized cell component for [VGrid](../API.md#vgrid). +Props of customized cell component for [experimental_VGrid](../API.md#experimental_vgrid). ## Table of contents @@ -17,7 +17,7 @@ Props of customized cell component for [VGrid](../API.md#vgrid). #### Defined in -[src/react/VGrid.tsx:45](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L45) +[src/react/VGrid.tsx:45](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L45) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/react/VGrid.tsx:46](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L46) +[src/react/VGrid.tsx:46](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L46) diff --git a/docs/interfaces/CustomItemComponentProps.md b/docs/interfaces/CustomItemComponentProps.md index 7de817ec0..b008097a7 100644 --- a/docs/interfaces/CustomItemComponentProps.md +++ b/docs/interfaces/CustomItemComponentProps.md @@ -17,7 +17,7 @@ Props of customized item component for [VList](../API.md#vlist). #### Defined in -[src/react/ListItem.tsx:18](https://github.com/inokawa/virtua/blob/187dff7d/src/react/ListItem.tsx#L18) +[src/react/ListItem.tsx:18](https://github.com/inokawa/virtua/blob/3cb05164/src/react/ListItem.tsx#L18) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/react/ListItem.tsx:19](https://github.com/inokawa/virtua/blob/187dff7d/src/react/ListItem.tsx#L19) +[src/react/ListItem.tsx:19](https://github.com/inokawa/virtua/blob/3cb05164/src/react/ListItem.tsx#L19) diff --git a/docs/interfaces/CustomViewportComponentProps.md b/docs/interfaces/CustomViewportComponentProps.md index a03a09ba0..c725924f1 100644 --- a/docs/interfaces/CustomViewportComponentProps.md +++ b/docs/interfaces/CustomViewportComponentProps.md @@ -22,7 +22,7 @@ Renderable item elements. #### Defined in -[src/react/Viewport.tsx:22](https://github.com/inokawa/virtua/blob/187dff7d/src/react/Viewport.tsx#L22) +[src/react/Viewport.tsx:22](https://github.com/inokawa/virtua/blob/3cb05164/src/react/Viewport.tsx#L22) ___ @@ -34,7 +34,7 @@ Attributes that should be passed to the scrollable element. #### Defined in -[src/react/Viewport.tsx:26](https://github.com/inokawa/virtua/blob/187dff7d/src/react/Viewport.tsx#L26) +[src/react/Viewport.tsx:26](https://github.com/inokawa/virtua/blob/3cb05164/src/react/Viewport.tsx#L26) ___ @@ -46,7 +46,7 @@ Total height of items. It's undefined if component is not vertically scrollable. #### Defined in -[src/react/Viewport.tsx:30](https://github.com/inokawa/virtua/blob/187dff7d/src/react/Viewport.tsx#L30) +[src/react/Viewport.tsx:30](https://github.com/inokawa/virtua/blob/3cb05164/src/react/Viewport.tsx#L30) ___ @@ -58,7 +58,7 @@ Total width of items. It's undefined if component is not horizontally scrollable #### Defined in -[src/react/Viewport.tsx:34](https://github.com/inokawa/virtua/blob/187dff7d/src/react/Viewport.tsx#L34) +[src/react/Viewport.tsx:34](https://github.com/inokawa/virtua/blob/3cb05164/src/react/Viewport.tsx#L34) ___ @@ -70,4 +70,4 @@ Currently component is scrolling or not. #### Defined in -[src/react/Viewport.tsx:38](https://github.com/inokawa/virtua/blob/187dff7d/src/react/Viewport.tsx#L38) +[src/react/Viewport.tsx:38](https://github.com/inokawa/virtua/blob/3cb05164/src/react/Viewport.tsx#L38) diff --git a/docs/interfaces/ScrollToIndexOpts.md b/docs/interfaces/ScrollToIndexOpts.md index ebc114cdb..edd8baa2c 100644 --- a/docs/interfaces/ScrollToIndexOpts.md +++ b/docs/interfaces/ScrollToIndexOpts.md @@ -22,7 +22,7 @@ Alignment of item. #### Defined in -[src/core/types.ts:30](https://github.com/inokawa/virtua/blob/187dff7d/src/core/types.ts#L30) +[src/core/types.ts:30](https://github.com/inokawa/virtua/blob/3cb05164/src/core/types.ts#L30) ___ @@ -36,4 +36,4 @@ If true, scrolling animates smoothly with [`behavior: smooth` of scrollTo](https #### Defined in -[src/core/types.ts:36](https://github.com/inokawa/virtua/blob/187dff7d/src/core/types.ts#L36) +[src/core/types.ts:36](https://github.com/inokawa/virtua/blob/3cb05164/src/core/types.ts#L36) diff --git a/docs/interfaces/VGridHandle.md b/docs/interfaces/VGridHandle.md index fff5e3834..5171ec880 100644 --- a/docs/interfaces/VGridHandle.md +++ b/docs/interfaces/VGridHandle.md @@ -1,6 +1,6 @@ # Interface: VGridHandle -Methods of [VGrid](../API.md#vgrid). +Methods of [experimental_VGrid](../API.md#experimental_vgrid). ## Table of contents @@ -37,7 +37,7 @@ Scroll to the item specified by index. #### Defined in -[src/react/VGrid.tsx:136](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L136) +[src/react/VGrid.tsx:136](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L136) ___ @@ -60,7 +60,7 @@ Scroll to the given offset. #### Defined in -[src/react/VGrid.tsx:142](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L142) +[src/react/VGrid.tsx:142](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L142) ___ @@ -83,7 +83,7 @@ Scroll by the given offset. #### Defined in -[src/react/VGrid.tsx:148](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L148) +[src/react/VGrid.tsx:148](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L148) ## Properties @@ -95,7 +95,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/VGrid.tsx:122](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L122) +[src/react/VGrid.tsx:122](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L122) ___ @@ -107,7 +107,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/VGrid.tsx:126](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L126) +[src/react/VGrid.tsx:126](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L126) ___ @@ -119,4 +119,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/VGrid.tsx:130](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L130) +[src/react/VGrid.tsx:130](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L130) diff --git a/docs/interfaces/VGridProps.md b/docs/interfaces/VGridProps.md index ed821a832..237a33152 100644 --- a/docs/interfaces/VGridProps.md +++ b/docs/interfaces/VGridProps.md @@ -1,6 +1,6 @@ # Interface: VGridProps -Props of [VGrid](../API.md#vgrid). +Props of [experimental_VGrid](../API.md#experimental_vgrid). ## Hierarchy @@ -107,7 +107,7 @@ A function to create elements rendered by this component. #### Defined in -[src/react/VGrid.tsx:158](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L158) +[src/react/VGrid.tsx:158](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L158) ___ @@ -119,7 +119,7 @@ Total row length of grid. #### Defined in -[src/react/VGrid.tsx:171](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L171) +[src/react/VGrid.tsx:171](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L171) ___ @@ -131,7 +131,7 @@ Total column length of grid. #### Defined in -[src/react/VGrid.tsx:175](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L175) +[src/react/VGrid.tsx:175](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L175) ___ @@ -147,7 +147,7 @@ Cell height hint for unmeasured items. It's recommended to specify this prop if #### Defined in -[src/react/VGrid.tsx:180](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L180) +[src/react/VGrid.tsx:180](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L180) ___ @@ -163,7 +163,7 @@ Cell width hint for unmeasured items. It's recommended to specify this prop if i #### Defined in -[src/react/VGrid.tsx:185](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L185) +[src/react/VGrid.tsx:185](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L185) ___ @@ -179,7 +179,7 @@ Number of items to render above/below the visible bounds of the grid. You can in #### Defined in -[src/react/VGrid.tsx:190](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L190) +[src/react/VGrid.tsx:190](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L190) ___ @@ -191,7 +191,7 @@ If set, the specified amount of rows will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:194](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L194) +[src/react/VGrid.tsx:194](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L194) ___ @@ -203,7 +203,7 @@ If set, the specified amount of cols will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:198](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L198) +[src/react/VGrid.tsx:198](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L198) ___ @@ -222,7 +222,7 @@ Customized components for advanced usage. #### Defined in -[src/react/VGrid.tsx:202](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VGrid.tsx#L202) +[src/react/VGrid.tsx:202](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VGrid.tsx#L202) ___ diff --git a/docs/interfaces/VListHandle.md b/docs/interfaces/VListHandle.md index e50af632f..94844e336 100644 --- a/docs/interfaces/VListHandle.md +++ b/docs/interfaces/VListHandle.md @@ -38,7 +38,7 @@ Scroll to the item specified by index. #### Defined in -[src/react/VList.tsx:73](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L73) +[src/react/VList.tsx:73](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L73) ___ @@ -60,7 +60,7 @@ Scroll to the given offset. #### Defined in -[src/react/VList.tsx:78](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L78) +[src/react/VList.tsx:78](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L78) ___ @@ -82,7 +82,7 @@ Scroll by the given offset. #### Defined in -[src/react/VList.tsx:83](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L83) +[src/react/VList.tsx:83](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L83) ## Properties @@ -94,7 +94,7 @@ Get current [CacheSnapshot](CacheSnapshot.md). #### Defined in -[src/react/VList.tsx:55](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L55) +[src/react/VList.tsx:55](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L55) ___ @@ -106,7 +106,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/VList.tsx:59](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L59) +[src/react/VList.tsx:59](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L59) ___ @@ -118,7 +118,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/VList.tsx:63](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L63) +[src/react/VList.tsx:63](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L63) ___ @@ -130,4 +130,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/VList.tsx:67](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L67) +[src/react/VList.tsx:67](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L67) diff --git a/docs/interfaces/VListProps.md b/docs/interfaces/VListProps.md index 448625a41..cc9724072 100644 --- a/docs/interfaces/VListProps.md +++ b/docs/interfaces/VListProps.md @@ -94,7 +94,7 @@ Elements rendered by this component. #### Defined in -[src/react/VList.tsx:93](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L93) +[src/react/VList.tsx:93](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L93) ___ @@ -110,7 +110,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/react/VList.tsx:98](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L98) +[src/react/VList.tsx:98](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L98) ___ @@ -125,7 +125,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/VList.tsx:105](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L105) +[src/react/VList.tsx:105](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L105) ___ @@ -137,7 +137,7 @@ If set, the specified amount of items will be mounted in the initial rendering r #### Defined in -[src/react/VList.tsx:109](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L109) +[src/react/VList.tsx:109](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L109) ___ @@ -149,7 +149,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/react/VList.tsx:113](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L113) +[src/react/VList.tsx:113](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L113) ___ @@ -161,7 +161,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/VList.tsx:117](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L117) +[src/react/VList.tsx:117](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L117) ___ @@ -173,7 +173,7 @@ If true, some styles will be adjusted to be suitable for bottom-to-top scrolling #### Defined in -[src/react/VList.tsx:121](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L121) +[src/react/VList.tsx:121](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L121) ___ @@ -185,7 +185,7 @@ You can restore cache by passing a [CacheSnapshot](CacheSnapshot.md) on mount. T #### Defined in -[src/react/VList.tsx:125](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L125) +[src/react/VList.tsx:125](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L125) ___ @@ -204,7 +204,7 @@ Customized components for advanced usage. #### Defined in -[src/react/VList.tsx:129](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L129) +[src/react/VList.tsx:129](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L129) ___ @@ -230,7 +230,7 @@ Callback invoked whenever scroll offset changes. #### Defined in -[src/react/VList.tsx:145](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L145) +[src/react/VList.tsx:145](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L145) ___ @@ -250,7 +250,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/VList.tsx:149](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L149) +[src/react/VList.tsx:149](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L149) ___ @@ -277,7 +277,7 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/VList.tsx:153](https://github.com/inokawa/virtua/blob/187dff7d/src/react/VList.tsx#L153) +[src/react/VList.tsx:153](https://github.com/inokawa/virtua/blob/3cb05164/src/react/VList.tsx#L153) ___ diff --git a/docs/interfaces/WVListHandle.md b/docs/interfaces/WVListHandle.md index c25cdb689..e4cd197a8 100644 --- a/docs/interfaces/WVListHandle.md +++ b/docs/interfaces/WVListHandle.md @@ -18,4 +18,4 @@ Get current [CacheSnapshot](CacheSnapshot.md). #### Defined in -[src/react/WVList.tsx:54](https://github.com/inokawa/virtua/blob/187dff7d/src/react/WVList.tsx#L54) +[src/react/WVList.tsx:54](https://github.com/inokawa/virtua/blob/3cb05164/src/react/WVList.tsx#L54) diff --git a/docs/interfaces/WVListProps.md b/docs/interfaces/WVListProps.md index 1704e2237..aa1c3fb66 100644 --- a/docs/interfaces/WVListProps.md +++ b/docs/interfaces/WVListProps.md @@ -91,7 +91,7 @@ Elements rendered by this component. #### Defined in -[src/react/WVList.tsx:64](https://github.com/inokawa/virtua/blob/187dff7d/src/react/WVList.tsx#L64) +[src/react/WVList.tsx:64](https://github.com/inokawa/virtua/blob/3cb05164/src/react/WVList.tsx#L64) ___ @@ -107,7 +107,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/react/WVList.tsx:69](https://github.com/inokawa/virtua/blob/187dff7d/src/react/WVList.tsx#L69) +[src/react/WVList.tsx:69](https://github.com/inokawa/virtua/blob/3cb05164/src/react/WVList.tsx#L69) ___ @@ -122,7 +122,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/WVList.tsx:76](https://github.com/inokawa/virtua/blob/187dff7d/src/react/WVList.tsx#L76) +[src/react/WVList.tsx:76](https://github.com/inokawa/virtua/blob/3cb05164/src/react/WVList.tsx#L76) ___ @@ -134,7 +134,7 @@ If set, the specified amount of items will be mounted in the initial rendering r #### Defined in -[src/react/WVList.tsx:80](https://github.com/inokawa/virtua/blob/187dff7d/src/react/WVList.tsx#L80) +[src/react/WVList.tsx:80](https://github.com/inokawa/virtua/blob/3cb05164/src/react/WVList.tsx#L80) ___ @@ -146,7 +146,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/WVList.tsx:84](https://github.com/inokawa/virtua/blob/187dff7d/src/react/WVList.tsx#L84) +[src/react/WVList.tsx:84](https://github.com/inokawa/virtua/blob/3cb05164/src/react/WVList.tsx#L84) ___ @@ -158,7 +158,7 @@ You can restore cache by passing a [CacheSnapshot](CacheSnapshot.md) on mount. T #### Defined in -[src/react/WVList.tsx:88](https://github.com/inokawa/virtua/blob/187dff7d/src/react/WVList.tsx#L88) +[src/react/WVList.tsx:88](https://github.com/inokawa/virtua/blob/3cb05164/src/react/WVList.tsx#L88) ___ @@ -177,7 +177,7 @@ Customized components for advanced usage. #### Defined in -[src/react/WVList.tsx:92](https://github.com/inokawa/virtua/blob/187dff7d/src/react/WVList.tsx#L92) +[src/react/WVList.tsx:92](https://github.com/inokawa/virtua/blob/3cb05164/src/react/WVList.tsx#L92) ___ @@ -197,7 +197,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/WVList.tsx:107](https://github.com/inokawa/virtua/blob/187dff7d/src/react/WVList.tsx#L107) +[src/react/WVList.tsx:107](https://github.com/inokawa/virtua/blob/3cb05164/src/react/WVList.tsx#L107) ___ @@ -224,7 +224,7 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/WVList.tsx:111](https://github.com/inokawa/virtua/blob/187dff7d/src/react/WVList.tsx#L111) +[src/react/WVList.tsx:111](https://github.com/inokawa/virtua/blob/3cb05164/src/react/WVList.tsx#L111) ___ diff --git a/package-lock.json b/package-lock.json index 5861ca211..5ad2eb514 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "virtua", - "version": "0.15.7", + "version": "0.16.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "virtua", - "version": "0.15.7", + "version": "0.16.0", "license": "MIT", "devDependencies": { "@babel/plugin-transform-react-pure-annotations": "7.22.5", diff --git a/package.json b/package.json index b24afde9e..a51697a8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "virtua", - "version": "0.15.7", + "version": "0.16.0", "description": "A zero-config, fast and small (~3kB) virtual list (and grid) component for React.", "main": "lib/index.js", "module": "lib/index.mjs",