@ballistix.digital/react-components 0.5.2 → 0.5.3

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 CHANGED
@@ -1543,7 +1543,9 @@ var isValidState = function (state) {
1543
1543
 
1544
1544
  var TableList2 = function (props) {
1545
1545
  var _a, _b, _c, _d;
1546
- var id = props.id, config = props.table, head = props.head, foot = props.foot, isLoading = props.isLoading, onRowClick = props.onRowClick, onChange = props.onChange, stylesOverrides = props.styles;
1546
+ var id = props.id, config = props.table, head = props.head, foot = props.foot, isLoading = props.isLoading,
1547
+ //onRowClick,
1548
+ onChange = props.onChange, stylesOverrides = props.styles;
1547
1549
  var _e = useState([]), sorting = _e[0], setSorting = _e[1];
1548
1550
  var _f = useState({}), columnVisibility = _f[0], setColumnVisibility = _f[1];
1549
1551
  var _g = useState([]), columnOrder = _g[0], setColumnOrder = _g[1];
@@ -1663,7 +1665,9 @@ var TableList2 = function (props) {
1663
1665
  .icon.container), "aria-hidden": "true" }) }))] }) }, header.id));
1664
1666
  }) }, headerGroup.id)); }) }), !isLoading && (jsx("tbody", { className: "border", children: table === null || table === void 0 ? void 0 : table.getRowModel().rows.map(function (row, index) {
1665
1667
  var _a;
1666
- return (jsx("tr", { onClick: function () { return onRowClick && onRowClick(row); }, className: toClassName(styles.body.table.body.row, ((_a = config.options) === null || _a === void 0 ? void 0 : _a.isStriped) &&
1668
+ return (jsx("tr", {
1669
+ //onClick={() => onRowClick && onRowClick(row)}
1670
+ className: toClassName(styles.body.table.body.row, ((_a = config.options) === null || _a === void 0 ? void 0 : _a.isStriped) &&
1667
1671
  index % 2 === 0 &&
1668
1672
  'bg-gray-50'), children: row.getVisibleCells().map(function (cell) {
1669
1673
  var _a, _b, _c;