Skip to content

Commit

Permalink
chore: update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BenXel committed Nov 11, 2024
1 parent eb5518d commit 61c8b60
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 178 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"@codegouvfr/react-dsfr": "^1.13.5",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^6.0.2",
"@mui/material": "^6.0.2",
"@mui/system": "^6.0.2",
"@mui/x-data-grid": "^6.18.2",
"@mui/x-date-pickers": "^5.0.12",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.6",
"@mui/system": "^6.1.6",
"@mui/x-data-grid": "^7.22.2",
"@mui/x-date-pickers": "^7.22.2",
"@tanstack/react-query": "^5.51.23",
"@tanstack/react-router": "^1.47.5",
"axios": "^1.7.1",
Expand Down
17 changes: 8 additions & 9 deletions src/routes/mui.lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import Stepper from "@mui/material/Stepper";
import Step from "@mui/material/Step";
import StepLabel from "@mui/material/StepLabel";

import { DataGrid, GridColDef, GridValueGetterParams } from "@mui/x-data-grid";
import { DataGrid, GridColDef } from "@mui/x-data-grid";

import Link from "@mui/material/Link";

Expand Down Expand Up @@ -370,29 +370,29 @@ function MaterialUIPickers() {
<Stack spacing={3} sx={{ mt: 7 }}>
<DesktopDatePicker
label="Date desktop"
inputFormat="MM/DD/YYYY"
format="MM/DD/YYYY"
value={value}
onChange={handleChange}
renderInput={params => <TextField {...params} />}
slotProps={{ textField: { variant: "outlined" } }}
/>
<MobileDatePicker
label="Date mobile"
inputFormat="MM/DD/YYYY"
format="MM/DD/YYYY"
value={value}
onChange={handleChange}
renderInput={params => <TextField {...params} />}
slotProps={{ textField: { variant: "outlined" } }}
/>
<TimePicker
label="Time"
value={value}
onChange={handleChange}
renderInput={params => <TextField {...params} />}
slotProps={{ textField: { variant: "outlined" } }}
/>
<DateTimePicker
label="Date&Time picker"
value={value}
onChange={handleChange}
renderInput={params => <TextField {...params} />}
slotProps={{ textField: { variant: "outlined" } }}
/>
</Stack>
</LocalizationProvider>
Expand Down Expand Up @@ -597,8 +597,7 @@ const { DataGridDemo } = (() => {
description: "This column has a value getter and is not sortable.",
sortable: false,
width: 160,
valueGetter: (params: GridValueGetterParams) =>
`${params.row.firstName || ""} ${params.row.lastName || ""}`
valueGetter: (_, row) => `${row.firstName || ""} ${row.lastName || ""}`
}
];

Expand Down
Loading

0 comments on commit 61c8b60

Please sign in to comment.