@unifiedsoftware/react-ui 2.0.0-beta.2 → 2.0.0-beta.20

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.ts CHANGED
@@ -2,12 +2,13 @@ import * as react from 'react';
2
2
  import react__default, { Dispatch, SetStateAction } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { VirtualizerOptions as VirtualizerOptions$1, Virtualizer as Virtualizer$1, ListItemProps as ListItemProps$1, ResultProps as ResultProps$1 } from '@unifiedsoftware/react-ui';
5
+ import { FloatingRootContext } from '@floating-ui/react';
5
6
 
6
- interface Props$L {
7
+ interface Props$O {
7
8
  }
8
- type NativeAttrs$N = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$L>;
9
- type DividerProps = Props$L & NativeAttrs$N;
10
- declare const Divider: react.ForwardRefExoticComponent<Props$L & NativeAttrs$N & react.RefAttributes<HTMLDivElement>>;
9
+ type NativeAttrs$Q = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$O>;
10
+ type DividerProps = Props$O & NativeAttrs$Q;
11
+ declare const Divider: react.ForwardRefExoticComponent<Props$O & NativeAttrs$Q & react.RefAttributes<HTMLDivElement>>;
11
12
 
12
13
  type BoxShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
13
14
  type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -35,7 +36,7 @@ interface AccordionArrow {
35
36
  position?: 'start' | 'end';
36
37
  }
37
38
 
38
- interface Props$K {
39
+ interface Props$N {
39
40
  value?: any[];
40
41
  defaultValue?: any[];
41
42
  expandMode?: 'single' | 'multiple';
@@ -52,9 +53,9 @@ interface Props$K {
52
53
  }) => React.ReactNode;
53
54
  onChange?: (value: any[]) => void;
54
55
  }
55
- type NativeAttrs$M = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$K>;
56
- type AccordionProps = Props$K & NativeAttrs$M;
57
- declare const Accordion: react.ForwardRefExoticComponent<Props$K & NativeAttrs$M & react.RefAttributes<HTMLDivElement>>;
56
+ type NativeAttrs$P = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$N>;
57
+ type AccordionProps = Props$N & NativeAttrs$P;
58
+ declare const Accordion: react.ForwardRefExoticComponent<Props$N & NativeAttrs$P & react.RefAttributes<HTMLDivElement>>;
58
59
 
59
60
  interface AccordionItemContextValue {
60
61
  value: string;
@@ -63,7 +64,7 @@ interface AccordionItemContextValue {
63
64
  }) => React.ReactNode;
64
65
  }
65
66
  declare const useAccordionItem: () => AccordionItemContextValue;
66
- interface Props$J {
67
+ interface Props$M {
67
68
  value?: any;
68
69
  variant?: AccordionVariant;
69
70
  color?: AccordionColor;
@@ -71,11 +72,11 @@ interface Props$J {
71
72
  isOpen: boolean;
72
73
  }) => React.ReactNode;
73
74
  }
74
- type NativeAttrs$L = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$J>;
75
- type AccordionItemProps = Props$J & NativeAttrs$L;
76
- declare const AccordionItem: react.ForwardRefExoticComponent<Props$J & NativeAttrs$L & react.RefAttributes<HTMLDivElement>>;
75
+ type NativeAttrs$O = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$M>;
76
+ type AccordionItemProps = Props$M & NativeAttrs$O;
77
+ declare const AccordionItem: react.ForwardRefExoticComponent<Props$M & NativeAttrs$O & react.RefAttributes<HTMLDivElement>>;
77
78
 
