@coolon/angular-ui-powerups 14.39.2 → 14.40.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.
Files changed (2) hide show
  1. package/assets/table.scss +15 -1
  2. package/package.json +1 -1
package/assets/table.scss CHANGED
@@ -4,6 +4,8 @@
4
4
  --resolved-row-hover-background-color: var(--row-hover-background-color, var(--aup-table-row-hover-background-color, rgba(0, 0, 0, 0.05)));
5
5
  --resolved-first-column-padding-left: var(--first-column-padding-left, var(--aup-table-first-column-padding-left, var(--resolved-column-gap)));
6
6
  --resolved-last-column-padding-right: var(--last-column-padding-right, var(--aup-table-last-column-padding-right, var(--resolved-column-gap)));
7
+ --resolved-header-row-height: var(--aup-table-header-row-height, 48px);
8
+ --resolved-row-height: var(--aup-table-row-height, 48px);
7
9
 
8
10
  &.hide-header {
9
11
  .mat-table thead {
@@ -18,6 +20,10 @@
18
20
  }
19
21
  }
20
22
 
23
+ tr.mat-header-row {
24
+ height: auto;
25
+ }
26
+
21
27
  th.mat-header-cell:first-of-type,
22
28
  td.mat-cell:first-of-type,
23
29
  td.mat-footer-cell:first-of-type {
@@ -64,7 +70,6 @@
64
70
  align-items: stretch;
65
71
  justify-content: center;
66
72
  height: 100%;
67
- min-height: 47px; // same as mat table row height - border bottom.
68
73
 
69
74
  padding-left: var(--resolved-column-gap);
70
75
 
@@ -90,4 +95,13 @@
90
95
  }
91
96
  }
92
97
  }
98
+
99
+ aup-table-header-cell {
100
+ min-height: calc(var(--resolved-header-row-height) - 1px); // subtracting the bottom border width.
101
+ }
102
+
103
+ aup-table-cell {
104
+ min-height: var(--resolved-row-height); // same as mat table row height - border bottom.
105
+ }
106
+
93
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "14.39.2",
3
+ "version": "14.40.0",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "^14.2.12",