@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.
- package/dist/{F0CanvasPanel-ptgXy87G.js → F0CanvasPanel-z8xqI8tX.js} +25018 -24508
- package/dist/F0CanvasPanel.css +1 -1
- package/dist/ai.d.ts +37 -38
- package/dist/ai.js +21 -21
- package/dist/experimental.d.ts +287 -231
- package/dist/experimental.js +1189 -1162
- package/dist/f0.d.ts +230 -233
- package/dist/f0.js +2962 -2956
- package/dist/i18n-provider-defaults.d.ts +4 -2
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/{useChatHistory-BphMZrVl.js → useChatHistory-0yvpUg-H.js} +3734 -4203
- package/dist/{useDataCollectionSource-SH2WbTKC.js → useDataCollectionSource-D0BqJ0ux.js} +14825 -14380
- package/package.json +1 -1
- package/dist/useChatHistory.css +0 -1
|
@@ -704,7 +704,7 @@ export declare const defaultTranslations: {
|
|
|
704
704
|
readonly blocks: "Blocks";
|
|
705
705
|
};
|
|
706
706
|
readonly ai: {
|
|
707
|
-
readonly enhanceButtonLabel: "
|
|
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
|
|
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: "
|
|
707
|
+
enhanceButtonLabel: "Generate",
|
|
708
708
|
loadingEnhanceLabel: "Loading...",
|
|
709
709
|
defaultError: "An error occurred while loading",
|
|
710
710
|
closeErrorButtonLabel: "Continue editing",
|