import { Host, h } from "@stencil/core";
import { cls } from "../../utils/helpers";
export class XChip {
    constructor() {
        this.hoverable = false;
        this.color = 'default';
    }
    /**
     * Render element
     */
    render() {
        return h(Host, { key: '86961ff602c758977b527eb852101f7975c39be0', class: cls(`chip-${this.color}`, { 'chip-hoverable': this.hoverable }) }, h("slot", { key: '921166cf8acf639edb3de4950832abf273684f96' }));
    }
    static get is() { return "x-chip"; }
    static get originalStyleUrls() {
        return {
            "$": ["./style.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["style.css"]
        };
    }
    static get properties() {
        return {
            "hoverable": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": "Element can focus on hover"
                },
                "attribute": "hoverable",
                "reflect": false,
                "defaultValue": "false"
            },
            "color": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "ColorType",
                    "resolved": "\"accent\" | \"blue\" | \"cyan\" | \"danger\" | \"default\" | \"green\" | \"indigo\" | \"info\" | \"orange\" | \"pink\" | \"primary\" | \"purple\" | \"red\" | \"success\" | \"teal\" | \"warning\" | \"yellow\"",
                    "references": {
                        "ColorType": {
                            "location": "import",
                            "path": "../../constants/colors",
                            "id": "src/constants/colors.ts::ColorType"
                        }
                    }
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": "Element color"
                },
                "attribute": "color",
                "reflect": false,
                "defaultValue": "'default'"
            }
        };
    }
    static get elementRef() { return "el"; }
}