78
- interface Props$I {
79
+ interface Props$L {
79
80
  as?: React.ElementType;
80
81
  title?: React.ReactNode;
81
82
  subtitle?: React.ReactNode;
@@ -93,9 +94,9 @@ interface Props$I {
93
94
  subtitle?: React.HTMLAttributes<HTMLDivElement>;
94
95
  };
95
96
  }
96
- type NativeAttrs$K = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$I>;
97
- type AccordionHeaderProps = Props$I & NativeAttrs$K;
98
- declare const AccordionHeader: react.ForwardRefExoticComponent<Props$I & NativeAttrs$K & react.RefAttributes<HTMLDivElement>>;
97
+ type NativeAttrs$N = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$L>;
98
+ type AccordionHeaderProps = Props$L & NativeAttrs$N;
99
+ declare const AccordionHeader: react.ForwardRefExoticComponent<Props$L & NativeAttrs$N & react.RefAttributes<HTMLDivElement>>;
99
100
 
100
101
  type AccordionBodyProps = React.HTMLAttributes<HTMLDivElement>;
101
102
  declare const AccordionBody: react.ForwardRefExoticComponent<AccordionBodyProps & react.RefAttributes<HTMLDivElement>>;
@@ -490,11 +491,11 @@ type InputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
490
491
  type InputColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
491
492
  type InputVariant = 'filled' | 'outlined' | 'flat' | 'text';
492
493
 
493
- interface Props$H {
494
+ interface Props$K {
494
495
  }
495
- type NativeAttrs$J = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$H>;
496
- type InputGroupProps = Props$H & NativeAttrs$J;
497
- declare const InputGroup: react.ForwardRefExoticComponent<Props$H & NativeAttrs$J & react.RefAttributes<HTMLDivElement>>;
496
+ type NativeAttrs$M = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$K>;
497
+ type InputGroupProps = Props$K & NativeAttrs$M;
498
+ declare const InputGroup: react.ForwardRefExoticComponent<Props$K & NativeAttrs$M & react.RefAttributes<HTMLDivElement>>;
498
499
 
499
500
  type ListSize = 'sm' | 'md' | 'lg';
500
501
 
@@ -504,7 +505,7 @@ interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
504
505
  }
505
506
  declare const List: react.ForwardRefExoticComponent<ListProps & react.RefAttributes<HTMLDivElement>>;
506
507
 
507
- interface Props$G {
508
+ interface Props$J {
508
509
  as?: react__default.ElementType;
509
510
  title?: react__default.ReactNode;
510
511
  subtitle?: react__default.ReactNode;
@@ -522,11 +523,11 @@ interface Props$G {
522
523
  subtitle?: react__default.HTMLAttributes<HTMLDivElement>;
523
524
  };
524
525
  }
525
- type NativeAttrs$I = Omit<react__default.HTMLAttributes<HTMLDivElement>, keyof Props$G>;
526
- type ListItemProps = Props$G & NativeAttrs$I;
527
- declare const ListItem: react__default.ForwardRefExoticComponent<Props$G & NativeAttrs$I & react__default.RefAttributes<HTMLDivElement>>;
526
+ type NativeAttrs$L = Omit<react__default.HTMLAttributes<HTMLDivElement>, keyof Props$J>;
527
+ type ListItemProps = Props$J & NativeAttrs$L;
528
+ declare const ListItem: react__default.ForwardRefExoticComponent<Props$J & NativeAttrs$L & react__default.RefAttributes<HTMLDivElement>>;
528
529
 
529
- interface Props$F {
530
+ interface Props$I {
530
531
  expandVisible?: boolean;
531
532
  expandPosition?: 'start' | 'end';
532
533
  isOpen?: boolean;
@@ -534,9 +535,9 @@ interface Props$F {
534
535
  onClose?: () => void;
535
536
  onToggle?: () => void;
536
537
  }
537
- type NativeAttrs$H = Omit<ListItemProps, keyof Props$F>;
538
- type ListGroupProps = Props$F & NativeAttrs$H;
539
- declare const ListGroup: react.ForwardRefExoticComponent<Props$F & NativeAttrs$H & react.RefAttributes<HTMLDivElement>>;
538
+ type NativeAttrs$K = Omit<ListItemProps, keyof Props$I>;
539
+ type ListGroupProps = Props$I & NativeAttrs$K;
540
+ declare const ListGroup: react.ForwardRefExoticComponent<Props$I & NativeAttrs$K & react.RefAttributes<HTMLDivElement>>;
540
541
 
541
542
  interface ListSubheaderProps extends React.HTMLAttributes<HTMLDivElement> {
542
543
  as?: React.ElementType;
@@ -566,7 +567,7 @@ declare const Result: React.FC<ResultProps>;
566
567
 
567
568
  type AutocompleteMultiple = false;
568
569
  type AutocompleteClearable = true;
569
- type NativeAttrs$G<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$E<TItem, TKeyField>>;
570
+ type NativeAttrs$J<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$H<TItem, TKeyField>>;
570
571
  type BaseProps$1<TItem extends Record<string, any>> = {
571
572
  textField?: keyof TItem;
572
573
  placeholder?: string;
@@ -586,8 +587,8 @@ type BaseProps$1<TItem extends Record<string, any>> = {
586
587
  renderItem?: (item: TItem, props: ListItemProps) => React.ReactNode;
587
588
  renderNoData?: (props: ResultProps) => React.ReactNode;
588
589
  };
589
- type Props$E<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = BaseProps$1<TItem> & SelectionProps<TItem, TKeyField, TMultiple, TClearable>;
590
- type AutocompleteProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$E<TItem, TKeyField, TMultiple, TClearable> & NativeAttrs$G<TItem, TKeyField>;
590
+ type Props$H<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = BaseProps$1<TItem> & SelectionProps<TItem, TKeyField, TMultiple, TClearable>;
591
+ type AutocompleteProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$H<TItem, TKeyField, TMultiple, TClearable> & NativeAttrs$J<TItem, TKeyField>;
591
592
 
592
593
  declare const Autocomplete: <TItem extends Record<string, any>, TKeyField extends keyof TItem = "key", TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = true>(props: AutocompleteProps<TItem, TKeyField, TMultiple, TClearable>) => react_jsx_runtime.JSX.Element;
593
594
 
@@ -610,7 +611,7 @@ declare const useAutocomplete: () => AutocompleteContextValue<Record<string, any
610
611
  type BackdropPlacement = 'top' | 'left' | 'center' | 'right' | 'bottom';
611
612
  type BackdropVariant = 'opaque' | 'blur' | 'transparent';
612
613
 
613
- interface Props$D {
614
+ interface Props$G {
614
615
  isOpen: boolean;
615
616
  closable?: boolean;
616
617
  placement?: BackdropPlacement;
@@ -619,14 +620,14 @@ interface Props$D {
619
620
  scrollArea?: boolean;
620
621
  onClose(): void;
621
622
  }
622
- type NativeAttrs$F = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$D>;
623
- type BackdropProps = Props$D & NativeAttrs$F;
624
- declare const Backdrop: react.ForwardRefExoticComponent<Props$D & NativeAttrs$F & react.RefAttributes<HTMLDivElement>>;
623
+ type NativeAttrs$I = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$G>;
624
+ type BackdropProps = Props$G & NativeAttrs$I;
625
+ declare const Backdrop: react.ForwardRefExoticComponent<Props$G & NativeAttrs$I & react.RefAttributes<HTMLDivElement>>;
625
626
 
626
627
  type BadgeColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
627
628
  type BadgePlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
628
629
 
629
- interface Props$C {
630
+ interface Props$F {
630
631
  /**
631
632
  * The placement of the badge relative to its content.
632
633
  */
@@ -644,8 +645,8 @@ interface Props$C {
644
645
  wrapper?: React.HTMLAttributes<HTMLDivElement>;
645
646
  };
646
647
  }
647
- type NativeAttrs$E = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$C>;
648
- type BadgeProps = Props$C & NativeAttrs$E;
648
+ type NativeAttrs$H = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$F>;
649
+ type BadgeProps = Props$F & NativeAttrs$H;
649
650
  declare const Badge: React.FC<BadgeProps>;
650
651
 
651
652
  type DataListItem = Record<string, any>;
@@ -662,7 +663,7 @@ interface DataListMultipleProps<TDataListItem extends DataListItem, TDataListKey
662
663
  onChange?: (value: TDataListItem[]) => void;
663
664
  onValueChange?: (value: TDataListItem[TDataListKeyField][]) => void;
664
665
  }
665
- type Props$B<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = {
666
+ type Props$E<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = {
666
667
  data: TDataListItem[];
667
668
  keyField?: TDataListKeyField;
668
669
  textField?: keyof DataListItem;
@@ -677,8 +678,8 @@ type Props$B<TDataListItem extends DataListItem, TDataListKeyField extends DataL
677
678
  renderItem?: (item: TDataListItem, props: ListItemProps$1) => React.ReactNode;
678
679
  renderNoData?: (props: ResultProps$1) => React.ReactNode;
679
680
  } & (DataListSingleProps<TDataListItem, TDataListKeyField> | DataListMultipleProps<TDataListItem, TDataListKeyField>);
680
- type NativeAttrs$D<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$B<TDataListItem, TDataListKeyField>>;
681
- type DataListProps<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Props$B<TDataListItem, TDataListKeyField> & NativeAttrs$D<TDataListItem, TDataListKeyField>;
681
+ type NativeAttrs$G<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$E<TDataListItem, TDataListKeyField>>;
682
+ type DataListProps<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Props$E<TDataListItem, TDataListKeyField> & NativeAttrs$G<TDataListItem, TDataListKeyField>;
682
683
 
683
684
  declare const DataList: <TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = "key">(props: DataListProps<TDataListItem, TDataListKeyField>) => react_jsx_runtime.JSX.Element;
684
685
 
@@ -687,7 +688,7 @@ type ButtonColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'd
687
688
  type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
688
689
  type ButtonGroupDirection = 'row' | 'col';
689
690
 
690
- interface Props$A {
691
+ interface Props$D {
691
692
  /**
692
693
  * The HTML element type or React component to render as the button.
693
694
  */
@@ -732,20 +733,20 @@ interface Props$A {
732
733
  fontStyle?: React.CSSProperties['fontStyle'];
733
734
  };
734
735
  }
735
- type NativeAttrs$C = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof Props$A>;
736
- type ButtonProps = Props$A & NativeAttrs$C;
737
- declare const Button: react.ForwardRefExoticComponent<Props$A & NativeAttrs$C & react.RefAttributes<HTMLButtonElement>>;
736
+ type NativeAttrs$F = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof Props$D>;
737
+ type ButtonProps = Props$D & NativeAttrs$F;
738
+ declare const Button: react.ForwardRefExoticComponent<Props$D & NativeAttrs$F & react.RefAttributes<HTMLButtonElement>>;
738
739
 
739
- interface Props$z {
740
+ interface Props$C {
740
741
  direction?: ButtonGroupDirection;
741
742
  variant?: ButtonVariant;
742
743
  color?: ButtonColor;
743
744
  size?: ButtonSize;
744
745
  disabled?: boolean;
745
746
  }
746
- type NativeAttrs$B = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$z>;
747
- type ButtonGroupProps = Props$z & NativeAttrs$B;
748
- declare const ButtonGroup: react.ForwardRefExoticComponent<Props$z & NativeAttrs$B & react.RefAttributes<HTMLDivElement>>;
747
+ type NativeAttrs$E = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$C>;
748
+ type ButtonGroupProps = Props$C & NativeAttrs$E;
749
+ declare const ButtonGroup: react.ForwardRefExoticComponent<Props$C & NativeAttrs$E & react.RefAttributes<HTMLDivElement>>;
749
750
 
750
751
  interface ButtonGroupContextValue {
751
752
  direction: ButtonGroupDirection;
@@ -759,7 +760,7 @@ declare const useButtonGroup: () => ButtonGroupContextValue | null;
759
760
 
760
761
  type CardSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
761
762
 
762
- interface Props$y {
763
+ interface Props$B {
763
764
  as?: React.ElementType;
764
765
  size?: CardSize;
765
766
  hoverable?: boolean;
@@ -769,14 +770,14 @@ interface Props$y {
769
770
  divider?: boolean;
770
771
  css?: BoxCSS;
771
772
  }
772
- type NativeAttrs$A = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$y>;
773
- type CardProps = Props$y & NativeAttrs$A;
774
- declare const Card: react.ForwardRefExoticComponent<Props$y & NativeAttrs$A & react.RefAttributes<HTMLDivElement>>;
773
+ type NativeAttrs$D = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$B>;
774
+ type CardProps = Props$B & NativeAttrs$D;
775
+ declare const Card: react.ForwardRefExoticComponent<Props$B & NativeAttrs$D & react.RefAttributes<HTMLDivElement>>;
775
776
 
776
777
  type CardBodyProps = React.HTMLAttributes<HTMLDivElement>;
777
778
  declare const CardBody: react.ForwardRefExoticComponent<CardBodyProps & react.RefAttributes<HTMLDivElement>>;
778
779
 
779
- interface Props$x {
780
+ interface Props$A {
780
781
  as?: React.ElementType;
781
782
  title?: React.ReactNode;
782
783
  subtitle?: React.ReactNode;
@@ -802,11 +803,11 @@ interface Props$x {
802
803
  subtitle?: React.HTMLAttributes<HTMLDivElement>;
803
804
  };
804
805
  }
805
- type NativeAttrs$z = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$x>;
806
- type CardHeaderProps = Props$x & NativeAttrs$z;
807
- declare const CardHeader: react.ForwardRefExoticComponent<Props$x & NativeAttrs$z & react.RefAttributes<HTMLDivElement>>;
806
+ type NativeAttrs$C = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$A>;
807
+ type CardHeaderProps = Props$A & NativeAttrs$C;
808
+ declare const CardHeader: react.ForwardRefExoticComponent<Props$A & NativeAttrs$C & react.RefAttributes<HTMLDivElement>>;
808
809
 
809
- interface Props$w {
810
+ interface Props$z {
810
811
  as?: React.ElementType;
811
812
  /**
812
813
  * @deprecated Use `underlined` instead
@@ -814,9 +815,9 @@ interface Props$w {
814
815
  bordered?: boolean;
815
816
  underlined?: boolean;
816
817
  }
817
- type NativeAttrs$y = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$w>;
818
- type CardFooterProps = Props$w & NativeAttrs$y;
819
- declare const CardFooter: react.ForwardRefExoticComponent<Props$w & NativeAttrs$y & react.RefAttributes<HTMLDivElement>>;
818
+ type NativeAttrs$B = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$z>;
819
+ type CardFooterProps = Props$z & NativeAttrs$B;
820
+ declare const CardFooter: react.ForwardRefExoticComponent<Props$z & NativeAttrs$B & react.RefAttributes<HTMLDivElement>>;
820
821
 
821
822
  type CardMediaProps = React.HTMLAttributes<HTMLDivElement> & {
822
823
  topLeftContent?: React.ReactNode;
@@ -827,28 +828,28 @@ declare const CardMedia: react.ForwardRefExoticComponent<react.HTMLAttributes<HT
827
828
  topRightContent?: React.ReactNode;
828
829
  } & react.RefAttributes<HTMLDivElement>>;
829
830
 
830
- interface Props$v {
831
+ interface Props$y {
831
832
  as?: React.ElementType;
832
833
  centered?: boolean;
833
834
  css?: BoxCSS;
834
835
  }
835
- type NativeAttrs$x = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$v>;
836
- type CardTitleProps = Props$v & NativeAttrs$x;
837
- declare const CardTitle: react.ForwardRefExoticComponent<Props$v & NativeAttrs$x & react.RefAttributes<HTMLDivElement>>;
836
+ type NativeAttrs$A = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$y>;
837
+ type CardTitleProps = Props$y & NativeAttrs$A;
838
+ declare const CardTitle: react.ForwardRefExoticComponent<Props$y & NativeAttrs$A & react.RefAttributes<HTMLDivElement>>;
838
839
 
839
- interface Props$u {
840
+ interface Props$x {
840
841
  as?: React.ElementType;
841
842
  css?: BoxCSS;
842
843
  }
843
- type NativeAttrs$w = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$u>;
844
- type CardSubtitleProps = Props$u & NativeAttrs$w;
845
- declare const CardSubtitle: react.ForwardRefExoticComponent<Props$u & NativeAttrs$w & react.RefAttributes<HTMLDivElement>>;
844
+ type NativeAttrs$z = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$x>;
845
+ type CardSubtitleProps = Props$x & NativeAttrs$z;
846
+ declare const CardSubtitle: react.ForwardRefExoticComponent<Props$x & NativeAttrs$z & react.RefAttributes<HTMLDivElement>>;
846
847
 
847
848
  type ChipVariant = 'filled' | 'outlined' | 'flat' | 'text' | 'plain' | 'bordered';
848
849
  type ChipColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
849
850
  type ChipSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
850
851
 
851
- interface Props$t {
852
+ interface Props$w {
852
853
  /**
853
854
  * The HTML element type or React component to render as the chip.
854
855
  */
@@ -886,9 +887,9 @@ interface Props$t {
886
887
  };
887
888
  onClose?: () => void;
888
889
  }
889
- type NativeAttrs$v = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$t>;
890
- type ChipProps = Props$t & NativeAttrs$v;
891
- declare const Chip: react.ForwardRefExoticComponent<Props$t & NativeAttrs$v & react.RefAttributes<HTMLDivElement>>;
890
+ type NativeAttrs$y = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$w>;
891
+ type ChipProps = Props$w & NativeAttrs$y;
892
+ declare const Chip: react.ForwardRefExoticComponent<Props$w & NativeAttrs$y & react.RefAttributes<HTMLDivElement>>;
892
893
 
893
894
  interface CollapseProps {
894
895
  children: React.ReactNode;
@@ -917,6 +918,7 @@ declare const useCollapse: () => CollapseContextValue;
917
918
 
918
919
  interface CollapseTriggerProps {
919
920
  children: react__default.ReactNode;
921
+ disabled?: boolean;
920
922
  }
921
923
  declare const CollapseTrigger: react__default.ForwardRefExoticComponent<CollapseTriggerProps & react__default.RefAttributes<unknown>>;
922
924
 
@@ -932,7 +934,7 @@ interface DrawerClose {
932
934
  }
933
935
  type DrawerBackdrop = BackdropVariant;
934
936
 
935
- interface Props$s {
937
+ interface Props$v {
936
938
  isOpen: boolean;
937
939
  size?: DrawerSize;
938
940
  backdrop?: DrawerBackdrop;
@@ -949,11 +951,11 @@ interface Props$s {
949
951
  onClose: () => void;
950
952
  onAfterClose?: () => void;
951
953
  }
952
- type NativeAttrs$u = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$s>;
953
- type DrawerProps = Props$s & NativeAttrs$u;
954
- declare const Drawer: react.ForwardRefExoticComponent<Props$s & NativeAttrs$u & react.RefAttributes<HTMLDivElement>>;
954
+ type NativeAttrs$x = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$v>;
955
+ type DrawerProps = Props$v & NativeAttrs$x;
956
+ declare const Drawer: react.ForwardRefExoticComponent<Props$v & NativeAttrs$x & react.RefAttributes<HTMLDivElement>>;
955
957
 
956
- interface Props$r {
958
+ interface Props$u {
957
959
  as?: React.ElementType;
958
960
  title?: React.ReactNode;
959
961
  subtitle?: React.ReactNode;
@@ -969,20 +971,20 @@ interface Props$r {
969
971
  subtitle?: React.HTMLAttributes<HTMLDivElement>;
970
972
  };
971
973
  }
972
- type NativeAttrs$t = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$r>;
973
- type DrawerHeaderProps = Props$r & NativeAttrs$t;
974
- declare const DrawerHeader: react.ForwardRefExoticComponent<Props$r & NativeAttrs$t & react.RefAttributes<HTMLDivElement>>;
974
+ type NativeAttrs$w = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$u>;
975
+ type DrawerHeaderProps = Props$u & NativeAttrs$w;
976
+ declare const DrawerHeader: react.ForwardRefExoticComponent<Props$u & NativeAttrs$w & react.RefAttributes<HTMLDivElement>>;
975
977
 
976
978
  type DrawerBodyProps = React.HTMLAttributes<HTMLDivElement>;
977
979
  declare const DrawerBody: react.ForwardRefExoticComponent<DrawerBodyProps & react.RefAttributes<HTMLDivElement>>;
978
980
 
979
- interface Props$q {
981
+ interface Props$t {
980
982
  as?: React.ElementType;
981
983
  bordered?: boolean;
982
984
  }
983
- type NativeAttrs$s = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$q>;
984
- type DrawerFooterProps = Props$q & NativeAttrs$s;
985
- declare const DrawerFooter: react.ForwardRefExoticComponent<Props$q & NativeAttrs$s & react.RefAttributes<HTMLDivElement>>;
985
+ type NativeAttrs$v = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$t>;
986
+ type DrawerFooterProps = Props$t & NativeAttrs$v;
987
+ declare const DrawerFooter: react.ForwardRefExoticComponent<Props$t & NativeAttrs$v & react.RefAttributes<HTMLDivElement>>;
986
988
 
987
989
  interface DrawerContextValue {
988
990
  isOpen: boolean;
@@ -1003,10 +1005,15 @@ interface IconProps {
1003
1005
  children: React.ReactNode;
1004
1006
  color?: IconColor;
1005
1007
  size?: IconSize;
1008
+ cssUtils?: {
1009
+ opacity?: number;
1010
+ pointer?: boolean;
1011
+ hoverOpacity?: number;
1012
+ };
1006
1013
  }
1007
1014
  declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<unknown>>;
1008
1015
 
1009
- interface Props$p {
1016
+ interface Props$s {
1010
1017
  /**
1011
1018
  * The HTML element type or React component to render as the menu item.
1012
1019
  */
@@ -1032,9 +1039,9 @@ interface Props$p {
1032
1039
  */
1033
1040
  disabled?: boolean;
1034
1041
  }
1035
- type NativeAttrs$r = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$p | 'items'>;
1036
- type MenuItemProps = Props$p & NativeAttrs$r;
1037
- declare const MenuItem: react.ForwardRefExoticComponent<Props$p & NativeAttrs$r & react.RefAttributes<HTMLDivElement>>;
1042
+ type NativeAttrs$u = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$s | 'items'>;
1043
+ type MenuItemProps = Props$s & NativeAttrs$u;
1044
+ declare const MenuItem: react.ForwardRefExoticComponent<Props$s & NativeAttrs$u & react.RefAttributes<HTMLDivElement>>;
1038
1045
 
1039
1046
  type MenuSubmenuProps = Omit<MenuItemProps, 'items'> & {
1040
1047
  items?: MenuItemType[];
@@ -1058,7 +1065,7 @@ type MenuItemType = (MenuGroupProps & {
1058
1065
  }) | (MenuItemProps & {
1059
1066
  type?: 'item';
1060
1067
  });
1061
- interface Props$o {
1068
+ interface Props$r {
1062
1069
  /**
1063
1070
  * The currently selected value of the menu.
1064
1071
  */
@@ -1094,8 +1101,8 @@ interface Props$o {
1094
1101
  */
1095
1102
  onItemSelect?: (props: MenuItemProps) => void;
1096
1103
  }
1097
- type NativeAttrs$q = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$o | 'items'>;
1098
- type MenuProps = Props$o & NativeAttrs$q & {
1104
+ type NativeAttrs$t = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$r | 'items'>;
1105
+ type MenuProps = Props$r & NativeAttrs$t & {
1099
1106
  items?: MenuItemType[];
1100
1107
  };
1101
1108
  declare const Menu: React.FC<MenuProps>;
@@ -1132,6 +1139,7 @@ declare const Popover: React.FC<PopoverProps>;
1132
1139
 
1133
1140
  interface PopoverContentProps extends React.HTMLAttributes<HTMLDivElement> {
1134
1141
  sectionValue?: string;
1142
+ excludeTargets?: string[];
1135
1143
  }
1136
1144
  declare const PopoverContent: react.ForwardRefExoticComponent<PopoverContentProps & react.RefAttributes<HTMLDivElement>>;
1137
1145
 
@@ -1170,7 +1178,7 @@ declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & reac
1170
1178
 
1171
1179
  type SelectMultiple = false;
1172
1180
  type SelectClearable = false;
1173
- type NativeAttrs$p<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$n<TItem, TKeyField>>;
1181
+ type NativeAttrs$s<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$q<TItem, TKeyField>>;
1174
1182
  type BaseProps<TItem extends Record<string, any>> = {
1175
1183
  textField?: keyof TItem;
1176
1184
  placeholder?: string;
@@ -1188,8 +1196,8 @@ type BaseProps<TItem extends Record<string, any>> = {
1188
1196
  renderItem?: (item: TItem, props: ListItemProps) => React.ReactNode;
1189
1197
  renderNoData?: (props: ResultProps) => React.ReactNode;
1190
1198
  };
1191
- type Props$n<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = BaseProps<TItem> & SelectionProps<TItem, TKeyField, TMultiple, TClearable>;
1192
- type SelectProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$n<TItem, TKeyField, TMultiple, TClearable> & NativeAttrs$p<TItem, TKeyField>;
1199
+ type Props$q<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = BaseProps<TItem> & SelectionProps<TItem, TKeyField, TMultiple, TClearable>;
1200
+ type SelectProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$q<TItem, TKeyField, TMultiple, TClearable> & NativeAttrs$s<TItem, TKeyField>;
1193
1201
 
1194
1202
  declare const Select: <TItem extends Record<string, any>, TKeyField extends keyof TItem = "key", TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false>(props: SelectProps<TItem, TKeyField, TMultiple, TClearable>) => react_jsx_runtime.JSX.Element;
1195
1203
 
@@ -1213,20 +1221,20 @@ type SwitchSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
1213
1221
  type SwitchLabelPlacement = 'before' | 'after';
1214
1222
  type SwitchColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
1215
1223
 
1216
- interface Props$m {
1224
+ interface Props$p {
1217
1225
  size?: SwitchSize;
1218
1226
  labelPlacement?: SwitchLabelPlacement;
1219
1227
  color?: SwitchColor;
1220
1228
  }
1221
- type NativeAttrs$o = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$m | 'value' | 'defaultValue'>;
1222
- type SwitchProps = Props$m & NativeAttrs$o;
1223
- declare const Switch: react.ForwardRefExoticComponent<Props$m & NativeAttrs$o & react.RefAttributes<HTMLInputElement>>;
1229
+ type NativeAttrs$r = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$p | 'value' | 'defaultValue'>;
1230
+ type SwitchProps = Props$p & NativeAttrs$r;
1231
+ declare const Switch: react.ForwardRefExoticComponent<Props$p & NativeAttrs$r & react.RefAttributes<HTMLInputElement>>;
1224
1232
 
1225
1233
  type TabsVariant = 'underlined' | 'outlined' | 'pills';
1226
1234
  type TabValue = string | number | symbol;
1227
1235
  type TabsAlignment = 'start' | 'center' | 'end' | 'stretch';
1228
1236
 
1229
- interface Props$l<TTabValue extends TabValue = TabValue> {
1237
+ interface Props$o<TTabValue extends TabValue = TabValue> {
1230
1238
  /**
1231
1239
  * The HTML element type or React component to render as the tab.
1232
1240
  */
@@ -1252,11 +1260,11 @@ interface Props$l<TTabValue extends TabValue = TabValue> {
1252
1260
  */
1253
1261
  endContent?: React.ReactNode;
1254
1262
  }
1255
- type NativeAttrs$n = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$l>;
1256
- type TabProps<TTabValue extends TabValue = TabValue> = Props$l<TTabValue> & NativeAttrs$n;
1257
- declare const Tab: react.ForwardRefExoticComponent<Props$l<TabValue> & NativeAttrs$n & react.RefAttributes<HTMLDivElement>>;
1263
+ type NativeAttrs$q = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$o>;
1264
+ type TabProps<TTabValue extends TabValue = TabValue> = Props$o<TTabValue> & NativeAttrs$q;
1265
+ declare const Tab: react.ForwardRefExoticComponent<Props$o<TabValue> & NativeAttrs$q & react.RefAttributes<HTMLDivElement>>;
1258
1266
 
1259
- interface Props$k<TTabValue extends TabValue = TabValue> {
1267
+ interface Props$n<TTabValue extends TabValue = TabValue> {
1260
1268
  /**
1261
1269
  * The currently selected value of the tabs.
1262
1270
  */
@@ -1279,11 +1287,55 @@ interface Props$k<TTabValue extends TabValue = TabValue> {
1279
1287
  */
1280
1288
  onClose?: (value: TTabValue) => void;
1281
1289
  }
1282
- type NativeAttrs$m = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$k>;
1283
- type TabsProps<TTabValue extends TabValue = TabValue> = Props$k<TTabValue> & NativeAttrs$m;
1284
- declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$k<TTabValue> & NativeAttrs$m & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
1290
+ type NativeAttrs$p = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$n>;
1291
+ type TabsProps<TTabValue extends TabValue = TabValue> = Props$n<TTabValue> & NativeAttrs$p;
1292
+ declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$n<TTabValue> & NativeAttrs$p & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
1285
1293
 
1286
- interface Props$j {
1294
+ declare const scrollToItem: (parentElement: Element, currentElement: Element) => void;
1295
+
1296
+ type ClassDictionary = Record<string, any>;
1297
+ type ClassArray = ClassValue[];
1298
+ type ClassValue = ClassArray | ClassDictionary | string | number | null | boolean | undefined;
1299
+ declare function clsx(...inputs: ClassValue[]): string;
1300
+
1301
+ type ReactRef<T> = React.RefCallback<T> | React.MutableRefObject<T>;
1302
+ declare function assignRef<T = any>(ref: ReactRef<T> | null | undefined, value: T): void;
1303
+ declare function mergeRefs<T>(...refs: (ReactRef<T> | null | undefined)[]): (node: T | null) => void;
1304
+
1305
+ declare function dateFormat(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1306
+ declare function formatDate(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1307
+ declare function formatDateTime(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1308
+ declare function formatShortDateTime(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1309
+ declare function formatTime(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1310
+ declare function formatCurrency(value: number | bigint | Intl.StringNumericLiteral, currency?: string, locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
1311
+ declare function formatPercent(value: any, decimals?: number, locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
1312
+ declare function format(options: FormatOptions): string | undefined;
1313
+
1314
+ declare const valueToValues: <TItem extends Record<string, any>, TKeyField extends keyof TItem, TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false>(value?: SelectionValue<TItem, TKeyField, TMultiple, TClearable>) => TItem[TKeyField][];
1315
+ declare const valuesToValue: <TItem extends Record<string, any>, TKeyField extends keyof TItem>(values: TItem[TKeyField][]) => TItem[TKeyField] | null;
1316
+
1317
+ declare function areArraysEqual<T extends string | number | symbol>(arr1: T[], arr2: T[]): boolean;
1318
+
1319
+ declare function toLocalDateString(date: Date): string;
1320
+ declare function toNumericString(value: string): string;
1321
+ declare function toAlphanumericString(value: string): string;
1322
+ declare function toPlainTextString(value: string): string;
1323
+ declare function toNotEmojisString(value: string): string;
1324
+ declare const STRING_RULES: readonly ["allow-emojis", "not-allow-emojis", "only-alphanumeric", "only-numeric", "only-plain-text"];
1325
+ type StringRules = Array<(typeof STRING_RULES)[number]>;
1326
+ declare function toRulesString(rules: StringRules, value: string): string;
1327
+
1328
+ declare function isEmpty<T>(value?: T | null): value is null | undefined;
1329
+ declare function isEmptyString(value?: string | null): value is null | undefined;
1330
+ declare function isNumeric(value: string): boolean;
1331
+ declare function isAlphanumeric(value: string): boolean;
1332
+ declare function containsPlainText(value: string): boolean;
1333
+ declare function doesNotContainEmojis(value: string): boolean;
1334
+ declare function validateRules(rules: StringRules, value: string): string | boolean;
1335
+
1336
+ interface Props$m {
1337
+ value?: string;
1338
+ defaultValue?: string;
1287
1339
  inputRef?: React.RefObject<HTMLInputElement>;
1288
1340
  variant?: InputVariant;
1289
1341
  color?: InputColor;
@@ -1291,14 +1343,16 @@ interface Props$j {
1291
1343
  startContent?: React.ReactNode;
1292
1344
  endContent?: React.ReactNode;
1293
1345
  css?: BoxCSS;
1346
+ rules?: StringRules;
1347
+ autoFormatRules?: boolean;
1294
1348
  }
1295
- type NativeAttrs$l = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$j>;
1296
- type TextInputProps = Props$j & NativeAttrs$l;
1297
- declare const TextInput: react.ForwardRefExoticComponent<Props$j & NativeAttrs$l & react.RefAttributes<HTMLInputElement>>;
1349
+ type NativeAttrs$o = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$m>;
1350
+ type TextInputProps = Props$m & NativeAttrs$o;
1351
+ declare const TextInput: react.ForwardRefExoticComponent<Props$m & NativeAttrs$o & react.RefAttributes<HTMLInputElement>>;
1298
1352
 
1299
1353
  type ToolbarSize = 'auto' | 'sm' | 'md' | 'lg';
1300
1354
 
1301
- interface Props$i {
1355
+ interface Props$l {
1302
1356
  size?: ToolbarSize;
1303
1357
  title?: React.ReactNode;
1304
1358
  subtitle?: React.ReactNode;
@@ -1320,8 +1374,8 @@ interface Props$i {
1320
1374
  subtitle?: React.HTMLAttributes<HTMLDivElement>;
1321
1375
  };
1322
1376
  }
1323
- type NativeAttrs$k = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$i>;
1324
- type ToolbarProps = Props$i & NativeAttrs$k;
1377
+ type NativeAttrs$n = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$l>;
1378
+ type ToolbarProps = Props$l & NativeAttrs$n;
1325
1379
  declare const Toolbar: React.FC<ToolbarProps>;
1326
1380
 
1327
1381
  interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
@@ -1336,22 +1390,22 @@ interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
1336
1390
  }
1337
1391
  declare const Transition: React.FC<TransitionProps>;
1338
1392
 
1339
- interface Props$h {
1393
+ interface Props$k {
1340
1394
  /**
1341
1395
  * The HTML element type or React component to render as the tab.
1342
1396
  */
1343
1397
  as?: React.ElementType;
1344
1398
  width?: number;
1345
1399
  }
1346
- type NativeAttrs$j = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$h>;
1347
- type SwipeItemProps = Props$h & NativeAttrs$j;
1348
- declare const SwipeItem: react.ForwardRefExoticComponent<Props$h & NativeAttrs$j & {
1400
+ type NativeAttrs$m = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$k>;
1401
+ type SwipeItemProps = Props$k & NativeAttrs$m;
1402
+ declare const SwipeItem: react.ForwardRefExoticComponent<Props$k & NativeAttrs$m & {
1349
1403
  children?: react.ReactNode | undefined;
1350
1404
  } & react.RefAttributes<HTMLDivElement>>;
1351
1405
 
1352
1406
  type SwiperAlignmet = 'start' | 'center' | 'end';
1353
1407
 
1354
- interface Props$g {
1408
+ interface Props$j {
1355
1409
  gap?: number;
1356
1410
  alignment?: SwiperAlignmet;
1357
1411
  autoHide?: boolean;
@@ -1361,8 +1415,8 @@ interface Props$g {
1361
1415
  arrowRightButton?: ButtonProps;
1362
1416
  };
1363
1417
  }
1364
- type NativeAttrs$i = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$g>;
1365
- type SwipeProps = Props$g & NativeAttrs$i;
1418
+ type NativeAttrs$l = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$j>;
1419
+ type SwipeProps = Props$j & NativeAttrs$l;
1366
1420
  declare const Swipe: React.FC<SwipeProps>;
1367
1421
 
1368
1422
  type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
@@ -1372,9 +1426,9 @@ interface ModalClose {
1372
1426
  position?: 'start' | 'end';
1373
1427
  }
1374
1428
  type ModalScrollBehavior = 'inside' | 'outside';
1375
- type ModalBackdrop = BackdropVariant;
1429
+ type ModalBackdrop = BackdropVariant | boolean;
1376
1430
 
1377
- interface Props$f {
1431
+ interface Props$i {
1378
1432
  isOpen: boolean;
1379
1433
  size?: ModalSize;
1380
1434
  backdrop?: ModalBackdrop;
@@ -1386,18 +1440,23 @@ interface Props$f {
1386
1440
  slotProps?: {
1387
1441
  wrapper?: React.HTMLAttributes<HTMLDivElement>;
1388
1442
  };
1443
+ content?: boolean;
1389
1444
  onClose: () => void;
1390
1445
  onAfterClose?: () => void;
1391
1446
  }
1392
- type NativeAttrs$h = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$f>;
1393
- type ModalProps = Props$f & NativeAttrs$h;
1394
- declare const Modal: react.ForwardRefExoticComponent<Props$f & NativeAttrs$h & react.RefAttributes<HTMLDivElement>>;
1447
+ type NativeAttrs$k = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$i>;
1448
+ type ModalProps = Props$i & NativeAttrs$k;
1449
+ declare const Modal: react.ForwardRefExoticComponent<Props$i & NativeAttrs$k & react.RefAttributes<HTMLDivElement>>;
1395
1450
 
1396
1451
  type ModalBodyProps = React.HTMLAttributes<HTMLDivElement>;
1397
1452
  declare const ModalBody: React.FC<ModalBodyProps>;
1398
1453
 
1399
1454
  interface ModalContextValue {
1455
+ nodeRef: React.MutableRefObject<null>;
1400
1456
  isOpen: boolean;
1457
+ size: ModalSize;
1458
+ placement: ModalPlacement;
1459
+ fullscreen: boolean;
1401
1460
  scrollBehavior: ModalScrollBehavior;
1402
1461
  scrollArea: boolean;
1403
1462
  closable: boolean;
@@ -1406,15 +1465,15 @@ interface ModalContextValue {
1406
1465
  }
1407
1466
  declare function useModal(): ModalContextValue;
1408
1467
 
1409
- interface Props$e {
1468
+ interface Props$h {
1410
1469
  as?: React.ElementType;
1411
1470
  bordered?: boolean;
1412
1471
  }
1413
- type NativeAttrs$g = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$e>;
1414
- type ModalFooterProps = Props$e & NativeAttrs$g;
1415
- declare const ModalFooter: react.ForwardRefExoticComponent<Props$e & NativeAttrs$g & react.RefAttributes<HTMLDivElement>>;
1472
+ type NativeAttrs$j = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$h>;
1473
+ type ModalFooterProps = Props$h & NativeAttrs$j;
1474
+ declare const ModalFooter: react.ForwardRefExoticComponent<Props$h & NativeAttrs$j & react.RefAttributes<HTMLDivElement>>;
1416
1475
 
1417
- interface Props$d {
1476
+ interface Props$g {
1418
1477
  as?: React.ElementType;
1419
1478
  title?: React.ReactNode;
1420
1479
  subtitle?: React.ReactNode;
@@ -1430,9 +1489,12 @@ interface Props$d {
1430
1489
  subtitle?: React.HTMLAttributes<HTMLDivElement>;
1431
1490
  };
1432
1491
  }
1433
- type NativeAttrs$f = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$d>;
1434
- type ModalHeaderProps = Props$d & NativeAttrs$f;
1435
- declare const ModalHeader: react.ForwardRefExoticComponent<Props$d & NativeAttrs$f & react.RefAttributes<HTMLDivElement>>;
1492
+ type NativeAttrs$i = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$g>;
1493
+ type ModalHeaderProps = Props$g & NativeAttrs$i;
1494
+ declare const ModalHeader: react.ForwardRefExoticComponent<Props$g & NativeAttrs$i & react.RefAttributes<HTMLDivElement>>;
1495
+
1496
+ type ModalContentProps = React.HTMLAttributes<HTMLDivElement>;
1497
+ declare const ModalContent: react.ForwardRefExoticComponent<ModalContentProps & react.RefAttributes<HTMLDivElement>>;
1436
1498
 
1437
1499
  type CheckboxValue = string | number | symbol;
1438
1500
  type CheckboxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -1441,17 +1503,18 @@ type CheckboxGroupDirection = 'row' | 'col';
1441
1503
  type CheckboxGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
1442
1504
  type CheckboxColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
1443
1505
 
1444
- interface Props$c<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1506
+ interface Props$f<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1445
1507
  value?: TCheckboxValue;
1446
1508
  size?: CheckboxSize;
1447
1509
  labelPlacement?: CheckboxLabelPlacement;
1448
1510
  color?: CheckboxColor;
1511
+ indeterminate?: boolean;
1449
1512
  }
1450
- type NativeAttrs$e = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$c | 'defaultValue'>;
1451
- type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$c<TCheckboxValue> & NativeAttrs$e;
1452
- declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$c<TCheckboxValue> & NativeAttrs$e & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
1513
+ type NativeAttrs$h = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$f | 'defaultValue'>;
1514
+ type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$f<TCheckboxValue> & NativeAttrs$h;
1515
+ declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$f<TCheckboxValue> & NativeAttrs$h & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
1453
1516
 
1454
- interface Props$b<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1517
+ interface Props$e<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1455
1518
  value?: TCheckboxValue[];
1456
1519
  defaultValue?: TCheckboxValue[];
1457
1520
  disabled?: boolean;
@@ -1463,9 +1526,9 @@ interface Props$b<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1463
1526
  color?: CheckboxColor;
1464
1527
  onChange?: (value: TCheckboxValue[]) => void;
1465
1528
  }
1466
- type NativeAttrs$d = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$b>;
1467
- type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$b<TCheckboxValue> & NativeAttrs$d;
1468
- declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$b<TCheckboxValue> & NativeAttrs$d & react.RefAttributes<HTMLTableElement>) => ReturnType<React.FunctionComponent>;
1529
+ type NativeAttrs$g = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$e>;
1530
+ type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$e<TCheckboxValue> & NativeAttrs$g;
1531
+ declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$e<TCheckboxValue> & NativeAttrs$g & react.RefAttributes<HTMLTableElement>) => ReturnType<React.FunctionComponent>;
1469
1532
 
1470
1533
  interface CheckboxGroupContextValue<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1471
1534
  value: TCheckboxValue[];
@@ -1487,7 +1550,7 @@ type RadioGroupDirection = 'row' | 'col';
1487
1550
  type RadioGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
1488
1551
  type RadioColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
1489
1552
 
1490
- interface Props$a<TRadioValue extends RadioValue = RadioValue> {
1553
+ interface Props$d<TRadioValue extends RadioValue = RadioValue> {
1491
1554
  value?: TRadioValue;
1492
1555
  disabled?: boolean;
1493
1556
  readOnly?: boolean;
@@ -1495,11 +1558,11 @@ interface Props$a<TRadioValue extends RadioValue = RadioValue> {
1495
1558
  labelPlacement?: RadioLabelPlacement;
1496
1559
  colorScheme?: ColorScheme;
1497
1560
  }
1498
- type NativeAttrs$c = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$a | 'defaultValue' | 'checked' | 'defaultChecked' | 'onChange'>;
1499
- type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$a<TRadioValue> & NativeAttrs$c;
1500
- declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$a<TRadioValue> & NativeAttrs$c & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
1561
+ type NativeAttrs$f = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$d | 'defaultValue' | 'checked' | 'defaultChecked' | 'onChange'>;
1562
+ type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$d<TRadioValue> & NativeAttrs$f;
1563
+ declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$d<TRadioValue> & NativeAttrs$f & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
1501
1564
 
1502
- interface Props$9<TRadioValue extends RadioValue = RadioValue> {
1565
+ interface Props$c<TRadioValue extends RadioValue = RadioValue> {
1503
1566
  name?: string;
1504
1567
  value?: TRadioValue;
1505
1568
  defaultValue?: TRadioValue;
@@ -1512,9 +1575,9 @@ interface Props$9<TRadioValue extends RadioValue = RadioValue> {
1512
1575
  color?: RadioColor;
1513
1576
  onChange?: (value: TRadioValue) => void;
1514
1577
  }
1515
- type NativeAttrs$b = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$9>;
1516
- type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$9<TRadioValue> & NativeAttrs$b;
1517
- declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$9<TRadioValue> & NativeAttrs$b & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
1578
+ type NativeAttrs$e = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$c>;
1579
+ type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$c<TRadioValue> & NativeAttrs$e;
1580
+ declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$c<TRadioValue> & NativeAttrs$e & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
1518
1581
 
1519
1582
  interface RadioGroupContextValue {
1520
1583
  name: string;
@@ -1532,27 +1595,30 @@ declare const useRadioGroup: () => RadioGroupContextValue;
1532
1595
 
1533
1596
  type NavRailPlacement = 'left' | 'right';
1534
1597
 
1535
- interface Props$8 {
1598
+ interface Props$b {
1536
1599
  startContent?: React.ReactNode;
1537
1600
  endContent?: React.ReactNode;
1538
1601
  placement?: NavRailPlacement;
1539
1602
  }
1540
- type NativeAttrs$a = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$8>;
1541
- type NavRailProps = Props$8 & NativeAttrs$a;
1603
+ type NativeAttrs$d = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$b>;
1604
+ type NavRailProps = Props$b & NativeAttrs$d;
1542
1605
  declare const NavRail: React.FC<NavRailProps>;
1543
1606
 
1544
- interface Props$7 {
1607
+ interface Props$a {
1545
1608
  as?: React.ElementType;
1546
1609
  icon?: React.ReactNode;
1547
1610
  media?: React.ReactNode;
1548
1611
  label?: React.ReactNode;
1549
1612
  selected?: boolean;
1613
+ slotProps?: {
1614
+ label?: React.HTMLAttributes<HTMLDivElement>;
1615
+ };
1550
1616
  }
1551
- type NativeAttrs$9 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$7>;
1552
- type NavRailItemProps = Props$7 & NativeAttrs$9;
1553
- declare const NavRailItem: react.ForwardRefExoticComponent<Props$7 & NativeAttrs$9 & react.RefAttributes<HTMLDivElement>>;
1617
+ type NativeAttrs$c = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$a>;
1618
+ type NavRailItemProps = Props$a & NativeAttrs$c;
1619
+ declare const NavRailItem: react.ForwardRefExoticComponent<Props$a & NativeAttrs$c & react.RefAttributes<HTMLDivElement>>;
1554
1620
 
1555
- type Props$6 = {
1621
+ type Props$9 = {
1556
1622
  as?: React.ElementType;
1557
1623
  label: React.ReactNode;
1558
1624
  span?: Responsive<number>;
@@ -1568,20 +1634,20 @@ type Props$6 = {
1568
1634
  mq: ContainerMediaQuery;
1569
1635
  }) => React.ReactNode;
1570
1636
  } & FormatOptions;
1571
- type NativeAttrs$8 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$6 | 'children'>;
1572
- type DescriptionProps = Props$6 & NativeAttrs$8;
1637
+ type NativeAttrs$b = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$9 | 'children'>;
1638
+ type DescriptionProps = Props$9 & NativeAttrs$b;
1573
1639
  declare const Description: react.ForwardRefExoticComponent<DescriptionProps & react.RefAttributes<HTMLDivElement>>;
1574
1640
 
1575
- type NativeAttrs$7 = React.HTMLAttributes<HTMLDivElement>;
1576
- type DescriptionEmptyProps = NativeAttrs$7;
1577
- declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$7 & react.RefAttributes<HTMLDivElement>>;
1641
+ type NativeAttrs$a = React.HTMLAttributes<HTMLDivElement>;
1642
+ type DescriptionEmptyProps = NativeAttrs$a;
1643
+ declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$a & react.RefAttributes<HTMLDivElement>>;
1578
1644
 
1579
1645
  type DescriptionsLayout = 'row' | 'col';
1580
1646
  type DescriptionsSize = 'sm' | 'md' | 'lg';
1581
1647
  type DescriptionsAlign = React.CSSProperties['textAlign'];
1582
1648
  type DescriptionsMode = 'container' | 'screen' | 'css';
1583
1649
 
1584
- interface Props$5 {
1650
+ interface Props$8 {
1585
1651
  as?: React.ElementType;
1586
1652
  mode?: DescriptionsMode;
1587
1653
  items?: DescriptionProps[];
@@ -1592,9 +1658,9 @@ interface Props$5 {
1592
1658
  labelAlign?: Responsive<DescriptionsAlign>;
1593
1659
  contentAlign?: Responsive<DescriptionsAlign>;
1594
1660
  }
1595
- type NativeAttrs$6 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$5 | 'children'>;
1596
- type DescriptionsProps = Props$5 & NativeAttrs$6;
1597
- declare const Descriptions: react.ForwardRefExoticComponent<Props$5 & NativeAttrs$6 & react.RefAttributes<HTMLDivElement>>;
1661
+ type NativeAttrs$9 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$8 | 'children'>;
1662
+ type DescriptionsProps = Props$8 & NativeAttrs$9;
1663
+ declare const Descriptions: react.ForwardRefExoticComponent<Props$8 & NativeAttrs$9 & react.RefAttributes<HTMLDivElement>>;
1598
1664
 
1599
1665
  interface DescriptionsContextValue {
1600
1666
  mq: ContainerMediaQuery;
@@ -1607,9 +1673,9 @@ interface DescriptionsContextValue {
1607
1673
  declare const DescriptionsContext: react.Context<DescriptionsContextValue | null>;
1608
1674
  declare const useDescriptionsContext: () => DescriptionsContextValue;
1609
1675
 
1610
- type NativeAttrs$5 = React.HTMLAttributes<HTMLDivElement>;
1611
- type DescriptionTextProps = NativeAttrs$5;
1612
- declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$5 & react.RefAttributes<HTMLDivElement>>;
1676
+ type NativeAttrs$8 = React.HTMLAttributes<HTMLDivElement>;
1677
+ type DescriptionTextProps = NativeAttrs$8;
1678
+ declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$8 & react.RefAttributes<HTMLDivElement>>;
1613
1679
 
1614
1680
  declare function reactNodeToText(node: React.ReactNode): string;
1615
1681
 
@@ -1629,14 +1695,14 @@ interface ResponsiveProps$2 {
1629
1695
  justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
1630
1696
  alignItems?: Responsive<React.CSSProperties['alignItems']>;
1631
1697
  }
1632
- type Props$4 = {
1698
+ type Props$7 = {
1633
1699
  as?: React.ElementType;
1634
1700
  } & ResponsiveProps$2;
1635
- type NativeAttrs$4 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$4>;
1636
- type GridItemProps = Props$4 & NativeAttrs$4;
1701
+ type NativeAttrs$7 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$7>;
1702
+ type GridItemProps = Props$7 & NativeAttrs$7;
1637
1703
  declare const GridItem: react.ForwardRefExoticComponent<{
1638
1704
  as?: React.ElementType;
1639
- } & ResponsiveProps$2 & NativeAttrs$4 & react.RefAttributes<HTMLDivElement>>;
1705
+ } & ResponsiveProps$2 & NativeAttrs$7 & react.RefAttributes<HTMLDivElement>>;
1640
1706
 
1641
1707
  interface ResponsiveProps$1 {
1642
1708
  cols?: Responsive<number>;
@@ -1654,14 +1720,14 @@ interface ResponsiveProps$1 {
1654
1720
  justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
1655
1721
  alignItems?: Responsive<React.CSSProperties['alignItems']>;
1656
1722
  }
1657
- type Props$3 = {
1723
+ type Props$6 = {
1658
1724
  items?: GridItemProps[];
1659
1725
  } & ResponsiveProps$1;
1660
- type NativeAttrs$3 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$3>;
1661
- type GridSubProps = Props$3 & NativeAttrs$3;
1726
+ type NativeAttrs$6 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$6>;
1727
+ type GridSubProps = Props$6 & NativeAttrs$6;
1662
1728
  declare const GridSub: react.ForwardRefExoticComponent<{
1663
1729
  items?: GridItemProps[];
1664
- } & ResponsiveProps$1 & NativeAttrs$3 & react.RefAttributes<HTMLDivElement>>;
1730
+ } & ResponsiveProps$1 & NativeAttrs$6 & react.RefAttributes<HTMLDivElement>>;
1665
1731
 
1666
1732
  type GridMode = 'container' | 'screen' | 'css';
1667
1733
 
@@ -1679,17 +1745,20 @@ interface ResponsiveProps {
1679
1745
  gx?: Responsive<React.CSSProperties['columnGap']>;
1680
1746
  justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
1681
1747
  alignItems?: Responsive<React.CSSProperties['alignItems']>;
1748
+ slotProps?: {
1749
+ wrapper?: React.HTMLAttributes<HTMLDivElement>;
1750
+ };
1682
1751
  }
1683
- type Props$2 = {
1752
+ type Props$5 = {
1684
1753
  mode?: GridMode;
1685
1754
  items?: (GridItemProps | GridSubProps)[];
1686
1755
  } & ResponsiveProps;
1687
- type NativeAttrs$2 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$2>;
1688
- type GridProps = Props$2 & NativeAttrs$2;
1756
+ type NativeAttrs$5 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$5>;
1757
+ type GridProps = Props$5 & NativeAttrs$5;
1689
1758
  declare const Grid: react.ForwardRefExoticComponent<{
1690
1759
  mode?: GridMode;
1691
1760
  items?: (GridItemProps | GridSubProps)[];
1692
- } & ResponsiveProps & NativeAttrs$2 & react.RefAttributes<HTMLDivElement>>;
1761
+ } & ResponsiveProps & NativeAttrs$5 & react.RefAttributes<HTMLDivElement>>;
1693
1762
 
1694
1763
  interface GridContextValue {
1695
1764
  mq: ContainerMediaQuery;
@@ -1709,7 +1778,7 @@ declare const Html: React.FC<HtmlProps>;
1709
1778
 
1710
1779
  type StepColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
1711
1780
 
1712
- interface Props$1 {
1781
+ interface Props$4 {
1713
1782
  value?: string | number | symbol;
1714
1783
  title: React.ReactNode;
1715
1784
  subtitle: React.ReactNode;
@@ -1717,18 +1786,18 @@ interface Props$1 {
1717
1786
  color?: StepColor;
1718
1787
  disabled?: boolean;
1719
1788
  }
1720
- type NativeAttrs$1 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$1>;
1721
- type StepProps = Props$1 & NativeAttrs$1;
1789
+ type NativeAttrs$4 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$4>;
1790
+ type StepProps = Props$4 & NativeAttrs$4;
1722
1791
  declare const Step: React.FC<StepProps>;
1723
1792
 
1724
- interface Props {
1793
+ interface Props$3 {
1725
1794
  direction?: 'horizontal' | 'vertical';
1726
1795
  value?: number | string | symbol;
1727
1796
  color?: StepColor;
1728
1797
  markPreviousAsChecked?: boolean;
1729
1798
  }
1730
- type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props>;
1731
- type StepsProps = Props & NativeAttrs;
1799
+ type NativeAttrs$3 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$3>;
1800
+ type StepsProps = Props$3 & NativeAttrs$3;
1732
1801
  declare const Steps: React.FC<StepsProps>;
1733
1802
 
1734
1803
  interface StepsContextValue {
@@ -1748,27 +1817,168 @@ interface StepsContextValue {
1748
1817
  declare const StepsContext: react.Context<StepsContextValue | null>;
1749
1818
  declare const useStepsContext: () => StepsContextValue;
1750
1819
 
1751
- declare const scrollToItem: (parentElement: Element, currentElement: Element) => void;
1820
+ interface TreeItemValue {
1821
+ value: string;
1822
+ selected: boolean;
1823
+ checked: boolean;
1824
+ indeterminate: boolean;
1825
+ }
1826
+ interface TreeItemBase {
1827
+ value: string;
1828
+ icon?: React.ReactNode;
1829
+ items?: TreeItemBase[];
1830
+ }
1831
+ interface TreeItemData {
1832
+ value: string;
1833
+ parents: string[];
1834
+ hasChildren: boolean;
1835
+ hasIcon: boolean;
1836
+ }
1752
1837
 
1753
- type ClassDictionary = Record<string, any>;
1754
- type ClassArray = ClassValue[];
1755
- type ClassValue = ClassArray | ClassDictionary | string | number | null | boolean | undefined;
1756
- declare function clsx(...inputs: ClassValue[]): string;
1838
+ interface Props$2 extends TreeItemBase {
1839
+ title: string;
1840
+ items?: Props$2[];
1841
+ }
1842
+ type NativeAttrs$2 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$2 | 'items'>;
1843
+ type TreeItemProps = Props$2 & NativeAttrs$2;
1844
+ declare const TreeItem: (props: TreeItemProps) => react_jsx_runtime.JSX.Element;
1845
+
1846
+ interface TreeProps$1 {
1847
+ items?: TreeItemProps[];
1848
+ value?: TreeItemValue[];
1849
+ onChange?: (value: TreeItemValue[]) => void;
1850
+ }
1851
+ declare const Tree: (props: TreeProps$1) => react_jsx_runtime.JSX.Element;
1852
+
1853
+ interface TreeContextValue {
1854
+ items: TreeItemData[];
1855
+ values: TreeItemValue[];
1856
+ setValues: (value: TreeItemValue[]) => void;
1857
+ selectValue: (value: string) => void;
1858
+ unselectValue: (value: string) => void;
1859
+ checkValue: (value: string) => void;
1860
+ uncheckValue: (value: string) => void;
1861
+ }
1862
+ declare const TreeContext: react.Context<TreeContextValue>;
1863
+
1864
+ interface TreeProps {
1865
+ items?: TreeItemBase[];
1866
+ value?: TreeItemValue[];
1867
+ onChange?: (value: TreeItemValue[]) => void;
1868
+ onSelect?: (value: string) => void;
1869
+ onUnselect?: (value: string) => void;
1870
+ }
1871
+ declare function useTree(props: TreeProps): {
1872
+ items: TreeItemData[];
1873
+ values: TreeItemValue[];
1874
+ setValues: react.Dispatch<react.SetStateAction<TreeItemValue[]>>;
1875
+ selectValue: (value: string) => void;
1876
+ unselectValue: (value: string) => void;
1877
+ checkValue: (value: string) => void;
1878
+ uncheckValue: (value: string) => void;
1879
+ };
1757
1880
 
1758
- type ReactRef<T> = React.RefCallback<T> | React.MutableRefObject<T>;
1759
- declare function assignRef<T = any>(ref: ReactRef<T> | null | undefined, value: T): void;
1760
- declare function mergeRefs<T>(...refs: (ReactRef<T> | null | undefined)[]): (node: T | null) => void;
1881
+ declare function initializeTreeValues(items: TreeItemData[]): TreeItemValue[];
1882
+ declare function flattenTree(tree: TreeItemBase[], parents?: string[]): TreeItemData[];
1883
+ declare function updateTreeValues(values: TreeItemValue[], value: string, action: 'select' | 'unselect' | 'check' | 'uncheck', items: TreeItemData[]): TreeItemValue[];
1761
1884
 
1762
- declare function dateFormat(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1763
- declare function formatDate(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1764
- declare function formatDateTime(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1765
- declare function formatShortDateTime(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1766
- declare function formatTime(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1767
- declare function formatCurrency(value: number | bigint | Intl.StringNumericLiteral, currency?: string, locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
1768
- declare function formatPercent(value: any, decimals?: number, locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
1769
- declare function format(options: FormatOptions): string | undefined;
1885
+ interface DropdownProps {
1886
+ isOpen?: boolean;
1887
+ onOpen?: () => void;
1888
+ onClose?: () => void;
1889
+ children: ((options: {
1890
+ isOpen: boolean;
1891
+ }) => React.ReactNode) | React.ReactNode;
1892
+ }
1893
+ declare const Dropdown: (props: DropdownProps) => react_jsx_runtime.JSX.Element;
1770
1894
 
1771
- declare const valueToValues: <TItem extends Record<string, any>, TKeyField extends keyof TItem, TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false>(value?: SelectionValue<TItem, TKeyField, TMultiple, TClearable>) => TItem[TKeyField][];
1772
- declare const valuesToValue: <TItem extends Record<string, any>, TKeyField extends keyof TItem>(values: TItem[TKeyField][]) => TItem[TKeyField] | null;
1895
+ interface DropdownContentProps {
1896
+ children: React.ReactNode;
1897
+ }
1898
+ declare const DropdownContent: (props: DropdownContentProps) => react_jsx_runtime.JSX.Element;
1899
+
1900
+ interface DropdownContextValue {
1901
+ isOpen: boolean;
1902
+ onClose(): void;
1903
+ onOpen(): void;
1904
+ onToggle(): void;
1905
+ floatingRootContext: FloatingRootContext;
1906
+ triggerElement: Element | null;
1907
+ setTriggerElement(el: Element | null): void;
1908
+ getTriggerProps(externalProps?: React.HTMLAttributes<any> & {
1909
+ ref?: React.Ref<any> | undefined;
1910
+ }): React.HTMLAttributes<any> & {
1911
+ ref?: React.Ref<any> | undefined;
1912
+ };
1913
+ contentElement: Element | null;
1914
+ setContentElement(el: HTMLElement | null): void;
1915
+ getContentProps(externalProps?: React.HTMLAttributes<any> & {
1916
+ ref?: React.Ref<any> | undefined;
1917
+ }): React.HTMLAttributes<any> & {
1918
+ ref?: React.Ref<any> | undefined;
1919
+ };
1920
+ }
1921
+ declare const DropdownContext: react.Context<DropdownContextValue | null>;
1922
+ declare const useDropdownContext: () => DropdownContextValue;
1923
+
1924
+ interface Props$1 {
1925
+ }
1926
+ type NativeAttrs$1 = Omit<ListItemProps, keyof Props$1>;
1927
+ type DropdownItemProps = Props$1 & NativeAttrs$1;
1928
+ declare const DropdownItem: (props: DropdownItemProps) => react_jsx_runtime.JSX.Element;
1929
+
1930
+ interface DropdownTriggerProps {
1931
+ children: React.ReactNode;
1932
+ }
1933
+ declare const DropdownTrigger: (props: DropdownTriggerProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
1934
+
1935
+ interface ListTreeItemIndentationProps {
1936
+ level: number;
1937
+ hasParent: boolean;
1938
+ hasIcon: boolean;
1939
+ hasChildren: boolean;
1940
+ hasSiblingWithIcon: boolean;
1941
+ hasSiblingWithChildren: boolean;
1942
+ parentHasIcon: boolean;
1943
+ }
1944
+ declare const INDENT_SIZE = 18;
1945
+ declare const ListTreeItemIndentation: ({ level, hasParent, hasIcon, hasChildren, hasSiblingWithIcon, hasSiblingWithChildren, }: ListTreeItemIndentationProps) => react_jsx_runtime.JSX.Element;
1946
+ interface Props extends TreeItemBase {
1947
+ icon?: React.ReactNode;
1948
+ }
1949
+ type NativeAttrs = Omit<ListItemProps, keyof Props | 'items' | 'startContent'>;
1950
+ type ListTreeItemProps = Props & NativeAttrs & {
1951
+ items?: ListTreeItemProps[];
1952
+ };
1953
+ declare const ListTreeItem: (props: ListTreeItemProps) => react_jsx_runtime.JSX.Element;
1954
+
1955
+ interface ListTreeProps {
1956
+ items?: ListTreeItemProps[];
1957
+ value?: TreeItemValue[];
1958
+ selectable?: boolean;
1959
+ checkable?: boolean;
1960
+ onChange?: (value: TreeItemValue[]) => void;
1961
+ onSelect?: (value: string) => void;
1962
+ onUnselect?: (value: string) => void;
1963
+ }
1964
+ declare const ListTree: (props: ListTreeProps) => react_jsx_runtime.JSX.Element;
1965
+
1966
+ interface ListTreeContextValue {
1967
+ selectable: boolean;
1968
+ checkable: boolean;
1969
+ }
1970
+ declare const ListTreeContext: react.Context<ListTreeContextValue>;
1971
+
1972
+ declare const DraggableTrigger: ({ children }: {
1973
+ children: react__default.ReactNode;
1974
+ }) => react_jsx_runtime.JSX.Element;
1975
+ type DraggableContentProps = react__default.HTMLAttributes<HTMLDivElement>;
1976
+ declare const DraggableContent: (props: DraggableContentProps) => react_jsx_runtime.JSX.Element;
1977
+ type DraggableContent = react__default.HTMLAttributes<HTMLDivElement> & {
1978
+ bounces?: 'screen' | 'scroll';
1979
+ placement?: 'center';
1980
+ children: react__default.ReactNode;
1981
+ };
1982
+ declare const Draggable: ({ bounces: bouncesProp, placement, ...props }: DraggableContent) => react_jsx_runtime.JSX.Element;
1773
1983
 
1774
- export { Accordion, type AccordionArrow, AccordionBody, type AccordionBodyProps, type AccordionColor, AccordionContent, type AccordionContentProps, AccordionContext, AccordionHeader, type AccordionHeaderProps, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, Autocomplete, type AutocompleteClearable, AutocompleteContext, type AutocompleteContextValue, type AutocompleteMultiple, type AutocompleteProps, Backdrop, type BackdropPlacement, type BackdropProps, type BackdropVariant, Badge, type BadgeProps, Button, type ButtonColor, ButtonGroup, ButtonGroupContext, type ButtonGroupContextValue, type ButtonGroupDirection, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, type CardProps, CardSubtitle, type CardSubtitleProps, CardTitle, type CardTitleProps, Checkbox, type CheckboxColor, CheckboxGroup, type CheckboxGroupAlignment, CheckboxGroupContext, type CheckboxGroupContextValue, type CheckboxGroupDirection, type CheckboxGroupProps, type CheckboxLabelPlacement, type CheckboxProps, type CheckboxSize, type CheckboxValue, Chip, type ChipProps, Collapse, CollapseContent, type CollapseContentProps, CollapseContext, type CollapseContextValue, type CollapseProps, CollapseTrigger, type CollapseTriggerProps, type ColorScheme, type ContainerBreakpoints, ContainerMediaQuery, DataList, type DataListItem, type DataListKeyField, type DataListMultipleProps, type DataListProps, type DataListSingleProps, Description, DescriptionEmpty, type DescriptionEmptyProps, type DescriptionProps, DescriptionText, type DescriptionTextProps, Descriptions, type DescriptionsAlign, DescriptionsContext, type DescriptionsContextValue, type DescriptionsLayout, type DescriptionsMode, type DescriptionsProps, type DescriptionsSize, type Disclosure, Divider, type DividerProps, Drawer, type DrawerBackdrop, DrawerBody, type DrawerBodyProps, type DrawerClose, DrawerContext, type DrawerContextValue, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, type DrawerPosition, type DrawerProps, type DrawerSize, Field, type FieldProps, type FormatBooleanOptions, type FormatCurrencyOptions, type FormatDateOptions, type FormatNumberOptions, type FormatOptions, type FormatPercentOptions, type FormatStringOptions, Grid, GridContext, type GridContextValue, GridItem, type GridItemProps, type GridMode, type GridProps, GridSub, type GridSubProps, Html, type HtmlProps, Icon, type IconColor, type IconProps, type IconSize, Iframe, type IframeProps, type InfiniteData, type InfiniteQueryFunction, type InfiniteQueryOptions, type InfiniteQueryRefetchOptions, type InputColor, InputGroup, type InputGroupProps, type InputSize, type InputVariant, List, ListGroup, type ListGroupProps, ListItem, type ListItemProps, type ListProps, type ListSize, ListSubheader, type ListSubheaderProps, type MediaQuery, Menu, MenuContext, type MenuContextValue, MenuGroup, type MenuGroupItemType, type MenuGroupProps, MenuItem, type MenuItemProps, type MenuItemType, type MenuProps, MenuSubmenu, type MenuSubmenuProps, MenuValueContext, Modal, type ModalBackdrop, ModalBody, type ModalBodyProps, type ModalClose, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalPlacement, type ModalProps, type ModalScrollBehavior, type ModalSize, type MutationError, type MutationFunction, type MutationOK, type MutationResult, MutationStatus, NavRail, NavRailItem, type NavRailItemProps, type NavRailPlacement, type NavRailProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, type PortalProps, type QueryFunction, QueryStatus, Radio, type RadioColor, RadioGroup, type RadioGroupAlignment, RadioGroupContext, type RadioGroupContextValue, type RadioGroupDirection, type RadioGroupProps, type RadioLabelPlacement, type RadioProps, type RadioSize, type RadioValue, type ReactRef, type Resize, type Responsive, Result, type ResultProps, type ResultStatus, type ScrollAlignment, ScrollArea, type ScrollAreaProps, type ScrollBehavior, type ScrollToOptions, Select, type SelectClearable, SelectContext, type SelectContextValue, type SelectMultiple, type SelectProps, type SelectionItem, type SelectionOnChange, type SelectionProps, type SelectionValue, Step, type StepColor, type StepProps, Steps, StepsContext, type StepsContextValue, type StepsProps, Swipe, SwipeItem, type SwipeItemProps, type SwipeProps, Switch, type SwitchColor, type SwitchLabelPlacement, type SwitchProps, type SwitchSize, Tab, type TabProps, Tabs, type TabsAlignment, type TabsProps, type TabsVariant, TextInput, type TextInputProps, Toolbar, type ToolbarProps, type ToolbarSize, Transition, type TransitionProps, type UseContainerMediaQueryOptions, type UseInfiniteQueryOptions, type UseInfiniteQueryResult, type UseMutationOptions, type UseMutationResult, type UseQueryOptions, type UseQueryResult, type UseResizeObserverOptions, type VirtualItem, type Virtualizer, type VirtualizerOptions, assignRef, breakpointsMap, clsx, dateFormat, defaultBreakpoints, format, formatCurrency, formatDate, formatDateTime, formatPercent, formatShortDateTime, formatTime, getOpenValuesByPathname, hasResizeObserver, mergeRefs, reactNodeToText, scrollToItem, useAccordion, useAccordionItem, useAutocomplete, useButtonGroup, useCheckboxGroup, useCollapse, useContainerMediaQuery, useDebounce, useDescriptionsContext, useDisclosure, useDrawer, useEffectEvent, useElementSize, useFormat, useGridContext, useInfiniteQuery, useLocalStorage, useMediaQuery, useMenu, useMenuItemValue, useModal, useMutation, useOnClickOutside, usePopover, usePrevious, useQuery, useRadioGroup, useResizeObserver, useSelect, useStep, useStepsContext, useValueEffect, useVirtualizer, valueToValues, valuesToValue };
1984
+ export { Accordion, type AccordionArrow, AccordionBody, type AccordionBodyProps, type AccordionColor, AccordionContent, type AccordionContentProps, AccordionContext, AccordionHeader, type AccordionHeaderProps, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, Autocomplete, type AutocompleteClearable, AutocompleteContext, type AutocompleteContextValue, type AutocompleteMultiple, type AutocompleteProps, Backdrop, type BackdropPlacement, type BackdropProps, type BackdropVariant, Badge, type BadgeProps, Button, type ButtonColor, ButtonGroup, ButtonGroupContext, type ButtonGroupContextValue, type ButtonGroupDirection, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, type CardProps, CardSubtitle, type CardSubtitleProps, CardTitle, type CardTitleProps, Checkbox, type CheckboxColor, CheckboxGroup, type CheckboxGroupAlignment, CheckboxGroupContext, type CheckboxGroupContextValue, type CheckboxGroupDirection, type CheckboxGroupProps, type CheckboxLabelPlacement, type CheckboxProps, type CheckboxSize, type CheckboxValue, Chip, type ChipProps, Collapse, CollapseContent, type CollapseContentProps, CollapseContext, type CollapseContextValue, type CollapseProps, CollapseTrigger, type CollapseTriggerProps, type ColorScheme, type ContainerBreakpoints, ContainerMediaQuery, DataList, type DataListItem, type DataListKeyField, type DataListMultipleProps, type DataListProps, type DataListSingleProps, Description, DescriptionEmpty, type DescriptionEmptyProps, type DescriptionProps, DescriptionText, type DescriptionTextProps, Descriptions, type DescriptionsAlign, DescriptionsContext, type DescriptionsContextValue, type DescriptionsLayout, type DescriptionsMode, type DescriptionsProps, type DescriptionsSize, type Disclosure, Divider, type DividerProps, Draggable, DraggableContent, type DraggableContentProps, DraggableTrigger, Drawer, type DrawerBackdrop, DrawerBody, type DrawerBodyProps, type DrawerClose, DrawerContext, type DrawerContextValue, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, type DrawerPosition, type DrawerProps, type DrawerSize, Dropdown, DropdownContent, type DropdownContentProps, DropdownContext, type DropdownContextValue, DropdownItem, type DropdownItemProps, type DropdownProps, DropdownTrigger, type DropdownTriggerProps, Field, type FieldProps, type FormatBooleanOptions, type FormatCurrencyOptions, type FormatDateOptions, type FormatNumberOptions, type FormatOptions, type FormatPercentOptions, type FormatStringOptions, Grid, GridContext, type GridContextValue, GridItem, type GridItemProps, type GridMode, type GridProps, GridSub, type GridSubProps, Html, type HtmlProps, INDENT_SIZE, Icon, type IconColor, type IconProps, type IconSize, Iframe, type IframeProps, type InfiniteData, type InfiniteQueryFunction, type InfiniteQueryOptions, type InfiniteQueryRefetchOptions, type InputColor, InputGroup, type InputGroupProps, type InputSize, type InputVariant, List, ListGroup, type ListGroupProps, ListItem, type ListItemProps, type ListProps, type ListSize, ListSubheader, type ListSubheaderProps, ListTree, ListTreeContext, type ListTreeContextValue, ListTreeItem, ListTreeItemIndentation, type ListTreeItemProps, type ListTreeProps, type MediaQuery, Menu, MenuContext, type MenuContextValue, MenuGroup, type MenuGroupItemType, type MenuGroupProps, MenuItem, type MenuItemProps, type MenuItemType, type MenuProps, MenuSubmenu, type MenuSubmenuProps, MenuValueContext, Modal, type ModalBackdrop, ModalBody, type ModalBodyProps, type ModalClose, ModalContent, type ModalContentProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalPlacement, type ModalProps, type ModalScrollBehavior, type ModalSize, type MutationError, type MutationFunction, type MutationOK, type MutationResult, MutationStatus, NavRail, NavRailItem, type NavRailItemProps, type NavRailPlacement, type NavRailProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, type PortalProps, type QueryFunction, QueryStatus, Radio, type RadioColor, RadioGroup, type RadioGroupAlignment, RadioGroupContext, type RadioGroupContextValue, type RadioGroupDirection, type RadioGroupProps, type RadioLabelPlacement, type RadioProps, type RadioSize, type RadioValue, type ReactRef, type Resize, type Responsive, Result, type ResultProps, type ResultStatus, STRING_RULES, type ScrollAlignment, ScrollArea, type ScrollAreaProps, type ScrollBehavior, type ScrollToOptions, Select, type SelectClearable, SelectContext, type SelectContextValue, type SelectMultiple, type SelectProps, type SelectionItem, type SelectionOnChange, type SelectionProps, type SelectionValue, Step, type StepColor, type StepProps, Steps, StepsContext, type StepsContextValue, type StepsProps, type StringRules, Swipe, SwipeItem, type SwipeItemProps, type SwipeProps, Switch, type SwitchColor, type SwitchLabelPlacement, type SwitchProps, type SwitchSize, Tab, type TabProps, Tabs, type TabsAlignment, type TabsProps, type TabsVariant, TextInput, type TextInputProps, Toolbar, type ToolbarProps, type ToolbarSize, Transition, type TransitionProps, Tree, TreeContext, type TreeContextValue, TreeItem, type TreeItemBase, type TreeItemData, type TreeItemProps, type TreeItemValue, type TreeProps$1 as TreeProps, type UseContainerMediaQueryOptions, type UseInfiniteQueryOptions, type UseInfiniteQueryResult, type UseMutationOptions, type UseMutationResult, type UseQueryOptions, type UseQueryResult, type UseResizeObserverOptions, type VirtualItem, type Virtualizer, type VirtualizerOptions, areArraysEqual, assignRef, breakpointsMap, clsx, containsPlainText, dateFormat, defaultBreakpoints, doesNotContainEmojis, flattenTree, format, formatCurrency, formatDate, formatDateTime, formatPercent, formatShortDateTime, formatTime, getOpenValuesByPathname, hasResizeObserver, initializeTreeValues, isAlphanumeric, isEmpty, isEmptyString, isNumeric, mergeRefs, reactNodeToText, scrollToItem, toAlphanumericString, toLocalDateString, toNotEmojisString, toNumericString, toPlainTextString, toRulesString, updateTreeValues, useAccordion, useAccordionItem, useAutocomplete, useButtonGroup, useCheckboxGroup, useCollapse, useContainerMediaQuery, useDebounce, useDescriptionsContext, useDisclosure, useDrawer, useDropdownContext, useEffectEvent, useElementSize, useFormat, useGridContext, useInfiniteQuery, useLocalStorage, useMediaQuery, useMenu, useMenuItemValue, useModal, useMutation, useOnClickOutside, usePopover, usePrevious, useQuery, useRadioGroup, useResizeObserver, useSelect, useStep, useStepsContext, useTree, useValueEffect, useVirtualizer, validateRules, valueToValues, valuesToValue };