@factorialco/f0-react 1.251.1 → 1.252.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.
@@ -282,7 +282,7 @@ declare type ActionSize = (typeof actionSizes)[number];
282
282
 
283
283
  declare const actionSizes: readonly ["sm", "md", "lg"];
284
284
 
285
- declare type ActionType = CopyActionType | NavigateActionType;
285
+ declare type ActionType = CopyActionType | NavigateActionType | OpenLinkActionType;
286
286
 
287
287
  export declare type actionType = {
288
288
  label: string;
@@ -3950,6 +3950,11 @@ export declare type OnSelectItemsCallback<R extends RecordType, Filters extends
3950
3950
 
3951
3951
  declare type OnSubmitHandler<TFieldValues extends FieldValues, TTransformedValues extends FieldValues | undefined = undefined> = (data: ReturnType<UseFormHandleSubmit<TFieldValues, TTransformedValues>>) => Promise<Success | FormError<TFieldValues>> | Success | FormError<TFieldValues>;
3952
3952
 
3953
+ declare type OpenLinkActionType = {
3954
+ type: "open-link";
3955
+ href: string;
3956
+ };
3957
+
3953
3958
  declare interface Option_2 {
3954
3959
  title?: string;
3955
3960
  description?: string;
@@ -5629,8 +5634,8 @@ declare global {
5629
5634
 
5630
5635
  declare module "@tiptap/core" {
5631
5636
  interface Commands<ReturnType> {
5632
- liveCompanion: {
5633
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5637
+ aiBlock: {
5638
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5634
5639
  };
5635
5640
  }
5636
5641
  }
@@ -5638,8 +5643,8 @@ declare module "@tiptap/core" {
5638
5643
 
5639
5644
  declare module "@tiptap/core" {
5640
5645
  interface Commands<ReturnType> {
5641
- transcript: {
5642
- insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
5646
+ liveCompanion: {
5647
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5643
5648
  };
5644
5649
  }
5645
5650
  }
@@ -5647,18 +5652,13 @@ declare module "@tiptap/core" {
5647
5652
 
5648
5653
  declare module "@tiptap/core" {
5649
5654
  interface Commands<ReturnType> {
5650
- aiBlock: {
5651
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5655
+ transcript: {
5656
+ insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
5652
5657
  };
5653
5658
  }
5654
5659
  }
5655
5660
 
5656
5661
 
5657
- declare namespace Calendar {
5658
- var displayName: string;
5659
- }
5660
-
5661
-
5662
5662
  declare module "@tiptap/core" {
5663
5663
  interface Commands<ReturnType> {
5664
5664
  moodTracker: {
@@ -5666,3 +5666,8 @@ declare module "@tiptap/core" {
5666
5666
  };
5667
5667
  }
5668
5668
  }
5669
+
5670
+
5671
+ declare namespace Calendar {
5672
+ var displayName: string;
5673
+ }