import { cnb } from "cnbuilder";
import { cssUtils } from "../cssUtils.js";
import { bem } from "../utils/bem.js";
const styles = bem("rmd-tooltip");
/**
 * @since 6.0.0
 */ export function tooltip(options) {
    const { dense, position = "below", className, textOverflow } = options;
    return cnb(styles({
        dense,
        [position]: true
    }), cssUtils({
        textOverflow
    }), className);
}

//# sourceMappingURL=styles.js.map