@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.7 kB
JavaScript
import { p as proxyCustomElement, H, h, d as Host } from './p-2f0ff193.js';
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 H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h(Host, { key: 'ef50808d5c636a1e78863ac5cc58d9e646fe39a3', role: "table" }, h("slot", { key: '8bf8fe04e68aec61fa2b7bd8c7eea9f582e43e39' })));
}
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