vlist 3.0.0-next.5 → 3.0.0

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 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.
4
4
 
5
- **v3.0.0-next.5** (prerelease on the npm `next` tag) — Native scrolling by default, opt-in `vlist/synthetic`, and removal of deprecated scroll configuration and plugin hooks. See the [changelog](https://github.com/floor/vlist/blob/next/CHANGELOG.md).
5
+ **v3.0.0** — Native scrolling by default, opt-in `vlist/synthetic`, and removal of deprecated scroll configuration and plugin hooks. See the [changelog](https://github.com/floor/vlist/blob/next/CHANGELOG.md).
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/vlist.svg)](https://www.npmjs.com/package/vlist)
8
8
  [![bundle size](https://img.shields.io/bundlephobia/minzip/vlist)](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** — `a11y()` or a selection mode adds 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
- - **10.0 KB gzipped (3.0 prerelease)** — composable plugins with perfect tree-shaking
14
+ - **10.0 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
@@ -42,7 +42,7 @@ The virtual list library for every framework. Ultra efficient, batteries-include
42
42
 
43
43
  ```bash
44
44
  npm install vlist # vanilla JS
45
- npm install vlist@next # 3.0 prerelease; latest stays on 2.8
45
+ npm install vlist@2 # the 2.x line, still maintained
46
46
  npm install vlist vlist-vue # or vlist-svelte / vlist-solidjs / vlist-react
47
47
  ```
48
48
 
@@ -178,29 +178,29 @@ Removed mode/runway options throw a migration error before creating DOM. `vlist/
178
178
 
179
179
  | Entry / export | Minified | Gzipped |
180
180
  |---|---:|---:|
181
- | **Base (`vlist`)** | 26.9 KB | 10.0 KB |
182
- | `vlist/synthetic` | 33.8 KB | 12.6 KB |
183
- | `vlist/native` (alias) | 26.9 KB | 10.0 KB |
184
- | `a11y()` | 30.7 KB | 11.3 KB |
185
- | `selection()` | 36.4 KB | 12.9 KB |
181
+ | **Base (`vlist`)** | 27.0 KB | 10.0 KB |
182
+ | `vlist/synthetic` | 33.9 KB | 12.6 KB |
183
+ | `vlist/native` (alias) | 27.0 KB | 10.0 KB |
184
+ | `a11y()` | 30.8 KB | 11.4 KB |
185
+ | `selection()` | 36.5 KB | 12.9 KB |
186
186
  | `data()` | 40.6 KB | 14.8 KB |
187
187
  | `scrollbar()` | 35.1 KB | 12.8 KB |
188
- | `sortable()` | 38.7 KB | 13.4 KB |
188
+ | `sortable()` | 38.9 KB | 13.6 KB |
189
189
  | `groups()` | 43.0 KB | 15.4 KB |
190
190
  | `page()` | 29.5 KB | 10.9 KB |
191
- | `snapshots()` | 30.2 KB | 11.1 KB |
191
+ | `snapshots()` | 30.3 KB | 11.1 KB |
192
192
  | `transition()` | 33.7 KB | 12.0 KB |
193
- | `autosize()` | 30.1 KB | 11.1 KB |
193
+ | `autosize()` | 30.2 KB | 11.1 KB |
194
194
  | `grid()` | 34.4 KB | 12.5 KB |
195
195
  | `table()` | 45.4 KB | 15.9 KB |
196
196
  | `masonry()` | 39.0 KB | 14.4 KB |
197
197
  | `tree()` | 43.1 KB | 15.3 KB |
198
198
  | `search()` | 36.5 KB | 13.3 KB |
199
- | `carousel()` | 41.7 KB | 15.1 KB |
199
+ | `carousel()` | 41.7 KB | 15.2 KB |
200
200
  | `vlist/synthetic` + `carousel()` | 47.8 KB | 17.4 KB |
201
- | `vlist/synthetic` + `sortable()` | 45.7 KB | 16.1 KB |
201
+ | `vlist/synthetic` + `sortable()` | 45.8 KB | 16.2 KB |
202
202
 
203
- Sizes are tree-shaken totals from `bun run size`, not additive plugin costs. Plugin rows include the native default factory plus that plugin. The base is **10,200 bytes gzipped**, within the 10.0 KB budget (10,240 bytes). `bun run size` fails if a scenario fails to build, an unused plugin leaks into a bundle, or any published size exceeds its gzip budget. Synthetic input is **12,889 bytes** before plugins. The alias row measures the same source factory; the distributed alias re-exports it without duplicating the implementation.
203
+ Sizes are tree-shaken totals from `bun run size`, not additive plugin costs. Plugin rows include the native default factory plus that plugin. The base is **10,201 bytes gzipped**, within the 10.0 KB budget (10,240 bytes). `bun run size` fails if a scenario fails to build, an unused plugin leaks into a bundle, or any published size exceeds its gzip budget. Synthetic input is **12,893 bytes** before plugins. The alias row measures the same source factory; the distributed alias re-exports it without duplicating the implementation.
204
204
 
205
205
  ## Examples
206
206
 
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.
4
4
 
5
- **v3.0.0-next.5** (prerelease on the npm `next` tag) — Native scrolling by default, opt-in `vlist/synthetic`, and removal of deprecated scroll configuration and plugin hooks. See the [changelog](https://github.com/floor/vlist/blob/next/CHANGELOG.md).
5
+ **v3.0.0** — Native scrolling by default, opt-in `vlist/synthetic`, and removal of deprecated scroll configuration and plugin hooks. See the [changelog](https://github.com/floor/vlist/blob/next/CHANGELOG.md).
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/vlist.svg)](https://www.npmjs.com/package/vlist)
8
8
  [![bundle size](https://img.shields.io/bundlephobia/minzip/vlist)](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** — `a11y()` or a selection mode adds 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
- - **10.0 KB gzipped (3.0 prerelease)** — composable plugins with perfect tree-shaking
14
+ - **10.0 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
 
@@ -19,7 +19,7 @@ The virtual list library for every framework. Ultra efficient, batteries-include
19
19
 
20
20
  ```bash
21
21
  npm install vlist
22
- npm install vlist@next # 3.0 prerelease; latest stays on 2.8
22
+ npm install vlist@2 # the 2.x line, still maintained
23
23
  ```
24
24
 
25
25
  ## Quick Start
@@ -124,29 +124,29 @@ Removed mode/runway options throw a migration error before creating DOM. `vlist/
124
124
 
125
125
  | Entry / export | Minified | Gzipped |
126
126
  |---|---:|---:|
127
- | **Base (`vlist`)** | 26.9 KB | 10.0 KB |
128
- | `vlist/synthetic` | 33.8 KB | 12.6 KB |
129
- | `vlist/native` (alias) | 26.9 KB | 10.0 KB |
130
- | `a11y()` | 30.7 KB | 11.3 KB |
131
- | `selection()` | 36.4 KB | 12.9 KB |
127
+ | **Base (`vlist`)** | 27.0 KB | 10.0 KB |
128
+ | `vlist/synthetic` | 33.9 KB | 12.6 KB |
129
+ | `vlist/native` (alias) | 27.0 KB | 10.0 KB |
130
+ | `a11y()` | 30.8 KB | 11.4 KB |
131
+ | `selection()` | 36.5 KB | 12.9 KB |
132
132
  | `data()` | 40.6 KB | 14.8 KB |
133
133
  | `scrollbar()` | 35.1 KB | 12.8 KB |
134
- | `sortable()` | 38.7 KB | 13.4 KB |
134
+ | `sortable()` | 38.9 KB | 13.6 KB |
135
135
  | `groups()` | 43.0 KB | 15.4 KB |
136
136
  | `page()` | 29.5 KB | 10.9 KB |
137
- | `snapshots()` | 30.2 KB | 11.1 KB |
137
+ | `snapshots()` | 30.3 KB | 11.1 KB |
138
138
  | `transition()` | 33.7 KB | 12.0 KB |
139
- | `autosize()` | 30.1 KB | 11.1 KB |
139
+ | `autosize()` | 30.2 KB | 11.1 KB |
140
140
  | `grid()` | 34.4 KB | 12.5 KB |
141
141
  | `table()` | 45.4 KB | 15.9 KB |
142
142
  | `masonry()` | 39.0 KB | 14.4 KB |
143
143
  | `tree()` | 43.1 KB | 15.3 KB |
144
144
  | `search()` | 36.5 KB | 13.3 KB |
145
- | `carousel()` | 41.7 KB | 15.1 KB |
145
+ | `carousel()` | 41.7 KB | 15.2 KB |
146
146
  | `vlist/synthetic` + `carousel()` | 47.8 KB | 17.4 KB |
147
- | `vlist/synthetic` + `sortable()` | 45.7 KB | 16.1 KB |
147
+ | `vlist/synthetic` + `sortable()` | 45.8 KB | 16.2 KB |
148
148
 
149
- Sizes are tree-shaken totals from `bun run size`, not additive plugin costs. Plugin rows include the native default factory plus that plugin. The base is **10,200 bytes gzipped**, within the 10.0 KB budget (10,240 bytes). `bun run size` fails if a scenario fails to build, an unused plugin leaks into a bundle, or any published size exceeds its gzip budget. Synthetic input is **12,889 bytes** before plugins. The alias row measures the same source factory; the distributed alias re-exports it without duplicating the implementation.
149
+ Sizes are tree-shaken totals from `bun run size`, not additive plugin costs. Plugin rows include the native default factory plus that plugin. The base is **10,201 bytes gzipped**, within the 10.0 KB budget (10,240 bytes). `bun run size` fails if a scenario fails to build, an unused plugin leaks into a bundle, or any published size exceeds its gzip budget. Synthetic input is **12,893 bytes** before plugins. The alias row measures the same source factory; the distributed alias re-exports it without duplicating the implementation.
150
150
 
151
151
  ## Framework Adapters
152
152