import { Host, h } from "@stencil/core";
export class CpslNavButtonGroup {
    componentWillRender() {
        var _a;
        if ((_a = this.otherSlots) === null || _a === void 0 ? void 0 : _a.length) {
            console.error('cpsl-button is the only valid child of cpsl-nav-button-group');
            this.otherSlots.forEach(item => item.remove());
        }
    }
    get otherSlots() {
        return this.el.querySelectorAll('&> *:not(cpsl-nav-button)');
    }
    render() {
        return (h(Host, { key: 'adffbef53dea8bd1cf9e90fb0a48e66d2eeebb80' }, h("slot", { key: 'c32bcb35830d0fdda3a991c66d8cba95ff0c90cd' })));
    }
    static get is() { return "cpsl-nav-button-group"; }
    static get encapsulation() { return "shadow"; }
    static get originalStyleUrls() {
        return {
            "$": ["cpsl-nav-button-group.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["cpsl-nav-button-group.css"]
        };
    }
    static get elementRef() { return "el"; }
}
//# sourceMappingURL=cpsl-nav-button-group.js.map
