@m4l/components 9.2.62-JT09072025.beta.1 → 9.2.62-JT09072025.beta.2
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.
|
@@ -406,9 +406,9 @@ const dataGridStyles = {
|
|
|
406
406
|
...theme.colorSchemes.finalTheme.typography.bodyDens,
|
|
407
407
|
//ajuste de contenido filtro del DataGrid
|
|
408
408
|
width: "100%",
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
409
|
+
whiteSpace: "nowrap",
|
|
410
|
+
overflow: "hidden",
|
|
411
|
+
textOverflow: "ellipsis",
|
|
412
412
|
...getTypographyStyles(
|
|
413
413
|
theme.generalSettings.isMobile,
|
|
414
414
|
ownerState?.size || "medium",
|
|
@@ -476,22 +476,13 @@ const dataGridStyles = {
|
|
|
476
476
|
}
|
|
477
477
|
},
|
|
478
478
|
'& [role="columnheader"].rdg-cell.rdg-cell-align-left .rdg-header-sort-name': {
|
|
479
|
-
textAlign: "start"
|
|
480
|
-
display: "flex",
|
|
481
|
-
justifyContent: "flex-start",
|
|
482
|
-
alignItems: "center"
|
|
479
|
+
textAlign: "start"
|
|
483
480
|
},
|
|
484
481
|
'& [role="columnheader"].rdg-cell.rdg-cell-align-center .rdg-header-sort-name': {
|
|
485
|
-
textAlign: "center"
|
|
486
|
-
display: "flex",
|
|
487
|
-
justifyContent: "center",
|
|
488
|
-
alignItems: "center"
|
|
482
|
+
textAlign: "center"
|
|
489
483
|
},
|
|
490
484
|
'& [role="columnheader"].rdg-cell.rdg-cell-align-right .rdg-header-sort-name': {
|
|
491
485
|
textAlign: "right",
|
|
492
|
-
display: "flex",
|
|
493
|
-
justifyContent: "flex-end",
|
|
494
|
-
alignItems: "center",
|
|
495
486
|
paddingRight: theme.vars.size.baseSpacings.sp3
|
|
496
487
|
},
|
|
497
488
|
// Estilado de la ultima celda congelada
|
|
@@ -103,7 +103,19 @@ function DraggableHeaderRenderer(props) {
|
|
|
103
103
|
if (!newColumn.withinHeaderRenderer) {
|
|
104
104
|
const columnIcons = getColumnIcons();
|
|
105
105
|
if (columnIcons) {
|
|
106
|
-
|
|
106
|
+
const getJustifyContent = () => {
|
|
107
|
+
switch (column.align) {
|
|
108
|
+
case "left":
|
|
109
|
+
return "flex-start";
|
|
110
|
+
case "center":
|
|
111
|
+
return "center";
|
|
112
|
+
case "right":
|
|
113
|
+
return "flex-end";
|
|
114
|
+
default:
|
|
115
|
+
return "flex-start";
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
newColumn.name = /* @__PURE__ */ jsxs(NameColumnIconStyled, { style: { justifyContent: getJustifyContent() }, children: [
|
|
107
119
|
/* @__PURE__ */ jsx(NameColumnStyled, { children: newColumn.name }),
|
|
108
120
|
/* @__PURE__ */ jsx(IconColumnStyled, { children: columnIcons })
|
|
109
121
|
] });
|