diff --git a/site/src/components/Filter/Filter.tsx b/site/src/components/Filter/Filter.tsx index ede669416d743..1d568e84a5d2b 100644 --- a/site/src/components/Filter/Filter.tsx +++ b/site/src/components/Filter/Filter.tsx @@ -1,5 +1,4 @@ import { useTheme } from "@emotion/react"; -import Button from "@mui/material/Button"; import Divider from "@mui/material/Divider"; import Menu from "@mui/material/Menu"; import MenuItem from "@mui/material/MenuItem"; @@ -10,6 +9,7 @@ import { hasError, isApiValidationError, } from "api/errors"; +import { Button } from "components/Button/Button"; import { InputGroup } from "components/InputGroup/InputGroup"; import { SearchField } from "components/SearchField/SearchField"; import { useDebouncedFunction } from "hooks/debounce"; @@ -267,9 +267,11 @@ const PresetMenu: FC = ({ { Chats diff --git a/site/src/pages/StarterTemplatePage/StarterTemplatePageView.tsx b/site/src/pages/StarterTemplatePage/StarterTemplatePageView.tsx index 3767ca9b1cab2..4615a6d322ead 100644 --- a/site/src/pages/StarterTemplatePage/StarterTemplatePageView.tsx +++ b/site/src/pages/StarterTemplatePage/StarterTemplatePageView.tsx @@ -1,7 +1,7 @@ import { useTheme } from "@emotion/react"; -import Button from "@mui/material/Button"; import type { TemplateExample } from "api/typesGenerated"; import { ErrorAlert } from "components/Alert/ErrorAlert"; +import { Button } from "components/Button/Button"; import { ExternalImage } from "components/ExternalImage/ExternalImage"; import { Loader } from "components/Loader/Loader"; import { Margins } from "components/Margins/Margins"; @@ -44,22 +44,17 @@ export const StarterTemplatePageView: FC = ({ - - } diff --git a/site/src/pages/TemplatePage/TemplateInsightsPage/DateRange.tsx b/site/src/pages/TemplatePage/TemplateInsightsPage/DateRange.tsx index 4a3dba65cacaa..2651421a99d2a 100644 --- a/site/src/pages/TemplatePage/TemplateInsightsPage/DateRange.tsx +++ b/site/src/pages/TemplatePage/TemplateInsightsPage/DateRange.tsx @@ -1,8 +1,7 @@ import "react-date-range/dist/styles.css"; import "react-date-range/dist/theme/default.css"; import type { Interpolation, Theme } from "@emotion/react"; -import ArrowRightAltOutlined from "@mui/icons-material/ArrowRightAltOutlined"; -import Button from "@mui/material/Button"; +import { Button } from "components/Button/Button"; import { Popover, PopoverContent, @@ -17,6 +16,7 @@ import { startOfHour, subDays, } from "date-fns"; +import { MoveRightIcon } from "lucide-react"; import { type ComponentProps, type FC, useRef, useState } from "react"; import { DateRangePicker, createStaticRanges } from "react-date-range"; @@ -54,11 +54,9 @@ export const DateRange: FC = ({ value, onChange }) => { return ( - diff --git a/site/src/pages/WorkspacePage/WorkspaceNotifications/Notifications.tsx b/site/src/pages/WorkspacePage/WorkspaceNotifications/Notifications.tsx index 2a3efaae27cc7..ad63ced0952cf 100644 --- a/site/src/pages/WorkspacePage/WorkspaceNotifications/Notifications.tsx +++ b/site/src/pages/WorkspacePage/WorkspaceNotifications/Notifications.tsx @@ -1,6 +1,6 @@ import { type Interpolation, type Theme, useTheme } from "@emotion/react"; -import Button, { type ButtonProps } from "@mui/material/Button"; import type { AlertProps } from "components/Alert/Alert"; +import { Button, type ButtonProps } from "components/Button/Button"; import { Pill } from "components/Pill/Pill"; import { Popover, @@ -89,28 +89,13 @@ const NotificationItem: FC = ({ notification }) => { {notification.detail && (

{notification.detail}

)} -
{notification.actions}
+
{notification.actions}
); }; export const NotificationActionButton: FC = (props) => { - return ( -