import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
import { c as cls } from './helpers.js';

const styleCss = "x-container,x-col{display:block;-webkit-box-sizing:border-box;box-sizing:border-box}x-row,x-col{text-align:inherit}";
const XContainerStyle0 = styleCss;

const XGridContainer = /*@__PURE__*/ proxyCustomElement(class XGridContainer extends HTMLElement {
    constructor() {
        super();
        this.__registerHost();
        this.break = undefined;
    }
    /**
     * Render component
     */
    render() {
        return h(Host, { key: 'd9e1b8ff05ab11f87487b1d0feeb0ed1a9821202', class: cls(this.break ? `container-${this.break}` : 'container') }, h("slot", { key: 'e6e5b944c7e6b694de32b1620410cce6e8a0d25a' }));
    }
    static get style() { return XContainerStyle0; }
}, [4, "x-container", {
        "break": [1]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["x-container"];
    components.forEach(tagName => { switch (tagName) {
        case "x-container":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, XGridContainer);
            }
            break;
    } });
}

const XContainer = XGridContainer;
const defineCustomElement = defineCustomElement$1;

export { XContainer, defineCustomElement };
