vlist 3.1.7 → 3.2.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 +10 -4
- package/README.md +4 -4
- package/dist/config.js +1 -1
- package/dist/index.js +1 -1
- package/dist/plugins/carousel/plugin.d.ts +3 -0
- package/dist/plugins/masonry/plugin.d.ts +1 -1
- package/dist/plugins/table/plugin.d.ts +1 -1
- package/dist/plugins/table/types.d.ts +10 -0
- package/dist/size.json +1 -1
- package/dist/version.json +1 -1
- package/package.json +1 -1
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
* - Cannot be combined with `grid()`, `table()`, `masonry()` or `tree()`:
|
|
26
26
|
* two plugins owning one list's layout, where this one has also made the
|
|
27
27
|
* size cache speak virtual indices. Permanent.
|
|
28
|
+
* - Cannot be combined with `autosize()`: the step table is built from the
|
|
29
|
+
* item size read at setup, and a measurement arrives after it, so the
|
|
30
|
+
* measured size never reaches the steps or the virtual window.
|
|
28
31
|
* - Cannot yet be combined with `search()` or `sortable()` — see the comments
|
|
29
32
|
* on their own `conflicts`. Both are fixable and meant to be fixed.
|
|
30
33
|
* - `page()` is rejected by core: document scrolling cannot wrap.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Priority 10 — runs before selection (50) so layout is ready.
|
|
9
9
|
*
|
|
10
10
|
* Restrictions:
|
|
11
|
-
* - Cannot be combined with grid or
|
|
11
|
+
* - Cannot be combined with grid, table or autosize plugins
|
|
12
12
|
* - Cannot be combined with reverse: true
|
|
13
13
|
*/
|
|
14
14
|
import type { VListItem } from "../../types";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Priority 10 — runs before selection (50) so layout is ready.
|
|
8
8
|
*
|
|
9
9
|
* Restrictions:
|
|
10
|
-
* - Cannot be combined with grid or
|
|
10
|
+
* - Cannot be combined with grid, masonry, or autosize
|
|
11
11
|
* - Cannot be combined with horizontal orientation
|
|
12
12
|
* - Cannot be combined with reverse mode
|
|
13
13
|
*/
|
|
@@ -94,6 +94,11 @@ export interface TableConfig<T extends VListItem = VListItem> {
|
|
|
94
94
|
*
|
|
95
95
|
* At runtime, either `rowHeight` or `estimatedRowHeight` is required.
|
|
96
96
|
* When supplied, `rowHeight` determines row sizes; rows are not auto-measured.
|
|
97
|
+
*
|
|
98
|
+
* Each row's height is fixed here and never measured, so `table()` conflicts
|
|
99
|
+
* with `autosize()`. An explicit `autosize()` plugin throws the core conflict
|
|
100
|
+
* error; the `vlist/config` route wires `autosize()` when only an estimate
|
|
101
|
+
* is given (`item.estimatedHeight`) and throws before building.
|
|
97
102
|
*/
|
|
98
103
|
rowHeight: number | ((index: number) => number);
|
|
99
104
|
/**
|
|
@@ -104,6 +109,11 @@ export interface TableConfig<T extends VListItem = VListItem> {
|
|
|
104
109
|
* (the fallback in `src/core/create.ts`, `resolveSizeConfig`). If supplied,
|
|
105
110
|
* `rowHeight` takes precedence, whether a number or a function.
|
|
106
111
|
*
|
|
112
|
+
* A table's rows have a fixed height, so `table()` conflicts with `autosize()`.
|
|
113
|
+
* An explicit `autosize()` plugin throws the core conflict error; the
|
|
114
|
+
* `vlist/config` route wires `autosize()` when only an estimate is given
|
|
115
|
+
* (`item.estimatedHeight`) and throws before building.
|
|
116
|
+
*
|
|
107
117
|
* Rows are not measured via ResizeObserver; tall cell content is clipped
|
|
108
118
|
* at the row height. See #345.
|
|
109
119
|
*/
|
package/dist/size.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"base":{"minified":"27.3","gzipped":"10.3","minBytes":27986,"gzBytes":10539},"synthetic":{"minified":"34.2","gzipped":"12.9","minBytes":35039,"gzBytes":13192},"synthetic + carousel":{"minified":"49.3","gzipped":"18.1","minBytes":
|
|
1
|
+
{"base":{"minified":"27.3","gzipped":"10.3","minBytes":27986,"gzBytes":10539},"synthetic":{"minified":"34.2","gzipped":"12.9","minBytes":35039,"gzBytes":13192},"synthetic + carousel":{"minified":"49.3","gzipped":"18.1","minBytes":50509,"gzBytes":18519},"synthetic + sortable":{"minified":"46.1","gzipped":"16.5","minBytes":47232,"gzBytes":16885},"createStats":{"minified":"27.9","gzipped":"10.5","minBytes":28588,"gzBytes":10770},"synthetic + createStats":{"minified":"34.8","gzipped":"13.1","minBytes":35641,"gzBytes":13422},"native":{"minified":"27.3","gzipped":"10.3","minBytes":27986,"gzBytes":10536},"vue":{"minified":"27.7","gzipped":"10.5","minBytes":28376,"gzBytes":10722},"svelte":{"minified":"27.5","gzipped":"10.4","minBytes":28171,"gzBytes":10626},"solid":{"minified":"27.6","gzipped":"10.4","minBytes":28283,"gzBytes":10688},"react":{"minified":"27.8","gzipped":"10.5","minBytes":28423,"gzBytes":10717},"react + grid":{"minified":"35.2","gzipped":"13.1","minBytes":36029,"gzBytes":13411},"a11y":{"minified":"32.4","gzipped":"12.2","minBytes":33147,"gzBytes":12462},"selection":{"minified":"37.8","gzipped":"13.6","minBytes":38679,"gzBytes":13899},"data":{"minified":"41.0","gzipped":"15.1","minBytes":41945,"gzBytes":15449},"scrollbar":{"minified":"35.5","gzipped":"13.2","minBytes":36335,"gzBytes":13499},"sortable":{"minified":"39.2","gzipped":"13.9","minBytes":40170,"gzBytes":14245},"groups":{"minified":"43.5","gzipped":"15.7","minBytes":44521,"gzBytes":16083},"page":{"minified":"29.9","gzipped":"11.2","minBytes":30588,"gzBytes":11478},"snapshots":{"minified":"30.6","gzipped":"11.4","minBytes":31366,"gzBytes":11697},"transition":{"minified":"34.1","gzipped":"12.3","minBytes":34883,"gzBytes":12570},"autosize":{"minified":"31.7","gzipped":"11.9","minBytes":32453,"gzBytes":12177},"grid":{"minified":"34.8","gzipped":"12.9","minBytes":35592,"gzBytes":13209},"table":{"minified":"46.4","gzipped":"16.4","minBytes":47537,"gzBytes":16800},"masonry":{"minified":"39.4","gzipped":"14.7","minBytes":40384,"gzBytes":15061},"tree":{"minified":"43.1","gzipped":"15.6","minBytes":44160,"gzBytes":15933},"search":{"minified":"36.9","gzipped":"13.6","minBytes":37784,"gzBytes":13911},"carousel":{"minified":"43.3","gzipped":"15.8","minBytes":44297,"gzBytes":16159}}
|
package/dist/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"3.
|
|
1
|
+
{"version":"3.2.0","commit":"5e88c81","builtAt":"2026-10-20T17:31:22.992Z","released":true}
|