@factorialco/f0-react 3.0.0 → 3.1.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.
@@ -704,7 +704,7 @@ export declare const defaultTranslations: {
704
704
  readonly blocks: "Blocks";
705
705
  };
706
706
  readonly ai: {
707
- readonly enhanceButtonLabel: "Enhance";
707
+ readonly enhanceButtonLabel: "Generate";
708
708
  readonly loadingEnhanceLabel: "Loading...";
709
709
  readonly defaultError: "An error occurred while loading";
710
710
  readonly closeErrorButtonLabel: "Continue editing";
@@ -887,7 +887,9 @@ declare module "@tiptap/core" {
887
887
  declare module "@tiptap/core" {
888
888
  interface Commands<ReturnType> {
889
889
  enhanceHighlight: {
890
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
890
+ setEnhanceHighlight: (from: number, to: number, options?: {
891
+ placeholder?: string;
892
+ }) => ReturnType;
891
893
  clearEnhanceHighlight: () => ReturnType;
892
894
  };
893
895
  }
@@ -704,7 +704,7 @@ const e = {
704
704
  blocks: "Blocks"
705
705
  },
706
706
  ai: {
707
- enhanceButtonLabel: "Enhance",
707
+ enhanceButtonLabel: "Generate",
708
708
  loadingEnhanceLabel: "Loading...",
709
709
  defaultError: "An error occurred while loading",
710
710
  closeErrorButtonLabel: "Continue editing",