diff --git a/apps/web/components/team/TeamListItem.tsx b/apps/web/components/team/TeamListItem.tsx
index a705abbf..65cc1cec 100644
--- a/apps/web/components/team/TeamListItem.tsx
+++ b/apps/web/components/team/TeamListItem.tsx
@@ -99,7 +99,7 @@ export default function TeamListItem(props: Props) {
>
)}
{!isInvitee && (
-
+
diff --git a/apps/web/components/ui/Dropdown.tsx b/apps/web/components/ui/Dropdown.tsx
index 6abe0e3d..4a1b4a82 100644
--- a/apps/web/components/ui/Dropdown.tsx
+++ b/apps/web/components/ui/Dropdown.tsx
@@ -25,8 +25,11 @@ export const DropdownMenuContent = forwardRef {
return (
{children}
diff --git a/apps/web/components/ui/TableActions.tsx b/apps/web/components/ui/TableActions.tsx
index cf81ead5..de093aa0 100644
--- a/apps/web/components/ui/TableActions.tsx
+++ b/apps/web/components/ui/TableActions.tsx
@@ -1,11 +1,15 @@
-import { Menu, Transition } from "@headlessui/react";
import { DotsHorizontalIcon } from "@heroicons/react/solid";
-import React, { FC, Fragment } from "react";
+import React, { FC } from "react";
-import classNames from "@lib/classNames";
import { useLocale } from "@lib/hooks/useLocale";
import { SVGComponent } from "@lib/types/SVGComponent";
+import Dropdown, {
+ DropdownMenuTrigger,
+ DropdownMenuContent,
+ DropdownMenuItem,
+} from "@components/ui/Dropdown";
+
import Button from "./Button";
export type ActionType = {
@@ -38,57 +42,28 @@ const TableActions: FC = ({ actions }) => {
))}
-
+
+
+
+
+
+
+ {actions.map((action) => (
+
+
+
+ ))}
+
+
+
>
);
};
diff --git a/apps/web/package.json b/apps/web/package.json
index 16d25b6b..27ccabd1 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -34,7 +34,6 @@
"@calcom/tsconfig": "*",
"@calcom/ui": "*",
"@daily-co/daily-js": "^0.21.0",
- "@headlessui/react": "^1.4.2",
"@heroicons/react": "^1.0.5",
"@hookform/error-message": "^2.0.0",
"@hookform/resolvers": "^2.8.5",
diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsx
index 0b83952d..4ab84b12 100644
--- a/apps/web/pages/event-types/index.tsx
+++ b/apps/web/pages/event-types/index.tsx
@@ -1,5 +1,3 @@
-// TODO: replace headlessui with radix-ui
-import { Menu, Transition } from "@headlessui/react";
import {
ArrowDownIcon,
ArrowUpIcon,
@@ -15,6 +13,8 @@ import Head from "next/head";
import Link from "next/link";
import React, { Fragment, useEffect, useState } from "react";
+import { Button } from "@calcom/ui";
+
import { QueryCell } from "@lib/QueryCell";
import classNames from "@lib/classNames";
import { useLocale } from "@lib/hooks/useLocale";
@@ -29,6 +29,11 @@ import { Alert } from "@components/ui/Alert";
import Avatar from "@components/ui/Avatar";
import AvatarGroup from "@components/ui/AvatarGroup";
import Badge from "@components/ui/Badge";
+import Dropdown, {
+ DropdownMenuTrigger,
+ DropdownMenuContent,
+ DropdownMenuItem,
+} from "@components/ui/Dropdown";
import UserCalendarIllustration from "@components/ui/svg/UserCalendarIllustration";
type Profiles = inferQueryOutput<"viewer.eventTypes">["profiles"];
@@ -194,101 +199,60 @@ const EventTypeList = ({ readOnly, types, profile }: EventTypeListProps): JSX.El