vlist 2.1.1 → 2.1.2
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.github.md +4 -4
- package/README.md +8 -8
- package/dist/index.js +1 -1
- package/dist/internals.js +1 -1
- package/dist/plugins/grid/types.d.ts +5 -0
- package/dist/size.json +1 -1
- package/dist/vlist-grid.css +1 -1
- package/dist/vlist-masonry.css +1 -1
- package/dist/vlist.css +1 -1
- package/package.json +1 -1
package/README.github.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The virtual list library for every framework. Ultra efficient, batteries-included, and accessible with composable plugins — in 8.0 KB.
|
|
4
4
|
|
|
5
|
-
**v2.1.
|
|
5
|
+
**v2.1.2** — [Changelog](./CHANGELOG.md) · Groups + masonry integration, grid render hot-path optimization, horizontal sticky group headers.
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/vlist)
|
|
8
8
|
[](https://bundlephobia.com/package/vlist)
|
|
@@ -98,16 +98,16 @@ const list = createVList({
|
|
|
98
98
|
| `data()` | +4.7 KB | Lazy loading with velocity-aware fetching |
|
|
99
99
|
| `selection()` | +2.5 KB | Single/multiple selection with 2D keyboard nav |
|
|
100
100
|
| `scale()` | +3.9 KB | 1M+ items via scroll compression |
|
|
101
|
-
| `groups()` | +
|
|
101
|
+
| `groups()` | +5.2 KB | Sticky/inline headers with grid + masonry + table + data integration |
|
|
102
102
|
| `autosize()` | +0.8 KB | Auto-measure items via ResizeObserver |
|
|
103
103
|
| `scrollbar()` | +2.0 KB | Custom scrollbar UI |
|
|
104
|
-
| `grid()` | +2.
|
|
104
|
+
| `grid()` | +2.9 KB | 2D grid layout |
|
|
105
105
|
| `masonry()` | +3.7 KB | Pinterest-style masonry with lane-aware keyboard nav |
|
|
106
106
|
| `table()` | +6.1 KB | Data table with columns, resize, sort |
|
|
107
107
|
| `tree()` | +5.3 KB | Collapsible tree with async loading and indent guides |
|
|
108
108
|
| `page()` | +0.8 KB | Window-level scrolling |
|
|
109
109
|
| `sortable()` | +2.9 KB | Drag-and-drop reordering with auto-scroll |
|
|
110
|
-
| `snapshots()` | +1.
|
|
110
|
+
| `snapshots()` | +1.2 KB | Scroll position save/restore |
|
|
111
111
|
| `transition()` | +1.8 KB | FLIP-based enter/exit animations for insert & remove |
|
|
112
112
|
|
|
113
113
|
## Examples
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The virtual list library for every framework. Ultra efficient, batteries-included, and accessible with composable plugins — in 8.0 KB.
|
|
4
4
|
|
|
5
|
-
**v2.1.
|
|
5
|
+
**v2.1.2** — [Changelog](https://github.com/floor/vlist/blob/main/CHANGELOG.md) · **New:** groups + masonry integration, grid render hot-path optimization, and horizontal sticky group headers.
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/vlist)
|
|
8
8
|
[](https://bundlephobia.com/package/vlist)
|
|
@@ -56,19 +56,19 @@ const list = createVList({ container: '#app', items, item: { height: 200, templa
|
|
|
56
56
|
|
|
57
57
|
| Plugin | Size | Description |
|
|
58
58
|
|--------|------|-------------|
|
|
59
|
-
| **Base** |
|
|
60
|
-
| `data()` | +4.
|
|
61
|
-
| `selection()` | +2.
|
|
59
|
+
| **Base** | 8.0 KB | Virtualization, ARIA, keyboard nav, gap, padding |
|
|
60
|
+
| `data()` | +4.7 KB | Lazy loading with velocity-aware fetching |
|
|
61
|
+
| `selection()` | +2.5 KB | Single/multiple selection with 2D keyboard nav |
|
|
62
62
|
| `scale()` | +3.9 KB | 1M+ items via scroll compression |
|
|
63
|
-
| `groups()` | +
|
|
63
|
+
| `groups()` | +5.2 KB | Sticky/inline headers with grid + masonry + table + data integration |
|
|
64
64
|
| `autosize()` | +0.8 KB | Auto-measure items via ResizeObserver |
|
|
65
65
|
| `scrollbar()` | +2.0 KB | Custom scrollbar UI |
|
|
66
|
-
| `grid()` | +2.
|
|
67
|
-
| `masonry()` | +3.
|
|
66
|
+
| `grid()` | +2.9 KB | 2D grid layout |
|
|
67
|
+
| `masonry()` | +3.7 KB | Pinterest-style masonry with lane-aware keyboard nav |
|
|
68
68
|
| `table()` | +6.1 KB | Data table with columns, resize, sort |
|
|
69
69
|
| `page()` | +0.8 KB | Window-level scrolling |
|
|
70
70
|
| `sortable()` | +2.9 KB | Drag-and-drop reordering with auto-scroll |
|
|
71
|
-
| `snapshots()` | +1.
|
|
71
|
+
| `snapshots()` | +1.2 KB | Scroll position save/restore |
|
|
72
72
|
| `transition()` | +1.8 KB | FLIP-based enter/exit animations for insert & remove |
|
|
73
73
|
|
|
74
74
|
## Framework Adapters
|