import { __decorate, __metadata } from "tslib";
import { h, Host } from "@stencil/core";
import { Logger } from "../../../utils/log";
import { BEM } from "../../../utils/bem";
export class NavLinkGroup {
    constructor() {
        /**
         * PUBLIC PROPERTY API
         * ------------------------------------------------------
         */
        /**
         * Defines the color of the group
         */
        this.color = '';
    }
    createLogger(log) {
        this.log = log;
    }
    /**
     * RENDER
     * ------------------------------------------------------
     */
    render() {
        const block = BEM.block('nav-link-group');
        const hasColor = this.color !== '';
        return (h(Host, { key: '430702a9ee2d0b8e90c22a6d5a710e1ff937fa41', class: Object.assign(Object.assign({}, block.class()), block.modifier(`is-${this.color}`).class(hasColor)) }, h("slot", { key: 'cf882ef1d17029c47e2bb5cb6b7a2a68b4875492' })));
    }
    static get is() { return "bal-nav-link-group"; }
    static get originalStyleUrls() {
        return {
            "$": ["bal-nav-link-group.sass"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["bal-nav-link-group.css"]
        };
    }
    static get properties() {
        return {
            "color": {
                "type": "string",
                "attribute": "color",
                "mutable": false,
                "complexType": {
                    "original": "BalProps.BalNavLinkGroupColor",
                    "resolved": "\"\" | \"gray\" | \"green\" | \"purple\" | \"red\" | \"yellow\"",
                    "references": {
                        "BalProps": {
                            "location": "global",
                            "id": "global::BalProps"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Defines the color of the group"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "defaultValue": "''"
            }
        };
    }
}
__decorate([
    Logger('bal-nav-link-group'),
    __metadata("design:type", Function),
    __metadata("design:paramtypes", [Function]),
    __metadata("design:returntype", void 0)
], NavLinkGroup.prototype, "createLogger", null);
