ark-floating-scroll 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ark-floating-scroll
|
|
2
2
|
|
|
3
3
|
A high-performance virtualized list component for React. Renders only the items visible in the viewport, dramatically reducing DOM nodes and improving performance for long lists.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install
|
|
8
|
+
npm install ark-floating-scroll
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
**Peer dependencies:** React ≥ 16.8.0
|
|
@@ -13,7 +13,7 @@ npm install optimised-scroll
|
|
|
13
13
|
## Quick Start
|
|
14
14
|
|
|
15
15
|
```tsx
|
|
16
|
-
import { VirtualList } from "
|
|
16
|
+
import { VirtualList } from "ark-floating-scroll";
|
|
17
17
|
|
|
18
18
|
const items = Array.from({ length: 10000 }, (_, i) => `Item ${i}`);
|
|
19
19
|
|
|
@@ -85,3 +85,4 @@ Open DevTools → Elements to confirm only ~20-30 DOM nodes exist regardless of
|
|
|
85
85
|
## License
|
|
86
86
|
|
|
87
87
|
MIT
|
|
88
|
+
# ark-floating-scroll
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ark-floating-scroll",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A high-performance virtualized list component for React that renders only visible items",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -29,7 +29,11 @@
|
|
|
29
29
|
"performance",
|
|
30
30
|
"windowing"
|
|
31
31
|
],
|
|
32
|
-
"author": "",
|
|
32
|
+
"author": "Annup Raj Kapur",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/AnnupKapur/ark-floating-scroll"
|
|
36
|
+
},
|
|
33
37
|
"license": "MIT",
|
|
34
38
|
"peerDependencies": {
|
|
35
39
|
"react": ">=16.8.0",
|