@libxai/board 0.18.12 → 0.18.14
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 +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -864,6 +864,14 @@ interface KanbanBoardProps {
|
|
|
864
864
|
color?: string;
|
|
865
865
|
}>;
|
|
866
866
|
onTaskOpen?: (taskId: string) => void;
|
|
867
|
+
/** v0.18.13: Callback to upload attachments to comments (enables attachment icon in comment input) */
|
|
868
|
+
onUploadCommentAttachments?: (files: File[]) => Promise<Array<{
|
|
869
|
+
id: string;
|
|
870
|
+
url: string;
|
|
871
|
+
name: string;
|
|
872
|
+
type: string;
|
|
873
|
+
size: number;
|
|
874
|
+
}>>;
|
|
867
875
|
}
|
|
868
876
|
/**
|
|
869
877
|
* Drag event data
|
|
@@ -1234,7 +1242,7 @@ declare class KanbanViewAdapter extends BaseViewAdapter<ViewBoardData> {
|
|
|
1234
1242
|
*/
|
|
1235
1243
|
declare function createKanbanView(config?: KanbanViewConfig): KanbanViewAdapter;
|
|
1236
1244
|
|
|
1237
|
-
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, comments, onAddComment, currentUser, mentionableUsers, onTaskOpen, }: KanbanBoardProps & {
|
|
1245
|
+
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, comments, onAddComment, currentUser, mentionableUsers, onTaskOpen, onUploadCommentAttachments, }: KanbanBoardProps & {
|
|
1238
1246
|
children?: React.ReactNode;
|
|
1239
1247
|
}): react_jsx_runtime.JSX.Element;
|
|
1240
1248
|
|
package/dist/index.d.ts
CHANGED
|
@@ -864,6 +864,14 @@ interface KanbanBoardProps {
|
|
|
864
864
|
color?: string;
|
|
865
865
|
}>;
|
|
866
866
|
onTaskOpen?: (taskId: string) => void;
|
|
867
|
+
/** v0.18.13: Callback to upload attachments to comments (enables attachment icon in comment input) */
|
|
868
|
+
onUploadCommentAttachments?: (files: File[]) => Promise<Array<{
|
|
869
|
+
id: string;
|
|
870
|
+
url: string;
|
|
871
|
+
name: string;
|
|
872
|
+
type: string;
|
|
873
|
+
size: number;
|
|
874
|
+
}>>;
|
|
867
875
|
}
|
|
868
876
|
/**
|
|
869
877
|
* Drag event data
|
|
@@ -1234,7 +1242,7 @@ declare class KanbanViewAdapter extends BaseViewAdapter<ViewBoardData> {
|
|
|
1234
1242
|
*/
|
|
1235
1243
|
declare function createKanbanView(config?: KanbanViewConfig): KanbanViewAdapter;
|
|
1236
1244
|
|
|
1237
|
-
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, comments, onAddComment, currentUser, mentionableUsers, onTaskOpen, }: KanbanBoardProps & {
|
|
1245
|
+
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, comments, onAddComment, currentUser, mentionableUsers, onTaskOpen, onUploadCommentAttachments, }: KanbanBoardProps & {
|
|
1238
1246
|
children?: React.ReactNode;
|
|
1239
1247
|
}): react_jsx_runtime.JSX.Element;
|
|
1240
1248
|
|