@reeverdev/ui 0.2.32 → 0.2.34

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.
package/dist/index.d.cts CHANGED
@@ -598,54 +598,35 @@ interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
598
598
  }
599
599
  declare const NumberInput: React$1.ForwardRefExoticComponent<NumberInputProps & React$1.RefAttributes<HTMLInputElement>>;
600
600
 
601
+ declare const comboboxVariants: (props?: ({
602
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
603
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
601
604
  interface ComboboxOption {
602
605
  value: string;
603
606
  label: string;
604
607
  disabled?: boolean;
605
608
  }
606
- interface ComboboxProps {
607
- /**
608
- * Available options
609
- */
609
+ interface ComboboxProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof comboboxVariants> {
610
+ /** Available options */
610
611
  options: ComboboxOption[];
611
- /**
612
- * Selected value
613
- */
612
+ /** Selected value */
614
613
  value?: string;
615
- /**
616
- * Default selected value (uncontrolled)
617
- */
614
+ /** Default selected value (uncontrolled) */
618
615
  defaultValue?: string;
619
- /**
620
- * Callback when selection changes
621
- */
616
+ /** Callback when selection changes */
622
617
  onValueChange?: (value: string) => void;
623
- /**
624
- * Placeholder text when no selection
625
- */
618
+ /** Placeholder text when no selection */
626
619
  placeholder?: string;
627
- /**
628
- * Search placeholder
629
- */
620
+ /** Search placeholder */
630
621
  searchPlaceholder?: string;
631
- /**
632
- * Empty state text
633
- */
622
+ /** Empty state text */
634
623
  emptyText?: string;
635
- /**
636
- * Disabled state
637
- */
624
+ /** Disabled state */
638
625
  disabled?: boolean;
639
- /**
640
- * Allow clearing the selection
641
- */
626
+ /** Allow clearing the selection */
642
627
  clearable?: boolean;
643
- /**
644
- * Additional class name
645
- */
646
- className?: string;
647
628
  }
648
- declare const Combobox: React$1.ForwardRefExoticComponent<ComboboxProps & React$1.RefAttributes<HTMLButtonElement>>;
629
+ declare const Combobox: React$1.ForwardRefExoticComponent<ComboboxProps & React$1.RefAttributes<HTMLDivElement>>;
649
630
 
650
631
  interface DatePickerProps {
651
632
  /**
package/dist/index.d.ts CHANGED
@@ -598,54 +598,35 @@ interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
598
598
  }
599
599
  declare const NumberInput: React$1.ForwardRefExoticComponent<NumberInputProps & React$1.RefAttributes<HTMLInputElement>>;
600
600
 
601
+ declare const comboboxVariants: (props?: ({
602
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
603
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
601
604
  interface ComboboxOption {
602
605
  value: string;
603
606
  label: string;
604
607
  disabled?: boolean;
605
608
  }
606
- interface ComboboxProps {
607
- /**
608
- * Available options
609
- */
609
+ interface ComboboxProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof comboboxVariants> {
610
+ /** Available options */
610
611
  options: ComboboxOption[];
611
- /**
612
- * Selected value
613
- */
612
+ /** Selected value */
614
613
  value?: string;
615
- /**
616
- * Default selected value (uncontrolled)
617
- */
614
+ /** Default selected value (uncontrolled) */
618
615
  defaultValue?: string;
619
- /**
620
- * Callback when selection changes
621
- */
616
+ /** Callback when selection changes */
622
617
  onValueChange?: (value: string) => void;
623
- /**
624
- * Placeholder text when no selection
625
- */
618
+ /** Placeholder text when no selection */
626
619
  placeholder?: string;
627
- /**
628
- * Search placeholder
629
- */
620
+ /** Search placeholder */
630
621
  searchPlaceholder?: string;
631
- /**
632
- * Empty state text
633
- */
622
+ /** Empty state text */
634
623
  emptyText?: string;
635
- /**
636
- * Disabled state
637
- */
624
+ /** Disabled state */
638
625
  disabled?: boolean;
639
- /**
640
- * Allow clearing the selection
641
- */
626
+ /** Allow clearing the selection */
642
627
  clearable?: boolean;
643
- /**
644
- * Additional class name
645
- */
646
- className?: string;
647
628
  }
648
- declare const Combobox: React$1.ForwardRefExoticComponent<ComboboxProps & React$1.RefAttributes<HTMLButtonElement>>;
629
+ declare const Combobox: React$1.ForwardRefExoticComponent<ComboboxProps & React$1.RefAttributes<HTMLDivElement>>;
649
630
 
650
631
  interface DatePickerProps {
651
632
  /**