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: 'd52d419d0bcd96e2759a6a39f048f823c3d2ba69' }, h("slot", { key: '851d194ca0b7b0caef7b09420918eb4cdcbee137' })));
    }
    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
