@linzjs/step-ag-grid 17.0.6 → 17.0.7

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@linzjs/step-ag-grid",
3
3
  "repository": "github:linz/step-ag-grid.git",
4
4
  "license": "MIT",
5
- "version": "17.0.6",
5
+ "version": "17.0.7",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -97,6 +97,7 @@ export const Grid = ({
97
97
  sizeColumns = "auto",
98
98
  selectColumnPinned = null,
99
99
  contextMenuSelectRow = false,
100
+ rowHeight = theme === "ag-theme-step-default" ? 40 : theme === "ag-theme-step-compact" ? 36 : undefined,
100
101
  ...params
101
102
  }: GridProps): ReactElement => {
102
103
  const {
@@ -598,7 +599,7 @@ export const Grid = ({
598
599
  {gridContextMenu.component}
599
600
  <div style={{ flex: 1 }} ref={gridDivRef}>
600
601
  <AgGridReact
601
- rowHeight={params.rowHeight}
602
+ rowHeight={rowHeight}
602
603
  animateRows={params.animateRows}
603
604
  rowClassRules={params.rowClassRules}
604
605
  getRowId={(params) => `${params.data.id}`}