@danske/sapphire-angular 2.5.0 → 2.7.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.
@@ -2,10 +2,12 @@ import { QueryList } from '@angular/core';
2
2
  import { TableComponent } from './table.component';
3
3
  import { TableCellDirective } from './table-cell.directive';
4
4
  import { BooleanInput } from '@angular/cdk/coercion';
5
+ import { TableFooterDirective } from './table-footer.directive';
5
6
  import * as i0 from "@angular/core";
6
7
  import * as i1 from "../../common/sapphire-view-encapsulation";
7
8
  export declare class TableRowDirective<D = unknown> {
8
9
  table: TableComponent;
10
+ _footer: TableFooterDirective;
9
11
  cells: QueryList<TableCellDirective>;
10
12
  rowData: D | null;
11
13
  disabled: BooleanInput;
@@ -22,7 +24,7 @@ export declare class TableRowDirective<D = unknown> {
22
24
  highlighted: BooleanInput;
23
25
  private onRowClick;
24
26
  getColumnHeadCell(cell: TableCellDirective): import("@danske/sapphire-angular").TableHeadCellComponent | undefined;
25
- constructor(table: TableComponent);
26
- static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDirective<any>, never>;
27
+ constructor(table: TableComponent, _footer: TableFooterDirective);
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDirective<any>, [null, { optional: true; }]>;
27
29
  static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDirective<any>, "tr[sp-table-tr]", never, { "rowData": "rowData"; "disabled": "disabled"; "selected": "selected"; "highlighted": "highlighted"; }, {}, ["cells"], never, false, [{ directive: typeof i1.UseComponentStyles; inputs: {}; outputs: {}; }]>;
28
30
  }
@@ -28,11 +28,16 @@ export declare class TableComponent {
28
28
  height: number | undefined;
29
29
  maxHeight: number | undefined;
30
30
  cellSpacing: 'sm' | 'md' | 'lg' | 'xl';
31
+ /**
32
+ * Same as CSS table-layout property.
33
+ * @default 'auto'
34
+ */
35
+ layout?: 'auto' | 'fixed';
31
36
  get isInteractive(): boolean;
32
37
  rows?: QueryList<TableRowDirective>;
33
38
  headCells?: QueryList<TableHeadCellComponent>;
34
39
  table?: TableDirective;
35
40
  constructor();
36
41
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "sp-table", never, { "stickyHeader": "stickyHeader"; "cellOverflow": "cellOverflow"; "height": "height"; "maxHeight": "maxHeight"; "cellSpacing": "cellSpacing"; }, { "rowAction": "rowAction"; }, ["table", "rows", "headCells"], ["table"], false, [{ directive: typeof i1.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "sp-table", never, { "stickyHeader": "stickyHeader"; "cellOverflow": "cellOverflow"; "height": "height"; "maxHeight": "maxHeight"; "cellSpacing": "cellSpacing"; "layout": "layout"; }, { "rowAction": "rowAction"; }, ["table", "rows", "headCells"], ["table"], false, [{ directive: typeof i1.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
38
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danske/sapphire-angular",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "The Angular implementation of the Sapphire Design System from Danske Bank A/S",
6
6
  "module": "fesm2015/danske-sapphire-angular.mjs",
@@ -16,11 +16,11 @@
16
16
  "@danske/sapphire-icons": "^2.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@danske/sapphire-css": "^38.0.0",
19
+ "@danske/sapphire-css": "^38.1.1",
20
20
  "@internationalized/message": "^3.1.5",
21
21
  "tslib": "^2.3.0"
22
22
  },
23
- "gitHead": "7673827573af06dab98309795b977522151a5c2c",
23
+ "gitHead": "6bd3c484a3b470e3efbb4b9bc14f8132ad50071f",
24
24
  "es2020": "fesm2020/danske-sapphire-angular.mjs",
25
25
  "esm2020": "esm2020/danske-sapphire-angular.mjs",
26
26
  "fesm2020": "fesm2020/danske-sapphire-angular.mjs",