import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2026 GoodData Corporation
import { UiModalDialog } from "../UiModalDialog/UiModalDialog.js";
import { UiObjectShareDialogCard } from "./UiObjectShareDialogCard.js";
/**
 * Object share dialog — wraps `UiObjectShareDialogCard` in `UiModalDialog`
 * for the full modal contract (portal, dimmed backdrop, focus trap, Esc
 * and backdrop dismiss).
 *
 * @internal
 */
export function UiObjectShareDialog({ isOpen, ...cardProps }) {
    return (_jsx(UiModalDialog, { isOpen: isOpen, onClose: cardProps.onClose, children: _jsx(UiObjectShareDialogCard, { ...cardProps }) }));
}
