import { cnb } from "cnbuilder";
import { bem } from "../utils/bem.js";
const styles = bem("rmd-snackbar");
/**
 * @since 6.0.0
 */ export function snackbar(options) {
    const { className, absolute, position } = options;
    const top = position === "top" || position === "top-left" || position === "top-right";
    return cnb(styles({
        absolute,
        top,
        bottom: !top,
        start: position === "top-left" || position === "bottom-left",
        end: position === "top-right" || position === "bottom-right"
    }), className);
}

//# sourceMappingURL=snackbarStyles.js.map