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: 'c63821ed9f0f2e8d1822b4ff7a3879096697da3e', class: cls(this.break ? `container-${this.break}` : 'container') }, h("slot", { key: 'a0bc599134561e8d33d4ef6a56666f4a29df4410' }));
    }
    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 };
