gantt-lib 0.22.0 → 0.22.2

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
@@ -3073,11 +3073,8 @@ var DepChip = ({
3073
3073
  const handleOpenChange = useCallback4(
3074
3074
  (open) => {
3075
3075
  setPopoverOpen(open);
3076
- if (!open) {
3077
- onChipSelect?.(null);
3078
- }
3079
3076
  },
3080
- [onChipSelect]
3077
+ []
3081
3078
  );
3082
3079
  const handleTrashClick = (e) => {
3083
3080
  e.stopPropagation();
@@ -3702,7 +3699,7 @@ var TaskListRow = React9.memo(
3702
3699
  );
3703
3700
  onChipSelect?.(null);
3704
3701
  },
3705
- [selectedChip, onRemoveDependency, onChipSelect]
3702
+ [selectedChip?.successorId, selectedChip?.predecessorId, selectedChip?.linkType, onRemoveDependency, onChipSelect]
3706
3703
  );
3707
3704
  const startDateISO = toISODate(task.startDate);
3708
3705
  const endDateISO = editingDuration ? getEndDateFromDuration(task.startDate, durationValue) : toISODate(task.endDate);
@@ -4780,7 +4777,7 @@ var TaskList = ({
4780
4777
  {
4781
4778
  ref: overlayRef,
4782
4779
  className: `gantt-tl-overlay${show ? "" : " gantt-tl-hidden"}${hasRightShadow ? " gantt-tl-overlay-shadowed" : ""}`,
4783
- style: { width: `${effectiveTaskListWidth}px`, minWidth: `${MIN_TASK_LIST_WIDTH}px` },
4780
+ style: { "--tasklist-width": `${effectiveTaskListWidth}px` },
4784
4781
  children: /* @__PURE__ */ jsxs11("div", { className: "gantt-tl-table", children: [
4785
4782
  /* @__PURE__ */ jsxs11("div", { className: "gantt-tl-header", style: { height: `${headerHeight + 0.5}px` }, children: [
4786
4783
  /* @__PURE__ */ jsx14("div", { className: "gantt-tl-headerCell gantt-tl-cell-number", children: "\u2116" }),