@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.
- package/dist/GridTheme.scss +8 -7
- package/dist/index.css +0 -5
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/step-ag-grid.esm.js +4 -1
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/GridCell.tsx +10 -1
- package/src/styles/Grid.scss +0 -5
- package/src/styles/GridTheme.scss +8 -7
package/dist/step-ag-grid.esm.js
CHANGED
|
@@ -2891,7 +2891,10 @@ var GridCell = function (props, custom) {
|
|
|
2891
2891
|
};
|
|
2892
2892
|
var GenericCellEditorComponentWrapper = function (custom) {
|
|
2893
2893
|
return forwardRef(function GenericCellEditorComponentFr(cellEditorParams, _) {
|
|
2894
|
-
|
|
2894
|
+
var valueFormatted = cellEditorParams.formatValue
|
|
2895
|
+
? cellEditorParams.formatValue(cellEditorParams.value)
|
|
2896
|
+
: "Missing formatter";
|
|
2897
|
+
return (jsxs(GridPopoverContextProvider, __assign({ props: cellEditorParams }, { children: [jsx(cellEditorParams.colDef.cellRenderer, __assign({}, cellEditorParams, { valueFormatted: valueFormatted }, cellEditorParams.colDef.cellRendererParams)), (custom === null || custom === void 0 ? void 0 : custom.editor) && jsx(custom.editor, __assign({}, cellEditorParams))] })));
|
|
2895
2898
|
});
|
|
2896
2899
|
};
|
|
2897
2900
|
|