apexgantt 3.11.0 → 3.11.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/README.md +3 -3
- package/apexgantt.es.min.js +1 -1
- package/apexgantt.min.js +1 -1
- package/demo/bar-labels.html +1 -1
- package/demo/basic-gantt.html +1 -1
- package/demo/crosshair.html +1 -1
- package/demo/custom-colors.html +1 -1
- package/demo/data-parsing.html +1 -1
- package/demo/dependency-arrows.html +1 -1
- package/demo/gantt-with-annotations.html +1 -1
- package/demo/gantt-with-interactions.html +1 -1
- package/demo/milestones.html +1 -1
- package/demo/progress-ring-column.html +1 -1
- package/demo/project-boundary.html +1 -1
- package/demo/resource-management.html +1 -1
- package/demo/rollups.html +1 -1
- package/demo/task-list-columns-demo.html +1 -1
- package/demo/wbs-column.html +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -123,7 +123,7 @@ The layout can be configured by passing a second argument to `ApexGantt` with th
|
|
|
123
123
|
| `criticalArrowColor` | `string` | `'#E53935'` (light) / `'#F87171'` (dark) | Stroke color for dependency arrows on the critical path. |
|
|
124
124
|
| `enableCrosshair` | `boolean` | `false` | Show a vertical crosshair line that follows the cursor across the timeline, with a label showing the precise date/time at the pointer position. |
|
|
125
125
|
| `crosshairColor` | `string` | `'#318CE7'` (light) / `'#818CF8'` (dark) | Color of the crosshair line and the label background. |
|
|
126
|
-
| `crosshairLabelFormat` | `(date, tier) => string` | _auto_ | Custom formatter for the crosshair label. Receives the date under the cursor and the active sub-tier (`'minute' \| 'hour' \| 'day' \| 'week' \| 'month' \| 'quarter' \| 'year'`). When omitted, the label auto-adapts to the active tier — `'ddd MM/DD/YYYY'` for day-and-coarser tiers, `'MM/DD HH:mm'` for hour/minute tiers. |
|
|
126
|
+
| `crosshairLabelFormat` | `(date, tier) => string` | _auto_ | Custom formatter for the crosshair label. Receives the date under the cursor and the active sub-tier (`'minute' \| 'hour' \| 'halfday' \| 'day' \| 'week' \| 'month' \| 'quarter' \| 'year'`). When omitted, the label auto-adapts to the active tier — `'ddd MM/DD/YYYY'` for day-and-coarser tiers, `'MM/DD HH:mm'` for halfday/hour/minute tiers. |
|
|
127
127
|
| `baseline` | `Partial<BaselineOptions>` | `undefined` | When `enabled: true`, renders a thin baseline bar below each task bar. Hovering the baseline shows a tooltip with its planned start/end dates. When `rowHeight` isn't explicitly set, the default rowHeight is bumped to make room for the baseline without squeezing the actual bar. |
|
|
128
128
|
| `tooltipId` | `string` | `'apexgantt-tooltip-container'` | HTML `id` for the tooltip container element. |
|
|
129
129
|
| `tooltipTemplate` | `(task, dateFormat) => string` | built-in | Custom function returning an HTML string for the task tooltip. |
|
|
@@ -538,7 +538,7 @@ Behavior changes when `inputDateFormat` includes time:
|
|
|
538
538
|
- Inline-edit `startTime` / `endTime` cells switch to `datetime-local` inputs.
|
|
539
539
|
- The Duration column reports in the configured `snapUnit` suffix: `d` / `h` / `m`.
|
|
540
540
|
|
|
541
|
-
> **Working
|
|
541
|
+
> **Working calendars** (weekends + holidays) are supported via the [`calendar`](#apexgantt-options) option — duration math, drag/resize snapping, and timeline stripes all honour the configured working days. Per-day working **hours** (e.g. skipping after-hours within a working day) are not yet supported and are planned for a future release.
|
|
542
542
|
|
|
543
543
|
## Inline Editing
|
|
544
544
|
|
|
@@ -577,7 +577,7 @@ new ApexGantt(element, {
|
|
|
577
577
|
| `duration` | number input (min `1`) | Edits update `endTime = startTime + duration - 1` day. `startTime` stays fixed. |
|
|
578
578
|
| `progress` | number input (`0`–`100`) | Values clamp to the `0–100` range. |
|
|
579
579
|
|
|
580
|
-
|
|
580
|
+
When `inputDateFormat` includes time tokens (e.g. `'YYYY-MM-DD HH:mm'`), the `startTime` / `endTime` editors switch from `<input type="date">` to `<input type="datetime-local">` automatically so hour/minute edits round-trip correctly.
|
|
581
581
|
|
|
582
582
|
### Cells that are not editable
|
|
583
583
|
|