{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "popover", "type": "registry:ui", "dependencies": ["@ark-ui/react"], "files": [ { "path": "./src/components/ui/popover.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { Popover as PopoverPrimitive } from \"@ark-ui/react/popover\"\nimport { Portal } from \"@ark-ui/react/portal\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Popover = PopoverPrimitive.Root\n\nconst PopoverAnchor = PopoverPrimitive.Anchor\n\nconst PopoverArrow = React.forwardRef<\n React.ElementRef,\n PopoverPrimitive.ArrowProps\n>(({ className, ...props }, ref) => (\n \n \n \n))\nPopoverArrow.displayName = \"PopoverArrow\"\n\nconst PopoverCloseTrigger = PopoverPrimitive.CloseTrigger\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef,\n PopoverPrimitive.ContentProps\n>(({ className, ...props }, ref) => (\n \n \n \n \n \n))\nPopoverContent.displayName = \"PopoverContent\"\n\nconst PopoverContext = PopoverPrimitive.Context\n\nconst PopoverDescription = React.forwardRef<\n React.ElementRef,\n PopoverPrimitive.DescriptionProps\n>(({ className, ...props }, ref) => (\n \n))\nPopoverDescription.displayName = \"PopoverDescription\"\n\nconst PopoverRootProvider = PopoverPrimitive.RootProvider\n\nconst PopoverTitle = React.forwardRef<\n React.ElementRef,\n PopoverPrimitive.TitleProps\n>(({ className, ...props }, ref) => (\n \n))\nPopoverTitle.displayName = \"PopoverTitle\"\n\nconst PopoverTrigger = PopoverPrimitive.Trigger\n\nexport {\n Popover,\n PopoverAnchor,\n PopoverArrow,\n PopoverCloseTrigger,\n PopoverContent,\n PopoverContext,\n PopoverDescription,\n PopoverRootProvider,\n PopoverTitle,\n PopoverTrigger,\n}\n\nexport { usePopover } from \"@ark-ui/react/popover\"\n", "type": "registry:ui" } ] }