@homebound/beam 2.257.0 → 2.258.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.
|
@@ -197,7 +197,7 @@ function GridTable(props) {
|
|
|
197
197
|
return [headerRows, visibleDataRows, totalsRows, expandableHeaderRows, filteredRowIds];
|
|
198
198
|
}, [as, api, filter, maybeSorted, columns, style, rowStyles, sortOn, columnSizes, collapsedIds, getCount]);
|
|
199
199
|
// Once our header rows are created we can organize them in expected order.
|
|
200
|
-
const tableHeadRows =
|
|
200
|
+
const tableHeadRows = expandableHeaderRows.concat(headerRows).concat(totalsRows);
|
|
201
201
|
let tooManyClientSideRows = false;
|
|
202
202
|
if (filterMaxRows && visibleDataRows.length > filterMaxRows) {
|
|
203
203
|
tooManyClientSideRows = true;
|
|
@@ -68,7 +68,7 @@ export interface GridStyleDef {
|
|
|
68
68
|
vAlign?: "top" | "center" | "bottom";
|
|
69
69
|
}
|
|
70
70
|
export declare const getTableStyles: (props?: GridStyleDef) => GridStyle;
|
|
71
|
-
export declare const totalsRowHeight =
|
|
71
|
+
export declare const totalsRowHeight = 40;
|
|
72
72
|
export declare const expandableHeaderRowHeight = 40;
|
|
73
73
|
/** Defines row-specific styling for each given row `kind` in `R` */
|
|
74
74
|
export type RowStyles<R extends Kinded> = {
|
|
@@ -38,7 +38,7 @@ function memoizedTableStyles() {
|
|
|
38
38
|
...Css_1.Css.gray700.xsMd.bgGray200.aic.pxPx(12).whiteSpace("unset").hPx(40).$,
|
|
39
39
|
...(allWhite && Css_1.Css.bgWhite.$),
|
|
40
40
|
},
|
|
41
|
-
totalsCellCss: Css_1.Css.bgWhite.gray700.
|
|
41
|
+
totalsCellCss: Css_1.Css.bgWhite.gray700.bgGray100.xsMd.hPx(exports.totalsRowHeight).pPx(12).$,
|
|
42
42
|
expandableHeaderCss: Css_1.Css.bgWhite.gray900.xsMd.wsNormal
|
|
43
43
|
.hPx(exports.expandableHeaderRowHeight)
|
|
44
44
|
.pxPx(12)
|
|
@@ -66,7 +66,7 @@ function memoizedTableStyles() {
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
exports.getTableStyles = memoizedTableStyles();
|
|
69
|
-
exports.totalsRowHeight =
|
|
69
|
+
exports.totalsRowHeight = 40;
|
|
70
70
|
exports.expandableHeaderRowHeight = 40;
|
|
71
71
|
/** Our original table look & feel/style. */
|
|
72
72
|
exports.defaultStyle = {
|