@chekinapp/ui 0.0.89 → 0.0.91

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
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { ReactNode, ElementType, HTMLAttributes, InputHTMLAttributes, ComponentProps, PropsWithChildren, MouseEvent, SVGProps, ComponentType, ImgHTMLAttributes, AnchorHTMLAttributes, Ref, FC, ButtonHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, MouseEventHandler, ComponentPropsWithoutRef, ReactElement, ForwardedRef, TextareaHTMLAttributes, FocusEventHandler, RefCallback, RefObject, ChangeEvent } from 'react';
2
+ import React__default, { ReactNode, ElementType, HTMLAttributes, ComponentProps, ReactElement, InputHTMLAttributes, PropsWithChildren, MouseEvent, SVGProps, ComponentType, ImgHTMLAttributes, AnchorHTMLAttributes, FC, ButtonHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, MouseEventHandler, ComponentPropsWithoutRef, ForwardedRef, Ref, RefCallback, RefObject, ChangeEvent, TextareaHTMLAttributes, FocusEventHandler } from 'react';
3
3
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
4
4
  import * as class_variance_authority_types from 'class-variance-authority/types';
5
5
  import { VariantProps } from 'class-variance-authority';
@@ -11,6 +11,7 @@ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
11
11
  import { ColumnDef } from '@tanstack/react-table';
12
12
  import * as DialogPrimitive from '@radix-ui/react-dialog';
13
13
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
14
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
14
15
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
15
16
  import { TooltipContentProps as TooltipContentProps$1 } from '@radix-ui/react-tooltip';
16
17
  import { LucideIcon } from 'lucide-react';
@@ -19,11 +20,9 @@ import * as LabelPrimitive from '@radix-ui/react-label';
19
20
  import * as RadixPopover from '@radix-ui/react-popover';
20
21
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
21
22
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
22
- import * as SelectPrimitive from '@radix-ui/react-select';
23
23
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
24
24
  import ReactSignatureCanvas from 'react-signature-pad-wrapper';
25
25
  export { default as SignatureCanvasType } from 'react-signature-pad-wrapper';
26
- import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
27
26
  import * as SliderPrimitive from '@radix-ui/react-slider';
28
27
  import * as SwitchPrimitives from '@radix-ui/react-switch';
29
28
  import { ToastT } from 'sonner';
@@ -31,6 +30,7 @@ export { Toaster, toast } from 'sonner';
31
30
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
32
31
  import ReactWebcam from 'react-webcam';
33
32
  import { ClassValue } from 'clsx';
33
+ import * as SelectPrimitive from '@radix-ui/react-select';
34
34
 
35
35
  declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
36
36
  declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -342,6 +342,23 @@ type CopyStringProps = HTMLAttributes<HTMLDivElement> & {
342
342
  };
343
343
  declare function CopyString({ value, className, ...props }: CopyStringProps): react_jsx_runtime.JSX.Element;
344
344
 
