gantt-task-react-v 1.0.35 → 1.0.36

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.
@@ -0,0 +1 @@
1
+ export {};
package/dist/style.css CHANGED
@@ -282,20 +282,19 @@
282
282
  border-bottom: 1px solid var(--gantt-divider-color);
283
283
  table-layout: fixed;
284
284
  }
285
- ._taskListRoot_ycl6i_1 {
285
+ ._taskListRoot_1x5nq_1 {
286
286
  position: relative;
287
287
  /*noinspection CssUnresolvedCustomProperty*/
288
288
  border-left: 1px solid var(--gantt-table-divider-color, var(--gantt-divider-color));
289
289
  height: 100%;
290
290
  display: flex;
291
291
  flex-direction: column;
292
- /* allow the gantt area to control horizontal scrolling rather than clipping here */
293
- overflow: visible;
294
- max-width: none;
292
+ overflow: hidden;
293
+ max-width: 100%;
295
294
  flex-shrink: 0;
296
295
  }
297
296
 
298
- ._taskListHorizontalScroll_ycl6i_27 {
297
+ ._taskListHorizontalScroll_1x5nq_25 {
299
298
  overflow-x: auto;
300
299
  overflow-y: hidden;
301
300
  flex: 1;
@@ -303,16 +302,16 @@
303
302
  flex-direction: column;
304
303
  }
305
304
 
306
- ._taskListHorizontalScroll_ycl6i_27::-webkit-scrollbar {
305
+ ._taskListHorizontalScroll_1x5nq_25::-webkit-scrollbar {
307
306
  width: 1rem;
308
307
  height: 1rem;
309
308
  }
310
309
 
311
- ._taskListHorizontalScroll_ycl6i_27::-webkit-scrollbar-corner {
310
+ ._taskListHorizontalScroll_1x5nq_25::-webkit-scrollbar-corner {
312
311
  background: transparent;
313
312
  }
314
313
 
315
- ._taskListHorizontalScroll_ycl6i_27::-webkit-scrollbar-thumb {
314
+ ._taskListHorizontalScroll_1x5nq_25::-webkit-scrollbar-thumb {
316
315
  border: 4px solid transparent;
317
316
  /*noinspection CssUnresolvedCustomProperty*/
318
317
  background: var(--gantt-scrollbar-thumb-color);
@@ -320,14 +319,14 @@
320
319
  background-clip: padding-box;
321
320
  }
322
321
 
323
- ._taskListHorizontalScroll_ycl6i_27::-webkit-scrollbar-thumb:hover {
322
+ ._taskListHorizontalScroll_1x5nq_25::-webkit-scrollbar-thumb:hover {
324
323
  border: 2px solid transparent;
325
324
  /*noinspection CssUnresolvedCustomProperty*/
326
325
  background: var(--gantt-scrollbar-thumb-color);
327
326
  background-clip: padding-box;
328
327
  }
329
328
 
330
- ._taskListResizer_ycl6i_91 {
329
+ ._taskListResizer_1x5nq_89 {
331
330
  position: absolute;
332
331
  top: 0;
333
332
  right: -3px;
@@ -339,16 +338,16 @@
339
338
  }
340
339
 
341
340
  /*noinspection CssUnresolvedCustomProperty*/
342
- ._taskListResizer_ycl6i_91:hover {
341
+ ._taskListResizer_1x5nq_89:hover {
343
342
  background-color: var(--gantt-table-hover-action-color);
344
343
  filter: var(--gantt-hover-filter);
345
344
  }
346
345
 
347
- ._taskListResizer_ycl6i_91:hover::before {
346
+ ._taskListResizer_1x5nq_89:hover::before {
348
347
  display: none;
349
348
  }
350
349
 
351
- ._taskListResizer_ycl6i_91::before {
350
+ ._taskListResizer_1x5nq_89::before {
352
351
  content: "";
353
352
  position: absolute;
354
353
  top: 0;
@@ -359,7 +358,7 @@
359
358
  background-color: var(--gantt-table-resize-color, var(--gantt-divider-color));
360
359
  }
361
360
 
362
- ._horizontalContainer_ycl6i_155 {
361
+ ._horizontalContainer_1x5nq_153 {
363
362
  margin: 0;
364
363
  padding: 0;
365
364
  overflow-y: auto;
@@ -368,13 +367,13 @@
368
367
  min-height: 0;
369
368
  }
370
369
 
371
- ._tableWrapper_ycl6i_173 {
370
+ ._tableWrapper_1x5nq_171 {
372
371
  position: relative;
373
372
  flex: 1;
374
373
  min-height: 0;
375
374
  }
376
375
 
377
- ._scrollToTop_ycl6i_185 {
376
+ ._scrollToTop_1x5nq_183 {
378
377
  position: absolute;
379
378
  top: 0;
380
379
  left: 0;
@@ -382,7 +381,7 @@
382
381
  height: 20px;
383
382
  }
384
383
 
385
- ._scrollToBottom_ycl6i_201 {
384
+ ._scrollToBottom_1x5nq_199 {
386
385
  position: absolute;
387
386
  bottom: 0;
388
387
  left: 0;
@@ -390,7 +389,7 @@
390
389
  height: 20px;
391
390
  }
392
391
 
393
- ._hidden_ycl6i_217 {
392
+ ._hidden_1x5nq_215 {
394
393
  display: none;
395
394
  }
396
395
  ._ganttToday_1oyhk_1 {
@@ -584,7 +583,7 @@
584
583
  user-select: none;
585
584
  stroke-width: 0;
586
585
  }
587
- ._ganttVerticalContainer_1btnv_1 {
586
+ ._ganttVerticalContainer_1xboz_1 {
588
587
  display: flex;
589
588
  flex-direction: column;
590
589
  overflow-x: auto;
@@ -597,21 +596,19 @@
597
596
  flex-grow: 1;
598
597
  height: 100%;
599
598
  min-height: 0;
600
- /* allow this flex child to shrink correctly in a flex row so internal scrolling works */
601
- min-width: 0;
602
599
  max-width: 100%;
603
600
  }
604
601
 
605
- ._ganttVerticalContainer_1btnv_1::-webkit-scrollbar {
602
+ ._ganttVerticalContainer_1xboz_1::-webkit-scrollbar {
606
603
  width: 1rem;
607
604
  height: 1rem;
608
605
  }
609
606
 
610
- ._ganttVerticalContainer_1btnv_1::-webkit-scrollbar-corner {
607
+ ._ganttVerticalContainer_1xboz_1::-webkit-scrollbar-corner {
611
608
  background: transparent;
612
609
  }
613
610
 
614
- ._ganttVerticalContainer_1btnv_1::-webkit-scrollbar-thumb {
611
+ ._ganttVerticalContainer_1xboz_1::-webkit-scrollbar-thumb {
615
612
  border: 4px solid transparent;
616
613
  /*noinspection CssUnresolvedCustomProperty*/
617
614
  background: var(--gantt-scrollbar-thumb-color);
@@ -619,43 +616,35 @@
619
616
  background-clip: padding-box;
620
617
  }
621
618
 
622
- ._ganttVerticalContainer_1btnv_1::-webkit-scrollbar-thumb:hover {
619
+ ._ganttVerticalContainer_1xboz_1::-webkit-scrollbar-thumb:hover {
623
620
  border: 2px solid transparent;
624
621
  /*noinspection CssUnresolvedCustomProperty*/
625
622
  background: var(--gantt-scrollbar-thumb-color);
626
623
  background-clip: padding-box;
627
624
  }
628
625
 
629
- ._horizontalContainer_1btnv_85 {
626
+ ._horizontalContainer_1xboz_81 {
630
627
  margin: 0;
631
628
  padding: 0;
632
- /* allow the inner grid/svg to overflow horizontally so the outer container can scroll
633
- (was clipping the svg when its width exceeded the container) */
634
- overflow-x: auto;
635
- overflow-y: hidden;
629
+ overflow: hidden;
636
630
  height: 100%;
637
631
  min-height: 0;
638
- /* ensure this flex child can shrink correctly inside the gantt container */
639
- min-width: 0;
640
632
  }
641
633
 
642
- ._ganttHeader_1btnv_111 {
634
+ ._ganttHeader_1xboz_97 {
643
635
  flex: 0 0 auto;
644
636
  z-index: 3;
645
637
  }
646
638
 
647
- ._ganttBodyScroll_1btnv_121 {
639
+ ._ganttBodyScroll_1xboz_107 {
648
640
  flex: 1 1 auto;
649
- /* allow horizontal scrolling here so the visible scroll area matches the SVG width */
650
641
  overflow-y: auto;
651
- overflow-x: auto;
642
+ overflow-x: hidden;
652
643
  min-height: 0;
653
644
  height: 100%;
654
- /* make sure the body can be narrower than content to enable internal scrolling */
655
- min-width: 0;
656
645
  }
657
646
 
658
- ._wrapper_1btnv_143 {
647
+ ._wrapper_1xboz_123 {
659
648
  display: flex;
660
649
  padding: 0;
661
650
  margin: 0;
@@ -666,13 +655,11 @@
666
655
  border-bottom: 1px solid var(--gantt-divider-color);
667
656
  height: 100%;
668
657
  min-height: 0;
669
- /* let the gantt component provide horizontal scrolling; prevent the wrapper from creating an outer scrollbar */
670
658
  max-width: 100%;
671
- overflow-x: visible;
672
- overflow-y: visible;
659
+ overflow: hidden;
673
660
  }
674
661
 
675
- ._calendarDragging_1btnv_177 {
662
+ ._calendarDragging_1xboz_153 {
676
663
  cursor: grabbing;
677
664
  }
678
665
  /*noinspection CssUnresolvedCustomProperty*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
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",
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "scripts": {
25
25
  "storybook": "start-storybook -p 6006",
26
- "build": "vite build && node -e \"require('child_process').execSync('tsc', {stdio:'inherit'})\"",
26
+ "build": "vite build && node -e \"require('child_process').execSync('tsc', {stdio:'inherit'})\"",
27
27
  "start": "vite --host",
28
28
  "prepare": "npm run build",
29
29
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
@@ -42,9 +42,10 @@
42
42
  "@dnd-kit/sortable": "^8.0.0",
43
43
  "@floating-ui/dom": "1.6.3",
44
44
  "@floating-ui/react": "0.26.11",
45
+ "@rollup/rollup-win32-x64-msvc": "^4.48.1",
45
46
  "date-fns": "3.6.0",
46
- "i18next": "^24.0.5",
47
- "react-i18next": "^15.1.3"
47
+ "i18next": "^25.4.1",
48
+ "react-i18next": "^15.7.2"
48
49
  },
49
50
  "peerDependencies": {
50
51
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -56,14 +57,14 @@
56
57
  "@chromatic-com/storybook": "^1.3.1",
57
58
  "@rollup/plugin-image": "3.0.3",
58
59
  "@storybook/addon-essentials": "^8.0.6",
59
- "@storybook/addon-interactions": "^8.0.6",
60
+ "@storybook/addon-interactions": "^8.6.14",
60
61
  "@storybook/addon-links": "^8.0.6",
61
62
  "@storybook/addon-onboarding": "^8.0.6",
62
63
  "@storybook/blocks": "^8.0.6",
63
64
  "@storybook/cli": "^8.4.4",
64
- "@storybook/react": "^8.4.4",
65
+ "@storybook/react": "^8.6.14",
65
66
  "@storybook/react-vite": "^8.0.6",
66
- "@storybook/test": "^8.0.6",
67
+ "@storybook/test": "^8.6.14",
67
68
  "@testing-library/jest-dom": "^6.4.2",
68
69
  "@testing-library/react": "^14.2.2",
69
70
  "@testing-library/user-event": "^14.2.1",