gantt-task-react-v 1.2.0 → 1.2.1

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_yadug_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_yadug_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_yadug_19::-webkit-scrollbar {
302
302
  width: 1rem;
303
303
  height: 1rem;
304
304
  }
305
305
 
306
- ._taskListHorizontalScroll_yoz76_19::-webkit-scrollbar-corner {
306
+ ._taskListHorizontalScroll_yadug_19::-webkit-scrollbar-corner {
307
307
  background: transparent;
308
308
  }
309
309
 
310
- ._taskListHorizontalScroll_yoz76_19::-webkit-scrollbar-thumb {
310
+ ._taskListHorizontalScroll_yadug_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_yadug_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_yadug_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_yadug_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_yadug_81:hover::before {
343
343
  display: none;
344
344
  }
345
345
 
346
- ._taskListResizer_yoz76_81::before {
346
+ ._taskListResizer_yadug_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_yadug_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_yadug_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_yadug_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_yadug_189 {
380
380
  position: absolute;
381
381
  bottom: 0;
382
382
  left: 0;
@@ -384,9 +384,14 @@
384
384
  height: 20px;
385
385
  }
386
386
 
387
- ._hidden_yoz76_205 {
387
+ ._hidden_yadug_205 {
388
388
  display: none;
389
389
  }
390
+
391
+ ._disabled_yadug_213 {
392
+ opacity: 0.6;
393
+ pointer-events: none;
394
+ }
390
395
  ._ganttToday_1oyhk_1 {
391
396
  z-index: 1;
392
397
  }
@@ -578,7 +583,7 @@
578
583
  user-select: none;
579
584
  stroke-width: 0;
580
585
  }
581
- ._ganttVerticalContainer_1wr55_1 {
586
+ ._ganttVerticalContainer_1czjq_1 {
582
587
  overflow-x: scroll;
583
588
  overflow-y: hidden;
584
589
  font-size: 0;
@@ -590,16 +595,16 @@
590
595
  height: 100%;
591
596
  }
592
597
 
593
- ._ganttVerticalContainer_1wr55_1::-webkit-scrollbar {
598
+ ._ganttVerticalContainer_1czjq_1::-webkit-scrollbar {
594
599
  width: 1rem;
595
600
  height: 1rem;
596
601
  }
597
602
 
598
- ._ganttVerticalContainer_1wr55_1::-webkit-scrollbar-corner {
603
+ ._ganttVerticalContainer_1czjq_1::-webkit-scrollbar-corner {
599
604
  background: transparent;
600
605
  }
601
606
 
602
- ._ganttVerticalContainer_1wr55_1::-webkit-scrollbar-thumb {
607
+ ._ganttVerticalContainer_1czjq_1::-webkit-scrollbar-thumb {
603
608
  border: 4px solid transparent;
604
609
  /*noinspection CssUnresolvedCustomProperty*/
605
610
  background: var(--gantt-scrollbar-thumb-color);
@@ -607,20 +612,20 @@
607
612
  background-clip: padding-box;
608
613
  }
609
614
 
610
- ._ganttVerticalContainer_1wr55_1::-webkit-scrollbar-thumb:hover {
615
+ ._ganttVerticalContainer_1czjq_1::-webkit-scrollbar-thumb:hover {
611
616
  border: 2px solid transparent;
612
617
  /*noinspection CssUnresolvedCustomProperty*/
613
618
  background: var(--gantt-scrollbar-thumb-color);
614
619
  background-clip: padding-box;
615
620
  }
616
621
 
617
- ._horizontalContainer_1wr55_73 {
622
+ ._horizontalContainer_1czjq_73 {
618
623
  margin: 0;
619
624
  padding: 0;
620
625
  overflow: hidden;
621
626
  }
622
627
 
623
- ._wrapper_1wr55_85 {
628
+ ._wrapper_1czjq_85 {
624
629
  display: flex;
625
630
  padding: 0;
626
631
  margin: 0;
@@ -632,9 +637,14 @@
632
637
  border-bottom: 1px solid var(--gantt-divider-color);
633
638
  }
634
639
 
635
- ._calendarDragging_1wr55_109 {
640
+ ._calendarDragging_1czjq_109 {
636
641
  cursor: grabbing;
637
642
  }
643
+
644
+ ._disabled_1czjq_117 {
645
+ opacity: 0.6;
646
+ pointer-events: none;
647
+ }
638
648
  /*noinspection CssUnresolvedCustomProperty*/
639
649
  ._menuOption_1c3e3_3 {
640
650
  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.1",
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",