@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.31 kB
JavaScript
import { p as proxyCustomElement, H, h } from './p-2f0ff193.js';
const bodyCss = ":host{block-size:100%;margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0;padding-block-end:0;padding-block-start:0;padding-inline-end:0;padding-inline-start:0}@media screen{:host{min-block-size:100vh;min-block-size:100vb}}:host([hidden]){display:none !important}";
const UtrechtBodyStyle0 = bodyCss;
const Body = /*@__PURE__*/ proxyCustomElement(class Body extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return h("slot", { key: '3ce9d330f587ae850baee2d58c1d48185814525a' });
}
static get style() { return UtrechtBodyStyle0; }
}, [1, "utrecht-body"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-body"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-body":
if (!customElements.get(tagName)) {
customElements.define(tagName, Body);
}
break;
} });
}
const UtrechtBody = Body;
const defineCustomElement = defineCustomElement$1;
export { UtrechtBody, defineCustomElement };
//# sourceMappingURL=utrecht-body.js.map