Skip to content

Commit

Permalink
0.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Apr 20, 2023
1 parent 0778171 commit 9d3785b
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 26 deletions.
4 changes: 2 additions & 2 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ node_modules/@types/react/index.d.ts:361

#### Defined in

[src/react/List.tsx:194](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L194)
[src/react/List.tsx:202](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L202)

___

Expand All @@ -58,4 +58,4 @@ ___

#### Defined in

[src/react/List.tsx:134](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L134)
[src/react/List.tsx:139](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L139)
4 changes: 2 additions & 2 deletions docs/interfaces/CustomItemComponentProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#### Defined in

[src/react/List.tsx:190](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L190)
[src/react/List.tsx:198](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L198)

___

Expand All @@ -25,4 +25,4 @@ ___

#### Defined in

[src/react/List.tsx:191](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L191)
[src/react/List.tsx:199](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L199)
21 changes: 16 additions & 5 deletions docs/interfaces/CustomWindowComponentProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- [children](CustomWindowComponentProps.md#children)
- [style](CustomWindowComponentProps.md#style)
- [scrollSize](CustomWindowComponentProps.md#scrollsize)
- [scrolling](CustomWindowComponentProps.md#scrolling)
- [horizontal](CustomWindowComponentProps.md#horizontal)
- [rtl](CustomWindowComponentProps.md#rtl)

Expand All @@ -18,7 +19,7 @@

#### Defined in

[src/react/List.tsx:101](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L101)
[src/react/List.tsx:101](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L101)

___

Expand All @@ -28,7 +29,7 @@ ___

#### Defined in

[src/react/List.tsx:102](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L102)
[src/react/List.tsx:102](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L102)

___

Expand All @@ -38,7 +39,17 @@ ___

#### Defined in

[src/react/List.tsx:103](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L103)
[src/react/List.tsx:103](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L103)

___

### scrolling

**scrolling**: `boolean`

#### Defined in

[src/react/List.tsx:104](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L104)

___

Expand All @@ -48,7 +59,7 @@ ___

#### Defined in

[src/react/List.tsx:104](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L104)
[src/react/List.tsx:105](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L105)

___

Expand All @@ -58,4 +69,4 @@ ___

#### Defined in

[src/react/List.tsx:105](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L105)
[src/react/List.tsx:106](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L106)
8 changes: 4 additions & 4 deletions docs/interfaces/ListHandle.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Get current scrollTop or scrollLeft.

#### Defined in

[src/react/List.tsx:209](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L209)
[src/react/List.tsx:217](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L217)

___

Expand All @@ -36,7 +36,7 @@ Get current scrollHeight or scrollWidth.

#### Defined in

[src/react/List.tsx:213](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L213)
[src/react/List.tsx:221](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L221)

## Methods

Expand All @@ -58,7 +58,7 @@ Scroll to the item specified by index.

#### Defined in

[src/react/List.tsx:218](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L218)
[src/react/List.tsx:226](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L226)

___

Expand All @@ -80,4 +80,4 @@ Scroll to the item specified by offset.

#### Defined in

[src/react/List.tsx:223](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L223)
[src/react/List.tsx:231](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L231)
20 changes: 10 additions & 10 deletions docs/interfaces/ListProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Elements rendered by this component.

#### Defined in

[src/react/List.tsx:233](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L233)
[src/react/List.tsx:241](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L241)

___

Expand All @@ -43,7 +43,7 @@ Item size hint for unmeasured items. It's recommended to specify this prop if it

#### Defined in

[src/react/List.tsx:238](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L238)
[src/react/List.tsx:246](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L246)

___

Expand All @@ -59,7 +59,7 @@ Number of items to render above/below the visible bounds of the list. You can in

#### Defined in

[src/react/List.tsx:243](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L243)
[src/react/List.tsx:251](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L251)

___

Expand All @@ -71,7 +71,7 @@ If true, rendered as a horizontally scrollable list. Otherwise rendered as a ver

#### Defined in

[src/react/List.tsx:247](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L247)
[src/react/List.tsx:255](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L255)

___

Expand All @@ -83,7 +83,7 @@ You have to set true if you use this component under `direction: rtl` style.

#### Defined in

[src/react/List.tsx:251](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L251)
[src/react/List.tsx:259](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L259)

___

Expand All @@ -99,7 +99,7 @@ Number of items to be the margin from the end of the scroll. See also [onEndReac

#### Defined in

[src/react/List.tsx:256](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L256)
[src/react/List.tsx:264](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L264)

___

Expand All @@ -111,7 +111,7 @@ Inline style prop to override style of scrollable element.

#### Defined in

[src/react/List.tsx:260](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L260)
[src/react/List.tsx:268](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L268)

___

Expand All @@ -127,7 +127,7 @@ DefaultWindow

#### Defined in

[src/react/List.tsx:265](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L265)
[src/react/List.tsx:273](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L273)

___

Expand All @@ -143,7 +143,7 @@ Customized element type for item element.

#### Defined in

[src/react/List.tsx:270](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L270)
[src/react/List.tsx:278](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L278)

___

Expand All @@ -163,4 +163,4 @@ Callback invoked when scrolling reached to the end. The margin from the end is s

#### Defined in

[src/react/List.tsx:274](https://github.com/inokawa/virtua/blob/a164ba2/src/react/List.tsx#L274)
[src/react/List.tsx:282](https://github.com/inokawa/virtua/blob/0778171/src/react/List.tsx#L282)
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "virtua",
"version": "0.1.9",
"version": "0.1.10",
"description": "A zero-config, fast and small (3kB) virtual list component for React.",
"main": "lib/index.js",
"module": "lib/index.mjs",
Expand Down

0 comments on commit 9d3785b

Please sign in to comment.