@factorialco/f0-react 1.422.3 → 1.423.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/ai.d.ts +10 -6
- package/dist/experimental.d.ts +10 -6
- package/dist/f0.d.ts +31 -9
- package/dist/f0.js +4965 -4848
- package/dist/i18n-provider-defaults.d.ts +10 -6
- package/dist/i18n-provider-defaults.js +5 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
|
@@ -507,6 +507,7 @@ export declare const defaultTranslations: {
|
|
|
507
507
|
readonly link: "Link";
|
|
508
508
|
readonly date: "Date";
|
|
509
509
|
readonly dropdownSingle: "Dropdown";
|
|
510
|
+
readonly file: "File upload";
|
|
510
511
|
};
|
|
511
512
|
readonly selectQuestion: {
|
|
512
513
|
readonly addOption: "Add option";
|
|
@@ -516,6 +517,9 @@ export declare const defaultTranslations: {
|
|
|
516
517
|
readonly correct: "Correct";
|
|
517
518
|
readonly optionPlaceholder: "Type anything you want here...";
|
|
518
519
|
};
|
|
520
|
+
readonly fileQuestion: {
|
|
521
|
+
readonly uploadButton: "Upload file";
|
|
522
|
+
};
|
|
519
523
|
readonly answer: {
|
|
520
524
|
readonly label: "Answer";
|
|
521
525
|
readonly dropdownPlaceholder: "Pick an option";
|
|
@@ -752,10 +756,8 @@ declare module "@tiptap/core" {
|
|
|
752
756
|
|
|
753
757
|
declare module "@tiptap/core" {
|
|
754
758
|
interface Commands<ReturnType> {
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
src: string;
|
|
758
|
-
}) => ReturnType;
|
|
759
|
+
transcript: {
|
|
760
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
759
761
|
};
|
|
760
762
|
}
|
|
761
763
|
}
|
|
@@ -763,8 +765,10 @@ declare module "@tiptap/core" {
|
|
|
763
765
|
|
|
764
766
|
declare module "@tiptap/core" {
|
|
765
767
|
interface Commands<ReturnType> {
|
|
766
|
-
|
|
767
|
-
|
|
768
|
+
videoEmbed: {
|
|
769
|
+
setVideoEmbed: (options: {
|
|
770
|
+
src: string;
|
|
771
|
+
}) => ReturnType;
|
|
768
772
|
};
|
|
769
773
|
}
|
|
770
774
|
}
|
|
@@ -506,7 +506,8 @@ const e = {
|
|
|
506
506
|
numeric: "Numeric",
|
|
507
507
|
link: "Link",
|
|
508
508
|
date: "Date",
|
|
509
|
-
dropdownSingle: "Dropdown"
|
|
509
|
+
dropdownSingle: "Dropdown",
|
|
510
|
+
file: "File upload"
|
|
510
511
|
},
|
|
511
512
|
selectQuestion: {
|
|
512
513
|
addOption: "Add option",
|
|
@@ -516,6 +517,9 @@ const e = {
|
|
|
516
517
|
correct: "Correct",
|
|
517
518
|
optionPlaceholder: "Type anything you want here..."
|
|
518
519
|
},
|
|
520
|
+
fileQuestion: {
|
|
521
|
+
uploadButton: "Upload file"
|
|
522
|
+
},
|
|
519
523
|
answer: {
|
|
520
524
|
label: "Answer",
|
|
521
525
|
dropdownPlaceholder: "Pick an option",
|