vlist 2.6.3 → 2.6.4
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 +6 -6
- package/README.md +6 -6
- package/dist/config.js +1 -1
- package/dist/index.js +1 -1
- package/dist/plugins/autosize/plugin.d.ts +5 -0
- package/dist/size.json +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 9.7 KB.
|
|
4
4
|
|
|
5
|
-
**v2.6.
|
|
5
|
+
**v2.6.4** — [Changelog](./CHANGELOG.md) · Autosize items whose content changes after measurement (a broken or slow image, a font swap) are now remeasured instead of clipped (#126).
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/vlist)
|
|
8
8
|
[](https://bundlephobia.com/package/vlist)
|
|
@@ -11,7 +11,7 @@ The virtual list library for every framework. Ultra efficient, batteries-include
|
|
|
11
11
|
|
|
12
12
|
- **Accessible** — WAI-ARIA, 2D keyboard navigation, focus recovery, screen-reader DOM ordering
|
|
13
13
|
- **Zero dependencies** — framework-agnostic core with tiny adapters for Vue, Svelte, Solid, React
|
|
14
|
-
- **9.
|
|
14
|
+
- **9.8 KB gzipped** — composable plugins with perfect tree-shaking
|
|
15
15
|
- **Constant memory** — ~0.1 MB overhead at any scale, from 10K to 1M+ items
|
|
16
16
|
- **Tree, grid, masonry, carousel, table, groups, data, selection, search, sortable, transition** — all opt-in
|
|
17
17
|
- **Axis-neutral** — vertical and horizontal scrolling through a single code path, all plugins work in both orientations
|
|
@@ -94,16 +94,16 @@ const list = createVList({
|
|
|
94
94
|
|
|
95
95
|
| Plugin | Size | Description |
|
|
96
96
|
|--------|------|-------------|
|
|
97
|
-
| **Base** | 9.
|
|
97
|
+
| **Base** | 9.8 KB | Virtualization, ARIA, keyboard nav, gap, padding, bounded scroll (1M+ items) |
|
|
98
98
|
| `data()` | +4.8 KB | Lazy loading with velocity-aware fetching |
|
|
99
|
-
| `selection()` | +2.
|
|
99
|
+
| `selection()` | +2.8 KB | Single/multiple selection with 2D keyboard nav |
|
|
100
100
|
| `search()` | +3.2 KB | Search bar: filter/navigate modes, match highlighting |
|
|
101
101
|
| `groups()` | +5.3 KB | Sticky/inline headers with grid + masonry + table + data integration |
|
|
102
|
-
| `autosize()` | +0
|
|
102
|
+
| `autosize()` | +1.0 KB | Auto-measure items via ResizeObserver |
|
|
103
103
|
| `scrollbar()` | +2.0 KB | Custom scrollbar UI |
|
|
104
104
|
| `grid()` | +2.4 KB | 2D grid layout |
|
|
105
105
|
| `masonry()` | +4.0 KB | Pinterest-style masonry with lane-aware keyboard nav |
|
|
106
|
-
| `carousel()` | +3.
|
|
106
|
+
| `carousel()` | +3.5 KB | Paged horizontal carousel with snap and keyboard nav |
|
|
107
107
|
| `table()` | +5.8 KB | Data table with columns, resize, sort |
|
|
108
108
|
| `tree()` | +5.0 KB | Collapsible tree with async loading and indent guides |
|
|
109
109
|
| `page()` | +0.8 KB | Window-level scrolling |
|
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 9.7 KB.
|
|
4
4
|
|
|
5
|
-
**v2.6.
|
|
5
|
+
**v2.6.4** — [Changelog](https://github.com/floor/vlist/blob/main/CHANGELOG.md) · Autosize items whose content changes after measurement (a broken or slow image, a font swap) are now remeasured instead of clipped (#126).
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/vlist)
|
|
8
8
|
[](https://bundlephobia.com/package/vlist)
|
|
@@ -11,7 +11,7 @@ The virtual list library for every framework. Ultra efficient, batteries-include
|
|
|
11
11
|
|
|
12
12
|
- **Accessible** — WAI-ARIA, 2D keyboard navigation, focus recovery, screen-reader DOM ordering
|
|
13
13
|
- **Zero dependencies** — framework-agnostic core, tiny adapters for Vue, Svelte, Solid, React
|
|
14
|
-
- **9.
|
|
14
|
+
- **9.8 KB gzipped** — composable plugins with perfect tree-shaking
|
|
15
15
|
- **Constant memory** — ~0.1 MB overhead at any scale, from 10K to 1M+ items
|
|
16
16
|
- **Axis-neutral** — vertical and horizontal scrolling through a single code path, all plugins work in both orientations
|
|
17
17
|
|
|
@@ -56,16 +56,16 @@ const list = createVList({ container: '#app', items, item: { height: 200, templa
|
|
|
56
56
|
|
|
57
57
|
| Plugin | Size | Description |
|
|
58
58
|
|--------|------|-------------|
|
|
59
|
-
| **Base** | 9.
|
|
59
|
+
| **Base** | 9.8 KB | Virtualization, ARIA, keyboard nav, gap, padding, bounded scroll (1M+ items) |
|
|
60
60
|
| `data()` | +4.8 KB | Lazy loading with velocity-aware fetching |
|
|
61
|
-
| `selection()` | +2.
|
|
61
|
+
| `selection()` | +2.8 KB | Single/multiple selection with 2D keyboard nav |
|
|
62
62
|
| `search()` | +3.2 KB | Search bar: filter/navigate modes, match highlighting |
|
|
63
63
|
| `groups()` | +5.3 KB | Sticky/inline headers with grid + masonry + table + data integration |
|
|
64
|
-
| `autosize()` | +0
|
|
64
|
+
| `autosize()` | +1.0 KB | Auto-measure items via ResizeObserver |
|
|
65
65
|
| `scrollbar()` | +2.0 KB | Custom scrollbar UI |
|
|
66
66
|
| `grid()` | +2.4 KB | 2D grid layout |
|
|
67
67
|
| `masonry()` | +4.0 KB | Pinterest-style masonry with lane-aware keyboard nav |
|
|
68
|
-
| `carousel()` | +3.
|
|
68
|
+
| `carousel()` | +3.5 KB | Paged horizontal carousel with snap and keyboard nav |
|
|
69
69
|
| `table()` | +5.8 KB | Data table with columns, resize, sort |
|
|
70
70
|
| `tree()` | +5.0 KB | Collapsible tree with async loading and indent guides |
|
|
71
71
|
| `page()` | +0.8 KB | Window-level scrolling |
|