@utrecht/web-component-library-stencil
Version:
Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture
36 lines (31 loc) • 1.96 kB
JavaScript
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
const heading5Css = ":host{display:contents}:host([hidden]){display:none !important}h5{break-inside:avoid-column;page-break-after:avoid;page-break-inside:avoid;color:var(--utrecht-heading-5-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));font-family:var(--utrecht-heading-5-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));font-size:var(--utrecht-heading-5-font-size, revert);font-weight:var(--utrecht-heading-5-font-weight, var(--utrecht-heading-font-weight, bold));line-height:var(--utrecht-heading-5-line-height);margin-block-end:calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-5-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-5-margin-block-start, 0));page-break-after:avoid}";
const UtrechtHeading5Style0 = heading5Css;
const Heading5 = /*@__PURE__*/ proxyCustomElement(class Heading5 extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("h5", { key: '6876dec17145da2b2082a87e4f82f73cb9f2fb2c' }, h("slot", { key: '1f058e31a9566bc4f079920982375a42b3d01bfb' })));
}
static get style() { return UtrechtHeading5Style0; }
}, [1, "utrecht-heading-5"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-heading-5"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-heading-5":
if (!customElements.get(tagName)) {
customElements.define(tagName, Heading5);
}
break;
} });
}
const UtrechtHeading5 = Heading5;
const defineCustomElement = defineCustomElement$1;
export { UtrechtHeading5, defineCustomElement };
//# sourceMappingURL=utrecht-heading-5.js.map