gantt-task-react-v 1.2.0 → 1.2.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/style.css CHANGED
@@ -282,7 +282,7 @@
282
282
  border-bottom: 1px solid var(--gantt-divider-color);
283
283
  table-layout: fixed;
284
284
  }
285
- ._taskListRoot_yoz76_1 {
285
+ ._taskListRoot_cyzwo_1 {
286
286
  position: relative;
287
287
  height: 100%;
288
288
  display: flex;
@@ -291,23 +291,23 @@
291
291
  border-left: 1px solid var(--gantt-table-divider-color, var(--gantt-divider-color));
292
292
  }
293
293
 
294
- ._taskListHorizontalScroll_yoz76_19 {
294
+ ._taskListHorizontalScroll_cyzwo_19 {
295
295
  overflow-x: scroll;
296
296
  height: 100%;
297
297
  display: flex;
298
298
  flex-direction: column;
299
299
  }
300
300
 
301
- ._taskListHorizontalScroll_yoz76_19::-webkit-scrollbar {
301
+ ._taskListHorizontalScroll_cyzwo_19::-webkit-scrollbar {
302
302
  width: 1rem;
303
303
  height: 1rem;
304
304
  }
305
305
 
306
- ._taskListHorizontalScroll_yoz76_19::-webkit-scrollbar-corner {
306
+ ._taskListHorizontalScroll_cyzwo_19::-webkit-scrollbar-corner {
307
307
  background: transparent;
308
308
  }
309
309
 
310
- ._taskListHorizontalScroll_yoz76_19::-webkit-scrollbar-thumb {
310
+ ._taskListHorizontalScroll_cyzwo_19::-webkit-scrollbar-thumb {
311
311
  border: 4px solid transparent;
312
312
  /*noinspection CssUnresolvedCustomProperty*/
313
313
  background: var(--gantt-scrollbar-thumb-color);
@@ -315,14 +315,14 @@
315
315
  background-clip: padding-box;
316
316
  }
317
317
 
318
- ._taskListHorizontalScroll_yoz76_19::-webkit-scrollbar-thumb:hover {
318
+ ._taskListHorizontalScroll_cyzwo_19::-webkit-scrollbar-thumb:hover {
319
319
  border: 2px solid transparent;
320
320
  /*noinspection CssUnresolvedCustomProperty*/
321
321
  background: var(--gantt-scrollbar-thumb-color);
322
322
  background-clip: padding-box;
323
323
  }
324
324
 
325
- ._taskListResizer_yoz76_81 {
325
+ ._taskListResizer_cyzwo_81 {
326
326
  position: absolute;
327
327
  top: 0;
328
328
  right: -3px;
@@ -334,16 +334,16 @@
334
334
  }
335
335
 
336
336
  /*noinspection CssUnresolvedCustomProperty*/
337
- ._taskListResizer_yoz76_81:hover {
337
+ ._taskListResizer_cyzwo_81:hover {
338
338
  background-color: var(--gantt-table-hover-action-color);
339
339
  filter: var(--gantt-hover-filter);
340
340
  }
341
341
 
342
- ._taskListResizer_yoz76_81:hover::before {
342
+ ._taskListResizer_cyzwo_81:hover::before {
343
343
  display: none;
344
344
  }
345
345
 
346
- ._taskListResizer_yoz76_81::before {
346
+ ._taskListResizer_cyzwo_81::before {
347
347
  content: "";
348
348
  position: absolute;
349
349
  top: 0;
@@ -354,21 +354,21 @@
354
354
  background-color: var(--gantt-table-resize-color, var(--gantt-divider-color));
355
355
  }
356
356
 
357
- ._horizontalContainer_yoz76_145 {
357
+ ._horizontalContainer_cyzwo_145 {
358
358
  margin: 0;
359
359
  padding: 0;
360
360
  overflow: hidden;
361
361
  flex-grow: 1;
362
362
  }
363
363
 
364
- ._tableWrapper_yoz76_159 {
364
+ ._tableWrapper_cyzwo_159 {
365
365
  position: relative;
366
366
  flex-grow: 1;
367
367
  display: flex;
368
368
  flex-direction: column;
369
369
  }
370
370
 
371
- ._scrollToTop_yoz76_173 {
371
+ ._scrollToTop_cyzwo_173 {
372
372
  position: absolute;
373
373
  top: 0;
374
374
  left: 0;
@@ -376,7 +376,7 @@
376
376
  height: 20px;
377
377
  }
378
378
 
379
- ._scrollToBottom_yoz76_189 {
379
+ ._scrollToBottom_cyzwo_189 {
380
380
  position: absolute;
381
381
  bottom: 0;
382
382
  left: 0;
@@ -384,9 +384,24 @@
384
384
  height: 20px;
385
385
  }
386
386
 
387
- ._hidden_yoz76_205 {
387
+ ._hidden_cyzwo_205 {
388
388
  display: none;
389
389
  }
390
+
391
+ ._disabled_cyzwo_213 {
392
+ position: relative;
393
+ }
394
+
395
+ ._disabledOverlay_cyzwo_221 {
396
+ position: absolute;
397
+ top: 0;
398
+ left: 0;
399
+ right: 0;
400
+ bottom: 0;
401
+ background-color: rgba(255, 255, 255, 0.4);
402
+ pointer-events: none;
403
+ z-index: 10;
404
+ }
390
405
  ._ganttToday_1oyhk_1 {
391
406
  z-index: 1;
392
407
  }
@@ -578,7 +593,7 @@
578
593
  user-select: none;
579
594
  stroke-width: 0;
580
595
  }
581
- ._ganttVerticalContainer_1wr55_1 {
596
+ ._ganttVerticalContainer_15ld3_1 {
582
597
  overflow-x: scroll;
583
598
  overflow-y: hidden;
584
599
  font-size: 0;
@@ -590,16 +605,16 @@
590
605
  height: 100%;
591
606
  }
592
607
 
593
- ._ganttVerticalContainer_1wr55_1::-webkit-scrollbar {
608
+ ._ganttVerticalContainer_15ld3_1::-webkit-scrollbar {
594
609
  width: 1rem;
595
610
  height: 1rem;
596
611
  }
597
612
 
598
- ._ganttVerticalContainer_1wr55_1::-webkit-scrollbar-corner {
613
+ ._ganttVerticalContainer_15ld3_1::-webkit-scrollbar-corner {
599
614
  background: transparent;
600
615
  }
601
616
 
602
- ._ganttVerticalContainer_1wr55_1::-webkit-scrollbar-thumb {
617
+ ._ganttVerticalContainer_15ld3_1::-webkit-scrollbar-thumb {
603
618
  border: 4px solid transparent;
604
619
  /*noinspection CssUnresolvedCustomProperty*/
605
620
  background: var(--gantt-scrollbar-thumb-color);
@@ -607,20 +622,20 @@
607
622
  background-clip: padding-box;
608
623
  }
609
624
 
610
- ._ganttVerticalContainer_1wr55_1::-webkit-scrollbar-thumb:hover {
625
+ ._ganttVerticalContainer_15ld3_1::-webkit-scrollbar-thumb:hover {
611
626
  border: 2px solid transparent;
612
627
  /*noinspection CssUnresolvedCustomProperty*/
613
628
  background: var(--gantt-scrollbar-thumb-color);
614
629
  background-clip: padding-box;
615
630
  }
616
631
 
617
- ._horizontalContainer_1wr55_73 {
632
+ ._horizontalContainer_15ld3_73 {
618
633
  margin: 0;
619
634
  padding: 0;
620
635
  overflow: hidden;
621
636
  }
622
637
 
623
- ._wrapper_1wr55_85 {
638
+ ._wrapper_15ld3_85 {
624
639
  display: flex;
625
640
  padding: 0;
626
641
  margin: 0;
@@ -632,9 +647,24 @@
632
647
  border-bottom: 1px solid var(--gantt-divider-color);
633
648
  }
634
649
 
635
- ._calendarDragging_1wr55_109 {
650
+ ._calendarDragging_15ld3_109 {
636
651
  cursor: grabbing;
637
652
  }
653
+
654
+ ._disabled_15ld3_117 {
655
+ position: relative;
656
+ }
657
+
658
+ ._disabledOverlay_15ld3_125 {
659
+ position: absolute;
660
+ top: 0;
661
+ left: 0;
662
+ right: 0;
663
+ bottom: 0;
664
+ background-color: rgba(255, 255, 255, 0.4);
665
+ pointer-events: none;
666
+ z-index: 10;
667
+ }
638
668
  /*noinspection CssUnresolvedCustomProperty*/
639
669
  ._menuOption_1c3e3_3 {
640
670
  display: flex;
@@ -368,6 +368,11 @@ export interface GanttProps {
368
368
  * Custom color for progress bars. If not provided, theme progress colors are used.
369
369
  */
370
370
  progressColor?: string;
371
+ /**
372
+ * When true, disables all interactions in the task list and gantt chart while data is processing.
373
+ * Headers remain interactive for consistency.
374
+ */
375
+ isLoading?: boolean;
371
376
  }
372
377
  export interface GanttTaskBarActions {
373
378
  allowMoveTaskBar?: (action: TaskBarMoveAction, task: RenderTask) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
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",