@larva.io/webcomponents
Version:
Fentrica SmartUnits WebComponents package
54 lines (53 loc) • 1.69 kB
JavaScript
/*!
* (C) Fentrica http://fentrica.com - Seee LICENSE.md
*/
import { Host, h } from "@stencil/core";
import { createColorClasses } from "../../../utils/theme";
export class Badge {
render() {
return (h(Host, { key: '14622c1d71ca266f9adadf104c71d4f1d9508515', class: Object.assign({}, createColorClasses(this.color)) }, h("slot", { key: 'c5bcf53f51dd0d6f7dfd41b6c3130a7c729b24a7' })));
}
static get is() { return "lar-badge"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() {
return {
"$": ["badge.scss"]
};
}
static get styleUrls() {
return {
"$": ["badge.css"]
};
}
static get properties() {
return {
"color": {
"type": "string",
"mutable": false,
"complexType": {
"original": "Color",
"resolved": "string",
"references": {
"Color": {
"location": "import",
"path": "../../../interface",
"id": "src/interface.d.ts::Color"
}
}
},
"required": false,
"optional": true,
"docs": {
"tags": [],
"text": ""
},
"getter": false,
"setter": false,
"reflect": false,
"attribute": "color"
}
};
}
static get elementRef() { return "el"; }
}
//# sourceMappingURL=badge.js.map