@factorialco/f0-react 1.219.0 → 1.221.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.
@@ -1359,6 +1359,8 @@ export declare type DataCollectionSourceDefinition<R extends RecordType = Record
1359
1359
  /** Bulk actions that can be performed on the collection */
1360
1360
  bulkActions?: BulkActionsDefinition<R, Filters>;
1361
1361
  totalItemSummary?: (totalItems: number) => string;
1362
+ /** Item filter that can be used to filter the items before they are displayed */
1363
+ itemPreFilter?: (item: R) => boolean;
1362
1364
  /** Lanes configuration */
1363
1365
  lanes?: ReadonlyArray<Lane<Filters>>;
1364
1366
  };
@@ -1439,6 +1441,8 @@ export declare type DataSource<R extends RecordType, Filters extends FiltersDefi
1439
1441
  setCurrentGrouping: React.Dispatch<React.SetStateAction<GroupingState<R, Grouping>>>;
1440
1442
  /** Function to provide an id for a record, necessary for append mode */
1441
1443
  idProvider?: <Item extends R>(item: Item, index?: number) => string | number | symbol;
1444
+ /** Item filter that can be used to filter the items before they are displayed */
1445
+ itemPreFilter?: (item: R) => boolean;
1442
1446
  };
1443
1447
 
1444
1448
  /**
@@ -4795,6 +4799,10 @@ export declare const TwoColumnsList: ForwardRefExoticComponent<TwoColumnsListTyp
4795
4799
  declare interface TwoColumnsListType {
4796
4800
  title?: string;
4797
4801
  titleValue?: string;
4802
+ titleTooltip?: {
4803
+ label?: string;
4804
+ description: string;
4805
+ };
4798
4806
  list: TwoColumnsItemType[];
4799
4807
  }
4800
4808