diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index e84fcb0..d33ff71 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -13,6 +13,7 @@
"@flare/js-utils": "^1.1.0",
"@flare/tuitio-client-react": "^1.2.6",
"@mui/icons-material": "^5.14.16",
+ "@mui/lab": "^5.0.0-alpha.169",
"@mui/material": "^5.14.16",
"axios": "^1.6.0",
"i18next": "^22.4.15",
@@ -3484,6 +3485,46 @@
}
}
},
+ "node_modules/@mui/lab": {
+ "version": "5.0.0-alpha.169",
+ "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-5.0.0-alpha.169.tgz",
+ "integrity": "sha512-h6xe1K6ISKUbyxTDgdvql4qoDP6+q8ad5fg9nXQxGLUrIeT2jVrBuT/jRECSTufbnhzP+V5kulvYxaMfM8rEdA==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9",
+ "@mui/base": "5.0.0-beta.40",
+ "@mui/system": "^5.15.14",
+ "@mui/types": "^7.2.14",
+ "@mui/utils": "^5.15.14",
+ "clsx": "^2.1.0",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.5.0",
+ "@emotion/styled": "^11.3.0",
+ "@mui/material": ">=5.15.0",
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0",
+ "react-dom": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@emotion/react": {
+ "optional": true
+ },
+ "@emotion/styled": {
+ "optional": true
+ },
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@mui/material": {
"version": "5.15.14",
"resolved": "https://registry.npmjs.org/@mui/material/-/material-5.15.14.tgz",
@@ -21308,6 +21349,20 @@
"@babel/runtime": "^7.23.9"
}
},
+ "@mui/lab": {
+ "version": "5.0.0-alpha.169",
+ "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-5.0.0-alpha.169.tgz",
+ "integrity": "sha512-h6xe1K6ISKUbyxTDgdvql4qoDP6+q8ad5fg9nXQxGLUrIeT2jVrBuT/jRECSTufbnhzP+V5kulvYxaMfM8rEdA==",
+ "requires": {
+ "@babel/runtime": "^7.23.9",
+ "@mui/base": "5.0.0-beta.40",
+ "@mui/system": "^5.15.14",
+ "@mui/types": "^7.2.14",
+ "@mui/utils": "^5.15.14",
+ "clsx": "^2.1.0",
+ "prop-types": "^15.8.1"
+ }
+ },
"@mui/material": {
"version": "5.15.14",
"resolved": "https://registry.npmjs.org/@mui/material/-/material-5.15.14.tgz",
diff --git a/frontend/package.json b/frontend/package.json
index d084c5e..9cc7efe 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -13,11 +13,12 @@
},
"private": true,
"dependencies": {
- "@flare/js-utils": "^1.1.0",
- "@flare/tuitio-client-react": "^1.2.6",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
+ "@flare/js-utils": "^1.1.0",
+ "@flare/tuitio-client-react": "^1.2.6",
"@mui/icons-material": "^5.14.16",
+ "@mui/lab": "^5.0.0-alpha.169",
"@mui/material": "^5.14.16",
"axios": "^1.6.0",
"i18next": "^22.4.15",
@@ -26,12 +27,12 @@
"moment": "^2.29.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
- "react-world-flags": "^1.5.1",
"react-i18next": "^12.2.2",
"react-lazylog": "^4.5.3",
"react-router-dom": "^6.10.0",
"react-scripts": "5.0.1",
- "react-toastify": "^9.1.3"
+ "react-toastify": "^9.1.3",
+ "react-world-flags": "^1.5.1"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
diff --git a/frontend/src/components/common/NavigationButtons.js b/frontend/src/components/common/NavigationButtons.js
index 7b01845..fcce372 100644
--- a/frontend/src/components/common/NavigationButtons.js
+++ b/frontend/src/components/common/NavigationButtons.js
@@ -1,7 +1,6 @@
import React, { useState } from "react";
import PropTypes from "prop-types";
-import ToggleButton from "@material-ui/lab/ToggleButton";
-import ToggleButtonGroup from "@material-ui/lab/ToggleButtonGroup";
+import { ToggleButtonGroup, ToggleButton } from "@mui/material";
import { Tooltip } from "@mui/material";
const NavigationButtons = ({ tabs, onTabChange }) => {
diff --git a/frontend/src/components/common/NotAllowed.js b/frontend/src/components/common/NotAllowed.js
index c799fea..53d23e2 100644
--- a/frontend/src/components/common/NotAllowed.js
+++ b/frontend/src/components/common/NotAllowed.js
@@ -1,6 +1,6 @@
import React from "react";
import { makeStyles } from "@mui/material/styles";
-import { Alert, AlertTitle } from "@material-ui/lab";
+import { Alert, AlertTitle } from "@mui/material";
import { useTranslation } from "react-i18next";
const useStyles = makeStyles(theme => ({
diff --git a/frontend/src/features/about/releaseNotes/ReleaseNotesContainer.js b/frontend/src/features/about/releaseNotes/ReleaseNotesContainer.js
index 29efc6b..39e849b 100644
--- a/frontend/src/features/about/releaseNotes/ReleaseNotesContainer.js
+++ b/frontend/src/features/about/releaseNotes/ReleaseNotesContainer.js
@@ -4,8 +4,7 @@ import ReleaseNotesList from "./ReleaseNotesList";
import TimelineComponent from "../timeline/TimelineComponent";
import { routes, get } from "../../../utils/api";
-const sort = releases =>
- releases.sort((a, b) => new Date(b.date) - new Date(a.date));
+const sort = releases => releases.sort((a, b) => new Date(b.date) - new Date(a.date));
const ReleaseNotesContainer = ({ view }) => {
const [state, setState] = useState({ data: [], loaded: false });
diff --git a/frontend/src/features/about/timeline/TimelineComponent.js b/frontend/src/features/about/timeline/TimelineComponent.js
index 34235d7..463ca31 100644
--- a/frontend/src/features/about/timeline/TimelineComponent.js
+++ b/frontend/src/features/about/timeline/TimelineComponent.js
@@ -1,20 +1,20 @@
import React from "react";
import PropTypes from "prop-types";
import { makeStyles } from "@mui/material/styles";
-import Timeline from "@material-ui/lab/Timeline";
-import TimelineItem from "@material-ui/lab/TimelineItem";
-import TimelineSeparator from "@material-ui/lab/TimelineSeparator";
-import TimelineConnector from "@material-ui/lab/TimelineConnector";
-import TimelineContent from "@material-ui/lab/TimelineContent";
-import TimelineOppositeContent from "@material-ui/lab/TimelineOppositeContent";
-import TimelineDot from "@material-ui/lab/TimelineDot";
+import Timeline from "@mui/lab/Timeline";
+import TimelineItem from "@mui/lab/TimelineItem";
+import TimelineSeparator from "@mui/lab/TimelineSeparator";
+import TimelineConnector from "@mui/lab/TimelineConnector";
+import TimelineContent from "@mui/lab/TimelineContent";
+import TimelineOppositeContent from "@mui/lab/TimelineOppositeContent";
+import TimelineDot from "@mui/lab/TimelineDot";
import Paper from "@mui/material/Paper";
import Typography from "@mui/material/Typography";
import { useTranslation } from "react-i18next";
import { getRandomElement } from "../../../utils";
import {
Announcement,
- AmpStories,
+ Book,
Apps,
BugReport,
DeviceHub,
@@ -33,7 +33,7 @@ import {
const timelineIcons = [
Announcement,
- AmpStories,
+ Book,
Apps,
BugReport,
DeviceHub,
diff --git a/frontend/src/features/dashboard/announcements/GuestAnnouncement.js b/frontend/src/features/dashboard/announcements/GuestAnnouncement.js
index 597bbae..dbd3c92 100644
--- a/frontend/src/features/dashboard/announcements/GuestAnnouncement.js
+++ b/frontend/src/features/dashboard/announcements/GuestAnnouncement.js
@@ -1,6 +1,6 @@
import React from "react";
import { makeStyles } from "@mui/material/styles";
-import { Alert, AlertTitle } from "@material-ui/lab";
+import { Alert, AlertTitle } from "@mui/material";
import styles from "../styles";
import { useTranslation } from "react-i18next";
diff --git a/frontend/src/features/dashboard/announcements/UserAnnouncement.js b/frontend/src/features/dashboard/announcements/UserAnnouncement.js
index 40e8ac8..2606dd7 100644
--- a/frontend/src/features/dashboard/announcements/UserAnnouncement.js
+++ b/frontend/src/features/dashboard/announcements/UserAnnouncement.js
@@ -1,6 +1,6 @@
import React from "react";
import { makeStyles } from "@mui/material/styles";
-import { Alert, AlertTitle } from "@material-ui/lab";
+import { Alert, AlertTitle } from "@mui/material";
import styles from "../styles";
import { useTranslation } from "react-i18next";
import { useTuitioUser } from "@flare/tuitio-client-react";
diff --git a/frontend/src/features/login/components/LoginContainer.js b/frontend/src/features/login/components/LoginContainer.js
index 8821de3..c3f23af 100644
--- a/frontend/src/features/login/components/LoginContainer.js
+++ b/frontend/src/features/login/components/LoginContainer.js
@@ -26,13 +26,7 @@ const LoginContainer = () => {
return login(userName, password);
};
- return (
-