UNPKG

@utrecht/web-component-library-stencil

Version:

Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture

33 lines (29 loc) 1.87 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; const heading3Css = ":host{display:contents}:host([hidden]){display:none !important}h3{break-inside:avoid-column;page-break-after:avoid;page-break-inside:avoid;color:var(--utrecht-heading-3-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));font-family:var(--utrecht-heading-3-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));font-size:var(--utrecht-heading-3-font-size, revert);font-weight:var(--utrecht-heading-3-font-weight, var(--utrecht-heading-font-weight, bold));line-height:var(--utrecht-heading-3-line-height);margin-block-end:calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-3-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-3-margin-block-start, 0));page-break-after:avoid}"; const UtrechtHeading3Style0 = heading3Css; const Heading3 = /*@__PURE__*/ proxyCustomElement(class Heading3 extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return (h("h3", { key: 'f68577183f5776b0eaa550024e23b69c3c60c7a4' }, h("slot", { key: '86f4f70516d905b7692379d6e87e93be52280fcd' }))); } static get style() { return UtrechtHeading3Style0; } }, [1, "utrecht-heading-3"]); function defineCustomElement() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-heading-3"]; components.forEach(tagName => { switch (tagName) { case "utrecht-heading-3": if (!customElements.get(tagName)) { customElements.define(tagName, Heading3); } break; } }); } export { Heading3 as H, defineCustomElement as d }; //# sourceMappingURL=heading-3.js.map