'use client'; import * as React from 'react'; import * as PopoverPrimitive from '@radix-ui/react-popover'; import { cn } from '../../shared/utils'; /** * Floating content panel triggered by a user action. * * @description * The non-modal alternative to `` for complex inline content. * Supports dense inputs and forms — unlike `` or ``. * * @ai-rules * 1. Add `asChild` to `` if the trigger is a custom `