@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.42 kB
JavaScript
import { p as proxyCustomElement, H, h } from './p-2f0ff193.js';
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 H {
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