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.45 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; const pageContentCss = ":host{padding-block-end:var(--utrecht-page-content-padding-block-end);padding-block-start:var(--utrecht-page-content-padding-block-start);padding-inline-end:var(--utrecht-page-padding-inline-end);padding-inline-start:var(--utrecht-page-padding-inline-start)}:host([hidden]){display:none !important}"; const UtrechtPageContentStyle0 = pageContentCss; const PageContent = /*@__PURE__*/ proxyCustomElement(class PageContent extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return h("slot", { key: 'c6969323e2d560698050b49e9daefca56fe17686' }); } static get style() { return UtrechtPageContentStyle0; } }, [1, "utrecht-page-content"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-page-content"]; components.forEach(tagName => { switch (tagName) { case "utrecht-page-content": if (!customElements.get(tagName)) { customElements.define(tagName, PageContent); } break; } }); } const UtrechtPageContent = PageContent; const defineCustomElement = defineCustomElement$1; export { UtrechtPageContent, defineCustomElement }; //# sourceMappingURL=utrecht-page-content.js.map