@libxai/board 0.17.401 → 0.17.403
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 +62 -62
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -4
- package/dist/index.d.ts +21 -4
- package/dist/index.js +62 -62
- package/dist/index.js.map +1 -1
- package/dist/styles.css +6 -0
- package/package.json +141 -141
package/dist/index.d.cts
CHANGED
|
@@ -824,7 +824,7 @@ interface KanbanBoardProps {
|
|
|
824
824
|
};
|
|
825
825
|
}>;
|
|
826
826
|
/** v0.17.254: Callback to add a comment */
|
|
827
|
-
onAddComment?: (taskId: string, content: string) => Promise<void>;
|
|
827
|
+
onAddComment?: (taskId: string, content: string, mentionedUserIds?: string[]) => Promise<void>;
|
|
828
828
|
/** v0.17.254: Current user info for comment input */
|
|
829
829
|
currentUser?: {
|
|
830
830
|
id: string;
|
|
@@ -833,6 +833,14 @@ interface KanbanBoardProps {
|
|
|
833
833
|
color?: string;
|
|
834
834
|
};
|
|
835
835
|
/** v0.17.254: Callback when task is opened in modal (to load comments) */
|
|
836
|
+
/** v0.17.401: Users available for @mentions in comments */
|
|
837
|
+
mentionableUsers?: Array<{
|
|
838
|
+
id: string;
|
|
839
|
+
name: string;
|
|
840
|
+
email?: string;
|
|
841
|
+
avatar?: string;
|
|
842
|
+
color?: string;
|
|
843
|
+
}>;
|
|
836
844
|
onTaskOpen?: (taskId: string) => void;
|
|
837
845
|
}
|
|
838
846
|
/**
|
|
@@ -1204,7 +1212,7 @@ declare class KanbanViewAdapter extends BaseViewAdapter<ViewBoardData> {
|
|
|
1204
1212
|
*/
|
|
1205
1213
|
declare function createKanbanView(config?: KanbanViewConfig): KanbanViewAdapter;
|
|
1206
1214
|
|
|
1207
|
-
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, comments, onAddComment, currentUser, onTaskOpen, }: KanbanBoardProps & {
|
|
1215
|
+
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 & {
|
|
1208
1216
|
children?: React.ReactNode;
|
|
1209
1217
|
}): react_jsx_runtime.JSX.Element;
|
|
1210
1218
|
|
|
@@ -3610,7 +3618,7 @@ interface CalendarBoardProps {
|
|
|
3610
3618
|
};
|
|
3611
3619
|
}>;
|
|
3612
3620
|
/** v0.17.254: Callback to add a comment */
|
|
3613
|
-
onAddComment?: (taskId: string, content: string) => Promise<void>;
|
|
3621
|
+
onAddComment?: (taskId: string, content: string, mentionedUserIds?: string[]) => Promise<void>;
|
|
3614
3622
|
/** v0.17.254: Current user info for comment input */
|
|
3615
3623
|
currentUser?: {
|
|
3616
3624
|
id: string;
|
|
@@ -3619,13 +3627,22 @@ interface CalendarBoardProps {
|
|
|
3619
3627
|
color?: string;
|
|
3620
3628
|
};
|
|
3621
3629
|
/** v0.17.254: Callback when task is opened in modal (to load comments) */
|
|
3630
|
+
/** v0.17.401: Users available for @mentions in comments */
|
|
3631
|
+
mentionableUsers?: Array<{
|
|
3632
|
+
id: string;
|
|
3633
|
+
name: string;
|
|
3634
|
+
email?: string;
|
|
3635
|
+
avatar?: string;
|
|
3636
|
+
color?: string;
|
|
3637
|
+
}>;
|
|
3622
3638
|
onTaskOpen?: (taskId: string) => void;
|
|
3623
3639
|
}
|
|
3624
3640
|
|
|
3625
3641
|
/**
|
|
3626
3642
|
* Main CalendarBoard Component
|
|
3627
3643
|
*/
|
|
3628
|
-
declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, attachmentsByTask, comments, onAddComment, currentUser,
|
|
3644
|
+
declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, attachmentsByTask, comments, onAddComment, currentUser, mentionableUsers: _mentionableUsers, // TODO: Implement MentionInput in CalendarBoard
|
|
3645
|
+
onTaskOpen, }: CalendarBoardProps): react_jsx_runtime.JSX.Element;
|
|
3629
3646
|
|
|
3630
3647
|
/**
|
|
3631
3648
|
* CalendarBoard Themes
|
package/dist/index.d.ts
CHANGED
|
@@ -824,7 +824,7 @@ interface KanbanBoardProps {
|
|
|
824
824
|
};
|
|
825
825
|
}>;
|
|
826
826
|
/** v0.17.254: Callback to add a comment */
|
|
827
|
-
onAddComment?: (taskId: string, content: string) => Promise<void>;
|
|
827
|
+
onAddComment?: (taskId: string, content: string, mentionedUserIds?: string[]) => Promise<void>;
|
|
828
828
|
/** v0.17.254: Current user info for comment input */
|
|
829
829
|
currentUser?: {
|
|
830
830
|
id: string;
|
|
@@ -833,6 +833,14 @@ interface KanbanBoardProps {
|
|
|
833
833
|
color?: string;
|
|
834
834
|
};
|
|
835
835
|
/** v0.17.254: Callback when task is opened in modal (to load comments) */
|
|
836
|
+
/** v0.17.401: Users available for @mentions in comments */
|
|
837
|
+
mentionableUsers?: Array<{
|
|
838
|
+
id: string;
|
|
839
|
+
name: string;
|
|
840
|
+
email?: string;
|
|
841
|
+
avatar?: string;
|
|
842
|
+
color?: string;
|
|
843
|
+
}>;
|
|
836
844
|
onTaskOpen?: (taskId: string) => void;
|
|
837
845
|
}
|
|
838
846
|
/**
|
|
@@ -1204,7 +1212,7 @@ declare class KanbanViewAdapter extends BaseViewAdapter<ViewBoardData> {
|
|
|
1204
1212
|
*/
|
|
1205
1213
|
declare function createKanbanView(config?: KanbanViewConfig): KanbanViewAdapter;
|
|
1206
1214
|
|
|
1207
|
-
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, comments, onAddComment, currentUser, onTaskOpen, }: KanbanBoardProps & {
|
|
1215
|
+
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 & {
|
|
1208
1216
|
children?: React.ReactNode;
|
|
1209
1217
|
}): react_jsx_runtime.JSX.Element;
|
|
1210
1218
|
|
|
@@ -3610,7 +3618,7 @@ interface CalendarBoardProps {
|
|
|
3610
3618
|
};
|
|
3611
3619
|
}>;
|
|
3612
3620
|
/** v0.17.254: Callback to add a comment */
|
|
3613
|
-
onAddComment?: (taskId: string, content: string) => Promise<void>;
|
|
3621
|
+
onAddComment?: (taskId: string, content: string, mentionedUserIds?: string[]) => Promise<void>;
|
|
3614
3622
|
/** v0.17.254: Current user info for comment input */
|
|
3615
3623
|
currentUser?: {
|
|
3616
3624
|
id: string;
|
|
@@ -3619,13 +3627,22 @@ interface CalendarBoardProps {
|
|
|
3619
3627
|
color?: string;
|
|
3620
3628
|
};
|
|
3621
3629
|
/** v0.17.254: Callback when task is opened in modal (to load comments) */
|
|
3630
|
+
/** v0.17.401: Users available for @mentions in comments */
|
|
3631
|
+
mentionableUsers?: Array<{
|
|
3632
|
+
id: string;
|
|
3633
|
+
name: string;
|
|
3634
|
+
email?: string;
|
|
3635
|
+
avatar?: string;
|
|
3636
|
+
color?: string;
|
|
3637
|
+
}>;
|
|
3622
3638
|
onTaskOpen?: (taskId: string) => void;
|
|
3623
3639
|
}
|
|
3624
3640
|
|
|
3625
3641
|
/**
|
|
3626
3642
|
* Main CalendarBoard Component
|
|
3627
3643
|
*/
|
|
3628
|
-
declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, attachmentsByTask, comments, onAddComment, currentUser,
|
|
3644
|
+
declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, attachmentsByTask, comments, onAddComment, currentUser, mentionableUsers: _mentionableUsers, // TODO: Implement MentionInput in CalendarBoard
|
|
3645
|
+
onTaskOpen, }: CalendarBoardProps): react_jsx_runtime.JSX.Element;
|
|
3629
3646
|
|
|
3630
3647
|
/**
|
|
3631
3648
|
* CalendarBoard Themes
|