@energycap/components 0.43.10-ECAP-30624-List-Selection-Toolbar-Changes.20250730-1355 → 0.43.10-ECAP-30624-List-Selection-Toolbar-Changes.20250801-0914

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.
@@ -138,6 +138,9 @@ export declare class SearchableTableComponent implements OnInit, OnDestroy, OnCh
138
138
  selectionContext?: TableSelectableRowContext;
139
139
  /** Passed to the inner TableComponent to display a toolbar when 1 or more rows are selected. Requires `[selectionContext]` to be defined. */
140
140
  selectionToolbarTemplate?: TemplateRef<any>;
141
+ /** Passed to the inner TableComponent to display the toolbar/header title and swap them out based on selection.
142
+ * With this set, the selection toolbar will not mask the table column headers. Requires `[selectionToolbarTemplate]` to be defined to behave this way.
143
+ */
141
144
  headerTitleTemplate?: TemplateRef<any>;
142
145
  resizableColumns: QueryList<ResizableColumnComponent>;
143
146
  /** Optional text to add to the results count in the table footer. This text will be added after the count and objectType. */
@@ -57,6 +57,9 @@ export declare class TableComponent implements AfterViewInit, OnDestroy, OnChang
57
57
  selectionContext?: TableSelectableRowContext;
58
58
  /** Include actions to display in a bar over the table header when 1 or more rows are selected. Requires `[selectionContext]` to be defined */
59
59
  selectionToolbarTemplate?: TemplateRef<any>;
60
+ /** Include a template to display in the table header. This will be displayed above the table content. When paired with the selectionToolbarTemplate
61
+ * the headerTitleTemplate will swap positions with the selection toolbar and not cover up the table column headers.
62
+ */
60
63
  headerTitleTemplate?: TemplateRef<any>;
61
64
  /** Set to true if selectionContext is defined */
62
65
  selectable: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.43.10-ECAP-30624-List-Selection-Toolbar-Changes.20250730-1355",
3
+ "version": "0.43.10-ECAP-30624-List-Selection-Toolbar-Changes.20250801-0914",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"