@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 heading6Css = ":host{display:contents}:host([hidden]){display:none !important}h6{break-inside:avoid-column;page-break-after:avoid;page-break-inside:avoid;color:var(--utrecht-heading-6-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));font-family:var(--utrecht-heading-6-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));font-size:var(--utrecht-heading-6-font-size, revert);font-weight:var(--utrecht-heading-6-font-weight, var(--utrecht-heading-font-weight, bold));line-height:var(--utrecht-heading-6-line-height);margin-block-end:calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-6-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-6-margin-block-start, 0));page-break-after:avoid}";
const UtrechtHeading6Style0 = heading6Css;
const Heading6 = /*@__PURE__*/ proxyCustomElement(class Heading6 extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("h6", { key: '8f433c64df8f80b06a1f887f026fdee236c3ef63' }, h("slot", { key: '4ccf77b8d7c571d1092caa8eb71de18710a5d848' })));
}
static get style() { return UtrechtHeading6Style0; }
}, [1, "utrecht-heading-6"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-heading-6"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-heading-6":
if (!customElements.get(tagName)) {
customElements.define(tagName, Heading6);
}
break;
} });
}
const UtrechtHeading6 = Heading6;
const defineCustomElement = defineCustomElement$1;
export { UtrechtHeading6, defineCustomElement };
//# sourceMappingURL=utrecht-heading-6.js.map