Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@gridsuite/commons-ui": "0.120.0",
"@gridsuite/commons-ui": "file:../commons-ui/gridsuite-commons-ui-0.124.0.tgz",
"@hookform/resolvers": "^4.0.0",
"@mui/icons-material": "^5.16.14",
"@mui/lab": "5.0.0-alpha.175",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Grid/AgGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
useRef,
} from 'react';
import { AgGridReact } from 'ag-grid-react';
import { CustomAGGrid, type CustomAGGridProps } from '@gridsuite/commons-ui';
import { CustomAGGrid, type CustomAGGridProps, type SxStyle } from '@gridsuite/commons-ui';
import { useDebugRender } from '../../utils/hooks';

type AccessibleAgGridReact<TData> = Omit<
Expand Down Expand Up @@ -50,7 +50,7 @@ const style = {
'@media print': {
pageBreakInside: 'avoid',
},
};
} as const satisfies SxStyle;

// TODO move type generic restoration to commons-ui
// TODO move useDebug feature from env to commons-ui
Expand Down
4 changes: 2 additions & 2 deletions src/pages/common/multi-chip-cell-renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import React, { useRef, useState, useEffect } from 'react';
import { Chip, Grid, Tooltip } from '@mui/material';
import { mergeSx } from '@gridsuite/commons-ui';
import { mergeSx, type MuiStyles } from '@gridsuite/commons-ui';

const maxChipWidth = 100;
const counterChipWidth = 25;
Expand All @@ -23,7 +23,7 @@ const chipStyles = {
fontWeight: 'bold',
},
},
};
} as const satisfies MuiStyles;

export interface MultiChipCellRendererProps {
value: string[];
Expand Down
Loading