@libxai/board 0.11.0 → 0.11.2
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 +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1554,6 +1554,13 @@ interface GanttConfig {
|
|
|
1554
1554
|
* @see GanttScrollBehavior
|
|
1555
1555
|
*/
|
|
1556
1556
|
scrollBehavior?: GanttScrollBehavior;
|
|
1557
|
+
/**
|
|
1558
|
+
* v0.11.1: Enable automatic Critical Path Method (CPM) calculation
|
|
1559
|
+
* When true (default), tasks with zero slack are automatically marked as critical (red)
|
|
1560
|
+
* When false, preserves custom task colors and disables automatic CPM marking
|
|
1561
|
+
* @default true
|
|
1562
|
+
*/
|
|
1563
|
+
enableAutoCriticalPath?: boolean;
|
|
1557
1564
|
onThemeChange?: (theme: Theme$1) => void;
|
|
1558
1565
|
onTaskClick?: (task: Task) => void;
|
|
1559
1566
|
onTaskDblClick?: (task: Task) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1554,6 +1554,13 @@ interface GanttConfig {
|
|
|
1554
1554
|
* @see GanttScrollBehavior
|
|
1555
1555
|
*/
|
|
1556
1556
|
scrollBehavior?: GanttScrollBehavior;
|
|
1557
|
+
/**
|
|
1558
|
+
* v0.11.1: Enable automatic Critical Path Method (CPM) calculation
|
|
1559
|
+
* When true (default), tasks with zero slack are automatically marked as critical (red)
|
|
1560
|
+
* When false, preserves custom task colors and disables automatic CPM marking
|
|
1561
|
+
* @default true
|
|
1562
|
+
*/
|
|
1563
|
+
enableAutoCriticalPath?: boolean;
|
|
1557
1564
|
onThemeChange?: (theme: Theme$1) => void;
|
|
1558
1565
|
onTaskClick?: (task: Task) => void;
|
|
1559
1566
|
onTaskDblClick?: (task: Task) => void;
|