UNPKG

@utrecht/web-component-library-stencil

Version:

Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture

21 lines (17 loc) 950 B
import { r as registerInstance, h, H as Host } from './index-6be72d1f.js'; const preserveDataCss = ":host{display:inline;unicode-bidi:isolate;white-space-collapse:preserve-spaces}:host([hidden]){display:none !important}"; const UtrechtPreserveDataStyle0 = preserveDataCss; const PreserveData = class { constructor(hostRef) { registerInstance(this, hostRef); this.dateTime = undefined; this.value = undefined; } render() { const { dateTime, value } = this; return (h(Host, { key: '0af80ca8f8d5649a10e1ad32f93e55f8b826f251', translate: "no" }, typeof dateTime !== 'undefined' ? (h("time", { dateTime: dateTime }, h("slot", null))) : typeof value !== 'undefined' ? (h("data", { value: value }, h("slot", null))) : (h("slot", null)))); } }; PreserveData.style = UtrechtPreserveDataStyle0; export { PreserveData as utrecht_preserve_data }; //# sourceMappingURL=utrecht-preserve-data.entry.js.map