@factorialco/f0-react 2.45.0 → 2.46.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-DMLQMGBW.js → F0CanvasPanel-CTpW3vtK.js} +171 -171
- package/dist/ai.d.ts +442 -19
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +11 -11
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +40 -19
- package/dist/f0.js +12530 -13235
- package/dist/i18n-provider-defaults.d.ts +11 -11
- package/dist/{useChatHistory-DvbntgsJ.js → useChatHistory-CyZmi4kr.js} +4553 -3852
- package/dist/{useDataCollectionSource-iZJIN18U.js → useDataCollectionSource-DspGeRMB.js} +1 -1
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -9014,30 +9014,51 @@ export declare type F0HeadingProps = Omit<TextProps, "className" | "variant" | "
|
|
|
9014
9014
|
as?: HeadingTags;
|
|
9015
9015
|
};
|
|
9016
9016
|
|
|
9017
|
-
export declare const F0HILActionConfirmation: ({ text, confirmationText, onConfirm, cancelText, onCancel, }: F0HILActionConfirmationProps) => JSX_2.Element;
|
|
9017
|
+
export declare const F0HILActionConfirmation: ({ text, description, avatar, confirmationText, onConfirm, cancelText, onCancel, stackAt, }: F0HILActionConfirmationProps) => JSX_2.Element;
|
|
9018
9018
|
|
|
9019
9019
|
/**
|
|
9020
|
-
* Props for the F0HILActionConfirmation component
|
|
9020
|
+
* Props for the F0HILActionConfirmation component.
|
|
9021
|
+
*
|
|
9022
|
+
* Renders an inline approve/reject row built on `F0CardRow`'s confirm/reject
|
|
9023
|
+
* variant: the prompt as the row title, with icon-only ✓ (confirm) and ✗
|
|
9024
|
+
* (reject) buttons at the trailing edge.
|
|
9021
9025
|
*/
|
|
9022
9026
|
export declare type F0HILActionConfirmationProps = {
|
|
9023
9027
|
/**
|
|
9024
|
-
*
|
|
9028
|
+
* The prompt shown as the row title (e.g. the action awaiting confirmation).
|
|
9029
|
+
* Required — a confirmation without a prompt has no meaning.
|
|
9030
|
+
*/
|
|
9031
|
+
text: string;
|
|
9032
|
+
/**
|
|
9033
|
+
* Optional secondary line shown beneath the title (single line, truncated).
|
|
9034
|
+
*/
|
|
9035
|
+
description?: F0CardRowProps["description"];
|
|
9036
|
+
/**
|
|
9037
|
+
* Optional avatar rendered on the left of the row. Accepts any avatar type in
|
|
9038
|
+
* the system (person, company, team, file, icon, emoji, …).
|
|
9039
|
+
*/
|
|
9040
|
+
avatar?: F0CardRowProps["avatar"];
|
|
9041
|
+
/**
|
|
9042
|
+
* Container width at which the ✓/✗ actions drop onto their own line instead of
|
|
9043
|
+
* staying inline. Prevents the buttons from overlapping the prompt in narrow
|
|
9044
|
+
* containers. Set to `"never"` to keep them inline at every width.
|
|
9045
|
+
* @default "sm"
|
|
9025
9046
|
*/
|
|
9026
|
-
|
|
9047
|
+
stackAt?: F0CardRowProps["stackAt"];
|
|
9027
9048
|
/**
|
|
9028
|
-
*
|
|
9049
|
+
* Accessible label and tooltip for the confirm (✓) button.
|
|
9029
9050
|
*/
|
|
9030
9051
|
confirmationText: string;
|
|
9031
9052
|
/**
|
|
9032
|
-
* Callback fired when the
|
|
9053
|
+
* Callback fired when the confirm button is clicked.
|
|
9033
9054
|
*/
|
|
9034
9055
|
onConfirm: () => void;
|
|
9035
9056
|
/**
|
|
9036
|
-
*
|
|
9057
|
+
* Accessible label and tooltip for the reject (✗) button.
|
|
9037
9058
|
*/
|
|
9038
9059
|
cancelText: string;
|
|
9039
9060
|
/**
|
|
9040
|
-
* Callback fired when the
|
|
9061
|
+
* Callback fired when the reject button is clicked.
|
|
9041
9062
|
*/
|
|
9042
9063
|
onCancel: () => void;
|
|
9043
9064
|
};
|
|
@@ -15719,11 +15740,16 @@ declare module "gridstack" {
|
|
|
15719
15740
|
}
|
|
15720
15741
|
|
|
15721
15742
|
|
|
15743
|
+
declare namespace Calendar {
|
|
15744
|
+
var displayName: string;
|
|
15745
|
+
}
|
|
15746
|
+
|
|
15747
|
+
|
|
15722
15748
|
declare module "@tiptap/core" {
|
|
15723
15749
|
interface Commands<ReturnType> {
|
|
15724
|
-
|
|
15725
|
-
|
|
15726
|
-
|
|
15750
|
+
enhanceHighlight: {
|
|
15751
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
15752
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
15727
15753
|
};
|
|
15728
15754
|
}
|
|
15729
15755
|
}
|
|
@@ -15731,9 +15757,9 @@ declare module "@tiptap/core" {
|
|
|
15731
15757
|
|
|
15732
15758
|
declare module "@tiptap/core" {
|
|
15733
15759
|
interface Commands<ReturnType> {
|
|
15734
|
-
|
|
15735
|
-
|
|
15736
|
-
|
|
15760
|
+
aiBlock: {
|
|
15761
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
15762
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
15737
15763
|
};
|
|
15738
15764
|
}
|
|
15739
15765
|
}
|
|
@@ -15768,11 +15794,6 @@ declare module "@tiptap/core" {
|
|
|
15768
15794
|
}
|
|
15769
15795
|
|
|
15770
15796
|
|
|
15771
|
-
declare namespace Calendar {
|
|
15772
|
-
var displayName: string;
|
|
15773
|
-
}
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
15797
|
declare namespace F0GraphNodeWrapperInner {
|
|
15777
15798
|
var displayName: string;
|
|
15778
15799
|
}
|