@homebound/beam 2.218.1 → 2.219.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.
@@ -39,6 +39,7 @@ export declare type GridTableApi<R extends Kinded> = {
39
39
  selectRow: (id: string, selected?: boolean) => void;
40
40
  /** Toggle collapse state of a row by id */
41
41
  toggleCollapsedRow: (id: string) => void;
42
+ isCollapsedRow: (id: string) => boolean;
42
43
  setVisibleColumns: (ids: string[]) => void;
43
44
  getVisibleColumnIds: () => string[];
44
45
  };
@@ -55,6 +56,7 @@ export declare class GridTableApiImpl<R extends Kinded> implements GridTableApi<
55
56
  setActiveCellId(id: string | undefined): void;
56
57
  selectRow(id: string, selected?: boolean): void;
57
58
  toggleCollapsedRow(id: string): void;
59
+ isCollapsedRow(id: string): boolean;
58
60
  setVisibleColumns(ids: string[]): void;
59
61
  getVisibleColumnIds(): string[];
60
62
  }
@@ -68,6 +68,9 @@ class GridTableApiImpl {
68
68
  toggleCollapsedRow(id) {
69
69
  this.tableState.toggleCollapsed(id);
70
70
  }
71
+ isCollapsedRow(id) {
72
+ return this.tableState.isCollapsed(id);
73
+ }
71
74
  setVisibleColumns(ids) {
72
75
  this.tableState.setVisibleColumns(ids);
73
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebound/beam",
3
- "version": "2.218.1",
3
+ "version": "2.219.0",
4
4
  "author": "Homebound",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",