iris-gantt 1.5.1 β 1.5.3
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 +12 -4
- package/dist/Gantt/Timeline.d.ts.map +1 -1
- package/dist/iris-gantt.js +1501 -1468
- package/dist/iris-gantt.umd.cjs +14 -14
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,16 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
A comprehensive, production-ready Gantt chart component built with React and TypeScript. Easy to install, simple to use, fully customizable, and responsive.
|
|
4
4
|
|
|
5
|
-
## π Version 1.5.
|
|
5
|
+
## π Version 1.5.3 (Latest)
|
|
6
6
|
|
|
7
7
|
### Bug Fixes
|
|
8
|
-
- **
|
|
9
|
-
- **On-Hold overlay stays visible on hover** β Raised the CSS `z-index` of `.gantt-on-hold-period` to `101 !important`. The task bar hover state elevates to `z-index: 100`, so the hold pattern will no longer disappear when you mouse over a task.
|
|
8
|
+
- **Responsive Timeline Viewport Scaling:** Fixed an issue where the timeline left empty white spaces or rendered comically fat cell columns on horizontally wide screensβespecially when swapping down to 'Month' view. The chart now dynamically calculates its layout boundaries and pads the display timeframe organically to perfectly fill your viewport screen width while maintaining standard element ratios.
|
|
10
9
|
|
|
11
|
-
|
|
10
|
+
## π Version 1.5.2
|
|
12
11
|
|
|
13
12
|
### Improvements
|
|
14
13
|
- **Prop-driven day/week/month timeline switcher** β You can now expose a calendar view switcher in the toolbar and control the available `day`, `week`, and `month` views through props.
|
|
14
|
+
- **Configurable timeline view props** β Use `timelineView`, `timelineViews`, and `timelineViewScales` in `config`, plus `timelineViewLabels` in `uiConfig`, to customize the calendar view experience.
|
|
15
|
+
|
|
16
|
+
## π Version 1.5.0
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
- **On-Hold correctly renders over completed tasks** β The grey hatched on-hold overlay now correctly sits *above* the task bar in the DOM tree. Previously, the `status-completed` blue background colour overrode it.
|
|
20
|
+
- **On-Hold overlay stays visible on hover** β Raised the CSS `z-index` of `.gantt-on-hold-period` to `101 !important`. The task bar hover state elevates to `z-index: 100`, so the hold pattern will no longer disappear when you mouse over a task.
|
|
21
|
+
|
|
22
|
+
- **OnHold grey lines now render with project API data** β Fixed a bug where on-hold grey bars were not visible when tasks used API field names (`workGroupName`, `plannedStartDate`, `plannedEndDate`). The normalizer now recognises these aliases, so dates are correctly resolved and the hold period overlap is detected.
|
|
15
23
|
|
|
16
24
|
### New API Field Aliases
|
|
17
25
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../src/components/Gantt/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA4E/G,UAAU,aAAa;IACrB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,KAAK,EAAE;QAAE,KAAK,EAAE,IAAI,CAAC;QAAC,GAAG,EAAE,IAAI,CAAA;KAAE,CAAC;IAClC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,MAAM,EAAE,WAAW,CAAC;IACpB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5E,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAA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