@algorithm-shift/design-system 1.3.104 → 1.3.105

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.mjs CHANGED
@@ -4132,7 +4132,7 @@ function DataTable({
4132
4132
  return /* @__PURE__ */ jsxs30(
4133
4133
  TableCell,
4134
4134
  {
4135
- className: `break-words whitespace-normal align-top ${meta?.cellClass ?? ""} ${isClickable ? "cursor-pointer hover:bg-gray-100 underline text-blue-500" : ""} relative py-2`,
4135
+ className: `break-words whitespace-normal align-top ${meta?.cellClass ?? ""} ${isClickable ? "cursor-pointer hover:bg-gray-100 underline text-blue-500" : ""} relative py-2 `,
4136
4136
  style: {
4137
4137
  width: cell.column.getSize(),
4138
4138
  minWidth: cell.column.columnDef.minSize,
@@ -4146,7 +4146,7 @@ function DataTable({
4146
4146
  },
4147
4147
  children: [
4148
4148
  flexRender(cell.column.columnDef.cell, cell.getContext()),
4149
- isLastCell && rowActions && rowActions.length > 0 && /* @__PURE__ */ jsx51("div", { className: "absolute bg-[#fff] p-1 px-4 inset-y-0 right-0 flex items-center opacity-0 group-hover:opacity-100 transition-opacity duration-200 shadow-lg rounded", children: rowActions.map((action) => {
4149
+ isLastCell && rowActions && rowActions.length > 0 && /* @__PURE__ */ jsx51("div", { className: "absolute p-1 px-2 inset-y-0 right-0 flex items-center transition-opacity duration-200", children: rowActions.map((action) => {
4150
4150
  const isDelete = action.id === "delete" || action.icon === "delete";
4151
4151
  return /* @__PURE__ */ jsx51(
4152
4152
  "button",
@@ -4281,7 +4281,7 @@ var Table2 = ({
4281
4281
  onCellClick?.({ id: cell.id, column: cell, columnId });
4282
4282
  },
4283
4283
  onDeleteRow: (cell) => {
4284
- onDeleteRow?.(cell.id);
4284
+ onDeleteRow?.({ id: cell.id });
4285
4285
  }
4286
4286
  }
4287
4287
  ) });