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