import { cnb } from "cnbuilder";
import { bem } from "../utils/bem.js";
const styles = bem("rmd-responsive-item");
/**
 * Applies the visual media responsive styles manually if you cannot use the
 * `ResponsiveItemContainer` component.
 *
 * @since 6.0.0
 */ export function responsiveItem(options = {}) {
    const { className, scaleToContainer = false, forcedAspectRatio = false } = options;
    return cnb(styles({
        scale: scaleToContainer,
        "aspect-ratio": forcedAspectRatio
    }), className);
}

//# sourceMappingURL=styles.js.map