@libxai/board 0.17.239 → 0.17.241

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
@@ -3225,7 +3225,7 @@ declare function mergeListViewTranslations(locale: ListViewSupportedLocale | str
3225
3225
 
3226
3226
  /**
3227
3227
  * CalendarBoard Component Types
3228
- * @version 0.17.0
3228
+ * @version 0.17.241
3229
3229
  */
3230
3230
 
3231
3231
  /**
@@ -3408,6 +3408,10 @@ interface CalendarCallbacks {
3408
3408
  onDateRangeChange?: (start: Date, end: Date) => void;
3409
3409
  /** v0.17.99: Quick create task handler */
3410
3410
  onTaskCreate?: (taskData: Partial<Task>) => void;
3411
+ /** v0.17.241: Upload attachments handler */
3412
+ onUploadAttachments?: (taskId: string, files: File[]) => Promise<void>;
3413
+ /** v0.17.241: Delete attachment handler */
3414
+ onDeleteAttachment?: (attachmentId: string) => Promise<void>;
3411
3415
  }
3412
3416
  /**
3413
3417
  * Main CalendarBoard props
@@ -3433,12 +3437,14 @@ interface CalendarBoardProps {
3433
3437
  availableTags?: TaskTag[];
3434
3438
  /** Callback to create a new tag */
3435
3439
  onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
3440
+ /** v0.17.241: Attachments map by task ID */
3441
+ attachmentsByTask?: Map<string, Attachment[]>;
3436
3442
  }
3437
3443
 
3438
3444
  /**
3439
3445
  * Main CalendarBoard Component
3440
3446
  */
3441
- declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, }: CalendarBoardProps): react_jsx_runtime.JSX.Element;
3447
+ declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, attachmentsByTask, }: CalendarBoardProps): react_jsx_runtime.JSX.Element;
3442
3448
 
3443
3449
  /**
3444
3450
  * CalendarBoard Themes
package/dist/index.d.ts CHANGED
@@ -3225,7 +3225,7 @@ declare function mergeListViewTranslations(locale: ListViewSupportedLocale | str
3225
3225
 
3226
3226
  /**
3227
3227
  * CalendarBoard Component Types
3228
- * @version 0.17.0
3228
+ * @version 0.17.241
3229
3229
  */
3230
3230
 
3231
3231
  /**
@@ -3408,6 +3408,10 @@ interface CalendarCallbacks {
3408
3408
  onDateRangeChange?: (start: Date, end: Date) => void;
3409
3409
  /** v0.17.99: Quick create task handler */
3410
3410
  onTaskCreate?: (taskData: Partial<Task>) => void;
3411
+ /** v0.17.241: Upload attachments handler */
3412
+ onUploadAttachments?: (taskId: string, files: File[]) => Promise<void>;
3413
+ /** v0.17.241: Delete attachment handler */
3414
+ onDeleteAttachment?: (attachmentId: string) => Promise<void>;
3411
3415
  }
3412
3416
  /**
3413
3417
  * Main CalendarBoard props
@@ -3433,12 +3437,14 @@ interface CalendarBoardProps {
3433
3437
  availableTags?: TaskTag[];
3434
3438
  /** Callback to create a new tag */
3435
3439
  onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
3440
+ /** v0.17.241: Attachments map by task ID */
3441
+ attachmentsByTask?: Map<string, Attachment[]>;
3436
3442
  }
3437
3443
 
3438
3444
  /**
3439
3445
  * Main CalendarBoard Component
3440
3446
  */
3441
- declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, }: CalendarBoardProps): react_jsx_runtime.JSX.Element;
3447
+ declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, attachmentsByTask, }: CalendarBoardProps): react_jsx_runtime.JSX.Element;
3442
3448
 
3443
3449
  /**
3444
3450
  * CalendarBoard Themes