@factorialco/f0-react 1.245.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
  };
@@ -5576,8 +5578,8 @@ declare global {
5576
5578
 
5577
5579
  declare module "@tiptap/core" {
5578
5580
  interface Commands<ReturnType> {
5579
- liveCompanion: {
5580
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5581
+ aiBlock: {
5582
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5581
5583
  };
5582
5584
  }
5583
5585
  }
@@ -5585,8 +5587,8 @@ declare module "@tiptap/core" {
5585
5587
 
5586
5588
  declare module "@tiptap/core" {
5587
5589
  interface Commands<ReturnType> {
5588
- aiBlock: {
5589
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5590
+ liveCompanion: {
5591
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5590
5592
  };
5591
5593
  }
5592
5594
  }
@@ -5601,6 +5603,11 @@ declare module "@tiptap/core" {
5601
5603
  }
5602
5604
 
5603
5605
 
5606
+ declare namespace Calendar {
5607
+ var displayName: string;
5608
+ }
5609
+
5610
+
5604
5611
  declare module "@tiptap/core" {
5605
5612
  interface Commands<ReturnType> {
5606
5613
  moodTracker: {
@@ -5608,8 +5615,3 @@ declare module "@tiptap/core" {
5608
5615
  };
5609
5616
  }
5610
5617
  }
5611
-
5612
-
5613
- declare namespace Calendar {
5614
- var displayName: string;
5615
- }