vlist 3.6.4 → 3.7.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.6.4** — `scroll.mode` on the one `vlist` entry: the default, `"auto"`, scrolls natively and hands a list past the browser's size limit to synthetic input, which draws its own scrollbar. Vue, Svelte, Solid and React entries in the package itself (`vlist/vue`, `vlist/svelte`, `vlist/solid`, `vlist/react`), feature-first and tree-shaken like the vanilla builder; the separate adapter packages are deprecated. See the [changelog](https://github.com/floor/vlist/blob/main/CHANGELOG.md).
5
+ **v3.7.0** — `scroll.mode` on the one `vlist` entry: the default, `"auto"`, scrolls natively and hands a list past the browser's size limit to synthetic input, which draws its own scrollbar. Vue, Svelte, Solid and React entries in the package itself (`vlist/vue`, `vlist/svelte`, `vlist/solid`, `vlist/react`), feature-first and tree-shaken like the vanilla builder; the separate adapter packages are deprecated. See the [changelog](https://github.com/floor/vlist/blob/main/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)
@@ -274,7 +274,7 @@ The touch-only `.vlist-item--touch-sort` class suppresses selection and callouts
274
274
  | `sortable()` | 39.2 KB | 14.0 KB |
275
275
  | `groups()` | 43.7 KB | 16.1 KB |
276
276
  | `page()` | 30.3 KB | 11.5 KB |
277
- | `snapshots()` | 30.5 KB | 11.6 KB |
277
+ | `snapshots()` | 30.8 KB | 11.7 KB |
278
278
  | `transition()` | 33.9 KB | 12.4 KB |
279
279
  | `autosize()` | 32.1 KB | 12.2 KB |
280
280
  | `grid()` | 34.9 KB | 13.1 KB |
@@ -610,7 +610,7 @@ scrollbar({ autoHide?, autoHideDelay?, minThumbSize? })
610
610
  transition({ duration?: 200, insert?: timing, remove?: timing })
611
611
  sortable({ handle?: '.drag-handle' }) // drag-and-drop reordering
612
612
  page() // no config — uses document scroll
613
- snapshots({ autoSave: 'key' }) // automatic sessionStorage save/restore
613
+ snapshots({ autoSave: 'key', restorePosition?: 'legacy' | 'anchor' }) // automatic sessionStorage save/restore
614
614
  ```
615
615
 
616
616
  ### Autosize
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.6.4** — `scroll.mode` on the one `vlist` entry: the default, `"auto"`, scrolls natively and hands a list past the browser's size limit to synthetic input, which draws its own scrollbar. Vue, Svelte, Solid and React entries in the package itself (`vlist/vue`, `vlist/svelte`, `vlist/solid`, `vlist/react`), feature-first and tree-shaken like the vanilla builder; the separate adapter packages are deprecated. See the [changelog](https://github.com/floor/vlist/blob/main/CHANGELOG.md).
5
+ **v3.7.0** — `scroll.mode` on the one `vlist` entry: the default, `"auto"`, scrolls natively and hands a list past the browser's size limit to synthetic input, which draws its own scrollbar. Vue, Svelte, Solid and React entries in the package itself (`vlist/vue`, `vlist/svelte`, `vlist/solid`, `vlist/react`), feature-first and tree-shaken like the vanilla builder; the separate adapter packages are deprecated. See the [changelog](https://github.com/floor/vlist/blob/main/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)
@@ -141,7 +141,7 @@ The touch-only `.vlist-item--touch-sort` class suppresses selection and callouts
141
141
  | `sortable()` | 39.2 KB | 14.0 KB |
142
142
  | `groups()` | 43.7 KB | 16.1 KB |
143
143
  | `page()` | 30.3 KB | 11.5 KB |
144
- | `snapshots()` | 30.5 KB | 11.6 KB |
144
+ | `snapshots()` | 30.8 KB | 11.7 KB |
145
145
  | `transition()` | 33.9 KB | 12.4 KB |
146
146
  | `autosize()` | 32.1 KB | 12.2 KB |
147
147
  | `grid()` | 34.9 KB | 13.1 KB |
package/dist/index.d.ts CHANGED
@@ -32,7 +32,7 @@ export type { DataPluginConfig } from "./plugins/data";
32
32
  export { groups } from "./plugins/groups";
33
33
  export type { GroupsPluginConfig } from "./plugins/groups";
34
34
  export { table, columnPin, columnReorder } from "./plugins/table";
35
- export type { TablePluginConfig, TableSort, TableFeature, TableFeatureMethods, ColumnPinConfig, ColumnPinEvent, ColumnReorderConfig, ColumnReorderEvent } from "./plugins/table";
35
+ export type { TablePluginConfig, TableColumn, TableSort, TableFeature, TableFeatureMethods, ColumnPinConfig, ColumnPinEvent, ColumnReorderConfig, ColumnReorderEvent } from "./plugins/table";
36
36
  export { sortable } from "./plugins/sortable";
37
37
  export type { SortablePluginConfig } from "./plugins/sortable";
38
38
  export { tree } from "./plugins/tree";