identity-admin-ui 1.7.12 → 1.7.13

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.
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { GridRenderCellParams } from '@mui/x-data-grid';
2
+ import { GridDensity, GridRenderCellParams } from '@mui/x-data-grid';
3
3
  import { ParamsState, ListProps } from './GridTypes';
4
4
  import { IBulkActionsDialogState } from '../BulkActions/BulkActionDialogs';
5
5
  import { IOptionalResource } from '../../context';
@@ -19,6 +19,7 @@ export interface IGridExtras {
19
19
  hideActions?: boolean;
20
20
  hideToolbar?: boolean;
21
21
  overridenResource?: (resource: IResource) => IOptionalResource;
22
+ density?: GridDensity;
22
23
  }
23
24
  export interface GridProps {
24
25
  resources: any;
@@ -6,6 +6,7 @@ export interface ListProps {
6
6
  key: string;
7
7
  path: string;
8
8
  renderCell?: (params: GridCellParams) => JSX.Element;
9
+ flex?: number;
9
10
  }
10
11
  export declare enum FieldTypes {
11
12
  STRING = "String",
package/lib/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as react from 'react';
4
4
  import { ReactElement, ReactNode, Dispatch, SetStateAction } from 'react';
5
- import { GridCellParams, GridRenderCellParams, GridSortDirection, GridRowSelectionModel } from '@mui/x-data-grid';
5
+ import { GridCellParams, GridRenderCellParams, GridDensity, GridSortDirection, GridRowSelectionModel } from '@mui/x-data-grid';
6
6
  import * as axios from 'axios';
7
7
  import { AxiosRequestConfig } from 'axios';
8
8
  import * as _mui_material from '@mui/material';
@@ -357,6 +357,7 @@ interface IGridExtras {
357
357
  hideActions?: boolean;
358
358
  hideToolbar?: boolean;
359
359
  overridenResource?: (resource: IResource) => IOptionalResource;
360
+ density?: GridDensity;
360
361
  }
361
362
  interface GridProps {
362
363
  resources: any;
@@ -377,6 +378,7 @@ interface ListProps {
377
378
  key: string;
378
379
  path: string;
379
380
  renderCell?: (params: GridCellParams) => JSX.Element;
381
+ flex?: number;
380
382
  }
381
383
  interface ListParams {
382
384
  page: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.7.12",
3
+ "version": "1.7.13",
4
4
  "description": "Identity solutions UI package using for identity-admin dashboard",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.js",