UNPKG

@utrecht/web-component-library-stencil

Version:

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

39 lines (34 loc) 2.23 kB
import { p as proxyCustomElement, H, h, d as Host } from './p-2f0ff193.js'; const tableHeaderCellCss = ":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;color:var(--utrecht-table-header-cell-color);font-size:var(--utrecht-table-header-cell-font-size);font-weight:var(--utrecht-table-header-cell-font-weight, bold);text-transform:var(--utrecht-table-header-cell-text-transform);vertical-align:var(--_utrecht-table-header-cell-vertical-align, top);z-index:var(--_utrecht-table-header-cell-z-index);display:table-cell}"; const UtrechtTableHeaderCellStyle0 = tableHeaderCellCss; const TableHeaderCell = /*@__PURE__*/ proxyCustomElement(class TableHeaderCell extends H { constructor() { super(); this.__registerHost(); this.__attachShadow(); this.scope = undefined; } render() { return (h(Host, { key: 'f8b9d78fcd93714d21d4d5c5b5f11e0b1bf7f2ac', role: this.scope === 'col' ? 'columnheader' : this.scope === 'row' ? 'rowheader' : 'cell' }, h("slot", { key: 'd7cfdb43272f00acc69a1ebac4be051b650db0ed' }))); } static get style() { return UtrechtTableHeaderCellStyle0; } }, [1, "utrecht-table-header-cell", { "scope": [1] }]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-table-header-cell"]; components.forEach(tagName => { switch (tagName) { case "utrecht-table-header-cell": if (!customElements.get(tagName)) { customElements.define(tagName, TableHeaderCell); } break; } }); } const UtrechtTableHeaderCell = TableHeaderCell; const defineCustomElement = defineCustomElement$1; export { UtrechtTableHeaderCell, defineCustomElement }; //# sourceMappingURL=utrecht-table-header-cell.js.map