gantt-lib 0.26.0 → 0.27.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/dist/index.css.map +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +3 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5892,7 +5892,8 @@ var GanttChart = forwardRef(({
|
|
|
5892
5892
|
collapsedParentIds: externalCollapsedParentIds,
|
|
5893
5893
|
onToggleCollapse: externalOnToggleCollapse,
|
|
5894
5894
|
highlightedTaskIds,
|
|
5895
|
-
disableTaskDrag = false
|
|
5895
|
+
disableTaskDrag = false,
|
|
5896
|
+
showChart = true
|
|
5896
5897
|
}, ref) => {
|
|
5897
5898
|
const scrollContainerRef = useRef7(null);
|
|
5898
5899
|
const [selectedTaskId, setSelectedTaskId] = useState7(null);
|
|
@@ -6355,7 +6356,7 @@ var GanttChart = forwardRef(({
|
|
|
6355
6356
|
businessDays
|
|
6356
6357
|
}
|
|
6357
6358
|
),
|
|
6358
|
-
/* @__PURE__ */ jsxs12("div", { style: { minWidth: `${gridWidth}px`, flex: 1 }, children: [
|
|
6359
|
+
/* @__PURE__ */ jsxs12("div", { className: showChart ? "" : "gantt-chart-hidden", style: { minWidth: `${gridWidth}px`, flex: 1 }, children: [
|
|
6359
6360
|
/* @__PURE__ */ jsx15("div", { className: "gantt-stickyHeader", style: { width: `${gridWidth}px` }, children: /* @__PURE__ */ jsx15(
|
|
6360
6361
|
TimeScaleHeader_default,
|
|
6361
6362
|
{
|