@coolon/angular-ui-powerups 14.39.1 → 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.
- package/assets/table.scss +15 -1
- package/esm2020/lib/components/empty-state/empty-state.component.mjs +3 -3
- package/fesm2015/coolon-angular-ui-powerups.mjs +2 -2
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +2 -2
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/package.json +2 -2
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
|
}
|
|
@@ -11,13 +11,13 @@ EmptyStateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
11
11
|
<div class="container">
|
|
12
12
|
<ng-content></ng-content>
|
|
13
13
|
</div>
|
|
14
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{display:flex;flex-direction:column;align-items:stretch;padding:var(--aup-default-padding);border:2px dashed rgba(0,0,0
|
|
14
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}\n"] });
|
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: EmptyStateComponent, decorators: [{
|
|
16
16
|
type: Component,
|
|
17
17
|
args: [{ selector: 'aup-empty-state', template: `
|
|
18
18
|
<div class="container">
|
|
19
19
|
<ng-content></ng-content>
|
|
20
20
|
</div>
|
|
21
|
-
`, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{display:flex;flex-direction:column;align-items:stretch;padding:var(--aup-default-padding);border:2px dashed rgba(0,0,0
|
|
21
|
+
`, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}\n"] }]
|
|
22
22
|
}], ctorParameters: function () { return []; } });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wdHktc3RhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9lbXB0eS1zdGF0ZS9lbXB0eS1zdGF0ZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBNkIsTUFBTSxlQUFlLENBQUM7O0FBV3BFLE1BQU0sT0FBTyxtQkFBbUI7SUFFOUI7SUFDQSxDQUFDO0lBRUQsUUFBUTtJQUNSLENBQUM7O2lIQU5VLG1CQUFtQjtxR0FBbkIsbUJBQW1CLHVEQVBwQjs7OztHQUlUOzRGQUdVLG1CQUFtQjtrQkFUL0IsU0FBUzsrQkFDRSxpQkFBaUIsWUFDakI7Ozs7R0FJVCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q29tcG9uZW50LCBIb3N0QmluZGluZywgSW5wdXQsIE9uSW5pdH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2F1cC1lbXB0eS1zdGF0ZScsXG4gIHRlbXBsYXRlOiBgXG4gICAgICA8ZGl2IGNsYXNzPVwiY29udGFpbmVyXCI+XG4gICAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgICAgPC9kaXY+XG4gIGAsXG4gIHN0eWxlVXJsczogWycuL2VtcHR5LXN0YXRlLmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgRW1wdHlTdGF0ZUNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gIH1cblxuICBuZ09uSW5pdCgpIHtcbiAgfVxufVxuIl19
|
|
@@ -1578,14 +1578,14 @@ EmptyStateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
1578
1578
|
<div class="container">
|
|
1579
1579
|
<ng-content></ng-content>
|
|
1580
1580
|
</div>
|
|
1581
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{display:flex;flex-direction:column;align-items:stretch;padding:var(--aup-default-padding);border:2px dashed rgba(0,0,0
|
|
1581
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}\n"] });
|
|
1582
1582
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: EmptyStateComponent, decorators: [{
|
|
1583
1583
|
type: Component,
|
|
1584
1584
|
args: [{ selector: 'aup-empty-state', template: `
|
|
1585
1585
|
<div class="container">
|
|
1586
1586
|
<ng-content></ng-content>
|
|
1587
1587
|
</div>
|
|
1588
|
-
`, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{display:flex;flex-direction:column;align-items:stretch;padding:var(--aup-default-padding);border:2px dashed rgba(0,0,0
|
|
1588
|
+
`, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}\n"] }]
|
|
1589
1589
|
}], ctorParameters: function () { return []; } });
|
|
1590
1590
|
|
|
1591
1591
|
class FocusContainerComponent extends DisposableComponent {
|