@factorialco/f0-react 1.363.0 → 1.364.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/ai.d.ts CHANGED
@@ -1157,6 +1157,11 @@ declare module "gridstack" {
1157
1157
  }
1158
1158
 
1159
1159
 
1160
+ declare namespace Calendar {
1161
+ var displayName: string;
1162
+ }
1163
+
1164
+
1160
1165
  declare module "@tiptap/core" {
1161
1166
  interface Commands<ReturnType> {
1162
1167
  aiBlock: {
@@ -1193,8 +1198,3 @@ declare module "@tiptap/core" {
1193
1198
  };
1194
1199
  }
1195
1200
  }
1196
-
1197
-
1198
- declare namespace Calendar {
1199
- var displayName: string;
1200
- }
@@ -2818,6 +2818,12 @@ declare type DropdownProps = Omit<DropdownInternalProps, (typeof privateProps_4)
2818
2818
  onOpenChange?: (open: boolean) => void;
2819
2819
  };
2820
2820
 
2821
+ declare type DropdownSingleQuestionProps = BaseQuestionPropsForOtherQuestionComponents & {
2822
+ type: "dropdown-single";
2823
+ options: SelectQuestionOption[];
2824
+ value?: string | null;
2825
+ };
2826
+
2821
2827
  export declare type editorStateType = {
2822
2828
  html: string;
2823
2829
  json: JSONContent | null;
@@ -4512,6 +4518,10 @@ declare type OnChangeQuestionParams = BaseQuestionOnChangeParams & ({
4512
4518
  type: "multi-select";
4513
4519
  value?: string[] | null;
4514
4520
  options: SelectQuestionOption[];
4521
+ } | {
4522
+ type: "dropdown-single";
4523
+ value?: string | null;
4524
+ options?: SelectQuestionOption[];
4515
4525
  } | {
4516
4526
  type: "numeric";
4517
4527
  value?: number | null;
@@ -5238,6 +5248,8 @@ export declare type QuestionElement = Omit<TextQuestionProps, QuestionPropsToOmi
5238
5248
  type: "rating";
5239
5249
  }, QuestionPropsToOmit> | Omit<SelectQuestionProps & {
5240
5250
  type: "select" | "multi-select";
5251
+ }, QuestionPropsToOmit> | Omit<DropdownSingleQuestionProps & {
5252
+ type: "dropdown-single";
5241
5253
  }, QuestionPropsToOmit> | Omit<NumericQuestionProps & {
5242
5254
  type: "numeric";
5243
5255
  }, QuestionPropsToOmit> | Omit<LinkQuestionProps & {
@@ -5248,7 +5260,7 @@ export declare type QuestionElement = Omit<TextQuestionProps, QuestionPropsToOmi
5248
5260
 
5249
5261
  declare type QuestionPropsToOmit = "onAction" | "onChange" | "onAddNewElement";
5250
5262
 
5251
- export declare type QuestionType = "rating" | "select" | "multi-select" | "text" | "longText" | "numeric" | "link" | "date";
5263
+ export declare type QuestionType = "rating" | "select" | "multi-select" | "dropdown-single" | "text" | "longText" | "numeric" | "link" | "date";
5252
5264
 
5253
5265
  /**
5254
5266
  * @experimental This is an experimental component use it at your own risk
@@ -6627,6 +6639,11 @@ declare module "gridstack" {
6627
6639
  }
6628
6640
 
6629
6641
 
6642
+ declare namespace Calendar {
6643
+ var displayName: string;
6644
+ }
6645
+
6646
+
6630
6647
  declare module "@tiptap/core" {
6631
6648
  interface Commands<ReturnType> {
6632
6649
  aiBlock: {
@@ -6663,8 +6680,3 @@ declare module "@tiptap/core" {
6663
6680
  };
6664
6681
  }
6665
6682
  }
6666
-
6667
-
6668
- declare namespace Calendar {
6669
- var displayName: string;
6670
- }