From 6c9c53f264c11d642981e242d914eb3436b2b2c9 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 27 Mar 2024 14:30:42 +0100 Subject: [PATCH] Update dependencies (#836) Co-authored-by: Christian Da Silva Perez --- package.json | 8 ++++---- src/components/MTableEditField/DateField.js | 2 +- src/components/MTableFilterRow/DateFilter.js | 2 +- src/components/m-table-edit-field.js | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 1df45998..11abd39d 100644 --- a/package.json +++ b/package.json @@ -106,17 +106,17 @@ }, "dependencies": { "@babel/runtime": "^7.19.0", - "@date-io/core": "^2.16.0", - "@date-io/date-fns": "^2.16.0", + "@date-io/core": "^3.0.0", + "@date-io/date-fns": "^3.0.0", "@emotion/core": "^11.0.0", "@emotion/react": "^11.10.4", "@emotion/styled": "^11.10.4", "@hello-pangea/dnd": "^16.0.0", "@mui/icons-material": ">=5.10.6", "@mui/material": ">=5.11.12", - "@mui/x-date-pickers": "^5.0.3", + "@mui/x-date-pickers": "^6.19.0", "classnames": "^2.3.2", - "date-fns": "^2.29.3", + "date-fns": "^3.2.0", "debounce": "^1.2.1", "deep-eql": "^4.1.1", "deepmerge": "^4.2.2", diff --git a/src/components/MTableEditField/DateField.js b/src/components/MTableEditField/DateField.js index 3bdfeb83..c83cfd14 100644 --- a/src/components/MTableEditField/DateField.js +++ b/src/components/MTableEditField/DateField.js @@ -1,5 +1,5 @@ import React from 'react'; -import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns'; +import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3'; import { TextField } from '@mui/material'; import { LocalizationProvider, DatePicker } from '@mui/x-date-pickers'; diff --git a/src/components/MTableFilterRow/DateFilter.js b/src/components/MTableFilterRow/DateFilter.js index 4d73873a..0e28246f 100644 --- a/src/components/MTableFilterRow/DateFilter.js +++ b/src/components/MTableFilterRow/DateFilter.js @@ -1,5 +1,5 @@ import React from 'react'; -import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns'; +import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3'; import TextField from '@mui/material/TextField'; import { getLocalizedFilterPlaceHolder } from './utils'; import { diff --git a/src/components/m-table-edit-field.js b/src/components/m-table-edit-field.js index cba49618..1485439f 100644 --- a/src/components/m-table-edit-field.js +++ b/src/components/m-table-edit-field.js @@ -7,7 +7,7 @@ import FormControl from '@mui/material/FormControl'; import FormHelperText from '@mui/material/FormHelperText'; import FormGroup from '@mui/material/FormGroup'; import FormControlLabel from '@mui/material/FormControlLabel'; -import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns'; +import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3'; import { LocalizationProvider, TimePicker,