asma-ui-table 1.6.4 → 1.6.5

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.
@@ -12401,7 +12401,6 @@ function TableRow({
12401
12401
  defaultExpanded,
12402
12402
  actions,
12403
12403
  customActionsNode,
12404
- rowActionsState,
12405
12404
  textExpandArrow,
12406
12405
  enableMultiRowSelection,
12407
12406
  enableRowSelection,
@@ -12473,21 +12472,7 @@ function TableRow({
12473
12472
  () => rightCells.some((cell) => cell.column.id === ACTIONS_COLUMN_ID),
12474
12473
  [rightCells]
12475
12474
  );
12476
- const shouldStickActionsCell = useMemo(() => {
12477
- if (customActionsNode)
12478
- return true;
12479
- if (!actions)
12480
- return false;
12481
- const state = (rowActionsState == null ? void 0 : rowActionsState(row)) ?? { state: "enabled" };
12482
- if (state.state === "hidden")
12483
- return false;
12484
- const rowActions = actions(row);
12485
- if (state.state === "disabled")
12486
- return true;
12487
- if (rowActions.length === 0)
12488
- return false;
12489
- return rowActions.some((action) => isCustomAction(action) ? true : !action.hide);
12490
- }, [actions, customActionsNode, row, rowActionsState]);
12475
+ const shouldStickActionsCell = Boolean(actions) || Boolean(customActionsNode);
12491
12476
  const hasFixedRightColumns = useMemo(
12492
12477
  () => rightCells.some((cell) => Boolean(cell.column.columnDef.fixedRight)),
12493
12478
  [rightCells]
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.6.4",
6
+ "version": "1.6.5",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/**/*",