@libxai/board 0.17.241 → 0.17.242
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 +42 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +42 -42
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -790,6 +790,12 @@ interface KanbanBoardProps {
|
|
|
790
790
|
availableTags?: TaskTag[];
|
|
791
791
|
/** Callback to create a new tag */
|
|
792
792
|
onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
|
|
793
|
+
/** v0.17.241: Attachments map by card ID (for modal display) */
|
|
794
|
+
attachmentsByCard?: Map<string, Attachment[]>;
|
|
795
|
+
/** v0.17.241: Callback when files are dropped/selected for upload */
|
|
796
|
+
onUploadAttachments?: (cardId: string, files: File[]) => Promise<void>;
|
|
797
|
+
/** v0.17.241: Callback to delete an attachment */
|
|
798
|
+
onDeleteAttachment?: (attachmentId: string) => Promise<void>;
|
|
793
799
|
}
|
|
794
800
|
/**
|
|
795
801
|
* Drag event data
|
|
@@ -1160,7 +1166,7 @@ declare class KanbanViewAdapter extends BaseViewAdapter<ViewBoardData> {
|
|
|
1160
1166
|
*/
|
|
1161
1167
|
declare function createKanbanView(config?: KanbanViewConfig): KanbanViewAdapter;
|
|
1162
1168
|
|
|
1163
|
-
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, }: KanbanBoardProps & {
|
|
1169
|
+
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, }: KanbanBoardProps & {
|
|
1164
1170
|
children?: React.ReactNode;
|
|
1165
1171
|
}): react_jsx_runtime.JSX.Element;
|
|
1166
1172
|
|
package/dist/index.d.ts
CHANGED
|
@@ -790,6 +790,12 @@ interface KanbanBoardProps {
|
|
|
790
790
|
availableTags?: TaskTag[];
|
|
791
791
|
/** Callback to create a new tag */
|
|
792
792
|
onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
|
|
793
|
+
/** v0.17.241: Attachments map by card ID (for modal display) */
|
|
794
|
+
attachmentsByCard?: Map<string, Attachment[]>;
|
|
795
|
+
/** v0.17.241: Callback when files are dropped/selected for upload */
|
|
796
|
+
onUploadAttachments?: (cardId: string, files: File[]) => Promise<void>;
|
|
797
|
+
/** v0.17.241: Callback to delete an attachment */
|
|
798
|
+
onDeleteAttachment?: (attachmentId: string) => Promise<void>;
|
|
793
799
|
}
|
|
794
800
|
/**
|
|
795
801
|
* Drag event data
|
|
@@ -1160,7 +1166,7 @@ declare class KanbanViewAdapter extends BaseViewAdapter<ViewBoardData> {
|
|
|
1160
1166
|
*/
|
|
1161
1167
|
declare function createKanbanView(config?: KanbanViewConfig): KanbanViewAdapter;
|
|
1162
1168
|
|
|
1163
|
-
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, }: KanbanBoardProps & {
|
|
1169
|
+
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, }: KanbanBoardProps & {
|
|
1164
1170
|
children?: React.ReactNode;
|
|
1165
1171
|
}): react_jsx_runtime.JSX.Element;
|
|
1166
1172
|
|