@inkeep/cxkit-types 0.5.114 → 0.5.115
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/index.d.ts +10 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -298,6 +298,15 @@ export declare interface ColorModeProviderProps {
|
|
|
298
298
|
children?: React.ReactNode;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
+
export declare interface ComboboxField extends BaseFormField {
|
|
302
|
+
inputType: 'combobox';
|
|
303
|
+
items: SelectItem[];
|
|
304
|
+
defaultValue?: string[];
|
|
305
|
+
placeholder?: string;
|
|
306
|
+
/** When true, allows selecting multiple values. Form value is always string[] (single = [one]). */
|
|
307
|
+
multiple?: boolean;
|
|
308
|
+
}
|
|
309
|
+
|
|
301
310
|
declare interface CommonProperties {
|
|
302
311
|
conversation: ConversationResponse;
|
|
303
312
|
componentType: any;
|
|
@@ -417,7 +426,7 @@ declare interface FileField extends BaseFormField {
|
|
|
417
426
|
inputType: 'file';
|
|
418
427
|
}
|
|
419
428
|
|
|
420
|
-
export declare type FormField = CheckboxField | FileField | SelectField | TextField | IncludeChatSessionField;
|
|
429
|
+
export declare type FormField = CheckboxField | ComboboxField | FileField | SelectField | TextField | IncludeChatSessionField;
|
|
421
430
|
|
|
422
431
|
export declare type FormInputType = NonNullable<FormField['inputType']>;
|
|
423
432
|
|