@toclocoinc/lattice-grid 1.4.3 → 1.5.5
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/LICENSE +1 -6
- package/README.md +38 -6
- package/docs/AI-SKILL.md +471 -0
- package/docs/API.html +2168 -0
- package/docs/api-detail.html +3886 -0
- package/lattice-grid.d.ts +9 -1
- package/lattice-grid.esm.min.js +519 -22
- package/lattice-grid.min.cjs +47322 -0
- package/lattice-grid.min.css +1 -1
- package/lattice-grid.min.js +518 -22
- package/modules/devtools.esm.min.js +66 -7
- package/modules/react.esm.min.js +2 -2
- package/modules/svelte.esm.min.js +2 -2
- package/modules/vue.esm.min.js +2 -2
- package/modules/webcomponent.esm.min.js +518 -22
- package/package.json +7 -9
package/lattice-grid.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Lattice Grid 1.4
|
|
2
|
+
* Lattice Grid 1.5.4 — type declarations
|
|
3
3
|
* Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
|
|
4
4
|
* https://latticegrid.dev
|
|
5
5
|
*/
|
|
@@ -741,6 +741,12 @@ export interface GridConfig {
|
|
|
741
741
|
dataTypes?: Record<string, DataType>;
|
|
742
742
|
/** Values sampled per undeclared column when inferring its type. Default 100. */
|
|
743
743
|
sampleSize?: number;
|
|
744
|
+
/**
|
|
745
|
+
* Raise every interactive target to a comfortable size for touch, without
|
|
746
|
+
* changing the type. `'large'` asks for it; `'default'` opts out of the
|
|
747
|
+
* coarse-pointer rule that would otherwise apply it.
|
|
748
|
+
*/
|
|
749
|
+
targetSize?: 'default' | 'large';
|
|
744
750
|
components?: Record<string, RendererCtor | EditorCtor | FilterCtor>;
|
|
745
751
|
pipes?: Record<string, (value: unknown, ...args: string[]) => string>;
|
|
746
752
|
totalFns?: Record<string, TotalFn>;
|
|
@@ -1203,6 +1209,8 @@ export interface RowsApi {
|
|
|
1203
1209
|
matchCount(): number;
|
|
1204
1210
|
data(): unknown[];
|
|
1205
1211
|
forEach(fn: (row: Row, index: number) => void): void;
|
|
1212
|
+
/** Every row in the data, before any filter. Leaf rows, in physical order. */
|
|
1213
|
+
forEachAll(fn: (row: Row, index: number) => void): void;
|
|
1206
1214
|
value(key: string, colId: string): unknown;
|
|
1207
1215
|
text(key: string, colId: string): string;
|
|
1208
1216
|
values(key: string): Record<string, unknown>;
|