import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2026 GoodData Corporation
import { bem } from "../@utils/bem.js";
import { UiFloatingElement } from "../UiFloatingElement/UiFloatingElement.js";
const { b } = bem("gd-ui-kit-floating-panel");
/**
 * `UiFloatingElement` plus the kit's canonical popup chrome (background,
 * border-radius, shadow). Shared surface for dropdowns, comboboxes, pickers.
 *
 * @internal
 */
export function UiFloatingPanel({ children, padding = "none", ...rest }) {
    return (_jsx(UiFloatingElement, { ...rest, children: _jsx("div", { className: b({ padding }), children: children }) }));
}
