@factorialco/f0-react 1.201.7 → 1.202.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.
@@ -319,23 +319,24 @@ export declare const AlertDescription: React_2.ForwardRefExoticComponent<React_2
319
319
  declare interface AlertProps extends VariantProps<typeof alertVariants> {
320
320
  title: string;
321
321
  description: string;
322
- action: {
322
+ action?: {
323
323
  label: string;
324
- onClick?: () => void;
324
+ onClick: () => void;
325
325
  };
326
326
  link?: {
327
327
  label: string;
328
328
  href: string;
329
329
  };
330
+ icon?: IconType;
330
331
  variant: AlertVariant;
331
332
  }
332
333
 
333
334
  export declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
334
335
 
335
- declare type AlertVariant = "info" | "warning" | "critical";
336
+ declare type AlertVariant = "info" | "warning" | "critical" | "neutral" | "positive";
336
337
 
337
338
  declare const alertVariants: (props?: ({
338
- variant?: "info" | "critical" | "warning" | undefined;
339
+ variant?: "info" | "critical" | "warning" | "positive" | "neutral" | undefined;
339
340
  } & ({
340
341
  class?: ClassValue;
341
342
  className?: never;
@@ -1885,12 +1886,11 @@ export declare const EntitySelect: (props: EntitySelectProps & {
1885
1886
  children?: React.ReactNode;
1886
1887
  }) => JSX_2.Element;
1887
1888
 
1888
- declare interface EntitySelectCommonProps extends Omit<PopoverProps, "children" | "modal"> {
1889
+ declare interface EntitySelectCommonProps extends Omit<PopoverProps, "children" | "modal">, Pick<InputFieldProps<string>, "label" | "labelIcon" | "icon" | "error" | "status" | "hint" | "hideLabel" | "maxLength" | "value" | "disabled" | "placeholder" | "loading" | "required" | "readonly" | "append"> {
1889
1890
  entities: EntitySelectEntity[];
1890
1891
  groups: EntitySelectNamedGroup[];
1891
1892
  selectedGroup: string;
1892
- triggerPlaceholder: string;
1893
- triggerSelected: string;
1893
+ selectedItemsCopy: string;
1894
1894
  notFoundTitle: string;
1895
1895
  notFoundSubtitle: string;
1896
1896
  onItemExpandedChange: (id: EntityId, expanded: boolean) => void;
@@ -2566,6 +2566,7 @@ declare type InputFieldProps<T> = {
2566
2566
  appendTag?: string;
2567
2567
  lengthProvider?: (value: T | undefined) => number;
2568
2568
  loading?: boolean;
2569
+ avatar?: AvatarVariant;
2569
2570
  loadingIndicator?: {
2570
2571
  /**
2571
2572
  * If true, the loading spinner will be displayed over the content without affecting the layout
@@ -3114,7 +3115,7 @@ action: BulkAction,
3114
3115
  ...Parameters<OnSelectItemsCallback<Record, Filters>>
3115
3116
  ]) => void;
3116
3117
 
3117
- export declare const OneAlert: ({ title, description, action, link, variant, }: AlertProps) => JSX_2.Element;
3118
+ export declare const OneAlert: ({ title, description, action, link, icon, variant, }: AlertProps) => JSX_2.Element;
3118
3119
 
3119
3120
  export declare const OneApprovalHistory: FC<OneApprovalHistoryProps>;
3120
3121