UNPKG

@utrecht/web-component-library-stencil

Version:

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

45 lines (40 loc) 2.08 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; import { d as defineCustomElement$2 } from './digid-logo.js'; const digidButtonCss = ".utrecht-digid-button{--utrecht-button-min-block-size:var(--utrecht-digid-button-block-size, 44px);--utrecht-logo-max-block-size:var(--utrecht-digid-button-block-size, 50px);--utrecht-logo-max-inline-size:var(--utrecht-digid-button-block-size, 50px);block-size:var(--utrecht-digid-button-block-size, 50px);display:inline-flex;gap:var(--utrecht-space-inline-sm)}:host{display:block}:host([hidden]){display:none !important}"; const UtrechtDigidButtonStyle0 = digidButtonCss; const DigidButton = /*@__PURE__*/ proxyCustomElement(class DigidButton extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); this.type = undefined; } render() { return (h("div", { key: 'f1212d9f2e58b416ad10adbf9be0f7f13c5ab691', class: "utrecht-digid-button" }, h("utrecht-digid-logo", { key: '422595d281253ee157ea2acd7e5ae014e1ffcf9d', class: "utrecht-digid-button__logo" }), h("slot", { key: '665ad8db0714b47d0565d21f586ad1e8d78d1d72' }))); } static get style() { return UtrechtDigidButtonStyle0; } }, [1, "utrecht-digid-button", { "type": [1] }]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-digid-button", "utrecht-digid-logo"]; components.forEach(tagName => { switch (tagName) { case "utrecht-digid-button": if (!customElements.get(tagName)) { customElements.define(tagName, DigidButton); } break; case "utrecht-digid-logo": if (!customElements.get(tagName)) { defineCustomElement$2(); } break; } }); } const UtrechtDigidButton = DigidButton; const defineCustomElement = defineCustomElement$1; export { UtrechtDigidButton, defineCustomElement }; //# sourceMappingURL=utrecht-digid-button.js.map