import { cnb } from "cnbuilder";
import { bem } from "../utils/bem.js";
const styles = bem("rmd-dialog");
/** @remarks \@since 6.0.0 */ export function dialog(options = {}) {
    const { type = "centered", fixed = false, outline = type === "full-page", className } = options;
    return cnb(styles({
        fixed,
        outline,
        centered: type === "centered",
        "full-page": type === "full-page"
    }), className);
}
/** @remarks \@since 6.0.0 */ export function dialogHeader(options = {}) {
    const { className } = options;
    return cnb(styles("header"), className);
}
/** @remarks \@since 6.0.0 */ export function dialogContent(options = {}) {
    const { className, disablePadding = false } = options;
    return cnb(styles("content", {
        padded: !disablePadding
    }), className);
}
/** @remarks \@since 6.0.0 */ export function dialogFooter(options = {}) {
    const { align = "end", className } = options;
    return cnb(styles("footer", {
        flex: align !== "none",
        "flex-v": align === "stacked-start" || align === "stacked-end",
        start: align === "start" || align === "stacked-start",
        between: align === "between",
        end: align === "end" || align === "stacked-end"
    }), className);
}

//# sourceMappingURL=styles.js.map