345
+ declare enum CounterSize {
346
+ S = "small",
347
+ L = "large"
348
+ }
349
+ type CounterProps = {
350
+ value: number;
351
+ onChange?: (value: number) => void;
352
+ disabled?: boolean;
353
+ readOnly?: boolean;
354
+ error?: string | boolean;
355
+ minNumber?: number;
356
+ maxNumber?: number;
357
+ size?: CounterSize;
358
+ className?: string;
359
+ };
360
+ declare const Counter: ({ value, error, onChange, disabled, readOnly, minNumber, maxNumber, size, className, }: CounterProps) => react_jsx_runtime.JSX.Element;
361
+
345
362
  interface DataTableProps<TData, TValue> {
346
363
  columns: ColumnDef<TData, TValue>[];
347
364
  data: TData[];
@@ -442,7 +459,7 @@ interface BaseCheckboxDropdownGroupProps {
442
459
  keepOpenOnSelect?: boolean;
443
460
  className?: string;
444
461
  }
445
- interface MultiSelectProps$1 extends BaseCheckboxDropdownGroupProps {
462
+ interface MultiSelectProps extends BaseCheckboxDropdownGroupProps {
446
463
  multiple: true;
447
464
  value?: CheckboxOption[] | null;
448
465
  onChange: (selectedValues: CheckboxOption[] | null) => void;
@@ -457,7 +474,7 @@ interface AutoDetectProps extends BaseCheckboxDropdownGroupProps {
457
474
  value?: CheckboxOption | null;
458
475
  onChange: (selectedValues: CheckboxOption | null) => void;
459
476
  }
460
- type CheckboxDropdownGroupProps = MultiSelectProps$1 | SingleSelectProps | AutoDetectProps;
477
+ type CheckboxDropdownGroupProps = MultiSelectProps | SingleSelectProps | AutoDetectProps;
461
478
 
462
479
  declare const CheckboxDropdownGroup: React$1.ForwardRefExoticComponent<CheckboxDropdownGroupProps & React$1.RefAttributes<HTMLDivElement>>;
463
480
 
@@ -514,6 +531,25 @@ interface ExternalLinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorEleme
514
531
  }
515
532
  declare const ExternalLink: React$1.ForwardRefExoticComponent<ExternalLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
516
533
 
534
+ declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
535
+ declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
536
+ declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
537
+
538
+ type ExpandableContentTrigger = ReactElement | ((isOpen: boolean) => ReactElement);
539
+ type ExpandableContentProps = Omit<ComponentProps<typeof Collapsible>, 'children' | 'defaultOpen' | 'onOpenChange' | 'open'> & {
540
+ children: ReactNode;
541
+ contentClassName?: string;
542
+ defaultOpen?: boolean;
543
+ heightLimit?: number;
544
+ onOpenChange?: (open: boolean) => void;
545
+ open?: boolean;
546
+ showLessLabel?: ReactNode;
547
+ showMoreLabel?: ReactNode;
548
+ trigger?: ExpandableContentTrigger;
549
+ triggerClassName?: string;
550
+ };
551
+ declare function ExpandableContent({ children, className, contentClassName, defaultOpen, disabled, heightLimit, onOpenChange, open, showLessLabel, showMoreLabel, trigger, triggerClassName, ...props }: ExpandableContentProps): react_jsx_runtime.JSX.Element;
552
+
517
553
  interface FileInputButtonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
518
554
  label?: string;
519
555
  icon?: ReactNode;
@@ -667,9 +703,6 @@ interface ImageProps extends ImgHTMLAttributes<HTMLImageElement> {
667
703
  }
668
704
  declare function Image({ src, alt, className, fallbackSrc, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
669
705
 
670
- type InputProps = React$1.ComponentProps<'input'>;
671
- declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
672
-
673
706
  type InputOTPProps = {
674
707
  maxLength: number;
675
708
  value?: string;
@@ -811,6 +844,8 @@ declare const uiKitTranslations: {
811
844
  signature_placeholder_text: string;
812
845
  camera_permissions_denied: string;
813
846
  clear: string;
847
+ show_less: string;
848
+ show_more: string;
814
849
  };
815
850
  readonly es: {
816
851
  verified: string;
@@ -1247,6 +1282,8 @@ declare const uiKitI18nResources: {
1247
1282
  signature_placeholder_text: string;
1248
1283
  camera_permissions_denied: string;
1249
1284
  clear: string;
1285
+ show_less: string;
1286
+ show_more: string;
1250
1287
  };
1251
1288
  };
1252
1289
  readonly es: {
@@ -1976,74 +2013,6 @@ declare const Section: React$1.ForwardRefExoticComponent<SectionProps & React$1.
1976
2013
  declare const SubSection: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLDivElement>>;
1977
2014
  declare const DividingSubsection: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLDivElement>>;
1978
2015
 
1979
- declare const SelectRoot: React$1.FC<SelectPrimitive.SelectProps>;
1980
- declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1981
- declare const SelectValue$2: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
1982
- declare const SelectPortal: React$1.FC<SelectPrimitive.SelectPortalProps>;
1983
- type SelectSize = 'sm' | 'md';
1984
- declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
1985
- size?: SelectSize;
1986
- } & React$1.RefAttributes<HTMLButtonElement>>;
1987
- declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1988
- declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1989
- declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1990
- declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1991
- declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1992
- size?: SelectSize;
1993
- } & React$1.RefAttributes<HTMLDivElement>>;
1994
- declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1995
-
1996
- type SelectProps<D = unknown, V extends string | number = string, L extends ReactNode = string> = {
1997
- placeholder?: string;
1998
- label?: string | ReactNode;
1999
- className?: string;
2000
- size?: SelectSize;
2001
- options?: SelectOption<D, V, L>[];
2002
- children?: ReactNode;
2003
- value?: string;
2004
- onChange?: (value: V) => void;
2005
- onValueChange?: (value: string) => void;
2006
- disabled?: boolean;
2007
- supportingText?: string;
2008
- errorText?: string;
2009
- containerClassName?: string;
2010
- triggerClassName?: string;
2011
- };
2012
- declare const SelectInner: <V extends string | number = string, D = unknown, L extends ReactNode = string>({ placeholder, label, className, size, options, supportingText, errorText, containerClassName, triggerClassName, children, value, onChange, onValueChange, disabled, }: SelectProps<D, V, L>, ref: Ref<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
2013
- declare const Select: <V extends string | number = string, D = unknown, L extends ReactNode = string>(props: SelectProps<D, V, L> & {
2014
- ref?: Ref<HTMLButtonElement>;
2015
- }) => ReturnType<typeof SelectInner>;
2016
-
2017
- type MultiSelectProps<D, V extends string | number = string, L extends string | number | ReactNode = string> = {
2018
- label?: string | ReactNode;
2019
- className?: string;
2020
- options?: SelectOption<D, V, L>[];
2021
- children?: ReactNode;
2022
- value?: (string | number)[];
2023
- onChange?: (value: (string | number)[]) => void;
2024
- placeholder?: string;
2025
- disabled?: boolean;
2026
- };
2027
- declare const MultiSelectInner: <V extends string | number = string, D = unknown, L extends string | number | ReactNode = string>({ label, value, onChange, className, options, placeholder, disabled, }: MultiSelectProps<D, V, L>, ref: Ref<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
2028
- declare const MultiSelect: <V extends string | number = string, D = unknown, L extends string | number | ReactNode = string>(props: MultiSelectProps<D, V, L> & {
2029
- ref?: Ref<HTMLDivElement>;
2030
- }) => ReturnType<typeof MultiSelectInner>;
2031
-
2032
- type InfinitySelectProps = {
2033
- label: string | ReactNode;
2034
- className?: string;
2035
- placeholder?: string;
2036
- value?: string;
2037
- onValueChange?: (value: string) => void;
2038
- options: SelectOption[];
2039
- hasNextPage: boolean;
2040
- isFetchingNextPage: boolean;
2041
- fetchNextPage: () => void;
2042
- itemHeight?: number;
2043
- maxHeight?: number;
2044
- };
2045
- declare function InfinitySelect({ label, className, placeholder, value, onValueChange, options, hasNextPage, isFetchingNextPage, fetchNextPage, itemHeight, maxHeight, }: InfinitySelectProps): react_jsx_runtime.JSX.Element;
2046
-
2047
2016
  type SeparatorProps = React$1.ComponentProps<typeof SeparatorPrimitive.Root>;
2048
2017
  declare function Separator({ className, orientation, decorative, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
2049
2018
 
@@ -2195,10 +2164,6 @@ type MainLoaderProps = {
2195
2164
 
2196
2165
  declare const CircularLoader: React__default.MemoExoticComponent<({ visible, size, height, width, position, label, className, }: MainLoaderProps) => react_jsx_runtime.JSX.Element | null>;
2197
2166
 
2198
- declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
2199
- declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
2200
- declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
2201
-
2202
2167
  type CarouselRootProps = React$1.ComponentPropsWithoutRef<'div'> & {
2203
2168
  index?: number;
2204
2169
  defaultIndex?: number;
@@ -2571,38 +2536,6 @@ type ErrorMessageProps = {
2571
2536
  };
2572
2537
  declare function ErrorMessage({ className, children, disabled }: ErrorMessageProps): react_jsx_runtime.JSX.Element;
2573
2538
 
2574
- declare const inputVariants: (props?: ({
2575
- variant?: "floating" | "standard" | null | undefined;
2576
- error?: boolean | null | undefined;
2577
- readOnly?: boolean | null | undefined;
2578
- } & class_variance_authority_types.ClassProp) | undefined) => string;
2579
- type TextFieldVariantProps = VariantProps<typeof inputVariants>;
2580
- interface TextFieldProps extends Omit<React$1.ComponentProps<'input'>, 'readOnly'>, Pick<TextFieldVariantProps, 'variant'> {
2581
- label?: string;
2582
- error?: string;
2583
- optional?: boolean;
2584
- optionalLabel?: string;
2585
- supportingText?: string;
2586
- tooltip?: React$1.ReactNode;
2587
- endIcon?: React$1.ReactNode;
2588
- readOnly?: boolean;
2589
- wrapperClassName?: string;
2590
- }
2591
- declare const TextField: React$1.ForwardRefExoticComponent<Omit<TextFieldProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
2592
-
2593
- type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & {
2594
- label?: string;
2595
- invalid?: boolean;
2596
- maxLength?: number;
2597
- textareaClassName?: string;
2598
- };
2599
- declare const Textarea: React$1.ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & {
2600
- label?: string;
2601
- invalid?: boolean;
2602
- maxLength?: number;
2603
- textareaClassName?: string;
2604
- } & React$1.RefAttributes<HTMLTextAreaElement>>;
2605
-
2606
2539
  type ThreeDotsLoaderProps = {
2607
2540
  height?: number;
2608
2541
  width?: number;
@@ -2671,33 +2604,6 @@ declare const Webcam: React$1.ForwardRefExoticComponent<WebcamProps & React$1.Re
2671
2604
  type WideButtonProps = Omit<ButtonProps, 'size'>;
2672
2605
  declare const WideButton: React$1.ForwardRefExoticComponent<WideButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
2673
2606
 
2674
- type DatePickerValue = Date | number | null | undefined | '';
2675
- type DatePickerProps = {
2676
- variant?: 'default' | 'airbnb';
2677
- label: string;
2678
- topLabel?: string;
2679
- value?: DatePickerValue;
2680
- defaultValue?: DatePickerValue;
2681
- onChange: (value: Date | null) => void;
2682
- onBlur?: React$1.FocusEventHandler<HTMLButtonElement>;
2683
- placeholder?: string;
2684
- disabled?: boolean;
2685
- error?: string;
2686
- invalid?: boolean;
2687
- loading?: boolean;
2688
- optional?: boolean | string;
2689
- tooltip?: React$1.ReactNode;
2690
- className?: string;
2691
- name?: string;
2692
- minDate?: Date;
2693
- maxDate?: Date;
2694
- locale?: string;
2695
- mobileTitle?: string;
2696
- doneLabel?: string;
2697
- formatValue?: (date: Date) => string;
2698
- };
2699
- declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLButtonElement>>;
2700
-
2701
2607
  declare function Drawer({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
2702
2608
  declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
2703
2609
  declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
@@ -2772,75 +2678,23 @@ type ResponsiveDropdownProps = {
2772
2678
  };
2773
2679
  declare function ResponsiveDropdown({ trigger, options, children, side, align, disabled, title, className, dropdownClassName, drawerClassName, }: Readonly<ResponsiveDropdownProps>): react_jsx_runtime.JSX.Element;
2774
2680
 
2775
- type FieldTriggerProps = {
2776
- as?: 'button' | 'div';
2777
- variant?: 'airbnb' | 'default';
2778
- id: string;
2779
- label: string;
2681
+ type DashboardInputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
2682
+ label?: string | React$1.ReactNode;
2780
2683
  topLabel?: string;
2781
- labelId: string;
2782
- valueId?: string;
2783
- helperTextId?: string;
2784
- errorId?: string;
2785
- labelText?: React$1.ReactNode;
2786
- valueText?: string;
2787
- placeholder?: string;
2788
- disabled?: boolean;
2789
- error?: boolean | string;
2790
- loading?: boolean;
2791
- optional?: boolean | string;
2792
2684
  tooltip?: React$1.ReactNode;
2793
- describedBy?: string;
2794
- className?: string;
2795
- contentClassName?: string;
2796
- trailingAdornment?: React$1.ReactNode;
2797
- forceFloatingLabel?: boolean;
2798
- forceLabelText?: boolean;
2799
- hideErrorMessage?: boolean;
2800
- children?: React$1.ReactNode;
2801
- onClick?: () => void;
2802
- onKeyDown?: React$1.KeyboardEventHandler<HTMLButtonElement | HTMLDivElement>;
2803
- } & Omit<React$1.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, 'children' | 'className' | 'disabled' | 'id' | 'onClick' | 'onKeyDown'>;
2804
- declare const FieldTrigger: React$1.ForwardRefExoticComponent<{
2805
- as?: "button" | "div";
2806
- variant?: "airbnb" | "default";
2807
- id: string;
2808
- label: string;
2809
- topLabel?: string;
2810
- labelId: string;
2811
- valueId?: string;
2812
- helperTextId?: string;
2813
- errorId?: string;
2814
- labelText?: React$1.ReactNode;
2815
- valueText?: string;
2816
- placeholder?: string;
2817
- disabled?: boolean;
2818
- error?: boolean | string;
2819
- loading?: boolean;
2820
2685
  optional?: boolean | string;
2821
- tooltip?: React$1.ReactNode;
2822
- describedBy?: string;
2823
- className?: string;
2824
- contentClassName?: string;
2825
- trailingAdornment?: React$1.ReactNode;
2826
- forceFloatingLabel?: boolean;
2827
- forceLabelText?: boolean;
2828
- hideErrorMessage?: boolean;
2829
- children?: React$1.ReactNode;
2830
- onClick?: () => void;
2831
- onKeyDown?: React$1.KeyboardEventHandler<HTMLButtonElement | HTMLDivElement>;
2832
- } & Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "className" | "id" | "children" | "onKeyDown" | "onClick" | "disabled"> & React$1.RefAttributes<HTMLDivElement | HTMLButtonElement>>;
2833
-
2834
- type AirbnbInputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
2835
- variant?: 'airbnb' | 'default';
2836
- label?: string;
2837
- topLabel?: string;
2838
- helperText?: string;
2839
- error?: string;
2686
+ error?: unknown;
2840
2687
  invalid?: boolean;
2841
2688
  loading?: boolean;
2842
- optional?: boolean | string;
2843
- tooltip?: React$1.ReactNode;
2689
+ empty?: boolean;
2690
+ helperText?: string;
2691
+ footer?: string | React$1.ReactNode;
2692
+ leftIcon?: React$1.ReactNode;
2693
+ sign?: string | React$1.ReactNode;
2694
+ onReset?: () => void;
2695
+ showNumberButtons?: boolean;
2696
+ onIncrement?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
2697
+ onDecrement?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
2844
2698
  wrapperClassName?: string;
2845
2699
  fieldClassName?: string;
2846
2700
  contentClassName?: string;
@@ -2848,16 +2702,23 @@ type AirbnbInputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
2848
2702
  trailingAdornment?: React$1.ReactNode;
2849
2703
  renderErrorMessage?: boolean;
2850
2704
  };
2851
- declare const AirbnbInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
2852
- variant?: "airbnb" | "default";
2853
- label?: string;
2705
+ declare const DashboardInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
2706
+ label?: string | React$1.ReactNode;
2854
2707
  topLabel?: string;
2855
- helperText?: string;
2856
- error?: string;
2708
+ tooltip?: React$1.ReactNode;
2709
+ optional?: boolean | string;
2710
+ error?: unknown;
2857
2711
  invalid?: boolean;
2858
2712
  loading?: boolean;
2859
- optional?: boolean | string;
2860
- tooltip?: React$1.ReactNode;
2713
+ empty?: boolean;
2714
+ helperText?: string;
2715
+ footer?: string | React$1.ReactNode;
2716
+ leftIcon?: React$1.ReactNode;
2717
+ sign?: string | React$1.ReactNode;
2718
+ onReset?: () => void;
2719
+ showNumberButtons?: boolean;
2720
+ onIncrement?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
2721
+ onDecrement?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
2861
2722
  wrapperClassName?: string;
2862
2723
  fieldClassName?: string;
2863
2724
  contentClassName?: string;
@@ -2866,189 +2727,44 @@ declare const AirbnbInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAt
2866
2727
  renderErrorMessage?: boolean;
2867
2728
  } & React$1.RefAttributes<HTMLInputElement>>;
2868
2729
 
2869
- type PhoneFieldOption = {
2870
- value: string;
2871
- label: string;
2872
- disabled?: boolean;
2873
- };
2874
- type PhoneFieldValue = {
2875
- code: string;
2876
- number: string;
2877
- };
2878
- type PhoneFieldProps = {
2879
- variant?: 'default' | 'airbnb';
2730
+ type SelectValue$1 = string | number;
2731
+ type DashboardSelectFilterOption<T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string> = (option: SelectOption<T, V, L>, input: string) => boolean;
2732
+
2733
+ type DashboardSelectProps<T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string> = {
2734
+ options?: SelectOption<T, V, L>[];
2735
+ value?: SelectOption<T, V, L> | null;
2736
+ onChange: (option: SelectOption<T, V, L>) => void;
2737
+ onBlur?: React$1.FocusEventHandler<HTMLButtonElement>;
2880
2738
  label: string;
2881
2739
  topLabel?: string;
2882
- value?: PhoneFieldValue | null;
2883
- onChange: (value: PhoneFieldValue) => void;
2884
- onBlur?: React$1.FocusEventHandler<HTMLInputElement>;
2885
- options: PhoneFieldOption[];
2886
2740
  placeholder?: string;
2741
+ getValueLabel?: (option: SelectOption<T, V, L>) => string;
2887
2742
  disabled?: boolean;
2888
- codeReadOnly?: boolean;
2889
- error?: string;
2890
- invalid?: boolean;
2891
2743
  loading?: boolean;
2892
2744
  optional?: boolean | string;
2893
2745
  tooltip?: React$1.ReactNode;
2746
+ error?: string;
2747
+ invalid?: boolean;
2748
+ hideErrorMessage?: boolean;
2894
2749
  className?: string;
2750
+ menuClassName?: string;
2751
+ dropdownClassName?: string;
2752
+ drawerClassName?: string;
2895
2753
  name?: string;
2896
- codeName?: string;
2897
- numberName?: string;
2898
- mobileTitle?: string;
2899
- codePlaceholder?: string;
2754
+ width?: number | string;
2755
+ noOptionsMessage?: () => string | undefined;
2756
+ searchable?: boolean;
2757
+ searchPlaceholder?: string;
2758
+ filterOption?: DashboardSelectFilterOption<T, V, L>;
2759
+ helperText?: string;
2900
2760
  };
2901
- declare const PhoneField: React$1.ForwardRefExoticComponent<PhoneFieldProps & React$1.RefAttributes<HTMLButtonElement>>;
2761
+ type DashboardSelectComponent = <T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string>(props: DashboardSelectProps<T, V, L> & {
2762
+ ref?: React$1.Ref<HTMLButtonElement>;
2763
+ }) => React$1.ReactElement;
2764
+ declare const DashboardSelect: DashboardSelectComponent;
2902
2765
 
2903
- type SelectValue$1 = string | number;
2904
- type SelectRenderTriggerProps<T = undefined, V extends SelectValue$1 = string, L extends string | number | React$1.ReactNode = string> = {
2905
- id: string;
2906
- open: boolean;
2907
- variant: 'default' | 'airbnb';
2908
- label: string;
2909
- topLabel?: string;
2910
- helperText: string;
2911
- value?: SelectOption<T, V, L> | null;
2912
- valueLabel?: string;
2913
- disabled?: boolean;
2914
- loading?: boolean;
2915
- optional?: boolean | string;
2916
- tooltip?: React$1.ReactNode;
2917
- error?: string;
2918
- invalid?: boolean;
2919
- listboxId: string;
2920
- describedBy?: string;
2921
- triggerRef: React$1.Ref<HTMLButtonElement>;
2922
- onClick: () => void;
2923
- onKeyDown: React$1.KeyboardEventHandler<HTMLButtonElement>;
2924
- onBlur?: React$1.FocusEventHandler<HTMLButtonElement>;
2925
- };
2926
- type AirbnbSelectProps<T = undefined, V extends SelectValue$1 = string, L extends string | number | React$1.ReactNode = string> = {
2927
- options?: SelectOption<T, V, L>[];
2928
- value?: SelectOption<T, V, L> | null;
2929
- onChange: (option: SelectOption<T, V, L>) => void;
2930
- onBlur?: React$1.FocusEventHandler<HTMLButtonElement>;
2931
- variant?: 'default' | 'airbnb';
2932
- label: string;
2933
- topLabel?: string;
2934
- placeholder?: string;
2935
- getValueLabel?: (option: SelectOption<T, V, L>) => string;
2936
- renderTrigger?: (props: SelectRenderTriggerProps<T, V, L>) => React$1.ReactNode;
2937
- disabled?: boolean;
2938
- loading?: boolean;
2939
- optional?: boolean | string;
2940
- tooltip?: React$1.ReactNode;
2941
- error?: string;
2942
- invalid?: boolean;
2943
- hideErrorMessage?: boolean;
2944
- className?: string;
2945
- menuClassName?: string;
2946
- dropdownClassName?: string;
2947
- doneLabel?: string;
2948
- mobileTitle?: string;
2949
- name?: string;
2950
- noOptionsMessage?: () => string | undefined;
2951
- };
2952
-
2953
- declare const AirbnbSelect: <T = undefined, V extends SelectValue$1 = string, L extends string | number | ReactNode = string>(props: AirbnbSelectProps<T, V, L> & {
2954
- ref?: React$1.Ref<HTMLButtonElement>;
2955
- }) => React$1.ReactElement;
2956
-
2957
- type AirbnbSearchInputProps = ComponentProps<'input'> & {
2958
- onReset?: () => void;
2959
- wrapperClassName?: string;
2960
- };
2961
- declare const AirbnbSearchInput: React$1.ForwardRefExoticComponent<Omit<AirbnbSearchInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
2962
-
2963
- type DashboardInputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
2964
- label?: string | React$1.ReactNode;
2965
- topLabel?: string;
2966
- tooltip?: React$1.ReactNode;
2967
- optional?: boolean | string;
2968
- error?: unknown;
2969
- invalid?: boolean;
2970
- loading?: boolean;
2971
- empty?: boolean;
2972
- helperText?: string;
2973
- footer?: string | React$1.ReactNode;
2974
- width?: number | string;
2975
- leftIcon?: React$1.ReactNode;
2976
- sign?: string | React$1.ReactNode;
2977
- onReset?: () => void;
2978
- showNumberButtons?: boolean;
2979
- onIncrement?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
2980
- onDecrement?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
2981
- wrapperClassName?: string;
2982
- fieldClassName?: string;
2983
- contentClassName?: string;
2984
- inputClassName?: string;
2985
- trailingAdornment?: React$1.ReactNode;
2986
- renderErrorMessage?: boolean;
2987
- };
2988
- declare const DashboardInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
2989
- label?: string | React$1.ReactNode;
2990
- topLabel?: string;
2991
- tooltip?: React$1.ReactNode;
2992
- optional?: boolean | string;
2993
- error?: unknown;
2994
- invalid?: boolean;
2995
- loading?: boolean;
2996
- empty?: boolean;
2997
- helperText?: string;
2998
- footer?: string | React$1.ReactNode;
2999
- width?: number | string;
3000
- leftIcon?: React$1.ReactNode;
3001
- sign?: string | React$1.ReactNode;
3002
- onReset?: () => void;
3003
- showNumberButtons?: boolean;
3004
- onIncrement?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
3005
- onDecrement?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
3006
- wrapperClassName?: string;
3007
- fieldClassName?: string;
3008
- contentClassName?: string;
3009
- inputClassName?: string;
3010
- trailingAdornment?: React$1.ReactNode;
3011
- renderErrorMessage?: boolean;
3012
- } & React$1.RefAttributes<HTMLInputElement>>;
3013
-
3014
- type SelectValue = string | number;
3015
- type DashboardSelectFilterOption<T = undefined, V extends SelectValue = string, L extends ReactNode = string> = (option: SelectOption<T, V, L>, input: string) => boolean;
3016
-
3017
- type DashboardSelectProps<T = undefined, V extends SelectValue = string, L extends ReactNode = string> = {
3018
- options?: SelectOption<T, V, L>[];
3019
- value?: SelectOption<T, V, L> | null;
3020
- onChange: (option: SelectOption<T, V, L>) => void;
3021
- onBlur?: React$1.FocusEventHandler<HTMLButtonElement>;
3022
- label: string;
3023
- topLabel?: string;
3024
- placeholder?: string;
3025
- getValueLabel?: (option: SelectOption<T, V, L>) => string;
3026
- disabled?: boolean;
3027
- loading?: boolean;
3028
- optional?: boolean | string;
3029
- tooltip?: React$1.ReactNode;
3030
- error?: string;
3031
- invalid?: boolean;
3032
- hideErrorMessage?: boolean;
3033
- className?: string;
3034
- menuClassName?: string;
3035
- dropdownClassName?: string;
3036
- drawerClassName?: string;
3037
- name?: string;
3038
- width?: number | string;
3039
- noOptionsMessage?: () => string | undefined;
3040
- searchable?: boolean;
3041
- searchPlaceholder?: string;
3042
- filterOption?: DashboardSelectFilterOption<T, V, L>;
3043
- helperText?: string;
3044
- };
3045
- type DashboardSelectComponent = <T = undefined, V extends SelectValue = string, L extends ReactNode = string>(props: DashboardSelectProps<T, V, L> & {
3046
- ref?: React$1.Ref<HTMLButtonElement>;
3047
- }) => React$1.ReactElement;
3048
- declare const DashboardSelect: DashboardSelectComponent;
3049
-
3050
- type DashboardMultiSelectChipRenderer<T, V extends SelectValue, L extends ReactNode> = (option: SelectOption<T, V, L>, onRemove: () => void) => React$1.ReactNode;
3051
- type DashboardMultiSelectProps<T = undefined, V extends SelectValue = string, L extends ReactNode = string> = {
2766
+ type DashboardMultiSelectChipRenderer<T, V extends SelectValue$1, L extends ReactNode> = (option: SelectOption<T, V, L>, onRemove: () => void) => React$1.ReactNode;
2767
+ type DashboardMultiSelectProps<T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string> = {
3052
2768
  options?: SelectOption<T, V, L>[];
3053
2769
  value?: SelectOption<T, V, L>[] | null;
3054
2770
  onChange: (value: SelectOption<T, V, L>[]) => void;
@@ -3080,17 +2796,17 @@ type DashboardMultiSelectProps<T = undefined, V extends SelectValue = string, L
3080
2796
  formatCreateLabel?: (input: string) => React$1.ReactNode;
3081
2797
  isValidNewOption?: (input: string, selected: SelectOption<T, V, L>[], options: SelectOption<T, V, L>[]) => boolean;
3082
2798
  };
3083
- type DashboardMultiSelectComponent = <T = undefined, V extends SelectValue = string, L extends ReactNode = string>(props: DashboardMultiSelectProps<T, V, L> & {
2799
+ type DashboardMultiSelectComponent = <T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string>(props: DashboardMultiSelectProps<T, V, L> & {
3084
2800
  ref?: React$1.Ref<HTMLDivElement>;
3085
2801
  }) => React$1.ReactElement;
3086
2802
  declare const DashboardMultiSelect: DashboardMultiSelectComponent;
3087
2803
 
3088
- type DashboardCreatableMultiSelectProps<T = undefined, V extends SelectValue = string, L extends ReactNode = string> = Omit<DashboardMultiSelectProps<T, V, L>, 'isCreatable'>;
3089
- declare const DashboardCreatableMultiSelect: <T = undefined, V extends SelectValue = string, L extends ReactNode = string>(props: DashboardCreatableMultiSelectProps<T, V, L> & {
2804
+ type DashboardCreatableMultiSelectProps<T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string> = Omit<DashboardMultiSelectProps<T, V, L>, 'isCreatable'>;
2805
+ declare const DashboardCreatableMultiSelect: <T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string>(props: DashboardCreatableMultiSelectProps<T, V, L> & {
3090
2806
  ref?: React$1.Ref<HTMLDivElement>;
3091
2807
  }) => React$1.ReactElement;
3092
2808
 
3093
- type DashboardInfiniteScrollSelectProps<T = undefined, V extends SelectValue = string, L extends ReactNode = string> = {
2809
+ type DashboardInfiniteScrollSelectProps<T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string> = {
3094
2810
  options?: SelectOption<T, V, L>[];
3095
2811
  value?: SelectOption<T, V, L> | null;
3096
2812
  onChange: (option: SelectOption<T, V, L>) => void;
@@ -3127,7 +2843,7 @@ type DashboardInfiniteScrollSelectProps<T = undefined, V extends SelectValue = s
3127
2843
  overscan?: number;
3128
2844
  loadMoreThreshold?: number;
3129
2845
  };
3130
- type DashboardInfiniteScrollSelectComponent = <T = undefined, V extends SelectValue = string, L extends ReactNode = string>(props: DashboardInfiniteScrollSelectProps<T, V, L> & {
2846
+ type DashboardInfiniteScrollSelectComponent = <T = undefined, V extends SelectValue$1 = string, L extends ReactNode = string>(props: DashboardInfiniteScrollSelectProps<T, V, L> & {
3131
2847
  ref?: React$1.Ref<HTMLButtonElement>;
3132
2848
  }) => React$1.ReactElement;
3133
2849
  declare const DashboardInfiniteScrollSelect: DashboardInfiniteScrollSelectComponent;
@@ -3370,43 +3086,6 @@ type DashboardSelectIconsBoxProps = {
3370
3086
  };
3371
3087
  declare function DashboardSelectIconsBox({ children, icons, renderIcon, onSelect, columns, iconsColor, isOpen: controlledOpen, defaultOpen, onOpenChange, position, className, boxClassName, }: DashboardSelectIconsBoxProps): react_jsx_runtime.JSX.Element;
3372
3088
 
3373
- type SearchableSelectValue = string | number;
3374
- type SearchableSelectProps<T = undefined, V extends SearchableSelectValue = string, L extends ReactNode = string> = {
3375
- options: SelectOption<T, V, L>[];
3376
- value?: SelectOption<T, V, L> | null;
3377
- onChange: (option: SelectOption<T, V, L>) => void;
3378
- onBlur?: FocusEventHandler<HTMLButtonElement>;
3379
- onOpenChange?: (open: boolean) => void;
3380
- searchValue?: string;
3381
- onSearchChange?: (value: string) => void;
3382
- filterOption?: ((option: SelectOption<T, V, L>, searchValue: string) => boolean) | null;
3383
- loading?: boolean;
3384
- hasNextPage?: boolean;
3385
- onLoadMore?: () => void;
3386
- variant?: 'default' | 'airbnb';
3387
- label: string;
3388
- topLabel?: string;
3389
- placeholder?: string;
3390
- searchPlaceholder?: string;
3391
- mobileTitle?: string;
3392
- getValueLabel?: (option: SelectOption<T, V, L>) => string;
3393
- disabled?: boolean;
3394
- error?: string;
3395
- invalid?: boolean;
3396
- optional?: boolean | string;
3397
- tooltip?: ReactNode;
3398
- hideErrorMessage?: boolean;
3399
- name?: string;
3400
- className?: string;
3401
- dropdownClassName?: string;
3402
- menuClassName?: string;
3403
- noOptionsMessage?: () => string | undefined;
3404
- loadingMessage?: () => string | undefined;
3405
- };
3406
-
3407
- type SearchableSelectComponent = <T = undefined, V extends SearchableSelectValue = string, L extends ReactNode = string>(props: SearchableSelectProps<T, V, L> & React$1.RefAttributes<HTMLButtonElement>) => React$1.ReactElement | null;
3408
- declare const SearchableSelect: SearchableSelectComponent;
3409
-
3410
3089
  declare function copyToClipboard(value: string | number): void;
3411
3090
 
3412
3091
  declare function scrollToTop(value?: number, behavior?: 'auto' | 'smooth'): void;
@@ -3626,7 +3305,11 @@ type KeyDownOptions = {
3626
3305
  shiftKey?: boolean;
3627
3306
  altKey?: boolean;
3628
3307
  };
3629
- declare function useKeyDown(key: string | string[], cb: (event: KeyboardEvent) => void, options?: KeyDownOptions): void;
3308
+ declare function useKeyDown({ key, cb, options, }: {
3309
+ key: string | string[];
3310
+ cb: (event: KeyboardEvent) => void;
3311
+ options?: KeyDownOptions;
3312
+ }): void;
3630
3313
 
3631
3314
  declare function useIframeFocusTrapFallback(contentRef: React$1.RefObject<HTMLDivElement | null>, onKeyDown?: React$1.KeyboardEventHandler<HTMLDivElement>): (event: React$1.KeyboardEvent<HTMLDivElement>) => void;
3632
3315
 
@@ -3689,4 +3372,343 @@ declare function toastResponseError(error: unknown, options?: CustomToastOptions
3689
3372
 
3690
3373
  declare function getErrorMessage(error?: any): any;
3691
3374
 
3692
- export { ALERT_BOX_VARIANTS, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbSearchInput, AirbnbSelect, type AirbnbSelectProps, Alert, AlertBox, type AlertBoxProps, type AlertBoxVariant, AlertDescription, AlertSize, AlertSizes, AlertTitle, AlertType, AlertTypes, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BaseCheckbox, type BaseCheckboxProps, BetaBadge, type BetaBadgeProps, BookmarkTabsList, type BookmarkTabsListProps, BookmarkTabsTrigger, type BookmarkTabsTriggerProps, BoxOptionSelector, type BoxOptionSelectorProps, type BoxOptionSelectorSwitchProps, Breadcrumb, type BreadcrumbProps, type BreadcrumbType, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, type ButtonStatuses, ButtonsGroupLabel, type ButtonsGroupLabelProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselNext, CarouselPrevious, type CarouselProps, CarouselRoot, type CarouselRootProps, CarouselSlide, CarouselTrack, CarouselViewport, CheckList, type CheckListProps, Checkbox, CheckboxDropdownGroup, type CheckboxDropdownGroupConfig, type CheckboxDropdownGroupProps, CheckboxDropdownMultiGroup, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxSize, CircularLoader, Collapsible, CollapsibleContent, CollapsibleTrigger, CommingSoonBadge, type CommingSoonBadgeProps, ConfirmationDialog, type ConfirmationDialogProps, CopyIcon, type CopyIconProps, CopyLinkButton, type CopyLinkButtonProps, CopyString, type CopyStringProps, CustomCheckboxDropdownGroup, type CustomIconEntry, DEFAULT_DISPLAY_FORMAT, DEVICE_BREAKPOINTS, DashboardCreatableMultiSelect, type DashboardCreatableMultiSelectProps, DashboardDateRangePicker, type DashboardDateRangePickerImperativeProps, type OpenDirection as DashboardDateRangePickerOpenDirection, type DashboardDateRangePickerProps, DashboardDatepicker, type DashboardDatepickerProps, type DashboardDatepickerValue, DashboardFileInput, type DashboardFileInputProps, type DashboardFileInputValue, DashboardInfiniteScrollSelect, type DashboardInfiniteScrollSelectProps, DashboardInput, type DashboardInputProps, DashboardMultiSelect, type DashboardMultiSelectChipRenderer, type DashboardMultiSelectProps, DashboardSelect, DashboardSelectIconsBox, type DashboardSelectIconsBoxProps, type DashboardSelectProps, DashboardTextarea, type DashboardTextareaProps, DashboardTimePicker, type DashboardTimePickerFormat, type DashboardTimePickerProps, type DashboardTimeSettings, DataTable, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerValue, DateTableFilter, DebouncedSearchInput, type DebouncedSearchInputProps, DefaultSelectTrigger, type DefaultSelectTriggerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogVisuallyHidden, DividingSubsection, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, type DropdownButtonProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentSide, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptySectionPlaceholder, type EmptySectionPlaceholderProps, EmptyTitle, ErrorMessage, type ErrorMessageProps, ExternalLink, type ExternalLinkProps, FieldErrorMessage, type FieldErrorMessageProps, FieldTrigger, type FieldTriggerProps, FileInputButton, type FileInputButtonProps, FormBox, Content as FormBoxContent, type FormBoxContentProps, Header as FormBoxHeader, type FormBoxHeaderProps, Root$1 as FormBoxRoot, type FormBoxRootProps, SubHeader as FormBoxSubHeader, type FormBoxSubHeaderProps, FramedIcon, type FramedIconProps, FreeTextField, type FreeTextFieldProps, HALO_ICON_STATUS, HaloIcon, type HaloIconProps, HelpTooltip, type HelpTooltipProps, IconButton, type IconButtonProps, type IconEntry, IconsDropdown, type IconsDropdownProps, Image, ImageFullScreenView, type ImageFullScreenViewProps, type ImageProps, InfinitySelect, type InfinitySelectProps, InfoBox, type InfoBoxProps, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputProps, Label, type LabelProps, LargeModal, type LargeModalProps, LearnMoreButton, type LearnMoreButtonProps, Link, type LinkProps, LoadingBar, type LoadingBarProps, type LucideIconEntry, Modal, ModalButton, ModalLoader, type ModalLoaderProps, type ModalProps, MultiSelect, type MultiSelectProps, NumberedList, type NumberedListProps, type OptionsCardsProps, OverlayLoader, type OverlayLoaderProps, Pagination, type PaginationProps, type PaginationVariant, PhoneField, type PhoneFieldOption, type PhoneFieldProps, type PhoneFieldValue, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PopoverWithTooltip, type PopoverWithTooltipProps, Radio, type RadioCardOption, MemoizedRadioCardsGroup as RadioCardsGroup, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioOption, type RadioProps, type RadioSize, RadioWithBorder, RatingProgress, type RatingProgressProps, RatingRadioGroup, type RatingRadioGroupProps, RatingStars, type RatingStarsProps, type RegisterUiKitI18nOptions, ResponsiveDropdown, type ResponsiveDropdownOption, type ResponsiveDropdownProps, ResponsiveSheet, type ResponsiveSheetProps, RotateArrow, type RotateArrowProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, type ScrollableAreaState, SearchButton, type SearchButtonProps, SearchInput, type SearchInputProps, SearchableSelect, type SearchableSelectProps, type SearchableSelectValue, Section, SectionGroup, type SectionGroupItemProps, type SectionGroupLabelProps, type SectionGroupProps, type SectionProps, SectionTag, SectionTagColors, type SectionTagProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectPortal, type SelectProps, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, type SelectSize, SelectTrigger, SelectValue$2 as SelectValue, type SelectorOption, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarIcon, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignatureCanvas, Skeleton, type SkeletonProps, Slider, SmallGridSingleItem, type SmallGridSingleItemProps, SortingAction, type SortingActionProps, type SortingActionValue, type SortingByVariant, StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, StatusBox, type StatusBoxProps, StatusButton, type StatusButtonProps, Stepper, type StepperProps, SubSection, SubSectionSize, SvgIcon, type SvgIconProps, type SvgIconSize, Switch, SwitchBlocks, type SwitchBlocksOption, type SwitchBlocksProps, SwitchGroup, type SwitchGroupProps, type SwitchOption, type SwitchProps, TabbedSection, type TabbedSectionProps, Table, TableBody, TableCaption, TableCell, TableFilter, type TableFilterProps, TableFooter, TableHead, TableHeader, TableLoader, type TableLoaderProps, type TableLoaderRootProps, TablePlaceholder, type TablePlaceholderProps, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, TextField, type TextFieldProps, Textarea, type TextareaProps, ThreeDotsLoader, type ThreeDotsLoaderProps, Timeline, TimelineConnector, type TimelineConnectorProps, TimelineContent, type TimelineContentProps, type TimelineContextProps, TimelineDescription, type TimelineDescriptionProps, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSeparator, type TimelineSeparatorProps, TimelineTitle, type TimelineTitleProps, ToggleGroup, ToggleGroupItem, Toggles, type TogglesForwardType, type TogglesProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, TooltipRoot, type TooltipRootProps, TooltipRootWrapper, TooltipTrigger, UI_KIT_I18N_NAMESPACE, type UiKitLocale, UploadedFilesList, type UploadedFilesListProps, type UseScrollableAreaOptions, type UseScrollableAreaResult, VerticalTabs, type VerticalTabsProps, type VerticalTabsStep, VideoModal, type VideoModalProps, VideoPlayer, type VideoPlayerProps, Webcam, type WebcamProps, type WebcamRefTypes, WideButton, type WideButtonProps, addSupportEmailToMessage, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, copyToClipboard, createDisabledMatchers, emptyMediaVariants, formatDate, getErrorMessage, getScrollableAreaState, getSidebarState, inputVariants, isDayBlocked, isNumeric, labelVariants, parseDate, registerUiKitI18n, scrollToTop, sectionTagVariants, switchThumbVariants, switchVariants, tabsListVariants, tabsTriggerVariants, toCssSize, toastResponseError, toggleVariants, uiKitI18nResources, uiKitTranslations, useAbortController, useAccordionState, useCarouselContext, useClickEscape, useCombinedRef, useCopyToClipboard, useDebounce, useDebouncedFunction, useEvent, useHover, useIframeFocusTrapFallback, useIsFormTouched, useIsMobile, useIsMounted, useKeyDown, useLoadMore, useLockBodyScroll, useModalControls, useModalWithHistoryControls, useOutsideClick, usePagination, usePrevious, usePromisedModalControls, useRadioOptions, useResetAfterRequestStatus, useScreenResize, useScrollFrameIntoView, useScrollToTop, useScrollableArea, useSearchInput, useSidebar, useSidebarMenuButton, useSidebarSafe, useStickyStuck, useSwitchSectionActive, useTimeline, useTimeout, useTimeoutRef, useTimer, useUpdateToast, useValidateDates };
3375
+ type LegacyTextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & {
3376
+ label?: string;
3377
+ invalid?: boolean;
3378
+ maxLength?: number;
3379
+ textareaClassName?: string;
3380
+ };
3381
+ /**
3382
+ * @deprecated
3383
+ */
3384
+ declare const LegacyTextarea: React$1.ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & {
3385
+ label?: string;
3386
+ invalid?: boolean;
3387
+ maxLength?: number;
3388
+ textareaClassName?: string;
3389
+ } & React$1.RefAttributes<HTMLTextAreaElement>>;
3390
+
3391
+ type LegacyInputProps = React$1.ComponentProps<'input'>;
3392
+ declare const LegacyInput: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
3393
+
3394
+ declare const LegacySelectRoot: React$1.FC<SelectPrimitive.SelectProps>;
3395
+ declare const LegacySelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
3396
+ declare const LegacySelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
3397
+ declare const LegacySelectPortal: React$1.FC<SelectPrimitive.SelectPortalProps>;
3398
+ type LegacySelectSize = 'sm' | 'md';
3399
+ declare const LegacySelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
3400
+ size?: LegacySelectSize;
3401
+ } & React$1.RefAttributes<HTMLButtonElement>>;
3402
+ declare const LegacySelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
3403
+ declare const LegacySelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
3404
+ declare const LegacySelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
3405
+ declare const LegacySelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
3406
+ declare const LegacySelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
3407
+ size?: LegacySelectSize;
3408
+ } & React$1.RefAttributes<HTMLDivElement>>;
3409
+ declare const LegacySelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
3410
+
3411
+ type LegacySelectProps<D = unknown, V extends string | number = string, L extends ReactNode = string> = {
3412
+ placeholder?: string;
3413
+ label?: string | ReactNode;
3414
+ className?: string;
3415
+ size?: LegacySelectSize;
3416
+ options?: SelectOption<D, V, L>[];
3417
+ children?: ReactNode;
3418
+ value?: string;
3419
+ onChange?: (value: V) => void;
3420
+ onValueChange?: (value: string) => void;
3421
+ disabled?: boolean;
3422
+ supportingText?: string;
3423
+ errorText?: string;
3424
+ containerClassName?: string;
3425
+ triggerClassName?: string;
3426
+ };
3427
+ declare const LegacySelectInner: <V extends string | number = string, D = unknown, L extends ReactNode = string>({ placeholder, label, className, size, options, supportingText, errorText, containerClassName, triggerClassName, children, value, onChange, onValueChange, disabled, }: LegacySelectProps<D, V, L>, ref: Ref<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
3428
+ declare const LegacySelect: <V extends string | number = string, D = unknown, L extends ReactNode = string>(props: LegacySelectProps<D, V, L> & {
3429
+ ref?: Ref<HTMLButtonElement>;
3430
+ }) => ReturnType<typeof LegacySelectInner>;
3431
+
3432
+ type LegacyMultiSelectProps<D, V extends string | number = string, L extends string | number | ReactNode = string> = {
3433
+ label?: string | ReactNode;
3434
+ className?: string;
3435
+ options?: SelectOption<D, V, L>[];
3436
+ children?: ReactNode;
3437
+ value?: (string | number)[];
3438
+ onChange?: (value: (string | number)[]) => void;
3439
+ placeholder?: string;
3440
+ disabled?: boolean;
3441
+ };
3442
+ declare const LegacyMultiSelectInner: <V extends string | number = string, D = unknown, L extends string | number | ReactNode = string>({ label, value, onChange, className, options, placeholder, disabled, }: LegacyMultiSelectProps<D, V, L>, ref: Ref<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
3443
+ declare const LegacyMultiSelect: <V extends string | number = string, D = unknown, L extends string | number | ReactNode = string>(props: LegacyMultiSelectProps<D, V, L> & {
3444
+ ref?: Ref<HTMLDivElement>;
3445
+ }) => ReturnType<typeof LegacyMultiSelectInner>;
3446
+
3447
+ type LegacyInfinitySelectProps = {
3448
+ label: string | ReactNode;
3449
+ className?: string;
3450
+ placeholder?: string;
3451
+ value?: string;
3452
+ onValueChange?: (value: string) => void;
3453
+ options: SelectOption[];
3454
+ hasNextPage: boolean;
3455
+ isFetchingNextPage: boolean;
3456
+ fetchNextPage: () => void;
3457
+ itemHeight?: number;
3458
+ maxHeight?: number;
3459
+ };
3460
+ declare function LegacyInfinitySelect({ label, className, placeholder, value, onValueChange, options, hasNextPage, isFetchingNextPage, fetchNextPage, itemHeight, maxHeight, }: LegacyInfinitySelectProps): react_jsx_runtime.JSX.Element;
3461
+
3462
+ type AirbnbDatePickerValue = Date | number | null | undefined | '';
3463
+ type AirbnbDatePickerProps = {
3464
+ variant?: 'default' | 'airbnb';
3465
+ label: string;
3466
+ topLabel?: string;
3467
+ value?: AirbnbDatePickerValue;
3468
+ defaultValue?: AirbnbDatePickerValue;
3469
+ onChange: (value: Date | null) => void;
3470
+ onBlur?: React$1.FocusEventHandler<HTMLButtonElement>;
3471
+ placeholder?: string;
3472
+ disabled?: boolean;
3473
+ error?: string;
3474
+ invalid?: boolean;
3475
+ loading?: boolean;
3476
+ optional?: boolean | string;
3477
+ tooltip?: React$1.ReactNode;
3478
+ className?: string;
3479
+ name?: string;
3480
+ minDate?: Date;
3481
+ maxDate?: Date;
3482
+ locale?: string;
3483
+ mobileTitle?: string;
3484
+ doneLabel?: string;
3485
+ formatValue?: (date: Date) => string;
3486
+ };
3487
+ declare const AirbnbDatePicker: React$1.ForwardRefExoticComponent<AirbnbDatePickerProps & React$1.RefAttributes<HTMLButtonElement>>;
3488
+
3489
+ type AirbnbFieldTriggerProps = {
3490
+ as?: 'button' | 'div';
3491
+ variant?: 'airbnb' | 'default';
3492
+ id: string;
3493
+ label: string;
3494
+ topLabel?: string;
3495
+ labelId: string;
3496
+ valueId?: string;
3497
+ helperTextId?: string;
3498
+ errorId?: string;
3499
+ labelText?: React$1.ReactNode;
3500
+ valueText?: string;
3501
+ placeholder?: string;
3502
+ disabled?: boolean;
3503
+ error?: boolean | string;
3504
+ loading?: boolean;
3505
+ optional?: boolean | string;
3506
+ tooltip?: React$1.ReactNode;
3507
+ describedBy?: string;
3508
+ className?: string;
3509
+ contentClassName?: string;
3510
+ trailingAdornment?: React$1.ReactNode;
3511
+ forceFloatingLabel?: boolean;
3512
+ forceLabelText?: boolean;
3513
+ hideErrorMessage?: boolean;
3514
+ children?: React$1.ReactNode;
3515
+ onClick?: () => void;
3516
+ onKeyDown?: React$1.KeyboardEventHandler<HTMLButtonElement | HTMLDivElement>;
3517
+ } & Omit<React$1.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, 'children' | 'className' | 'disabled' | 'id' | 'onClick' | 'onKeyDown'>;
3518
+ declare const AirbnbFieldTrigger: React$1.ForwardRefExoticComponent<{
3519
+ as?: "button" | "div";
3520
+ variant?: "airbnb" | "default";
3521
+ id: string;
3522
+ label: string;
3523
+ topLabel?: string;
3524
+ labelId: string;
3525
+ valueId?: string;
3526
+ helperTextId?: string;
3527
+ errorId?: string;
3528
+ labelText?: React$1.ReactNode;
3529
+ valueText?: string;
3530
+ placeholder?: string;
3531
+ disabled?: boolean;
3532
+ error?: boolean | string;
3533
+ loading?: boolean;
3534
+ optional?: boolean | string;
3535
+ tooltip?: React$1.ReactNode;
3536
+ describedBy?: string;
3537
+ className?: string;
3538
+ contentClassName?: string;
3539
+ trailingAdornment?: React$1.ReactNode;
3540
+ forceFloatingLabel?: boolean;
3541
+ forceLabelText?: boolean;
3542
+ hideErrorMessage?: boolean;
3543
+ children?: React$1.ReactNode;
3544
+ onClick?: () => void;
3545
+ onKeyDown?: React$1.KeyboardEventHandler<HTMLButtonElement | HTMLDivElement>;
3546
+ } & Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "className" | "id" | "children" | "onKeyDown" | "onClick" | "disabled"> & React$1.RefAttributes<HTMLDivElement | HTMLButtonElement>>;
3547
+
3548
+ type AirbnbInputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
3549
+ variant?: 'airbnb' | 'default';
3550
+ label?: string;
3551
+ topLabel?: string;
3552
+ helperText?: string;
3553
+ error?: string;
3554
+ invalid?: boolean;
3555
+ loading?: boolean;
3556
+ optional?: boolean | string;
3557
+ tooltip?: React$1.ReactNode;
3558
+ wrapperClassName?: string;
3559
+ fieldClassName?: string;
3560
+ contentClassName?: string;
3561
+ inputClassName?: string;
3562
+ trailingAdornment?: React$1.ReactNode;
3563
+ renderErrorMessage?: boolean;
3564
+ };
3565
+ declare const AirbnbInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
3566
+ variant?: "airbnb" | "default";
3567
+ label?: string;
3568
+ topLabel?: string;
3569
+ helperText?: string;
3570
+ error?: string;
3571
+ invalid?: boolean;
3572
+ loading?: boolean;
3573
+ optional?: boolean | string;
3574
+ tooltip?: React$1.ReactNode;
3575
+ wrapperClassName?: string;
3576
+ fieldClassName?: string;
3577
+ contentClassName?: string;
3578
+ inputClassName?: string;
3579
+ trailingAdornment?: React$1.ReactNode;
3580
+ renderErrorMessage?: boolean;
3581
+ } & React$1.RefAttributes<HTMLInputElement>>;
3582
+
3583
+ type AirbnbPhoneFieldOption = {
3584
+ value: string;
3585
+ label: string;
3586
+ disabled?: boolean;
3587
+ };
3588
+ type AirbnbPhoneFieldValue = {
3589
+ code: string;
3590
+ number: string;
3591
+ };
3592
+ type AirbnbPhoneFieldProps = {
3593
+ variant?: 'default' | 'airbnb';
3594
+ label: string;
3595
+ topLabel?: string;
3596
+ value?: AirbnbPhoneFieldValue | null;
3597
+ onChange: (value: AirbnbPhoneFieldValue) => void;
3598
+ onBlur?: React$1.FocusEventHandler<HTMLInputElement>;
3599
+ options: AirbnbPhoneFieldOption[];
3600
+ placeholder?: string;
3601
+ disabled?: boolean;
3602
+ codeReadOnly?: boolean;
3603
+ error?: string;
3604
+ invalid?: boolean;
3605
+ loading?: boolean;
3606
+ optional?: boolean | string;
3607
+ tooltip?: React$1.ReactNode;
3608
+ className?: string;
3609
+ name?: string;
3610
+ codeName?: string;
3611
+ numberName?: string;
3612
+ mobileTitle?: string;
3613
+ codePlaceholder?: string;
3614
+ };
3615
+ declare const AirbnbPhoneField: React$1.ForwardRefExoticComponent<AirbnbPhoneFieldProps & React$1.RefAttributes<HTMLButtonElement>>;
3616
+
3617
+ type SelectValue = string | number;
3618
+ type SelectRenderTriggerProps<T = undefined, V extends SelectValue = string, L extends string | number | React$1.ReactNode = string> = {
3619
+ id: string;
3620
+ open: boolean;
3621
+ variant: 'default' | 'airbnb';
3622
+ label: string;
3623
+ topLabel?: string;
3624
+ helperText: string;
3625
+ value?: SelectOption<T, V, L> | null;
3626
+ valueLabel?: string;
3627
+ disabled?: boolean;
3628
+ loading?: boolean;
3629
+ optional?: boolean | string;
3630
+ tooltip?: React$1.ReactNode;
3631
+ error?: string;
3632
+ invalid?: boolean;
3633
+ listboxId: string;
3634
+ describedBy?: string;
3635
+ triggerRef: React$1.Ref<HTMLButtonElement>;
3636
+ onClick: () => void;
3637
+ onKeyDown: React$1.KeyboardEventHandler<HTMLButtonElement>;
3638
+ onBlur?: React$1.FocusEventHandler<HTMLButtonElement>;
3639
+ };
3640
+ type AirbnbSelectProps<T = undefined, V extends SelectValue = string, L extends string | number | React$1.ReactNode = string> = {
3641
+ options?: SelectOption<T, V, L>[];
3642
+ value?: SelectOption<T, V, L> | null;
3643
+ onChange: (option: SelectOption<T, V, L>) => void;
3644
+ onBlur?: React$1.FocusEventHandler<HTMLButtonElement>;
3645
+ variant?: 'default' | 'airbnb';
3646
+ label: string;
3647
+ topLabel?: string;
3648
+ placeholder?: string;
3649
+ getValueLabel?: (option: SelectOption<T, V, L>) => string;
3650
+ renderTrigger?: (props: SelectRenderTriggerProps<T, V, L>) => React$1.ReactNode;
3651
+ disabled?: boolean;
3652
+ loading?: boolean;
3653
+ optional?: boolean | string;
3654
+ tooltip?: React$1.ReactNode;
3655
+ error?: string;
3656
+ invalid?: boolean;
3657
+ hideErrorMessage?: boolean;
3658
+ className?: string;
3659
+ menuClassName?: string;
3660
+ dropdownClassName?: string;
3661
+ doneLabel?: string;
3662
+ mobileTitle?: string;
3663
+ name?: string;
3664
+ noOptionsMessage?: () => string | undefined;
3665
+ };
3666
+
3667
+ declare const AirbnbSelect: <T = undefined, V extends SelectValue = string, L extends string | number | ReactNode = string>(props: AirbnbSelectProps<T, V, L> & {
3668
+ ref?: React$1.Ref<HTMLButtonElement>;
3669
+ }) => React$1.ReactElement;
3670
+
3671
+ type AirbnbSearchableSelectValue = string | number;
3672
+ type AirbnbSearchableSelectProps<T = undefined, V extends AirbnbSearchableSelectValue = string, L extends ReactNode = string> = {
3673
+ options: SelectOption<T, V, L>[];
3674
+ value?: SelectOption<T, V, L> | null;
3675
+ onChange: (option: SelectOption<T, V, L>) => void;
3676
+ onBlur?: FocusEventHandler<HTMLButtonElement>;
3677
+ onOpenChange?: (open: boolean) => void;
3678
+ searchValue?: string;
3679
+ onSearchChange?: (value: string) => void;
3680
+ filterOption?: ((option: SelectOption<T, V, L>, searchValue: string) => boolean) | null;
3681
+ loading?: boolean;
3682
+ hasNextPage?: boolean;
3683
+ onLoadMore?: () => void;
3684
+ variant?: 'default' | 'airbnb';
3685
+ label: string;
3686
+ topLabel?: string;
3687
+ placeholder?: string;
3688
+ searchPlaceholder?: string;
3689
+ mobileTitle?: string;
3690
+ getValueLabel?: (option: SelectOption<T, V, L>) => string;
3691
+ disabled?: boolean;
3692
+ error?: string;
3693
+ invalid?: boolean;
3694
+ optional?: boolean | string;
3695
+ tooltip?: ReactNode;
3696
+ hideErrorMessage?: boolean;
3697
+ name?: string;
3698
+ className?: string;
3699
+ dropdownClassName?: string;
3700
+ menuClassName?: string;
3701
+ noOptionsMessage?: () => string | undefined;
3702
+ loadingMessage?: () => string | undefined;
3703
+ };
3704
+
3705
+ type AirbnbSearchableSelectComponent = <T = undefined, V extends AirbnbSearchableSelectValue = string, L extends ReactNode = string>(props: AirbnbSearchableSelectProps<T, V, L> & React$1.RefAttributes<HTMLButtonElement>) => React$1.ReactElement | null;
3706
+ declare const AirbnbSearchableSelect: AirbnbSearchableSelectComponent;
3707
+
3708
+ type AirbnbSearchInputProps = ComponentProps<'input'> & {
3709
+ onReset?: () => void;
3710
+ wrapperClassName?: string;
3711
+ };
3712
+ declare const AirbnbSearchInput: React$1.ForwardRefExoticComponent<Omit<AirbnbSearchInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
3713
+
3714
+ export { ALERT_BOX_VARIANTS, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbDatePicker, type AirbnbDatePickerProps, type AirbnbDatePickerValue, AirbnbFieldTrigger, type AirbnbFieldTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbPhoneField, type AirbnbPhoneFieldOption, type AirbnbPhoneFieldProps, type AirbnbPhoneFieldValue, AirbnbSearchInput, AirbnbSearchableSelect, type AirbnbSearchableSelectProps, type AirbnbSearchableSelectValue, AirbnbSelect, type AirbnbSelectProps, Alert, AlertBox, type AlertBoxProps, type AlertBoxVariant, AlertDescription, AlertSize, AlertSizes, AlertTitle, AlertType, AlertTypes, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BaseCheckbox, type BaseCheckboxProps, BetaBadge, type BetaBadgeProps, BookmarkTabsList, type BookmarkTabsListProps, BookmarkTabsTrigger, type BookmarkTabsTriggerProps, BoxOptionSelector, type BoxOptionSelectorProps, type BoxOptionSelectorSwitchProps, Breadcrumb, type BreadcrumbProps, type BreadcrumbType, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, type ButtonStatuses, ButtonsGroupLabel, type ButtonsGroupLabelProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselNext, CarouselPrevious, type CarouselProps, CarouselRoot, type CarouselRootProps, CarouselSlide, CarouselTrack, CarouselViewport, CheckList, type CheckListProps, Checkbox, CheckboxDropdownGroup, type CheckboxDropdownGroupConfig, type CheckboxDropdownGroupProps, CheckboxDropdownMultiGroup, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxSize, CircularLoader, Collapsible, CollapsibleContent, CollapsibleTrigger, CommingSoonBadge, type CommingSoonBadgeProps, ConfirmationDialog, type ConfirmationDialogProps, CopyIcon, type CopyIconProps, CopyLinkButton, type CopyLinkButtonProps, CopyString, type CopyStringProps, Counter, type CounterProps, CounterSize, CustomCheckboxDropdownGroup, type CustomIconEntry, DEFAULT_DISPLAY_FORMAT, DEVICE_BREAKPOINTS, DashboardCreatableMultiSelect, type DashboardCreatableMultiSelectProps, DashboardDateRangePicker, type DashboardDateRangePickerImperativeProps, type OpenDirection as DashboardDateRangePickerOpenDirection, type DashboardDateRangePickerProps, DashboardDatepicker, type DashboardDatepickerProps, type DashboardDatepickerValue, DashboardFileInput, type DashboardFileInputProps, type DashboardFileInputValue, DashboardInfiniteScrollSelect, type DashboardInfiniteScrollSelectProps, DashboardInput, type DashboardInputProps, DashboardMultiSelect, type DashboardMultiSelectChipRenderer, type DashboardMultiSelectProps, DashboardSelect, DashboardSelectIconsBox, type DashboardSelectIconsBoxProps, type DashboardSelectProps, DashboardTextarea, type DashboardTextareaProps, DashboardTimePicker, type DashboardTimePickerFormat, type DashboardTimePickerProps, type DashboardTimeSettings, DataTable, type DataTableProps, DateTableFilter, DebouncedSearchInput, type DebouncedSearchInputProps, DefaultSelectTrigger, type DefaultSelectTriggerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogVisuallyHidden, DividingSubsection, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, type DropdownButtonProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentSide, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptySectionPlaceholder, type EmptySectionPlaceholderProps, EmptyTitle, ErrorMessage, type ErrorMessageProps, ExpandableContent, type ExpandableContentProps, type ExpandableContentTrigger, ExternalLink, type ExternalLinkProps, FieldErrorMessage, type FieldErrorMessageProps, FileInputButton, type FileInputButtonProps, FormBox, Content as FormBoxContent, type FormBoxContentProps, Header as FormBoxHeader, type FormBoxHeaderProps, Root$1 as FormBoxRoot, type FormBoxRootProps, SubHeader as FormBoxSubHeader, type FormBoxSubHeaderProps, FramedIcon, type FramedIconProps, FreeTextField, type FreeTextFieldProps, HALO_ICON_STATUS, HaloIcon, type HaloIconProps, HelpTooltip, type HelpTooltipProps, IconButton, type IconButtonProps, type IconEntry, IconsDropdown, type IconsDropdownProps, Image, ImageFullScreenView, type ImageFullScreenViewProps, type ImageProps, InfoBox, type InfoBoxProps, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, Label, type LabelProps, LargeModal, type LargeModalProps, LearnMoreButton, type LearnMoreButtonProps, LegacyInfinitySelect, type LegacyInfinitySelectProps, LegacyInput, type LegacyInputProps, LegacyMultiSelect, type LegacyMultiSelectProps, LegacySelect, LegacySelectContent, LegacySelectGroup, LegacySelectItem, LegacySelectLabel, LegacySelectPortal, type LegacySelectProps, LegacySelectRoot, LegacySelectScrollDownButton, LegacySelectScrollUpButton, LegacySelectSeparator, type LegacySelectSize, LegacySelectTrigger, LegacySelectValue, LegacyTextarea, type LegacyTextareaProps, Link, type LinkProps, LoadingBar, type LoadingBarProps, type LucideIconEntry, Modal, ModalButton, ModalLoader, type ModalLoaderProps, type ModalProps, NumberedList, type NumberedListProps, type OptionsCardsProps, OverlayLoader, type OverlayLoaderProps, Pagination, type PaginationProps, type PaginationVariant, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PopoverWithTooltip, type PopoverWithTooltipProps, Radio, type RadioCardOption, MemoizedRadioCardsGroup as RadioCardsGroup, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioOption, type RadioProps, type RadioSize, RadioWithBorder, RatingProgress, type RatingProgressProps, RatingRadioGroup, type RatingRadioGroupProps, RatingStars, type RatingStarsProps, type RegisterUiKitI18nOptions, ResponsiveDropdown, type ResponsiveDropdownOption, type ResponsiveDropdownProps, ResponsiveSheet, type ResponsiveSheetProps, RotateArrow, type RotateArrowProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, type ScrollableAreaState, SearchButton, type SearchButtonProps, SearchInput, type SearchInputProps, Section, SectionGroup, type SectionGroupItemProps, type SectionGroupLabelProps, type SectionGroupProps, type SectionProps, SectionTag, SectionTagColors, type SectionTagProps, type SelectOption, type SelectorOption, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarIcon, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignatureCanvas, Skeleton, type SkeletonProps, Slider, SmallGridSingleItem, type SmallGridSingleItemProps, SortingAction, type SortingActionProps, type SortingActionValue, type SortingByVariant, StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, StatusBox, type StatusBoxProps, StatusButton, type StatusButtonProps, Stepper, type StepperProps, SubSection, SubSectionSize, SvgIcon, type SvgIconProps, type SvgIconSize, Switch, SwitchBlocks, type SwitchBlocksOption, type SwitchBlocksProps, SwitchGroup, type SwitchGroupProps, type SwitchOption, type SwitchProps, TabbedSection, type TabbedSectionProps, Table, TableBody, TableCaption, TableCell, TableFilter, type TableFilterProps, TableFooter, TableHead, TableHeader, TableLoader, type TableLoaderProps, type TableLoaderRootProps, TablePlaceholder, type TablePlaceholderProps, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, ThreeDotsLoader, type ThreeDotsLoaderProps, Timeline, TimelineConnector, type TimelineConnectorProps, TimelineContent, type TimelineContentProps, type TimelineContextProps, TimelineDescription, type TimelineDescriptionProps, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSeparator, type TimelineSeparatorProps, TimelineTitle, type TimelineTitleProps, ToggleGroup, ToggleGroupItem, Toggles, type TogglesForwardType, type TogglesProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, TooltipRoot, type TooltipRootProps, TooltipRootWrapper, TooltipTrigger, UI_KIT_I18N_NAMESPACE, type UiKitLocale, UploadedFilesList, type UploadedFilesListProps, type UseScrollableAreaOptions, type UseScrollableAreaResult, VerticalTabs, type VerticalTabsProps, type VerticalTabsStep, VideoModal, type VideoModalProps, VideoPlayer, type VideoPlayerProps, Webcam, type WebcamProps, type WebcamRefTypes, WideButton, type WideButtonProps, addSupportEmailToMessage, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, copyToClipboard, createDisabledMatchers, emptyMediaVariants, formatDate, getErrorMessage, getScrollableAreaState, getSidebarState, isDayBlocked, isNumeric, labelVariants, parseDate, registerUiKitI18n, scrollToTop, sectionTagVariants, switchThumbVariants, switchVariants, tabsListVariants, tabsTriggerVariants, toCssSize, toastResponseError, toggleVariants, uiKitI18nResources, uiKitTranslations, useAbortController, useAccordionState, useCarouselContext, useClickEscape, useCombinedRef, useCopyToClipboard, useDebounce, useDebouncedFunction, useEvent, useHover, useIframeFocusTrapFallback, useIsFormTouched, useIsMobile, useIsMounted, useKeyDown, useLoadMore, useLockBodyScroll, useModalControls, useModalWithHistoryControls, useOutsideClick, usePagination, usePrevious, usePromisedModalControls, useRadioOptions, useResetAfterRequestStatus, useScreenResize, useScrollFrameIntoView, useScrollToTop, useScrollableArea, useSearchInput, useSidebar, useSidebarMenuButton, useSidebarSafe, useStickyStuck, useSwitchSectionActive, useTimeline, useTimeout, useTimeoutRef, useTimer, useUpdateToast, useValidateDates };