Skip to content

[frontend] Update dependency @mui/x-date-pickers to v8 (release/current) #3016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: release/current
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion openbas-front/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default [
{
group: [
'@mui/material/*', '!@mui/material/locale', '!@mui/material/styles', '!@mui/material/colors', '!@mui/material/transitions',
'@mui/x-date-pickers/*', '!@mui/x-date-pickers/AdapterDateFnsV3',
'@mui/x-date-pickers/*', '!@mui/x-date-pickers/AdapterDateFns',
'@mui/icons-material/*',
'@mui/lab/*',
],
Expand Down
2 changes: 1 addition & 1 deletion openbas-front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@mui/lab": "7.0.0-beta.11",
"@mui/material": "7.0.2",
"@mui/system": "7.0.2",
"@mui/x-date-pickers": "7.29.1",
"@mui/x-date-pickers": "8.1.0",
"@redux-devtools/extension": "3.3.0",
"@uiw/react-md-editor": "4.0.5",
"@xyflow/react": "12.6.0",
Expand Down
2 changes: 1 addition & 1 deletion openbas-front/src/components/AppIntlProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'cronstrue/locales/en';
import 'cronstrue/locales/zh_CN';

import { LocalizationProvider } from '@mui/x-date-pickers';
import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
import { enUS as dateFnsEnUSLocale, fr as dateFnsFrLocale, zhCN as dateFnsZhCNLocale } from 'date-fns/locale';
import moment from 'moment';
import { type FunctionComponent, type ReactElement, useEffect } from 'react';
Expand Down
36 changes: 18 additions & 18 deletions openbas-front/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/runtime@npm:^7.10.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.19.4, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.25.7, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.7":
"@babel/runtime@npm:^7.10.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.19.4, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.7":
version: 7.26.10
resolution: "@babel/runtime@npm:7.26.10"
dependencies:
Expand Down Expand Up @@ -2586,7 +2586,7 @@ __metadata:
languageName: node
linkType: hard

"@mui/utils@npm:^5.16.6 || ^6.0.0 || ^7.0.0, @mui/utils@npm:^7.0.2":
"@mui/utils@npm:^7.0.2":
version: 7.0.2
resolution: "@mui/utils@npm:7.0.2"
dependencies:
Expand All @@ -2606,14 +2606,14 @@ __metadata:
languageName: node
linkType: hard

"@mui/x-date-pickers@npm:7.29.1":
version: 7.29.1
resolution: "@mui/x-date-pickers@npm:7.29.1"
"@mui/x-date-pickers@npm:8.1.0":
version: 8.1.0
resolution: "@mui/x-date-pickers@npm:8.1.0"
dependencies:
"@babel/runtime": "npm:^7.25.7"
"@mui/utils": "npm:^5.16.6 || ^6.0.0 || ^7.0.0"
"@mui/x-internals": "npm:7.29.0"
"@types/react-transition-group": "npm:^4.4.11"
"@babel/runtime": "npm:^7.27.0"
"@mui/utils": "npm:^7.0.2"
"@mui/x-internals": "npm:8.0.0"
"@types/react-transition-group": "npm:^4.4.12"
clsx: "npm:^2.1.1"
prop-types: "npm:^15.8.1"
react-transition-group: "npm:^4.4.5"
Expand Down Expand Up @@ -2650,19 +2650,19 @@ __metadata:
optional: true
moment-jalaali:
optional: true
checksum: 10c0/31d050fea70c0887a43cce964379f04ad9f5daddf273099508d03113e258a36c7c0bfa1c5628cd40849efffe578d5a2a7e724832665f777cfa14c79baf342020
checksum: 10c0/7937859657e700fe3c9d8c9d50f2ed7621bcf7d8edf8060c2a7c1a37d5e0dec6c6f6355aac79fc5ba910f9c7ce1266caa49af3a41dc71b1032a05d8a57c35a3f
languageName: node
linkType: hard

"@mui/x-internals@npm:7.29.0":
version: 7.29.0
resolution: "@mui/x-internals@npm:7.29.0"
"@mui/x-internals@npm:8.0.0":
version: 8.0.0
resolution: "@mui/x-internals@npm:8.0.0"
dependencies:
"@babel/runtime": "npm:^7.25.7"
"@mui/utils": "npm:^5.16.6 || ^6.0.0 || ^7.0.0"
"@babel/runtime": "npm:^7.27.0"
"@mui/utils": "npm:^7.0.2"
peerDependencies:
react: ^17.0.0 || ^18.0.0 || ^19.0.0
checksum: 10c0/adb4358ef0e29f6f57622b50ff479e9d225078761b4c82546343e2976ccb55eed687e122c37874c76a170f4ec2ea6e82f89bf8b9c0ef3b5cb35b32d026761fba
checksum: 10c0/9b389adcb38b2dd21070f7c797bf09e8ae499dccc555112f9082094d939e083755cee869658a019eac60d56ba2942700d48bdf297c36458c9dddd3555190e7d0
languageName: node
linkType: hard

Expand Down Expand Up @@ -3686,7 +3686,7 @@ __metadata:
languageName: node
linkType: hard

"@types/react-transition-group@npm:^4.4.11, @types/react-transition-group@npm:^4.4.12":
"@types/react-transition-group@npm:^4.4.12":
version: 4.4.12
resolution: "@types/react-transition-group@npm:4.4.12"
peerDependencies:
Expand Down Expand Up @@ -9859,7 +9859,7 @@ __metadata:
"@mui/lab": "npm:7.0.0-beta.11"
"@mui/material": "npm:7.0.2"
"@mui/system": "npm:7.0.2"
"@mui/x-date-pickers": "npm:7.29.1"
"@mui/x-date-pickers": "npm:8.1.0"
"@playwright/test": "npm:1.52.0"
"@redux-devtools/extension": "npm:3.3.0"
"@stylistic/eslint-plugin": "npm:4.2.0"
Expand Down