diff --git a/frontend-react/package.json b/frontend-react/package.json index f37b4713d21..b2b707427b2 100644 --- a/frontend-react/package.json +++ b/frontend-react/package.json @@ -14,7 +14,7 @@ "@tanstack/react-query": "^4.20.9", "@tanstack/react-query-devtools": "^4.20.9", "@testing-library/user-event": "^13.5.0", - "@trussworks/react-uswds": "<3.0.0", + "@trussworks/react-uswds": "<4.0.0", "@types/downloadjs": "^1.4.2", "@types/lodash.chunk": "^4.2.7", "@types/lodash.omit": "^4.5.7", diff --git a/frontend-react/src/components/Admin/AdminLastMileFailuresTable.tsx b/frontend-react/src/components/Admin/AdminLastMileFailuresTable.tsx index 4f09b88c8c8..837faef804b 100644 --- a/frontend-react/src/components/Admin/AdminLastMileFailuresTable.tsx +++ b/frontend-react/src/components/Admin/AdminLastMileFailuresTable.tsx @@ -127,7 +127,6 @@ const RenderResendModal = (props: { ); diff --git a/frontend-react/src/components/Table/TableHeaders.tsx b/frontend-react/src/components/Table/TableHeaders.tsx index 324f07785df..399eaa90e6f 100644 --- a/frontend-react/src/components/Table/TableHeaders.tsx +++ b/frontend-react/src/components/Table/TableHeaders.tsx @@ -1,6 +1,6 @@ /* Renders the header row of the table from columns.values() */ import React from "react"; -import { IconArrowDownward, IconArrowUpward } from "@trussworks/react-uswds"; +import { Icon } from "@trussworks/react-uswds"; import { FilterManager } from "../../hooks/filters/UseFilterManager"; import { @@ -35,9 +35,9 @@ export const TableHeaders = ({ order === sortOrder || (locally && localOrder === sortOrder); if (filterManager && isOrder("ASC")) { - return ; + return ; } else if (filterManager && isOrder("DESC")) { - return ; + return ; } }; diff --git a/frontend-react/src/components/tooltips/ObjectTooltip.tsx b/frontend-react/src/components/tooltips/ObjectTooltip.tsx index 8563fbfa15e..8146d79f12e 100644 --- a/frontend-react/src/components/tooltips/ObjectTooltip.tsx +++ b/frontend-react/src/components/tooltips/ObjectTooltip.tsx @@ -1,4 +1,4 @@ -import { IconHelp, Tooltip } from "@trussworks/react-uswds"; +import { Icon, Tooltip } from "@trussworks/react-uswds"; import { SampleFilterObject, @@ -32,7 +32,7 @@ const ObjectTooltip = ({ obj }: ObjectTooltipProps) => { label={`${obj.stringify()}\n\n\n${obj.description()}`} onClick={() => copyToClipboard(obj.stringify())} > - + ); }; @@ -49,7 +49,7 @@ const EnumTooltip = ({ vals }: EnumTooltipProps) => { label={label} onClick={() => copyToClipboard(clipboard)} > - + ); }; diff --git a/frontend-react/src/pages/TermsOfService.tsx b/frontend-react/src/pages/TermsOfService.tsx index 55a5abca6d7..bd98c52645b 100644 --- a/frontend-react/src/pages/TermsOfService.tsx +++ b/frontend-react/src/pages/TermsOfService.tsx @@ -10,6 +10,7 @@ export const TermsOfService = () => { id="anchor-top" > { return ( - {message ? message : GENERIC_ERROR_STRING} + + {message ? message : GENERIC_ERROR_STRING} + ); }; diff --git a/frontend-react/src/pages/misc/FeatureFlags.tsx b/frontend-react/src/pages/misc/FeatureFlags.tsx index 738c24d59f8..e4b4866a241 100644 --- a/frontend-react/src/pages/misc/FeatureFlags.tsx +++ b/frontend-react/src/pages/misc/FeatureFlags.tsx @@ -88,7 +88,6 @@ export function FeatureFlagUIComponent() { key="add-feature-flag" type="button" outline - size="small" className="padding-bottom-1 padding-top-1" onClick={() => addFlagClick()} > @@ -103,13 +102,18 @@ export function FeatureFlagUIComponent() { className="margin-top-3" key={`feature-flag-${i}`} > - + {flagname} {DEFAULT_FEATURE_FLAGS.indexOf(flagname) === -1 && (