@factorialco/f0-react 1.246.0 → 1.247.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.
@@ -7,6 +7,7 @@ import { AmountCellValue as AmountCellValue_2 } from '../../value-display/types/
7
7
  import { AnchorHTMLAttributes } from 'react';
8
8
  import { AreaChartWidgetProps } from './AreaChartWidget';
9
9
  import { AriaAttributes } from 'react';
10
+ import { AutoFill as AutoFill_2 } from 'react';
10
11
  import { AvatarListCellValue } from './types/avatarList.tsx';
11
12
  import { AvatarListCellValue as AvatarListCellValue_2 } from '../../value-display/types/avatarList';
12
13
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
@@ -2981,7 +2982,7 @@ export declare type InfiniteScrollPaginatedResponse<TRecord> = BasePaginatedResp
2981
2982
 
2982
2983
  export declare const Input: <T extends string = string>(props: InputProps<T>) => JSX_2.Element;
2983
2984
 
2984
- declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "status" | "disabled" | "maxLength" | "required" | "loading" | "error" | "hideLabel" | "append" | "labelIcon" | "onClickContent" | "hint" | "readonly" | "clearable" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider"> & React_2.RefAttributes<HTMLInputElement>>;
2985
+ declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "status" | "disabled" | "maxLength" | "required" | "loading" | "error" | "hideLabel" | "append" | "labelIcon" | "onClickContent" | "hint" | "readonly" | "clearable" | "autocomplete" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider"> & React_2.RefAttributes<HTMLInputElement>>;
2985
2986
 
2986
2987
  declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
2987
2988
 
@@ -3008,6 +3009,7 @@ declare type InputFieldProps<T> = {
3008
3009
  readonly?: boolean;
3009
3010
  clearable?: boolean;
3010
3011
  role?: string;
3012
+ autocomplete?: AutoFill_2;
3011
3013
  inputRef?: React.Ref<unknown>;
3012
3014
  "aria-controls"?: AriaAttributes["aria-controls"];
3013
3015
  "aria-expanded"?: AriaAttributes["aria-expanded"];
@@ -3059,7 +3061,7 @@ declare const inputFieldStatus: readonly ["default", "warning", "info", "error"]
3059
3061
 
3060
3062
  declare type InputFieldStatusType = (typeof inputFieldStatus)[number];
3061
3063
 
3062
- export declare type InputProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref"> & Pick<InputFieldProps<T>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint"> & {
3064
+ export declare type InputProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref"> & Pick<InputFieldProps<T>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete"> & {
3063
3065
  type?: Exclude<HTMLInputTypeAttribute, "number">;
3064
3066
  onPressEnter?: () => void;
3065
3067
  };
package/dist/f0.d.ts CHANGED
@@ -4,6 +4,7 @@ import { AmountCellValue } from '../../value-display/types/amount';
4
4
  import { AmountCellValue as AmountCellValue_2 } from './types/amount.tsx';
5
5
  import { AnchorHTMLAttributes } from 'react';
6
6
  import { AriaAttributes } from 'react';
7
+ import { AutoFill as AutoFill_2 } from 'react';
7
8
  import { AvatarListCellValue } from '../../value-display/types/avatarList';
8
9
  import { AvatarListCellValue as AvatarListCellValue_2 } from './types/avatarList.tsx';
9
10
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
@@ -2367,6 +2368,7 @@ declare type InputFieldProps<T> = {
2367
2368
  readonly?: boolean;
2368
2369
  clearable?: boolean;
2369
2370
  role?: string;
2371
+ autocomplete?: AutoFill_2;
2370
2372
  inputRef?: React.Ref<unknown>;
2371
2373
  "aria-controls"?: AriaAttributes["aria-controls"];
2372
2374
  "aria-expanded"?: AriaAttributes["aria-expanded"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.246.0",
3
+ "version": "1.247.0",
4
4
  "main": "dist/f0.js",
5
5
  "typings": "dist/f0.d.ts",
6
6
  "private": false,