@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/lattice-grid.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.4.0 — type declarations
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>;