asma-core-ui 1.8.6 → 1.8.7

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.
@@ -38506,7 +38506,7 @@ const nj = Sv, rj = "__check__", lj = ({ columnsMenuTitle: e, apiRef: t, fixedCo
38506
38506
  ] });
38507
38507
  }, WB = le((e) => {
38508
38508
  const t = fw(), o = [...e.columns.map((r) => ({ ...r, disableColumnMenu: !0 }))];
38509
- return o.push(ij(t, e.rowActions || (() => []), e.columnsMenuTitle || "", e.fixedColumns)), /* @__PURE__ */ T(vD, { apiRef: t, ...e, columns: o, classes: {
38509
+ return e.disableRowActions || o.push(ij(t, e.rowActions || (() => []), e.columnsMenuTitle || "", e.fixedColumns)), /* @__PURE__ */ T(vD, { apiRef: t, ...e, columns: o, classes: {
38510
38510
  root: `${mo["styled-data-grid"]}`,
38511
38511
  cell: `${mo.cell}`,
38512
38512
  cellContent: `${mo.cellContent}`,
@@ -2,6 +2,7 @@ import type { DataGridProps, GridActionsCellItemProps, GridRowParams } from '@mu
2
2
  import type { JSXElementConstructor, ReactElement, ReactNode } from 'react';
3
3
  export interface IBaseStyledDataGrid extends DataGridProps {
4
4
  columnsMenuTitle?: ReactNode;
5
+ disableRowActions?: boolean;
5
6
  fixedColumns?: string[];
6
7
  rowActions?: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[];
7
8
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.6",
6
+ "version": "1.8.7",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/**/*",