@factorialco/f0-react 1.225.0 → 1.226.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.
@@ -1944,7 +1944,7 @@ export declare const EntitySelect: <T>(props: EntitySelectProps<T> & {
1944
1944
  children?: React.ReactNode;
1945
1945
  }) => JSX_2.Element;
1946
1946
 
1947
- declare interface EntitySelectCommonProps<T> extends Omit<PopoverProps, "children" | "modal">, Pick<InputFieldProps<string>, "label" | "labelIcon" | "icon" | "error" | "status" | "hint" | "hideLabel" | "maxLength" | "disabled" | "placeholder" | "loading" | "required" | "readonly" | "append"> {
1947
+ declare interface EntitySelectCommonProps<T> extends Omit<PopoverProps, "children" | "modal">, Pick<InputFieldProps<string>, "label" | "labelIcon" | "icon" | "error" | "status" | "hint" | "hideLabel" | "maxLength" | "disabled" | "placeholder" | "loading" | "required" | "readonly" | "append" | "size"> {
1948
1948
  entities: EntitySelectEntity[];
1949
1949
  groups: EntitySelectNamedGroup[];
1950
1950
  selectedGroup: string;
@@ -4161,7 +4161,7 @@ export declare type SelectItemProps<T, R = unknown> = SelectItemObject<T, R> | {
4161
4161
  */
4162
4162
  export declare type SelectProps<T extends string, R = unknown> = {
4163
4163
  onChange: (value: T, originalItem?: ResolvedRecordType<R>, option?: SelectItemObject<T, ResolvedRecordType<R>>) => void;
4164
- onChangeSelectedOption?: (option: SelectItemObject<T, ResolvedRecordType<R>>) => void;
4164
+ onChangeSelectedOption?: (option: SelectItemObject<T, ResolvedRecordType<R>> | undefined) => void;
4165
4165
  value?: T;
4166
4166
  defaultItem?: SelectItemObject<T, ResolvedRecordType<R>>;
4167
4167
  children?: React.ReactNode;