@factorialco/f0-react 1.299.0 → 1.299.2

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.
@@ -1475,7 +1475,7 @@ declare interface ClockInGraphProps {
1475
1475
 
1476
1476
  declare type ClockInStatus = "clocked-in" | "break" | "clocked-out";
1477
1477
 
1478
- export declare const CoCreationForm: ({ elements, isEditMode, onChange, allowedQuestionTypes, }: CoCreationFormProps) => JSX_2.Element;
1478
+ export declare const CoCreationForm: ({ elements: elementsProp, isEditMode, onChange, disallowOptionalQuestions, allowedQuestionTypes, }: CoCreationFormProps) => JSX_2.Element;
1479
1479
 
1480
1480
  export declare type CoCreationFormCallbacks = {
1481
1481
  onQuestionChange?: (params: OnChangeQuestionParams) => void;
@@ -1496,6 +1496,7 @@ export declare type CoCreationFormProps = {
1496
1496
  elements: CoCreationFormElement[];
1497
1497
  onChange: (elements: CoCreationFormElement[]) => void;
1498
1498
  isEditMode?: boolean;
1499
+ disallowOptionalQuestions?: boolean;
1499
1500
  allowedQuestionTypes?: QuestionType[];
1500
1501
  };
1501
1502
 
@@ -6373,8 +6374,8 @@ declare global {
6373
6374
 
6374
6375
  declare module "@tiptap/core" {
6375
6376
  interface Commands<ReturnType> {
6376
- aiBlock: {
6377
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6377
+ liveCompanion: {
6378
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6378
6379
  };
6379
6380
  }
6380
6381
  }
@@ -6382,8 +6383,8 @@ declare module "@tiptap/core" {
6382
6383
 
6383
6384
  declare module "@tiptap/core" {
6384
6385
  interface Commands<ReturnType> {
6385
- liveCompanion: {
6386
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6386
+ aiBlock: {
6387
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6387
6388
  };
6388
6389
  }
6389
6390
  }