@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.73 kB
JavaScript
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
const tableCss = ":host{border-collapse:separate;border-color:var(--utrecht-table-border-color, 0);border-spacing:0;border-style:solid;border-width:var(--utrecht-table-border-width, 0);font-family:var(--utrecht-table-font-family, var(--utrecht-document-font-family));font-size:var(--utrecht-table-font-size, inherit);inline-size:100%;line-height:var(--utrecht-table-line-height, inherit);margin-block-end:calc(var(--utrecht-space-around, 0) * var(--utrecht-table-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0) * var(--utrecht-table-margin-block-start, 0));display:table}";
const UtrechtTableStyle0 = tableCss;
const Table = /*@__PURE__*/ proxyCustomElement(class Table extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h(Host, { key: '83c8a6bf6d3647f087ec16a3024f808941041c38', role: "table" }, h("slot", { key: '9980467fdbf32e20f484e833c83a74721a8c89d7' })));
}
static get style() { return UtrechtTableStyle0; }
}, [1, "utrecht-table"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-table"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-table":
if (!customElements.get(tagName)) {
customElements.define(tagName, Table);
}
break;
} });
}
const UtrechtTable = Table;
const defineCustomElement = defineCustomElement$1;
export { UtrechtTable, defineCustomElement };
//# sourceMappingURL=utrecht-table.js.map