gantt-task-react-v 1.6.9 → 1.6.11

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.
@@ -13000,9 +13000,9 @@ const Milestone = ({
13000
13000
  relationHandles
13001
13001
  ] });
13002
13002
  };
13003
- const barLabel = "_barLabel_1m9it_1";
13004
- const barLabelHidden = "_barLabelHidden_1m9it_33";
13005
- const barLabelOutside = "_barLabelOutside_1m9it_43";
13003
+ const barLabel = "_barLabel_81831_1";
13004
+ const barLabelHidden = "_barLabelHidden_81831_27";
13005
+ const barLabelOutside = "_barLabelOutside_81831_37";
13006
13006
  const style = {
13007
13007
  barLabel,
13008
13008
  barLabelHidden,
@@ -13299,12 +13299,13 @@ const TaskItemInner = (props) => {
13299
13299
  {
13300
13300
  x1,
13301
13301
  width,
13302
- taskHeight,
13302
+ taskHeight: task.type === "project" ? taskHalfHeight : taskHeight,
13303
13303
  arrowIndent,
13304
13304
  rtl,
13305
13305
  label: task.name,
13306
13306
  taskYOffset,
13307
- viewMode
13307
+ viewMode,
13308
+ alwaysOutline: task.type === "project"
13308
13309
  }
13309
13310
  )
13310
13311
  ]
@@ -13017,9 +13017,9 @@
13017
13017
  relationHandles
13018
13018
  ] });
13019
13019
  };
13020
- const barLabel = "_barLabel_1m9it_1";
13021
- const barLabelHidden = "_barLabelHidden_1m9it_33";
13022
- const barLabelOutside = "_barLabelOutside_1m9it_43";
13020
+ const barLabel = "_barLabel_81831_1";
13021
+ const barLabelHidden = "_barLabelHidden_81831_27";
13022
+ const barLabelOutside = "_barLabelOutside_81831_37";
13023
13023
  const style = {
13024
13024
  barLabel,
13025
13025
  barLabelHidden,
@@ -13316,12 +13316,13 @@
13316
13316
  {
13317
13317
  x1,
13318
13318
  width,
13319
- taskHeight,
13319
+ taskHeight: task.type === "project" ? taskHalfHeight : taskHeight,
13320
13320
  arrowIndent,
13321
13321
  rtl,
13322
13322
  label: task.name,
13323
13323
  taskYOffset,
13324
- viewMode
13324
+ viewMode,
13325
+ alwaysOutline: task.type === "project"
13325
13326
  }
13326
13327
  )
13327
13328
  ]
package/dist/style.css CHANGED
@@ -673,14 +673,11 @@
673
673
  ._milestoneBackground_vcirf_11 {
674
674
  user-select: none;
675
675
  }
676
- ._barLabel_1m9it_1 {
677
- fill: var(--gantt-secondary-text-color);
676
+ ._barLabel_81831_1 {
677
+ fill: #fff;
678
678
  text-anchor: middle;
679
+ font-weight: lighter;
679
680
  dominant-baseline: central;
680
- stroke: white;
681
- stroke-width: 4px;
682
- stroke-linejoin: round;
683
- paint-order: stroke;
684
681
  -webkit-touch-callout: none;
685
682
  -webkit-user-select: none;
686
683
  -moz-user-select: none;
@@ -689,12 +686,12 @@
689
686
  pointer-events: none;
690
687
  }
691
688
 
692
- ._barLabelHidden_1m9it_33 {
689
+ ._barLabelHidden_81831_27 {
693
690
  display: none;
694
691
  }
695
692
 
696
693
  /*noinspection CssUnresolvedCustomProperty*/
697
- ._barLabelOutside_1m9it_43 {
694
+ ._barLabelOutside_81831_37 {
698
695
  fill: var(--gantt-secondary-text-color);
699
696
  text-anchor: start;
700
697
  stroke: white;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.6.9",
3
+ "version": "1.6.11",
4
4
  "description": "Interactive Gantt Chart for React with TypeScript.",
5
5
  "author": "aguilanbon",
6
6
  "homepage": "https://github.com/aguilanbon/gantt-task-react-v",