@factorialco/f0-react 6.22.0 → 6.23.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
@@ -5689,6 +5689,21 @@ export declare const defaultTranslations: {
5689
5689
  readonly submit: "Submit";
5690
5690
  readonly stepOf: "Step {{current}} of {{total}}";
5691
5691
  };
5692
+ readonly widgets: {
5693
+ /** Turns a widget over to read what it is telling you (Home's `info`). */
5694
+ readonly whatThisMeans: "What this info means?";
5695
+ /** The button on that other side, which turns it back. */
5696
+ readonly gotIt: "Got it";
5697
+ /** The widget menu's own items, and the dialogs they open. */
5698
+ readonly editParams: "Edit params";
5699
+ readonly editParamsTitle: "Edit widget params";
5700
+ readonly removeWidget: "Remove widget";
5701
+ readonly addWidget: "Add widget";
5702
+ /** Heads the widgets a Home suggests, at the top of the picker. */
5703
+ readonly recommended: "Recommended";
5704
+ /** Why a drop onto a pinned widget was refused. `{{title}}` is its name. */
5705
+ readonly cannotMoveHere: "You can't move a widget here — {{title}} is locked.";
5706
+ };
5692
5707
  readonly pdfViewer: {
5693
5708
  readonly toolbar: "Document toolbar";
5694
5709
  readonly previousPage: "Previous page";
@@ -19688,9 +19703,11 @@ declare module "@tiptap/core" {
19688
19703
 
19689
19704
  declare module "@tiptap/core" {
19690
19705
  interface Commands<ReturnType> {
19691
- fontSize: {
19692
- setFontSize: (fontSize: string) => ReturnType;
19693
- unsetFontSize: () => ReturnType;
19706
+ enhanceHighlight: {
19707
+ setEnhanceHighlight: (from: number, to: number, options?: {
19708
+ placeholder?: string;
19709
+ }) => ReturnType;
19710
+ clearEnhanceHighlight: () => ReturnType;
19694
19711
  };
19695
19712
  }
19696
19713
  }
@@ -19698,10 +19715,9 @@ declare module "@tiptap/core" {
19698
19715
 
19699
19716
  declare module "@tiptap/core" {
19700
19717
  interface Commands<ReturnType> {
19701
- indent: {
19702
- setIndent: (level: number) => ReturnType;
19703
- unsetIndent: () => ReturnType;
19704
- outdent: () => ReturnType;
19718
+ fontSize: {
19719
+ setFontSize: (fontSize: string) => ReturnType;
19720
+ unsetFontSize: () => ReturnType;
19705
19721
  };
19706
19722
  }
19707
19723
  }
@@ -19709,11 +19725,8 @@ declare module "@tiptap/core" {
19709
19725
 
19710
19726
  declare module "@tiptap/core" {
19711
19727
  interface Commands<ReturnType> {
19712
- enhanceHighlight: {
19713
- setEnhanceHighlight: (from: number, to: number, options?: {
19714
- placeholder?: string;
19715
- }) => ReturnType;
19716
- clearEnhanceHighlight: () => ReturnType;
19728
+ moodTracker: {
19729
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
19717
19730
  };
19718
19731
  }
19719
19732
  }
@@ -19721,8 +19734,10 @@ declare module "@tiptap/core" {
19721
19734
 
19722
19735
  declare module "@tiptap/core" {
19723
19736
  interface Commands<ReturnType> {
19724
- moodTracker: {
19725
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
19737
+ indent: {
19738
+ setIndent: (level: number) => ReturnType;
19739
+ unsetIndent: () => ReturnType;
19740
+ outdent: () => ReturnType;
19726
19741
  };
19727
19742
  }
19728
19743
  }
@@ -19730,8 +19745,10 @@ declare module "@tiptap/core" {
19730
19745
 
19731
19746
  declare module "@tiptap/core" {
19732
19747
  interface Commands<ReturnType> {
19733
- transcript: {
19734
- insertTranscript: (data: TranscriptData) => ReturnType;
19748
+ videoEmbed: {
19749
+ setVideoEmbed: (options: {
19750
+ src: string;
19751
+ }) => ReturnType;
19735
19752
  };
19736
19753
  }
19737
19754
  }
@@ -19739,10 +19756,8 @@ declare module "@tiptap/core" {
19739
19756
 
19740
19757
  declare module "@tiptap/core" {
19741
19758
  interface Commands<ReturnType> {
19742
- videoEmbed: {
19743
- setVideoEmbed: (options: {
19744
- src: string;
19745
- }) => ReturnType;
19759
+ transcript: {
19760
+ insertTranscript: (data: TranscriptData) => ReturnType;
19746
19761
  };
19747
19762
  }
19748
19763
  }