@factorialco/f0-react 1.192.0 → 1.193.1

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.
@@ -3576,6 +3576,11 @@ declare type PropertyDefinition_2<T> = {
3576
3576
  * }
3577
3577
  */
3578
3578
  render: (item: T) => RendererDefinition | string | number | undefined;
3579
+ /**
3580
+ * Function that determines if the property should be hidden for a given item.
3581
+ * Should return true if the property should be hidden, false otherwise.
3582
+ */
3583
+ hide?: (item: T) => boolean;
3579
3584
  };
3580
3585
 
3581
3586
  declare type Props = {} & Pick<BaseHeaderProps, "avatar" | "title" | "description" | "primaryAction" | "secondaryActions" | "otherActions" | "metadata" | "status">;
@@ -4757,7 +4762,7 @@ export declare const WidgetStrip: ForwardRefExoticComponent<DashboardProps_2 & R
4757
4762
 
4758
4763
  declare type WidgetWidth = "sm" | "md" | "lg";
4759
4764
 
4760
- declare type WithOptionalSorting<R extends RecordType, Sortings extends SortingsDefinition> = PropertyDefinition_2<R> & {
4765
+ declare type WithOptionalSorting<R extends RecordType, Sortings extends SortingsDefinition> = Omit<PropertyDefinition_2<R>, "hide"> & {
4761
4766
  sorting?: SortingKey<Sortings>;
4762
4767
  /**
4763
4768
  * The alignment of the column. If not provided, the alignment will be "left"