UNPKG

@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
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; const articleCss = ".utrecht-article{max-inline-size:var(--utrecht-article-max-inline-size)}:host{display:block}:host([hidden]){display:none !important}"; const UtrechtArticleStyle0 = articleCss; const Article = /*@__PURE__*/ proxyCustomElement(class Article extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return (h("article", { key: '3f0a3f46582dab43ef7f07ccfc2293d59256d1ed', class: "utrecht-article" }, h("slot", { key: '7f4f738fb6f54d983782e5e4ff9321f9e8830dcc' }))); } static get style() { return UtrechtArticleStyle0; } }, [1, "utrecht-article"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-article"]; components.forEach(tagName => { switch (tagName) { case "utrecht-article": if (!customElements.get(tagName)) { customElements.define(tagName, Article); } break; } }); } const UtrechtArticle = Article; const defineCustomElement = defineCustomElement$1; export { UtrechtArticle, defineCustomElement }; //# sourceMappingURL=utrecht-article.js.map