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: '2a9f1c033bee7e199f9c462922ef59c990ce4f79', class: cls(`chip-${this.color}`, { 'chip-hoverable': this.hoverable }) }, h("slot", { key: 'e1717cd89abbe1126d50c464d7dcd2ef724012fc' }));
    }
    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\" | \"brown\" | \"cyan\" | \"danger\" | \"default\" | \"green\" | \"indigo\" | \"info\" | \"orange\" | \"pink\" | \"primary\" | \"purple\" | \"red\" | \"stone\" | \"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"; }
}
