svelte-tiny-virtual-list
Advanced tools
Comparing version
@@ -111,3 +111,5 @@ /** @typedef {typeof __propDef.props} VirtualListProps */ | ||
}; | ||
exports?: {}; | ||
bindings?: string; | ||
}; | ||
export {}; |
{ | ||
"name": "svelte-tiny-virtual-list", | ||
"version": "3.0.0-alpha.1", | ||
"version": "3.0.0", | ||
"description": "A tiny but mighty list virtualization component for svelte, with zero dependencies 💪", | ||
@@ -11,24 +11,28 @@ "homepage": "https://github.com/jonasgeiler/svelte-tiny-virtual-list#readme", | ||
"peerDependencies": { | ||
"svelte": "^4.0.0" | ||
"svelte": "^4.2.19" | ||
}, | ||
"devDependencies": { | ||
"@playwright/test": "^1.28.1", | ||
"@sveltejs/adapter-auto": "^3.0.0", | ||
"@sveltejs/kit": "^2.0.0", | ||
"@sveltejs/package": "^2.0.0", | ||
"@sveltejs/vite-plugin-svelte": "^3.0.0", | ||
"@types/eslint": "^8.56.0", | ||
"eslint": "^8.56.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-svelte": "^2.35.1", | ||
"prettier": "^3.1.1", | ||
"prettier-plugin-svelte": "^3.1.2", | ||
"publint": "^0.1.9", | ||
"svelte": "^4.2.7", | ||
"svelte-check": "^3.6.0", | ||
"svelte-infinite-loading": "^1.3.8", | ||
"tslib": "^2.4.1", | ||
"typescript": "^5.0.0", | ||
"vite": "^5.0.11", | ||
"vitest": "^1.2.0" | ||
"@playwright/test": "1.47.2", | ||
"@sveltejs/adapter-cloudflare": "4.7.4", | ||
"@sveltejs/kit": "2.5.28", | ||
"@sveltejs/package": "2.3.7", | ||
"@sveltejs/vite-plugin-svelte": "3.1.2", | ||
"@types/eslint": "8.56.12", | ||
"beercss": "3.6.13", | ||
"eslint": "8.57.1", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-svelte": "2.46.0", | ||
"marked": "12.0.2", | ||
"marked-base-url": "1.1.6", | ||
"marked-gfm-heading-id": "3.2.0", | ||
"prettier": "3.4.1", | ||
"prettier-plugin-svelte": "3.2.8", | ||
"publint": "0.2.12", | ||
"svelte": "4.2.19", | ||
"svelte-check": "3.8.6", | ||
"svelte-infinite-loading": "1.3.8", | ||
"tslib": "2.6.3", | ||
"typescript": "5.3.3", | ||
"vite": "5.1.8", | ||
"vitest": "1.6.1" | ||
}, | ||
@@ -35,0 +39,0 @@ "files": [ |
@@ -1,2 +0,2 @@ | ||
<p align="center"><img src="https://raw.githubusercontent.com/Skayo/svelte-tiny-virtual-list/master/assets/ListLogo.svg" alt="ListLogo" width="225"></p> | ||
<p align="center"><img src="./static/logo.svg" alt="Logo" width="225"></p> | ||
<h2 align="center">svelte-tiny-virtual-list</h2> | ||
@@ -119,3 +119,3 @@ <p align="center">A tiny but mighty list virtualization library, with zero dependencies 💪</p> | ||
| Property | Type | Required? | Description | | ||
| :---------------- | :------------------------------------------------ | :-------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | ||
| ----------------- | ------------------------------------------------- | :-------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| width | `number \| string`\* | ✓ | Width of List. This property will determine the number of rendered items when scrollDirection is `'horizontal'`. | | ||
@@ -230,9 +230,9 @@ | height | `number \| string`\* | ✓ | Height of List. This property will determine the number of rendered items when scrollDirection is `'vertical'`. | | ||
- **Basic setup** | ||
- [Elements of equal height](https://svelte.dev/repl/e3811b44f311461dbbc7c2df830cde68) | ||
- [Variable heights](https://svelte.dev/repl/93795c812f8d4541b6b942535b2ed855) | ||
- [Horizontal list](https://svelte.dev/repl/4cd8acdfc96843b68265a19451b1bf3d) | ||
- [Elements of equal height](https://svelte.dev/playground/e3811b44f311461dbbc7c2df830cde68) | ||
- [Variable heights](https://svelte.dev/playground/93795c812f8d4541b6b942535b2ed855) | ||
- [Horizontal list](https://svelte.dev/playground/4cd8acdfc96843b68265a19451b1bf3d) | ||
- **Controlled props** | ||
- [Scroll to index](https://svelte.dev/repl/bdf5ceb63f6e45f7bb14b90dbd2c11d9) | ||
- [Controlled scroll offset](https://svelte.dev/repl/68576a3919c44033a74416d4bc4fde7e) | ||
- [Hacker News using svelte-infinite-loading](https://svelte.dev/repl/2239cc4c861c41d18abbc858248f5a0d) | ||
- [Scroll to index](https://svelte.dev/playground/bdf5ceb63f6e45f7bb14b90dbd2c11d9) | ||
- [Controlled scroll offset](https://svelte.dev/playground/68576a3919c44033a74416d4bc4fde7e) | ||
- [Hacker News using svelte-infinite-loading](https://svelte.dev/playground/2239cc4c861c41d18abbc858248f5a0d) | ||
@@ -239,0 +239,0 @@ ## License |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
44989
0.33%661
0.3%0
-100%23
21.05%