gantt-task-react-v 1.0.34 → 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.
- package/dist/gantt-task-react.es.js +305 -324
- package/dist/gantt-task-react.umd.js +305 -324
- package/dist/helpers/use-element-width.d.ts +1 -0
- package/dist/style.css +30 -37
- package/package.json +8 -7
|
@@ -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
|
-
.
|
|
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
|
-
|
|
293
|
-
|
|
294
|
-
max-width: none;
|
|
292
|
+
overflow: hidden;
|
|
293
|
+
max-width: 100%;
|
|
295
294
|
flex-shrink: 0;
|
|
296
295
|
}
|
|
297
296
|
|
|
298
|
-
.
|
|
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
|
-
.
|
|
305
|
+
._taskListHorizontalScroll_1x5nq_25::-webkit-scrollbar {
|
|
307
306
|
width: 1rem;
|
|
308
307
|
height: 1rem;
|
|
309
308
|
}
|
|
310
309
|
|
|
311
|
-
.
|
|
310
|
+
._taskListHorizontalScroll_1x5nq_25::-webkit-scrollbar-corner {
|
|
312
311
|
background: transparent;
|
|
313
312
|
}
|
|
314
313
|
|
|
315
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
346
|
+
._taskListResizer_1x5nq_89:hover::before {
|
|
348
347
|
display: none;
|
|
349
348
|
}
|
|
350
349
|
|
|
351
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
370
|
+
._tableWrapper_1x5nq_171 {
|
|
372
371
|
position: relative;
|
|
373
372
|
flex: 1;
|
|
374
373
|
min-height: 0;
|
|
375
374
|
}
|
|
376
375
|
|
|
377
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
586
|
+
._ganttVerticalContainer_1xboz_1 {
|
|
588
587
|
display: flex;
|
|
589
588
|
flex-direction: column;
|
|
590
589
|
overflow-x: auto;
|
|
@@ -600,16 +599,16 @@
|
|
|
600
599
|
max-width: 100%;
|
|
601
600
|
}
|
|
602
601
|
|
|
603
|
-
.
|
|
602
|
+
._ganttVerticalContainer_1xboz_1::-webkit-scrollbar {
|
|
604
603
|
width: 1rem;
|
|
605
604
|
height: 1rem;
|
|
606
605
|
}
|
|
607
606
|
|
|
608
|
-
.
|
|
607
|
+
._ganttVerticalContainer_1xboz_1::-webkit-scrollbar-corner {
|
|
609
608
|
background: transparent;
|
|
610
609
|
}
|
|
611
610
|
|
|
612
|
-
.
|
|
611
|
+
._ganttVerticalContainer_1xboz_1::-webkit-scrollbar-thumb {
|
|
613
612
|
border: 4px solid transparent;
|
|
614
613
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
615
614
|
background: var(--gantt-scrollbar-thumb-color);
|
|
@@ -617,39 +616,35 @@
|
|
|
617
616
|
background-clip: padding-box;
|
|
618
617
|
}
|
|
619
618
|
|
|
620
|
-
.
|
|
619
|
+
._ganttVerticalContainer_1xboz_1::-webkit-scrollbar-thumb:hover {
|
|
621
620
|
border: 2px solid transparent;
|
|
622
621
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
623
622
|
background: var(--gantt-scrollbar-thumb-color);
|
|
624
623
|
background-clip: padding-box;
|
|
625
624
|
}
|
|
626
625
|
|
|
627
|
-
.
|
|
626
|
+
._horizontalContainer_1xboz_81 {
|
|
628
627
|
margin: 0;
|
|
629
628
|
padding: 0;
|
|
630
|
-
|
|
631
|
-
(was clipping the svg when its width exceeded the container) */
|
|
632
|
-
overflow-x: auto;
|
|
633
|
-
overflow-y: hidden;
|
|
629
|
+
overflow: hidden;
|
|
634
630
|
height: 100%;
|
|
635
631
|
min-height: 0;
|
|
636
632
|
}
|
|
637
633
|
|
|
638
|
-
.
|
|
634
|
+
._ganttHeader_1xboz_97 {
|
|
639
635
|
flex: 0 0 auto;
|
|
640
636
|
z-index: 3;
|
|
641
637
|
}
|
|
642
638
|
|
|
643
|
-
.
|
|
639
|
+
._ganttBodyScroll_1xboz_107 {
|
|
644
640
|
flex: 1 1 auto;
|
|
645
|
-
/* allow horizontal scrolling here so the visible scroll area matches the SVG width */
|
|
646
641
|
overflow-y: auto;
|
|
647
|
-
overflow-x:
|
|
642
|
+
overflow-x: hidden;
|
|
648
643
|
min-height: 0;
|
|
649
644
|
height: 100%;
|
|
650
645
|
}
|
|
651
646
|
|
|
652
|
-
.
|
|
647
|
+
._wrapper_1xboz_123 {
|
|
653
648
|
display: flex;
|
|
654
649
|
padding: 0;
|
|
655
650
|
margin: 0;
|
|
@@ -660,13 +655,11 @@
|
|
|
660
655
|
border-bottom: 1px solid var(--gantt-divider-color);
|
|
661
656
|
height: 100%;
|
|
662
657
|
min-height: 0;
|
|
663
|
-
/* allow horizontal scrolling on the wrapper so users can navigate the wide gantt */
|
|
664
658
|
max-width: 100%;
|
|
665
|
-
overflow
|
|
666
|
-
overflow-y: hidden;
|
|
659
|
+
overflow: hidden;
|
|
667
660
|
}
|
|
668
661
|
|
|
669
|
-
.
|
|
662
|
+
._calendarDragging_1xboz_153 {
|
|
670
663
|
cursor: grabbing;
|
|
671
664
|
}
|
|
672
665
|
/*noinspection CssUnresolvedCustomProperty*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gantt-task-react-v",
|
|
3
|
-
"version": "1.0.
|
|
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
|
-
|
|
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": "^
|
|
47
|
-
"react-i18next": "^15.
|
|
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.
|
|
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.
|
|
65
|
+
"@storybook/react": "^8.6.14",
|
|
65
66
|
"@storybook/react-vite": "^8.0.6",
|
|
66
|
-
"@storybook/test": "^8.
|
|
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",
|