@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 = totalsRows.concat(expandableHeaderRows).concat(headerRows);
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 = 52;
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.smMd.hPx(exports.totalsRowHeight).pPx(12).boxShadow("none").$,
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 = 52;
69
+ exports.totalsRowHeight = 40;
70
70
  exports.expandableHeaderRowHeight = 40;
71
71
  /** Our original table look & feel/style. */
72
72
  exports.defaultStyle = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebound/beam",
3
- "version": "2.257.0",
3
+ "version": "2.258.0",
4
4
  "author": "Homebound",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",