diff --git a/Client/package-lock.json b/Client/package-lock.json
index 8090e52b1..8e84d7a57 100644
--- a/Client/package-lock.json
+++ b/Client/package-lock.json
@@ -15,8 +15,8 @@
"@mui/lab": "6.0.0-beta.20",
"@mui/material": "6.2.1",
"@mui/x-charts": "^7.5.1",
- "@mui/x-data-grid": "7.23.2",
- "@mui/x-date-pickers": "7.23.2",
+ "@mui/x-data-grid": "7.23.3",
+ "@mui/x-date-pickers": "7.23.3",
"@reduxjs/toolkit": "2.5.0",
"axios": "^1.7.4",
"dayjs": "1.11.13",
@@ -1448,9 +1448,9 @@
}
},
"node_modules/@mui/x-data-grid": {
- "version": "7.23.2",
- "resolved": "https://registry.npmjs.org/@mui/x-data-grid/-/x-data-grid-7.23.2.tgz",
- "integrity": "sha512-Xhm4Bh+WiU5MSLFIZ8mE1egHoS0xPEVlwvjYvairPIkxNPubB7f+gtLkuAJ2+m+BYbgO7yDte+Pp7dfjkU+vOA==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@mui/x-data-grid/-/x-data-grid-7.23.3.tgz",
+ "integrity": "sha512-EiM5kut6N/0o0iEYx8A7M3fJqknAa1kcPvGhlX3hH50ERLDeuJaqoKzvRYLBbYKWydHIc+0hHIFcK5oQTXLenw==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.25.7",
@@ -1485,9 +1485,9 @@
}
},
"node_modules/@mui/x-date-pickers": {
- "version": "7.23.2",
- "resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-7.23.2.tgz",
- "integrity": "sha512-Kt9VsEnShaBKiaastTYku66UIWptgc9UMA16d0G/0TkfIsvZrAD3iacQR6HHAXWspaFshdfsRmW2JAoFhzKZsg==",
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-7.23.3.tgz",
+ "integrity": "sha512-bjTYX/QzD5ZhVZNNnastMUS3j2Hy4p4IXmJgPJ0vKvQBvUdfEO+ZF42r3PJNNde0FVT1MmTzkmdTlz0JZ6ukdw==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.25.7",
diff --git a/Client/package.json b/Client/package.json
index 882ecfd38..1e22e76d3 100644
--- a/Client/package.json
+++ b/Client/package.json
@@ -18,8 +18,8 @@
"@mui/lab": "6.0.0-beta.20",
"@mui/material": "6.2.1",
"@mui/x-charts": "^7.5.1",
- "@mui/x-data-grid": "7.23.2",
- "@mui/x-date-pickers": "7.23.2",
+ "@mui/x-data-grid": "7.23.3",
+ "@mui/x-date-pickers": "7.23.3",
"@reduxjs/toolkit": "2.5.0",
"axios": "^1.7.4",
"dayjs": "1.11.13",
diff --git a/Client/src/Pages/Settings/styled.jsx b/Client/src/Components/ConfigBox/index.jsx
similarity index 91%
rename from Client/src/Pages/Settings/styled.jsx
rename to Client/src/Components/ConfigBox/index.jsx
index aeefdaebb..7650dd47f 100644
--- a/Client/src/Pages/Settings/styled.jsx
+++ b/Client/src/Components/ConfigBox/index.jsx
@@ -1,6 +1,6 @@
import { Stack, styled } from "@mui/material";
-export const ConfigBox = styled(Stack)(({ theme }) => ({
+const ConfigBox = styled(Stack)(({ theme }) => ({
display: "flex",
flexDirection: "row",
justifyContent: "space-between",
@@ -34,3 +34,5 @@ export const ConfigBox = styled(Stack)(({ theme }) => ({
color: theme.palette.text.tertiary,
},
}));
+
+export default ConfigBox;
diff --git a/Client/src/Components/IconBox/index.jsx b/Client/src/Components/IconBox/index.jsx
new file mode 100644
index 000000000..8000fbd64
--- /dev/null
+++ b/Client/src/Components/IconBox/index.jsx
@@ -0,0 +1,77 @@
+import { Box, styled } from "@mui/material";
+import PropTypes from "prop-types";
+
+/**
+ * IconBox - A styled box component for rendering icons with consistent sizing and styling
+ *
+ * @component
+ * @param {Object} [props] - Configuration options for the IconBox
+ * @param {number} [props.height=34] - Height of the icon box
+ * @param {number} [props.width=34] - Width of the icon box
+ * @param {number} [props.minWidth=34] - Minimum width of the icon box
+ * @param {number} [props.borderRadius=4] - Border radius of the icon box
+ * @param {number} [props.svgWidth=20] - Width of the SVG icon
+ * @param {number} [props.svgHeight=20] - Height of the SVG icon
+ *
+ * @example
+ * // Basic usage
+ *
+ *
+ *
+ *
+ * @example
+ * // Customized usage
+ *
+ *
+ *
+ *
+ * @returns {React.ReactElement} A styled box containing an icon
+ */
+const IconBox = styled(Box)(
+ ({
+ theme,
+ height = 34,
+ width = 34,
+ minWidth = 34,
+ borderRadius = 4,
+ svgWidth = 20,
+ svgHeight = 20,
+ }) => ({
+ height: height,
+ minWidth: minWidth,
+ width: width,
+ position: "relative",
+ border: 1,
+ borderStyle: "solid",
+ borderColor: theme.palette.border.dark,
+ borderRadius: borderRadius,
+ backgroundColor: theme.palette.background.accent,
+ "& svg": {
+ position: "absolute",
+ top: "50%",
+ left: "50%",
+ transform: "translate(-50%, -50%)",
+ width: svgWidth,
+ height: svgHeight,
+ "& path": {
+ stroke: theme.palette.text.tertiary,
+ },
+ },
+ })
+);
+
+IconBox.propTypes = {
+ height: PropTypes.number,
+ width: PropTypes.number,
+ minWidth: PropTypes.number,
+ borderRadius: PropTypes.number,
+ svgWidth: PropTypes.number,
+ svgHeight: PropTypes.number,
+};
+
+export default IconBox;
diff --git a/Client/src/Components/Inputs/Search/index.jsx b/Client/src/Components/Inputs/Search/index.jsx
index c944955b9..9a1995726 100644
--- a/Client/src/Components/Inputs/Search/index.jsx
+++ b/Client/src/Components/Inputs/Search/index.jsx
@@ -40,6 +40,7 @@ const SearchAdornment = () => {
//TODO keep search state inside of component
const Search = ({
+ label,
id,
options,
filteredBy,
@@ -76,6 +77,14 @@ const Search = ({
getOptionLabel={(option) => option[filteredBy]}
renderInput={(params) => (
+
+ {label}
+
{
};
ProtectedRoute.propTypes = {
- children: PropTypes.elementType.isRequired,
+ children: PropTypes.element.isRequired,
};
export default ProtectedRoute;
diff --git a/Client/src/Pages/Auth/CheckEmail.jsx b/Client/src/Pages/Auth/CheckEmail.jsx
index b36cca7b0..70acbe72d 100644
--- a/Client/src/Pages/Auth/CheckEmail.jsx
+++ b/Client/src/Pages/Auth/CheckEmail.jsx
@@ -5,10 +5,10 @@ import { useDispatch } from "react-redux";
import { useNavigate } from "react-router";
import { createToast } from "../../Utils/toastUtils";
import { forgotPassword } from "../../Features/Auth/authSlice";
-import { IconBox } from "./styled";
import Background from "../../assets/Images/background-grid.svg?react";
import EmailIcon from "../../assets/icons/email.svg?react";
import Logo from "../../assets/icons/bwu-icon.svg?react";
+import IconBox from "../../Components/IconBox";
import "./index.css";
const CheckEmail = () => {
@@ -144,9 +144,22 @@ const CheckEmail = () => {
textAlign="center"
>
-
-
-
+
+
+
+
+
Check your email
We sent a password reset link to{" "}
diff --git a/Client/src/Pages/Auth/ForgotPassword.jsx b/Client/src/Pages/Auth/ForgotPassword.jsx
index 1fd5f1b2f..7fcc19531 100644
--- a/Client/src/Pages/Auth/ForgotPassword.jsx
+++ b/Client/src/Pages/Auth/ForgotPassword.jsx
@@ -6,12 +6,12 @@ import { forgotPassword } from "../../Features/Auth/authSlice";
import { useEffect, useState } from "react";
import { credentials } from "../../Validation/validation";
import { useNavigate } from "react-router-dom";
-import { IconBox } from "./styled";
import TextInput from "../../Components/Inputs/TextInput";
import Logo from "../../assets/icons/bwu-icon.svg?react";
import Key from "../../assets/icons/key.svg?react";
import Background from "../../assets/Images/background-grid.svg?react";
import LoadingButton from "@mui/lab/LoadingButton";
+import IconBox from "../../Components/IconBox";
import "./index.css";
const ForgotPassword = () => {
@@ -146,9 +146,22 @@ const ForgotPassword = () => {
textAlign="center"
>
-
-
-
+
+
+
+
+
Forgot password?
No worries, we'll send you reset instructions.
diff --git a/Client/src/Pages/Auth/NewPasswordConfirmed.jsx b/Client/src/Pages/Auth/NewPasswordConfirmed.jsx
index c380425c9..2c4ef0106 100644
--- a/Client/src/Pages/Auth/NewPasswordConfirmed.jsx
+++ b/Client/src/Pages/Auth/NewPasswordConfirmed.jsx
@@ -4,10 +4,10 @@ import { useNavigate } from "react-router";
import { useDispatch } from "react-redux";
import { clearAuthState } from "../../Features/Auth/authSlice";
import { clearUptimeMonitorState } from "../../Features/UptimeMonitors/uptimeMonitorsSlice";
-import { IconBox } from "./styled";
import Background from "../../assets/Images/background-grid.svg?react";
import ConfirmIcon from "../../assets/icons/check-outlined.svg?react";
import Logo from "../../assets/icons/bwu-icon.svg?react";
+import IconBox from "../../Components/IconBox";
import "./index.css";
const NewPasswordConfirmed = () => {
@@ -80,9 +80,22 @@ const NewPasswordConfirmed = () => {
textAlign="center"
>
-
-
-
+
+
+
+
+
Password reset
Your password has been successfully reset. Click below to log in magically.
@@ -91,7 +104,7 @@ const NewPasswordConfirmed = () => {
-
-
-
- Start time
-
- All dates and times are in GMT+0 time zone.
-
-
-
- {
- handleTimeChange("startTime", newTime);
- }}
- slotProps={{
- nextIconButton: { sx: { ml: theme.spacing(2) } },
- field: {
- sx: {
- width: "fit-content",
- "& > .MuiOutlinedInput-root": {
- flexDirection: "row-reverse",
- },
- "& input": {
- height: 34,
- p: 0,
- pl: theme.spacing(5),
- },
- "& fieldset": {
- borderColor: theme.palette.border.dark,
- borderRadius: theme.shape.borderRadius,
- },
- "&:not(:has(.Mui-disabled)):not(:has(.Mui-error)) .MuiOutlinedInput-root:not(:has(input:focus)):hover fieldset":
- {
- borderColor: theme.palette.border.dark,
- },
+
+
+ Start time
+
+ All dates and times are in GMT+0 time zone.
+
+
+
+ {
+ handleTimeChange("startTime", newTime);
+ }}
+ slotProps={{
+ nextIconButton: { sx: { ml: theme.spacing(2) } },
+ field: {
+ sx: {
+ width: "fit-content",
+ "& > .MuiOutlinedInput-root": {
+ flexDirection: "row-reverse",
},
+ "& input": {
+ height: 34,
+ p: 0,
+ pl: theme.spacing(5),
+ },
+ "& fieldset": {
+ borderColor: theme.palette.border.dark,
+ borderRadius: theme.shape.borderRadius,
+ },
+ "&:not(:has(.Mui-disabled)):not(:has(.Mui-error)) .MuiOutlinedInput-root:not(:has(input:focus)):hover fieldset":
+ {
+ borderColor: theme.palette.border.dark,
+ },
},
- }}
- error={errors["startTime"]}
- />
-
-
-
-
-
-
- Duration
-
-
+ },
+ }}
+ error={errors["startTime"]}
+ />
+
+
{
handleFormChange("duration", event.target.value);
@@ -491,66 +489,34 @@ const CreateMaintenance = () => {
-
-
- Monitor related settings
-
-
-
-
-
- Friendly name
-
-
-
- {
- handleFormChange("name", event.target.value);
- }}
- error={errors["name"] ? true : false}
- helperText={errors["name"]}
- />
-
-
-
-
-
- Add monitors
-
-
-
-
-
-
-
-
+
+
+
+
+ Monitors to apply maintenance window to
+
+
+
+
+
+
({
- border: 1,
- borderStyle: "solid",
- borderColor: theme.palette.border.light,
- borderRadius: theme.spacing(2),
- backgroundColor: theme.palette.background.main,
- "& > *": { padding: theme.spacing(14) },
- "& > :first-of-type, & > .MuiStack-root > div:first-of-type": {
- flex: 0.6,
- },
- "& > div:last-of-type, & > .MuiStack-root > div:last-of-type": {
- flex: 1,
- },
- "& > .MuiStack-root > div:first-of-type": { paddingRight: theme.spacing(14) },
- "& > .MuiStack-root > div:last-of-type": {
- paddingLeft: theme.spacing(14),
- },
- "& h2": { fontSize: 13.5, fontWeight: 500 },
- "& h3, & p": {
- color: theme.palette.text.tertiary,
- },
- "& h3": { fontWeight: 500 },
-}));
diff --git a/Client/src/Pages/PageSpeed/Configure/index.jsx b/Client/src/Pages/PageSpeed/Configure/index.jsx
index 0c94678d2..3cb40f8d2 100644
--- a/Client/src/Pages/PageSpeed/Configure/index.jsx
+++ b/Client/src/Pages/PageSpeed/Configure/index.jsx
@@ -13,7 +13,7 @@ import {
import { monitorValidation } from "../../../Validation/validation";
import { createToast } from "../../../Utils/toastUtils";
import { logger } from "../../../Utils/Logger";
-import { ConfigBox } from "../../Uptime/styled";
+import ConfigBox from "../../../Components/ConfigBox";
import TextInput from "../../../Components/Inputs/TextInput";
import Select from "../../../Components/Inputs/Select";
import Checkbox from "../../../Components/Inputs/Checkbox";
diff --git a/Client/src/Pages/PageSpeed/CreatePageSpeed/index.jsx b/Client/src/Pages/PageSpeed/CreatePageSpeed/index.jsx
index 30592e2eb..e5d4a6d79 100644
--- a/Client/src/Pages/PageSpeed/CreatePageSpeed/index.jsx
+++ b/Client/src/Pages/PageSpeed/CreatePageSpeed/index.jsx
@@ -20,8 +20,7 @@ import LoadingButton from "@mui/lab/LoadingButton";
import Breadcrumbs from "../../../Components/Breadcrumbs";
import TextInput from "../../../Components/Inputs/TextInput";
import { HttpAdornment } from "../../../Components/Inputs/TextInput/Adornments";
-import { ConfigBox } from "../../Uptime/styled";
-
+import ConfigBox from "../../../Components/ConfigBox";
import { createToast } from "../../../Utils/toastUtils";
import Radio from "../../../Components/Inputs/Radio";
import Checkbox from "../../../Components/Inputs/Checkbox";
diff --git a/Client/src/Pages/PageSpeed/Details/index.jsx b/Client/src/Pages/PageSpeed/Details/index.jsx
index 32e3b663c..bf06797cd 100644
--- a/Client/src/Pages/PageSpeed/Details/index.jsx
+++ b/Client/src/Pages/PageSpeed/Details/index.jsx
@@ -5,7 +5,7 @@ import { useTheme } from "@emotion/react";
import { useNavigate, useParams } from "react-router-dom";
import { useSelector } from "react-redux";
import { formatDurationRounded, formatDurationSplit } from "../../../Utils/timeUtils";
-import { ChartBox, IconBox } from "./styled";
+import { ChartBox } from "./styled";
import { logger } from "../../../Utils/Logger";
import { networkService } from "../../../main";
import SkeletonLayout from "./skeleton";
@@ -23,6 +23,7 @@ import useUtils from "../../Uptime/utils";
import "./index.css";
import { useIsAdmin } from "../../../Hooks/useIsAdmin";
import StatBox from "../../../Components/StatBox";
+import IconBox from "../../../Components/IconBox";
const PageSpeedDetails = () => {
const theme = useTheme();
diff --git a/Client/src/Pages/PageSpeed/Details/styled.jsx b/Client/src/Pages/PageSpeed/Details/styled.jsx
index 964d19e83..91cc1864c 100644
--- a/Client/src/Pages/PageSpeed/Details/styled.jsx
+++ b/Client/src/Pages/PageSpeed/Details/styled.jsx
@@ -1,4 +1,4 @@
-import { Box, Stack, styled } from "@mui/material";
+import { Stack, styled } from "@mui/material";
export const ChartBox = styled(Stack)(({ theme }) => ({
display: "grid",
@@ -40,26 +40,3 @@ export const ChartBox = styled(Stack)(({ theme }) => ({
transition: "stroke-width 400ms ease",
},
}));
-
-export const IconBox = styled(Box)(({ theme }) => ({
- height: 34,
- minWidth: 34,
- width: 34,
- position: "relative",
- border: 1,
- borderStyle: "solid",
- borderColor: theme.palette.border.dark,
- borderRadius: 4,
- backgroundColor: theme.palette.background.accent,
- "& svg": {
- position: "absolute",
- top: "50%",
- left: "50%",
- transform: "translate(-50%, -50%)",
- width: 20,
- height: 20,
- "& path": {
- stroke: theme.palette.text.tertiary,
- },
- },
-}));
diff --git a/Client/src/Pages/PageSpeed/card.jsx b/Client/src/Pages/PageSpeed/card.jsx
index 56ba62346..a08a4fcd1 100644
--- a/Client/src/Pages/PageSpeed/card.jsx
+++ b/Client/src/Pages/PageSpeed/card.jsx
@@ -4,13 +4,12 @@ import { StatusLabel } from "../../Components/Label";
import { Box, Grid, Stack, Typography } from "@mui/material";
import { useNavigate } from "react-router";
import { useTheme } from "@emotion/react";
-import { IconBox } from "./Details/styled";
import { Area, AreaChart, CartesianGrid, ResponsiveContainer, Tooltip } from "recharts";
import { useSelector } from "react-redux";
import { formatDateWithTz, formatDurationSplit } from "../../Utils/timeUtils";
import useUtils from "../Uptime/utils";
import { useState } from "react";
-
+import IconBox from "../../Components/IconBox";
/**
* CustomToolTip displays a tooltip with formatted date and score information.
* @param {Object} props
diff --git a/Client/src/Pages/Settings/index.jsx b/Client/src/Pages/Settings/index.jsx
index f3fcb8376..5c53f3d01 100644
--- a/Client/src/Pages/Settings/index.jsx
+++ b/Client/src/Pages/Settings/index.jsx
@@ -18,13 +18,12 @@ import LoadingButton from "@mui/lab/LoadingButton";
import { setTimezone, setMode } from "../../Features/UI/uiSlice";
import timezones from "../../Utils/timezones.json";
import { useState, useEffect } from "react";
-import { ConfigBox } from "./styled";
import { networkService } from "../../main";
import { settingsValidation } from "../../Validation/validation";
import { useNavigate } from "react-router";
import Dialog from "../../Components/Dialog";
import { useIsAdmin } from "../../Hooks/useIsAdmin";
-
+import ConfigBox from "../../Components/ConfigBox";
const SECONDS_PER_DAY = 86400;
const Settings = () => {
diff --git a/Client/src/Pages/Uptime/Configure/index.jsx b/Client/src/Pages/Uptime/Configure/index.jsx
index 0d7388d14..32532d462 100644
--- a/Client/src/Pages/Uptime/Configure/index.jsx
+++ b/Client/src/Pages/Uptime/Configure/index.jsx
@@ -6,7 +6,7 @@ import { Box, Stack, Tooltip, Typography } from "@mui/material";
import { monitorValidation } from "../../../Validation/validation";
import { createToast } from "../../../Utils/toastUtils";
import { logger } from "../../../Utils/Logger";
-import { ConfigBox } from "../styled";
+import ConfigBox from "../../../Components/ConfigBox";
import {
updateUptimeMonitor,
pauseUptimeMonitor,
diff --git a/Client/src/Pages/Uptime/CreateUptime/index.jsx b/Client/src/Pages/Uptime/CreateUptime/index.jsx
index 6d5682415..d72a4fa25 100644
--- a/Client/src/Pages/Uptime/CreateUptime/index.jsx
+++ b/Client/src/Pages/Uptime/CreateUptime/index.jsx
@@ -17,14 +17,13 @@ import LoadingButton from "@mui/lab/LoadingButton";
//Components
import Breadcrumbs from "../../../Components/Breadcrumbs";
-import { ConfigBox } from "../styled";
import TextInput from "../../../Components/Inputs/TextInput";
import { HttpAdornment } from "../../../Components/Inputs/TextInput/Adornments";
import { createToast } from "../../../Utils/toastUtils";
import Radio from "../../../Components/Inputs/Radio";
import Checkbox from "../../../Components/Inputs/Checkbox";
import Select from "../../../Components/Inputs/Select";
-
+import ConfigBox from "../../../Components/ConfigBox";
const CreateMonitor = () => {
const MS_PER_MINUTE = 60000;
const SELECT_VALUES = [
diff --git a/Client/src/Pages/Uptime/Details/index.jsx b/Client/src/Pages/Uptime/Details/index.jsx
index 5989f643b..8c3e6d9e1 100644
--- a/Client/src/Pages/Uptime/Details/index.jsx
+++ b/Client/src/Pages/Uptime/Details/index.jsx
@@ -26,15 +26,14 @@ import HistoryIcon from "../../../assets/icons/history-icon.svg?react";
import PaginationTable from "./PaginationTable";
import Breadcrumbs from "../../../Components/Breadcrumbs";
import PulseDot from "../../../Components/Animated/PulseDot";
-import StatBox from "../../../Components/StatBox";
-import { ChartBox, IconBox } from "./styled";
+import { ChartBox } from "./styled";
import { DownBarChart, ResponseGaugeChart, UpBarChart } from "./Charts";
import SkeletonLayout from "./skeleton";
import "./index.css";
import useUtils from "../utils";
import { formatDateWithTz } from "../../../Utils/timeUtils";
import { useIsAdmin } from "../../../Hooks/useIsAdmin";
-
+import IconBox from "../../../Components/IconBox";
/**
* Details page component displaying monitor details and related information.
* @component
diff --git a/Client/src/Pages/Uptime/Details/styled.jsx b/Client/src/Pages/Uptime/Details/styled.jsx
index a16512946..68aea0ec2 100644
--- a/Client/src/Pages/Uptime/Details/styled.jsx
+++ b/Client/src/Pages/Uptime/Details/styled.jsx
@@ -1,4 +1,4 @@
-import { Box, Stack, styled } from "@mui/material";
+import { Stack, styled } from "@mui/material";
export const ChartBox = styled(Stack)(({ theme }) => ({
flex: "1 30%",
@@ -43,26 +43,3 @@ export const ChartBox = styled(Stack)(({ theme }) => ({
transition: "fill 300ms ease, stroke-width 400ms ease",
},
}));
-
-export const IconBox = styled(Box)(({ theme }) => ({
- height: 34,
- minWidth: 34,
- width: 34,
- position: "relative",
- border: 1,
- borderStyle: "solid",
- borderColor: theme.palette.border.dark,
- borderRadius: 4,
- backgroundColor: theme.palette.background.accent,
- "& svg": {
- position: "absolute",
- top: "50%",
- left: "50%",
- transform: "translate(-50%, -50%)",
- width: 20,
- height: 20,
- "& path": {
- stroke: theme.palette.text.tertiary,
- },
- },
-}));
diff --git a/Client/src/Pages/Uptime/styled.jsx b/Client/src/Pages/Uptime/styled.jsx
deleted file mode 100644
index f159d44f2..000000000
--- a/Client/src/Pages/Uptime/styled.jsx
+++ /dev/null
@@ -1,38 +0,0 @@
-import { Stack, styled } from "@mui/material";
-
-export const ConfigBox = styled(Stack)(({ theme }) => ({
- flexDirection: "row",
- border: 1,
- borderStyle: "solid",
- borderColor: theme.palette.border.light,
- borderRadius: theme.spacing(2),
- backgroundColor: theme.palette.background.main,
- "& > *": {
- paddingTop: theme.spacing(12),
- paddingBottom: theme.spacing(18),
- },
- "& > div:first-of-type": {
- flex: 0.7,
- borderRight: 1,
- borderRightStyle: "solid",
- borderRightColor: theme.palette.border.light,
- paddingRight: theme.spacing(15),
- paddingLeft: theme.spacing(15),
- },
- "& > div:last-of-type": {
- flex: 1,
- paddingRight: theme.spacing(20),
- paddingLeft: theme.spacing(18),
- },
- "& h2": {
- color: theme.palette.text.secondary,
- fontSize: 15,
- fontWeight: 600,
- },
- "& h3, & p": {
- color: theme.palette.text.tertiary,
- },
- "& p": {
- fontSize: 13,
- },
-}));
diff --git a/Server/package-lock.json b/Server/package-lock.json
index 9c1315867..5b6d808f9 100644
--- a/Server/package-lock.json
+++ b/Server/package-lock.json
@@ -4489,9 +4489,9 @@
}
},
"node_modules/mongoose": {
- "version": "8.9.1",
- "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.9.1.tgz",
- "integrity": "sha512-whM6lWMdeKlUm4d2LSLS/q6cWtTp13lUrL5hy2YTsQdTSN+dsAu8HLdLUQOEgtBE59qp4IqLrjSXCSETbxhkQQ==",
+ "version": "8.9.2",
+ "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.9.2.tgz",
+ "integrity": "sha512-mLWynmZS1v8HTeMxyLhskQncS1SkrjW1eLNuFDYGQMQ/5QrFrxTLNwWXeCRZeKT2lXyaxW8bnJC9AKPT9jYMkw==",
"license": "MIT",
"dependencies": {
"bson": "^6.10.1",