@libxai/board 0.17.231 → 0.17.233
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 +33 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +33 -33
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -786,6 +786,10 @@ interface KanbanBoardProps {
|
|
|
786
786
|
isLoading?: boolean;
|
|
787
787
|
/** Error state */
|
|
788
788
|
error?: Error | string;
|
|
789
|
+
/** Available tags in workspace for selection */
|
|
790
|
+
availableTags?: TaskTag[];
|
|
791
|
+
/** Callback to create a new tag */
|
|
792
|
+
onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
|
|
789
793
|
}
|
|
790
794
|
/**
|
|
791
795
|
* Drag event data
|
|
@@ -1156,7 +1160,7 @@ declare class KanbanViewAdapter extends BaseViewAdapter<ViewBoardData> {
|
|
|
1156
1160
|
*/
|
|
1157
1161
|
declare function createKanbanView(config?: KanbanViewConfig): KanbanViewAdapter;
|
|
1158
1162
|
|
|
1159
|
-
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, }: KanbanBoardProps & {
|
|
1163
|
+
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, }: KanbanBoardProps & {
|
|
1160
1164
|
children?: React.ReactNode;
|
|
1161
1165
|
}): react_jsx_runtime.JSX.Element;
|
|
1162
1166
|
|
package/dist/index.d.ts
CHANGED
|
@@ -786,6 +786,10 @@ interface KanbanBoardProps {
|
|
|
786
786
|
isLoading?: boolean;
|
|
787
787
|
/** Error state */
|
|
788
788
|
error?: Error | string;
|
|
789
|
+
/** Available tags in workspace for selection */
|
|
790
|
+
availableTags?: TaskTag[];
|
|
791
|
+
/** Callback to create a new tag */
|
|
792
|
+
onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
|
|
789
793
|
}
|
|
790
794
|
/**
|
|
791
795
|
* Drag event data
|
|
@@ -1156,7 +1160,7 @@ declare class KanbanViewAdapter extends BaseViewAdapter<ViewBoardData> {
|
|
|
1156
1160
|
*/
|
|
1157
1161
|
declare function createKanbanView(config?: KanbanViewConfig): KanbanViewAdapter;
|
|
1158
1162
|
|
|
1159
|
-
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, }: KanbanBoardProps & {
|
|
1163
|
+
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, }: KanbanBoardProps & {
|
|
1160
1164
|
children?: React.ReactNode;
|
|
1161
1165
|
}): react_jsx_runtime.JSX.Element;
|
|
1162
1166
|
|