import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
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@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/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) => (jsxRuntimeExports.jsx(Portal, { children: jsxRuntimeExports.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
