@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.esm.js
CHANGED
|
@@ -4282,7 +4282,8 @@ var TableList2 = function (props) {
|
|
|
4282
4282
|
}
|
|
4283
4283
|
}, [onChange, state]);
|
|
4284
4284
|
return (jsxs("div", __assign({ className: styles$a.container }, { children: [jsx("div", __assign({ className: styles$a.head }, { children: head && head(state) })), jsx("div", __assign({ className: "" }, { children: jsx("div", __assign({ className: "flow-root" }, { children: jsx("div", __assign({ className: "overflow-scroll" }, { children: jsxs("div", __assign({ className: "inline-block min-w-full align-middle" }, { children: [jsxs("table", __assign({ className: "min-w-full border-separate border-spacing-0 " }, { children: [jsx("thead", __assign({ className: "" }, { children: table === null || table === void 0 ? void 0 : table.getHeaderGroups().map(function (headerGroup) { return (jsx("tr", { children: headerGroup.headers.map(function (header) { return (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: {
|
|
4285
|
-
minWidth: header.column.columnDef.size
|
|
4285
|
+
minWidth: !!header.column.columnDef.size &&
|
|
4286
|
+
header.column.columnDef.size !== 150
|
|
4286
4287
|
? "".concat(header.column.columnDef.size, "px")
|
|
4287
4288
|
: 'auto',
|
|
4288
4289
|
} }, { children: [header.isPlaceholder
|