import { cnb } from "cnbuilder";
import { bem } from "../utils/bem.js";
const styles = bem("rmd-responsive-item");
/** @since 6.0.0 */ export function responsiveItem(options = {}) {
    const { className, fullWidth = false, aspectRatio = "", responsive = "auto" } = options;
    return cnb(styles({
        auto: responsive !== "manual",
        "auto-scale": responsive === "container",
        "aspect-ratio": aspectRatio,
        [aspectRatio]: aspectRatio,
        "full-width": fullWidth
    }), className);
}

//# sourceMappingURL=responsiveItemStyles.js.map