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 XFormRowStyle0 = styleCss;

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

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

export { XFormRow, defineCustomElement };
