"use client";
import { jsx } from 'react/jsx-runtime';
import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
import React__default from 'react';
import styles from './popover.module.css.js';
import { Portal, Content as Content2, Root as Root2, Trigger, Close } from '../../node_modules/.pnpm/@radix-ui_react-popover@1.1.14_@types_react-dom@19.1.7_@types_react@19.1.9__@types_react@19.1_no32lgcqjbeldy6avygquzhjqm/node_modules/@radix-ui/react-popover/dist/index.js';

const popoverContent = cva(styles.popover);
const PopoverContent = React__default.forwardRef(({ className, align = 'center', sideOffset = 4, ariaLabel = 'Popover content', collisionPadding = 3, ...props }, ref) => (jsx(Portal, { children: jsx(Content2, { ref: ref, align: align, sideOffset: sideOffset, collisionPadding: collisionPadding, avoidCollisions: true, className: popoverContent({ className }), role: 'dialog', "aria-modal": 'true', "aria-label": ariaLabel, ...props, children: props.children }) })));
PopoverContent.displayName = Content2.displayName;
const Popover = Object.assign(Root2, {
    Trigger: Trigger,
    Close: Close,
    Content: PopoverContent
});

export { Popover };
//# sourceMappingURL=popover.js.map
