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.59 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; const multilineDataCss = ".utrecht-multiline-data{white-space:pre-line;white-space-collapse:preserve-breaks}.utrecht-multiline-data--html-pre{font-family:inherit;margin-block-end:0;margin-block-start:0}:host{white-space:pre-line;white-space-collapse:preserve-breaks}:host([hidden]){display:none !important}"; const UtrechtMultilineDataStyle0 = multilineDataCss; const MultilineData = /*@__PURE__*/ proxyCustomElement(class MultilineData extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return (h("pre", { key: 'c4046b100adfce66b398dc5b90db92db79657c63', class: "utrecht-multiline-data utrecht-multiline-data--html-pre" }, h("slot", { key: '30746cef3402ebece01c0c3b0772552aa478c2e3' }))); } static get style() { return UtrechtMultilineDataStyle0; } }, [1, "utrecht-multiline-data"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-multiline-data"]; components.forEach(tagName => { switch (tagName) { case "utrecht-multiline-data": if (!customElements.get(tagName)) { customElements.define(tagName, MultilineData); } break; } }); } const UtrechtMultilineData = MultilineData; const defineCustomElement = defineCustomElement$1; export { UtrechtMultilineData, defineCustomElement }; //# sourceMappingURL=utrecht-multiline-data.js.map