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.88 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; const documentCss = ".utrecht-document{-webkit-font-smoothing:auto !important;-moz-osx-font-smoothing:auto !important;color:var(--utrecht-document-color, inherit);font-family:var(--utrecht-document-font-family, inherit);font-size:var(--utrecht-document-font-size, inherit);font-weight:var(--utrecht-document-font-weight, inherit);line-height:var(--utrecht-document-line-height, inherit);text-rendering:optimizeLegibility;-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}.utrecht-document :lang(ar){letter-spacing:0 !important}.utrecht-document--surface{background-color:var(--utrecht-document-background-color, inherit)}:host{display:block}:host([hidden]){display:none !important}"; const UtrechtDocumentStyle0 = documentCss; const Document = /*@__PURE__*/ proxyCustomElement(class Document extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return (h("div", { key: 'f808c23ddaa5f7d6d0234c06d3d0ba77ae97b870', class: "utrecht-document" }, h("slot", { key: '63499ba27483d49518259076575bc04a0f72d2d1' }))); } static get style() { return UtrechtDocumentStyle0; } }, [1, "utrecht-document"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-document"]; components.forEach(tagName => { switch (tagName) { case "utrecht-document": if (!customElements.get(tagName)) { customElements.define(tagName, Document); } break; } }); } const UtrechtDocument = Document; const defineCustomElement = defineCustomElement$1; export { UtrechtDocument, defineCustomElement }; //# sourceMappingURL=utrecht-document.js.map