-
@@ -94,8 +91,7 @@ const ProjectContextMenu = ({
className={classes.listItem}
onClick={() => handleClick(handleSnapshotModalOpen)}
>
-
@@ -107,8 +103,7 @@ const ProjectContextMenu = ({
onClick={() => handleClick(handlePrintPdf)}
className={classes.listItem}
>
-
@@ -118,8 +113,7 @@ const ProjectContextMenu = ({
onClick={() => handleClick(() => handleCsvModalOpen(project))}
className={classes.listItem}
>
-
@@ -129,8 +123,7 @@ const ProjectContextMenu = ({
onClick={() => handleClick(handleCopyModalOpen)}
className={classes.listItem}
>
-
@@ -143,8 +136,7 @@ const ProjectContextMenu = ({
>
{project.dateHidden ? (
<>
-
@@ -152,8 +144,7 @@ const ProjectContextMenu = ({
>
) : (
<>
-
@@ -170,8 +161,7 @@ const ProjectContextMenu = ({
>
{project.dateTrashed ? (
-
@@ -179,8 +169,7 @@ const ProjectContextMenu = ({
) : (
-
diff --git a/client/src/components/Projects/ProjectTableRow.js b/client/src/components/Projects/ProjectTableRow.js
index 0e72f379..1db1d12d 100644
--- a/client/src/components/Projects/ProjectTableRow.js
+++ b/client/src/components/Projects/ProjectTableRow.js
@@ -5,12 +5,7 @@ import { useState, useRef, useEffect } from "react";
import PropTypes from "prop-types";
import Popup from "reactjs-popup";
import "reactjs-popup/dist/index.css";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import {
- faEye,
- faEyeSlash,
- faEllipsisV
-} from "@fortawesome/free-solid-svg-icons";
+import { MdVisibility, MdVisibilityOff, MdMoreVert } from "react-icons/md";
import { formatDate } from "../../helpers/util";
import { useReactToPrint } from "react-to-print";
import ProjectContextMenu from "./ProjectContextMenu";
@@ -110,15 +105,13 @@ const ProjectTableRow = ({
{project.dateHidden ? (
-
) : (
-
-
+
}
position="left center"
diff --git a/client/src/components/Projects/ProjectsPage.js b/client/src/components/Projects/ProjectsPage.js
index d12f6780..b369f297 100644
--- a/client/src/components/Projects/ProjectsPage.js
+++ b/client/src/components/Projects/ProjectsPage.js
@@ -3,12 +3,7 @@ import PropTypes from "prop-types";
import { useNavigate } from "react-router-dom";
import { createUseStyles } from "react-jss";
import UserContext from "../../contexts/UserContext.js";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import {
- faSortUp,
- faSortDown,
- faFilter
-} from "@fortawesome/free-solid-svg-icons";
+import { MdFilterAlt, MdArrowDropDown, MdArrowDropUp } from "react-icons/md";
import SearchIcon from "../../images/search.png";
import Pagination from "../UI/Pagination.js";
import ContentContainerNoSidebar from "../Layout/ContentContainerNoSidebar";
@@ -691,10 +686,7 @@ const ProjectsPage = ({ contentContainerRef }) => {
style={{ backgroundColor: "#0F2940", color: "white" }}
onClick={() => setFilterCollapsed(false)}
>
-
+
Filter By
) : null}
@@ -724,13 +716,11 @@ const ProjectsPage = ({ contentContainerRef }) => {
{label}{" "}
{order === "asc" ? (
-
) : (
-
)}
diff --git a/client/src/components/Projects/SnapshotProjectModal.js b/client/src/components/Projects/SnapshotProjectModal.js
index e12af207..72630c41 100644
--- a/client/src/components/Projects/SnapshotProjectModal.js
+++ b/client/src/components/Projects/SnapshotProjectModal.js
@@ -3,9 +3,7 @@ import PropTypes from "prop-types";
import { createUseStyles, useTheme } from "react-jss";
import Button from "../Button/Button";
-import { faCopy } from "@fortawesome/free-solid-svg-icons";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-
+import { MdFileCopy } from "react-icons/md";
import ModalDialog from "../UI/AriaModal/ModalDialog";
const useStyles = createUseStyles(theme => ({
@@ -39,7 +37,7 @@ export default function SnapshotProjectModal({
initialFocus="#duplicateName"
>
- Convert "
+ Convert "
{`${selectedProjectName}`}" Into a Snapshot?
diff --git a/client/src/components/Roles.js b/client/src/components/Roles.js
index 3a105727..5b958867 100644
--- a/client/src/components/Roles.js
+++ b/client/src/components/Roles.js
@@ -7,8 +7,7 @@ import { useToast } from "../contexts/Toast";
import UserContext from "../contexts/UserContext";
import Popup from "reactjs-popup";
import "reactjs-popup/dist/index.css";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { faCheck, faEllipsisV } from "@fortawesome/free-solid-svg-icons";
+import { MdCheck, MdMoreVert } from "react-icons/md";
import RolesContextMenu from "./ArchiveDelete/RolesContextMenu";
import ContentContainer from "./Layout/ContentContainer";
@@ -279,7 +278,7 @@ const Roles = ({ contentContainerRef }) => {
|
{account.emailConfirmed ? (
-
+
) : (
""
)}
@@ -306,10 +305,7 @@ const Roles = ({ contentContainerRef }) => {
account.id === loggedInUserId
}
>
-
+
}
position="bottom center"
diff --git a/client/src/components/ToolTip/ToolTipIcon.js b/client/src/components/ToolTip/ToolTipIcon.js
index ea74063b..ba71ad7d 100644
--- a/client/src/components/ToolTip/ToolTipIcon.js
+++ b/client/src/components/ToolTip/ToolTipIcon.js
@@ -1,6 +1,5 @@
import React from "react";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { faCircle, faQuestion } from "@fortawesome/free-solid-svg-icons";
+import { MdHelp } from "react-icons/md";
import { createUseStyles } from "react-jss";
import clsx from "clsx";
import { PropTypes } from "prop-types";
@@ -13,8 +12,8 @@ const useStyles = createUseStyles({
cursor: "pointer"
}
},
- circle: {
- filter: "drop-shadow(0px 4px 2px rgba(0, 46, 109, 0.3))"
+ help: {
+ color: "#a7c539"
},
tooltip: {
color: "rgb(30, 36, 63) !important",
@@ -45,16 +44,7 @@ const ToolTipIcon = ({ size = "small", id, tooltipContent }) => {
data-iscapture="true"
data-html="true"
>
-
-
+
);
};
diff --git a/client/src/components/ToolTip/ToolTipLabel.js b/client/src/components/ToolTip/ToolTipLabel.js
index f990d118..3ce55214 100644
--- a/client/src/components/ToolTip/ToolTipLabel.js
+++ b/client/src/components/ToolTip/ToolTipLabel.js
@@ -2,8 +2,7 @@ import React from "react";
import PropTypes from "prop-types";
import { createUseStyles } from "react-jss";
import clsx from "clsx";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { faInfo, faCircle } from "@fortawesome/free-solid-svg-icons";
+import { MdInfo } from "react-icons/md";
const useStyles = createUseStyles(theme => ({
labelWrapper: {
@@ -68,10 +67,7 @@ const useStyles = createUseStyles(theme => ({
color: theme.colors.warning
}
},
- faInfoIcon: {
- color: "#ffffff"
- },
- faCircle: {
+ infoIcon: {
color: "#002E6D"
},
iconContainer: {
@@ -138,12 +134,8 @@ const ToolTipLabel = ({
className={clsx("fa-layers fa-fw", classes.iconContainer)}
style={showDescription ? { visibility: "visible" } : {}}
>
-
-
+ {/* */}
+
) : null}
@@ -192,12 +184,7 @@ const ToolTipLabel = ({
className={clsx("fa-layers fa-fw", classes.iconContainer)}
style={showDescription ? { visibility: "visible" } : {}}
>
-
-
+
) : null}
diff --git a/client/src/components/UI/Pagination.js b/client/src/components/UI/Pagination.js
index 6f8e9f99..a2ad7dfa 100644
--- a/client/src/components/UI/Pagination.js
+++ b/client/src/components/UI/Pagination.js
@@ -3,8 +3,7 @@ import PropTypes from "prop-types";
import { Link } from "react-router-dom";
import { createUseStyles } from "react-jss";
import clsx from "clsx";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { faAngleLeft, faAngleRight } from "@fortawesome/free-solid-svg-icons";
+import { MdChevronLeft, MdChevronRight } from "react-icons/md";
const useStyles = createUseStyles(theme => ({
paginationContainer: {
@@ -168,7 +167,7 @@ const Pagination = props => {
className={clsx("hoverPointer", classes.button)}
onClick={() => paginate("left")}
>
-
+
{leftPerimeterLink}
@@ -195,7 +194,7 @@ const Pagination = props => {
className={clsx("hoverPointer", classes.button)}
onClick={() => paginate("right")}
>
- {" "}
+ {" "}
diff --git a/package-lock.json b/package-lock.json
index 10be103f..79fccef7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,13 +8,11 @@
"name": "root",
"version": "0.2.50",
"dependencies": {
- "@fortawesome/fontawesome-svg-core": "^6.5.1",
- "@fortawesome/free-solid-svg-icons": "^6.5.1",
- "@fortawesome/react-fontawesome": "^0.2.0",
"eslint": "^8.53.0",
"i": "^0.3.7",
"luxon": "^3.4.4",
"react-csv": "^2.2.2",
+ "react-icons": "^5.2.1",
"wait-on": "^7.1.0"
},
"devDependencies": {
@@ -6814,6 +6812,14 @@
"resolved": "https://registry.npmjs.org/react-csv/-/react-csv-2.2.2.tgz",
"integrity": "sha512-RG5hOcZKZFigIGE8LxIEV/OgS1vigFQT4EkaHeKgyuCbUAu9Nbd/1RYq++bJcJJ9VOqO/n9TZRADsXNDR4VEpw=="
},
+ "node_modules/react-icons": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.2.1.tgz",
+ "integrity": "sha512-zdbW5GstTzXaVKvGSyTaBalt7HSfuK5ovrzlpyiWHAFXndXTdd/1hdDHI4xBM1Mn7YriT6aqESucFl9kEXzrdw==",
+ "peerDependencies": {
+ "react": "*"
+ }
+ },
"node_modules/react-is": {
"version": "18.2.0",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",
diff --git a/package.json b/package.json
index 83d40693..4a2c71c8 100644
--- a/package.json
+++ b/package.json
@@ -10,9 +10,6 @@
"prepare": "husky install"
},
"dependencies": {
- "@fortawesome/fontawesome-svg-core": "^6.5.1",
- "@fortawesome/free-solid-svg-icons": "^6.5.1",
- "@fortawesome/react-fontawesome": "^0.2.0",
"eslint": "^8.53.0",
"i": "^0.3.7",
"luxon": "^3.4.4",
|