import { cnb } from "cnbuilder";
import { box } from "../box/styles.js";
import { bem } from "../utils/bem.js";
const styles = bem("rmd-overlay");
/**
 * @since 6.0.0
 */ export function overlay(options) {
    const { visible, active, absolute = false, clickable = false, align = "center", justify = "center", className } = options;
    return cnb(styles({
        active,
        visible,
        clickable,
        absolute
    }), box({
        align,
        justify,
        disablePadding: true
    }), className);
}
/** @since 2.4.0 */ export const DEFAULT_OVERLAY_TIMEOUT = 150;
/** @since 2.4.0 */ export const DEFAULT_OVERLAY_CLASSNAMES = {
    appearActive: "rmd-overlay--active",
    appearDone: "rmd-overlay--active",
    enterActive: "rmd-overlay--active",
    enterDone: "rmd-overlay--active"
};

//# sourceMappingURL=overlayStyles.js.map