@libxai/board 1.9.5 → 1.9.7

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.cts CHANGED
@@ -2889,7 +2889,9 @@ interface TaskGridProps {
2889
2889
  onTaskRename?: (taskId: string, newName: string) => void;
2890
2890
  onCreateSubtask?: (parentTaskId: string) => void;
2891
2891
  onOpenTaskModal?: (task: Task) => void;
2892
- onDeleteRequest?: (taskId: string, taskName: string) => void;
2892
+ /** v1.9.6: ahora recibe TODOS los ids a borrar (bulk desde el menú contextual
2893
+ * con multi-selección) + una etiqueta para el modal de confirmación. */
2894
+ onDeleteRequest?: (taskIds: string[], label: string) => void;
2893
2895
  onTaskReparent?: (taskId: string, newParentId: string | null, position?: number) => void;
2894
2896
  scrollContainerRef?: React.RefObject<HTMLElement>;
2895
2897
  showCriticalPath?: boolean;
package/dist/index.d.ts CHANGED
@@ -2889,7 +2889,9 @@ interface TaskGridProps {
2889
2889
  onTaskRename?: (taskId: string, newName: string) => void;
2890
2890
  onCreateSubtask?: (parentTaskId: string) => void;
2891
2891
  onOpenTaskModal?: (task: Task) => void;
2892
- onDeleteRequest?: (taskId: string, taskName: string) => void;
2892
+ /** v1.9.6: ahora recibe TODOS los ids a borrar (bulk desde el menú contextual
2893
+ * con multi-selección) + una etiqueta para el modal de confirmación. */
2894
+ onDeleteRequest?: (taskIds: string[], label: string) => void;
2893
2895
  onTaskReparent?: (taskId: string, newParentId: string | null, position?: number) => void;
2894
2896
  scrollContainerRef?: React.RefObject<HTMLElement>;
2895
2897
  showCriticalPath?: boolean;