/** * Popover - BASIC fork of @radix-ui/react-popover with the same API shape * (Root / Trigger / Content + Title / Body / Footer / Actions section parts). * Classes are ported 1:1 from Studio's `Popover` (tokens remapped to * veryfront's `[var(--token)]` vocabulary). Anchored below the trigger; * dismisses on outside-click and `Escape`. A11y work tracked in * anchored-surface.tsx. * * @example * ```tsx * import { Button, Popover, PopoverContent, PopoverTitle, PopoverTrigger } from "veryfront/ui"; * * * * Filters * ; * ``` * * @module react/components/ui/popover */ import * as React from "react"; /** Props accepted by ``. */ export interface PopoverProps { /** The trigger and content parts to compose. */ children: React.ReactNode; /** Controlled open state (pair with `onOpenChange`). */ open?: boolean; /** Initial open state when uncontrolled. */ defaultOpen?: boolean; /** Fires when the open state changes. */ onOpenChange?: (open: boolean) => void; } /** Popover root - owns open state and the positioning anchor. */ export declare function Popover(props: PopoverProps): React.ReactElement; /** Props accepted by ``. */ export interface PopoverTriggerProps extends React.ButtonHTMLAttributes { /** Merge trigger behaviour onto the child element instead of a `