@unifiedsoftware/react-ui 2.0.0-beta.6 → 2.0.0-beta.8
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 +297 -188
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ 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
5
|
|
|
6
|
-
interface Props$
|
|
6
|
+
interface Props$N {
|
|
7
7
|
}
|
|
8
|
-
type NativeAttrs$
|
|
9
|
-
type DividerProps = Props$
|
|
10
|
-
declare const Divider: react.ForwardRefExoticComponent<Props$
|
|
8
|
+
type NativeAttrs$P = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$N>;
|
|
9
|
+
type DividerProps = Props$N & NativeAttrs$P;
|
|
10
|
+
declare const Divider: react.ForwardRefExoticComponent<Props$N & NativeAttrs$P & react.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
|
|
12
12
|
type BoxShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
13
13
|
type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -35,7 +35,7 @@ interface AccordionArrow {
|
|
|
35
35
|
position?: 'start' | 'end';
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
interface Props$
|
|
38
|
+
interface Props$M {
|
|
39
39
|
value?: any[];
|
|
40
40
|
defaultValue?: any[];
|
|
41
41
|
expandMode?: 'single' | 'multiple';
|
|
@@ -52,9 +52,9 @@ interface Props$K {
|
|
|
52
52
|
}) => React.ReactNode;
|
|
53
53
|
onChange?: (value: any[]) => void;
|
|
54
54
|
}
|
|
55
|
-
type NativeAttrs$
|
|
56
|
-
type AccordionProps = Props$
|
|
57
|
-
declare const Accordion: react.ForwardRefExoticComponent<Props$
|
|
55
|
+
type NativeAttrs$O = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$M>;
|
|
56
|
+
type AccordionProps = Props$M & NativeAttrs$O;
|
|
57
|
+
declare const Accordion: react.ForwardRefExoticComponent<Props$M & NativeAttrs$O & react.RefAttributes<HTMLDivElement>>;
|
|
58
58
|
|
|
59
59
|
interface AccordionItemContextValue {
|
|
60
60
|
value: string;
|
|
@@ -63,7 +63,7 @@ interface AccordionItemContextValue {
|
|
|
63
63
|
}) => React.ReactNode;
|
|
64
64
|
}
|
|
65
65
|
declare const useAccordionItem: () => AccordionItemContextValue;
|
|
66
|
-
interface Props$
|
|
66
|
+
interface Props$L {
|
|
67
67
|
value?: any;
|
|
68
68
|
variant?: AccordionVariant;
|
|
69
69
|
color?: AccordionColor;
|
|
@@ -71,11 +71,11 @@ interface Props$J {
|
|
|
71
71
|
isOpen: boolean;
|
|
72
72
|
}) => React.ReactNode;
|
|
73
73
|
}
|
|
74
|
-
type NativeAttrs$
|
|
75
|
-
type AccordionItemProps = Props$
|
|
76
|
-
declare const AccordionItem: react.ForwardRefExoticComponent<Props$
|
|
74
|
+
type NativeAttrs$N = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$L>;
|
|
75
|
+
type AccordionItemProps = Props$L & NativeAttrs$N;
|
|
76
|
+
declare const AccordionItem: react.ForwardRefExoticComponent<Props$L & NativeAttrs$N & react.RefAttributes<HTMLDivElement>>;
|
|
77
77
|
|
|
78
|
-
interface Props$
|
|
78
|
+
interface Props$K {
|
|
79
79
|
as?: React.ElementType;
|
|
80
80
|
title?: React.ReactNode;
|
|
81
81
|
subtitle?: React.ReactNode;
|
|
@@ -93,9 +93,9 @@ interface Props$I {
|
|
|
93
93
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
type NativeAttrs$
|
|
97
|
-
type AccordionHeaderProps = Props$
|
|
98
|
-
declare const AccordionHeader: react.ForwardRefExoticComponent<Props$
|
|
96
|
+
type NativeAttrs$M = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$K>;
|
|
97
|
+
type AccordionHeaderProps = Props$K & NativeAttrs$M;
|
|
98
|
+
declare const AccordionHeader: react.ForwardRefExoticComponent<Props$K & NativeAttrs$M & react.RefAttributes<HTMLDivElement>>;
|
|
99
99
|
|
|
100
100
|
type AccordionBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
101
101
|
declare const AccordionBody: react.ForwardRefExoticComponent<AccordionBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -490,11 +490,11 @@ type InputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
490
490
|
type InputColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
|
|
491
491
|
type InputVariant = 'filled' | 'outlined' | 'flat' | 'text';
|
|
492
492
|
|
|
493
|
-
interface Props$
|
|
493
|
+
interface Props$J {
|
|
494
494
|
}
|
|
495
|
-
type NativeAttrs$
|
|
496
|
-
type InputGroupProps = Props$
|
|
497
|
-
declare const InputGroup: react.ForwardRefExoticComponent<Props$
|
|
495
|
+
type NativeAttrs$L = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$J>;
|
|
496
|
+
type InputGroupProps = Props$J & NativeAttrs$L;
|
|
497
|
+
declare const InputGroup: react.ForwardRefExoticComponent<Props$J & NativeAttrs$L & react.RefAttributes<HTMLDivElement>>;
|
|
498
498
|
|
|
499
499
|
type ListSize = 'sm' | 'md' | 'lg';
|
|
500
500
|
|
|
@@ -504,7 +504,7 @@ interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
504
504
|
}
|
|
505
505
|
declare const List: react.ForwardRefExoticComponent<ListProps & react.RefAttributes<HTMLDivElement>>;
|
|
506
506
|
|
|
507
|
-
interface Props$
|
|
507
|
+
interface Props$I {
|
|
508
508
|
as?: react__default.ElementType;
|
|
509
509
|
title?: react__default.ReactNode;
|
|
510
510
|
subtitle?: react__default.ReactNode;
|
|
@@ -522,11 +522,11 @@ interface Props$G {
|
|
|
522
522
|
subtitle?: react__default.HTMLAttributes<HTMLDivElement>;
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
|
-
type NativeAttrs$
|
|
526
|
-
type ListItemProps = Props$
|
|
527
|
-
declare const ListItem: react__default.ForwardRefExoticComponent<Props$
|
|
525
|
+
type NativeAttrs$K = Omit<react__default.HTMLAttributes<HTMLDivElement>, keyof Props$I>;
|
|
526
|
+
type ListItemProps = Props$I & NativeAttrs$K;
|
|
527
|
+
declare const ListItem: react__default.ForwardRefExoticComponent<Props$I & NativeAttrs$K & react__default.RefAttributes<HTMLDivElement>>;
|
|
528
528
|
|
|
529
|
-
interface Props$
|
|
529
|
+
interface Props$H {
|
|
530
530
|
expandVisible?: boolean;
|
|
531
531
|
expandPosition?: 'start' | 'end';
|
|
532
532
|
isOpen?: boolean;
|
|
@@ -534,9 +534,9 @@ interface Props$F {
|
|
|
534
534
|
onClose?: () => void;
|
|
535
535
|
onToggle?: () => void;
|
|
536
536
|
}
|
|
537
|
-
type NativeAttrs$
|
|
538
|
-
type ListGroupProps = Props$
|
|
539
|
-
declare const ListGroup: react.ForwardRefExoticComponent<Props$
|
|
537
|
+
type NativeAttrs$J = Omit<ListItemProps, keyof Props$H>;
|
|
538
|
+
type ListGroupProps = Props$H & NativeAttrs$J;
|
|
539
|
+
declare const ListGroup: react.ForwardRefExoticComponent<Props$H & NativeAttrs$J & react.RefAttributes<HTMLDivElement>>;
|
|
540
540
|
|
|
541
541
|
interface ListSubheaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
542
542
|
as?: React.ElementType;
|
|
@@ -566,7 +566,7 @@ declare const Result: React.FC<ResultProps>;
|
|
|
566
566
|
|
|
567
567
|
type AutocompleteMultiple = false;
|
|
568
568
|
type AutocompleteClearable = true;
|
|
569
|
-
type NativeAttrs$
|
|
569
|
+
type NativeAttrs$I<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$G<TItem, TKeyField>>;
|
|
570
570
|
type BaseProps$1<TItem extends Record<string, any>> = {
|
|
571
571
|
textField?: keyof TItem;
|
|
572
572
|
placeholder?: string;
|
|
@@ -586,8 +586,8 @@ type BaseProps$1<TItem extends Record<string, any>> = {
|
|
|
586
586
|
renderItem?: (item: TItem, props: ListItemProps) => React.ReactNode;
|
|
587
587
|
renderNoData?: (props: ResultProps) => React.ReactNode;
|
|
588
588
|
};
|
|
589
|
-
type Props$
|
|
590
|
-
type AutocompleteProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$
|
|
589
|
+
type Props$G<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$G<TItem, TKeyField, TMultiple, TClearable> & NativeAttrs$I<TItem, TKeyField>;
|
|
591
591
|
|
|
592
592
|
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
593
|
|
|
@@ -610,7 +610,7 @@ declare const useAutocomplete: () => AutocompleteContextValue<Record<string, any
|
|
|
610
610
|
type BackdropPlacement = 'top' | 'left' | 'center' | 'right' | 'bottom';
|
|
611
611
|
type BackdropVariant = 'opaque' | 'blur' | 'transparent';
|
|
612
612
|
|
|
613
|
-
interface Props$
|
|
613
|
+
interface Props$F {
|
|
614
614
|
isOpen: boolean;
|
|
615
615
|
closable?: boolean;
|
|
616
616
|
placement?: BackdropPlacement;
|
|
@@ -619,14 +619,14 @@ interface Props$D {
|
|
|
619
619
|
scrollArea?: boolean;
|
|
620
620
|
onClose(): void;
|
|
621
621
|
}
|
|
622
|
-
type NativeAttrs$
|
|
623
|
-
type BackdropProps = Props$
|
|
624
|
-
declare const Backdrop: react.ForwardRefExoticComponent<Props$
|
|
622
|
+
type NativeAttrs$H = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$F>;
|
|
623
|
+
type BackdropProps = Props$F & NativeAttrs$H;
|
|
624
|
+
declare const Backdrop: react.ForwardRefExoticComponent<Props$F & NativeAttrs$H & react.RefAttributes<HTMLDivElement>>;
|
|
625
625
|
|
|
626
626
|
type BadgeColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
627
627
|
type BadgePlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
628
628
|
|
|
629
|
-
interface Props$
|
|
629
|
+
interface Props$E {
|
|
630
630
|
/**
|
|
631
631
|
* The placement of the badge relative to its content.
|
|
632
632
|
*/
|
|
@@ -644,8 +644,8 @@ interface Props$C {
|
|
|
644
644
|
wrapper?: React.HTMLAttributes<HTMLDivElement>;
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
|
-
type NativeAttrs$
|
|
648
|
-
type BadgeProps = Props$
|
|
647
|
+
type NativeAttrs$G = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$E>;
|
|
648
|
+
type BadgeProps = Props$E & NativeAttrs$G;
|
|
649
649
|
declare const Badge: React.FC<BadgeProps>;
|
|
650
650
|
|
|
651
651
|
type DataListItem = Record<string, any>;
|
|
@@ -662,7 +662,7 @@ interface DataListMultipleProps<TDataListItem extends DataListItem, TDataListKey
|
|
|
662
662
|
onChange?: (value: TDataListItem[]) => void;
|
|
663
663
|
onValueChange?: (value: TDataListItem[TDataListKeyField][]) => void;
|
|
664
664
|
}
|
|
665
|
-
type Props$
|
|
665
|
+
type Props$D<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = {
|
|
666
666
|
data: TDataListItem[];
|
|
667
667
|
keyField?: TDataListKeyField;
|
|
668
668
|
textField?: keyof DataListItem;
|
|
@@ -677,8 +677,8 @@ type Props$B<TDataListItem extends DataListItem, TDataListKeyField extends DataL
|
|
|
677
677
|
renderItem?: (item: TDataListItem, props: ListItemProps$1) => React.ReactNode;
|
|
678
678
|
renderNoData?: (props: ResultProps$1) => React.ReactNode;
|
|
679
679
|
} & (DataListSingleProps<TDataListItem, TDataListKeyField> | DataListMultipleProps<TDataListItem, TDataListKeyField>);
|
|
680
|
-
type NativeAttrs$
|
|
681
|
-
type DataListProps<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Props$
|
|
680
|
+
type NativeAttrs$F<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$D<TDataListItem, TDataListKeyField>>;
|
|
681
|
+
type DataListProps<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Props$D<TDataListItem, TDataListKeyField> & NativeAttrs$F<TDataListItem, TDataListKeyField>;
|
|
682
682
|
|
|
683
683
|
declare const DataList: <TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = "key">(props: DataListProps<TDataListItem, TDataListKeyField>) => react_jsx_runtime.JSX.Element;
|
|
684
684
|
|
|
@@ -687,7 +687,7 @@ type ButtonColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'd
|
|
|
687
687
|
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
688
688
|
type ButtonGroupDirection = 'row' | 'col';
|
|
689
689
|
|
|
690
|
-
interface Props$
|
|
690
|
+
interface Props$C {
|
|
691
691
|
/**
|
|
692
692
|
* The HTML element type or React component to render as the button.
|
|
693
693
|
*/
|
|
@@ -732,20 +732,20 @@ interface Props$A {
|
|
|
732
732
|
fontStyle?: React.CSSProperties['fontStyle'];
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
type NativeAttrs$
|
|
736
|
-
type ButtonProps = Props$
|
|
737
|
-
declare const Button: react.ForwardRefExoticComponent<Props$
|
|
735
|
+
type NativeAttrs$E = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof Props$C>;
|
|
736
|
+
type ButtonProps = Props$C & NativeAttrs$E;
|
|
737
|
+
declare const Button: react.ForwardRefExoticComponent<Props$C & NativeAttrs$E & react.RefAttributes<HTMLButtonElement>>;
|
|
738
738
|
|
|
739
|
-
interface Props$
|
|
739
|
+
interface Props$B {
|
|
740
740
|
direction?: ButtonGroupDirection;
|
|
741
741
|
variant?: ButtonVariant;
|
|
742
742
|
color?: ButtonColor;
|
|
743
743
|
size?: ButtonSize;
|
|
744
744
|
disabled?: boolean;
|
|
745
745
|
}
|
|
746
|
-
type NativeAttrs$
|
|
747
|
-
type ButtonGroupProps = Props$
|
|
748
|
-
declare const ButtonGroup: react.ForwardRefExoticComponent<Props$
|
|
746
|
+
type NativeAttrs$D = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$B>;
|
|
747
|
+
type ButtonGroupProps = Props$B & NativeAttrs$D;
|
|
748
|
+
declare const ButtonGroup: react.ForwardRefExoticComponent<Props$B & NativeAttrs$D & react.RefAttributes<HTMLDivElement>>;
|
|
749
749
|
|
|
750
750
|
interface ButtonGroupContextValue {
|
|
751
751
|
direction: ButtonGroupDirection;
|
|
@@ -759,7 +759,7 @@ declare const useButtonGroup: () => ButtonGroupContextValue | null;
|
|
|
759
759
|
|
|
760
760
|
type CardSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
761
761
|
|
|
762
|
-
interface Props$
|
|
762
|
+
interface Props$A {
|
|
763
763
|
as?: React.ElementType;
|
|
764
764
|
size?: CardSize;
|
|
765
765
|
hoverable?: boolean;
|
|
@@ -769,14 +769,14 @@ interface Props$y {
|
|
|
769
769
|
divider?: boolean;
|
|
770
770
|
css?: BoxCSS;
|
|
771
771
|
}
|
|
772
|
-
type NativeAttrs$
|
|
773
|
-
type CardProps = Props$
|
|
774
|
-
declare const Card: react.ForwardRefExoticComponent<Props$
|
|
772
|
+
type NativeAttrs$C = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$A>;
|
|
773
|
+
type CardProps = Props$A & NativeAttrs$C;
|
|
774
|
+
declare const Card: react.ForwardRefExoticComponent<Props$A & NativeAttrs$C & react.RefAttributes<HTMLDivElement>>;
|
|
775
775
|
|
|
776
776
|
type CardBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
777
777
|
declare const CardBody: react.ForwardRefExoticComponent<CardBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
778
778
|
|
|
779
|
-
interface Props$
|
|
779
|
+
interface Props$z {
|
|
780
780
|
as?: React.ElementType;
|
|
781
781
|
title?: React.ReactNode;
|
|
782
782
|
subtitle?: React.ReactNode;
|
|
@@ -802,11 +802,11 @@ interface Props$x {
|
|
|
802
802
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
803
803
|
};
|
|
804
804
|
}
|
|
805
|
-
type NativeAttrs$
|
|
806
|
-
type CardHeaderProps = Props$
|
|
807
|
-
declare const CardHeader: react.ForwardRefExoticComponent<Props$
|
|
805
|
+
type NativeAttrs$B = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$z>;
|
|
806
|
+
type CardHeaderProps = Props$z & NativeAttrs$B;
|
|
807
|
+
declare const CardHeader: react.ForwardRefExoticComponent<Props$z & NativeAttrs$B & react.RefAttributes<HTMLDivElement>>;
|
|
808
808
|
|
|
809
|
-
interface Props$
|
|
809
|
+
interface Props$y {
|
|
810
810
|
as?: React.ElementType;
|
|
811
811
|
/**
|
|
812
812
|
* @deprecated Use `underlined` instead
|
|
@@ -814,9 +814,9 @@ interface Props$w {
|
|
|
814
814
|
bordered?: boolean;
|
|
815
815
|
underlined?: boolean;
|
|
816
816
|
}
|
|
817
|
-
type NativeAttrs$
|
|
818
|
-
type CardFooterProps = Props$
|
|
819
|
-
declare const CardFooter: react.ForwardRefExoticComponent<Props$
|
|
817
|
+
type NativeAttrs$A = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$y>;
|
|
818
|
+
type CardFooterProps = Props$y & NativeAttrs$A;
|
|
819
|
+
declare const CardFooter: react.ForwardRefExoticComponent<Props$y & NativeAttrs$A & react.RefAttributes<HTMLDivElement>>;
|
|
820
820
|
|
|
821
821
|
type CardMediaProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
822
822
|
topLeftContent?: React.ReactNode;
|
|
@@ -827,28 +827,28 @@ declare const CardMedia: react.ForwardRefExoticComponent<react.HTMLAttributes<HT
|
|
|
827
827
|
topRightContent?: React.ReactNode;
|
|
828
828
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
829
829
|
|
|
830
|
-
interface Props$
|
|
830
|
+
interface Props$x {
|
|
831
831
|
as?: React.ElementType;
|
|
832
832
|
centered?: boolean;
|
|
833
833
|
css?: BoxCSS;
|
|
834
834
|
}
|
|
835
|
-
type NativeAttrs$
|
|
836
|
-
type CardTitleProps = Props$
|
|
837
|
-
declare const CardTitle: react.ForwardRefExoticComponent<Props$
|
|
835
|
+
type NativeAttrs$z = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$x>;
|
|
836
|
+
type CardTitleProps = Props$x & NativeAttrs$z;
|
|
837
|
+
declare const CardTitle: react.ForwardRefExoticComponent<Props$x & NativeAttrs$z & react.RefAttributes<HTMLDivElement>>;
|
|
838
838
|
|
|
839
|
-
interface Props$
|
|
839
|
+
interface Props$w {
|
|
840
840
|
as?: React.ElementType;
|
|
841
841
|
css?: BoxCSS;
|
|
842
842
|
}
|
|
843
|
-
type NativeAttrs$
|
|
844
|
-
type CardSubtitleProps = Props$
|
|
845
|
-
declare const CardSubtitle: react.ForwardRefExoticComponent<Props$
|
|
843
|
+
type NativeAttrs$y = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$w>;
|
|
844
|
+
type CardSubtitleProps = Props$w & NativeAttrs$y;
|
|
845
|
+
declare const CardSubtitle: react.ForwardRefExoticComponent<Props$w & NativeAttrs$y & react.RefAttributes<HTMLDivElement>>;
|
|
846
846
|
|
|
847
847
|
type ChipVariant = 'filled' | 'outlined' | 'flat' | 'text' | 'plain' | 'bordered';
|
|
848
848
|
type ChipColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
849
849
|
type ChipSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
850
850
|
|
|
851
|
-
interface Props$
|
|
851
|
+
interface Props$v {
|
|
852
852
|
/**
|
|
853
853
|
* The HTML element type or React component to render as the chip.
|
|
854
854
|
*/
|
|
@@ -886,9 +886,9 @@ interface Props$t {
|
|
|
886
886
|
};
|
|
887
887
|
onClose?: () => void;
|
|
888
888
|
}
|
|
889
|
-
type NativeAttrs$
|
|
890
|
-
type ChipProps = Props$
|
|
891
|
-
declare const Chip: react.ForwardRefExoticComponent<Props$
|
|
889
|
+
type NativeAttrs$x = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$v>;
|
|
890
|
+
type ChipProps = Props$v & NativeAttrs$x;
|
|
891
|
+
declare const Chip: react.ForwardRefExoticComponent<Props$v & NativeAttrs$x & react.RefAttributes<HTMLDivElement>>;
|
|
892
892
|
|
|
893
893
|
interface CollapseProps {
|
|
894
894
|
children: React.ReactNode;
|
|
@@ -917,6 +917,7 @@ declare const useCollapse: () => CollapseContextValue;
|
|
|
917
917
|
|
|
918
918
|
interface CollapseTriggerProps {
|
|
919
919
|
children: react__default.ReactNode;
|
|
920
|
+
disabled?: boolean;
|
|
920
921
|
}
|
|
921
922
|
declare const CollapseTrigger: react__default.ForwardRefExoticComponent<CollapseTriggerProps & react__default.RefAttributes<unknown>>;
|
|
922
923
|
|
|
@@ -932,7 +933,7 @@ interface DrawerClose {
|
|
|
932
933
|
}
|
|
933
934
|
type DrawerBackdrop = BackdropVariant;
|
|
934
935
|
|
|
935
|
-
interface Props$
|
|
936
|
+
interface Props$u {
|
|
936
937
|
isOpen: boolean;
|
|
937
938
|
size?: DrawerSize;
|
|
938
939
|
backdrop?: DrawerBackdrop;
|
|
@@ -949,11 +950,11 @@ interface Props$s {
|
|
|
949
950
|
onClose: () => void;
|
|
950
951
|
onAfterClose?: () => void;
|
|
951
952
|
}
|
|
952
|
-
type NativeAttrs$
|
|
953
|
-
type DrawerProps = Props$
|
|
954
|
-
declare const Drawer: react.ForwardRefExoticComponent<Props$
|
|
953
|
+
type NativeAttrs$w = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$u>;
|
|
954
|
+
type DrawerProps = Props$u & NativeAttrs$w;
|
|
955
|
+
declare const Drawer: react.ForwardRefExoticComponent<Props$u & NativeAttrs$w & react.RefAttributes<HTMLDivElement>>;
|
|
955
956
|
|
|
956
|
-
interface Props$
|
|
957
|
+
interface Props$t {
|
|
957
958
|
as?: React.ElementType;
|
|
958
959
|
title?: React.ReactNode;
|
|
959
960
|
subtitle?: React.ReactNode;
|
|
@@ -969,20 +970,20 @@ interface Props$r {
|
|
|
969
970
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
970
971
|
};
|
|
971
972
|
}
|
|
972
|
-
type NativeAttrs$
|
|
973
|
-
type DrawerHeaderProps = Props$
|
|
974
|
-
declare const DrawerHeader: react.ForwardRefExoticComponent<Props$
|
|
973
|
+
type NativeAttrs$v = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$t>;
|
|
974
|
+
type DrawerHeaderProps = Props$t & NativeAttrs$v;
|
|
975
|
+
declare const DrawerHeader: react.ForwardRefExoticComponent<Props$t & NativeAttrs$v & react.RefAttributes<HTMLDivElement>>;
|
|
975
976
|
|
|
976
977
|
type DrawerBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
977
978
|
declare const DrawerBody: react.ForwardRefExoticComponent<DrawerBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
978
979
|
|
|
979
|
-
interface Props$
|
|
980
|
+
interface Props$s {
|
|
980
981
|
as?: React.ElementType;
|
|
981
982
|
bordered?: boolean;
|
|
982
983
|
}
|
|
983
|
-
type NativeAttrs$
|
|
984
|
-
type DrawerFooterProps = Props$
|
|
985
|
-
declare const DrawerFooter: react.ForwardRefExoticComponent<Props$
|
|
984
|
+
type NativeAttrs$u = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$s>;
|
|
985
|
+
type DrawerFooterProps = Props$s & NativeAttrs$u;
|
|
986
|
+
declare const DrawerFooter: react.ForwardRefExoticComponent<Props$s & NativeAttrs$u & react.RefAttributes<HTMLDivElement>>;
|
|
986
987
|
|
|
987
988
|
interface DrawerContextValue {
|
|
988
989
|
isOpen: boolean;
|
|
@@ -1006,7 +1007,7 @@ interface IconProps {
|
|
|
1006
1007
|
}
|
|
1007
1008
|
declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<unknown>>;
|
|
1008
1009
|
|
|
1009
|
-
interface Props$
|
|
1010
|
+
interface Props$r {
|
|
1010
1011
|
/**
|
|
1011
1012
|
* The HTML element type or React component to render as the menu item.
|
|
1012
1013
|
*/
|
|
@@ -1032,9 +1033,9 @@ interface Props$p {
|
|
|
1032
1033
|
*/
|
|
1033
1034
|
disabled?: boolean;
|
|
1034
1035
|
}
|
|
1035
|
-
type NativeAttrs$
|
|
1036
|
-
type MenuItemProps = Props$
|
|
1037
|
-
declare const MenuItem: react.ForwardRefExoticComponent<Props$
|
|
1036
|
+
type NativeAttrs$t = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$r | 'items'>;
|
|
1037
|
+
type MenuItemProps = Props$r & NativeAttrs$t;
|
|
1038
|
+
declare const MenuItem: react.ForwardRefExoticComponent<Props$r & NativeAttrs$t & react.RefAttributes<HTMLDivElement>>;
|
|
1038
1039
|
|
|
1039
1040
|
type MenuSubmenuProps = Omit<MenuItemProps, 'items'> & {
|
|
1040
1041
|
items?: MenuItemType[];
|
|
@@ -1058,7 +1059,7 @@ type MenuItemType = (MenuGroupProps & {
|
|
|
1058
1059
|
}) | (MenuItemProps & {
|
|
1059
1060
|
type?: 'item';
|
|
1060
1061
|
});
|
|
1061
|
-
interface Props$
|
|
1062
|
+
interface Props$q {
|
|
1062
1063
|
/**
|
|
1063
1064
|
* The currently selected value of the menu.
|
|
1064
1065
|
*/
|
|
@@ -1094,8 +1095,8 @@ interface Props$o {
|
|
|
1094
1095
|
*/
|
|
1095
1096
|
onItemSelect?: (props: MenuItemProps) => void;
|
|
1096
1097
|
}
|
|
1097
|
-
type NativeAttrs$
|
|
1098
|
-
type MenuProps = Props$
|
|
1098
|
+
type NativeAttrs$s = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$q | 'items'>;
|
|
1099
|
+
type MenuProps = Props$q & NativeAttrs$s & {
|
|
1099
1100
|
items?: MenuItemType[];
|
|
1100
1101
|
};
|
|
1101
1102
|
declare const Menu: React.FC<MenuProps>;
|
|
@@ -1170,7 +1171,7 @@ declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & reac
|
|
|
1170
1171
|
|
|
1171
1172
|
type SelectMultiple = false;
|
|
1172
1173
|
type SelectClearable = false;
|
|
1173
|
-
type NativeAttrs$
|
|
1174
|
+
type NativeAttrs$r<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$p<TItem, TKeyField>>;
|
|
1174
1175
|
type BaseProps<TItem extends Record<string, any>> = {
|
|
1175
1176
|
textField?: keyof TItem;
|
|
1176
1177
|
placeholder?: string;
|
|
@@ -1188,8 +1189,8 @@ type BaseProps<TItem extends Record<string, any>> = {
|
|
|
1188
1189
|
renderItem?: (item: TItem, props: ListItemProps) => React.ReactNode;
|
|
1189
1190
|
renderNoData?: (props: ResultProps) => React.ReactNode;
|
|
1190
1191
|
};
|
|
1191
|
-
type Props$
|
|
1192
|
-
type SelectProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$
|
|
1192
|
+
type Props$p<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>;
|
|
1193
|
+
type SelectProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$p<TItem, TKeyField, TMultiple, TClearable> & NativeAttrs$r<TItem, TKeyField>;
|
|
1193
1194
|
|
|
1194
1195
|
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
1196
|
|
|
@@ -1213,20 +1214,20 @@ type SwitchSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
1213
1214
|
type SwitchLabelPlacement = 'before' | 'after';
|
|
1214
1215
|
type SwitchColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
|
|
1215
1216
|
|
|
1216
|
-
interface Props$
|
|
1217
|
+
interface Props$o {
|
|
1217
1218
|
size?: SwitchSize;
|
|
1218
1219
|
labelPlacement?: SwitchLabelPlacement;
|
|
1219
1220
|
color?: SwitchColor;
|
|
1220
1221
|
}
|
|
1221
|
-
type NativeAttrs$
|
|
1222
|
-
type SwitchProps = Props$
|
|
1223
|
-
declare const Switch: react.ForwardRefExoticComponent<Props$
|
|
1222
|
+
type NativeAttrs$q = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$o | 'value' | 'defaultValue'>;
|
|
1223
|
+
type SwitchProps = Props$o & NativeAttrs$q;
|
|
1224
|
+
declare const Switch: react.ForwardRefExoticComponent<Props$o & NativeAttrs$q & react.RefAttributes<HTMLInputElement>>;
|
|
1224
1225
|
|
|
1225
1226
|
type TabsVariant = 'underlined' | 'outlined' | 'pills';
|
|
1226
1227
|
type TabValue = string | number | symbol;
|
|
1227
1228
|
type TabsAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1228
1229
|
|
|
1229
|
-
interface Props$
|
|
1230
|
+
interface Props$n<TTabValue extends TabValue = TabValue> {
|
|
1230
1231
|
/**
|
|
1231
1232
|
* The HTML element type or React component to render as the tab.
|
|
1232
1233
|
*/
|
|
@@ -1252,11 +1253,11 @@ interface Props$l<TTabValue extends TabValue = TabValue> {
|
|
|
1252
1253
|
*/
|
|
1253
1254
|
endContent?: React.ReactNode;
|
|
1254
1255
|
}
|
|
1255
|
-
type NativeAttrs$
|
|
1256
|
-
type TabProps<TTabValue extends TabValue = TabValue> = Props$
|
|
1257
|
-
declare const Tab: react.ForwardRefExoticComponent<Props$
|
|
1256
|
+
type NativeAttrs$p = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$n>;
|
|
1257
|
+
type TabProps<TTabValue extends TabValue = TabValue> = Props$n<TTabValue> & NativeAttrs$p;
|
|
1258
|
+
declare const Tab: react.ForwardRefExoticComponent<Props$n<TabValue> & NativeAttrs$p & react.RefAttributes<HTMLDivElement>>;
|
|
1258
1259
|
|
|
1259
|
-
interface Props$
|
|
1260
|
+
interface Props$m<TTabValue extends TabValue = TabValue> {
|
|
1260
1261
|
/**
|
|
1261
1262
|
* The currently selected value of the tabs.
|
|
1262
1263
|
*/
|
|
@@ -1279,11 +1280,11 @@ interface Props$k<TTabValue extends TabValue = TabValue> {
|
|
|
1279
1280
|
*/
|
|
1280
1281
|
onClose?: (value: TTabValue) => void;
|
|
1281
1282
|
}
|
|
1282
|
-
type NativeAttrs$
|
|
1283
|
-
type TabsProps<TTabValue extends TabValue = TabValue> = Props$
|
|
1284
|
-
declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$
|
|
1283
|
+
type NativeAttrs$o = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$m>;
|
|
1284
|
+
type TabsProps<TTabValue extends TabValue = TabValue> = Props$m<TTabValue> & NativeAttrs$o;
|
|
1285
|
+
declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$m<TTabValue> & NativeAttrs$o & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
|
|
1285
1286
|
|
|
1286
|
-
interface Props$
|
|
1287
|
+
interface Props$l {
|
|
1287
1288
|
inputRef?: React.RefObject<HTMLInputElement>;
|
|
1288
1289
|
variant?: InputVariant;
|
|
1289
1290
|
color?: InputColor;
|
|
@@ -1292,13 +1293,13 @@ interface Props$j {
|
|
|
1292
1293
|
endContent?: React.ReactNode;
|
|
1293
1294
|
css?: BoxCSS;
|
|
1294
1295
|
}
|
|
1295
|
-
type NativeAttrs$
|
|
1296
|
-
type TextInputProps = Props$
|
|
1297
|
-
declare const TextInput: react.ForwardRefExoticComponent<Props$
|
|
1296
|
+
type NativeAttrs$n = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$l>;
|
|
1297
|
+
type TextInputProps = Props$l & NativeAttrs$n;
|
|
1298
|
+
declare const TextInput: react.ForwardRefExoticComponent<Props$l & NativeAttrs$n & react.RefAttributes<HTMLInputElement>>;
|
|
1298
1299
|
|
|
1299
1300
|
type ToolbarSize = 'auto' | 'sm' | 'md' | 'lg';
|
|
1300
1301
|
|
|
1301
|
-
interface Props$
|
|
1302
|
+
interface Props$k {
|
|
1302
1303
|
size?: ToolbarSize;
|
|
1303
1304
|
title?: React.ReactNode;
|
|
1304
1305
|
subtitle?: React.ReactNode;
|
|
@@ -1320,8 +1321,8 @@ interface Props$i {
|
|
|
1320
1321
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
1321
1322
|
};
|
|
1322
1323
|
}
|
|
1323
|
-
type NativeAttrs$
|
|
1324
|
-
type ToolbarProps = Props$
|
|
1324
|
+
type NativeAttrs$m = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$k>;
|
|
1325
|
+
type ToolbarProps = Props$k & NativeAttrs$m;
|
|
1325
1326
|
declare const Toolbar: React.FC<ToolbarProps>;
|
|
1326
1327
|
|
|
1327
1328
|
interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
|
|
@@ -1336,22 +1337,22 @@ interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
1336
1337
|
}
|
|
1337
1338
|
declare const Transition: React.FC<TransitionProps>;
|
|
1338
1339
|
|
|
1339
|
-
interface Props$
|
|
1340
|
+
interface Props$j {
|
|
1340
1341
|
/**
|
|
1341
1342
|
* The HTML element type or React component to render as the tab.
|
|
1342
1343
|
*/
|
|
1343
1344
|
as?: React.ElementType;
|
|
1344
1345
|
width?: number;
|
|
1345
1346
|
}
|
|
1346
|
-
type NativeAttrs$
|
|
1347
|
-
type SwipeItemProps = Props$
|
|
1348
|
-
declare const SwipeItem: react.ForwardRefExoticComponent<Props$
|
|
1347
|
+
type NativeAttrs$l = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$j>;
|
|
1348
|
+
type SwipeItemProps = Props$j & NativeAttrs$l;
|
|
1349
|
+
declare const SwipeItem: react.ForwardRefExoticComponent<Props$j & NativeAttrs$l & {
|
|
1349
1350
|
children?: react.ReactNode | undefined;
|
|
1350
1351
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1351
1352
|
|
|
1352
1353
|
type SwiperAlignmet = 'start' | 'center' | 'end';
|
|
1353
1354
|
|
|
1354
|
-
interface Props$
|
|
1355
|
+
interface Props$i {
|
|
1355
1356
|
gap?: number;
|
|
1356
1357
|
alignment?: SwiperAlignmet;
|
|
1357
1358
|
autoHide?: boolean;
|
|
@@ -1361,8 +1362,8 @@ interface Props$g {
|
|
|
1361
1362
|
arrowRightButton?: ButtonProps;
|
|
1362
1363
|
};
|
|
1363
1364
|
}
|
|
1364
|
-
type NativeAttrs$
|
|
1365
|
-
type SwipeProps = Props$
|
|
1365
|
+
type NativeAttrs$k = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$i>;
|
|
1366
|
+
type SwipeProps = Props$i & NativeAttrs$k;
|
|
1366
1367
|
declare const Swipe: React.FC<SwipeProps>;
|
|
1367
1368
|
|
|
1368
1369
|
type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
@@ -1374,7 +1375,7 @@ interface ModalClose {
|
|
|
1374
1375
|
type ModalScrollBehavior = 'inside' | 'outside';
|
|
1375
1376
|
type ModalBackdrop = BackdropVariant;
|
|
1376
1377
|
|
|
1377
|
-
interface Props$
|
|
1378
|
+
interface Props$h {
|
|
1378
1379
|
isOpen: boolean;
|
|
1379
1380
|
size?: ModalSize;
|
|
1380
1381
|
backdrop?: ModalBackdrop;
|
|
@@ -1389,9 +1390,9 @@ interface Props$f {
|
|
|
1389
1390
|
onClose: () => void;
|
|
1390
1391
|
onAfterClose?: () => void;
|
|
1391
1392
|
}
|
|
1392
|
-
type NativeAttrs$
|
|
1393
|
-
type ModalProps = Props$
|
|
1394
|
-
declare const Modal: react.ForwardRefExoticComponent<Props$
|
|
1393
|
+
type NativeAttrs$j = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$h>;
|
|
1394
|
+
type ModalProps = Props$h & NativeAttrs$j;
|
|
1395
|
+
declare const Modal: react.ForwardRefExoticComponent<Props$h & NativeAttrs$j & react.RefAttributes<HTMLDivElement>>;
|
|
1395
1396
|
|
|
1396
1397
|
type ModalBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1397
1398
|
declare const ModalBody: React.FC<ModalBodyProps>;
|
|
@@ -1406,15 +1407,15 @@ interface ModalContextValue {
|
|
|
1406
1407
|
}
|
|
1407
1408
|
declare function useModal(): ModalContextValue;
|
|
1408
1409
|
|
|
1409
|
-
interface Props$
|
|
1410
|
+
interface Props$g {
|
|
1410
1411
|
as?: React.ElementType;
|
|
1411
1412
|
bordered?: boolean;
|
|
1412
1413
|
}
|
|
1413
|
-
type NativeAttrs$
|
|
1414
|
-
type ModalFooterProps = Props$
|
|
1415
|
-
declare const ModalFooter: react.ForwardRefExoticComponent<Props$
|
|
1414
|
+
type NativeAttrs$i = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$g>;
|
|
1415
|
+
type ModalFooterProps = Props$g & NativeAttrs$i;
|
|
1416
|
+
declare const ModalFooter: react.ForwardRefExoticComponent<Props$g & NativeAttrs$i & react.RefAttributes<HTMLDivElement>>;
|
|
1416
1417
|
|
|
1417
|
-
interface Props$
|
|
1418
|
+
interface Props$f {
|
|
1418
1419
|
as?: React.ElementType;
|
|
1419
1420
|
title?: React.ReactNode;
|
|
1420
1421
|
subtitle?: React.ReactNode;
|
|
@@ -1430,9 +1431,9 @@ interface Props$d {
|
|
|
1430
1431
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
1431
1432
|
};
|
|
1432
1433
|
}
|
|
1433
|
-
type NativeAttrs$
|
|
1434
|
-
type ModalHeaderProps = Props$
|
|
1435
|
-
declare const ModalHeader: react.ForwardRefExoticComponent<Props$
|
|
1434
|
+
type NativeAttrs$h = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$f>;
|
|
1435
|
+
type ModalHeaderProps = Props$f & NativeAttrs$h;
|
|
1436
|
+
declare const ModalHeader: react.ForwardRefExoticComponent<Props$f & NativeAttrs$h & react.RefAttributes<HTMLDivElement>>;
|
|
1436
1437
|
|
|
1437
1438
|
type CheckboxValue = string | number | symbol;
|
|
1438
1439
|
type CheckboxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -1441,17 +1442,17 @@ type CheckboxGroupDirection = 'row' | 'col';
|
|
|
1441
1442
|
type CheckboxGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1442
1443
|
type CheckboxColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
|
|
1443
1444
|
|
|
1444
|
-
interface Props$
|
|
1445
|
+
interface Props$e<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1445
1446
|
value?: TCheckboxValue;
|
|
1446
1447
|
size?: CheckboxSize;
|
|
1447
1448
|
labelPlacement?: CheckboxLabelPlacement;
|
|
1448
1449
|
color?: CheckboxColor;
|
|
1449
1450
|
}
|
|
1450
|
-
type NativeAttrs$
|
|
1451
|
-
type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$
|
|
1452
|
-
declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$
|
|
1451
|
+
type NativeAttrs$g = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$e | 'defaultValue'>;
|
|
1452
|
+
type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$e<TCheckboxValue> & NativeAttrs$g;
|
|
1453
|
+
declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$e<TCheckboxValue> & NativeAttrs$g & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
|
|
1453
1454
|
|
|
1454
|
-
interface Props$
|
|
1455
|
+
interface Props$d<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1455
1456
|
value?: TCheckboxValue[];
|
|
1456
1457
|
defaultValue?: TCheckboxValue[];
|
|
1457
1458
|
disabled?: boolean;
|
|
@@ -1463,9 +1464,9 @@ interface Props$b<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
|
1463
1464
|
color?: CheckboxColor;
|
|
1464
1465
|
onChange?: (value: TCheckboxValue[]) => void;
|
|
1465
1466
|
}
|
|
1466
|
-
type NativeAttrs$
|
|
1467
|
-
type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$
|
|
1468
|
-
declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$
|
|
1467
|
+
type NativeAttrs$f = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$d>;
|
|
1468
|
+
type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$d<TCheckboxValue> & NativeAttrs$f;
|
|
1469
|
+
declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$d<TCheckboxValue> & NativeAttrs$f & react.RefAttributes<HTMLTableElement>) => ReturnType<React.FunctionComponent>;
|
|
1469
1470
|
|
|
1470
1471
|
interface CheckboxGroupContextValue<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1471
1472
|
value: TCheckboxValue[];
|
|
@@ -1487,7 +1488,7 @@ type RadioGroupDirection = 'row' | 'col';
|
|
|
1487
1488
|
type RadioGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1488
1489
|
type RadioColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
|
|
1489
1490
|
|
|
1490
|
-
interface Props$
|
|
1491
|
+
interface Props$c<TRadioValue extends RadioValue = RadioValue> {
|
|
1491
1492
|
value?: TRadioValue;
|
|
1492
1493
|
disabled?: boolean;
|
|
1493
1494
|
readOnly?: boolean;
|
|
@@ -1495,11 +1496,11 @@ interface Props$a<TRadioValue extends RadioValue = RadioValue> {
|
|
|
1495
1496
|
labelPlacement?: RadioLabelPlacement;
|
|
1496
1497
|
colorScheme?: ColorScheme;
|
|
1497
1498
|
}
|
|
1498
|
-
type NativeAttrs$
|
|
1499
|
-
type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$
|
|
1500
|
-
declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$
|
|
1499
|
+
type NativeAttrs$e = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$c | 'defaultValue' | 'checked' | 'defaultChecked' | 'onChange'>;
|
|
1500
|
+
type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$c<TRadioValue> & NativeAttrs$e;
|
|
1501
|
+
declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$c<TRadioValue> & NativeAttrs$e & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
|
|
1501
1502
|
|
|
1502
|
-
interface Props$
|
|
1503
|
+
interface Props$b<TRadioValue extends RadioValue = RadioValue> {
|
|
1503
1504
|
name?: string;
|
|
1504
1505
|
value?: TRadioValue;
|
|
1505
1506
|
defaultValue?: TRadioValue;
|
|
@@ -1512,9 +1513,9 @@ interface Props$9<TRadioValue extends RadioValue = RadioValue> {
|
|
|
1512
1513
|
color?: RadioColor;
|
|
1513
1514
|
onChange?: (value: TRadioValue) => void;
|
|
1514
1515
|
}
|
|
1515
|
-
type NativeAttrs$
|
|
1516
|
-
type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$
|
|
1517
|
-
declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$
|
|
1516
|
+
type NativeAttrs$d = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$b>;
|
|
1517
|
+
type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$b<TRadioValue> & NativeAttrs$d;
|
|
1518
|
+
declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$b<TRadioValue> & NativeAttrs$d & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
|
|
1518
1519
|
|
|
1519
1520
|
interface RadioGroupContextValue {
|
|
1520
1521
|
name: string;
|
|
@@ -1532,27 +1533,30 @@ declare const useRadioGroup: () => RadioGroupContextValue;
|
|
|
1532
1533
|
|
|
1533
1534
|
type NavRailPlacement = 'left' | 'right';
|
|
1534
1535
|
|
|
1535
|
-
interface Props$
|
|
1536
|
+
interface Props$a {
|
|
1536
1537
|
startContent?: React.ReactNode;
|
|
1537
1538
|
endContent?: React.ReactNode;
|
|
1538
1539
|
placement?: NavRailPlacement;
|
|
1539
1540
|
}
|
|
1540
|
-
type NativeAttrs$
|
|
1541
|
-
type NavRailProps = Props$
|
|
1541
|
+
type NativeAttrs$c = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$a>;
|
|
1542
|
+
type NavRailProps = Props$a & NativeAttrs$c;
|
|
1542
1543
|
declare const NavRail: React.FC<NavRailProps>;
|
|
1543
1544
|
|
|
1544
|
-
interface Props$
|
|
1545
|
+
interface Props$9 {
|
|
1545
1546
|
as?: React.ElementType;
|
|
1546
1547
|
icon?: React.ReactNode;
|
|
1547
1548
|
media?: React.ReactNode;
|
|
1548
1549
|
label?: React.ReactNode;
|
|
1549
1550
|
selected?: boolean;
|
|
1551
|
+
slotProps?: {
|
|
1552
|
+
label?: React.HTMLAttributes<HTMLDivElement>;
|
|
1553
|
+
};
|
|
1550
1554
|
}
|
|
1551
|
-
type NativeAttrs$
|
|
1552
|
-
type NavRailItemProps = Props$
|
|
1553
|
-
declare const NavRailItem: react.ForwardRefExoticComponent<Props$
|
|
1555
|
+
type NativeAttrs$b = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$9>;
|
|
1556
|
+
type NavRailItemProps = Props$9 & NativeAttrs$b;
|
|
1557
|
+
declare const NavRailItem: react.ForwardRefExoticComponent<Props$9 & NativeAttrs$b & react.RefAttributes<HTMLDivElement>>;
|
|
1554
1558
|
|
|
1555
|
-
type Props$
|
|
1559
|
+
type Props$8 = {
|
|
1556
1560
|
as?: React.ElementType;
|
|
1557
1561
|
label: React.ReactNode;
|
|
1558
1562
|
span?: Responsive<number>;
|
|
@@ -1568,20 +1572,20 @@ type Props$6 = {
|
|
|
1568
1572
|
mq: ContainerMediaQuery;
|
|
1569
1573
|
}) => React.ReactNode;
|
|
1570
1574
|
} & FormatOptions;
|
|
1571
|
-
type NativeAttrs$
|
|
1572
|
-
type DescriptionProps = Props$
|
|
1575
|
+
type NativeAttrs$a = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$8 | 'children'>;
|
|
1576
|
+
type DescriptionProps = Props$8 & NativeAttrs$a;
|
|
1573
1577
|
declare const Description: react.ForwardRefExoticComponent<DescriptionProps & react.RefAttributes<HTMLDivElement>>;
|
|
1574
1578
|
|
|
1575
|
-
type NativeAttrs$
|
|
1576
|
-
type DescriptionEmptyProps = NativeAttrs$
|
|
1577
|
-
declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$
|
|
1579
|
+
type NativeAttrs$9 = React.HTMLAttributes<HTMLDivElement>;
|
|
1580
|
+
type DescriptionEmptyProps = NativeAttrs$9;
|
|
1581
|
+
declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$9 & react.RefAttributes<HTMLDivElement>>;
|
|
1578
1582
|
|
|
1579
1583
|
type DescriptionsLayout = 'row' | 'col';
|
|
1580
1584
|
type DescriptionsSize = 'sm' | 'md' | 'lg';
|
|
1581
1585
|
type DescriptionsAlign = React.CSSProperties['textAlign'];
|
|
1582
1586
|
type DescriptionsMode = 'container' | 'screen' | 'css';
|
|
1583
1587
|
|
|
1584
|
-
interface Props$
|
|
1588
|
+
interface Props$7 {
|
|
1585
1589
|
as?: React.ElementType;
|
|
1586
1590
|
mode?: DescriptionsMode;
|
|
1587
1591
|
items?: DescriptionProps[];
|
|
@@ -1592,9 +1596,9 @@ interface Props$5 {
|
|
|
1592
1596
|
labelAlign?: Responsive<DescriptionsAlign>;
|
|
1593
1597
|
contentAlign?: Responsive<DescriptionsAlign>;
|
|
1594
1598
|
}
|
|
1595
|
-
type NativeAttrs$
|
|
1596
|
-
type DescriptionsProps = Props$
|
|
1597
|
-
declare const Descriptions: react.ForwardRefExoticComponent<Props$
|
|
1599
|
+
type NativeAttrs$8 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$7 | 'children'>;
|
|
1600
|
+
type DescriptionsProps = Props$7 & NativeAttrs$8;
|
|
1601
|
+
declare const Descriptions: react.ForwardRefExoticComponent<Props$7 & NativeAttrs$8 & react.RefAttributes<HTMLDivElement>>;
|
|
1598
1602
|
|
|
1599
1603
|
interface DescriptionsContextValue {
|
|
1600
1604
|
mq: ContainerMediaQuery;
|
|
@@ -1607,9 +1611,9 @@ interface DescriptionsContextValue {
|
|
|
1607
1611
|
declare const DescriptionsContext: react.Context<DescriptionsContextValue | null>;
|
|
1608
1612
|
declare const useDescriptionsContext: () => DescriptionsContextValue;
|
|
1609
1613
|
|
|
1610
|
-
type NativeAttrs$
|
|
1611
|
-
type DescriptionTextProps = NativeAttrs$
|
|
1612
|
-
declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$
|
|
1614
|
+
type NativeAttrs$7 = React.HTMLAttributes<HTMLDivElement>;
|
|
1615
|
+
type DescriptionTextProps = NativeAttrs$7;
|
|
1616
|
+
declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$7 & react.RefAttributes<HTMLDivElement>>;
|
|
1613
1617
|
|
|
1614
1618
|
declare function reactNodeToText(node: React.ReactNode): string;
|
|
1615
1619
|
|
|
@@ -1629,14 +1633,14 @@ interface ResponsiveProps$2 {
|
|
|
1629
1633
|
justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
|
|
1630
1634
|
alignItems?: Responsive<React.CSSProperties['alignItems']>;
|
|
1631
1635
|
}
|
|
1632
|
-
type Props$
|
|
1636
|
+
type Props$6 = {
|
|
1633
1637
|
as?: React.ElementType;
|
|
1634
1638
|
} & ResponsiveProps$2;
|
|
1635
|
-
type NativeAttrs$
|
|
1636
|
-
type GridItemProps = Props$
|
|
1639
|
+
type NativeAttrs$6 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$6>;
|
|
1640
|
+
type GridItemProps = Props$6 & NativeAttrs$6;
|
|
1637
1641
|
declare const GridItem: react.ForwardRefExoticComponent<{
|
|
1638
1642
|
as?: React.ElementType;
|
|
1639
|
-
} & ResponsiveProps$2 & NativeAttrs$
|
|
1643
|
+
} & ResponsiveProps$2 & NativeAttrs$6 & react.RefAttributes<HTMLDivElement>>;
|
|
1640
1644
|
|
|
1641
1645
|
interface ResponsiveProps$1 {
|
|
1642
1646
|
cols?: Responsive<number>;
|
|
@@ -1654,14 +1658,14 @@ interface ResponsiveProps$1 {
|
|
|
1654
1658
|
justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
|
|
1655
1659
|
alignItems?: Responsive<React.CSSProperties['alignItems']>;
|
|
1656
1660
|
}
|
|
1657
|
-
type Props$
|
|
1661
|
+
type Props$5 = {
|
|
1658
1662
|
items?: GridItemProps[];
|
|
1659
1663
|
} & ResponsiveProps$1;
|
|
1660
|
-
type NativeAttrs$
|
|
1661
|
-
type GridSubProps = Props$
|
|
1664
|
+
type NativeAttrs$5 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$5>;
|
|
1665
|
+
type GridSubProps = Props$5 & NativeAttrs$5;
|
|
1662
1666
|
declare const GridSub: react.ForwardRefExoticComponent<{
|
|
1663
1667
|
items?: GridItemProps[];
|
|
1664
|
-
} & ResponsiveProps$1 & NativeAttrs$
|
|
1668
|
+
} & ResponsiveProps$1 & NativeAttrs$5 & react.RefAttributes<HTMLDivElement>>;
|
|
1665
1669
|
|
|
1666
1670
|
type GridMode = 'container' | 'screen' | 'css';
|
|
1667
1671
|
|
|
@@ -1683,16 +1687,16 @@ interface ResponsiveProps {
|
|
|
1683
1687
|
wrapper?: React.HTMLAttributes<HTMLDivElement>;
|
|
1684
1688
|
};
|
|
1685
1689
|
}
|
|
1686
|
-
type Props$
|
|
1690
|
+
type Props$4 = {
|
|
1687
1691
|
mode?: GridMode;
|
|
1688
1692
|
items?: (GridItemProps | GridSubProps)[];
|
|
1689
1693
|
} & ResponsiveProps;
|
|
1690
|
-
type NativeAttrs$
|
|
1691
|
-
type GridProps = Props$
|
|
1694
|
+
type NativeAttrs$4 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$4>;
|
|
1695
|
+
type GridProps = Props$4 & NativeAttrs$4;
|
|
1692
1696
|
declare const Grid: react.ForwardRefExoticComponent<{
|
|
1693
1697
|
mode?: GridMode;
|
|
1694
1698
|
items?: (GridItemProps | GridSubProps)[];
|
|
1695
|
-
} & ResponsiveProps & NativeAttrs$
|
|
1699
|
+
} & ResponsiveProps & NativeAttrs$4 & react.RefAttributes<HTMLDivElement>>;
|
|
1696
1700
|
|
|
1697
1701
|
interface GridContextValue {
|
|
1698
1702
|
mq: ContainerMediaQuery;
|
|
@@ -1712,7 +1716,7 @@ declare const Html: React.FC<HtmlProps>;
|
|
|
1712
1716
|
|
|
1713
1717
|
type StepColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
1714
1718
|
|
|
1715
|
-
interface Props$
|
|
1719
|
+
interface Props$3 {
|
|
1716
1720
|
value?: string | number | symbol;
|
|
1717
1721
|
title: React.ReactNode;
|
|
1718
1722
|
subtitle: React.ReactNode;
|
|
@@ -1720,18 +1724,18 @@ interface Props$1 {
|
|
|
1720
1724
|
color?: StepColor;
|
|
1721
1725
|
disabled?: boolean;
|
|
1722
1726
|
}
|
|
1723
|
-
type NativeAttrs$
|
|
1724
|
-
type StepProps = Props$
|
|
1727
|
+
type NativeAttrs$3 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$3>;
|
|
1728
|
+
type StepProps = Props$3 & NativeAttrs$3;
|
|
1725
1729
|
declare const Step: React.FC<StepProps>;
|
|
1726
1730
|
|
|
1727
|
-
interface Props {
|
|
1731
|
+
interface Props$2 {
|
|
1728
1732
|
direction?: 'horizontal' | 'vertical';
|
|
1729
1733
|
value?: number | string | symbol;
|
|
1730
1734
|
color?: StepColor;
|
|
1731
1735
|
markPreviousAsChecked?: boolean;
|
|
1732
1736
|
}
|
|
1733
|
-
type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props>;
|
|
1734
|
-
type StepsProps = Props & NativeAttrs;
|
|
1737
|
+
type NativeAttrs$2 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$2>;
|
|
1738
|
+
type StepsProps = Props$2 & NativeAttrs$2;
|
|
1735
1739
|
declare const Steps: React.FC<StepsProps>;
|
|
1736
1740
|
|
|
1737
1741
|
interface StepsContextValue {
|
|
@@ -1751,6 +1755,111 @@ interface StepsContextValue {
|
|
|
1751
1755
|
declare const StepsContext: react.Context<StepsContextValue | null>;
|
|
1752
1756
|
declare const useStepsContext: () => StepsContextValue;
|
|
1753
1757
|
|
|
1758
|
+
interface Props$1 {
|
|
1759
|
+
/**
|
|
1760
|
+
* The HTML element type or React component to render as the menu item.
|
|
1761
|
+
*/
|
|
1762
|
+
as?: React.ElementType;
|
|
1763
|
+
/**
|
|
1764
|
+
* The value associated with the menu item.
|
|
1765
|
+
*/
|
|
1766
|
+
value?: any;
|
|
1767
|
+
/**
|
|
1768
|
+
* The title to display for the menu item.
|
|
1769
|
+
*/
|
|
1770
|
+
title: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* Optional icon to display with the menu item.
|
|
1773
|
+
*/
|
|
1774
|
+
icon?: React.ReactNode;
|
|
1775
|
+
/**
|
|
1776
|
+
* The nesting level of the menu item, for hierarchical menus.
|
|
1777
|
+
*/
|
|
1778
|
+
level?: number;
|
|
1779
|
+
/**
|
|
1780
|
+
* Whether the item is disabled.
|
|
1781
|
+
*/
|
|
1782
|
+
disabled?: boolean;
|
|
1783
|
+
}
|
|
1784
|
+
type NativeAttrs$1 = Omit<React.HTMLAttributes<HTMLElement>, keyof Props$1 | 'items'>;
|
|
1785
|
+
type TreeItemProps = Props$1 & NativeAttrs$1;
|
|
1786
|
+
declare const TreeItem: react.ForwardRefExoticComponent<Props$1 & NativeAttrs$1 & react.RefAttributes<HTMLElement>>;
|
|
1787
|
+
|
|
1788
|
+
type TreeSubmenuProps = Omit<TreeItemProps, 'items'> & {
|
|
1789
|
+
items?: TreeItemType[];
|
|
1790
|
+
};
|
|
1791
|
+
declare const TreeSubmenu: React.FC<TreeSubmenuProps>;
|
|
1792
|
+
|
|
1793
|
+
type TreeGroupItemType = (TreeItemProps & {
|
|
1794
|
+
type?: 'item';
|
|
1795
|
+
}) | (TreeSubmenuProps & {
|
|
1796
|
+
type?: 'submenu';
|
|
1797
|
+
});
|
|
1798
|
+
type TreeGroupProps = Omit<TreeItemProps, 'items'> & {
|
|
1799
|
+
items?: TreeGroupItemType[];
|
|
1800
|
+
};
|
|
1801
|
+
declare const TreeGroup: React.FC<TreeGroupProps>;
|
|
1802
|
+
|
|
1803
|
+
type TreeItemType = (TreeGroupProps & {
|
|
1804
|
+
type?: 'group';
|
|
1805
|
+
}) | (TreeSubmenuProps & {
|
|
1806
|
+
type?: 'submenu';
|
|
1807
|
+
}) | (TreeItemProps & {
|
|
1808
|
+
type?: 'item';
|
|
1809
|
+
});
|
|
1810
|
+
interface Props {
|
|
1811
|
+
/**
|
|
1812
|
+
* The currently selected value of the menu.
|
|
1813
|
+
*/
|
|
1814
|
+
value?: any[];
|
|
1815
|
+
/**
|
|
1816
|
+
* An array of values that represent open submenus in the menu.
|
|
1817
|
+
*/
|
|
1818
|
+
openValues?: any[];
|
|
1819
|
+
expandedValues?: any[];
|
|
1820
|
+
selectedValues?: any[];
|
|
1821
|
+
checkedValues?: any[];
|
|
1822
|
+
/**
|
|
1823
|
+
* The nav mode of the menu, which can be 'manual' or 'automatic'.
|
|
1824
|
+
* Search for the last level of the menu and validate if the value matches.
|
|
1825
|
+
*/
|
|
1826
|
+
navMode?: 'manual' | 'automatic';
|
|
1827
|
+
/**
|
|
1828
|
+
* A callback function called when the selected values of the menu change.
|
|
1829
|
+
*/
|
|
1830
|
+
onChange?: (value: any[]) => void;
|
|
1831
|
+
/**
|
|
1832
|
+
* A callback function called when submenus are opened.
|
|
1833
|
+
*/
|
|
1834
|
+
onOpen?: (values: any[]) => void;
|
|
1835
|
+
/**
|
|
1836
|
+
* A callback function called when a menu item is selected.
|
|
1837
|
+
* @param {TreeItemProps} props - The properties of the selected menu item.
|
|
1838
|
+
*/
|
|
1839
|
+
onItemSelect?: (props: TreeItemProps) => void;
|
|
1840
|
+
}
|
|
1841
|
+
type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props | 'items'>;
|
|
1842
|
+
type TreeProps = Props & NativeAttrs & {
|
|
1843
|
+
items?: TreeItemType[];
|
|
1844
|
+
};
|
|
1845
|
+
declare const Tree: React.FC<TreeProps>;
|
|
1846
|
+
|
|
1847
|
+
interface TreeContextValue {
|
|
1848
|
+
value: any[];
|
|
1849
|
+
originalValue: any[];
|
|
1850
|
+
openValues: any[];
|
|
1851
|
+
expandMode: 'single' | 'multiple';
|
|
1852
|
+
navMode: 'manual' | 'automatic';
|
|
1853
|
+
onChange: (value: any[]) => void;
|
|
1854
|
+
onOpen: (values: any[]) => void;
|
|
1855
|
+
onItemSelect: (props: TreeItemProps) => void;
|
|
1856
|
+
}
|
|
1857
|
+
declare const TreeContext: react.Context<TreeContextValue | null>;
|
|
1858
|
+
declare const useTree: () => TreeContextValue;
|
|
1859
|
+
|
|
1860
|
+
declare const TreeValueContext: react.Context<string[]>;
|
|
1861
|
+
declare const useTreeItemValue: () => string[];
|
|
1862
|
+
|
|
1754
1863
|
declare const scrollToItem: (parentElement: Element, currentElement: Element) => void;
|
|
1755
1864
|
|
|
1756
1865
|
type ClassDictionary = Record<string, any>;
|
|
@@ -1774,4 +1883,4 @@ declare function format(options: FormatOptions): string | undefined;
|
|
|
1774
1883
|
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][];
|
|
1775
1884
|
declare const valuesToValue: <TItem extends Record<string, any>, TKeyField extends keyof TItem>(values: TItem[TKeyField][]) => TItem[TKeyField] | null;
|
|
1776
1885
|
|
|
1777
|
-
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 };
|
|
1886
|
+
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, Tree, TreeContext, type TreeContextValue, TreeGroup, type TreeGroupItemType, type TreeGroupProps, TreeItem, type TreeItemProps, type TreeItemType, type TreeProps, TreeSubmenu, type TreeSubmenuProps, TreeValueContext, 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, useTree, useTreeItemValue, useValueEffect, useVirtualizer, valueToValues, valuesToValue };
|