@utrecht/web-component-library-stencil
Version:
Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture
49 lines (48 loc) • 1.44 kB
JavaScript
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
import { h } from "@stencil/core";
export class BadgeStatus {
constructor() {
this.status = undefined;
}
render() {
return (h("div", { key: 'bd7e3a74504284b1d164a35b186b9f52cbb32d71', class: `utrecht-badge-status utrecht-badge-status--${this.status || 'neutral'}` }, h("slot", { key: '7ae0608e27d2c7aa459ab55b8112a594654839a0' })));
}
static get is() { return "utrecht-badge-status"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() {
return {
"$": ["badge-status.scss"]
};
}
static get styleUrls() {
return {
"$": ["badge-status.css"]
};
}
static get properties() {
return {
"status": {
"type": "string",
"mutable": false,
"complexType": {
"original": "string",
"resolved": "string",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "status",
"reflect": false
}
};
}
}
//# sourceMappingURL=badge-status.js.map