gantt-task-react-powern 0.4.45 → 0.4.47

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.
@@ -297,8 +297,8 @@ var TaskListHeaderDefault = function TaskListHeaderDefault(_ref) {
297
297
  }), React.createElement("div", {
298
298
  className: styles.ganttTable_HeaderItem,
299
299
  style: {
300
- minWidth: parseInt(rowWidth) * 2,
301
- maxWidth: parseInt(rowWidth) * 2
300
+ minWidth: parseInt(rowWidth) * 1.8,
301
+ maxWidth: parseInt(rowWidth) * 1.8
302
302
  }
303
303
  }, "Task"), React.createElement("div", {
304
304
  className: styles.ganttTable_HeaderSeparator,
@@ -309,10 +309,10 @@ var TaskListHeaderDefault = function TaskListHeaderDefault(_ref) {
309
309
  }), React.createElement("div", {
310
310
  className: styles.ganttTable_HeaderItem,
311
311
  style: {
312
- minWidth: parseInt(rowWidth) * 0.6
312
+ minWidth: parseInt(rowWidth) * 0.7
313
313
  },
314
314
  title: "Planned Start"
315
- }, "Start"), React.createElement("div", {
315
+ }, "Planned Start"), React.createElement("div", {
316
316
  className: styles.ganttTable_HeaderSeparator,
317
317
  style: {
318
318
  height: headerHeight * 0.5,
@@ -321,10 +321,10 @@ var TaskListHeaderDefault = function TaskListHeaderDefault(_ref) {
321
321
  }), React.createElement("div", {
322
322
  className: styles.ganttTable_HeaderItem,
323
323
  style: {
324
- minWidth: parseInt(rowWidth) * 0.6
324
+ minWidth: parseInt(rowWidth) * 0.7
325
325
  },
326
326
  title: "Planned Finish"
327
- }, "Finish")));
327
+ }, "Planned Finish")));
328
328
  };
329
329
 
330
330
  var styles$1 = {"taskListWrapper":"_3ZbQT","taskListTableRow":"_34SS0","taskListCell":"_3lLk3","taskListNameWrapper":"_nI1Xw","taskListExpander":"_2QjE6","taskListExpanderPlaceholder":"_1fnLB","taskListEmptyExpander":"_2TfEi","taskListText":"_2ZvXU"};
@@ -371,8 +371,6 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
371
371
  return t.id;
372
372
  }));
373
373
  }, [leafTasks]);
374
- console.debug("THe leafTask ids: ", leafTaskIds);
375
- console.debug("The visible Tasks", tasks);
376
374
  return React.createElement("div", {
377
375
  className: styles$1.taskListWrapper,
378
376
  style: {
@@ -408,7 +406,7 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
408
406
  style: {
409
407
  paddingLeft: t.depth * 4 + "px"
410
408
  }
411
- }, t.childrenCount && t.childrenCount > 0 ? React.createElement("div", {
409
+ }, !leafTaskIds.has(t.id) ? React.createElement("div", {
412
410
  className: styles$1.taskListExpander,
413
411
  onClick: function onClick() {
414
412
  return onExpanderClick(t);