@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.47 kB
JavaScript
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
import { h, Host } from "@stencil/core";
export class ColorSample {
constructor() {
this.color = undefined;
}
render() {
return (h(Host, { key: '996c17e787a1a1213dc988f2243a799f69b2a27e', style: { color: this.color } }, h("data", { key: '9d6f867cbca4ff2e20f885d1eb7afbae11be0a84', value: this.color }, h("slot", { key: 'b1bd84878c217a6a072aa4a804d04a6c25ae0c92' }))));
}
static get is() { return "utrecht-color-sample"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() {
return {
"$": ["color-sample.scss"]
};
}
static get styleUrls() {
return {
"$": ["color-sample.css"]
};
}
static get properties() {
return {
"color": {
"type": "string",
"mutable": false,
"complexType": {
"original": "string",
"resolved": "string",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "color",
"reflect": false
}
};
}
}
//# sourceMappingURL=color-sample.js.map