gantt-task-react-powern 0.4.40 → 0.4.42

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.css CHANGED
@@ -64,6 +64,11 @@
64
64
  user-select: none;
65
65
  cursor: pointer;
66
66
  }
67
+ ._1fnLB {
68
+ display: inline-block;
69
+ width: 1rem;
70
+ padding: 0.15rem 0.2rem 0rem 0.2rem;
71
+ }
67
72
  ._2TfEi {
68
73
  font-size: 0.6rem;
69
74
  padding-left: 1rem;
package/dist/index.js CHANGED
@@ -328,7 +328,7 @@ var TaskListHeaderDefault = function TaskListHeaderDefault(_ref) {
328
328
  }, "Finish")));
329
329
  };
330
330
 
331
- var styles$1 = {"taskListWrapper":"_3ZbQT","taskListTableRow":"_34SS0","taskListCell":"_3lLk3","taskListNameWrapper":"_nI1Xw","taskListExpander":"_2QjE6","taskListEmptyExpander":"_2TfEi","taskListText":"_2ZvXU"};
331
+ var styles$1 = {"taskListWrapper":"_3ZbQT","taskListTableRow":"_34SS0","taskListCell":"_3lLk3","taskListNameWrapper":"_nI1Xw","taskListExpander":"_2QjE6","taskListExpanderPlaceholder":"_1fnLB","taskListEmptyExpander":"_2TfEi","taskListText":"_2ZvXU"};
332
332
 
333
333
  var localeDateStringCache = {};
334
334
 
@@ -401,12 +401,14 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
401
401
  style: {
402
402
  paddingLeft: t.depth * 4 + "px"
403
403
  }
404
- }, t.childrenCount && t.childrenCount > 0 && React__default.createElement("div", {
404
+ }, t.childrenCount && t.childrenCount > 0 ? React__default.createElement("div", {
405
405
  className: styles$1.taskListExpander,
406
406
  onClick: function onClick() {
407
407
  return onExpanderClick(t);
408
408
  }
409
- }, expanderSymbol), React__default.createElement("div", {
409
+ }, expanderSymbol) : React__default.createElement("div", {
410
+ className: styles$1.taskListExpanderPlaceholder
411
+ }), React__default.createElement("div", {
410
412
  className: styles$1.taskListText
411
413
  }, t.id))), React__default.createElement("div", {
412
414
  className: styles$1.taskListCell,