@factorialco/f0-react 1.240.1 → 1.240.3

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.
@@ -2763,7 +2763,7 @@ export declare type InfiniteScrollPaginatedResponse<TRecord> = BasePaginatedResp
2763
2763
 
2764
2764
  export declare const Input: <T extends string = string>(props: InputProps<T>) => JSX_2.Element;
2765
2765
 
2766
- declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "role" | "status" | "disabled" | "size" | "icon" | "loading" | "hideLabel" | "append" | "maxLength" | "required" | "error" | "labelIcon" | "onClickContent" | "hint" | "clearable" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider"> & React_2.RefAttributes<HTMLInputElement>>;
2766
+ declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "role" | "onFocus" | "onBlur" | "status" | "disabled" | "size" | "icon" | "loading" | "hideLabel" | "append" | "maxLength" | "required" | "error" | "labelIcon" | "onClickContent" | "hint" | "readonly" | "clearable" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider"> & React_2.RefAttributes<HTMLInputElement>>;
2767
2767
 
2768
2768
  declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
2769
2769
 
@@ -2789,11 +2789,13 @@ declare type InputFieldProps<T> = {
2789
2789
  readonly?: boolean;
2790
2790
  clearable?: boolean;
2791
2791
  role?: string;
2792
+ inputRef?: React.Ref<unknown>;
2792
2793
  "aria-controls"?: AriaAttributes["aria-controls"];
2793
2794
  "aria-expanded"?: AriaAttributes["aria-expanded"];
2794
2795
  onClear?: () => void;
2795
2796
  onFocus?: () => void;
2796
2797
  onBlur?: () => void;
2798
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
2797
2799
  canGrow?: boolean;
2798
2800
  children: React.ReactNode & {
2799
2801
  onFocus?: () => void;
@@ -4339,6 +4341,7 @@ export declare type SelectItemObject<T, R = unknown> = {
4339
4341
  tag?: string;
4340
4342
  icon?: IconType;
4341
4343
  item?: R;
4344
+ disabled?: boolean;
4342
4345
  };
4343
4346
 
4344
4347
  export declare type SelectItemProps<T, R = unknown> = SelectItemObject<T, R> | {
@@ -4818,7 +4821,7 @@ export declare const Textarea: React.FC<TextareaProps>;
4818
4821
 
4819
4822
  declare const Textarea_2: React_2.ForwardRefExoticComponent<Omit<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
4820
4823
  value?: string;
4821
- } & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "onFocus" | "onBlur" | "status" | "icon" | "hideLabel" | "maxLength" | "placeholder" | "error" | "labelIcon" | "hint" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
4824
+ } & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "icon" | "hideLabel" | "maxLength" | "placeholder" | "error" | "labelIcon" | "hint" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
4822
4825
 
4823
4826
  export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error">;
4824
4827