@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
JavaScript
import { p as proxyCustomElement, H, h } from './p-2f0ff193.js';
const surfaceCss = ".utrecht-surface{background-color:var(--utrecht-surface-background-color, inherit);color:var(--utrecht-surface-color, inherit)}.utrecht-surface--html-body{margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0}:host{display:block}:host([hidden]){display:none !important}";
const UtrechtSurfaceStyle0 = surfaceCss;
const Surface = /*@__PURE__*/ proxyCustomElement(class Surface extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("div", { key: '37be3f72490237dcfe0152cf2fb86b7494549dfa', class: "utrecht-surface" }, h("slot", { key: '3beb9256ebf2727214544c890bbf36a0a70f2df5' })));
}
static get style() { return UtrechtSurfaceStyle0; }
}, [1, "utrecht-surface"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-surface"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-surface":
if (!customElements.get(tagName)) {
customElements.define(tagName, Surface);
}
break;
} });
}
const UtrechtSurface = Surface;
const defineCustomElement = defineCustomElement$1;
export { UtrechtSurface, defineCustomElement };
//# sourceMappingURL=utrecht-surface.js.map