@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 StatusBadge {
constructor() {
this.status = undefined;
}
render() {
return (h("div", { key: '1c72d28a3df7a18f75612496eef6ad4b2087dcaf', class: `utrecht-status-badge utrecht-status-badge--${this.status || 'neutral'}` }, h("slot", { key: '51b8e21b70cf352d86d49c445e87655689af44bf' })));
}
static get is() { return "utrecht-status-badge"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() {
return {
"$": ["status-badge.scss"]
};
}
static get styleUrls() {
return {
"$": ["status-badge.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=status-badge.js.map