@linzjs/step-ag-grid 7.6.0 → 7.6.1

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.
@@ -24,6 +24,7 @@
24
24
  border-color: lui.$lily,
25
25
  secondary-border-color: lui.$lily,
26
26
  cell-horizontal-border: solid ag-derived(secondary-border-color),
27
+ cell-horizontal-padding: 12,
27
28
  row-hover-color: lui.$lily,
28
29
  font-family: (
29
30
  "Open Sans",
@@ -59,7 +60,7 @@
59
60
 
60
61
  .ag-header-cell {
61
62
  font-weight: 600;
62
- padding: 7px 0 7px 8px;
63
+ padding: 7px 11px;
63
64
 
64
65
  .LuiIcon {
65
66
  fill: lui.$surfie;
@@ -67,16 +68,16 @@
67
68
  }
68
69
 
69
70
  .ag-cell {
70
- padding-left: 7px;
71
- padding-right: 4px;
71
+ padding-left: 11px;
72
+ padding-right: 11px;
72
73
  display: flex;
73
74
  align-items: center;
74
75
  }
75
76
 
76
- .ag-cell-more {
77
- padding: 0;
78
- display: flex;
79
- justify-content: center;
77
+ .ag-cell.ag-cell-inline-editing {
78
+ padding-left: 9px;
79
+ padding-right: 9px;
80
+ bottom: 0;
80
81
  }
81
82
 
82
83
  .ag-cell-wrap-text {
package/dist/index.css CHANGED
@@ -372,11 +372,6 @@
372
372
  width: 100%;
373
373
  }
374
374
 
375
- .Grid-container.ag-theme-alpine .ag-cell-inline-editing {
376
- padding-left: 5px;
377
- padding-right: 2px;
378
- }
379
-
380
375
  .GridPopoverEditDropDown-containerSmall .GridFormDropDown-options {
381
376
  max-height: 120px;
382
377
  overflow-y: auto;
package/dist/index.js CHANGED
@@ -2912,7 +2912,10 @@ var GridCell = function (props, custom) {
2912
2912
  };
2913
2913
  var GenericCellEditorComponentWrapper = function (custom) {
2914
2914
  return React.forwardRef(function GenericCellEditorComponentFr(cellEditorParams, _) {
2915
- return (jsxRuntime.jsxs(GridPopoverContextProvider, __assign({ props: cellEditorParams }, { children: [jsxRuntime.jsx(cellEditorParams.colDef.cellRenderer, __assign({}, cellEditorParams, cellEditorParams.colDef.cellRendererParams)), (custom === null || custom === void 0 ? void 0 : custom.editor) && jsxRuntime.jsx(custom.editor, __assign({}, cellEditorParams))] })));
2915
+ var valueFormatted = cellEditorParams.formatValue
2916
+ ? cellEditorParams.formatValue(cellEditorParams.value)
2917
+ : "Missing formatter";
2918
+ return (jsxRuntime.jsxs(GridPopoverContextProvider, __assign({ props: cellEditorParams }, { children: [jsxRuntime.jsx(cellEditorParams.colDef.cellRenderer, __assign({}, cellEditorParams, { valueFormatted: valueFormatted }, cellEditorParams.colDef.cellRendererParams)), (custom === null || custom === void 0 ? void 0 : custom.editor) && jsxRuntime.jsx(custom.editor, __assign({}, cellEditorParams))] })));
2916
2919
  });
2917
2920
  };
2918
2921