@linzjs/step-ag-grid 17.4.7 → 17.4.8

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.
@@ -8,13 +8,13 @@ $grid-base-font-size: calc(#{lui.$base-font-size} - 1px);
8
8
  @include ag.grid-styles(
9
9
  (
10
10
  themes: (
11
- step-compact: (
11
+ 'step-compact.theme-specific': (
12
12
  extend-theme: alpine,
13
13
  --ag-row-height: 36px,
14
14
  --ag-header-height: 36px,
15
15
  --ag-font-size: calc($grid-base-font-size - 2px),
16
16
  ),
17
- step-default: (
17
+ 'step-default.theme-specific': (
18
18
  extend-theme: alpine,
19
19
  --ag-row-height: 40px,
20
20
  --ag-header-height: 40px,
@@ -47,8 +47,8 @@ $grid-base-font-size: calc(#{lui.$base-font-size} - 1px);
47
47
  )
48
48
  );
49
49
 
50
- .ag-theme-step-default,
51
- .ag-theme-step-compact {
50
+ .ag-theme-step-default.theme-specific,
51
+ .ag-theme-step-compact.theme-specific {
52
52
  .ag-cell[col-id="selection"] {
53
53
  display: flex; // Fix that when you click below checkbox it doesn't process a click
54
54
  }
@@ -91,13 +91,7 @@ $grid-base-font-size: calc(#{lui.$base-font-size} - 1px);
91
91
  padding-right: 15px;
92
92
  }
93
93
 
94
- .ag-cell[role="gridcell"] {
95
- border-right: none;
96
- border-left: 1px var(--ag-cell-horizontal-border);
97
- }
98
-
99
94
  .ag-cell[aria-colindex="1"] {
100
- border-left: 1px solid transparent;
101
95
  padding-left: lui.$unit-rg;
102
96
  }
103
97
 
@@ -2791,7 +2791,7 @@ const Grid = ({ "data-testid": dataTestId, rowSelection = "multiple", suppressCo
2791
2791
  }, [params]);
2792
2792
  // This is setting a ref in the GridContext so won't be triggering an update loop
2793
2793
  setOnCellEditingComplete(params.onCellEditingComplete);
2794
- return (jsxRuntime.jsxs("div", { "data-testid": dataTestId, className: clsx("Grid-container", theme, staleGrid && "Grid-sortIsStale", gridReady && params.rowData && autoSized && "Grid-ready"), children: [gridContextMenu.component, jsxRuntime.jsx("div", { style: { flex: 1 }, ref: gridDivRef, children: jsxRuntime.jsx(agGridReact.AgGridReact, { rowHeight: rowHeight, animateRows: params.animateRows, rowClassRules: params.rowClassRules, getRowId: (params) => `${params.data.id}`, suppressRowClickSelection: true, rowSelection: rowSelection, suppressBrowserResizeObserver: true, onGridSizeChanged: onGridSizeChanged, suppressColumnVirtualisation: suppressColumnVirtualization, suppressClickEdit: true, onColumnVisible: () => {
2794
+ return (jsxRuntime.jsxs("div", { "data-testid": dataTestId, className: clsx("Grid-container", theme, "theme-specific", staleGrid && "Grid-sortIsStale", gridReady && params.rowData && autoSized && "Grid-ready"), children: [gridContextMenu.component, jsxRuntime.jsx("div", { style: { flex: 1 }, ref: gridDivRef, children: jsxRuntime.jsx(agGridReact.AgGridReact, { rowHeight: rowHeight, animateRows: params.animateRows, rowClassRules: params.rowClassRules, getRowId: (params) => `${params.data.id}`, suppressRowClickSelection: true, rowSelection: rowSelection, suppressBrowserResizeObserver: true, onGridSizeChanged: onGridSizeChanged, suppressColumnVirtualisation: suppressColumnVirtualization, suppressClickEdit: true, onColumnVisible: () => {
2795
2795
  setInitialContentSize();
2796
2796
  }, onRowDataUpdated: onRowDataChanged, onCellKeyDown: onCellKeyPress, onCellClicked: onCellClicked, onCellDoubleClicked: onCellDoubleClick, onCellEditingStarted: refreshSelectedRows, domLayout: params.domLayout, onColumnResized: onColumnResized, defaultColDef: { minWidth: 48, ...lodashEs.omit(params.defaultColDef, ["editable"]) }, columnDefs: columnDefsAdjusted, rowData: params.rowData, noRowsOverlayComponent: (event) => {
2797
2797
  let rowCount = 0;