diff --git a/docs/API.md b/docs/API.md index e5e44b1c1..140eca6f0 100644 --- a/docs/API.md +++ b/docs/API.md @@ -77,7 +77,7 @@ node_modules/@types/react/index.d.ts:386 #### Defined in -[src/react/VList.tsx:151](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L151) +[src/react/VList.tsx:151](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L151) ___ @@ -87,7 +87,7 @@ ___ #### Defined in -[src/react/VList.tsx:32](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L32) +[src/react/VList.tsx:32](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L32) ___ @@ -97,7 +97,7 @@ ___ #### Defined in -[src/react/VGrid.tsx:38](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L38) +[src/react/VGrid.tsx:38](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L38) ___ @@ -107,7 +107,7 @@ ___ #### Defined in -[src/react/DefaultWindow.tsx:9](https://github.com/inokawa/virtua/blob/57416e5/src/react/DefaultWindow.tsx#L9) +[src/react/DefaultWindow.tsx:9](https://github.com/inokawa/virtua/blob/bed6259/src/react/DefaultWindow.tsx#L9) ___ @@ -117,4 +117,4 @@ ___ #### Defined in -[src/react/DefaultWindow.tsx:63](https://github.com/inokawa/virtua/blob/57416e5/src/react/DefaultWindow.tsx#L63) +[src/react/DefaultWindow.tsx:63](https://github.com/inokawa/virtua/blob/bed6259/src/react/DefaultWindow.tsx#L63) diff --git a/docs/interfaces/CustomCellComponentProps.md b/docs/interfaces/CustomCellComponentProps.md index 6037fd66f..8bceb2888 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:34](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L34) +[src/react/VGrid.tsx:34](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L34) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/react/VGrid.tsx:35](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L35) +[src/react/VGrid.tsx:35](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L35) diff --git a/docs/interfaces/CustomItemComponentProps.md b/docs/interfaces/CustomItemComponentProps.md index 523ea3249..cde0b4a17 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/VList.tsx:147](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L147) +[src/react/VList.tsx:147](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L147) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/react/VList.tsx:148](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L148) +[src/react/VList.tsx:148](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L148) diff --git a/docs/interfaces/CustomWindowComponentProps.md b/docs/interfaces/CustomWindowComponentProps.md index 77902b31f..fee9d54e9 100644 --- a/docs/interfaces/CustomWindowComponentProps.md +++ b/docs/interfaces/CustomWindowComponentProps.md @@ -22,7 +22,7 @@ Renderable item elements. #### Defined in -[src/react/DefaultWindow.tsx:22](https://github.com/inokawa/virtua/blob/57416e5/src/react/DefaultWindow.tsx#L22) +[src/react/DefaultWindow.tsx:22](https://github.com/inokawa/virtua/blob/bed6259/src/react/DefaultWindow.tsx#L22) ___ @@ -34,7 +34,7 @@ Attributes that should be passed to the scrollable element. #### Defined in -[src/react/DefaultWindow.tsx:26](https://github.com/inokawa/virtua/blob/57416e5/src/react/DefaultWindow.tsx#L26) +[src/react/DefaultWindow.tsx:26](https://github.com/inokawa/virtua/blob/bed6259/src/react/DefaultWindow.tsx#L26) ___ @@ -46,7 +46,7 @@ Total height of items. It's undefined if component is not vertically scrollable. #### Defined in -[src/react/DefaultWindow.tsx:30](https://github.com/inokawa/virtua/blob/57416e5/src/react/DefaultWindow.tsx#L30) +[src/react/DefaultWindow.tsx:30](https://github.com/inokawa/virtua/blob/bed6259/src/react/DefaultWindow.tsx#L30) ___ @@ -58,7 +58,7 @@ Total width of items. It's undefined if component is not horizontally scrollable #### Defined in -[src/react/DefaultWindow.tsx:34](https://github.com/inokawa/virtua/blob/57416e5/src/react/DefaultWindow.tsx#L34) +[src/react/DefaultWindow.tsx:34](https://github.com/inokawa/virtua/blob/bed6259/src/react/DefaultWindow.tsx#L34) ___ @@ -70,4 +70,4 @@ Currently component is scrolling or not. #### Defined in -[src/react/DefaultWindow.tsx:38](https://github.com/inokawa/virtua/blob/57416e5/src/react/DefaultWindow.tsx#L38) +[src/react/DefaultWindow.tsx:38](https://github.com/inokawa/virtua/blob/bed6259/src/react/DefaultWindow.tsx#L38) diff --git a/docs/interfaces/VGridHandle.md b/docs/interfaces/VGridHandle.md index 4296b4900..b3315d96e 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:202](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L202) +[src/react/VGrid.tsx:202](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L202) ___ @@ -60,7 +60,7 @@ Scroll to the given offset. #### Defined in -[src/react/VGrid.tsx:208](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L208) +[src/react/VGrid.tsx:208](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L208) ___ @@ -83,7 +83,7 @@ Scroll by the given offset. #### Defined in -[src/react/VGrid.tsx:214](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L214) +[src/react/VGrid.tsx:214](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L214) ## Properties @@ -95,7 +95,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/VGrid.tsx:188](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L188) +[src/react/VGrid.tsx:188](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L188) ___ @@ -107,7 +107,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/VGrid.tsx:192](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L192) +[src/react/VGrid.tsx:192](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L192) ___ @@ -119,4 +119,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/VGrid.tsx:196](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L196) +[src/react/VGrid.tsx:196](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L196) diff --git a/docs/interfaces/VGridProps.md b/docs/interfaces/VGridProps.md index 3a894217b..d80c11790 100644 --- a/docs/interfaces/VGridProps.md +++ b/docs/interfaces/VGridProps.md @@ -108,7 +108,7 @@ A function to create elements rendered by this component. #### Defined in -[src/react/VGrid.tsx:224](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L224) +[src/react/VGrid.tsx:224](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L224) ___ @@ -120,7 +120,7 @@ Total row length of grid. #### Defined in -[src/react/VGrid.tsx:237](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L237) +[src/react/VGrid.tsx:237](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L237) ___ @@ -132,7 +132,7 @@ Total column length of grid. #### Defined in -[src/react/VGrid.tsx:241](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L241) +[src/react/VGrid.tsx:241](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L241) ___ @@ -148,7 +148,7 @@ Cell height hint for unmeasured items. It's recommended to specify this prop if #### Defined in -[src/react/VGrid.tsx:246](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L246) +[src/react/VGrid.tsx:246](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L246) ___ @@ -164,7 +164,7 @@ Cell width hint for unmeasured items. It's recommended to specify this prop if i #### Defined in -[src/react/VGrid.tsx:251](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L251) +[src/react/VGrid.tsx:251](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L251) ___ @@ -180,7 +180,7 @@ Number of items to render above/below the visible bounds of the grid. You can in #### Defined in -[src/react/VGrid.tsx:256](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L256) +[src/react/VGrid.tsx:256](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L256) ___ @@ -192,7 +192,7 @@ If set, the specified amount of rows will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:260](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L260) +[src/react/VGrid.tsx:260](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L260) ___ @@ -204,7 +204,7 @@ If set, the specified amount of cols will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:264](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L264) +[src/react/VGrid.tsx:264](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L264) ___ @@ -216,7 +216,7 @@ You have to set true if you use this component under `direction: rtl` style. #### Defined in -[src/react/VGrid.tsx:268](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L268) +[src/react/VGrid.tsx:268](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L268) ___ @@ -232,7 +232,7 @@ DefaultWindow #### Defined in -[src/react/VGrid.tsx:273](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L273) +[src/react/VGrid.tsx:273](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L273) ___ @@ -248,7 +248,7 @@ Customized element type for cell element. This element will get [CustomCellCompo #### Defined in -[src/react/VGrid.tsx:278](https://github.com/inokawa/virtua/blob/57416e5/src/react/VGrid.tsx#L278) +[src/react/VGrid.tsx:278](https://github.com/inokawa/virtua/blob/bed6259/src/react/VGrid.tsx#L278) ___ diff --git a/docs/interfaces/VListHandle.md b/docs/interfaces/VListHandle.md index 4797f34db..791c1975e 100644 --- a/docs/interfaces/VListHandle.md +++ b/docs/interfaces/VListHandle.md @@ -36,7 +36,7 @@ Scroll to the item specified by index. #### Defined in -[src/react/VList.tsx:179](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L179) +[src/react/VList.tsx:179](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L179) ___ @@ -58,7 +58,7 @@ Scroll to the given offset. #### Defined in -[src/react/VList.tsx:184](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L184) +[src/react/VList.tsx:184](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L184) ___ @@ -80,7 +80,7 @@ Scroll by the given offset. #### Defined in -[src/react/VList.tsx:189](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L189) +[src/react/VList.tsx:189](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L189) ## Properties @@ -92,7 +92,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/VList.tsx:166](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L166) +[src/react/VList.tsx:166](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L166) ___ @@ -104,7 +104,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/VList.tsx:170](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L170) +[src/react/VList.tsx:170](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L170) ___ @@ -116,4 +116,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/VList.tsx:174](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L174) +[src/react/VList.tsx:174](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L174) diff --git a/docs/interfaces/VListProps.md b/docs/interfaces/VListProps.md index 48d9410ed..e9695188f 100644 --- a/docs/interfaces/VListProps.md +++ b/docs/interfaces/VListProps.md @@ -92,7 +92,7 @@ Elements rendered by this component. #### Defined in -[src/react/VList.tsx:199](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L199) +[src/react/VList.tsx:199](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L199) ___ @@ -108,7 +108,7 @@ Number of items to render above/below the visible bounds of the list. You can in #### Defined in -[src/react/VList.tsx:204](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L204) +[src/react/VList.tsx:204](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L204) ___ @@ -123,7 +123,7 @@ Item size hint for unmeasured items. It will help to reduce scroll jump when ite #### Defined in -[src/react/VList.tsx:211](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L211) +[src/react/VList.tsx:211](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L211) ___ @@ -135,7 +135,7 @@ If set, the specified amount of items will be mounted in the initial rendering r #### Defined in -[src/react/VList.tsx:215](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L215) +[src/react/VList.tsx:215](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L215) ___ @@ -147,7 +147,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/VList.tsx:219](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L219) +[src/react/VList.tsx:219](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L219) ___ @@ -162,7 +162,7 @@ Scroll modes that should be set in certain situations. #### Defined in -[src/react/VList.tsx:226](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L226) +[src/react/VList.tsx:226](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L226) ___ @@ -178,7 +178,7 @@ DefaultWindow #### Defined in -[src/react/VList.tsx:231](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L231) +[src/react/VList.tsx:231](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L231) ___ @@ -194,7 +194,7 @@ Customized element type for item element. This element will get [CustomItemCompo #### Defined in -[src/react/VList.tsx:236](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L236) +[src/react/VList.tsx:236](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L236) ___ @@ -220,7 +220,7 @@ Callback invoked whenever scroll offset changes. #### Defined in -[src/react/VList.tsx:241](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L241) +[src/react/VList.tsx:241](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L241) ___ @@ -240,7 +240,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/VList.tsx:245](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L245) +[src/react/VList.tsx:245](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L245) ___ @@ -269,7 +269,7 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/VList.tsx:249](https://github.com/inokawa/virtua/blob/57416e5/src/react/VList.tsx#L249) +[src/react/VList.tsx:249](https://github.com/inokawa/virtua/blob/bed6259/src/react/VList.tsx#L249) ___ diff --git a/package-lock.json b/package-lock.json index 83cffda74..919909082 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "virtua", - "version": "0.4.0", + "version": "0.4.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "virtua", - "version": "0.4.0", + "version": "0.4.1", "license": "MIT", "devDependencies": { "@babel/plugin-transform-react-pure-annotations": "7.18.6", diff --git a/package.json b/package.json index 88bccd892..da262b61a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "virtua", - "version": "0.4.0", + "version": "0.4.1", "description": "A zero-config, fast and small (~3kB) virtual list and grid component for React.", "main": "lib/index.js", "module": "lib/index.mjs",