@libxai/board 0.17.180 → 0.17.181
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.cjs +24 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +24 -24
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -354,6 +354,14 @@ interface GanttConfig {
|
|
|
354
354
|
* @default true
|
|
355
355
|
*/
|
|
356
356
|
enableAutoCriticalPath?: boolean;
|
|
357
|
+
/**
|
|
358
|
+
* v0.17.181: Persist task expanded/collapsed state in localStorage
|
|
359
|
+
* When true, uses default key 'gantt-expanded-tasks'
|
|
360
|
+
* When string, uses that string as the localStorage key (useful for per-project persistence)
|
|
361
|
+
* When false/undefined, expanded state only persists during the current session
|
|
362
|
+
* @default false
|
|
363
|
+
*/
|
|
364
|
+
persistExpandedState?: boolean | string;
|
|
357
365
|
onThemeChange?: (theme: Theme$1) => void;
|
|
358
366
|
onTaskClick?: (task: Task) => void;
|
|
359
367
|
onTaskDblClick?: (task: Task) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -354,6 +354,14 @@ interface GanttConfig {
|
|
|
354
354
|
* @default true
|
|
355
355
|
*/
|
|
356
356
|
enableAutoCriticalPath?: boolean;
|
|
357
|
+
/**
|
|
358
|
+
* v0.17.181: Persist task expanded/collapsed state in localStorage
|
|
359
|
+
* When true, uses default key 'gantt-expanded-tasks'
|
|
360
|
+
* When string, uses that string as the localStorage key (useful for per-project persistence)
|
|
361
|
+
* When false/undefined, expanded state only persists during the current session
|
|
362
|
+
* @default false
|
|
363
|
+
*/
|
|
364
|
+
persistExpandedState?: boolean | string;
|
|
357
365
|
onThemeChange?: (theme: Theme$1) => void;
|
|
358
366
|
onTaskClick?: (task: Task) => void;
|
|
359
367
|
onTaskDblClick?: (task: Task) => void;
|