@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.6 kB
JavaScript
import { p as proxyCustomElement, H, h } from './p-2f0ff193.js';
const mapMarkerCss = ":host{--utrecht-icon-size:var(--utrecht-map-marker-icon-size);align-items:center;background-color:var(--utrecht-map-marker-background-color);block-size:var(--utrecht-map-marker-size);border-color:var(--utrecht-map-marker-border-color);border-radius:50%;border-style:solid;border-width:var(--utrecht-map-marker-border-width);box-shadow:13px 3px 3px -2px var(--utrecht-map-marker-box-shadow-color);color:var(--utrecht-map-marker-color);display:flex;inline-size:var(--utrecht-map-marker-size);justify-content:center}";
const UtrechtMapMarkerStyle0 = mapMarkerCss;
const MapMarker = /*@__PURE__*/ proxyCustomElement(class MapMarker extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return h("slot", { key: '1b5d2e895f46241c07cb69b667ac56635a69fdee' });
}
static get style() { return UtrechtMapMarkerStyle0; }
}, [1, "utrecht-map-marker"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-map-marker"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-map-marker":
if (!customElements.get(tagName)) {
customElements.define(tagName, MapMarker);
}
break;
} });
}
const UtrechtMapMarker = MapMarker;
const defineCustomElement = defineCustomElement$1;
export { UtrechtMapMarker, defineCustomElement };
//# sourceMappingURL=utrecht-map-marker.js.map