@libxai/board 0.17.381 → 0.17.401

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
@@ -1937,6 +1937,20 @@ interface ThemeModalProps {
1937
1937
  }
1938
1938
  declare function ThemeModal({ isOpen, onClose, className }: ThemeModalProps): react_jsx_runtime.JSX.Element | null;
1939
1939
 
1940
+ /**
1941
+ * MentionInput Component
1942
+ * A textarea with @mention autocomplete functionality
1943
+ * @version 0.17.401
1944
+ */
1945
+ interface MentionUser {
1946
+ id: string;
1947
+ name: string;
1948
+ email?: string;
1949
+ avatar?: string;
1950
+ avatarUrl?: string;
1951
+ color?: string;
1952
+ }
1953
+
1940
1954
  type TaskOrCard = Task | Card$1;
1941
1955
  /** Comment type for activity panel */
1942
1956
  interface TaskComment {
@@ -1985,8 +1999,8 @@ interface TaskDetailModalProps {
1985
1999
  availableTasks?: Task[];
1986
2000
  /** v0.17.252: Comments for activity panel */
1987
2001
  comments?: TaskComment[];
1988
- /** v0.17.252: Callback to add a new comment */
1989
- onAddComment?: (taskId: string, content: string) => Promise<void>;
2002
+ /** v0.17.401: Callback to add a new comment (with optional mentionedUserIds) */
2003
+ onAddComment?: (taskId: string, content: string, mentionedUserIds?: string[]) => Promise<void>;
1990
2004
  /** v0.17.252: Current user info for displaying comments */
1991
2005
  currentUser?: {
1992
2006
  id: string;
@@ -1994,11 +2008,13 @@ interface TaskDetailModalProps {
1994
2008
  avatarUrl?: string;
1995
2009
  color?: string;
1996
2010
  };
2011
+ /** v0.17.401: Users available for @mentions in comments */
2012
+ mentionableUsers?: MentionUser[];
1997
2013
  }
1998
2014
  /**
1999
2015
  * TaskDetailModal - ClickUp style full-screen task detail
2000
2016
  */
2001
- declare function TaskDetailModal({ task, isOpen, onClose, onTaskUpdate, onCardUpdate, theme, locale, availableUsers, availableTags, onCreateTag, attachments, onUploadAttachments, onDeleteAttachment, availableTasks, comments, onAddComment, currentUser, }: TaskDetailModalProps): react_jsx_runtime.JSX.Element | null;
2017
+ declare function TaskDetailModal({ task, isOpen, onClose, onTaskUpdate, onCardUpdate, theme, locale, availableUsers, availableTags, onCreateTag, attachments, onUploadAttachments, onDeleteAttachment, availableTasks, comments, onAddComment, currentUser, mentionableUsers, }: TaskDetailModalProps): react_jsx_runtime.JSX.Element | null;
2002
2018
 
2003
2019
  /**
2004
2020
  * GanttBoardRef - Imperative API for GanttBoard component
@@ -2261,6 +2277,7 @@ interface TimelineProps {
2261
2277
  startDate: Date;
2262
2278
  endDate: Date;
2263
2279
  zoom: number;
2280
+ locale?: string;
2264
2281
  templates: Required<GanttTemplates>;
2265
2282
  dependencyLineStyle?: DependencyLineStyle;
2266
2283
  onTaskClick?: (task: Task) => void;
@@ -2277,7 +2294,8 @@ interface TaskPosition {
2277
2294
  width: number;
2278
2295
  height: number;
2279
2296
  }
2280
- declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, startDate, endDate, zoom, templates, dependencyLineStyle, // v0.17.310
2297
+ declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, startDate, endDate, zoom, locale, // v0.17.400: Default to English
2298
+ templates, dependencyLineStyle, // v0.17.310
2281
2299
  onTaskClick, onTaskDblClick, // v0.8.0
2282
2300
  onTaskContextMenu, // v0.8.0
2283
2301
  onTaskDateChange, onDependencyCreate, onDependencyDelete, }: TimelineProps): react_jsx_runtime.JSX.Element;
@@ -2979,6 +2997,8 @@ interface GanttTranslations {
2979
2997
  loading: string;
2980
2998
  error: string;
2981
2999
  today: string;
3000
+ week: string;
3001
+ clickToSetDates: string;
2982
3002
  };
2983
3003
  ai: {
2984
3004
  placeholder: string;
package/dist/index.d.ts CHANGED
@@ -1937,6 +1937,20 @@ interface ThemeModalProps {
1937
1937
  }
1938
1938
  declare function ThemeModal({ isOpen, onClose, className }: ThemeModalProps): react_jsx_runtime.JSX.Element | null;
1939
1939
 
1940
+ /**
1941
+ * MentionInput Component
1942
+ * A textarea with @mention autocomplete functionality
1943
+ * @version 0.17.401
1944
+ */
1945
+ interface MentionUser {
1946
+ id: string;
1947
+ name: string;
1948
+ email?: string;
1949
+ avatar?: string;
1950
+ avatarUrl?: string;
1951
+ color?: string;
1952
+ }
1953
+
1940
1954
  type TaskOrCard = Task | Card$1;
1941
1955
  /** Comment type for activity panel */
1942
1956
  interface TaskComment {
@@ -1985,8 +1999,8 @@ interface TaskDetailModalProps {
1985
1999
  availableTasks?: Task[];
1986
2000
  /** v0.17.252: Comments for activity panel */
1987
2001
  comments?: TaskComment[];
1988
- /** v0.17.252: Callback to add a new comment */
1989
- onAddComment?: (taskId: string, content: string) => Promise<void>;
2002
+ /** v0.17.401: Callback to add a new comment (with optional mentionedUserIds) */
2003
+ onAddComment?: (taskId: string, content: string, mentionedUserIds?: string[]) => Promise<void>;
1990
2004
  /** v0.17.252: Current user info for displaying comments */
1991
2005
  currentUser?: {
1992
2006
  id: string;
@@ -1994,11 +2008,13 @@ interface TaskDetailModalProps {
1994
2008
  avatarUrl?: string;
1995
2009
  color?: string;
1996
2010
  };
2011
+ /** v0.17.401: Users available for @mentions in comments */
2012
+ mentionableUsers?: MentionUser[];
1997
2013
  }
1998
2014
  /**
1999
2015
  * TaskDetailModal - ClickUp style full-screen task detail
2000
2016
  */
2001
- declare function TaskDetailModal({ task, isOpen, onClose, onTaskUpdate, onCardUpdate, theme, locale, availableUsers, availableTags, onCreateTag, attachments, onUploadAttachments, onDeleteAttachment, availableTasks, comments, onAddComment, currentUser, }: TaskDetailModalProps): react_jsx_runtime.JSX.Element | null;
2017
+ declare function TaskDetailModal({ task, isOpen, onClose, onTaskUpdate, onCardUpdate, theme, locale, availableUsers, availableTags, onCreateTag, attachments, onUploadAttachments, onDeleteAttachment, availableTasks, comments, onAddComment, currentUser, mentionableUsers, }: TaskDetailModalProps): react_jsx_runtime.JSX.Element | null;
2002
2018
 
2003
2019
  /**
2004
2020
  * GanttBoardRef - Imperative API for GanttBoard component
@@ -2261,6 +2277,7 @@ interface TimelineProps {
2261
2277
  startDate: Date;
2262
2278
  endDate: Date;
2263
2279
  zoom: number;
2280
+ locale?: string;
2264
2281
  templates: Required<GanttTemplates>;
2265
2282
  dependencyLineStyle?: DependencyLineStyle;
2266
2283
  onTaskClick?: (task: Task) => void;
@@ -2277,7 +2294,8 @@ interface TaskPosition {
2277
2294
  width: number;
2278
2295
  height: number;
2279
2296
  }
2280
- declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, startDate, endDate, zoom, templates, dependencyLineStyle, // v0.17.310
2297
+ declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, startDate, endDate, zoom, locale, // v0.17.400: Default to English
2298
+ templates, dependencyLineStyle, // v0.17.310
2281
2299
  onTaskClick, onTaskDblClick, // v0.8.0
2282
2300
  onTaskContextMenu, // v0.8.0
2283
2301
  onTaskDateChange, onDependencyCreate, onDependencyDelete, }: TimelineProps): react_jsx_runtime.JSX.Element;
@@ -2979,6 +2997,8 @@ interface GanttTranslations {
2979
2997
  loading: string;
2980
2998
  error: string;
2981
2999
  today: string;
3000
+ week: string;
3001
+ clickToSetDates: string;
2982
3002
  };
2983
3003
  ai: {
2984
3004
  placeholder: string;