@libxai/board 0.17.52 → 0.17.54
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 +59 -59
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -9
- package/dist/index.d.ts +10 -9
- package/dist/index.js +59 -59
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -928,12 +928,6 @@ interface ColumnProps {
|
|
|
928
928
|
onToggleCollapse?: () => void;
|
|
929
929
|
/** Column rename handler */
|
|
930
930
|
onColumnRename?: (columnId: string, newTitle: string) => void;
|
|
931
|
-
/** v0.17.49: Add card handler - when provided, shows AddCardButton at bottom of column */
|
|
932
|
-
onAddCard?: (data: AddCardData) => void | Promise<void>;
|
|
933
|
-
/** v0.17.49: Theme for AddCardButton */
|
|
934
|
-
theme?: 'light' | 'dark';
|
|
935
|
-
/** v0.17.49: Locale for AddCardButton */
|
|
936
|
-
locale?: 'en' | 'es';
|
|
937
931
|
/** Custom className */
|
|
938
932
|
className?: string;
|
|
939
933
|
}
|
|
@@ -1490,7 +1484,7 @@ interface Task {
|
|
|
1490
1484
|
initials: string;
|
|
1491
1485
|
color: string;
|
|
1492
1486
|
}>;
|
|
1493
|
-
status?:
|
|
1487
|
+
status?: string;
|
|
1494
1488
|
dependencies?: string[];
|
|
1495
1489
|
subtasks?: Task[];
|
|
1496
1490
|
isExpanded?: boolean;
|
|
@@ -2219,13 +2213,18 @@ declare const MenuIcons: {
|
|
|
2219
2213
|
};
|
|
2220
2214
|
|
|
2221
2215
|
type TaskPriority = 'low' | 'medium' | 'high' | 'urgent';
|
|
2216
|
+
interface CustomStatus {
|
|
2217
|
+
id: string;
|
|
2218
|
+
title: string;
|
|
2219
|
+
color?: string;
|
|
2220
|
+
}
|
|
2222
2221
|
interface TaskFormData {
|
|
2223
2222
|
name: string;
|
|
2224
2223
|
description?: string;
|
|
2225
2224
|
startDate?: Date;
|
|
2226
2225
|
endDate?: Date;
|
|
2227
2226
|
progress: number;
|
|
2228
|
-
status:
|
|
2227
|
+
status: string;
|
|
2229
2228
|
priority?: TaskPriority;
|
|
2230
2229
|
isMilestone: boolean;
|
|
2231
2230
|
color?: string;
|
|
@@ -2260,8 +2259,10 @@ interface TaskFormModalProps {
|
|
|
2260
2259
|
mode?: 'create' | 'edit';
|
|
2261
2260
|
/** Theme: dark, light, or neutral (zen) */
|
|
2262
2261
|
theme?: Theme$1;
|
|
2262
|
+
/** v0.17.54: Custom statuses from Kanban columns */
|
|
2263
|
+
customStatuses?: CustomStatus[];
|
|
2263
2264
|
}
|
|
2264
|
-
declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
|
|
2265
|
+
declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, customStatuses, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
|
|
2265
2266
|
|
|
2266
2267
|
interface GanttAIAssistantProps {
|
|
2267
2268
|
/** All current tasks in the Gantt */
|
package/dist/index.d.ts
CHANGED
|
@@ -928,12 +928,6 @@ interface ColumnProps {
|
|
|
928
928
|
onToggleCollapse?: () => void;
|
|
929
929
|
/** Column rename handler */
|
|
930
930
|
onColumnRename?: (columnId: string, newTitle: string) => void;
|
|
931
|
-
/** v0.17.49: Add card handler - when provided, shows AddCardButton at bottom of column */
|
|
932
|
-
onAddCard?: (data: AddCardData) => void | Promise<void>;
|
|
933
|
-
/** v0.17.49: Theme for AddCardButton */
|
|
934
|
-
theme?: 'light' | 'dark';
|
|
935
|
-
/** v0.17.49: Locale for AddCardButton */
|
|
936
|
-
locale?: 'en' | 'es';
|
|
937
931
|
/** Custom className */
|
|
938
932
|
className?: string;
|
|
939
933
|
}
|
|
@@ -1490,7 +1484,7 @@ interface Task {
|
|
|
1490
1484
|
initials: string;
|
|
1491
1485
|
color: string;
|
|
1492
1486
|
}>;
|
|
1493
|
-
status?:
|
|
1487
|
+
status?: string;
|
|
1494
1488
|
dependencies?: string[];
|
|
1495
1489
|
subtasks?: Task[];
|
|
1496
1490
|
isExpanded?: boolean;
|
|
@@ -2219,13 +2213,18 @@ declare const MenuIcons: {
|
|
|
2219
2213
|
};
|
|
2220
2214
|
|
|
2221
2215
|
type TaskPriority = 'low' | 'medium' | 'high' | 'urgent';
|
|
2216
|
+
interface CustomStatus {
|
|
2217
|
+
id: string;
|
|
2218
|
+
title: string;
|
|
2219
|
+
color?: string;
|
|
2220
|
+
}
|
|
2222
2221
|
interface TaskFormData {
|
|
2223
2222
|
name: string;
|
|
2224
2223
|
description?: string;
|
|
2225
2224
|
startDate?: Date;
|
|
2226
2225
|
endDate?: Date;
|
|
2227
2226
|
progress: number;
|
|
2228
|
-
status:
|
|
2227
|
+
status: string;
|
|
2229
2228
|
priority?: TaskPriority;
|
|
2230
2229
|
isMilestone: boolean;
|
|
2231
2230
|
color?: string;
|
|
@@ -2260,8 +2259,10 @@ interface TaskFormModalProps {
|
|
|
2260
2259
|
mode?: 'create' | 'edit';
|
|
2261
2260
|
/** Theme: dark, light, or neutral (zen) */
|
|
2262
2261
|
theme?: Theme$1;
|
|
2262
|
+
/** v0.17.54: Custom statuses from Kanban columns */
|
|
2263
|
+
customStatuses?: CustomStatus[];
|
|
2263
2264
|
}
|
|
2264
|
-
declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
|
|
2265
|
+
declare function TaskFormModal({ isOpen, onClose, task, availableTasks, availableUsers, onSubmit, isLoading, mode, theme, customStatuses, }: TaskFormModalProps): react_jsx_runtime.JSX.Element;
|
|
2265
2266
|
|
|
2266
2267
|
interface GanttAIAssistantProps {
|
|
2267
2268
|
/** All current tasks in the Gantt */
|