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.46 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; const dataListCss = ":host{display:contents}dl{display:block;margin-block-end:calc(var(--utrecht-space-around, 0) * var(--utrecht-data-list-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0) * var(--utrecht-data-list-margin-block-start, 0))}:host([hidden]){display:none !important}"; const UtrechtDataListStyle0 = dataListCss; const DataList = /*@__PURE__*/ proxyCustomElement(class DataList extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return (h("dl", { key: '513d3b6edadcddd86bb7cb0571c8eed33ea1b61a' }, h("slot", { key: 'b5d8164f5d5a8288e1162dd38c76a59c8bf868b5' }))); } static get style() { return UtrechtDataListStyle0; } }, [1, "utrecht-data-list"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-data-list"]; components.forEach(tagName => { switch (tagName) { case "utrecht-data-list": if (!customElements.get(tagName)) { customElements.define(tagName, DataList); } break; } }); } const UtrechtDataList = DataList; const defineCustomElement = defineCustomElement$1; export { UtrechtDataList, defineCustomElement }; //# sourceMappingURL=utrecht-data-list.js.map