@brickclay-org/ui 0.0.70 → 0.0.72

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/index.d.ts CHANGED
@@ -622,7 +622,7 @@ interface TableColumn<T = any> {
622
622
  cellClass?: string;
623
623
  formatter?: (row: T) => string;
624
624
  badges?: TableBadge[];
625
- icons?: TableIcon[];
625
+ icons?: TableIcon[] | ((row: T) => TableIcon[]);
626
626
  /** show / hide both th + td */
627
627
  visible?: boolean;
628
628
  }
@@ -674,6 +674,7 @@ declare class BkGrid<T = any> {
674
674
  onDragMoved(event: CdkDragMove<any>): void;
675
675
  onDragStart(event: CdkDragStart<any>): void;
676
676
  getBadge(row: T, column: TableColumn<T>): TableBadge | undefined;
677
+ getIcons(row: T, column: TableColumn<T>): TableIcon[];
677
678
  static ɵfac: i0.ɵɵFactoryDeclaration<BkGrid<any>, never>;
678
679
  static ɵcmp: i0.ɵɵComponentDeclaration<BkGrid<any>, "bk-grid", never, { "draggable": { "alias": "draggable"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "result": { "alias": "result"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "actionClick": "actionClick"; "sortChange": "sortChange"; "dragDropChange": "dragDropChange"; }, never, never, true, never>;
679
680
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brickclay-org/ui",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "ng-add": {
6
6
  "save": "dependencies"