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.47 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; const logoCss = ":host{margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0;display:block;max-block-size:var(--utrecht-logo-max-block-size, 192px);max-inline-size:var(--utrecht-logo-max-inline-size, 96px);min-block-size:var(--utrecht-logo-min-block-size);min-inline-size:var(--utrecht-logo-min-inline-size)}:host([hidden]){display:none !important}::slotted(*){block-size:100%;display:inline-block;inline-size:auto}"; const UtrechtLogoStyle0 = logoCss; const Logo = /*@__PURE__*/ proxyCustomElement(class Logo extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return h("slot", { key: 'ef966b30a667b7ccc5f3ddeef36bb2ad6eb2956b' }); } static get style() { return UtrechtLogoStyle0; } }, [1, "utrecht-logo"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-logo"]; components.forEach(tagName => { switch (tagName) { case "utrecht-logo": if (!customElements.get(tagName)) { customElements.define(tagName, Logo); } break; } }); } const UtrechtLogo = Logo; const defineCustomElement = defineCustomElement$1; export { UtrechtLogo, defineCustomElement }; //# sourceMappingURL=utrecht-logo.js.map