@esic-lab/data-core-ui 0.0.65 → 0.0.66
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 +2 -2
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -4972,7 +4972,7 @@ var GanttChart = ({
|
|
|
4972
4972
|
const margin = { top: 0, right: 20, bottom: 20, left: 20 };
|
|
4973
4973
|
const chartHeight = data.length * (barHeight + barSpacing) + margin.top + margin.bottom;
|
|
4974
4974
|
const containerWidth = width * 2;
|
|
4975
|
-
const containerHeight = totalHeaderHeight + chartHeight >
|
|
4975
|
+
const containerHeight = totalHeaderHeight + chartHeight > 585 ? totalHeaderHeight + chartHeight : 585;
|
|
4976
4976
|
const borderRadius = 5;
|
|
4977
4977
|
if (leftPanelRef.current) {
|
|
4978
4978
|
leftPanelRef.current.style.height = `${containerHeight}px`;
|
|
@@ -5140,7 +5140,7 @@ var GanttChart = ({
|
|
|
5140
5140
|
display: "flex",
|
|
5141
5141
|
flexDirection: "column",
|
|
5142
5142
|
width: `${width}px`,
|
|
5143
|
-
height: `
|
|
5143
|
+
height: `587px`,
|
|
5144
5144
|
border: "1px solid #E9E9E9",
|
|
5145
5145
|
borderRadius: "10px",
|
|
5146
5146
|
backgroundColor: "#fff",
|
|
@@ -5157,7 +5157,7 @@ var GanttChart = ({
|
|
|
5157
5157
|
position: "relative"
|
|
5158
5158
|
},
|
|
5159
5159
|
children: [
|
|
5160
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "z-
|
|
5160
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "z-2", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5161
5161
|
RowOverlay,
|
|
5162
5162
|
{
|
|
5163
5163
|
data: data.length > 10 ? data : ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"],
|
package/dist/index.mjs
CHANGED
|
@@ -4920,7 +4920,7 @@ var GanttChart = ({
|
|
|
4920
4920
|
const margin = { top: 0, right: 20, bottom: 20, left: 20 };
|
|
4921
4921
|
const chartHeight = data.length * (barHeight + barSpacing) + margin.top + margin.bottom;
|
|
4922
4922
|
const containerWidth = width * 2;
|
|
4923
|
-
const containerHeight = totalHeaderHeight + chartHeight >
|
|
4923
|
+
const containerHeight = totalHeaderHeight + chartHeight > 585 ? totalHeaderHeight + chartHeight : 585;
|
|
4924
4924
|
const borderRadius = 5;
|
|
4925
4925
|
if (leftPanelRef.current) {
|
|
4926
4926
|
leftPanelRef.current.style.height = `${containerHeight}px`;
|
|
@@ -5088,7 +5088,7 @@ var GanttChart = ({
|
|
|
5088
5088
|
display: "flex",
|
|
5089
5089
|
flexDirection: "column",
|
|
5090
5090
|
width: `${width}px`,
|
|
5091
|
-
height: `
|
|
5091
|
+
height: `587px`,
|
|
5092
5092
|
border: "1px solid #E9E9E9",
|
|
5093
5093
|
borderRadius: "10px",
|
|
5094
5094
|
backgroundColor: "#fff",
|
|
@@ -5105,7 +5105,7 @@ var GanttChart = ({
|
|
|
5105
5105
|
position: "relative"
|
|
5106
5106
|
},
|
|
5107
5107
|
children: [
|
|
5108
|
-
/* @__PURE__ */ jsx48("div", { className: "z-
|
|
5108
|
+
/* @__PURE__ */ jsx48("div", { className: "z-2", children: /* @__PURE__ */ jsx48(
|
|
5109
5109
|
RowOverlay,
|
|
5110
5110
|
{
|
|
5111
5111
|
data: data.length > 10 ? data : ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"],
|