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

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +422 -207
  2. package/dist/index.js +33 -1
  3. package/package.json +13 -10
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,21 @@ 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';
1236
+ type TabsSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
1228
1237
 
1229
- interface Props$l<TTabValue extends TabValue = TabValue> {
1238
+ interface Props$o<TTabValue extends TabValue = TabValue> {
1230
1239
  /**
1231
1240
  * The HTML element type or React component to render as the tab.
1232
1241
  */
@@ -1252,11 +1261,11 @@ interface Props$l<TTabValue extends TabValue = TabValue> {
1252
1261
  */
1253
1262
  endContent?: React.ReactNode;
1254
1263
  }
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>>;
1264
+ type NativeAttrs$q = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$o>;
1265
+ type TabProps<TTabValue extends TabValue = TabValue> = Props$o<TTabValue> & NativeAttrs$q;
1266
+ declare const Tab: react.ForwardRefExoticComponent<Props$o<TabValue> & NativeAttrs$q & react.RefAttributes<HTMLDivElement>>;
1258
1267
 
1259
- interface Props$k<TTabValue extends TabValue = TabValue> {
1268
+ interface Props$n<TTabValue extends TabValue = TabValue> {
1260
1269
  /**
1261
1270
  * The currently selected value of the tabs.
1262
1271
  */
@@ -1270,6 +1279,10 @@ interface Props$k<TTabValue extends TabValue = TabValue> {
1270
1279
  * The alignment of the tabs.
1271
1280
  */
1272
1281
  alignment?: TabsAlignment;
1282
+ /**
1283
+ * The size of the tabs.
1284
+ */
1285
+ size?: TabsSize;
1273
1286
  /**
1274
1287
  * A callback function called when the selected tab value changes.
1275
1288
  */
@@ -1279,11 +1292,55 @@ interface Props$k<TTabValue extends TabValue = TabValue> {
1279
1292
  */
1280
1293
  onClose?: (value: TTabValue) => void;
1281
1294
  }
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>;
1295
+ type NativeAttrs$p = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$n>;
1296
+ type TabsProps<TTabValue extends TabValue = TabValue> = Props$n<TTabValue> & NativeAttrs$p;
1297
+ declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$n<TTabValue> & NativeAttrs$p & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
1285
1298
 
1286
- interface Props$j {
1299
+ declare const scrollToItem: (parentElement: Element, currentElement: Element) => void;
1300
+
1301
+ type ClassDictionary = Record<string, any>;
1302
+ type ClassArray = ClassValue[];
1303
+ type ClassValue = ClassArray | ClassDictionary | string | number | null | boolean | undefined;
1304
+ declare function clsx(...inputs: ClassValue[]): string;
1305
+
1306
+ type ReactRef<T> = React.RefCallback<T> | React.MutableRefObject<T>;
1307
+ declare function assignRef<T = any>(ref: ReactRef<T> | null | undefined, value: T): void;
1308
+ declare function mergeRefs<T>(...refs: (ReactRef<T> | null | undefined)[]): (node: T | null) => void;
1309
+
1310
+ declare function dateFormat(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1311
+ declare function formatDate(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1312
+ declare function formatDateTime(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1313
+ declare function formatShortDateTime(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1314
+ declare function formatTime(value: Date | string | number, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
1315
+ declare function formatCurrency(value: number | bigint | Intl.StringNumericLiteral, currency?: string, locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
1316
+ declare function formatPercent(value: any, decimals?: number, locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
1317
+ declare function format(options: FormatOptions): string | undefined;
1318
+
1319
+ 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][];
1320
+ declare const valuesToValue: <TItem extends Record<string, any>, TKeyField extends keyof TItem>(values: TItem[TKeyField][]) => TItem[TKeyField] | null;
1321
+
1322
+ declare function areArraysEqual<T extends string | number | symbol>(arr1: T[], arr2: T[]): boolean;
1323
+
1324
+ declare function toLocalDateString(date: Date): string;
1325
+ declare function toNumericString(value: string): string;
1326
+ declare function toAlphanumericString(value: string): string;
1327
+ declare function toPlainTextString(value: string): string;
1328
+ declare function toNotEmojisString(value: string): string;
1329
+ declare const STRING_RULES: readonly ["allow-emojis", "not-allow-emojis", "only-alphanumeric", "only-numeric", "only-plain-text"];
1330
+ type StringRules = Array<(typeof STRING_RULES)[number]>;
1331
+ declare function toRulesString(rules: StringRules, value: string): string;
1332
+
1333
+ declare function isEmpty<T>(value?: T | null): value is null | undefined;
1334
+ declare function isEmptyString(value?: string | null): value is null | undefined;
1335
+ declare function isNumeric(value: string): boolean;
1336
+ declare function isAlphanumeric(value: string): boolean;
1337
+ declare function containsPlainText(value: string): boolean;
1338
+ declare function doesNotContainEmojis(value: string): boolean;
1339
+ declare function validateRules(rules: StringRules, value: string): string | boolean;
1340
+
1341
+ interface Props$m {
1342
+ value?: string;
1343
+ defaultValue?: string;
1287
1344
  inputRef?: React.RefObject<HTMLInputElement>;
1288
1345
  variant?: InputVariant;
1289
1346
  color?: InputColor;
@@ -1291,14 +1348,16 @@ interface Props$j {
1291
1348
  startContent?: React.ReactNode;
1292
1349
  endContent?: React.ReactNode;
1293
1350
  css?: BoxCSS;
1351
+ rules?: StringRules;
1352
+ autoFormatRules?: boolean;
1294
1353
  }
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>>;
1354
+ type NativeAttrs$o = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$m>;
1355
+ type TextInputProps = Props$m & NativeAttrs$o;
1356
+ declare const TextInput: react.ForwardRefExoticComponent<Props$m & NativeAttrs$o & react.RefAttributes<HTMLInputElement>>;
1298
1357
 
1299
1358
  type ToolbarSize = 'auto' | 'sm' | 'md' | 'lg';
1300
1359
 
1301
- interface Props$i {
1360
+ interface Props$l {
1302
1361
  size?: ToolbarSize;
1303
1362
  title?: React.ReactNode;
1304
1363
  subtitle?: React.ReactNode;
@@ -1320,8 +1379,8 @@ interface Props$i {
1320
1379
  subtitle?: React.HTMLAttributes<HTMLDivElement>;
1321
1380
  };
1322
1381
  }
1323
- type NativeAttrs$k = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$i>;
1324
- type ToolbarProps = Props$i & NativeAttrs$k;
1382
+ type NativeAttrs$n = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$l>;
1383
+ type ToolbarProps = Props$l & NativeAttrs$n;
1325
1384
  declare const Toolbar: React.FC<ToolbarProps>;
1326
1385
 
1327
1386
  interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
@@ -1336,22 +1395,22 @@ interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
1336
1395
  }
1337
1396
  declare const Transition: React.FC<TransitionProps>;
1338
1397
 
1339
- interface Props$h {
1398
+ interface Props$k {
1340
1399
  /**
1341
1400
  * The HTML element type or React component to render as the tab.
1342
1401
  */
1343
1402
  as?: React.ElementType;
1344
1403
  width?: number;
1345
1404
  }
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 & {
1405
+ type NativeAttrs$m = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$k>;
1406
+ type SwipeItemProps = Props$k & NativeAttrs$m;
1407
+ declare const SwipeItem: react.ForwardRefExoticComponent<Props$k & NativeAttrs$m & {
1349
1408
  children?: react.ReactNode | undefined;
1350
1409
  } & react.RefAttributes<HTMLDivElement>>;
1351
1410
 
1352
1411
  type SwiperAlignmet = 'start' | 'center' | 'end';
1353
1412
 
1354
- interface Props$g {
1413
+ interface Props$j {
1355
1414
  gap?: number;
1356
1415
  alignment?: SwiperAlignmet;
1357
1416
  autoHide?: boolean;
@@ -1361,8 +1420,8 @@ interface Props$g {
1361
1420
  arrowRightButton?: ButtonProps;
1362
1421
  };
1363
1422
  }
1364
- type NativeAttrs$i = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$g>;
1365
- type SwipeProps = Props$g & NativeAttrs$i;
1423
+ type NativeAttrs$l = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$j>;
1424
+ type SwipeProps = Props$j & NativeAttrs$l;
1366
1425
  declare const Swipe: React.FC<SwipeProps>;
1367
1426
 
1368
1427
  type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
@@ -1372,9 +1431,9 @@ interface ModalClose {
1372
1431
  position?: 'start' | 'end';
1373
1432
  }
1374
1433
  type ModalScrollBehavior = 'inside' | 'outside';
1375
- type ModalBackdrop = BackdropVariant;
1434
+ type ModalBackdrop = BackdropVariant | boolean;
1376
1435
 
1377
- interface Props$f {
1436
+ interface Props$i {
1378
1437
  isOpen: boolean;
1379
1438
  size?: ModalSize;
1380
1439
  backdrop?: ModalBackdrop;
@@ -1386,18 +1445,23 @@ interface Props$f {
1386
1445
  slotProps?: {
1387
1446
  wrapper?: React.HTMLAttributes<HTMLDivElement>;
1388
1447
  };
1448
+ content?: boolean;
1389
1449
  onClose: () => void;
1390
1450
  onAfterClose?: () => void;
1391
1451
  }
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>>;
1452
+ type NativeAttrs$k = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$i>;
1453
+ type ModalProps = Props$i & NativeAttrs$k;
1454
+ declare const Modal: react.ForwardRefExoticComponent<Props$i & NativeAttrs$k & react.RefAttributes<HTMLDivElement>>;
1395
1455
 
1396
1456
  type ModalBodyProps = React.HTMLAttributes<HTMLDivElement>;
1397
1457
  declare const ModalBody: React.FC<ModalBodyProps>;
1398
1458
 
1399
1459
  interface ModalContextValue {
1460
+ nodeRef: React.MutableRefObject<null>;
1400
1461
  isOpen: boolean;
1462
+ size: ModalSize;
1463
+ placement: ModalPlacement;
1464
+ fullscreen: boolean;
1401
1465
  scrollBehavior: ModalScrollBehavior;
1402
1466
  scrollArea: boolean;
1403
1467
  closable: boolean;
@@ -1406,15 +1470,15 @@ interface ModalContextValue {
1406
1470
  }
1407
1471
  declare function useModal(): ModalContextValue;
1408
1472
 
1409
- interface Props$e {
1473
+ interface Props$h {
1410
1474
  as?: React.ElementType;
1411
1475
  bordered?: boolean;
1412
1476
  }
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>>;
1477
+ type NativeAttrs$j = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$h>;
1478
+ type ModalFooterProps = Props$h & NativeAttrs$j;
1479
+ declare const ModalFooter: react.ForwardRefExoticComponent<Props$h & NativeAttrs$j & react.RefAttributes<HTMLDivElement>>;
1416
1480
 
1417
- interface Props$d {
1481
+ interface Props$g {
1418
1482
  as?: React.ElementType;
1419
1483
  title?: React.ReactNode;
1420
1484
  subtitle?: React.ReactNode;
@@ -1430,9 +1494,12 @@ interface Props$d {
1430
1494
  subtitle?: React.HTMLAttributes<HTMLDivElement>;
1431
1495
  };
1432
1496
  }
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>>;
1497
+ type NativeAttrs$i = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$g>;
1498
+ type ModalHeaderProps = Props$g & NativeAttrs$i;
1499
+ declare const ModalHeader: react.ForwardRefExoticComponent<Props$g & NativeAttrs$i & react.RefAttributes<HTMLDivElement>>;
1500
+
1501
+ type ModalContentProps = React.HTMLAttributes<HTMLDivElement>;
1502
+ declare const ModalContent: react.ForwardRefExoticComponent<ModalContentProps & react.RefAttributes<HTMLDivElement>>;
1436
1503
 
1437
1504
  type CheckboxValue = string | number | symbol;
1438
1505
  type CheckboxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -1441,17 +1508,18 @@ type CheckboxGroupDirection = 'row' | 'col';
1441
1508
  type CheckboxGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
1442
1509
  type CheckboxColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
1443
1510
 
1444
- interface Props$c<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1511
+ interface Props$f<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1445
1512
  value?: TCheckboxValue;
1446
1513
  size?: CheckboxSize;
1447
1514
  labelPlacement?: CheckboxLabelPlacement;
1448
1515
  color?: CheckboxColor;
1516
+ indeterminate?: boolean;
1449
1517
  }
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>;
1518
+ type NativeAttrs$h = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$f | 'defaultValue'>;
1519
+ type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$f<TCheckboxValue> & NativeAttrs$h;
1520
+ declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$f<TCheckboxValue> & NativeAttrs$h & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
1453
1521
 
1454
- interface Props$b<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1522
+ interface Props$e<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1455
1523
  value?: TCheckboxValue[];
1456
1524
  defaultValue?: TCheckboxValue[];
1457
1525
  disabled?: boolean;
@@ -1463,9 +1531,9 @@ interface Props$b<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1463
1531
  color?: CheckboxColor;
1464
1532
  onChange?: (value: TCheckboxValue[]) => void;
1465
1533
  }
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>;
1534
+ type NativeAttrs$g = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$e>;
1535
+ type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$e<TCheckboxValue> & NativeAttrs$g;
1536
+ declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$e<TCheckboxValue> & NativeAttrs$g & react.RefAttributes<HTMLTableElement>) => ReturnType<React.FunctionComponent>;
1469
1537
 
1470
1538
  interface CheckboxGroupContextValue<TCheckboxValue extends CheckboxValue = CheckboxValue> {
1471
1539
  value: TCheckboxValue[];
@@ -1487,7 +1555,7 @@ type RadioGroupDirection = 'row' | 'col';
1487
1555
  type RadioGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
1488
1556
  type RadioColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
1489
1557
 
1490
- interface Props$a<TRadioValue extends RadioValue = RadioValue> {
1558
+ interface Props$d<TRadioValue extends RadioValue = RadioValue> {
1491
1559
  value?: TRadioValue;
1492
1560
  disabled?: boolean;
1493
1561
  readOnly?: boolean;
@@ -1495,11 +1563,11 @@ interface Props$a<TRadioValue extends RadioValue = RadioValue> {
1495
1563
  labelPlacement?: RadioLabelPlacement;
1496
1564
  colorScheme?: ColorScheme;
1497
1565
  }
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>;
1566
+ type NativeAttrs$f = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$d | 'defaultValue' | 'checked' | 'defaultChecked' | 'onChange'>;
1567
+ type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$d<TRadioValue> & NativeAttrs$f;
1568
+ declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$d<TRadioValue> & NativeAttrs$f & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
1501
1569
 
1502
- interface Props$9<TRadioValue extends RadioValue = RadioValue> {
1570
+ interface Props$c<TRadioValue extends RadioValue = RadioValue> {
1503
1571
  name?: string;
1504
1572
  value?: TRadioValue;
1505
1573
  defaultValue?: TRadioValue;
@@ -1512,9 +1580,9 @@ interface Props$9<TRadioValue extends RadioValue = RadioValue> {
1512
1580
  color?: RadioColor;
1513
1581
  onChange?: (value: TRadioValue) => void;
1514
1582
  }
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>;
1583
+ type NativeAttrs$e = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$c>;
1584
+ type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$c<TRadioValue> & NativeAttrs$e;
1585
+ declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$c<TRadioValue> & NativeAttrs$e & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
1518
1586
 
1519
1587
  interface RadioGroupContextValue {
1520
1588
  name: string;
@@ -1532,27 +1600,30 @@ declare const useRadioGroup: () => RadioGroupContextValue;
1532
1600
 
1533
1601
  type NavRailPlacement = 'left' | 'right';
1534
1602
 
1535
- interface Props$8 {
1603
+ interface Props$b {
1536
1604
  startContent?: React.ReactNode;
1537
1605
  endContent?: React.ReactNode;
1538
1606
  placement?: NavRailPlacement;
1539
1607
  }
1540
- type NativeAttrs$a = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$8>;
1541
- type NavRailProps = Props$8 & NativeAttrs$a;
1608
+ type NativeAttrs$d = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$b>;
1609
+ type NavRailProps = Props$b & NativeAttrs$d;
1542
1610
  declare const NavRail: React.FC<NavRailProps>;
1543
1611
 
1544
- interface Props$7 {
1612
+ interface Props$a {
1545
1613
  as?: React.ElementType;
1546
1614
  icon?: React.ReactNode;
1547
1615
  media?: React.ReactNode;
1548
1616
  label?: React.ReactNode;
1549
1617
  selected?: boolean;
1618
+ slotProps?: {
1619
+ label?: React.HTMLAttributes<HTMLDivElement>;
1620
+ };
1550
1621
  }
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>>;
1622
+ type NativeAttrs$c = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$a>;
1623
+ type NavRailItemProps = Props$a & NativeAttrs$c;
1624
+ declare const NavRailItem: react.ForwardRefExoticComponent<Props$a & NativeAttrs$c & react.RefAttributes<HTMLDivElement>>;
1554
1625
 
1555
- type Props$6 = {
1626
+ type Props$9 = {
1556
1627
  as?: React.ElementType;
1557
1628
  label: React.ReactNode;
1558
1629
  span?: Responsive<number>;
@@ -1568,20 +1639,20 @@ type Props$6 = {
1568
1639
  mq: ContainerMediaQuery;
1569
1640
  }) => React.ReactNode;
1570
1641
  } & FormatOptions;
1571
- type NativeAttrs$8 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$6 | 'children'>;
1572
- type DescriptionProps = Props$6 & NativeAttrs$8;
1642
+ type NativeAttrs$b = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$9 | 'children'>;
1643
+ type DescriptionProps = Props$9 & NativeAttrs$b;
1573
1644
  declare const Description: react.ForwardRefExoticComponent<DescriptionProps & react.RefAttributes<HTMLDivElement>>;
1574
1645
 
1575
- type NativeAttrs$7 = React.HTMLAttributes<HTMLDivElement>;
1576
- type DescriptionEmptyProps = NativeAttrs$7;
1577
- declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$7 & react.RefAttributes<HTMLDivElement>>;
1646
+ type NativeAttrs$a = React.HTMLAttributes<HTMLDivElement>;
1647
+ type DescriptionEmptyProps = NativeAttrs$a;
1648
+ declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$a & react.RefAttributes<HTMLDivElement>>;
1578
1649
 
1579
1650
  type DescriptionsLayout = 'row' | 'col';
1580
1651
  type DescriptionsSize = 'sm' | 'md' | 'lg';
1581
1652
  type DescriptionsAlign = React.CSSProperties['textAlign'];
1582
1653
  type DescriptionsMode = 'container' | 'screen' | 'css';
1583
1654
 
1584
- interface Props$5 {
1655
+ interface Props$8 {
1585
1656
  as?: React.ElementType;
1586
1657
  mode?: DescriptionsMode;
1587
1658
  items?: DescriptionProps[];
@@ -1592,9 +1663,9 @@ interface Props$5 {
1592
1663
  labelAlign?: Responsive<DescriptionsAlign>;
1593
1664
  contentAlign?: Responsive<DescriptionsAlign>;
1594
1665
  }
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>>;
1666
+ type NativeAttrs$9 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$8 | 'children'>;
1667
+ type DescriptionsProps = Props$8 & NativeAttrs$9;
1668
+ declare const Descriptions: react.ForwardRefExoticComponent<Props$8 & NativeAttrs$9 & react.RefAttributes<HTMLDivElement>>;
1598
1669
 
1599
1670
  interface DescriptionsContextValue {
1600
1671
  mq: ContainerMediaQuery;
@@ -1607,9 +1678,9 @@ interface DescriptionsContextValue {
1607
1678
  declare const DescriptionsContext: react.Context<DescriptionsContextValue | null>;
1608
1679
  declare const useDescriptionsContext: () => DescriptionsContextValue;
1609
1680
 
1610
- type NativeAttrs$5 = React.HTMLAttributes<HTMLDivElement>;
1611
- type DescriptionTextProps = NativeAttrs$5;
1612
- declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$5 & react.RefAttributes<HTMLDivElement>>;
1681
+ type NativeAttrs$8 = React.HTMLAttributes<HTMLDivElement>;
1682
+ type DescriptionTextProps = NativeAttrs$8;
1683
+ declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$8 & react.RefAttributes<HTMLDivElement>>;
1613
1684
 
1614
1685
  declare function reactNodeToText(node: React.ReactNode): string;
1615
1686
 
@@ -1629,14 +1700,14 @@ interface ResponsiveProps$2 {
1629
1700
  justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
1630
1701
  alignItems?: Responsive<React.CSSProperties['alignItems']>;
1631
1702
  }
1632
- type Props$4 = {
1703
+ type Props$7 = {
1633
1704
  as?: React.ElementType;
1634
1705
  } & ResponsiveProps$2;
1635
- type NativeAttrs$4 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$4>;
1636
- type GridItemProps = Props$4 & NativeAttrs$4;
1706
+ type NativeAttrs$7 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$7>;
1707
+ type GridItemProps = Props$7 & NativeAttrs$7;
1637
1708
  declare const GridItem: react.ForwardRefExoticComponent<{
1638
1709
  as?: React.ElementType;
1639
- } & ResponsiveProps$2 & NativeAttrs$4 & react.RefAttributes<HTMLDivElement>>;
1710
+ } & ResponsiveProps$2 & NativeAttrs$7 & react.RefAttributes<HTMLDivElement>>;
1640
1711
 
1641
1712
  interface ResponsiveProps$1 {
1642
1713
  cols?: Responsive<number>;
@@ -1654,14 +1725,14 @@ interface ResponsiveProps$1 {
1654
1725
  justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
1655
1726
  alignItems?: Responsive<React.CSSProperties['alignItems']>;
1656
1727
  }
1657
- type Props$3 = {
1728
+ type Props$6 = {
1658
1729
  items?: GridItemProps[];
1659
1730
  } & ResponsiveProps$1;
1660
- type NativeAttrs$3 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$3>;
1661
- type GridSubProps = Props$3 & NativeAttrs$3;
1731
+ type NativeAttrs$6 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$6>;
1732
+ type GridSubProps = Props$6 & NativeAttrs$6;
1662
1733
  declare const GridSub: react.ForwardRefExoticComponent<{
1663
1734
  items?: GridItemProps[];
1664
- } & ResponsiveProps$1 & NativeAttrs$3 & react.RefAttributes<HTMLDivElement>>;
1735
+ } & ResponsiveProps$1 & NativeAttrs$6 & react.RefAttributes<HTMLDivElement>>;
1665
1736
 
1666
1737
  type GridMode = 'container' | 'screen' | 'css';
1667
1738
 
@@ -1679,17 +1750,20 @@ interface ResponsiveProps {
1679
1750
  gx?: Responsive<React.CSSProperties['columnGap']>;
1680
1751
  justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
1681
1752
  alignItems?: Responsive<React.CSSProperties['alignItems']>;
1753
+ slotProps?: {
1754
+ wrapper?: React.HTMLAttributes<HTMLDivElement>;
1755
+ };
1682
1756
  }
1683
- type Props$2 = {
1757
+ type Props$5 = {
1684
1758
  mode?: GridMode;
1685
1759
  items?: (GridItemProps | GridSubProps)[];
1686
1760
  } & ResponsiveProps;
1687
- type NativeAttrs$2 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$2>;
1688
- type GridProps = Props$2 & NativeAttrs$2;
1761
+ type NativeAttrs$5 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$5>;
1762
+ type GridProps = Props$5 & NativeAttrs$5;
1689
1763
  declare const Grid: react.ForwardRefExoticComponent<{
1690
1764
  mode?: GridMode;
1691
1765
  items?: (GridItemProps | GridSubProps)[];
1692
- } & ResponsiveProps & NativeAttrs$2 & react.RefAttributes<HTMLDivElement>>;
1766
+ } & ResponsiveProps & NativeAttrs$5 & react.RefAttributes<HTMLDivElement>>;
1693
1767
 
1694
1768
  interface GridContextValue {
1695
1769
  mq: ContainerMediaQuery;
@@ -1709,7 +1783,7 @@ declare const Html: React.FC<HtmlProps>;
1709
1783
 
1710
1784
  type StepColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
1711
1785
 
1712
- interface Props$1 {
1786
+ interface Props$4 {
1713
1787
  value?: string | number | symbol;
1714
1788
  title: React.ReactNode;
1715
1789
  subtitle: React.ReactNode;
@@ -1717,18 +1791,18 @@ interface Props$1 {
1717
1791
  color?: StepColor;
1718
1792
  disabled?: boolean;
1719
1793
  }
1720
- type NativeAttrs$1 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$1>;
1721
- type StepProps = Props$1 & NativeAttrs$1;
1794
+ type NativeAttrs$4 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$4>;
1795
+ type StepProps = Props$4 & NativeAttrs$4;
1722
1796
  declare const Step: React.FC<StepProps>;
1723
1797
 
1724
- interface Props {
1798
+ interface Props$3 {
1725
1799
  direction?: 'horizontal' | 'vertical';
1726
1800
  value?: number | string | symbol;
1727
1801
  color?: StepColor;
1728
1802
  markPreviousAsChecked?: boolean;
1729
1803
  }
1730
- type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props>;
1731
- type StepsProps = Props & NativeAttrs;
1804
+ type NativeAttrs$3 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$3>;
1805
+ type StepsProps = Props$3 & NativeAttrs$3;
1732
1806
  declare const Steps: React.FC<StepsProps>;
1733
1807
 
1734
1808
  interface StepsContextValue {
@@ -1748,27 +1822,168 @@ interface StepsContextValue {
1748
1822
  declare const StepsContext: react.Context<StepsContextValue | null>;
1749
1823
  declare const useStepsContext: () => StepsContextValue;
1750
1824
 
1751
- declare const scrollToItem: (parentElement: Element, currentElement: Element) => void;
1825
+ interface TreeItemValue {
1826
+ value: string;
1827
+ selected: boolean;
1828
+ checked: boolean;
1829
+ indeterminate: boolean;
1830
+ }
1831
+ interface TreeItemBase {
1832
+ value: string;
1833
+ icon?: React.ReactNode;
1834
+ items?: TreeItemBase[];
1835
+ }
1836
+ interface TreeItemData {
1837
+ value: string;
1838
+ parents: string[];
1839
+ hasChildren: boolean;
1840
+ hasIcon: boolean;
1841
+ }
1752
1842
 
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;
1843
+ interface Props$2 extends TreeItemBase {
1844
+ title: string;
1845
+ items?: Props$2[];
1846
+ }
1847
+ type NativeAttrs$2 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$2 | 'items'>;
1848
+ type TreeItemProps = Props$2 & NativeAttrs$2;
1849
+ declare const TreeItem: (props: TreeItemProps) => react_jsx_runtime.JSX.Element;
1850
+
1851
+ interface TreeProps$1 {
1852
+ items?: TreeItemProps[];
1853
+ value?: TreeItemValue[];
1854
+ onChange?: (value: TreeItemValue[]) => void;
1855
+ }
1856
+ declare const Tree: (props: TreeProps$1) => react_jsx_runtime.JSX.Element;
1857
+
1858
+ interface TreeContextValue {
1859
+ items: TreeItemData[];
1860
+ values: TreeItemValue[];
1861
+ setValues: (value: TreeItemValue[]) => void;
1862
+ selectValue: (value: string) => void;
1863
+ unselectValue: (value: string) => void;
1864
+ checkValue: (value: string) => void;
1865
+ uncheckValue: (value: string) => void;
1866
+ }
1867
+ declare const TreeContext: react.Context<TreeContextValue>;
1868
+
1869
+ interface TreeProps {
1870
+ items?: TreeItemBase[];
1871
+ value?: TreeItemValue[];
1872
+ onChange?: (value: TreeItemValue[]) => void;
1873
+ onSelect?: (value: string) => void;
1874
+ onUnselect?: (value: string) => void;
1875
+ }
1876
+ declare function useTree(props: TreeProps): {
1877
+ items: TreeItemData[];
1878
+ values: TreeItemValue[];
1879
+ setValues: react.Dispatch<react.SetStateAction<TreeItemValue[]>>;
1880
+ selectValue: (value: string) => void;
1881
+ unselectValue: (value: string) => void;
1882
+ checkValue: (value: string) => void;
1883
+ uncheckValue: (value: string) => void;
1884
+ };
1757
1885
 
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;
1886
+ declare function initializeTreeValues(items: TreeItemData[]): TreeItemValue[];
1887
+ declare function flattenTree(tree: TreeItemBase[], parents?: string[]): TreeItemData[];
1888
+ declare function updateTreeValues(values: TreeItemValue[], value: string, action: 'select' | 'unselect' | 'check' | 'uncheck', items: TreeItemData[]): TreeItemValue[];
1761
1889
 
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;
1890
+ interface DropdownProps {
1891
+ isOpen?: boolean;
1892
+ onOpen?: () => void;
1893
+ onClose?: () => void;
1894
+ children: ((options: {
1895
+ isOpen: boolean;
1896
+ }) => React.ReactNode) | React.ReactNode;
1897
+ }
1898
+ declare const Dropdown: (props: DropdownProps) => react_jsx_runtime.JSX.Element;
1770
1899
 
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;
1900
+ interface DropdownContentProps {
1901
+ children: React.ReactNode;
1902
+ }
1903
+ declare const DropdownContent: (props: DropdownContentProps) => react_jsx_runtime.JSX.Element;
1904
+
1905
+ interface DropdownContextValue {
1906
+ isOpen: boolean;
1907
+ onClose(): void;
1908
+ onOpen(): void;
1909
+ onToggle(): void;
1910
+ floatingRootContext: FloatingRootContext;
1911
+ triggerElement: Element | null;
1912
+ setTriggerElement(el: Element | null): void;
1913
+ getTriggerProps(externalProps?: React.HTMLAttributes<any> & {
1914
+ ref?: React.Ref<any> | undefined;
1915
+ }): React.HTMLAttributes<any> & {
1916
+ ref?: React.Ref<any> | undefined;
1917
+ };
1918
+ contentElement: Element | null;
1919
+ setContentElement(el: HTMLElement | null): void;
1920
+ getContentProps(externalProps?: React.HTMLAttributes<any> & {
1921
+ ref?: React.Ref<any> | undefined;
1922
+ }): React.HTMLAttributes<any> & {
1923
+ ref?: React.Ref<any> | undefined;
1924
+ };
1925
+ }
1926
+ declare const DropdownContext: react.Context<DropdownContextValue | null>;
1927
+ declare const useDropdownContext: () => DropdownContextValue;
1928
+
1929
+ interface Props$1 {
1930
+ }
1931
+ type NativeAttrs$1 = Omit<ListItemProps, keyof Props$1>;
1932
+ type DropdownItemProps = Props$1 & NativeAttrs$1;
1933
+ declare const DropdownItem: (props: DropdownItemProps) => react_jsx_runtime.JSX.Element;
1934
+
1935
+ interface DropdownTriggerProps {
1936
+ children: React.ReactNode;
1937
+ }
1938
+ declare const DropdownTrigger: (props: DropdownTriggerProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
1939
+
1940
+ interface ListTreeItemIndentationProps {
1941
+ level: number;
1942
+ hasParent: boolean;
1943
+ hasIcon: boolean;
1944
+ hasChildren: boolean;
1945
+ hasSiblingWithIcon: boolean;
1946
+ hasSiblingWithChildren: boolean;
1947
+ parentHasIcon: boolean;
1948
+ }
1949
+ declare const INDENT_SIZE = 18;
1950
+ declare const ListTreeItemIndentation: ({ level, hasParent, hasIcon, hasChildren, hasSiblingWithIcon, hasSiblingWithChildren, }: ListTreeItemIndentationProps) => react_jsx_runtime.JSX.Element;
1951
+ interface Props extends TreeItemBase {
1952
+ icon?: React.ReactNode;
1953
+ }
1954
+ type NativeAttrs = Omit<ListItemProps, keyof Props | 'items' | 'startContent'>;
1955
+ type ListTreeItemProps = Props & NativeAttrs & {
1956
+ items?: ListTreeItemProps[];
1957
+ };
1958
+ declare const ListTreeItem: (props: ListTreeItemProps) => react_jsx_runtime.JSX.Element;
1959
+
1960
+ interface ListTreeProps {
1961
+ items?: ListTreeItemProps[];
1962
+ value?: TreeItemValue[];
1963
+ selectable?: boolean;
1964
+ checkable?: boolean;
1965
+ onChange?: (value: TreeItemValue[]) => void;
1966
+ onSelect?: (value: string) => void;
1967
+ onUnselect?: (value: string) => void;
1968
+ }
1969
+ declare const ListTree: (props: ListTreeProps) => react_jsx_runtime.JSX.Element;
1970
+
1971
+ interface ListTreeContextValue {
1972
+ selectable: boolean;
1973
+ checkable: boolean;
1974
+ }
1975
+ declare const ListTreeContext: react.Context<ListTreeContextValue>;
1976
+
1977
+ declare const DraggableTrigger: ({ children }: {
1978
+ children: react__default.ReactNode;
1979
+ }) => react_jsx_runtime.JSX.Element;
1980
+ type DraggableContentProps = react__default.HTMLAttributes<HTMLDivElement>;
1981
+ declare const DraggableContent: (props: DraggableContentProps) => react_jsx_runtime.JSX.Element;
1982
+ type DraggableContent = react__default.HTMLAttributes<HTMLDivElement> & {
1983
+ bounces?: 'screen' | 'scroll';
1984
+ placement?: 'center';
1985
+ children: react__default.ReactNode;
1986
+ };
1987
+ declare const Draggable: ({ bounces: bouncesProp, placement, ...props }: DraggableContent) => react_jsx_runtime.JSX.Element;
1773
1988
 
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 };
1989
+ 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 };