@ballistix.digital/react-components 0.4.100 → 0.4.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +2 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4293,7 +4293,8 @@ var TableList2 = function (props) {
|
|
|
4293
4293
|
}
|
|
4294
4294
|
}, [onChange, state]);
|
|
4295
4295
|
return (jsxRuntime.jsxs("div", __assign({ className: styles$a.container }, { children: [jsxRuntime.jsx("div", __assign({ className: styles$a.head }, { children: head && head(state) })), jsxRuntime.jsx("div", __assign({ className: "" }, { children: jsxRuntime.jsx("div", __assign({ className: "flow-root" }, { children: jsxRuntime.jsx("div", __assign({ className: "overflow-scroll" }, { children: jsxRuntime.jsxs("div", __assign({ className: "inline-block min-w-full align-middle" }, { children: [jsxRuntime.jsxs("table", __assign({ className: "min-w-full border-separate border-spacing-0 " }, { children: [jsxRuntime.jsx("thead", __assign({ className: "" }, { children: table === null || table === void 0 ? void 0 : table.getHeaderGroups().map(function (headerGroup) { return (jsxRuntime.jsx("tr", { children: headerGroup.headers.map(function (header) { return (jsxRuntime.jsxs("th", __assign({ colSpan: header.colSpan, className: toClassName(styles$a.body.table.head.cell, 'border-b', header.column.getCanSort() && 'cursor-pointer'), onClick: header.column.getToggleSortingHandler(), style: {
|
|
4296
|
-
minWidth: header.column.columnDef.size
|
|
4296
|
+
minWidth: !!header.column.columnDef.size &&
|
|
4297
|
+
header.column.columnDef.size !== 150
|
|
4297
4298
|
? "".concat(header.column.columnDef.size, "px")
|
|
4298
4299
|
: 'auto',
|
|
4299
4300
|
} }, { children: [header.isPlaceholder
|