@factorialco/f0-react 9.6.0 → 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.
Files changed (31) hide show
  1. package/dist/{ChatPdfThumbnail-BJNuH3Kk.js → ChatPdfThumbnail-yraFe2ng.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-DXeFY7WG.js → ChatPostComposerDialog-BblH-Tcx.js} +3 -3
  3. package/dist/{CoachmarkProvider-BqGMYwuU.js → CoachmarkProvider--PuyIWtf.js} +14979 -14671
  4. package/dist/{DocumentToolbar-BASAjrEM.js → DocumentToolbar-DYdZp2dy.js} +2 -2
  5. package/dist/{DocxViewer-Cm764lTQ.js → DocxViewer-CYCgMBas.js} +2 -2
  6. package/dist/{F0AiProcessingOverlay-i0Yoa_vU.js → F0AiProcessingOverlay-BGBmeXP8.js} +833 -852
  7. package/dist/{F0CanvasPanel-9FFNyLel.js → F0CanvasPanel-ItEQhrkL.js} +11296 -11277
  8. package/dist/{F0DocumentViewer-X9uTRuKM.js → F0DocumentViewer-D_NRhkaf.js} +3 -3
  9. package/dist/{F0Map-BKZv02zL.js → F0Map-xGynCAG0.js} +4 -4
  10. package/dist/{F0VideoPlayer-BjcAExI-.js → F0VideoPlayer-BXv9qSDV.js} +2 -2
  11. package/dist/{SheetViewer-DhhRBQv1.js → SheetViewer-CWJ7YC8p.js} +3 -3
  12. package/dist/{TextViewer-CFpaJf1P.js → TextViewer-ed5C0tNK.js} +2 -2
  13. package/dist/ai.d.ts +18 -18
  14. package/dist/ai.js +2 -2
  15. package/dist/component-status.d.ts +18 -18
  16. package/dist/component-status.js +1 -1
  17. package/dist/{experimental-CHXAROSJ.js → experimental-0__hxgY-.js} +2091 -2080
  18. package/dist/experimental.d.ts +172 -18
  19. package/dist/experimental.js +266 -265
  20. package/dist/f0.d.ts +30 -30
  21. package/dist/f0.js +9724 -10031
  22. package/dist/i18n-provider-defaults.d.ts +18 -18
  23. package/dist/{index-D4KyAsr3.js → index-B7p223Ae.js} +2 -2
  24. package/dist/index-C87L5a9L.js +8 -0
  25. package/dist/index-DeRPe3lA.js +4 -0
  26. package/dist/{index-BwVOsDhQ.js → index-PFXXhVLQ.js} +3 -3
  27. package/dist/{index-B0pkWkPs.js → index-cGDWPhTc.js} +1 -1
  28. package/dist/{pdfWorker-Dku13BrA.js → pdfWorker-DcgOJiCp.js} +2 -2
  29. package/package.json +1 -1
  30. package/dist/index-D0UOb_at.js +0 -8
  31. package/dist/index-blRNr67I.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: WithDataTestIdReturnType_8<ForwardRefExoticComponent<F0AiInsightCardPublicProps & RefAttributes<HTMLDivElement>> & {
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: WithDataTestIdReturnType_8<(props: F0TimelineRowProps_2) => JSX_2.Element>;
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: WithDataTestIdReturnType_10<ForwardRefExoticComponent<ProductBlankslateProps & RefAttributes<HTMLDivElement>>>;
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: WithDataTestIdReturnType_10<typeof ProductCardInternal>;
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: WithDataTestIdReturnType_10<typeof ProductModalInternal>;
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: WithDataTestIdReturnType_10<typeof ProductWidgetInternal>;
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: WithDataTestIdReturnType_9<({ elements: elementsProp, disabled, onChange, disallowOptionalQuestions, allowedQuestionTypes, applyingChanges, useUpload, datasets, placeholders, labels, skipDefaultSection, }: SurveyFormBuilderProps) => JSX_2.Element>;
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: WithDataTestIdReturnType_10<typeof _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: WithDataTestIdReturnType_10<ForwardRefExoticComponent<Omit<BaseBannerProps, "children" | "primaryAction" | "secondaryAction"> & {
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: WithDataTestIdReturnType_10<typeof UpsellingButtonInternal>;
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: WithDataTestIdReturnType_10<typeof UpsellingPopoverInternal>;
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: WithDataTestIdReturnType_10<ForwardRefExoticComponent<UpsellRequestResponseDialogProps & RefAttributes<HTMLDivElement>>>;
20280
+ export declare const UpsellRequestResponseDialog: WithDataTestIdReturnType_9<ForwardRefExoticComponent<UpsellRequestResponseDialogProps & RefAttributes<HTMLDivElement>>>;
20281
20281
 
20282
20282
  declare interface UpsellRequestResponseDialogProps {
20283
20283
  open: boolean;
@@ -21482,9 +21482,8 @@ declare namespace Calendar {
21482
21482
 
21483
21483
  declare module "@tiptap/core" {
21484
21484
  interface Commands<ReturnType> {
21485
- aiBlock: {
21486
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
21487
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
21485
+ transcript: {
21486
+ insertTranscript: (data: TranscriptData) => ReturnType;
21488
21487
  };
21489
21488
  }
21490
21489
  }
@@ -21492,11 +21491,10 @@ declare module "@tiptap/core" {
21492
21491
 
21493
21492
  declare module "@tiptap/core" {
21494
21493
  interface Commands<ReturnType> {
21495
- enhanceHighlight: {
21496
- setEnhanceHighlight: (from: number, to: number, options?: {
21497
- placeholder?: string;
21494
+ videoEmbed: {
21495
+ setVideoEmbed: (options: {
21496
+ src: string;
21498
21497
  }) => ReturnType;
21499
- clearEnhanceHighlight: () => ReturnType;
21500
21498
  };
21501
21499
  }
21502
21500
  }
@@ -21515,9 +21513,9 @@ declare module "@tiptap/core" {
21515
21513
 
21516
21514
  declare module "@tiptap/core" {
21517
21515
  interface Commands<ReturnType> {
21518
- fontSize: {
21519
- setFontSize: (fontSize: string) => ReturnType;
21520
- unsetFontSize: () => ReturnType;
21516
+ aiBlock: {
21517
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
21518
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
21521
21519
  };
21522
21520
  }
21523
21521
  }
@@ -21525,8 +21523,11 @@ declare module "@tiptap/core" {
21525
21523
 
21526
21524
  declare module "@tiptap/core" {
21527
21525
  interface Commands<ReturnType> {
21528
- moodTracker: {
21529
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
21526
+ enhanceHighlight: {
21527
+ setEnhanceHighlight: (from: number, to: number, options?: {
21528
+ placeholder?: string;
21529
+ }) => ReturnType;
21530
+ clearEnhanceHighlight: () => ReturnType;
21530
21531
  };
21531
21532
  }
21532
21533
  }
@@ -21534,10 +21535,9 @@ declare module "@tiptap/core" {
21534
21535
 
21535
21536
  declare module "@tiptap/core" {
21536
21537
  interface Commands<ReturnType> {
21537
- videoEmbed: {
21538
- setVideoEmbed: (options: {
21539
- src: string;
21540
- }) => ReturnType;
21538
+ fontSize: {
21539
+ setFontSize: (fontSize: string) => ReturnType;
21540
+ unsetFontSize: () => ReturnType;
21541
21541
  };
21542
21542
  }
21543
21543
  }
@@ -21545,8 +21545,8 @@ declare module "@tiptap/core" {
21545
21545
 
21546
21546
  declare module "@tiptap/core" {
21547
21547
  interface Commands<ReturnType> {
21548
- transcript: {
21549
- insertTranscript: (data: TranscriptData) => ReturnType;
21548
+ moodTracker: {
21549
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
21550
21550
  };
21551
21551
  }
21552
21552
  }