@factorialco/f0-react 9.5.2 → 9.7.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/{ChatPdfThumbnail-8s2Le3pz.js → ChatPdfThumbnail-yraFe2ng.js} +1 -1
- package/dist/{ChatPostComposerDialog-C65JZV8Q.js → ChatPostComposerDialog-BblH-Tcx.js} +3 -3
- package/dist/{CoachmarkProvider-DxlZHkga.js → CoachmarkProvider--PuyIWtf.js} +14984 -14660
- package/dist/{DocumentToolbar-C5TrJERi.js → DocumentToolbar-DYdZp2dy.js} +2 -2
- package/dist/{DocxViewer-B5QPRhae.js → DocxViewer-CYCgMBas.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BB7vWJUN.js → F0AiProcessingOverlay-BGBmeXP8.js} +833 -852
- package/dist/{F0CanvasPanel-CebMUA6-.js → F0CanvasPanel-ItEQhrkL.js} +11297 -11278
- package/dist/{F0DocumentViewer-wy_8k7F8.js → F0DocumentViewer-D_NRhkaf.js} +3 -3
- package/dist/{F0Map-Dgj4Hdj0.js → F0Map-xGynCAG0.js} +4 -4
- package/dist/{F0VideoPlayer-uvCGbl-R.js → F0VideoPlayer-BXv9qSDV.js} +2 -2
- package/dist/{SheetViewer-a62c1qpd.js → SheetViewer-CWJ7YC8p.js} +3 -3
- package/dist/{TextViewer-DQzbYd-J.js → TextViewer-ed5C0tNK.js} +2 -2
- package/dist/ai.d.ts +15 -15
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +15 -15
- package/dist/component-status.js +6 -6
- package/dist/{experimental-BjDkIQrU.js → experimental-0__hxgY-.js} +6116 -5876
- package/dist/experimental.d.ts +190 -15
- package/dist/experimental.js +288 -286
- package/dist/f0.d.ts +27 -27
- package/dist/f0.js +9724 -10031
- package/dist/i18n-provider-defaults.d.ts +15 -15
- package/dist/{index-DD5anxnp.js → index-B7p223Ae.js} +2 -2
- package/dist/index-C87L5a9L.js +8 -0
- package/dist/index-DeRPe3lA.js +4 -0
- package/dist/{index--y-m1zd0.js → index-PFXXhVLQ.js} +3 -3
- package/dist/{index-ByoHGgu8.js → index-cGDWPhTc.js} +1 -1
- package/dist/{pdfWorker-ZseFB0UO.js → pdfWorker-DcgOJiCp.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-BhU-0fSe.js +0 -8
- package/dist/index-DA65v5fO.js +0 -4
package/dist/f0.d.ts
CHANGED
|
@@ -7951,7 +7951,7 @@ export declare function F0AiFormRegistryProvider({ children, availableFormDefini
|
|
|
7951
7951
|
availableFormDefinitions?: AvailableFormDefinitionItem[];
|
|
7952
7952
|
}): JSX_2.Element;
|
|
7953
7953
|
|
|
7954
|
-
export declare const F0AiInsightCard:
|
|
7954
|
+
export declare const F0AiInsightCard: WithDataTestIdReturnType_10<ForwardRefExoticComponent<F0AiInsightCardPublicProps & RefAttributes<HTMLDivElement>> & {
|
|
7955
7955
|
Skeleton: () => JSX_2.Element;
|
|
7956
7956
|
}>;
|
|
7957
7957
|
|
|
@@ -14433,7 +14433,7 @@ declare type F0TimeFieldConfig = F0BaseConfig & F0TimeConfig & {
|
|
|
14433
14433
|
/**
|
|
14434
14434
|
* @experimental This is an experimental component use it at your own risk
|
|
14435
14435
|
*/
|
|
14436
|
-
export declare const F0TimelineRow:
|
|
14436
|
+
export declare const F0TimelineRow: WithDataTestIdReturnType_7<(props: F0TimelineRowProps_2) => JSX_2.Element>;
|
|
14437
14437
|
|
|
14438
14438
|
export declare interface F0TimelineRowAction {
|
|
14439
14439
|
/** Button label */
|
|
@@ -18048,7 +18048,7 @@ declare const privateProps_6: readonly ["compact"];
|
|
|
18048
18048
|
|
|
18049
18049
|
declare const privateProps_7: readonly ["className"];
|
|
18050
18050
|
|
|
18051
|
-
export declare const ProductBlankslate:
|
|
18051
|
+
export declare const ProductBlankslate: WithDataTestIdReturnType_9<ForwardRefExoticComponent<ProductBlankslateProps & RefAttributes<HTMLDivElement>>>;
|
|
18052
18052
|
|
|
18053
18053
|
declare type ProductBlankslateProps = {
|
|
18054
18054
|
title: string;
|
|
@@ -18069,7 +18069,7 @@ declare type ProductBlankslateProps = {
|
|
|
18069
18069
|
};
|
|
18070
18070
|
};
|
|
18071
18071
|
|
|
18072
|
-
export declare const ProductCard:
|
|
18072
|
+
export declare const ProductCard: WithDataTestIdReturnType_9<typeof ProductCardInternal>;
|
|
18073
18073
|
|
|
18074
18074
|
declare function ProductCardInternal({ title, description, onClick, onClose, isVisible, dismissable, trackVisibility, type, ...props }: ProductCardProps): false | JSX_2.Element;
|
|
18075
18075
|
|
|
@@ -18089,7 +18089,7 @@ export declare type ProductCardProps = {
|
|
|
18089
18089
|
type?: never;
|
|
18090
18090
|
});
|
|
18091
18091
|
|
|
18092
|
-
export declare const ProductModal:
|
|
18092
|
+
export declare const ProductModal: WithDataTestIdReturnType_9<typeof ProductModalInternal>;
|
|
18093
18093
|
|
|
18094
18094
|
declare function ProductModalInternal({ isOpen, onClose, title, image, benefits, errorMessage, successMessage, loadingState, nextSteps, closeLabel, primaryAction, modalTitle, modalModule, secondaryAction, portalContainer, tag, promoTag, showResponseDialog, }: ProductModalProps): JSX_2.Element;
|
|
18095
18095
|
|
|
@@ -18136,7 +18136,7 @@ declare type ProductModalProps = {
|
|
|
18136
18136
|
showResponseDialog?: boolean;
|
|
18137
18137
|
};
|
|
18138
18138
|
|
|
18139
|
-
export declare const ProductWidget:
|
|
18139
|
+
export declare const ProductWidget: WithDataTestIdReturnType_9<typeof ProductWidgetInternal>;
|
|
18140
18140
|
|
|
18141
18141
|
declare function ProductWidgetInternal({ mediaUrl, title, description, onClose, dismissible, width, trackVisibility, actions, showConfirmation, }: ProductWidgetProps): JSX_2.Element;
|
|
18142
18142
|
|
|
@@ -19284,7 +19284,7 @@ export declare type SurveyDataset = {
|
|
|
19284
19284
|
|
|
19285
19285
|
export declare type SurveyDatasets = Record<string, SurveyDataset>;
|
|
19286
19286
|
|
|
19287
|
-
export declare const SurveyFormBuilder:
|
|
19287
|
+
export declare const SurveyFormBuilder: WithDataTestIdReturnType_8<({ elements: elementsProp, disabled, onChange, disallowOptionalQuestions, allowedQuestionTypes, applyingChanges, useUpload, datasets, placeholders, labels, skipDefaultSection, }: SurveyFormBuilderProps) => JSX_2.Element>;
|
|
19288
19288
|
|
|
19289
19289
|
export declare type SurveyFormBuilderCallbacks = {
|
|
19290
19290
|
onQuestionChange?: (params: OnChangeQuestionParams) => void;
|
|
@@ -20163,7 +20163,7 @@ declare type UpsellAction = BaseAction & {
|
|
|
20163
20163
|
showConfirmation: boolean;
|
|
20164
20164
|
};
|
|
20165
20165
|
|
|
20166
|
-
export declare const UpsellingAlert:
|
|
20166
|
+
export declare const UpsellingAlert: WithDataTestIdReturnType_9<typeof _UpsellingAlert>;
|
|
20167
20167
|
|
|
20168
20168
|
declare function _UpsellingAlert({ icon, title, description, action, onDismiss, }: UpsellingAlertProps): JSX_2.Element;
|
|
20169
20169
|
|
|
@@ -20196,12 +20196,12 @@ export declare interface UpsellingAlertProps {
|
|
|
20196
20196
|
onDismiss?: () => void;
|
|
20197
20197
|
}
|
|
20198
20198
|
|
|
20199
|
-
export declare const UpsellingBanner:
|
|
20199
|
+
export declare const UpsellingBanner: WithDataTestIdReturnType_9<ForwardRefExoticComponent<Omit<BaseBannerProps, "children" | "primaryAction" | "secondaryAction"> & {
|
|
20200
20200
|
primaryAction?: DefaultAction | PromoteAction;
|
|
20201
20201
|
secondaryAction?: DefaultAction | PromoteAction;
|
|
20202
20202
|
} & RefAttributes<HTMLDivElement>>>;
|
|
20203
20203
|
|
|
20204
|
-
export declare const UpsellingButton:
|
|
20204
|
+
export declare const UpsellingButton: WithDataTestIdReturnType_9<typeof UpsellingButtonInternal>;
|
|
20205
20205
|
|
|
20206
20206
|
declare function UpsellingButtonInternal({ label, showIcon, onRequest, showConfirmation, loading: externalLoading, errorMessage, successMessage, loadingState, nextSteps, closeLabel, variant, onModalStateChange, portalContainer, ...props }: UpsellingButtonProps): JSX_2.Element;
|
|
20207
20207
|
|
|
@@ -20253,7 +20253,7 @@ export declare interface UpsellingButtonProps extends Omit<F0ButtonProps, "icon"
|
|
|
20253
20253
|
portalContainer?: HTMLElement | null;
|
|
20254
20254
|
}
|
|
20255
20255
|
|
|
20256
|
-
export declare const UpsellingPopover:
|
|
20256
|
+
export declare const UpsellingPopover: WithDataTestIdReturnType_9<typeof UpsellingPopoverInternal>;
|
|
20257
20257
|
|
|
20258
20258
|
declare function UpsellingPopoverInternal({ isOpen, setIsOpen, label, variant, size, showIcon, side, align, icon, mediaUrl, title, description, width, trackVisibility, actions, onClick, hideLabel, }: UpsellingPopoverProps): JSX_2.Element;
|
|
20259
20259
|
|
|
@@ -20277,7 +20277,7 @@ declare type UpsellingPopoverProps = {
|
|
|
20277
20277
|
hideLabel?: boolean;
|
|
20278
20278
|
};
|
|
20279
20279
|
|
|
20280
|
-
export declare const UpsellRequestResponseDialog:
|
|
20280
|
+
export declare const UpsellRequestResponseDialog: WithDataTestIdReturnType_9<ForwardRefExoticComponent<UpsellRequestResponseDialogProps & RefAttributes<HTMLDivElement>>>;
|
|
20281
20281
|
|
|
20282
20282
|
declare interface UpsellRequestResponseDialogProps {
|
|
20283
20283
|
open: boolean;
|
|
@@ -21482,8 +21482,8 @@ declare namespace Calendar {
|
|
|
21482
21482
|
|
|
21483
21483
|
declare module "@tiptap/core" {
|
|
21484
21484
|
interface Commands<ReturnType> {
|
|
21485
|
-
|
|
21486
|
-
|
|
21485
|
+
transcript: {
|
|
21486
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
21487
21487
|
};
|
|
21488
21488
|
}
|
|
21489
21489
|
}
|
|
@@ -21491,11 +21491,10 @@ declare module "@tiptap/core" {
|
|
|
21491
21491
|
|
|
21492
21492
|
declare module "@tiptap/core" {
|
|
21493
21493
|
interface Commands<ReturnType> {
|
|
21494
|
-
|
|
21495
|
-
|
|
21496
|
-
|
|
21494
|
+
videoEmbed: {
|
|
21495
|
+
setVideoEmbed: (options: {
|
|
21496
|
+
src: string;
|
|
21497
21497
|
}) => ReturnType;
|
|
21498
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
21499
21498
|
};
|
|
21500
21499
|
}
|
|
21501
21500
|
}
|
|
@@ -21524,9 +21523,11 @@ declare module "@tiptap/core" {
|
|
|
21524
21523
|
|
|
21525
21524
|
declare module "@tiptap/core" {
|
|
21526
21525
|
interface Commands<ReturnType> {
|
|
21527
|
-
|
|
21528
|
-
|
|
21529
|
-
|
|
21526
|
+
enhanceHighlight: {
|
|
21527
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
21528
|
+
placeholder?: string;
|
|
21529
|
+
}) => ReturnType;
|
|
21530
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
21530
21531
|
};
|
|
21531
21532
|
}
|
|
21532
21533
|
}
|
|
@@ -21534,8 +21535,9 @@ declare module "@tiptap/core" {
|
|
|
21534
21535
|
|
|
21535
21536
|
declare module "@tiptap/core" {
|
|
21536
21537
|
interface Commands<ReturnType> {
|
|
21537
|
-
|
|
21538
|
-
|
|
21538
|
+
fontSize: {
|
|
21539
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
21540
|
+
unsetFontSize: () => ReturnType;
|
|
21539
21541
|
};
|
|
21540
21542
|
}
|
|
21541
21543
|
}
|
|
@@ -21543,10 +21545,8 @@ declare module "@tiptap/core" {
|
|
|
21543
21545
|
|
|
21544
21546
|
declare module "@tiptap/core" {
|
|
21545
21547
|
interface Commands<ReturnType> {
|
|
21546
|
-
|
|
21547
|
-
|
|
21548
|
-
src: string;
|
|
21549
|
-
}) => ReturnType;
|
|
21548
|
+
moodTracker: {
|
|
21549
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
21550
21550
|
};
|
|
21551
21551
|
}
|
|
21552
21552
|
}
|