Skip to content

Commit

Permalink
0.39.1
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Dec 14, 2024
1 parent 35dfa1c commit b02d7f2
Show file tree
Hide file tree
Showing 41 changed files with 313 additions and 261 deletions.
2 changes: 1 addition & 1 deletion docs/react/functions/VList.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Virtualized list component. See [VListProps](../interfaces/VListProps.md) and [V

## Defined in

[src/react/VList.tsx:43](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VList.tsx#L43)
[src/react/VList.tsx:43](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VList.tsx#L43)
2 changes: 1 addition & 1 deletion docs/react/functions/Virtualizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Customizable list virtualizer for advanced usage. See [VirtualizerProps](../inte

## Defined in

[src/react/Virtualizer.tsx:171](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L171)
[src/react/Virtualizer.tsx:171](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L171)
2 changes: 1 addition & 1 deletion docs/react/functions/WindowVirtualizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

## Defined in

[src/react/WindowVirtualizer.tsx:122](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/WindowVirtualizer.tsx#L122)
[src/react/WindowVirtualizer.tsx:122](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/WindowVirtualizer.tsx#L122)
2 changes: 1 addition & 1 deletion docs/react/functions/experimental_VGrid.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Virtualized grid component. See [VGridProps](../interfaces/VGridProps.md) and [V

## Defined in

[src/react/VGrid.tsx:205](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L205)
[src/react/VGrid.tsx:205](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L205)
2 changes: 1 addition & 1 deletion docs/react/interfaces/CacheSnapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Serializable cache snapshot.
#### Defined in

[src/core/types.ts:16](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/core/types.ts#L16)
[src/core/types.ts:16](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/core/types.ts#L16)
4 changes: 2 additions & 2 deletions docs/react/interfaces/CustomCellComponentProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Props of customized cell component for [VGrid](../functions/experimental_VGrid.m
#### Defined in

[src/react/VGrid.tsx:35](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L35)
[src/react/VGrid.tsx:35](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L35)

***

Expand All @@ -24,4 +24,4 @@ Props of customized cell component for [VGrid](../functions/experimental_VGrid.m
#### Defined in

[src/react/VGrid.tsx:36](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L36)
[src/react/VGrid.tsx:36](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L36)
6 changes: 3 additions & 3 deletions docs/react/interfaces/CustomContainerComponentProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#### Defined in

[src/react/types.ts:10](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/types.ts#L10)
[src/react/types.ts:10](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/types.ts#L10)

***

Expand All @@ -22,7 +22,7 @@
#### Defined in

[src/react/types.ts:11](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/types.ts#L11)
[src/react/types.ts:11](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/types.ts#L11)

***

Expand All @@ -34,4 +34,4 @@ only available after React 19

#### Defined in

[src/react/types.ts:15](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/types.ts#L15)
[src/react/types.ts:15](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/types.ts#L15)
8 changes: 4 additions & 4 deletions docs/react/interfaces/CustomItemComponentProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Props of customized item component for [Virtualizer](../functions/Virtualizer.md
#### Defined in

[src/react/types.ts:25](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/types.ts#L25)
[src/react/types.ts:25](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/types.ts#L25)

***

Expand All @@ -24,7 +24,7 @@ Props of customized item component for [Virtualizer](../functions/Virtualizer.md
#### Defined in

[src/react/types.ts:26](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/types.ts#L26)
[src/react/types.ts:26](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/types.ts#L26)

***

Expand All @@ -34,7 +34,7 @@ Props of customized item component for [Virtualizer](../functions/Virtualizer.md
#### Defined in

[src/react/types.ts:27](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/types.ts#L27)
[src/react/types.ts:27](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/types.ts#L27)

***

Expand All @@ -46,4 +46,4 @@ only available after React 19

#### Defined in

[src/react/types.ts:31](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/types.ts#L31)
[src/react/types.ts:31](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/types.ts#L31)
6 changes: 3 additions & 3 deletions docs/react/interfaces/ScrollToIndexOpts.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Alignment of item.

#### Defined in

[src/core/types.ts:32](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/core/types.ts#L32)
[src/core/types.ts:32](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/core/types.ts#L32)

***

Expand All @@ -39,7 +39,7 @@ If true, scrolling animates smoothly with [`behavior: smooth` of scrollTo](https

#### Defined in

[src/core/types.ts:38](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/core/types.ts#L38)
[src/core/types.ts:38](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/core/types.ts#L38)

***

Expand All @@ -57,4 +57,4 @@ Additional offset from the scrolled position.

#### Defined in

[src/core/types.ts:43](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/core/types.ts#L43)
[src/core/types.ts:43](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/core/types.ts#L43)
18 changes: 9 additions & 9 deletions docs/react/interfaces/VGridHandle.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ vertical index of item

#### Defined in

[src/react/VGrid.tsx:132](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L132)
[src/react/VGrid.tsx:132](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L132)

***

Expand Down Expand Up @@ -64,7 +64,7 @@ offset from top

#### Defined in

[src/react/VGrid.tsx:138](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L138)
[src/react/VGrid.tsx:138](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L138)

***

Expand Down Expand Up @@ -94,7 +94,7 @@ vertical offset from current position

#### Defined in

[src/react/VGrid.tsx:144](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L144)
[src/react/VGrid.tsx:144](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L144)

## Properties

Expand All @@ -106,7 +106,7 @@ Get current scrollTop.

#### Defined in

[src/react/VGrid.tsx:106](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L106)
[src/react/VGrid.tsx:106](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L106)

***

Expand All @@ -118,7 +118,7 @@ Get current scrollLeft.

#### Defined in

[src/react/VGrid.tsx:110](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L110)
[src/react/VGrid.tsx:110](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L110)

***

Expand All @@ -130,7 +130,7 @@ Get current scrollHeight.

#### Defined in

[src/react/VGrid.tsx:114](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L114)
[src/react/VGrid.tsx:114](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L114)

***

Expand All @@ -142,7 +142,7 @@ Get current scrollWidth.

#### Defined in

[src/react/VGrid.tsx:118](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L118)
[src/react/VGrid.tsx:118](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L118)

***

Expand All @@ -154,7 +154,7 @@ Get current offsetHeight.

#### Defined in

[src/react/VGrid.tsx:122](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L122)
[src/react/VGrid.tsx:122](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L122)

***

Expand All @@ -166,4 +166,4 @@ Get current offsetWidth.

#### Defined in

[src/react/VGrid.tsx:126](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L126)
[src/react/VGrid.tsx:126](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L126)
18 changes: 9 additions & 9 deletions docs/react/interfaces/VGridProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ column index of cell

#### Defined in

[src/react/VGrid.tsx:154](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L154)
[src/react/VGrid.tsx:154](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L154)

***

Expand All @@ -52,7 +52,7 @@ Total row length of grid.

#### Defined in

[src/react/VGrid.tsx:167](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L167)
[src/react/VGrid.tsx:167](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L167)

***

Expand All @@ -64,7 +64,7 @@ Total column length of grid.

#### Defined in

[src/react/VGrid.tsx:171](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L171)
[src/react/VGrid.tsx:171](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L171)

***

Expand All @@ -82,7 +82,7 @@ Cell height hint for unmeasured items. It's recommended to specify this prop if

#### Defined in

[src/react/VGrid.tsx:176](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L176)
[src/react/VGrid.tsx:176](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L176)

***

Expand All @@ -100,7 +100,7 @@ Cell width hint for unmeasured items. It's recommended to specify this prop if i

#### Defined in

[src/react/VGrid.tsx:181](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L181)
[src/react/VGrid.tsx:181](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L181)

***

Expand All @@ -118,7 +118,7 @@ Number of items to render above/below the visible bounds of the grid. Lower valu

#### Defined in

[src/react/VGrid.tsx:186](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L186)
[src/react/VGrid.tsx:186](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L186)

***

Expand All @@ -130,7 +130,7 @@ If set, the specified amount of rows will be mounted in the initial rendering re

#### Defined in

[src/react/VGrid.tsx:190](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L190)
[src/react/VGrid.tsx:190](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L190)

***

Expand All @@ -142,7 +142,7 @@ If set, the specified amount of cols will be mounted in the initial rendering re

#### Defined in

[src/react/VGrid.tsx:194](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L194)
[src/react/VGrid.tsx:194](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L194)

***

Expand All @@ -160,7 +160,7 @@ Component or element type for cell element. This component will get [CustomCellC

#### Defined in

[src/react/VGrid.tsx:199](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/VGrid.tsx#L199)
[src/react/VGrid.tsx:199](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/VGrid.tsx#L199)

***

Expand Down
22 changes: 11 additions & 11 deletions docs/react/interfaces/VListHandle.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ index of item

#### Defined in

[src/react/Virtualizer.tsx:67](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L67)
[src/react/Virtualizer.tsx:67](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L67)

***

Expand Down Expand Up @@ -64,7 +64,7 @@ index of item

#### Defined in

[src/react/Virtualizer.tsx:72](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L72)
[src/react/Virtualizer.tsx:72](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L72)

***

Expand Down Expand Up @@ -98,7 +98,7 @@ options

#### Defined in

[src/react/Virtualizer.tsx:78](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L78)
[src/react/Virtualizer.tsx:78](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L78)

***

Expand Down Expand Up @@ -126,7 +126,7 @@ offset from start

#### Defined in

[src/react/Virtualizer.tsx:83](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L83)
[src/react/Virtualizer.tsx:83](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L83)

***

Expand Down Expand Up @@ -154,7 +154,7 @@ offset from current position

#### Defined in

[src/react/Virtualizer.tsx:88](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L88)
[src/react/Virtualizer.tsx:88](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L88)

## Properties

Expand All @@ -170,7 +170,7 @@ Get current [CacheSnapshot](CacheSnapshot.md).

#### Defined in

[src/react/Virtualizer.tsx:42](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L42)
[src/react/Virtualizer.tsx:42](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L42)

***

Expand All @@ -186,7 +186,7 @@ Get current scrollTop, or scrollLeft if horizontal: true.

#### Defined in

[src/react/Virtualizer.tsx:46](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L46)
[src/react/Virtualizer.tsx:46](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L46)

***

Expand All @@ -202,7 +202,7 @@ Get current scrollHeight, or scrollWidth if horizontal: true.

#### Defined in

[src/react/Virtualizer.tsx:50](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L50)
[src/react/Virtualizer.tsx:50](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L50)

***

Expand All @@ -218,7 +218,7 @@ Get current offsetHeight, or offsetWidth if horizontal: true.

#### Defined in

[src/react/Virtualizer.tsx:54](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L54)
[src/react/Virtualizer.tsx:54](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L54)

***

Expand All @@ -238,7 +238,7 @@ Find the start index of visible range of items.

#### Defined in

[src/react/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L58)
[src/react/Virtualizer.tsx:58](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L58)

***

Expand All @@ -258,4 +258,4 @@ Find the end index of visible range of items.

#### Defined in

[src/react/Virtualizer.tsx:62](https://github.com/inokawa/virtua/blob/d38b45573a7cac6e3633108c8eb946f094cdcc02/src/react/Virtualizer.tsx#L62)
[src/react/Virtualizer.tsx:62](https://github.com/inokawa/virtua/blob/35dfa1c6e2e6854ecd417abe6fb93c829e7500e4/src/react/Virtualizer.tsx#L62)
Loading

0 comments on commit b02d7f2

Please sign in to comment.