gantt-lib 0.102.0 → 0.104.0
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/README.md +91 -36
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +28 -2
- package/dist/index.d.ts +28 -2
- package/dist/index.js +289 -42
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +289 -42
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +58 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -858,10 +858,38 @@
|
|
|
858
858
|
color: #6b7280;
|
|
859
859
|
box-sizing: border-box;
|
|
860
860
|
border-right: var(--gantt-tl-vertical-separators);
|
|
861
|
+
position: relative;
|
|
861
862
|
}
|
|
862
863
|
.gantt-tl-headerCell:last-child {
|
|
863
864
|
border-right: none;
|
|
864
865
|
}
|
|
866
|
+
.gantt-tl-column-resize-handle {
|
|
867
|
+
position: absolute;
|
|
868
|
+
top: 0;
|
|
869
|
+
right: -4px;
|
|
870
|
+
bottom: 0;
|
|
871
|
+
width: 8px;
|
|
872
|
+
padding: 0;
|
|
873
|
+
border: none;
|
|
874
|
+
background: transparent;
|
|
875
|
+
cursor: col-resize;
|
|
876
|
+
z-index: 2;
|
|
877
|
+
}
|
|
878
|
+
.gantt-tl-column-resize-handle::before {
|
|
879
|
+
content: "";
|
|
880
|
+
position: absolute;
|
|
881
|
+
top: 8px;
|
|
882
|
+
bottom: 8px;
|
|
883
|
+
left: 3px;
|
|
884
|
+
width: 2px;
|
|
885
|
+
border-radius: 999px;
|
|
886
|
+
background: transparent;
|
|
887
|
+
transition: background-color 0.15s ease;
|
|
888
|
+
}
|
|
889
|
+
.gantt-tl-headerCell:hover .gantt-tl-column-resize-handle::before,
|
|
890
|
+
.gantt-tl-column-resize-handle:focus-visible::before {
|
|
891
|
+
background: rgba(59, 130, 246, 0.35);
|
|
892
|
+
}
|
|
865
893
|
.gantt-tl-body {
|
|
866
894
|
display: flex;
|
|
867
895
|
flex-direction: column;
|
|
@@ -3046,6 +3074,7 @@
|
|
|
3046
3074
|
}
|
|
3047
3075
|
.gantt-mx-body {
|
|
3048
3076
|
position: relative;
|
|
3077
|
+
z-index: 0;
|
|
3049
3078
|
}
|
|
3050
3079
|
.gantt-mx-measure {
|
|
3051
3080
|
position: absolute;
|
|
@@ -3095,6 +3124,8 @@
|
|
|
3095
3124
|
border-right: 1px solid var(--gantt-grid-line-color, #e0e0e0);
|
|
3096
3125
|
}
|
|
3097
3126
|
.gantt-mx-headerCell {
|
|
3127
|
+
position: relative;
|
|
3128
|
+
overflow: hidden;
|
|
3098
3129
|
justify-content: center;
|
|
3099
3130
|
font-size: 12px;
|
|
3100
3131
|
font-weight: 600;
|
|
@@ -3127,10 +3158,37 @@
|
|
|
3127
3158
|
box-shadow: inset 0 0 0 9999px rgba(250, 204, 21, 0.3);
|
|
3128
3159
|
}
|
|
3129
3160
|
.gantt-mx-cell {
|
|
3161
|
+
position: relative;
|
|
3130
3162
|
font-size: 13px;
|
|
3131
3163
|
color: #111827;
|
|
3132
3164
|
background: inherit;
|
|
3133
3165
|
}
|
|
3166
|
+
.gantt-mx-dateOverlay {
|
|
3167
|
+
position: absolute;
|
|
3168
|
+
inset: 0 auto 0 0;
|
|
3169
|
+
z-index: 0;
|
|
3170
|
+
background: var(--gantt-matrix-date-overlay-color, rgba(198, 152, 202, 0.22));
|
|
3171
|
+
pointer-events: none;
|
|
3172
|
+
}
|
|
3173
|
+
.gantt-mx-dateOverlayEdge {
|
|
3174
|
+
display: none;
|
|
3175
|
+
position: absolute;
|
|
3176
|
+
top: 0;
|
|
3177
|
+
bottom: 0;
|
|
3178
|
+
z-index: 2;
|
|
3179
|
+
width: var(--gantt-matrix-date-overlay-edge-width, 1px);
|
|
3180
|
+
background: var(--gantt-matrix-date-overlay-edge-color, rgba(220, 38, 38, 0.48));
|
|
3181
|
+
transform: translateX(-50%);
|
|
3182
|
+
pointer-events: none;
|
|
3183
|
+
}
|
|
3184
|
+
.gantt-mx-headerContent,
|
|
3185
|
+
.gantt-mx-cellContent {
|
|
3186
|
+
position: relative;
|
|
3187
|
+
z-index: 1;
|
|
3188
|
+
}
|
|
3189
|
+
.gantt-mx-cellContent {
|
|
3190
|
+
display: contents;
|
|
3191
|
+
}
|
|
3134
3192
|
.gantt-mx-cell-clickable {
|
|
3135
3193
|
cursor: pointer;
|
|
3136
3194
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gantt-lib",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.104.0",
|
|
4
|
+
"description": "React scheduling UI library for Gantt charts, resource planners, and table-matrix views",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|