diff --git a/docs/API.md b/docs/API.md index 68685a540..beaf3cb37 100644 --- a/docs/API.md +++ b/docs/API.md @@ -24,7 +24,6 @@ ### Type Aliases - [ScrollToIndexAlign](API.md#scrolltoindexalign) -- [ScrollMode](API.md#scrollmode) - [CustomCellComponent](API.md#customcellcomponent) - [ViewportComponentAttributes](API.md#viewportcomponentattributes) - [CustomViewportComponent](API.md#customviewportcomponent) @@ -109,17 +108,7 @@ Alignment of item when calling scrollToIndex method. #### Defined in -[src/core/types.ts:25](https://github.com/inokawa/virtua/blob/c2ef64d1/src/core/types.ts#L25) - -___ - -### ScrollMode - -Ƭ **ScrollMode**: ``"reverse"`` \| ``"rtl"`` - -#### Defined in - -[src/react/VList.tsx:46](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L46) +[src/core/types.ts:25](https://github.com/inokawa/virtua/blob/257e20bb/src/core/types.ts#L25) ___ @@ -129,7 +118,7 @@ ___ #### Defined in -[src/react/VGrid.tsx:51](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L51) +[src/react/VGrid.tsx:52](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L52) ___ @@ -139,7 +128,7 @@ ___ #### Defined in -[src/react/Viewport.tsx:9](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/Viewport.tsx#L9) +[src/react/Viewport.tsx:9](https://github.com/inokawa/virtua/blob/257e20bb/src/react/Viewport.tsx#L9) ___ @@ -149,7 +138,7 @@ ___ #### Defined in -[src/react/Viewport.tsx:63](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/Viewport.tsx#L63) +[src/react/Viewport.tsx:63](https://github.com/inokawa/virtua/blob/257e20bb/src/react/Viewport.tsx#L63) ___ @@ -159,4 +148,4 @@ ___ #### Defined in -[src/react/ListItem.tsx:23](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/ListItem.tsx#L23) +[src/react/ListItem.tsx:24](https://github.com/inokawa/virtua/blob/257e20bb/src/react/ListItem.tsx#L24) diff --git a/docs/interfaces/CacheSnapshot.md b/docs/interfaces/CacheSnapshot.md index ada6601cc..51b35ffd7 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/c2ef64d1/src/core/types.ts#L16) +[src/core/types.ts:16](https://github.com/inokawa/virtua/blob/257e20bb/src/core/types.ts#L16) diff --git a/docs/interfaces/CustomCellComponentProps.md b/docs/interfaces/CustomCellComponentProps.md index cd216ee47..98fbe3f6d 100644 --- a/docs/interfaces/CustomCellComponentProps.md +++ b/docs/interfaces/CustomCellComponentProps.md @@ -17,7 +17,7 @@ Props of customized cell component for [VGrid](../API.md#vgrid). #### Defined in -[src/react/VGrid.tsx:47](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L47) +[src/react/VGrid.tsx:48](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L48) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/react/VGrid.tsx:48](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L48) +[src/react/VGrid.tsx:49](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L49) diff --git a/docs/interfaces/CustomItemComponentProps.md b/docs/interfaces/CustomItemComponentProps.md index ca7391fcf..592ab1a5f 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:19](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/ListItem.tsx#L19) +[src/react/ListItem.tsx:20](https://github.com/inokawa/virtua/blob/257e20bb/src/react/ListItem.tsx#L20) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/react/ListItem.tsx:20](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/ListItem.tsx#L20) +[src/react/ListItem.tsx:21](https://github.com/inokawa/virtua/blob/257e20bb/src/react/ListItem.tsx#L21) diff --git a/docs/interfaces/CustomViewportComponentProps.md b/docs/interfaces/CustomViewportComponentProps.md index 5580471aa..8085ba619 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/c2ef64d1/src/react/Viewport.tsx#L22) +[src/react/Viewport.tsx:22](https://github.com/inokawa/virtua/blob/257e20bb/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/c2ef64d1/src/react/Viewport.tsx#L26) +[src/react/Viewport.tsx:26](https://github.com/inokawa/virtua/blob/257e20bb/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/c2ef64d1/src/react/Viewport.tsx#L30) +[src/react/Viewport.tsx:30](https://github.com/inokawa/virtua/blob/257e20bb/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/c2ef64d1/src/react/Viewport.tsx#L34) +[src/react/Viewport.tsx:34](https://github.com/inokawa/virtua/blob/257e20bb/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/c2ef64d1/src/react/Viewport.tsx#L38) +[src/react/Viewport.tsx:38](https://github.com/inokawa/virtua/blob/257e20bb/src/react/Viewport.tsx#L38) diff --git a/docs/interfaces/VGridHandle.md b/docs/interfaces/VGridHandle.md index c1d6f42be..72f25a669 100644 --- a/docs/interfaces/VGridHandle.md +++ b/docs/interfaces/VGridHandle.md @@ -37,7 +37,7 @@ Scroll to the item specified by index. #### Defined in -[src/react/VGrid.tsx:171](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L171) +[src/react/VGrid.tsx:170](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L170) ___ @@ -60,7 +60,7 @@ Scroll to the given offset. #### Defined in -[src/react/VGrid.tsx:177](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L177) +[src/react/VGrid.tsx:176](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L176) ___ @@ -83,7 +83,7 @@ Scroll by the given offset. #### Defined in -[src/react/VGrid.tsx:183](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L183) +[src/react/VGrid.tsx:182](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L182) ## Properties @@ -95,7 +95,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/VGrid.tsx:157](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L157) +[src/react/VGrid.tsx:156](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L156) ___ @@ -107,7 +107,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/VGrid.tsx:161](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L161) +[src/react/VGrid.tsx:160](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L160) ___ @@ -119,4 +119,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/VGrid.tsx:165](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L165) +[src/react/VGrid.tsx:164](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L164) diff --git a/docs/interfaces/VGridProps.md b/docs/interfaces/VGridProps.md index 36558ce8a..65cecf6bb 100644 --- a/docs/interfaces/VGridProps.md +++ b/docs/interfaces/VGridProps.md @@ -20,7 +20,6 @@ Props of [VGrid](../API.md#vgrid). - [overscan](VGridProps.md#overscan) - [initialRowCount](VGridProps.md#initialrowcount) - [initialColCount](VGridProps.md#initialcolcount) -- [rtl](VGridProps.md#rtl) - [components](VGridProps.md#components) - [className](VGridProps.md#classname) - [style](VGridProps.md#style) @@ -107,7 +106,7 @@ A function to create elements rendered by this component. #### Defined in -[src/react/VGrid.tsx:193](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L193) +[src/react/VGrid.tsx:192](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L192) ___ @@ -119,7 +118,7 @@ Total row length of grid. #### Defined in -[src/react/VGrid.tsx:206](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L206) +[src/react/VGrid.tsx:205](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L205) ___ @@ -131,7 +130,7 @@ Total column length of grid. #### Defined in -[src/react/VGrid.tsx:210](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L210) +[src/react/VGrid.tsx:209](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L209) ___ @@ -147,7 +146,7 @@ Cell height hint for unmeasured items. It's recommended to specify this prop if #### Defined in -[src/react/VGrid.tsx:215](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L215) +[src/react/VGrid.tsx:214](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L214) ___ @@ -163,7 +162,7 @@ Cell width hint for unmeasured items. It's recommended to specify this prop if i #### Defined in -[src/react/VGrid.tsx:220](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L220) +[src/react/VGrid.tsx:219](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L219) ___ @@ -179,7 +178,7 @@ Number of items to render above/below the visible bounds of the grid. You can in #### Defined in -[src/react/VGrid.tsx:225](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L225) +[src/react/VGrid.tsx:224](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L224) ___ @@ -191,7 +190,7 @@ If set, the specified amount of rows will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:229](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L229) +[src/react/VGrid.tsx:228](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L228) ___ @@ -203,19 +202,7 @@ If set, the specified amount of cols will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:233](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L233) - -___ - -### rtl - -• `Optional` **rtl**: `boolean` - -You have to set true if you use this component under `direction: rtl` style. - -#### Defined in - -[src/react/VGrid.tsx:237](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L237) +[src/react/VGrid.tsx:232](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L232) ___ @@ -234,7 +221,7 @@ Customized components for advanced usage. #### Defined in -[src/react/VGrid.tsx:241](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VGrid.tsx#L241) +[src/react/VGrid.tsx:236](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VGrid.tsx#L236) ___ diff --git a/docs/interfaces/VListHandle.md b/docs/interfaces/VListHandle.md index 753462952..980b1bfa5 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:77](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L77) +[src/react/VList.tsx:75](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L75) ___ @@ -60,7 +60,7 @@ Scroll to the given offset. #### Defined in -[src/react/VList.tsx:82](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L82) +[src/react/VList.tsx:80](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L80) ___ @@ -82,7 +82,7 @@ Scroll by the given offset. #### Defined in -[src/react/VList.tsx:87](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L87) +[src/react/VList.tsx:85](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L85) ## Properties @@ -94,7 +94,7 @@ Get current [CacheSnapshot](CacheSnapshot.md). #### Defined in -[src/react/VList.tsx:59](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L59) +[src/react/VList.tsx:57](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L57) ___ @@ -106,7 +106,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/VList.tsx:63](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L63) +[src/react/VList.tsx:61](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L61) ___ @@ -118,7 +118,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/VList.tsx:67](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L67) +[src/react/VList.tsx:65](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L65) ___ @@ -130,4 +130,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/VList.tsx:71](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L71) +[src/react/VList.tsx:69](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L69) diff --git a/docs/interfaces/VListProps.md b/docs/interfaces/VListProps.md index 8e6fe8082..d5d13cc17 100644 --- a/docs/interfaces/VListProps.md +++ b/docs/interfaces/VListProps.md @@ -18,7 +18,7 @@ Props of [VList](../API.md#vlist). - [initialItemCount](VListProps.md#initialitemcount) - [shift](VListProps.md#shift) - [horizontal](VListProps.md#horizontal) -- [mode](VListProps.md#mode) +- [reverse](VListProps.md#reverse) - [cache](VListProps.md#cache) - [components](VListProps.md#components) - [onScroll](VListProps.md#onscroll) @@ -93,7 +93,7 @@ Elements rendered by this component. #### Defined in -[src/react/VList.tsx:97](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L97) +[src/react/VList.tsx:95](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L95) ___ @@ -109,7 +109,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/react/VList.tsx:102](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L102) +[src/react/VList.tsx:100](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L100) ___ @@ -124,7 +124,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/VList.tsx:109](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L109) +[src/react/VList.tsx:107](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L107) ___ @@ -136,7 +136,7 @@ If set, the specified amount of items will be mounted in the initial rendering r #### Defined in -[src/react/VList.tsx:113](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L113) +[src/react/VList.tsx:111](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L111) ___ @@ -148,7 +148,7 @@ While true is set, scroll position will be maintained from the end not usual sta #### Defined in -[src/react/VList.tsx:117](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L117) +[src/react/VList.tsx:115](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L115) ___ @@ -160,22 +160,19 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/VList.tsx:121](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L121) +[src/react/VList.tsx:119](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L119) ___ -### mode +### reverse -• `Optional` **mode**: [`ScrollMode`](../API.md#scrollmode) +• `Optional` **reverse**: `boolean` -Scroll modes that should be set in certain situations. - -- `reverse`: This mode will adjust some styles to be suitable for bottom-to-top scrolling. -- `rtl`: You have to set this mode if you use this component under `direction: rtl` style. +If true, some styles will be adjusted to be suitable for bottom-to-top scrolling. #### Defined in -[src/react/VList.tsx:128](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L128) +[src/react/VList.tsx:123](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L123) ___ @@ -187,7 +184,7 @@ You can restore cache by passing a [CacheSnapshot](CacheSnapshot.md) on mount. T #### Defined in -[src/react/VList.tsx:132](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L132) +[src/react/VList.tsx:127](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L127) ___ @@ -206,7 +203,7 @@ Customized components for advanced usage. #### Defined in -[src/react/VList.tsx:136](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L136) +[src/react/VList.tsx:131](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L131) ___ @@ -232,7 +229,7 @@ Callback invoked whenever scroll offset changes. #### Defined in -[src/react/VList.tsx:152](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L152) +[src/react/VList.tsx:147](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L147) ___ @@ -252,7 +249,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/VList.tsx:156](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L156) +[src/react/VList.tsx:151](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L151) ___ @@ -279,7 +276,7 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/VList.tsx:160](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/VList.tsx#L160) +[src/react/VList.tsx:155](https://github.com/inokawa/virtua/blob/257e20bb/src/react/VList.tsx#L155) ___ diff --git a/docs/interfaces/WVListHandle.md b/docs/interfaces/WVListHandle.md index bb361251d..43ccb6260 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:55](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/WVList.tsx#L55) +[src/react/WVList.tsx:55](https://github.com/inokawa/virtua/blob/257e20bb/src/react/WVList.tsx#L55) diff --git a/docs/interfaces/WVListProps.md b/docs/interfaces/WVListProps.md index ca1e46402..4c2647174 100644 --- a/docs/interfaces/WVListProps.md +++ b/docs/interfaces/WVListProps.md @@ -90,7 +90,7 @@ Elements rendered by this component. #### Defined in -[src/react/WVList.tsx:65](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/WVList.tsx#L65) +[src/react/WVList.tsx:65](https://github.com/inokawa/virtua/blob/257e20bb/src/react/WVList.tsx#L65) ___ @@ -106,7 +106,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/react/WVList.tsx:70](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/WVList.tsx#L70) +[src/react/WVList.tsx:70](https://github.com/inokawa/virtua/blob/257e20bb/src/react/WVList.tsx#L70) ___ @@ -121,7 +121,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/WVList.tsx:77](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/WVList.tsx#L77) +[src/react/WVList.tsx:77](https://github.com/inokawa/virtua/blob/257e20bb/src/react/WVList.tsx#L77) ___ @@ -133,7 +133,7 @@ If set, the specified amount of items will be mounted in the initial rendering r #### Defined in -[src/react/WVList.tsx:81](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/WVList.tsx#L81) +[src/react/WVList.tsx:81](https://github.com/inokawa/virtua/blob/257e20bb/src/react/WVList.tsx#L81) ___ @@ -145,7 +145,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/WVList.tsx:85](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/WVList.tsx#L85) +[src/react/WVList.tsx:85](https://github.com/inokawa/virtua/blob/257e20bb/src/react/WVList.tsx#L85) ___ @@ -157,7 +157,7 @@ You can restore cache by passing a [CacheSnapshot](CacheSnapshot.md) on mount. T #### Defined in -[src/react/WVList.tsx:89](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/WVList.tsx#L89) +[src/react/WVList.tsx:89](https://github.com/inokawa/virtua/blob/257e20bb/src/react/WVList.tsx#L89) ___ @@ -176,7 +176,7 @@ Customized components for advanced usage. #### Defined in -[src/react/WVList.tsx:93](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/WVList.tsx#L93) +[src/react/WVList.tsx:93](https://github.com/inokawa/virtua/blob/257e20bb/src/react/WVList.tsx#L93) ___ @@ -196,7 +196,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/WVList.tsx:108](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/WVList.tsx#L108) +[src/react/WVList.tsx:108](https://github.com/inokawa/virtua/blob/257e20bb/src/react/WVList.tsx#L108) ___ @@ -223,7 +223,7 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/WVList.tsx:112](https://github.com/inokawa/virtua/blob/c2ef64d1/src/react/WVList.tsx#L112) +[src/react/WVList.tsx:112](https://github.com/inokawa/virtua/blob/257e20bb/src/react/WVList.tsx#L112) ___ diff --git a/package-lock.json b/package-lock.json index 492e9e970..c9b353957 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "virtua", - "version": "0.11.0", + "version": "0.12.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "virtua", - "version": "0.11.0", + "version": "0.12.0", "license": "MIT", "devDependencies": { "@babel/plugin-transform-react-pure-annotations": "7.22.5", diff --git a/package.json b/package.json index d97a45e39..0835db2ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "virtua", - "version": "0.11.0", + "version": "0.12.0", "description": "A zero-config, fast and small (~3kB) virtual list and grid component for React.", "main": "lib/index.js", "module": "lib/index.mjs",