From cfd1a72c642e4130061c1c6903b58270c9d9439d Mon Sep 17 00:00:00 2001 From: "GitStart-Cal.com" <121884634+gitstart-calcom@users.noreply.github.com> Date: Wed, 17 May 2023 12:47:44 +0000 Subject: [PATCH] [CAL-1545] replace heroicons with lucide.dev (#8599) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix linting * [CAL-1545] replace heroicons with lucide.dev * [CAL-1545] replace heroicons with lucide.dev * [CAL-1545] replace heroicons with lucide.dev --------- Co-authored-by: gitstart-calcom Co-authored-by: Efraín Rochín Co-authored-by: Peer Richelsen Co-authored-by: Keith Williams --- .../components/booking/BookingListItem.tsx | 4 +-- .../steps-views/ConnectCalendars.tsx | 5 ++-- .../steps-views/ConnectedVideoStep.tsx | 5 ++-- .../steps-views/SetupAvailability.tsx | 4 +-- .../steps-views/UserProfile.tsx | 4 +-- .../steps-views/UserSettings.tsx | 4 +-- .../UsernameAvailability/PremiumTextfield.tsx | 12 ++++++--- apps/web/next.config.js | 6 ----- apps/web/package.json | 1 - apps/web/pages/[user].tsx | 7 ++--- apps/web/pages/auth/verify.tsx | 8 +++--- package.json | 2 +- .../giphy/components/SearchDialog.tsx | 6 ++--- .../giphy/components/SelectGifInput.tsx | 8 +++--- .../components/confirmDialog.tsx | 4 +-- packages/features/calendars/DatePicker.tsx | 7 +++-- .../teams/components/TeamInviteListItem.tsx | 4 +-- packages/ui/components/alert/Alert.tsx | 26 ++++++++++++------- .../ui/components/form/dropdown/Dropdown.tsx | 6 ++--- .../ui/components/top-banner/TopBanner.tsx | 5 ++-- packages/ui/form/radio-area/Select.tsx | 4 +-- yarn.lock | 11 -------- 22 files changed, 67 insertions(+), 76 deletions(-) diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index 7af2db8944..3dc01a2dcb 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -29,7 +29,7 @@ import { TableActions, TextAreaField, } from "@calcom/ui"; -import { Check, Clock, MapPin, RefreshCcw, Send, Slash, X, CreditCard } from "@calcom/ui/components/icon"; +import { Check, Clock, MapPin, RefreshCcw, Send, Ban, X, CreditCard } from "@calcom/ui/components/icon"; import useMeQuery from "@lib/hooks/useMeQuery"; @@ -119,7 +119,7 @@ function BookingListItem(booking: BookingItemProps) { onClick: () => { setRejectionDialogIsOpen(true); }, - icon: Slash, + icon: Ban, disabled: mutation.isLoading, }, // For bookings with payment, only confirm if the booking is paid for diff --git a/apps/web/components/getting-started/steps-views/ConnectCalendars.tsx b/apps/web/components/getting-started/steps-views/ConnectCalendars.tsx index d2e91f7c09..2109f01a4c 100644 --- a/apps/web/components/getting-started/steps-views/ConnectCalendars.tsx +++ b/apps/web/components/getting-started/steps-views/ConnectCalendars.tsx @@ -1,9 +1,8 @@ -import { ArrowRightIcon } from "@heroicons/react/solid"; - import classNames from "@calcom/lib/classNames"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { trpc } from "@calcom/trpc/react"; import { List } from "@calcom/ui"; +import { ArrowRight } from "@calcom/ui/components/icon"; import { AppConnectionItem } from "../components/AppConnectionItem"; import { ConnectedCalendarItem } from "../components/ConnectedCalendarItem"; @@ -85,7 +84,7 @@ const ConnectedCalendars = (props: IConnectCalendarsProps) => { onClick={() => nextStep()} disabled={disabledNextButton}> {firstCalendar ? `${t("continue")}` : `${t("next_step_text")}`} -