import { r as registerInstance, g as getElement, j as jsx, c as jsxs, H as Host } from './index-C7YNCRgy.js';
import { u as useId } from './utils-3tiLrJBo.js';

const fieldsetCss = () => ``;

const Fieldset = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
    }
    get host() { return getElement(this); }
    // private shadowElement?: HTMLElement;
    // MARK: Props
    hint;
    legend;
    // MARK: Render
    render() {
        const { legend } = this;
        const fieldsetId = useId('fieldset');
        return (jsx(Host, { part: "root", children: jsxs("fieldset", { class: "dds-fieldset", id: fieldsetId, part: "fieldset", children: [legend && jsx("legend", { class: "dds-fieldset__legend", children: legend }, '22ef896bf4103bcf1e79def43984b63237358bd0'), jsx("slot", {}, 'a0f18960872ba169c86fe1fa954fcbbbc036e33e')] }, '8dcc9e1058738315500bfa35457eda007e4fe697') }, 'aa444fbf946b872dcc564f9954fc55d08dc8b710'));
    }
};
Fieldset.style = fieldsetCss();

export { Fieldset as dds_fieldset };
