@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.39 kB
JavaScript
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
const urlDataCss = "@charset \"UTF-8\";.utrecht-url-data{break-inside:avoid;font-variant-ligatures:none;hyphens:none;overflow-wrap:anywhere;page-break-inside:avoid}:host{display:inline}:host([hidden]){display:none !important}";
const UtrechtUrlDataStyle0 = urlDataCss;
const URLData = /*@__PURE__*/ proxyCustomElement(class URLData extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("span", { key: 'b5eae6c2843a401b1d8bacdd1d43f9a4829ddf60', class: "utrecht-url-data" }, h("slot", { key: 'aca53f589cf9da7ccd1da3f1dea2ce4af78390db' })));
}
static get style() { return UtrechtUrlDataStyle0; }
}, [1, "utrecht-url-data"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-url-data"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-url-data":
if (!customElements.get(tagName)) {
customElements.define(tagName, URLData);
}
break;
} });
}
const UtrechtUrlData = URLData;
const defineCustomElement = defineCustomElement$1;
export { UtrechtUrlData, defineCustomElement };
//# sourceMappingURL=utrecht-url-data.js.map