componentes-sinco 1.1.17 → 1.1.18

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/index.cjs CHANGED
@@ -2389,8 +2389,7 @@ function SCDrawer({
2389
2389
  setOpen,
2390
2390
  chipFilters,
2391
2391
  heightDrawer = 456,
2392
- filterSideCard,
2393
- ref
2392
+ filterSideCard
2394
2393
  }) {
2395
2394
  const drawerBleeding = heightDrawer;
2396
2395
  const { drawerOpen, handleDrawerClose, toggleDrawer } = useDrawerState({ open, setOpen });
@@ -2417,7 +2416,6 @@ function SCDrawer({
2417
2416
  );
2418
2417
  }
2419
2418
  };
2420
- const containerRef = import_react20.default.useRef(null);
2421
2419
  const handleCleanFilters = () => {
2422
2420
  cleanAllFilters(arrayElements, setTextFilters);
2423
2421
  };
@@ -2474,8 +2472,8 @@ function SCDrawer({
2474
2472
  }
2475
2473
  },
2476
2474
  ModalProps: {
2477
- container: ref == null ? void 0 : ref.current,
2478
2475
  keepMounted: true,
2476
+ disablePortal: filterSideCard ? true : false,
2479
2477
  slotProps: {
2480
2478
  root: {
2481
2479
  style: {
@@ -3267,7 +3265,7 @@ function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, r
3267
3265
  "maxHeight": "0px !important"
3268
3266
  },
3269
3267
  "& .MuiDataGrid-cell": {
3270
- padding: "0 !important",
3268
+ //padding: '0 !important', //padding de cada celda
3271
3269
  background: "white"
3272
3270
  },
3273
3271
  // Fila seleccionada (cuando selectionModel selecciona filas)