MCPcopy Create free account
hub / github.com/arctic-cli/interface / AlertDialogPopup

Function AlertDialogPopup

packages/web/components/ui/alert-dialog.tsx:49–68  ·  view source on GitHub ↗
({
  className,
  ...props
}: AlertDialogPrimitive.Popup.Props)

Source from the content-addressed store, hash-verified

47}
48
49function AlertDialogPopup({
50 className,
51 ...props
52}: AlertDialogPrimitive.Popup.Props) {
53 return (
54 <AlertDialogPortal>
55 <AlertDialogBackdrop />
56 <AlertDialogViewport>
57 <AlertDialogPrimitive.Popup
58 className={cn(
59 "sm:-translate-y-[calc(1.25rem*var(--nested-dialogs))] relative row-start-2 grid max-h-full w-full min-w-0 border-t bg-popover bg-clip-padding text-popover-foreground opacity-[calc(1-0.1*var(--nested-dialogs))] shadow-lg transition-[scale,opacity,translate] duration-200 ease-in-out will-change-transform before:pointer-events-none before:absolute before:inset-0 before:shadow-[0_1px_--theme(--color-black/4%)] data-nested-dialog-open:origin-top data-ending-style:opacity-0 data-starting-style:opacity-0 max-sm:opacity-[calc(1-min(var(--nested-dialogs),1))] max-sm:data-ending-style:translate-y-4 max-sm:data-starting-style:translate-y-4 max-sm:before:hidden sm:max-w-lg sm:data-nested:data-ending-style:translate-y-8 sm:data-nested:data-starting-style:translate-y-8 sm:scale-[calc(1-0.1*var(--nested-dialogs))] sm:rounded-2xl sm:border sm:data-ending-style:scale-98 sm:data-starting-style:scale-98 sm:before:rounded-[calc(var(--radius-2xl)-1px)] dark:bg-clip-border dark:before:shadow-[0_-1px_--theme(--color-white/8%)]",
60 className,
61 )}
62 data-slot="alert-dialog-popup"
63 {...props}
64 />
65 </AlertDialogViewport>
66 </AlertDialogPortal>
67 );
68}
69
70function AlertDialogHeader({
71 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected