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.d.cts CHANGED
@@ -138,7 +138,7 @@ declare const ToastProgress: (timeProgress: number) => {
138
138
  progressToast: number;
139
139
  };
140
140
 
141
- declare function SCDrawer<T>({ title, arrayElements, actions, buttonDrawer, colorTitle, anchor, width, open, setOpen, chipFilters, heightDrawer, filterSideCard, ref, }: DrawerProps<T>): React__default.JSX.Element;
141
+ declare function SCDrawer<T>({ title, arrayElements, actions, buttonDrawer, colorTitle, anchor, width, open, setOpen, chipFilters, heightDrawer, filterSideCard, }: DrawerProps<T>): React__default.JSX.Element;
142
142
 
143
143
  interface FooterActionsProperties {
144
144
  label?: React.ReactNode;
package/dist/index.d.ts CHANGED
@@ -138,7 +138,7 @@ declare const ToastProgress: (timeProgress: number) => {
138
138
  progressToast: number;
139
139
  };
140
140
 
141
- declare function SCDrawer<T>({ title, arrayElements, actions, buttonDrawer, colorTitle, anchor, width, open, setOpen, chipFilters, heightDrawer, filterSideCard, ref, }: DrawerProps<T>): React__default.JSX.Element;
141
+ declare function SCDrawer<T>({ title, arrayElements, actions, buttonDrawer, colorTitle, anchor, width, open, setOpen, chipFilters, heightDrawer, filterSideCard, }: DrawerProps<T>): React__default.JSX.Element;
142
142
 
143
143
  interface FooterActionsProperties {
144
144
  label?: React.ReactNode;
package/dist/index.js CHANGED
@@ -2308,8 +2308,7 @@ function SCDrawer({
2308
2308
  setOpen,
2309
2309
  chipFilters,
2310
2310
  heightDrawer = 456,
2311
- filterSideCard,
2312
- ref
2311
+ filterSideCard
2313
2312
  }) {
2314
2313
  const drawerBleeding = heightDrawer;
2315
2314
  const { drawerOpen, handleDrawerClose, toggleDrawer } = useDrawerState({ open, setOpen });
@@ -2336,7 +2335,6 @@ function SCDrawer({
2336
2335
  );
2337
2336
  }
2338
2337
  };
2339
- const containerRef = React16.useRef(null);
2340
2338
  const handleCleanFilters = () => {
2341
2339
  cleanAllFilters(arrayElements, setTextFilters);
2342
2340
  };
@@ -2393,8 +2391,8 @@ function SCDrawer({
2393
2391
  }
2394
2392
  },
2395
2393
  ModalProps: {
2396
- container: ref == null ? void 0 : ref.current,
2397
2394
  keepMounted: true,
2395
+ disablePortal: filterSideCard ? true : false,
2398
2396
  slotProps: {
2399
2397
  root: {
2400
2398
  style: {
@@ -3186,7 +3184,7 @@ function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, r
3186
3184
  "maxHeight": "0px !important"
3187
3185
  },
3188
3186
  "& .MuiDataGrid-cell": {
3189
- padding: "0 !important",
3187
+ //padding: '0 !important', //padding de cada celda
3190
3188
  background: "white"
3191
3189
  },
3192
3190
  // Fila seleccionada (cuando selectionModel selecciona filas)