@ganttloom/gantt-core 0.2.0 → 0.4.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 +147 -5
- package/dist/index.cjs +364 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +69 -1
- package/dist/index.d.ts +69 -1
- package/dist/index.js +364 -44
- package/dist/index.js.map +1 -1
- package/dist/styles.css +51 -0
- package/package.json +2 -1
package/dist/styles.css
CHANGED
|
@@ -102,6 +102,15 @@
|
|
|
102
102
|
align-items: center;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
.gantt-grid-header-cell-sortable {
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
user-select: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.gantt-sort-indicator {
|
|
111
|
+
font-size: 0.85em;
|
|
112
|
+
}
|
|
113
|
+
|
|
105
114
|
.gantt-grid-body {
|
|
106
115
|
position: relative;
|
|
107
116
|
}
|
|
@@ -153,6 +162,17 @@
|
|
|
153
162
|
display: block;
|
|
154
163
|
}
|
|
155
164
|
|
|
165
|
+
.gantt-timeline-header {
|
|
166
|
+
position: sticky;
|
|
167
|
+
top: 0;
|
|
168
|
+
z-index: 2;
|
|
169
|
+
background: var(--gantt-background-color, #ffffff);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.gantt-header-svg {
|
|
173
|
+
display: block;
|
|
174
|
+
}
|
|
175
|
+
|
|
156
176
|
.gantt-bar rect {
|
|
157
177
|
transition: fill 0.15s ease;
|
|
158
178
|
}
|
|
@@ -165,3 +185,34 @@
|
|
|
165
185
|
.gantt-temp-link {
|
|
166
186
|
pointer-events: none;
|
|
167
187
|
}
|
|
188
|
+
|
|
189
|
+
.gantt-tooltip {
|
|
190
|
+
position: fixed;
|
|
191
|
+
z-index: 1000;
|
|
192
|
+
pointer-events: none;
|
|
193
|
+
max-width: 280px;
|
|
194
|
+
padding: 8px 10px;
|
|
195
|
+
border-radius: 6px;
|
|
196
|
+
font-size: 12px;
|
|
197
|
+
line-height: 1.4;
|
|
198
|
+
font-family: var(--gantt-font-family, sans-serif);
|
|
199
|
+
background: rgba(17, 24, 39, 0.92);
|
|
200
|
+
color: #f9fafb;
|
|
201
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.gantt-tooltip-title {
|
|
205
|
+
font-weight: 600;
|
|
206
|
+
margin-bottom: 2px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.gantt-tooltip-row {
|
|
210
|
+
opacity: 0.9;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.gantt-tooltip-notes {
|
|
214
|
+
margin-top: 4px;
|
|
215
|
+
padding-top: 4px;
|
|
216
|
+
border-top: 1px solid rgba(255, 255, 255, 0.15);
|
|
217
|
+
opacity: 0.85;
|
|
218
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ganttloom/gantt-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Framework-agnostic, fully customizable Gantt chart engine: grouping, drag-drop, dependency linking, expand/collapse, theming.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
+
"jsdom": "^25.0.1",
|
|
44
45
|
"tsup": "^8.3.5",
|
|
45
46
|
"typescript": "^5.7.2",
|
|
46
47
|
"vitest": "^2.1.8",
|