import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';

const styleCss = "x-form{display:block;text-align:inherit}x-form-row{position:relative;text-align:inherit;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-0.75rem;margin-left:-0.75rem}x-form-row>.col,x-form-row>[class*=col-]{padding-right:0.75rem;padding-left:0.75rem}x-form-row+hr{margin-top:0.25rem !important}x-form-group{display:block;text-align:inherit;position:relative;margin-bottom:1.5rem}fieldset{margin:0px;padding:0px;border:none;margin-bottom:1rem}fieldset .fieldset-item{margin-bottom:1rem}fieldset .fieldset-item:last-child{margin-bottom:0px}";
const XFormGroupStyle0 = styleCss;

const XFormGroup$1 = /*@__PURE__*/ proxyCustomElement(class XFormGroup extends HTMLElement {
    constructor() {
        super();
        this.__registerHost();
    }
    render() {
        return (h(Host, { key: '0b1a59ffea5a1997026921405a9ef43adb5792ae' }, h("slot", { key: '91ae6582256af813ef07b55a2c0875931ffb5621' })));
    }
    static get style() { return XFormGroupStyle0; }
}, [4, "x-form-group"]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["x-form-group"];
    components.forEach(tagName => { switch (tagName) {
        case "x-form-group":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, XFormGroup$1);
            }
            break;
    } });
}

const XFormGroup = XFormGroup$1;
const defineCustomElement = defineCustomElement$1;

export { XFormGroup, defineCustomElement };
