@libxai/board 1.7.0 → 1.8.0
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 +49 -49
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +49 -49
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4231,6 +4231,23 @@ interface ListViewProps {
|
|
|
4231
4231
|
toolbarRightContent?: ReactNode;
|
|
4232
4232
|
/** v2.5.0: Render content just before the Create Task button (e.g., share/export dropdown) */
|
|
4233
4233
|
toolbarEndContent?: ReactNode;
|
|
4234
|
+
/**
|
|
4235
|
+
* Fires when the user clicks anywhere on a column header. The consumer
|
|
4236
|
+
* renders its own dropdown (Sort + Filter + Hide) anchored to `anchorRect`.
|
|
4237
|
+
* If unset, the header keeps the legacy behavior (click on the sort icon
|
|
4238
|
+
* cycles asc/desc/clear).
|
|
4239
|
+
*/
|
|
4240
|
+
onColumnHeaderClick?: (columnId: string, anchorRect: DOMRect) => void;
|
|
4241
|
+
/**
|
|
4242
|
+
* IDs of columns that currently have an active filter applied. Each one
|
|
4243
|
+
* gets a small accent dot rendered next to its label.
|
|
4244
|
+
*/
|
|
4245
|
+
columnsWithFilter?: string[];
|
|
4246
|
+
/**
|
|
4247
|
+
* Color (hex / CSS) of the dot rendered for filtered columns. Defaults
|
|
4248
|
+
* to the brand cyan #00E5CC so consumers don't have to think about it.
|
|
4249
|
+
*/
|
|
4250
|
+
filterDotColor?: string;
|
|
4234
4251
|
}
|
|
4235
4252
|
/**
|
|
4236
4253
|
* Flattened task with hierarchy info
|
|
@@ -4267,7 +4284,7 @@ declare const CUSTOM_FIELD_TYPES: Array<{
|
|
|
4267
4284
|
/**
|
|
4268
4285
|
* Main ListView Component
|
|
4269
4286
|
*/
|
|
4270
|
-
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, availableUsers, customFields, toolbarRightContent, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
4287
|
+
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, availableUsers, customFields, toolbarRightContent, onColumnHeaderClick, columnsWithFilter, filterDotColor, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
4271
4288
|
|
|
4272
4289
|
/**
|
|
4273
4290
|
* ListView Themes
|
package/dist/index.d.ts
CHANGED
|
@@ -4231,6 +4231,23 @@ interface ListViewProps {
|
|
|
4231
4231
|
toolbarRightContent?: ReactNode;
|
|
4232
4232
|
/** v2.5.0: Render content just before the Create Task button (e.g., share/export dropdown) */
|
|
4233
4233
|
toolbarEndContent?: ReactNode;
|
|
4234
|
+
/**
|
|
4235
|
+
* Fires when the user clicks anywhere on a column header. The consumer
|
|
4236
|
+
* renders its own dropdown (Sort + Filter + Hide) anchored to `anchorRect`.
|
|
4237
|
+
* If unset, the header keeps the legacy behavior (click on the sort icon
|
|
4238
|
+
* cycles asc/desc/clear).
|
|
4239
|
+
*/
|
|
4240
|
+
onColumnHeaderClick?: (columnId: string, anchorRect: DOMRect) => void;
|
|
4241
|
+
/**
|
|
4242
|
+
* IDs of columns that currently have an active filter applied. Each one
|
|
4243
|
+
* gets a small accent dot rendered next to its label.
|
|
4244
|
+
*/
|
|
4245
|
+
columnsWithFilter?: string[];
|
|
4246
|
+
/**
|
|
4247
|
+
* Color (hex / CSS) of the dot rendered for filtered columns. Defaults
|
|
4248
|
+
* to the brand cyan #00E5CC so consumers don't have to think about it.
|
|
4249
|
+
*/
|
|
4250
|
+
filterDotColor?: string;
|
|
4234
4251
|
}
|
|
4235
4252
|
/**
|
|
4236
4253
|
* Flattened task with hierarchy info
|
|
@@ -4267,7 +4284,7 @@ declare const CUSTOM_FIELD_TYPES: Array<{
|
|
|
4267
4284
|
/**
|
|
4268
4285
|
* Main ListView Component
|
|
4269
4286
|
*/
|
|
4270
|
-
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, availableUsers, customFields, toolbarRightContent, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
4287
|
+
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, availableUsers, customFields, toolbarRightContent, onColumnHeaderClick, columnsWithFilter, filterDotColor, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
4271
4288
|
|
|
4272
4289
|
/**
|
|
4273
4290
|
* ListView Themes
|