diff --git a/docs/API.md b/docs/API.md index 6e4189dbb..025b4d619 100644 --- a/docs/API.md +++ b/docs/API.md @@ -108,7 +108,7 @@ Alignment of item when calling scrollToIndex method. #### Defined in -[src/core/types.ts:25](https://github.com/inokawa/virtua/blob/d7672fae/src/core/types.ts#L25) +[src/core/types.ts:25](https://github.com/inokawa/virtua/blob/e5e58101/src/core/types.ts#L25) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[src/react/VGrid.tsx:52](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L52) +[src/react/VGrid.tsx:49](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L49) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/react/Viewport.tsx:9](https://github.com/inokawa/virtua/blob/d7672fae/src/react/Viewport.tsx#L9) +[src/react/Viewport.tsx:9](https://github.com/inokawa/virtua/blob/e5e58101/src/react/Viewport.tsx#L9) ___ @@ -138,7 +138,7 @@ ___ #### Defined in -[src/react/Viewport.tsx:63](https://github.com/inokawa/virtua/blob/d7672fae/src/react/Viewport.tsx#L63) +[src/react/Viewport.tsx:63](https://github.com/inokawa/virtua/blob/e5e58101/src/react/Viewport.tsx#L63) ___ @@ -148,4 +148,4 @@ ___ #### Defined in -[src/react/ListItem.tsx:24](https://github.com/inokawa/virtua/blob/d7672fae/src/react/ListItem.tsx#L24) +[src/react/ListItem.tsx:22](https://github.com/inokawa/virtua/blob/e5e58101/src/react/ListItem.tsx#L22) diff --git a/docs/interfaces/CacheSnapshot.md b/docs/interfaces/CacheSnapshot.md index d7534027b..5880549e3 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/d7672fae/src/core/types.ts#L16) +[src/core/types.ts:16](https://github.com/inokawa/virtua/blob/e5e58101/src/core/types.ts#L16) diff --git a/docs/interfaces/CustomCellComponentProps.md b/docs/interfaces/CustomCellComponentProps.md index 6247b9264..b27f6efe8 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:48](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L48) +[src/react/VGrid.tsx:45](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L45) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/react/VGrid.tsx:49](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L49) +[src/react/VGrid.tsx:46](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L46) diff --git a/docs/interfaces/CustomItemComponentProps.md b/docs/interfaces/CustomItemComponentProps.md index f18caa2a0..b4ec0315d 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:20](https://github.com/inokawa/virtua/blob/d7672fae/src/react/ListItem.tsx#L20) +[src/react/ListItem.tsx:18](https://github.com/inokawa/virtua/blob/e5e58101/src/react/ListItem.tsx#L18) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/react/ListItem.tsx:21](https://github.com/inokawa/virtua/blob/d7672fae/src/react/ListItem.tsx#L21) +[src/react/ListItem.tsx:19](https://github.com/inokawa/virtua/blob/e5e58101/src/react/ListItem.tsx#L19) diff --git a/docs/interfaces/CustomViewportComponentProps.md b/docs/interfaces/CustomViewportComponentProps.md index fc54179cb..49299ad6e 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/d7672fae/src/react/Viewport.tsx#L22) +[src/react/Viewport.tsx:22](https://github.com/inokawa/virtua/blob/e5e58101/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/d7672fae/src/react/Viewport.tsx#L26) +[src/react/Viewport.tsx:26](https://github.com/inokawa/virtua/blob/e5e58101/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/d7672fae/src/react/Viewport.tsx#L30) +[src/react/Viewport.tsx:30](https://github.com/inokawa/virtua/blob/e5e58101/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/d7672fae/src/react/Viewport.tsx#L34) +[src/react/Viewport.tsx:34](https://github.com/inokawa/virtua/blob/e5e58101/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/d7672fae/src/react/Viewport.tsx#L38) +[src/react/Viewport.tsx:38](https://github.com/inokawa/virtua/blob/e5e58101/src/react/Viewport.tsx#L38) diff --git a/docs/interfaces/VGridHandle.md b/docs/interfaces/VGridHandle.md index a09d34936..0fc51d5e4 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:170](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L170) +[src/react/VGrid.tsx:136](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L136) ___ @@ -60,7 +60,7 @@ Scroll to the given offset. #### Defined in -[src/react/VGrid.tsx:176](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L176) +[src/react/VGrid.tsx:142](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L142) ___ @@ -83,7 +83,7 @@ Scroll by the given offset. #### Defined in -[src/react/VGrid.tsx:182](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L182) +[src/react/VGrid.tsx:148](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L148) ## Properties @@ -95,7 +95,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/VGrid.tsx:156](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L156) +[src/react/VGrid.tsx:122](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L122) ___ @@ -107,7 +107,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/VGrid.tsx:160](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L160) +[src/react/VGrid.tsx:126](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L126) ___ @@ -119,4 +119,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/VGrid.tsx:164](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L164) +[src/react/VGrid.tsx:130](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L130) diff --git a/docs/interfaces/VGridProps.md b/docs/interfaces/VGridProps.md index 345b02a12..84137833d 100644 --- a/docs/interfaces/VGridProps.md +++ b/docs/interfaces/VGridProps.md @@ -106,7 +106,7 @@ A function to create elements rendered by this component. #### Defined in -[src/react/VGrid.tsx:192](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L192) +[src/react/VGrid.tsx:158](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L158) ___ @@ -118,7 +118,7 @@ Total row length of grid. #### Defined in -[src/react/VGrid.tsx:205](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L205) +[src/react/VGrid.tsx:171](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L171) ___ @@ -130,7 +130,7 @@ Total column length of grid. #### Defined in -[src/react/VGrid.tsx:209](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L209) +[src/react/VGrid.tsx:175](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L175) ___ @@ -146,7 +146,7 @@ Cell height hint for unmeasured items. It's recommended to specify this prop if #### Defined in -[src/react/VGrid.tsx:214](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L214) +[src/react/VGrid.tsx:180](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L180) ___ @@ -162,7 +162,7 @@ Cell width hint for unmeasured items. It's recommended to specify this prop if i #### Defined in -[src/react/VGrid.tsx:219](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L219) +[src/react/VGrid.tsx:185](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L185) ___ @@ -178,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:224](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L224) +[src/react/VGrid.tsx:190](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L190) ___ @@ -190,7 +190,7 @@ If set, the specified amount of rows will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:228](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L228) +[src/react/VGrid.tsx:194](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L194) ___ @@ -202,7 +202,7 @@ If set, the specified amount of cols will be mounted in the initial rendering re #### Defined in -[src/react/VGrid.tsx:232](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L232) +[src/react/VGrid.tsx:198](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L198) ___ @@ -221,7 +221,7 @@ Customized components for advanced usage. #### Defined in -[src/react/VGrid.tsx:236](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VGrid.tsx#L236) +[src/react/VGrid.tsx:202](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VGrid.tsx#L202) ___ @@ -400,7 +400,7 @@ ___ ### aria-checked -• `Optional` **aria-checked**: `boolean` \| ``"mixed"`` \| ``"false"`` \| ``"true"`` +• `Optional` **aria-checked**: `boolean` \| ``"true"`` \| ``"false"`` \| ``"mixed"`` Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. @@ -523,7 +523,7 @@ ___ ### aria-current -• `Optional` **aria-current**: `boolean` \| ``"time"`` \| ``"page"`` \| ``"false"`` \| ``"true"`` \| ``"step"`` \| ``"location"`` \| ``"date"`` +• `Optional` **aria-current**: `boolean` \| ``"time"`` \| ``"date"`` \| ``"true"`` \| ``"false"`` \| ``"page"`` \| ``"step"`` \| ``"location"`` Indicates the element that represents the current item within a container or set of related elements. @@ -714,7 +714,7 @@ ___ ### aria-haspopup -• `Optional` **aria-haspopup**: `boolean` \| ``"dialog"`` \| ``"menu"`` \| ``"grid"`` \| ``"listbox"`` \| ``"tree"`` \| ``"false"`` \| ``"true"`` +• `Optional` **aria-haspopup**: `boolean` \| ``"dialog"`` \| ``"menu"`` \| ``"grid"`` \| ``"listbox"`` \| ``"tree"`` \| ``"true"`` \| ``"false"`` Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. @@ -750,7 +750,7 @@ ___ ### aria-invalid -• `Optional` **aria-invalid**: `boolean` \| ``"false"`` \| ``"true"`` \| ``"grammar"`` \| ``"spelling"`` +• `Optional` **aria-invalid**: `boolean` \| ``"true"`` \| ``"false"`` \| ``"grammar"`` \| ``"spelling"`` Indicates the entered value does not conform to the format expected by the application. @@ -980,7 +980,7 @@ ___ ### aria-pressed -• `Optional` **aria-pressed**: `boolean` \| ``"mixed"`` \| ``"false"`` \| ``"true"`` +• `Optional` **aria-pressed**: `boolean` \| ``"true"`` \| ``"false"`` \| ``"mixed"`` Indicates the current "pressed" state of toggle buttons. diff --git a/docs/interfaces/VListHandle.md b/docs/interfaces/VListHandle.md index a6e4749e7..a9bc5d81c 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:75](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L75) +[src/react/VList.tsx:73](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L73) ___ @@ -60,7 +60,7 @@ Scroll to the given offset. #### Defined in -[src/react/VList.tsx:80](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L80) +[src/react/VList.tsx:78](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L78) ___ @@ -82,7 +82,7 @@ Scroll by the given offset. #### Defined in -[src/react/VList.tsx:85](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L85) +[src/react/VList.tsx:83](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L83) ## Properties @@ -94,7 +94,7 @@ Get current [CacheSnapshot](CacheSnapshot.md). #### Defined in -[src/react/VList.tsx:57](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L57) +[src/react/VList.tsx:55](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L55) ___ @@ -106,7 +106,7 @@ Get current scrollTop or scrollLeft. #### Defined in -[src/react/VList.tsx:61](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L61) +[src/react/VList.tsx:59](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L59) ___ @@ -118,7 +118,7 @@ Get current scrollHeight or scrollWidth. #### Defined in -[src/react/VList.tsx:65](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L65) +[src/react/VList.tsx:63](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L63) ___ @@ -130,4 +130,4 @@ Get current offsetHeight or offsetWidth. #### Defined in -[src/react/VList.tsx:69](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L69) +[src/react/VList.tsx:67](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L67) diff --git a/docs/interfaces/VListProps.md b/docs/interfaces/VListProps.md index ba5ff4a62..ab29d8b41 100644 --- a/docs/interfaces/VListProps.md +++ b/docs/interfaces/VListProps.md @@ -93,7 +93,7 @@ Elements rendered by this component. #### Defined in -[src/react/VList.tsx:95](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L95) +[src/react/VList.tsx:93](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L93) ___ @@ -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:100](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L100) +[src/react/VList.tsx:98](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L98) ___ @@ -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:107](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L107) +[src/react/VList.tsx:105](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L105) ___ @@ -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:111](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L111) +[src/react/VList.tsx:109](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L109) ___ @@ -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:115](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L115) +[src/react/VList.tsx:113](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L113) ___ @@ -160,7 +160,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver #### Defined in -[src/react/VList.tsx:119](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L119) +[src/react/VList.tsx:117](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L117) ___ @@ -172,7 +172,7 @@ If true, some styles will be adjusted to be suitable for bottom-to-top scrolling #### Defined in -[src/react/VList.tsx:123](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L123) +[src/react/VList.tsx:121](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L121) ___ @@ -184,7 +184,7 @@ You can restore cache by passing a [CacheSnapshot](CacheSnapshot.md) on mount. T #### Defined in -[src/react/VList.tsx:127](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L127) +[src/react/VList.tsx:125](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L125) ___ @@ -203,7 +203,7 @@ Customized components for advanced usage. #### Defined in -[src/react/VList.tsx:131](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L131) +[src/react/VList.tsx:129](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L129) ___ @@ -229,7 +229,7 @@ Callback invoked whenever scroll offset changes. #### Defined in -[src/react/VList.tsx:147](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L147) +[src/react/VList.tsx:145](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L145) ___ @@ -249,7 +249,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/VList.tsx:151](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L151) +[src/react/VList.tsx:149](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L149) ___ @@ -276,7 +276,7 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/VList.tsx:155](https://github.com/inokawa/virtua/blob/d7672fae/src/react/VList.tsx#L155) +[src/react/VList.tsx:153](https://github.com/inokawa/virtua/blob/e5e58101/src/react/VList.tsx#L153) ___ @@ -455,7 +455,7 @@ ___ ### aria-checked -• `Optional` **aria-checked**: `boolean` \| ``"mixed"`` \| ``"false"`` \| ``"true"`` +• `Optional` **aria-checked**: `boolean` \| ``"true"`` \| ``"false"`` \| ``"mixed"`` Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. @@ -578,7 +578,7 @@ ___ ### aria-current -• `Optional` **aria-current**: `boolean` \| ``"time"`` \| ``"page"`` \| ``"false"`` \| ``"true"`` \| ``"step"`` \| ``"location"`` \| ``"date"`` +• `Optional` **aria-current**: `boolean` \| ``"time"`` \| ``"date"`` \| ``"true"`` \| ``"false"`` \| ``"page"`` \| ``"step"`` \| ``"location"`` Indicates the element that represents the current item within a container or set of related elements. @@ -769,7 +769,7 @@ ___ ### aria-haspopup -• `Optional` **aria-haspopup**: `boolean` \| ``"dialog"`` \| ``"menu"`` \| ``"grid"`` \| ``"listbox"`` \| ``"tree"`` \| ``"false"`` \| ``"true"`` +• `Optional` **aria-haspopup**: `boolean` \| ``"dialog"`` \| ``"menu"`` \| ``"grid"`` \| ``"listbox"`` \| ``"tree"`` \| ``"true"`` \| ``"false"`` Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. @@ -805,7 +805,7 @@ ___ ### aria-invalid -• `Optional` **aria-invalid**: `boolean` \| ``"false"`` \| ``"true"`` \| ``"grammar"`` \| ``"spelling"`` +• `Optional` **aria-invalid**: `boolean` \| ``"true"`` \| ``"false"`` \| ``"grammar"`` \| ``"spelling"`` Indicates the entered value does not conform to the format expected by the application. @@ -1035,7 +1035,7 @@ ___ ### aria-pressed -• `Optional` **aria-pressed**: `boolean` \| ``"mixed"`` \| ``"false"`` \| ``"true"`` +• `Optional` **aria-pressed**: `boolean` \| ``"true"`` \| ``"false"`` \| ``"mixed"`` Indicates the current "pressed" state of toggle buttons. diff --git a/docs/interfaces/WVListHandle.md b/docs/interfaces/WVListHandle.md index dc731c101..9741722bc 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/d7672fae/src/react/WVList.tsx#L55) +[src/react/WVList.tsx:54](https://github.com/inokawa/virtua/blob/e5e58101/src/react/WVList.tsx#L54) diff --git a/docs/interfaces/WVListProps.md b/docs/interfaces/WVListProps.md index a8cfcfd18..fa8b2ff86 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/d7672fae/src/react/WVList.tsx#L65) +[src/react/WVList.tsx:64](https://github.com/inokawa/virtua/blob/e5e58101/src/react/WVList.tsx#L64) ___ @@ -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/d7672fae/src/react/WVList.tsx#L70) +[src/react/WVList.tsx:69](https://github.com/inokawa/virtua/blob/e5e58101/src/react/WVList.tsx#L69) ___ @@ -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/d7672fae/src/react/WVList.tsx#L77) +[src/react/WVList.tsx:76](https://github.com/inokawa/virtua/blob/e5e58101/src/react/WVList.tsx#L76) ___ @@ -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/d7672fae/src/react/WVList.tsx#L81) +[src/react/WVList.tsx:80](https://github.com/inokawa/virtua/blob/e5e58101/src/react/WVList.tsx#L80) ___ @@ -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/d7672fae/src/react/WVList.tsx#L85) +[src/react/WVList.tsx:84](https://github.com/inokawa/virtua/blob/e5e58101/src/react/WVList.tsx#L84) ___ @@ -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/d7672fae/src/react/WVList.tsx#L89) +[src/react/WVList.tsx:88](https://github.com/inokawa/virtua/blob/e5e58101/src/react/WVList.tsx#L88) ___ @@ -176,7 +176,7 @@ Customized components for advanced usage. #### Defined in -[src/react/WVList.tsx:93](https://github.com/inokawa/virtua/blob/d7672fae/src/react/WVList.tsx#L93) +[src/react/WVList.tsx:92](https://github.com/inokawa/virtua/blob/e5e58101/src/react/WVList.tsx#L92) ___ @@ -196,7 +196,7 @@ Callback invoked when scrolling stops. #### Defined in -[src/react/WVList.tsx:108](https://github.com/inokawa/virtua/blob/d7672fae/src/react/WVList.tsx#L108) +[src/react/WVList.tsx:107](https://github.com/inokawa/virtua/blob/e5e58101/src/react/WVList.tsx#L107) ___ @@ -223,7 +223,7 @@ Callback invoked when visible items range changes. #### Defined in -[src/react/WVList.tsx:112](https://github.com/inokawa/virtua/blob/d7672fae/src/react/WVList.tsx#L112) +[src/react/WVList.tsx:111](https://github.com/inokawa/virtua/blob/e5e58101/src/react/WVList.tsx#L111) ___ @@ -402,7 +402,7 @@ ___ ### aria-checked -• `Optional` **aria-checked**: `boolean` \| ``"mixed"`` \| ``"false"`` \| ``"true"`` +• `Optional` **aria-checked**: `boolean` \| ``"true"`` \| ``"false"`` \| ``"mixed"`` Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. @@ -525,7 +525,7 @@ ___ ### aria-current -• `Optional` **aria-current**: `boolean` \| ``"time"`` \| ``"page"`` \| ``"false"`` \| ``"true"`` \| ``"step"`` \| ``"location"`` \| ``"date"`` +• `Optional` **aria-current**: `boolean` \| ``"time"`` \| ``"date"`` \| ``"true"`` \| ``"false"`` \| ``"page"`` \| ``"step"`` \| ``"location"`` Indicates the element that represents the current item within a container or set of related elements. @@ -716,7 +716,7 @@ ___ ### aria-haspopup -• `Optional` **aria-haspopup**: `boolean` \| ``"dialog"`` \| ``"menu"`` \| ``"grid"`` \| ``"listbox"`` \| ``"tree"`` \| ``"false"`` \| ``"true"`` +• `Optional` **aria-haspopup**: `boolean` \| ``"dialog"`` \| ``"menu"`` \| ``"grid"`` \| ``"listbox"`` \| ``"tree"`` \| ``"true"`` \| ``"false"`` Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. @@ -752,7 +752,7 @@ ___ ### aria-invalid -• `Optional` **aria-invalid**: `boolean` \| ``"false"`` \| ``"true"`` \| ``"grammar"`` \| ``"spelling"`` +• `Optional` **aria-invalid**: `boolean` \| ``"true"`` \| ``"false"`` \| ``"grammar"`` \| ``"spelling"`` Indicates the entered value does not conform to the format expected by the application. @@ -982,7 +982,7 @@ ___ ### aria-pressed -• `Optional` **aria-pressed**: `boolean` \| ``"mixed"`` \| ``"false"`` \| ``"true"`` +• `Optional` **aria-pressed**: `boolean` \| ``"true"`` \| ``"false"`` \| ``"mixed"`` Indicates the current "pressed" state of toggle buttons. diff --git a/package-lock.json b/package-lock.json index bab309b66..06a09295f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "virtua", - "version": "0.13.0", + "version": "0.14.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "virtua", - "version": "0.13.0", + "version": "0.14.0", "license": "MIT", "devDependencies": { "@babel/plugin-transform-react-pure-annotations": "7.22.5", diff --git a/package.json b/package.json index e12254d23..c532b9c7e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "virtua", - "version": "0.13.0", + "version": "0.14.0", "description": "A zero-config, fast and small (~3kB) virtual list (and grid) component for React.", "main": "lib/index.js", "module": "lib/index.mjs",