@utrecht/web-component-library-stencil
Version:
Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture
45 lines (44 loc) • 1.34 kB
JavaScript
import { h } from "@stencil/core";
import clsx from "clsx";
export class Paragraph {
constructor() {
this.lead = undefined;
}
render() {
return (h("div", { key: '644244805a01be6cda2c1bbd39f2a3d21208e79d', class: clsx('utrecht-paragraph', this.lead && 'utrecht-paragraph--lead') }, h("slot", { key: '173c9bd061e53892aa312982cca9ade5c17ab329' })));
}
static get is() { return "utrecht-paragraph"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() {
return {
"$": ["paragraph.scss"]
};
}
static get styleUrls() {
return {
"$": ["paragraph.css"]
};
}
static get properties() {
return {
"lead": {
"type": "boolean",
"mutable": false,
"complexType": {
"original": "boolean",
"resolved": "boolean",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": "Lead paragraph"
},
"attribute": "lead",
"reflect": false
}
};
}
}
//# sourceMappingURL=paragraph.js.map