gantt-lib 0.85.1 → 0.86.0

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
@@ -6460,7 +6460,7 @@ var TaskList = ({
6460
6460
  tasks,
6461
6461
  rowHeight,
6462
6462
  headerHeight,
6463
- taskListWidth = MIN_TASK_LIST_WIDTH,
6463
+ taskListWidth,
6464
6464
  onTasksChange,
6465
6465
  selectedTaskId,
6466
6466
  onTaskSelect,
@@ -7033,7 +7033,8 @@ var TaskList = ({
7033
7033
  () => resolvedColumns.reduce((sum, col) => sum + (col.width ?? 120), 0),
7034
7034
  [resolvedColumns]
7035
7035
  );
7036
- const effectiveTaskListWidth = Math.max(taskListWidth, MIN_TASK_LIST_WIDTH, resolvedColumnWidthTotal);
7036
+ const requestedTaskListWidth = taskListWidth ?? Math.min(MIN_TASK_LIST_WIDTH, resolvedColumnWidthTotal);
7037
+ const effectiveTaskListWidth = Math.max(requestedTaskListWidth, resolvedColumnWidthTotal);
7037
7038
  const tableHeaderHeight = headerHeight + 1;
7038
7039
  return /* @__PURE__ */ jsx14(
7039
7040
  "div",