@factorialco/f0-react 1.388.3 → 1.389.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/{DataCollectionStorageProvider-Dhth1f1i.js → DataCollectionStorageProvider-CiVDaZuI.js} +9984 -9692
- package/dist/{F0AiChat-BXyvQ3uC.js → F0AiChat-DIBpfRHh.js} +303 -303
- package/dist/{F0HILActionConfirmation-BirXmMOJ.js → F0HILActionConfirmation-Q8FqZblZ.js} +1 -1
- package/dist/ai.d.ts +15 -10
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +69 -10
- package/dist/experimental.js +9125 -8485
- package/dist/f0.d.ts +36 -12
- package/dist/f0.js +2275 -2458
- package/dist/i18n-provider-defaults.d.ts +15 -10
- package/dist/i18n-provider-defaults.js +8 -3
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -2573,6 +2573,8 @@ export declare const defaultTranslations: {
|
|
|
2573
2573
|
readonly deleteQuestion: "Delete question";
|
|
2574
2574
|
readonly duplicateSection: "Duplicate section";
|
|
2575
2575
|
readonly deleteSection: "Delete section";
|
|
2576
|
+
readonly confirmMoveLastQuestion: "Move question";
|
|
2577
|
+
readonly cancelMoveLastQuestion: "Cancel";
|
|
2576
2578
|
};
|
|
2577
2579
|
readonly questionTypes: {
|
|
2578
2580
|
readonly section: "Section";
|
|
@@ -2584,6 +2586,7 @@ export declare const defaultTranslations: {
|
|
|
2584
2586
|
readonly numeric: "Numeric";
|
|
2585
2587
|
readonly link: "Link";
|
|
2586
2588
|
readonly date: "Date";
|
|
2589
|
+
readonly dropdownSingle: "Dropdown";
|
|
2587
2590
|
};
|
|
2588
2591
|
readonly selectQuestion: {
|
|
2589
2592
|
readonly addOption: "Add option";
|
|
@@ -2610,6 +2613,8 @@ export declare const defaultTranslations: {
|
|
|
2610
2613
|
readonly questionOptions: "Question options";
|
|
2611
2614
|
readonly actions: "Actions";
|
|
2612
2615
|
readonly sectionTitlePlaceholder: "Section title";
|
|
2616
|
+
readonly lastQuestionDialogTitle: "Remove last question from section";
|
|
2617
|
+
readonly lastQuestionDialogDescription: "Moving this question will leave the section empty and it will be removed. Do you want to continue?";
|
|
2613
2618
|
};
|
|
2614
2619
|
};
|
|
2615
2620
|
readonly richTextEditor: {
|
|
@@ -5070,9 +5075,9 @@ export declare const F0TableOfContentPopover: WithDataTestIdReturnType_3<typeof
|
|
|
5070
5075
|
* Internal implementation of the TableOfContentPopover component.
|
|
5071
5076
|
* This component includes all props including private ones.
|
|
5072
5077
|
*/
|
|
5073
|
-
declare function F0TableOfContentPopover_2({ title, items, className, activeItem, collapsible, showChildrenCounter, barsAlign, size, variant, }: F0TableOfContentPopoverProps): JSX_2.Element;
|
|
5078
|
+
declare function F0TableOfContentPopover_2({ title, items, className, activeItem, collapsible, sortable, onReorder, showChildrenCounter, barsAlign, size, variant, }: F0TableOfContentPopoverProps): JSX_2.Element;
|
|
5074
5079
|
|
|
5075
|
-
declare interface F0TableOfContentPopoverProps extends Omit<TOCProps, "
|
|
5080
|
+
declare interface F0TableOfContentPopoverProps extends Omit<TOCProps, "showSearchBox" | "title" | "hideChildrenCounter"> {
|
|
5076
5081
|
/** Optional title displayed at the top of the menu popup */
|
|
5077
5082
|
title?: string;
|
|
5078
5083
|
/** Alignment of the collapsed bars (left or right) */
|
|
@@ -7787,8 +7792,27 @@ declare type TOCItemAction = {
|
|
|
7787
7792
|
label: string;
|
|
7788
7793
|
onClick: () => void;
|
|
7789
7794
|
icon?: IconType;
|
|
7795
|
+
critical?: boolean;
|
|
7796
|
+
/** Show a check icon to indicate this item is selected */
|
|
7797
|
+
selected?: boolean;
|
|
7790
7798
|
} | {
|
|
7791
7799
|
type: "separator";
|
|
7800
|
+
} | {
|
|
7801
|
+
type: "label";
|
|
7802
|
+
text: string;
|
|
7803
|
+
} | {
|
|
7804
|
+
type: "toggle";
|
|
7805
|
+
label: string;
|
|
7806
|
+
icon?: IconType;
|
|
7807
|
+
checked: boolean;
|
|
7808
|
+
onCheckedChange: (checked: boolean) => void;
|
|
7809
|
+
} | {
|
|
7810
|
+
type: "submenu";
|
|
7811
|
+
label: string;
|
|
7812
|
+
icon?: IconType;
|
|
7813
|
+
/** Currently selected option label shown inline */
|
|
7814
|
+
selectedLabel?: string;
|
|
7815
|
+
children: TOCItemAction[];
|
|
7792
7816
|
};
|
|
7793
7817
|
|
|
7794
7818
|
declare interface TOCProps {
|
|
@@ -8631,6 +8655,11 @@ declare module "gridstack" {
|
|
|
8631
8655
|
}
|
|
8632
8656
|
|
|
8633
8657
|
|
|
8658
|
+
declare namespace Calendar {
|
|
8659
|
+
var displayName: string;
|
|
8660
|
+
}
|
|
8661
|
+
|
|
8662
|
+
|
|
8634
8663
|
declare module "@tiptap/core" {
|
|
8635
8664
|
interface Commands<ReturnType> {
|
|
8636
8665
|
aiBlock: {
|
|
@@ -8643,8 +8672,9 @@ declare module "@tiptap/core" {
|
|
|
8643
8672
|
|
|
8644
8673
|
declare module "@tiptap/core" {
|
|
8645
8674
|
interface Commands<ReturnType> {
|
|
8646
|
-
|
|
8647
|
-
|
|
8675
|
+
enhanceHighlight: {
|
|
8676
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
8677
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
8648
8678
|
};
|
|
8649
8679
|
}
|
|
8650
8680
|
}
|
|
@@ -8652,9 +8682,8 @@ declare module "@tiptap/core" {
|
|
|
8652
8682
|
|
|
8653
8683
|
declare module "@tiptap/core" {
|
|
8654
8684
|
interface Commands<ReturnType> {
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
8685
|
+
moodTracker: {
|
|
8686
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
8658
8687
|
};
|
|
8659
8688
|
}
|
|
8660
8689
|
}
|
|
@@ -8678,8 +8707,3 @@ declare module "@tiptap/core" {
|
|
|
8678
8707
|
};
|
|
8679
8708
|
}
|
|
8680
8709
|
}
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
declare namespace Calendar {
|
|
8684
|
-
var displayName: string;
|
|
8685
|
-
}
|