This commit is contained in:
Marta Kowalska
2025-10-23 09:24:31 +00:00
parent 80ca059fb8
commit 41cf34bb8f
3 changed files with 11 additions and 11 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@svar-ui/react-gantt", "name": "@svar-ui/react-gantt",
"version": "2.3.1", "version": "2.3.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@svar-ui/react-gantt", "name": "@svar-ui/react-gantt",
"version": "2.3.1", "version": "2.3.2",
"license": "GPL-3.0", "license": "GPL-3.0",
"dependencies": { "dependencies": {
"@svar-ui/gantt-data-provider": "2.3.0", "@svar-ui/gantt-data-provider": "2.3.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@svar-ui/react-gantt", "name": "@svar-ui/react-gantt",
"version": "2.3.1", "version": "2.3.2",
"description": "A customizable, high-performance React Gantt chart component for building project timelines.", "description": "A customizable, high-performance React Gantt chart component for building project timelines.",
"productTag": "gantt", "productTag": "gantt",
"type": "module", "type": "module",
@@ -11,14 +11,14 @@
"react-gantt", "react-gantt",
"gantt-react", "gantt-react",
"gantt", "gantt",
"gantt-chart", "gantt-chart",
"react-gantt-chart", "react-gantt-chart",
"gantt-chart-component", "gantt-chart-component",
"gantt-diagram", "gantt-diagram",
"react-gantt-component", "react-gantt-component",
"svar widgets", "svar widgets",
"svar-react", "svar-react",
"timeline", "timeline",
"typescript" "typescript"
], ],
"license": "GPL-3.0", "license": "GPL-3.0",

View File

@@ -128,7 +128,7 @@ function Tooltip(props) {
style={{ top: `${pos.top}px`, left: `${pos.left}px` }} style={{ top: `${pos.top}px`, left: `${pos.left}px` }}
> >
{Content ? ( {Content ? (
<Content data={getTaskObj(tooltipData)} /> <Content data={tooltipData} />
) : pos.text ? ( ) : pos.text ? (
<div className="wx-KG0Lwsqo wx-gantt-tooltip-text">{pos.text}</div> <div className="wx-KG0Lwsqo wx-gantt-tooltip-text">{pos.text}</div>
) : null} ) : null}