@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.89 kB
JavaScript
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
const tableCellCss = ":host{--utrecht-icon-size:var(--utrecht-table-cell-icon-size);block-size:var(--utrecht-table-cell-line-height, 1em);line-height:var(--utrecht-table-cell-line-height, inherit);padding-block-end:var(--utrecht-table-cell-padding-block-end, 0);padding-block-start:var(--utrecht-table-cell-padding-block-start, 0);padding-inline-end:var(--utrecht-table-cell-padding-inline-end, 0);padding-inline-start:var(--utrecht-table-cell-padding-inline-start, 0);text-align:start;border-block-end-color:var(--utrecht-table-row-border-block-end-color, transparent);border-block-end-style:solid;border-block-end-width:var(--utrecht-table-row-border-block-end-width, 0);vertical-align:top;display:table-cell}";
const UtrechtTableCellStyle0 = tableCellCss;
const TableCell = /*@__PURE__*/ proxyCustomElement(class TableCell extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h(Host, { key: '2483148d816768b436dcd9bebf824aad4a6763da', role: "cell" }, h("slot", { key: 'c5ee683fba22d9b60664c1bf210d9c9a9d3a4006' })));
}
static get style() { return UtrechtTableCellStyle0; }
}, [1, "utrecht-table-cell"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-table-cell"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-table-cell":
if (!customElements.get(tagName)) {
customElements.define(tagName, TableCell);
}
break;
} });
}
const UtrechtTableCell = TableCell;
const defineCustomElement = defineCustomElement$1;
export { UtrechtTableCell, defineCustomElement };
//# sourceMappingURL=utrecht-table-cell.js.map