zegantt 1.0.0 → 1.1.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.d.ts +6 -0
- package/dist/zegantt.cjs +5 -2
- package/dist/zegantt.css +1 -1
- package/dist/zegantt.js +1961 -1606
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -128,6 +128,12 @@ export declare interface ProjectGanttProps {
|
|
|
128
128
|
translations?: Record<string, string> | ((key: string, fallback?: string) => string);
|
|
129
129
|
/** When true renders one project-header row per project and groups tasks by project */
|
|
130
130
|
groupByProject?: boolean;
|
|
131
|
+
/** Enables infinite-canvas interaction model (zoom + pan viewport). */
|
|
132
|
+
infiniteCanvas?: boolean;
|
|
133
|
+
/** Hides left task list/sidebar and keeps only timeline viewport. */
|
|
134
|
+
hideSidebar?: boolean;
|
|
135
|
+
/** Applies automatic fit-to-screen on first paint in infinite-canvas mode. */
|
|
136
|
+
initialFitToScreen?: boolean;
|
|
131
137
|
onTaskChange?: (task: GanttTask) => void;
|
|
132
138
|
onTaskClick?: (task: GanttTask) => void;
|
|
133
139
|
onAddNewStage?: (date?: Date, projectId?: string) => void;
|