import { cnb } from "cnbuilder";
import { bem } from "../utils/bem.js";
const styles = bem("rmd-fieldset");
/**
 * @since 6.0.0
 */ export function fieldset(options = {}) {
    const { className, fullWidth, browserStyles = false, floatingLegend } = options;
    return cnb(styles({
        unstyled: !browserStyles,
        "full-width": fullWidth,
        "floating-legend": floatingLegend
    }), className);
}

//# sourceMappingURL=fieldsetStyles.js.map