@factorialco/f0-react 1.183.0 → 1.185.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.
@@ -1142,6 +1142,8 @@ declare type CompareToDef = {
1142
1142
  } | ((value: DateRangeComplete) => DateRangeComplete | DateRangeComplete[]);
1143
1143
  };
1144
1144
 
1145
+ declare type CompareToDefKey = string;
1146
+
1145
1147
  declare type Content = (ComponentProps<typeof DataList.Item> & {
1146
1148
  type: "item";
1147
1149
  }) | (ComponentProps<typeof DataList.PersonItem> & {
@@ -3019,7 +3021,7 @@ export declare const OneDataCollection: <Record extends RecordType, Filters exte
3019
3021
  fullHeight?: boolean;
3020
3022
  }) => JSX.Element;
3021
3023
 
3022
- export declare function OneDateNavigator({ onSelect, defaultValue, presets, granularities, hideNavigation, hideGoToCurrent, compareTo, onCompareToChange, ...props }: OneDatePickerProps): JSX_2.Element;
3024
+ export declare function OneDateNavigator({ onSelect, defaultValue, presets, granularities, hideNavigation, hideGoToCurrent, compareTo, defaultCompareTo, onCompareToChange, ...props }: OneDatePickerProps): JSX_2.Element;
3023
3025
 
3024
3026
  declare interface OneDatePickerPopupProps {
3025
3027
  onSelect?: (value: DatePickerValue | undefined) => void;
@@ -3035,6 +3037,7 @@ declare interface OneDatePickerPopupProps {
3035
3037
  open?: boolean;
3036
3038
  onOpenChange?: (open: boolean) => void;
3037
3039
  compareTo?: DatePickerCompareTo;
3040
+ defaultCompareTo?: CompareToDefKey;
3038
3041
  onCompareToChange?: (compareTo: DateRangeComplete | DateRangeComplete[] | undefined) => void;
3039
3042
  }
3040
3043
 
@@ -4781,8 +4784,8 @@ declare global {
4781
4784
 
4782
4785
  declare module "@tiptap/core" {
4783
4786
  interface Commands<ReturnType> {
4784
- liveCompanion: {
4785
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4787
+ aiBlock: {
4788
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4786
4789
  };
4787
4790
  }
4788
4791
  }
@@ -4790,8 +4793,8 @@ declare module "@tiptap/core" {
4790
4793
 
4791
4794
  declare module "@tiptap/core" {
4792
4795
  interface Commands<ReturnType> {
4793
- aiBlock: {
4794
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4796
+ liveCompanion: {
4797
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4795
4798
  };
4796
4799
  }
4797
4800
  }
@@ -4806,6 +4809,11 @@ declare module "@tiptap/core" {
4806
4809
  }
4807
4810
 
4808
4811
 
4812
+ declare namespace Calendar {
4813
+ var displayName: string;
4814
+ }
4815
+
4816
+
4809
4817
  declare module "@tiptap/core" {
4810
4818
  interface Commands<ReturnType> {
4811
4819
  moodTracker: {
@@ -4813,8 +4821,3 @@ declare module "@tiptap/core" {
4813
4821
  };
4814
4822
  }
4815
4823
  }
4816
-
4817
-
4818
- declare namespace Calendar {
4819
- var displayName: string;
4820
- }