gm-datagrid 0.1.4 → 0.1.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.
@@ -12,6 +12,17 @@ interface GridToolbarProps {
12
12
  onToggleDensity: () => void;
13
13
  subtotals?: Record<string, number>;
14
14
  subtotalFields?: string[];
15
+ /** Column filter row toggle */
16
+ filterOpen?: boolean;
17
+ onToggleFilter?: () => void;
18
+ activeFilterCount?: number;
19
+ /** Group-by picker */
20
+ groupableColumns?: Array<{
21
+ field: string;
22
+ headerName: string;
23
+ }>;
24
+ groupByField?: string | null;
25
+ onGroupBy?: (field: string | null) => void;
15
26
  }
16
27
  /**
17
28
  * Desktop toolbar: title, optional quick-filter input, action buttons, subtotals row.
@@ -86,6 +86,11 @@ export interface FilterGroup {
86
86
  logic: FilterLogic;
87
87
  conditions: FilterCondition[];
88
88
  }
89
+ export interface GroupHeader {
90
+ key: string;
91
+ count: number;
92
+ subtotals: Record<string, number>;
93
+ }
89
94
  export interface ApiContext {
90
95
  companyId?: string;
91
96
  authToken?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-datagrid",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Enterprise Excel-like data grid powered by a Rust/Wasm core engine and React",
5
5
  "keywords": [
6
6
  "datagrid",