@factorialco/f0-react 1.394.1 → 1.395.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/f0.d.ts CHANGED
@@ -7189,6 +7189,8 @@ declare type RecordPathValue<T, P extends string> = P extends keyof T ? T[P] : P
7189
7189
  */
7190
7190
  export declare type RecordType = Record<string, unknown>;
7191
7191
 
7192
+ declare type ReferenceType = "none" | "striped";
7193
+
7192
7194
  declare type RegularAction = BaseAction & {
7193
7195
  type: "regular";
7194
7196
  variant: ButtonVariant;
@@ -7649,6 +7651,11 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
7649
7651
  * Allow users to hide columns (you can define especifcally non hiddable columns in col props, also frozen columns are not hiddable)
7650
7652
  */
7651
7653
  allowColumnHiding?: boolean;
7654
+ /**
7655
+ * Marks one or more rows as reference rows.
7656
+ * Reference rows are rendered with a slanted background pattern across the full row.
7657
+ */
7658
+ referenceRowType?: (item: R) => ReferenceType;
7652
7659
  };
7653
7660
 
7654
7661
  declare type TableVisualizationSettings = {
@@ -8764,11 +8771,16 @@ declare module "gridstack" {
8764
8771
  }
8765
8772
 
8766
8773
 
8774
+ declare namespace Calendar {
8775
+ var displayName: string;
8776
+ }
8777
+
8778
+
8767
8779
  declare module "@tiptap/core" {
8768
8780
  interface Commands<ReturnType> {
8769
- enhanceHighlight: {
8770
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8771
- clearEnhanceHighlight: () => ReturnType;
8781
+ aiBlock: {
8782
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8783
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8772
8784
  };
8773
8785
  }
8774
8786
  }
@@ -8776,9 +8788,9 @@ declare module "@tiptap/core" {
8776
8788
 
8777
8789
  declare module "@tiptap/core" {
8778
8790
  interface Commands<ReturnType> {
8779
- aiBlock: {
8780
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8781
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8791
+ enhanceHighlight: {
8792
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8793
+ clearEnhanceHighlight: () => ReturnType;
8782
8794
  };
8783
8795
  }
8784
8796
  }
@@ -8811,8 +8823,3 @@ declare module "@tiptap/core" {
8811
8823
  };
8812
8824
  }
8813
8825
  }
8814
-
8815
-
8816
- declare namespace Calendar {
8817
- var displayName: string;
8818
- }
@@ -646,11 +646,16 @@ declare module "gridstack" {
646
646
  }
647
647
 
648
648
 
649
+ declare namespace Calendar {
650
+ var displayName: string;
651
+ }
652
+
653
+
649
654
  declare module "@tiptap/core" {
650
655
  interface Commands<ReturnType> {
651
- enhanceHighlight: {
652
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
653
- clearEnhanceHighlight: () => ReturnType;
656
+ aiBlock: {
657
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
658
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
654
659
  };
655
660
  }
656
661
  }
@@ -658,9 +663,9 @@ declare module "@tiptap/core" {
658
663
 
659
664
  declare module "@tiptap/core" {
660
665
  interface Commands<ReturnType> {
661
- aiBlock: {
662
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
663
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
666
+ enhanceHighlight: {
667
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
668
+ clearEnhanceHighlight: () => ReturnType;
664
669
  };
665
670
  }
666
671
  }
@@ -693,8 +698,3 @@ declare module "@tiptap/core" {
693
698
  };
694
699
  }
695
700
  }
696
-
697
-
698
- declare namespace Calendar {
699
- var displayName: string;
700
- }