@factorialco/f0-react 1.306.2 → 1.306.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.
@@ -558,7 +558,7 @@ declare interface AiPromotionChatState {
558
558
  }
559
559
 
560
560
  export declare const Alert: React_2.ForwardRefExoticComponent<Omit<React_2.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
561
- variant?: "info" | "positive" | "warning" | "destructive" | undefined;
561
+ variant?: "info" | "warning" | "positive" | "destructive" | undefined;
562
562
  } & ({
563
563
  class?: ClassValue;
564
564
  className?: never;
@@ -577,7 +577,7 @@ declare const alertAvatarSizes: readonly ["sm", "md", "lg"];
577
577
  declare const alertAvatarTypes: readonly ["critical", "warning", "info", "positive"];
578
578
 
579
579
  declare const alertAvatarVariants: (props?: ({
580
- type?: "info" | "positive" | "critical" | "warning" | undefined;
580
+ type?: "info" | "critical" | "warning" | "positive" | undefined;
581
581
  size?: "lg" | "md" | "sm" | undefined;
582
582
  } & ({
583
583
  class?: ClassValue;
@@ -609,7 +609,7 @@ export declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLA
609
609
  declare type AlertVariant = "info" | "warning" | "critical" | "neutral" | "positive";
610
610
 
611
611
  declare const alertVariants: (props?: ({
612
- variant?: "info" | "positive" | "critical" | "warning" | "neutral" | undefined;
612
+ variant?: "info" | "critical" | "warning" | "positive" | "neutral" | undefined;
613
613
  } & ({
614
614
  class?: ClassValue;
615
615
  className?: never;
@@ -726,7 +726,7 @@ export declare interface BadgeProps extends VariantProps<typeof badgeVariants> {
726
726
  }
727
727
 
728
728
  declare const badgeVariants: (props?: ({
729
- type?: "positive" | "critical" | "warning" | "neutral" | "highlight" | undefined;
729
+ type?: "critical" | "warning" | "positive" | "neutral" | "highlight" | undefined;
730
730
  size?: "lg" | "md" | "sm" | "xs" | undefined;
731
731
  } & ({
732
732
  class?: ClassValue;
@@ -1686,7 +1686,7 @@ declare type CounterProps = {
1686
1686
 
1687
1687
  declare const counterVariants: (props?: ({
1688
1688
  size?: "md" | "sm" | undefined;
1689
- type?: "bold" | "selected" | "default" | undefined;
1689
+ type?: "bold" | "default" | "selected" | undefined;
1690
1690
  } & ({
1691
1691
  class?: ClassValue;
1692
1692
  className?: never;
@@ -2566,16 +2566,16 @@ actions?: {
2566
2566
  primary: {
2567
2567
  label: string;
2568
2568
  onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void | Promise<unknown>) | undefined;
2569
- disabled?: boolean | undefined;
2570
2569
  icon?: IconType_2 | undefined;
2570
+ disabled?: boolean | undefined;
2571
2571
  } & {
2572
2572
  variant?: "default" | "critical" | "neutral";
2573
2573
  };
2574
2574
  secondary: {
2575
2575
  label: string;
2576
2576
  onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void | Promise<unknown>) | undefined;
2577
- disabled?: boolean | undefined;
2578
2577
  icon?: IconType_2 | undefined;
2578
+ disabled?: boolean | undefined;
2579
2579
  };
2580
2580
  };
2581
2581
  open?: boolean;
@@ -2946,7 +2946,6 @@ export declare type F0CalloutProps = CalloutInternalProps;
2946
2946
 
2947
2947
  declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {
2948
2948
  icon: IconType;
2949
- tooltip?: string;
2950
2949
  size?: "lg" | "md" | "sm" | "xs";
2951
2950
  state?: "normal" | "animate";
2952
2951
  color?: "default" | "currentColor" | `#${string}` | Lowercase<NestedKeyOf<typeof f1Colors.icon>>;
@@ -3070,7 +3069,7 @@ value?: string;
3070
3069
  threshold?: number;
3071
3070
  debounceTime?: number;
3072
3071
  autoFocus?: boolean;
3073
- } & Pick<InputFieldProps<string>, "onChange" | "name" | "onFocus" | "onBlur" | "disabled" | "placeholder" | "size" | "loading" | "clearable"> & RefAttributes<HTMLInputElement>>;
3072
+ } & Pick<InputFieldProps<string>, "onChange" | "name" | "onFocus" | "onBlur" | "size" | "loading" | "disabled" | "placeholder" | "clearable"> & RefAttributes<HTMLInputElement>>;
3074
3073
 
3075
3074
  declare type FavoriteMenuItem = ({
3076
3075
  type: "icon";
@@ -3603,7 +3602,7 @@ export declare type InfiniteScrollPaginatedResponse<TRecord> = BasePaginatedResp
3603
3602
 
3604
3603
  export declare const Input: <T extends string>(props: InputProps<T>) => JSX_2.Element;
3605
3604
 
3606
- declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "role" | "onFocus" | "onBlur" | "status" | "disabled" | "maxLength" | "required" | "size" | "loading" | "error" | "icon" | "append" | "hideLabel" | "labelIcon" | "onClickContent" | "hint" | "readonly" | "clearable" | "autocomplete" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider" | "buttonToggle"> & React_2.RefAttributes<HTMLInputElement>>;
3605
+ declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "role" | "onFocus" | "onBlur" | "status" | "size" | "icon" | "loading" | "disabled" | "maxLength" | "required" | "error" | "append" | "hideLabel" | "labelIcon" | "onClickContent" | "hint" | "readonly" | "clearable" | "autocomplete" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider" | "buttonToggle"> & React_2.RefAttributes<HTMLInputElement>>;
3607
3606
 
3608
3607
  declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
3609
3608
 
@@ -5832,7 +5831,7 @@ export declare const Textarea: React.FC<TextareaProps>;
5832
5831
 
5833
5832
  declare const Textarea_2: React_2.ForwardRefExoticComponent<Omit<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
5834
5833
  value?: string;
5835
- } & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "maxLength" | "placeholder" | "error" | "icon" | "hideLabel" | "labelIcon" | "hint" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
5834
+ } & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "icon" | "maxLength" | "placeholder" | "error" | "hideLabel" | "labelIcon" | "hint" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
5836
5835
 
5837
5836
  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">;
5838
5837
 
@@ -5903,7 +5902,7 @@ declare type toggleActionType = {
5903
5902
 
5904
5903
  export declare const ToggleGroup: React_2.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React_2.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React_2.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
5905
5904
  variant?: "default" | "outline" | undefined;
5906
- size?: "default" | "lg" | "sm" | undefined;
5905
+ size?: "lg" | "sm" | "default" | undefined;
5907
5906
  } & ({
5908
5907
  class?: ClassValue;
5909
5908
  className?: never;
@@ -5914,7 +5913,7 @@ export declare const ToggleGroup: React_2.ForwardRefExoticComponent<((Omit<Toggl
5914
5913
 
5915
5914
  export declare const ToggleGroupItem: React_2.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
5916
5915
  variant?: "default" | "outline" | undefined;
5917
- size?: "default" | "lg" | "sm" | undefined;
5916
+ size?: "lg" | "sm" | "default" | undefined;
5918
5917
  } & ({
5919
5918
  class?: ClassValue;
5920
5919
  className?: never;
@@ -6424,23 +6423,6 @@ declare global {
6424
6423
  }
6425
6424
  }
6426
6425
 
6427
- declare module "gridstack" {
6428
- interface GridStackWidget {
6429
- id?: string;
6430
- allowedSizes?: Array<{
6431
- w: number;
6432
- h: number;
6433
- }>;
6434
- meta?: Record<string, unknown>;
6435
- }
6436
- interface GridStackNode {
6437
- allowedSizes?: Array<{
6438
- w: number;
6439
- h: number;
6440
- }>;
6441
- }
6442
- }
6443
-
6444
6426
 
6445
6427
  declare module "@tiptap/core" {
6446
6428
  interface Commands<ReturnType> {
@@ -6468,9 +6450,21 @@ declare module "@tiptap/core" {
6468
6450
  }
6469
6451
  }
6470
6452
 
6471
-
6472
- declare namespace Calendar {
6473
- var displayName: string;
6453
+ declare module "gridstack" {
6454
+ interface GridStackWidget {
6455
+ id?: string;
6456
+ allowedSizes?: Array<{
6457
+ w: number;
6458
+ h: number;
6459
+ }>;
6460
+ meta?: Record<string, unknown>;
6461
+ }
6462
+ interface GridStackNode {
6463
+ allowedSizes?: Array<{
6464
+ w: number;
6465
+ h: number;
6466
+ }>;
6467
+ }
6474
6468
  }
6475
6469
 
6476
6470
 
@@ -6481,3 +6475,8 @@ declare module "@tiptap/core" {
6481
6475
  };
6482
6476
  }
6483
6477
  }
6478
+
6479
+
6480
+ declare namespace Calendar {
6481
+ var displayName: string;
6482
+ }