@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.91 kB
JavaScript
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
const pageBodyCss = ":host{background-color:var(--utrecht-page-body-background-color);box-sizing:border-box;color:var(--utrecht-page-body-color);display:grid;flex-grow:1;inline-size:100%}div{background-color:var(--utrecht-page-body-content-background-color);box-sizing:border-box;color:var(--utrecht-page-body-content-color);inline-size:100%;justify-self:center;max-inline-size:var(--utrecht-page-body-content-max-inline-size);padding-block-end:var(--utrecht-page-body-content-padding-block-end);padding-block-start:var(--utrecht-page-body-content-padding-block-start);padding-inline-end:var(--utrecht-page-body-content-padding-inline-end);padding-inline-start:var(--utrecht-page-body-content-padding-inline-start)}:host([hidden]){display:none !important}";
const UtrechtPageBodyStyle0 = pageBodyCss;
const PageBody = /*@__PURE__*/ proxyCustomElement(class PageBody extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("div", { key: '0b61045d9b41e0238eed59622f07fe3e8ee3e57e' }, h("slot", { key: '8a3ba5f7bcd45f704601c4ca5890416a0285b48c' })));
}
static get style() { return UtrechtPageBodyStyle0; }
}, [1, "utrecht-page-body"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-page-body"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-page-body":
if (!customElements.get(tagName)) {
customElements.define(tagName, PageBody);
}
break;
} });
}
const UtrechtPageBody = PageBody;
const defineCustomElement = defineCustomElement$1;
export { UtrechtPageBody, defineCustomElement };
//# sourceMappingURL=utrecht-page-body.js.map