@libxai/board 0.17.163 → 0.17.165
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 +28 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +28 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1581,8 +1581,14 @@ interface CardDetailModalV2Props {
|
|
|
1581
1581
|
theme?: 'dark' | 'light' | 'neutral';
|
|
1582
1582
|
/** Callback when subtasks are changed (for persistence) */
|
|
1583
1583
|
onSubtasksChange?: (cardId: string, subtasks: Subtask[]) => void;
|
|
1584
|
+
/** Attachments for this card */
|
|
1585
|
+
attachments?: Attachment[];
|
|
1586
|
+
/** Upload attachments callback */
|
|
1587
|
+
onUploadAttachments?: (cardId: string, files: File[]) => Promise<void> | void;
|
|
1588
|
+
/** Delete attachment callback */
|
|
1589
|
+
onDeleteAttachment?: (attachmentId: string) => void;
|
|
1584
1590
|
}
|
|
1585
|
-
declare function CardDetailModalV2({ card, isOpen, onClose, onUpdate, onDelete: _onDelete, availableUsers, comments, activities, onAddComment, onDeleteComment: _onDeleteComment, currentUser, onAIGenerateDescription: _onAIGenerateDescription, onAICreateSubtasks: _onAICreateSubtasks, onAIFindSimilar: _onAIFindSimilar, availableColumns, availableLabels, availableTags, onCreateTag, onUploadCoverImage: _onUploadCoverImage, unsplashAccessKey: _unsplashAccessKey, theme, onSubtasksChange, }: CardDetailModalV2Props): react_jsx_runtime.JSX.Element | null;
|
|
1591
|
+
declare function CardDetailModalV2({ card, isOpen, onClose, onUpdate, onDelete: _onDelete, availableUsers, comments, activities, onAddComment, onDeleteComment: _onDeleteComment, currentUser, onAIGenerateDescription: _onAIGenerateDescription, onAICreateSubtasks: _onAICreateSubtasks, onAIFindSimilar: _onAIFindSimilar, availableColumns, availableLabels, availableTags, onCreateTag, onUploadCoverImage: _onUploadCoverImage, unsplashAccessKey: _unsplashAccessKey, theme, onSubtasksChange, attachments, onUploadAttachments, onDeleteAttachment, }: CardDetailModalV2Props): react_jsx_runtime.JSX.Element | null;
|
|
1586
1592
|
|
|
1587
1593
|
interface AttachmentUploaderProps {
|
|
1588
1594
|
/** Card ID for attachments */
|
|
@@ -2295,8 +2301,11 @@ interface TaskFormModalProps {
|
|
|
2295
2301
|
customStatuses?: CustomStatus[];
|
|
2296
2302
|
availableTags?: TaskTag[];
|
|
2297
2303
|
onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
|
|
2304
|
+
attachments?: Attachment[];
|
|
2305
|
+
onUploadAttachments?: (taskId: string, files: File[]) => Promise<void> | void;
|
|
2306
|
+
onDeleteAttachment?: (attachmentId: string) => void;
|
|
2298
2307
|
}
|
|
2299
|
-
declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, customStatuses, availableTags, onCreateTag, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
|
|
2308
|
+
declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, customStatuses, availableTags, onCreateTag, attachments, onUploadAttachments, onDeleteAttachment, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
|
|
2300
2309
|
|
|
2301
2310
|
interface GanttAIAssistantProps {
|
|
2302
2311
|
/** All current tasks in the Gantt */
|
package/dist/index.d.ts
CHANGED
|
@@ -1581,8 +1581,14 @@ interface CardDetailModalV2Props {
|
|
|
1581
1581
|
theme?: 'dark' | 'light' | 'neutral';
|
|
1582
1582
|
/** Callback when subtasks are changed (for persistence) */
|
|
1583
1583
|
onSubtasksChange?: (cardId: string, subtasks: Subtask[]) => void;
|
|
1584
|
+
/** Attachments for this card */
|
|
1585
|
+
attachments?: Attachment[];
|
|
1586
|
+
/** Upload attachments callback */
|
|
1587
|
+
onUploadAttachments?: (cardId: string, files: File[]) => Promise<void> | void;
|
|
1588
|
+
/** Delete attachment callback */
|
|
1589
|
+
onDeleteAttachment?: (attachmentId: string) => void;
|
|
1584
1590
|
}
|
|
1585
|
-
declare function CardDetailModalV2({ card, isOpen, onClose, onUpdate, onDelete: _onDelete, availableUsers, comments, activities, onAddComment, onDeleteComment: _onDeleteComment, currentUser, onAIGenerateDescription: _onAIGenerateDescription, onAICreateSubtasks: _onAICreateSubtasks, onAIFindSimilar: _onAIFindSimilar, availableColumns, availableLabels, availableTags, onCreateTag, onUploadCoverImage: _onUploadCoverImage, unsplashAccessKey: _unsplashAccessKey, theme, onSubtasksChange, }: CardDetailModalV2Props): react_jsx_runtime.JSX.Element | null;
|
|
1591
|
+
declare function CardDetailModalV2({ card, isOpen, onClose, onUpdate, onDelete: _onDelete, availableUsers, comments, activities, onAddComment, onDeleteComment: _onDeleteComment, currentUser, onAIGenerateDescription: _onAIGenerateDescription, onAICreateSubtasks: _onAICreateSubtasks, onAIFindSimilar: _onAIFindSimilar, availableColumns, availableLabels, availableTags, onCreateTag, onUploadCoverImage: _onUploadCoverImage, unsplashAccessKey: _unsplashAccessKey, theme, onSubtasksChange, attachments, onUploadAttachments, onDeleteAttachment, }: CardDetailModalV2Props): react_jsx_runtime.JSX.Element | null;
|
|
1586
1592
|
|
|
1587
1593
|
interface AttachmentUploaderProps {
|
|
1588
1594
|
/** Card ID for attachments */
|
|
@@ -2295,8 +2301,11 @@ interface TaskFormModalProps {
|
|
|
2295
2301
|
customStatuses?: CustomStatus[];
|
|
2296
2302
|
availableTags?: TaskTag[];
|
|
2297
2303
|
onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
|
|
2304
|
+
attachments?: Attachment[];
|
|
2305
|
+
onUploadAttachments?: (taskId: string, files: File[]) => Promise<void> | void;
|
|
2306
|
+
onDeleteAttachment?: (attachmentId: string) => void;
|
|
2298
2307
|
}
|
|
2299
|
-
declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, customStatuses, availableTags, onCreateTag, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
|
|
2308
|
+
declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, customStatuses, availableTags, onCreateTag, attachments, onUploadAttachments, onDeleteAttachment, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
|
|
2300
2309
|
|
|
2301
2310
|
interface GanttAIAssistantProps {
|
|
2302
2311
|
/** All current tasks in the Gantt */
|