@factorialco/f0-react 6.12.0 → 6.14.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
@@ -4852,6 +4852,10 @@ export declare const defaultTranslations: {
4852
4852
  readonly join: "Join";
4853
4853
  readonly summary: "Summary";
4854
4854
  };
4855
+ readonly coachmark: {
4856
+ readonly next: "Next";
4857
+ readonly done: "Got it";
4858
+ };
4855
4859
  readonly actions: {
4856
4860
  readonly add: "Add";
4857
4861
  readonly edit: "Edit";
@@ -11806,6 +11810,7 @@ export declare type F0RichTextEditorHandle = {
11806
11810
  focus: () => void;
11807
11811
  setError: (error: string | null) => void;
11808
11812
  setContent: (content: string) => void;
11813
+ insertContent: (content: string) => void;
11809
11814
  };
11810
11815
 
11811
11816
  export declare interface F0RichTextEditorProps {
@@ -19624,11 +19629,9 @@ declare module "@tiptap/core" {
19624
19629
 
19625
19630
  declare module "@tiptap/core" {
19626
19631
  interface Commands<ReturnType> {
19627
- enhanceHighlight: {
19628
- setEnhanceHighlight: (from: number, to: number, options?: {
19629
- placeholder?: string;
19630
- }) => ReturnType;
19631
- clearEnhanceHighlight: () => ReturnType;
19632
+ fontSize: {
19633
+ setFontSize: (fontSize: string) => ReturnType;
19634
+ unsetFontSize: () => ReturnType;
19632
19635
  };
19633
19636
  }
19634
19637
  }
@@ -19636,9 +19639,11 @@ declare module "@tiptap/core" {
19636
19639
 
19637
19640
  declare module "@tiptap/core" {
19638
19641
  interface Commands<ReturnType> {
19639
- fontSize: {
19640
- setFontSize: (fontSize: string) => ReturnType;
19641
- unsetFontSize: () => ReturnType;
19642
+ enhanceHighlight: {
19643
+ setEnhanceHighlight: (from: number, to: number, options?: {
19644
+ placeholder?: string;
19645
+ }) => ReturnType;
19646
+ clearEnhanceHighlight: () => ReturnType;
19642
19647
  };
19643
19648
  }
19644
19649
  }