vlist 3.6.4 → 3.7.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.github.md +5 -5
- package/README.md +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internals.js +1 -1
- package/dist/plugins/snapshots/plugin.d.ts +4 -0
- package/dist/plugins/table/plugin.d.ts +19 -0
- package/dist/size.json +1 -1
- package/dist/version.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.
|
|
4
4
|
|
|
5
|
-
**v3.
|
|
5
|
+
**v3.7.1** — `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
|
[](https://www.npmjs.com/package/vlist)
|
|
8
8
|
[](https://bundlephobia.com/package/vlist)
|
|
@@ -274,13 +274,13 @@ 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.
|
|
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 |
|
|
281
|
-
| `table()` | 45.
|
|
281
|
+
| `table()` | 45.6 KB | 16.7 KB |
|
|
282
282
|
| `table()` + `columnPin()` | 51.8 KB | 18.7 KB |
|
|
283
|
-
| `table()` + `columnReorder()` | 52.
|
|
283
|
+
| `table()` + `columnReorder()` | 52.6 KB | 19.0 KB |
|
|
284
284
|
| `masonry()` | 39.6 KB | 14.9 KB |
|
|
285
285
|
| `tree()` | 43.5 KB | 15.8 KB |
|
|
286
286
|
| `search()` | 36.5 KB | 13.9 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' })
|
|
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.
|
|
5
|
+
**v3.7.1** — `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
|
[](https://www.npmjs.com/package/vlist)
|
|
8
8
|
[](https://bundlephobia.com/package/vlist)
|
|
@@ -141,13 +141,13 @@ 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.
|
|
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 |
|
|
148
|
-
| `table()` | 45.
|
|
148
|
+
| `table()` | 45.6 KB | 16.7 KB |
|
|
149
149
|
| `table()` + `columnPin()` | 51.8 KB | 18.7 KB |
|
|
150
|
-
| `table()` + `columnReorder()` | 52.
|
|
150
|
+
| `table()` + `columnReorder()` | 52.6 KB | 19.0 KB |
|
|
151
151
|
| `masonry()` | 39.6 KB | 14.9 KB |
|
|
152
152
|
| `tree()` | 43.5 KB | 15.8 KB |
|
|
153
153
|
| `search()` | 36.5 KB | 13.9 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";
|