UNPKG

@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.55 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; const bodyCss = ":host{block-size:100%;font-family:var(--utrecht-body-font-family, inherit);font-size:var(--utrecht-body-font-size, inherit);font-weight:var(--utrecht-body-font-weight, inherit);line-height:var(--utrecht-body-line-height, inherit);margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0;padding-block-end:0;padding-block-start:0;padding-inline-end:0;padding-inline-start:0}@media screen{:host{min-block-size:100vh;min-block-size:100vb}}:host([hidden]){display:none !important}"; const UtrechtBodyStyle0 = bodyCss; const Root = /*@__PURE__*/ proxyCustomElement(class Root extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return h("slot", { key: '3ce9d330f587ae850baee2d58c1d48185814525a' }); } static get style() { return UtrechtBodyStyle0; } }, [1, "utrecht-body"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-body"]; components.forEach(tagName => { switch (tagName) { case "utrecht-body": if (!customElements.get(tagName)) { customElements.define(tagName, Root); } break; } }); } const UtrechtBody = Root; const defineCustomElement = defineCustomElement$1; export { UtrechtBody, defineCustomElement }; //# sourceMappingURL=utrecht-body.js.map