diff --git a/apps/web/src/components/ui/alert-dialog.tsx b/apps/web/src/components/ui/alert-dialog.tsx
index 4f57e920118b..0bf6f1d6e1e1 100644
--- a/apps/web/src/components/ui/alert-dialog.tsx
+++ b/apps/web/src/components/ui/alert-dialog.tsx
@@ -9,16 +9,10 @@ import {
DIALOG_POPUP_CLASS,
} from "~/components/ui/dialog-styles";
-const AlertDialogCreateHandle = AlertDialogPrimitive.createHandle;
-
const AlertDialog = AlertDialogPrimitive.Root;
const AlertDialogPortal = AlertDialogPrimitive.Portal;
-function AlertDialogTrigger(props: AlertDialogPrimitive.Trigger.Props) {
- return ;
-}
-
function AlertDialogBackdrop({ className, ...props }: AlertDialogPrimitive.Backdrop.Props) {
return (
;
}
-function PopoverTitle({ className, ...props }: PopoverPrimitive.Title.Props) {
- return (
-
- );
-}
-
-function PopoverDescription({ className, ...props }: PopoverPrimitive.Description.Props) {
- return (
-
- );
-}
-
export {
PopoverCreateHandle,
Popover,
PopoverTrigger,
PopoverPopup,
PopoverPopup as PopoverContent,
- PopoverTitle,
- PopoverDescription,
PopoverClose,
};
diff --git a/apps/web/src/components/ui/sheet.tsx b/apps/web/src/components/ui/sheet.tsx
index f7711da80038..5d02d94f818a 100644
--- a/apps/web/src/components/ui/sheet.tsx
+++ b/apps/web/src/components/ui/sheet.tsx
@@ -5,20 +5,11 @@ import { XIcon } from "lucide-react";
import type { CSSProperties } from "react";
import { cn } from "~/lib/utils";
import { Button } from "~/components/ui/button";
-import { ScrollArea } from "~/components/ui/scroll-area";
const Sheet = SheetPrimitive.Root;
const SheetPortal = SheetPrimitive.Portal;
-function SheetTrigger(props: SheetPrimitive.Trigger.Props) {
- return ;
-}
-
-function SheetClose(props: SheetPrimitive.Close.Props) {
- return ;
-}
-
function SheetBackdrop({ className, ...props }: SheetPrimitive.Backdrop.Props) {
return (
) {
);
}
-function SheetFooter({
- className,
- variant = "default",
- ...props
-}: React.ComponentProps<"div"> & {
- variant?: "default" | "bare";
-}) {
- return (
-
- );
-}
-
function SheetTitle({ className, ...props }: SheetPrimitive.Title.Props) {
return (
& { scrollFade?: boolean }) {
- return (
-
-
-
- );
-}
-
-export {
- Sheet,
- SheetTrigger,
- SheetPortal,
- SheetClose,
- SheetBackdrop,
- SheetBackdrop as SheetOverlay,
- SheetPopup,
- SheetPopup as SheetContent,
- SheetHeader,
- SheetFooter,
- SheetTitle,
- SheetDescription,
- SheetPanel,
-};
+export { Sheet, SheetPopup, SheetHeader, SheetTitle, SheetDescription };
diff --git a/apps/web/src/components/ui/tooltip.tsx b/apps/web/src/components/ui/tooltip.tsx
index 77b15a01e16b..c0aaea40ceae 100644
--- a/apps/web/src/components/ui/tooltip.tsx
+++ b/apps/web/src/components/ui/tooltip.tsx
@@ -2,8 +2,6 @@ import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
import { cn } from "~/lib/utils";
-const TooltipCreateHandle = TooltipPrimitive.createHandle;
-
const TooltipProvider = TooltipPrimitive.Provider;
const Tooltip = TooltipPrimitive.Root;
@@ -61,4 +59,4 @@ function TooltipPopup({
);
}
-export { TooltipCreateHandle, TooltipProvider, Tooltip, TooltipTrigger, TooltipPopup };
+export { TooltipProvider, Tooltip, TooltipTrigger, TooltipPopup };