@unifiedsoftware/react-ui 2.0.0-beta.7 → 2.0.0-beta.9
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 +293 -188
- package/dist/index.js +1 -1
- package/package.json +2 -2
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$
|
|
7
|
+
interface Props$N {
|
|
7
8
|
}
|
|
8
|
-
type NativeAttrs$
|
|
9
|
-
type DividerProps = Props$
|
|
10
|
-
declare const Divider: react.ForwardRefExoticComponent<Props$
|
|
9
|
+
type NativeAttrs$P = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$N>;
|
|
10
|
+
type DividerProps = Props$N & NativeAttrs$P;
|
|
11
|
+
declare const Divider: react.ForwardRefExoticComponent<Props$N & NativeAttrs$P & 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$
|
|
39
|
+
interface Props$M {
|
|
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$
|
|
56
|
-
type AccordionProps = Props$
|
|
57
|
-
declare const Accordion: react.ForwardRefExoticComponent<Props$
|
|
56
|
+
type NativeAttrs$O = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$M>;
|
|
57
|
+
type AccordionProps = Props$M & NativeAttrs$O;
|
|
58
|
+
declare const Accordion: react.ForwardRefExoticComponent<Props$M & NativeAttrs$O & 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$
|
|
67
|
+
interface Props$L {
|
|
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$
|
|
75
|
-
type AccordionItemProps = Props$
|
|
76
|
-
declare const AccordionItem: react.ForwardRefExoticComponent<Props$
|
|
75
|
+
type NativeAttrs$N = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$L>;
|
|
76
|
+
type AccordionItemProps = Props$L & NativeAttrs$N;
|
|
77
|
+
declare const AccordionItem: react.ForwardRefExoticComponent<Props$L & NativeAttrs$N & react.RefAttributes<HTMLDivElement>>;
|
|
77
78
|
|
|
78
|
-
interface Props$
|
|
79
|
+
interface Props$K {
|
|
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$
|
|
97
|
-
type AccordionHeaderProps = Props$
|
|
98
|
-
declare const AccordionHeader: react.ForwardRefExoticComponent<Props$
|
|
97
|
+
type NativeAttrs$M = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$K>;
|
|
98
|
+
type AccordionHeaderProps = Props$K & NativeAttrs$M;
|
|
99
|
+
declare const AccordionHeader: react.ForwardRefExoticComponent<Props$K & NativeAttrs$M & 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$
|
|
494
|
+
interface Props$J {
|
|
494
495
|
}
|
|
495
|
-
type NativeAttrs$
|
|
496
|
-
type InputGroupProps = Props$
|
|
497
|
-
declare const InputGroup: react.ForwardRefExoticComponent<Props$
|
|
496
|
+
type NativeAttrs$L = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$J>;
|
|
497
|
+
type InputGroupProps = Props$J & NativeAttrs$L;
|
|
498
|
+
declare const InputGroup: react.ForwardRefExoticComponent<Props$J & NativeAttrs$L & 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$
|
|
508
|
+
interface Props$I {
|
|
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$
|
|
526
|
-
type ListItemProps = Props$
|
|
527
|
-
declare const ListItem: react__default.ForwardRefExoticComponent<Props$
|
|
526
|
+
type NativeAttrs$K = Omit<react__default.HTMLAttributes<HTMLDivElement>, keyof Props$I>;
|
|
527
|
+
type ListItemProps = Props$I & NativeAttrs$K;
|
|
528
|
+
declare const ListItem: react__default.ForwardRefExoticComponent<Props$I & NativeAttrs$K & react__default.RefAttributes<HTMLDivElement>>;
|
|
528
529
|
|
|
529
|
-
interface Props$
|
|
530
|
+
interface Props$H {
|
|
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$
|
|
538
|
-
type ListGroupProps = Props$
|
|
539
|
-
declare const ListGroup: react.ForwardRefExoticComponent<Props$
|
|
538
|
+
type NativeAttrs$J = Omit<ListItemProps, keyof Props$H>;
|
|
539
|
+
type ListGroupProps = Props$H & NativeAttrs$J;
|
|
540
|
+
declare const ListGroup: react.ForwardRefExoticComponent<Props$H & NativeAttrs$J & 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$
|
|
570
|
+
type NativeAttrs$I<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$G<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$
|
|
590
|
-
type AutocompleteProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$
|
|
590
|
+
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>;
|
|
591
|
+
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
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$
|
|
614
|
+
interface Props$F {
|
|
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$
|
|
623
|
-
type BackdropProps = Props$
|
|
624
|
-
declare const Backdrop: react.ForwardRefExoticComponent<Props$
|
|
623
|
+
type NativeAttrs$H = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$F>;
|
|
624
|
+
type BackdropProps = Props$F & NativeAttrs$H;
|
|
625
|
+
declare const Backdrop: react.ForwardRefExoticComponent<Props$F & NativeAttrs$H & 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$
|
|
630
|
+
interface Props$E {
|
|
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$
|
|
648
|
-
type BadgeProps = Props$
|
|
648
|
+
type NativeAttrs$G = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$E>;
|
|
649
|
+
type BadgeProps = Props$E & NativeAttrs$G;
|
|
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$
|
|
666
|
+
type Props$D<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$
|
|
681
|
-
type DataListProps<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Props$
|
|
681
|
+
type NativeAttrs$F<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$D<TDataListItem, TDataListKeyField>>;
|
|
682
|
+
type DataListProps<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Props$D<TDataListItem, TDataListKeyField> & NativeAttrs$F<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$
|
|
691
|
+
interface Props$C {
|
|
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$
|
|
736
|
-
type ButtonProps = Props$
|
|
737
|
-
declare const Button: react.ForwardRefExoticComponent<Props$
|
|
736
|
+
type NativeAttrs$E = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof Props$C>;
|
|
737
|
+
type ButtonProps = Props$C & NativeAttrs$E;
|
|
738
|
+
declare const Button: react.ForwardRefExoticComponent<Props$C & NativeAttrs$E & react.RefAttributes<HTMLButtonElement>>;
|
|
738
739
|
|
|
739
|
-
interface Props$
|
|
740
|
+
interface Props$B {
|
|
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$
|
|
747
|
-
type ButtonGroupProps = Props$
|
|
748
|
-
declare const ButtonGroup: react.ForwardRefExoticComponent<Props$
|
|
747
|
+
type NativeAttrs$D = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$B>;
|
|
748
|
+
type ButtonGroupProps = Props$B & NativeAttrs$D;
|
|
749
|
+
declare const ButtonGroup: react.ForwardRefExoticComponent<Props$B & NativeAttrs$D & 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$
|
|
763
|
+
interface Props$A {
|
|
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$
|
|
773
|
-
type CardProps = Props$
|
|
774
|
-
declare const Card: react.ForwardRefExoticComponent<Props$
|
|
773
|
+
type NativeAttrs$C = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$A>;
|
|
774
|
+
type CardProps = Props$A & NativeAttrs$C;
|
|
775
|
+
declare const Card: react.ForwardRefExoticComponent<Props$A & NativeAttrs$C & 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$
|
|
780
|
+
interface Props$z {
|
|
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$
|
|
806
|
-
type CardHeaderProps = Props$
|
|
807
|
-
declare const CardHeader: react.ForwardRefExoticComponent<Props$
|
|
806
|
+
type NativeAttrs$B = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$z>;
|
|
807
|
+
type CardHeaderProps = Props$z & NativeAttrs$B;
|
|
808
|
+
declare const CardHeader: react.ForwardRefExoticComponent<Props$z & NativeAttrs$B & react.RefAttributes<HTMLDivElement>>;
|
|
808
809
|
|
|
809
|
-
interface Props$
|
|
810
|
+
interface Props$y {
|
|
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$
|
|
818
|
-
type CardFooterProps = Props$
|
|
819
|
-
declare const CardFooter: react.ForwardRefExoticComponent<Props$
|
|
818
|
+
type NativeAttrs$A = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$y>;
|
|
819
|
+
type CardFooterProps = Props$y & NativeAttrs$A;
|
|
820
|
+
declare const CardFooter: react.ForwardRefExoticComponent<Props$y & NativeAttrs$A & 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$
|
|
831
|
+
interface Props$x {
|
|
831
832
|
as?: React.ElementType;
|
|
832
833
|
centered?: boolean;
|
|
833
834
|
css?: BoxCSS;
|
|
834
835
|
}
|
|
835
|
-
type NativeAttrs$
|
|
836
|
-
type CardTitleProps = Props$
|
|
837
|
-
declare const CardTitle: react.ForwardRefExoticComponent<Props$
|
|
836
|
+
type NativeAttrs$z = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$x>;
|
|
837
|
+
type CardTitleProps = Props$x & NativeAttrs$z;
|
|
838
|
+
declare const CardTitle: react.ForwardRefExoticComponent<Props$x & NativeAttrs$z & react.RefAttributes<HTMLDivElement>>;
|
|
838
839
|
|
|
839
|
-
interface Props$
|
|
840
|
+
interface Props$w {
|
|
840
841
|
as?: React.ElementType;
|
|
841
842
|
css?: BoxCSS;
|
|
842
843
|
}
|
|
843
|
-
type NativeAttrs$
|
|
844
|
-
type CardSubtitleProps = Props$
|
|
845
|
-
declare const CardSubtitle: react.ForwardRefExoticComponent<Props$
|
|
844
|
+
type NativeAttrs$y = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$w>;
|
|
845
|
+
type CardSubtitleProps = Props$w & NativeAttrs$y;
|
|
846
|
+
declare const CardSubtitle: react.ForwardRefExoticComponent<Props$w & NativeAttrs$y & 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$
|
|
852
|
+
interface Props$v {
|
|
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$
|
|
890
|
-
type ChipProps = Props$
|
|
891
|
-
declare const Chip: react.ForwardRefExoticComponent<Props$
|
|
890
|
+
type NativeAttrs$x = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$v>;
|
|
891
|
+
type ChipProps = Props$v & NativeAttrs$x;
|
|
892
|
+
declare const Chip: react.ForwardRefExoticComponent<Props$v & NativeAttrs$x & 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$
|
|
937
|
+
interface Props$u {
|
|
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$
|
|
953
|
-
type DrawerProps = Props$
|
|
954
|
-
declare const Drawer: react.ForwardRefExoticComponent<Props$
|
|
954
|
+
type NativeAttrs$w = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$u>;
|
|
955
|
+
type DrawerProps = Props$u & NativeAttrs$w;
|
|
956
|
+
declare const Drawer: react.ForwardRefExoticComponent<Props$u & NativeAttrs$w & react.RefAttributes<HTMLDivElement>>;
|
|
955
957
|
|
|
956
|
-
interface Props$
|
|
958
|
+
interface Props$t {
|
|
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$
|
|
973
|
-
type DrawerHeaderProps = Props$
|
|
974
|
-
declare const DrawerHeader: react.ForwardRefExoticComponent<Props$
|
|
974
|
+
type NativeAttrs$v = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$t>;
|
|
975
|
+
type DrawerHeaderProps = Props$t & NativeAttrs$v;
|
|
976
|
+
declare const DrawerHeader: react.ForwardRefExoticComponent<Props$t & NativeAttrs$v & 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$
|
|
981
|
+
interface Props$s {
|
|
980
982
|
as?: React.ElementType;
|
|
981
983
|
bordered?: boolean;
|
|
982
984
|
}
|
|
983
|
-
type NativeAttrs$
|
|
984
|
-
type DrawerFooterProps = Props$
|
|
985
|
-
declare const DrawerFooter: react.ForwardRefExoticComponent<Props$
|
|
985
|
+
type NativeAttrs$u = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$s>;
|
|
986
|
+
type DrawerFooterProps = Props$s & NativeAttrs$u;
|
|
987
|
+
declare const DrawerFooter: react.ForwardRefExoticComponent<Props$s & NativeAttrs$u & react.RefAttributes<HTMLDivElement>>;
|
|
986
988
|
|
|
987
989
|
interface DrawerContextValue {
|
|
988
990
|
isOpen: boolean;
|
|
@@ -1006,7 +1008,7 @@ interface IconProps {
|
|
|
1006
1008
|
}
|
|
1007
1009
|
declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<unknown>>;
|
|
1008
1010
|
|
|
1009
|
-
interface Props$
|
|
1011
|
+
interface Props$r {
|
|
1010
1012
|
/**
|
|
1011
1013
|
* The HTML element type or React component to render as the menu item.
|
|
1012
1014
|
*/
|
|
@@ -1032,9 +1034,9 @@ interface Props$p {
|
|
|
1032
1034
|
*/
|
|
1033
1035
|
disabled?: boolean;
|
|
1034
1036
|
}
|
|
1035
|
-
type NativeAttrs$
|
|
1036
|
-
type MenuItemProps = Props$
|
|
1037
|
-
declare const MenuItem: react.ForwardRefExoticComponent<Props$
|
|
1037
|
+
type NativeAttrs$t = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$r | 'items'>;
|
|
1038
|
+
type MenuItemProps = Props$r & NativeAttrs$t;
|
|
1039
|
+
declare const MenuItem: react.ForwardRefExoticComponent<Props$r & NativeAttrs$t & react.RefAttributes<HTMLDivElement>>;
|
|
1038
1040
|
|
|
1039
1041
|
type MenuSubmenuProps = Omit<MenuItemProps, 'items'> & {
|
|
1040
1042
|
items?: MenuItemType[];
|
|
@@ -1058,7 +1060,7 @@ type MenuItemType = (MenuGroupProps & {
|
|
|
1058
1060
|
}) | (MenuItemProps & {
|
|
1059
1061
|
type?: 'item';
|
|
1060
1062
|
});
|
|
1061
|
-
interface Props$
|
|
1063
|
+
interface Props$q {
|
|
1062
1064
|
/**
|
|
1063
1065
|
* The currently selected value of the menu.
|
|
1064
1066
|
*/
|
|
@@ -1094,8 +1096,8 @@ interface Props$o {
|
|
|
1094
1096
|
*/
|
|
1095
1097
|
onItemSelect?: (props: MenuItemProps) => void;
|
|
1096
1098
|
}
|
|
1097
|
-
type NativeAttrs$
|
|
1098
|
-
type MenuProps = Props$
|
|
1099
|
+
type NativeAttrs$s = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$q | 'items'>;
|
|
1100
|
+
type MenuProps = Props$q & NativeAttrs$s & {
|
|
1099
1101
|
items?: MenuItemType[];
|
|
1100
1102
|
};
|
|
1101
1103
|
declare const Menu: React.FC<MenuProps>;
|
|
@@ -1170,7 +1172,7 @@ declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & reac
|
|
|
1170
1172
|
|
|
1171
1173
|
type SelectMultiple = false;
|
|
1172
1174
|
type SelectClearable = false;
|
|
1173
|
-
type NativeAttrs$
|
|
1175
|
+
type NativeAttrs$r<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$p<TItem, TKeyField>>;
|
|
1174
1176
|
type BaseProps<TItem extends Record<string, any>> = {
|
|
1175
1177
|
textField?: keyof TItem;
|
|
1176
1178
|
placeholder?: string;
|
|
@@ -1188,8 +1190,8 @@ type BaseProps<TItem extends Record<string, any>> = {
|
|
|
1188
1190
|
renderItem?: (item: TItem, props: ListItemProps) => React.ReactNode;
|
|
1189
1191
|
renderNoData?: (props: ResultProps) => React.ReactNode;
|
|
1190
1192
|
};
|
|
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$
|
|
1193
|
+
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>;
|
|
1194
|
+
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
1195
|
|
|
1194
1196
|
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
1197
|
|
|
@@ -1213,20 +1215,20 @@ type SwitchSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
1213
1215
|
type SwitchLabelPlacement = 'before' | 'after';
|
|
1214
1216
|
type SwitchColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
|
|
1215
1217
|
|
|
1216
|
-
interface Props$
|
|
1218
|
+
interface Props$o {
|
|
1217
1219
|
size?: SwitchSize;
|
|
1218
1220
|
labelPlacement?: SwitchLabelPlacement;
|
|
1219
1221
|
color?: SwitchColor;
|
|
1220
1222
|
}
|
|
1221
|
-
type NativeAttrs$
|
|
1222
|
-
type SwitchProps = Props$
|
|
1223
|
-
declare const Switch: react.ForwardRefExoticComponent<Props$
|
|
1223
|
+
type NativeAttrs$q = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$o | 'value' | 'defaultValue'>;
|
|
1224
|
+
type SwitchProps = Props$o & NativeAttrs$q;
|
|
1225
|
+
declare const Switch: react.ForwardRefExoticComponent<Props$o & NativeAttrs$q & react.RefAttributes<HTMLInputElement>>;
|
|
1224
1226
|
|
|
1225
1227
|
type TabsVariant = 'underlined' | 'outlined' | 'pills';
|
|
1226
1228
|
type TabValue = string | number | symbol;
|
|
1227
1229
|
type TabsAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1228
1230
|
|
|
1229
|
-
interface Props$
|
|
1231
|
+
interface Props$n<TTabValue extends TabValue = TabValue> {
|
|
1230
1232
|
/**
|
|
1231
1233
|
* The HTML element type or React component to render as the tab.
|
|
1232
1234
|
*/
|
|
@@ -1252,11 +1254,11 @@ interface Props$l<TTabValue extends TabValue = TabValue> {
|
|
|
1252
1254
|
*/
|
|
1253
1255
|
endContent?: React.ReactNode;
|
|
1254
1256
|
}
|
|
1255
|
-
type NativeAttrs$
|
|
1256
|
-
type TabProps<TTabValue extends TabValue = TabValue> = Props$
|
|
1257
|
-
declare const Tab: react.ForwardRefExoticComponent<Props$
|
|
1257
|
+
type NativeAttrs$p = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$n>;
|
|
1258
|
+
type TabProps<TTabValue extends TabValue = TabValue> = Props$n<TTabValue> & NativeAttrs$p;
|
|
1259
|
+
declare const Tab: react.ForwardRefExoticComponent<Props$n<TabValue> & NativeAttrs$p & react.RefAttributes<HTMLDivElement>>;
|
|
1258
1260
|
|
|
1259
|
-
interface Props$
|
|
1261
|
+
interface Props$m<TTabValue extends TabValue = TabValue> {
|
|
1260
1262
|
/**
|
|
1261
1263
|
* The currently selected value of the tabs.
|
|
1262
1264
|
*/
|
|
@@ -1279,11 +1281,11 @@ interface Props$k<TTabValue extends TabValue = TabValue> {
|
|
|
1279
1281
|
*/
|
|
1280
1282
|
onClose?: (value: TTabValue) => void;
|
|
1281
1283
|
}
|
|
1282
|
-
type NativeAttrs$
|
|
1283
|
-
type TabsProps<TTabValue extends TabValue = TabValue> = Props$
|
|
1284
|
-
declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$
|
|
1284
|
+
type NativeAttrs$o = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$m>;
|
|
1285
|
+
type TabsProps<TTabValue extends TabValue = TabValue> = Props$m<TTabValue> & NativeAttrs$o;
|
|
1286
|
+
declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$m<TTabValue> & NativeAttrs$o & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
|
|
1285
1287
|
|
|
1286
|
-
interface Props$
|
|
1288
|
+
interface Props$l {
|
|
1287
1289
|
inputRef?: React.RefObject<HTMLInputElement>;
|
|
1288
1290
|
variant?: InputVariant;
|
|
1289
1291
|
color?: InputColor;
|
|
@@ -1292,13 +1294,13 @@ interface Props$j {
|
|
|
1292
1294
|
endContent?: React.ReactNode;
|
|
1293
1295
|
css?: BoxCSS;
|
|
1294
1296
|
}
|
|
1295
|
-
type NativeAttrs$
|
|
1296
|
-
type TextInputProps = Props$
|
|
1297
|
-
declare const TextInput: react.ForwardRefExoticComponent<Props$
|
|
1297
|
+
type NativeAttrs$n = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$l>;
|
|
1298
|
+
type TextInputProps = Props$l & NativeAttrs$n;
|
|
1299
|
+
declare const TextInput: react.ForwardRefExoticComponent<Props$l & NativeAttrs$n & react.RefAttributes<HTMLInputElement>>;
|
|
1298
1300
|
|
|
1299
1301
|
type ToolbarSize = 'auto' | 'sm' | 'md' | 'lg';
|
|
1300
1302
|
|
|
1301
|
-
interface Props$
|
|
1303
|
+
interface Props$k {
|
|
1302
1304
|
size?: ToolbarSize;
|
|
1303
1305
|
title?: React.ReactNode;
|
|
1304
1306
|
subtitle?: React.ReactNode;
|
|
@@ -1320,8 +1322,8 @@ interface Props$i {
|
|
|
1320
1322
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
1321
1323
|
};
|
|
1322
1324
|
}
|
|
1323
|
-
type NativeAttrs$
|
|
1324
|
-
type ToolbarProps = Props$
|
|
1325
|
+
type NativeAttrs$m = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$k>;
|
|
1326
|
+
type ToolbarProps = Props$k & NativeAttrs$m;
|
|
1325
1327
|
declare const Toolbar: React.FC<ToolbarProps>;
|
|
1326
1328
|
|
|
1327
1329
|
interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
|
|
@@ -1336,22 +1338,22 @@ interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
1336
1338
|
}
|
|
1337
1339
|
declare const Transition: React.FC<TransitionProps>;
|
|
1338
1340
|
|
|
1339
|
-
interface Props$
|
|
1341
|
+
interface Props$j {
|
|
1340
1342
|
/**
|
|
1341
1343
|
* The HTML element type or React component to render as the tab.
|
|
1342
1344
|
*/
|
|
1343
1345
|
as?: React.ElementType;
|
|
1344
1346
|
width?: number;
|
|
1345
1347
|
}
|
|
1346
|
-
type NativeAttrs$
|
|
1347
|
-
type SwipeItemProps = Props$
|
|
1348
|
-
declare const SwipeItem: react.ForwardRefExoticComponent<Props$
|
|
1348
|
+
type NativeAttrs$l = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$j>;
|
|
1349
|
+
type SwipeItemProps = Props$j & NativeAttrs$l;
|
|
1350
|
+
declare const SwipeItem: react.ForwardRefExoticComponent<Props$j & NativeAttrs$l & {
|
|
1349
1351
|
children?: react.ReactNode | undefined;
|
|
1350
1352
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1351
1353
|
|
|
1352
1354
|
type SwiperAlignmet = 'start' | 'center' | 'end';
|
|
1353
1355
|
|
|
1354
|
-
interface Props$
|
|
1356
|
+
interface Props$i {
|
|
1355
1357
|
gap?: number;
|
|
1356
1358
|
alignment?: SwiperAlignmet;
|
|
1357
1359
|
autoHide?: boolean;
|
|
@@ -1361,8 +1363,8 @@ interface Props$g {
|
|
|
1361
1363
|
arrowRightButton?: ButtonProps;
|
|
1362
1364
|
};
|
|
1363
1365
|
}
|
|
1364
|
-
type NativeAttrs$
|
|
1365
|
-
type SwipeProps = Props$
|
|
1366
|
+
type NativeAttrs$k = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$i>;
|
|
1367
|
+
type SwipeProps = Props$i & NativeAttrs$k;
|
|
1366
1368
|
declare const Swipe: React.FC<SwipeProps>;
|
|
1367
1369
|
|
|
1368
1370
|
type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
@@ -1374,7 +1376,7 @@ interface ModalClose {
|
|
|
1374
1376
|
type ModalScrollBehavior = 'inside' | 'outside';
|
|
1375
1377
|
type ModalBackdrop = BackdropVariant;
|
|
1376
1378
|
|
|
1377
|
-
interface Props$
|
|
1379
|
+
interface Props$h {
|
|
1378
1380
|
isOpen: boolean;
|
|
1379
1381
|
size?: ModalSize;
|
|
1380
1382
|
backdrop?: ModalBackdrop;
|
|
@@ -1389,9 +1391,9 @@ interface Props$f {
|
|
|
1389
1391
|
onClose: () => void;
|
|
1390
1392
|
onAfterClose?: () => void;
|
|
1391
1393
|
}
|
|
1392
|
-
type NativeAttrs$
|
|
1393
|
-
type ModalProps = Props$
|
|
1394
|
-
declare const Modal: react.ForwardRefExoticComponent<Props$
|
|
1394
|
+
type NativeAttrs$j = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$h>;
|
|
1395
|
+
type ModalProps = Props$h & NativeAttrs$j;
|
|
1396
|
+
declare const Modal: react.ForwardRefExoticComponent<Props$h & NativeAttrs$j & react.RefAttributes<HTMLDivElement>>;
|
|
1395
1397
|
|
|
1396
1398
|
type ModalBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1397
1399
|
declare const ModalBody: React.FC<ModalBodyProps>;
|
|
@@ -1406,15 +1408,15 @@ interface ModalContextValue {
|
|
|
1406
1408
|
}
|
|
1407
1409
|
declare function useModal(): ModalContextValue;
|
|
1408
1410
|
|
|
1409
|
-
interface Props$
|
|
1411
|
+
interface Props$g {
|
|
1410
1412
|
as?: React.ElementType;
|
|
1411
1413
|
bordered?: boolean;
|
|
1412
1414
|
}
|
|
1413
|
-
type NativeAttrs$
|
|
1414
|
-
type ModalFooterProps = Props$
|
|
1415
|
-
declare const ModalFooter: react.ForwardRefExoticComponent<Props$
|
|
1415
|
+
type NativeAttrs$i = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$g>;
|
|
1416
|
+
type ModalFooterProps = Props$g & NativeAttrs$i;
|
|
1417
|
+
declare const ModalFooter: react.ForwardRefExoticComponent<Props$g & NativeAttrs$i & react.RefAttributes<HTMLDivElement>>;
|
|
1416
1418
|
|
|
1417
|
-
interface Props$
|
|
1419
|
+
interface Props$f {
|
|
1418
1420
|
as?: React.ElementType;
|
|
1419
1421
|
title?: React.ReactNode;
|
|
1420
1422
|
subtitle?: React.ReactNode;
|
|
@@ -1430,9 +1432,9 @@ interface Props$d {
|
|
|
1430
1432
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
1431
1433
|
};
|
|
1432
1434
|
}
|
|
1433
|
-
type NativeAttrs$
|
|
1434
|
-
type ModalHeaderProps = Props$
|
|
1435
|
-
declare const ModalHeader: react.ForwardRefExoticComponent<Props$
|
|
1435
|
+
type NativeAttrs$h = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$f>;
|
|
1436
|
+
type ModalHeaderProps = Props$f & NativeAttrs$h;
|
|
1437
|
+
declare const ModalHeader: react.ForwardRefExoticComponent<Props$f & NativeAttrs$h & react.RefAttributes<HTMLDivElement>>;
|
|
1436
1438
|
|
|
1437
1439
|
type CheckboxValue = string | number | symbol;
|
|
1438
1440
|
type CheckboxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -1441,17 +1443,18 @@ type CheckboxGroupDirection = 'row' | 'col';
|
|
|
1441
1443
|
type CheckboxGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1442
1444
|
type CheckboxColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
|
|
1443
1445
|
|
|
1444
|
-
interface Props$
|
|
1446
|
+
interface Props$e<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1445
1447
|
value?: TCheckboxValue;
|
|
1446
1448
|
size?: CheckboxSize;
|
|
1447
1449
|
labelPlacement?: CheckboxLabelPlacement;
|
|
1448
1450
|
color?: CheckboxColor;
|
|
1451
|
+
indeterminate?: boolean;
|
|
1449
1452
|
}
|
|
1450
|
-
type NativeAttrs$
|
|
1451
|
-
type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$
|
|
1452
|
-
declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$
|
|
1453
|
+
type NativeAttrs$g = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$e | 'defaultValue'>;
|
|
1454
|
+
type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$e<TCheckboxValue> & NativeAttrs$g;
|
|
1455
|
+
declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$e<TCheckboxValue> & NativeAttrs$g & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
|
|
1453
1456
|
|
|
1454
|
-
interface Props$
|
|
1457
|
+
interface Props$d<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1455
1458
|
value?: TCheckboxValue[];
|
|
1456
1459
|
defaultValue?: TCheckboxValue[];
|
|
1457
1460
|
disabled?: boolean;
|
|
@@ -1463,9 +1466,9 @@ interface Props$b<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
|
1463
1466
|
color?: CheckboxColor;
|
|
1464
1467
|
onChange?: (value: TCheckboxValue[]) => void;
|
|
1465
1468
|
}
|
|
1466
|
-
type NativeAttrs$
|
|
1467
|
-
type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$
|
|
1468
|
-
declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$
|
|
1469
|
+
type NativeAttrs$f = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$d>;
|
|
1470
|
+
type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$d<TCheckboxValue> & NativeAttrs$f;
|
|
1471
|
+
declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$d<TCheckboxValue> & NativeAttrs$f & react.RefAttributes<HTMLTableElement>) => ReturnType<React.FunctionComponent>;
|
|
1469
1472
|
|
|
1470
1473
|
interface CheckboxGroupContextValue<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1471
1474
|
value: TCheckboxValue[];
|
|
@@ -1487,7 +1490,7 @@ type RadioGroupDirection = 'row' | 'col';
|
|
|
1487
1490
|
type RadioGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1488
1491
|
type RadioColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
|
|
1489
1492
|
|
|
1490
|
-
interface Props$
|
|
1493
|
+
interface Props$c<TRadioValue extends RadioValue = RadioValue> {
|
|
1491
1494
|
value?: TRadioValue;
|
|
1492
1495
|
disabled?: boolean;
|
|
1493
1496
|
readOnly?: boolean;
|
|
@@ -1495,11 +1498,11 @@ interface Props$a<TRadioValue extends RadioValue = RadioValue> {
|
|
|
1495
1498
|
labelPlacement?: RadioLabelPlacement;
|
|
1496
1499
|
colorScheme?: ColorScheme;
|
|
1497
1500
|
}
|
|
1498
|
-
type NativeAttrs$
|
|
1499
|
-
type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$
|
|
1500
|
-
declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$
|
|
1501
|
+
type NativeAttrs$e = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$c | 'defaultValue' | 'checked' | 'defaultChecked' | 'onChange'>;
|
|
1502
|
+
type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$c<TRadioValue> & NativeAttrs$e;
|
|
1503
|
+
declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$c<TRadioValue> & NativeAttrs$e & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
|
|
1501
1504
|
|
|
1502
|
-
interface Props$
|
|
1505
|
+
interface Props$b<TRadioValue extends RadioValue = RadioValue> {
|
|
1503
1506
|
name?: string;
|
|
1504
1507
|
value?: TRadioValue;
|
|
1505
1508
|
defaultValue?: TRadioValue;
|
|
@@ -1512,9 +1515,9 @@ interface Props$9<TRadioValue extends RadioValue = RadioValue> {
|
|
|
1512
1515
|
color?: RadioColor;
|
|
1513
1516
|
onChange?: (value: TRadioValue) => void;
|
|
1514
1517
|
}
|
|
1515
|
-
type NativeAttrs$
|
|
1516
|
-
type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$
|
|
1517
|
-
declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$
|
|
1518
|
+
type NativeAttrs$d = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$b>;
|
|
1519
|
+
type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$b<TRadioValue> & NativeAttrs$d;
|
|
1520
|
+
declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$b<TRadioValue> & NativeAttrs$d & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
|
|
1518
1521
|
|
|
1519
1522
|
interface RadioGroupContextValue {
|
|
1520
1523
|
name: string;
|
|
@@ -1532,16 +1535,16 @@ declare const useRadioGroup: () => RadioGroupContextValue;
|
|
|
1532
1535
|
|
|
1533
1536
|
type NavRailPlacement = 'left' | 'right';
|
|
1534
1537
|
|
|
1535
|
-
interface Props$
|
|
1538
|
+
interface Props$a {
|
|
1536
1539
|
startContent?: React.ReactNode;
|
|
1537
1540
|
endContent?: React.ReactNode;
|
|
1538
1541
|
placement?: NavRailPlacement;
|
|
1539
1542
|
}
|
|
1540
|
-
type NativeAttrs$
|
|
1541
|
-
type NavRailProps = Props$
|
|
1543
|
+
type NativeAttrs$c = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$a>;
|
|
1544
|
+
type NavRailProps = Props$a & NativeAttrs$c;
|
|
1542
1545
|
declare const NavRail: React.FC<NavRailProps>;
|
|
1543
1546
|
|
|
1544
|
-
interface Props$
|
|
1547
|
+
interface Props$9 {
|
|
1545
1548
|
as?: React.ElementType;
|
|
1546
1549
|
icon?: React.ReactNode;
|
|
1547
1550
|
media?: React.ReactNode;
|
|
@@ -1551,11 +1554,11 @@ interface Props$7 {
|
|
|
1551
1554
|
label?: React.HTMLAttributes<HTMLDivElement>;
|
|
1552
1555
|
};
|
|
1553
1556
|
}
|
|
1554
|
-
type NativeAttrs$
|
|
1555
|
-
type NavRailItemProps = Props$
|
|
1556
|
-
declare const NavRailItem: react.ForwardRefExoticComponent<Props$
|
|
1557
|
+
type NativeAttrs$b = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$9>;
|
|
1558
|
+
type NavRailItemProps = Props$9 & NativeAttrs$b;
|
|
1559
|
+
declare const NavRailItem: react.ForwardRefExoticComponent<Props$9 & NativeAttrs$b & react.RefAttributes<HTMLDivElement>>;
|
|
1557
1560
|
|
|
1558
|
-
type Props$
|
|
1561
|
+
type Props$8 = {
|
|
1559
1562
|
as?: React.ElementType;
|
|
1560
1563
|
label: React.ReactNode;
|
|
1561
1564
|
span?: Responsive<number>;
|
|
@@ -1571,20 +1574,20 @@ type Props$6 = {
|
|
|
1571
1574
|
mq: ContainerMediaQuery;
|
|
1572
1575
|
}) => React.ReactNode;
|
|
1573
1576
|
} & FormatOptions;
|
|
1574
|
-
type NativeAttrs$
|
|
1575
|
-
type DescriptionProps = Props$
|
|
1577
|
+
type NativeAttrs$a = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$8 | 'children'>;
|
|
1578
|
+
type DescriptionProps = Props$8 & NativeAttrs$a;
|
|
1576
1579
|
declare const Description: react.ForwardRefExoticComponent<DescriptionProps & react.RefAttributes<HTMLDivElement>>;
|
|
1577
1580
|
|
|
1578
|
-
type NativeAttrs$
|
|
1579
|
-
type DescriptionEmptyProps = NativeAttrs$
|
|
1580
|
-
declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$
|
|
1581
|
+
type NativeAttrs$9 = React.HTMLAttributes<HTMLDivElement>;
|
|
1582
|
+
type DescriptionEmptyProps = NativeAttrs$9;
|
|
1583
|
+
declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$9 & react.RefAttributes<HTMLDivElement>>;
|
|
1581
1584
|
|
|
1582
1585
|
type DescriptionsLayout = 'row' | 'col';
|
|
1583
1586
|
type DescriptionsSize = 'sm' | 'md' | 'lg';
|
|
1584
1587
|
type DescriptionsAlign = React.CSSProperties['textAlign'];
|
|
1585
1588
|
type DescriptionsMode = 'container' | 'screen' | 'css';
|
|
1586
1589
|
|
|
1587
|
-
interface Props$
|
|
1590
|
+
interface Props$7 {
|
|
1588
1591
|
as?: React.ElementType;
|
|
1589
1592
|
mode?: DescriptionsMode;
|
|
1590
1593
|
items?: DescriptionProps[];
|
|
@@ -1595,9 +1598,9 @@ interface Props$5 {
|
|
|
1595
1598
|
labelAlign?: Responsive<DescriptionsAlign>;
|
|
1596
1599
|
contentAlign?: Responsive<DescriptionsAlign>;
|
|
1597
1600
|
}
|
|
1598
|
-
type NativeAttrs$
|
|
1599
|
-
type DescriptionsProps = Props$
|
|
1600
|
-
declare const Descriptions: react.ForwardRefExoticComponent<Props$
|
|
1601
|
+
type NativeAttrs$8 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$7 | 'children'>;
|
|
1602
|
+
type DescriptionsProps = Props$7 & NativeAttrs$8;
|
|
1603
|
+
declare const Descriptions: react.ForwardRefExoticComponent<Props$7 & NativeAttrs$8 & react.RefAttributes<HTMLDivElement>>;
|
|
1601
1604
|
|
|
1602
1605
|
interface DescriptionsContextValue {
|
|
1603
1606
|
mq: ContainerMediaQuery;
|
|
@@ -1610,9 +1613,9 @@ interface DescriptionsContextValue {
|
|
|
1610
1613
|
declare const DescriptionsContext: react.Context<DescriptionsContextValue | null>;
|
|
1611
1614
|
declare const useDescriptionsContext: () => DescriptionsContextValue;
|
|
1612
1615
|
|
|
1613
|
-
type NativeAttrs$
|
|
1614
|
-
type DescriptionTextProps = NativeAttrs$
|
|
1615
|
-
declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$
|
|
1616
|
+
type NativeAttrs$7 = React.HTMLAttributes<HTMLDivElement>;
|
|
1617
|
+
type DescriptionTextProps = NativeAttrs$7;
|
|
1618
|
+
declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$7 & react.RefAttributes<HTMLDivElement>>;
|
|
1616
1619
|
|
|
1617
1620
|
declare function reactNodeToText(node: React.ReactNode): string;
|
|
1618
1621
|
|
|
@@ -1632,14 +1635,14 @@ interface ResponsiveProps$2 {
|
|
|
1632
1635
|
justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
|
|
1633
1636
|
alignItems?: Responsive<React.CSSProperties['alignItems']>;
|
|
1634
1637
|
}
|
|
1635
|
-
type Props$
|
|
1638
|
+
type Props$6 = {
|
|
1636
1639
|
as?: React.ElementType;
|
|
1637
1640
|
} & ResponsiveProps$2;
|
|
1638
|
-
type NativeAttrs$
|
|
1639
|
-
type GridItemProps = Props$
|
|
1641
|
+
type NativeAttrs$6 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$6>;
|
|
1642
|
+
type GridItemProps = Props$6 & NativeAttrs$6;
|
|
1640
1643
|
declare const GridItem: react.ForwardRefExoticComponent<{
|
|
1641
1644
|
as?: React.ElementType;
|
|
1642
|
-
} & ResponsiveProps$2 & NativeAttrs$
|
|
1645
|
+
} & ResponsiveProps$2 & NativeAttrs$6 & react.RefAttributes<HTMLDivElement>>;
|
|
1643
1646
|
|
|
1644
1647
|
interface ResponsiveProps$1 {
|
|
1645
1648
|
cols?: Responsive<number>;
|
|
@@ -1657,14 +1660,14 @@ interface ResponsiveProps$1 {
|
|
|
1657
1660
|
justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
|
|
1658
1661
|
alignItems?: Responsive<React.CSSProperties['alignItems']>;
|
|
1659
1662
|
}
|
|
1660
|
-
type Props$
|
|
1663
|
+
type Props$5 = {
|
|
1661
1664
|
items?: GridItemProps[];
|
|
1662
1665
|
} & ResponsiveProps$1;
|
|
1663
|
-
type NativeAttrs$
|
|
1664
|
-
type GridSubProps = Props$
|
|
1666
|
+
type NativeAttrs$5 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$5>;
|
|
1667
|
+
type GridSubProps = Props$5 & NativeAttrs$5;
|
|
1665
1668
|
declare const GridSub: react.ForwardRefExoticComponent<{
|
|
1666
1669
|
items?: GridItemProps[];
|
|
1667
|
-
} & ResponsiveProps$1 & NativeAttrs$
|
|
1670
|
+
} & ResponsiveProps$1 & NativeAttrs$5 & react.RefAttributes<HTMLDivElement>>;
|
|
1668
1671
|
|
|
1669
1672
|
type GridMode = 'container' | 'screen' | 'css';
|
|
1670
1673
|
|
|
@@ -1686,16 +1689,16 @@ interface ResponsiveProps {
|
|
|
1686
1689
|
wrapper?: React.HTMLAttributes<HTMLDivElement>;
|
|
1687
1690
|
};
|
|
1688
1691
|
}
|
|
1689
|
-
type Props$
|
|
1692
|
+
type Props$4 = {
|
|
1690
1693
|
mode?: GridMode;
|
|
1691
1694
|
items?: (GridItemProps | GridSubProps)[];
|
|
1692
1695
|
} & ResponsiveProps;
|
|
1693
|
-
type NativeAttrs$
|
|
1694
|
-
type GridProps = Props$
|
|
1696
|
+
type NativeAttrs$4 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$4>;
|
|
1697
|
+
type GridProps = Props$4 & NativeAttrs$4;
|
|
1695
1698
|
declare const Grid: react.ForwardRefExoticComponent<{
|
|
1696
1699
|
mode?: GridMode;
|
|
1697
1700
|
items?: (GridItemProps | GridSubProps)[];
|
|
1698
|
-
} & ResponsiveProps & NativeAttrs$
|
|
1701
|
+
} & ResponsiveProps & NativeAttrs$4 & react.RefAttributes<HTMLDivElement>>;
|
|
1699
1702
|
|
|
1700
1703
|
interface GridContextValue {
|
|
1701
1704
|
mq: ContainerMediaQuery;
|
|
@@ -1715,7 +1718,7 @@ declare const Html: React.FC<HtmlProps>;
|
|
|
1715
1718
|
|
|
1716
1719
|
type StepColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
1717
1720
|
|
|
1718
|
-
interface Props$
|
|
1721
|
+
interface Props$3 {
|
|
1719
1722
|
value?: string | number | symbol;
|
|
1720
1723
|
title: React.ReactNode;
|
|
1721
1724
|
subtitle: React.ReactNode;
|
|
@@ -1723,18 +1726,18 @@ interface Props$1 {
|
|
|
1723
1726
|
color?: StepColor;
|
|
1724
1727
|
disabled?: boolean;
|
|
1725
1728
|
}
|
|
1726
|
-
type NativeAttrs$
|
|
1727
|
-
type StepProps = Props$
|
|
1729
|
+
type NativeAttrs$3 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$3>;
|
|
1730
|
+
type StepProps = Props$3 & NativeAttrs$3;
|
|
1728
1731
|
declare const Step: React.FC<StepProps>;
|
|
1729
1732
|
|
|
1730
|
-
interface Props {
|
|
1733
|
+
interface Props$2 {
|
|
1731
1734
|
direction?: 'horizontal' | 'vertical';
|
|
1732
1735
|
value?: number | string | symbol;
|
|
1733
1736
|
color?: StepColor;
|
|
1734
1737
|
markPreviousAsChecked?: boolean;
|
|
1735
1738
|
}
|
|
1736
|
-
type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props>;
|
|
1737
|
-
type StepsProps = Props & NativeAttrs;
|
|
1739
|
+
type NativeAttrs$2 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$2>;
|
|
1740
|
+
type StepsProps = Props$2 & NativeAttrs$2;
|
|
1738
1741
|
declare const Steps: React.FC<StepsProps>;
|
|
1739
1742
|
|
|
1740
1743
|
interface StepsContextValue {
|
|
@@ -1754,6 +1757,108 @@ interface StepsContextValue {
|
|
|
1754
1757
|
declare const StepsContext: react.Context<StepsContextValue | null>;
|
|
1755
1758
|
declare const useStepsContext: () => StepsContextValue;
|
|
1756
1759
|
|
|
1760
|
+
interface TreeItemValue {
|
|
1761
|
+
value: string;
|
|
1762
|
+
selected: boolean;
|
|
1763
|
+
checked: boolean;
|
|
1764
|
+
indeterminate: boolean;
|
|
1765
|
+
}
|
|
1766
|
+
interface TreeItemBase {
|
|
1767
|
+
value: string;
|
|
1768
|
+
items?: TreeItemBase[];
|
|
1769
|
+
}
|
|
1770
|
+
interface TreeItemData {
|
|
1771
|
+
value: string;
|
|
1772
|
+
parents: string[];
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
interface Props$1 extends TreeItemBase {
|
|
1776
|
+
title: string;
|
|
1777
|
+
items?: Props$1[];
|
|
1778
|
+
}
|
|
1779
|
+
type NativeAttrs$1 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$1 | 'items'>;
|
|
1780
|
+
type TreeItemProps = Props$1 & NativeAttrs$1;
|
|
1781
|
+
declare const TreeItem: (props: TreeItemProps) => react_jsx_runtime.JSX.Element;
|
|
1782
|
+
|
|
1783
|
+
interface TreeProps$1 {
|
|
1784
|
+
items?: TreeItemProps[];
|
|
1785
|
+
value?: TreeItemValue[];
|
|
1786
|
+
onChange?: (value: TreeItemValue[]) => void;
|
|
1787
|
+
}
|
|
1788
|
+
declare const Tree: (props: TreeProps$1) => react_jsx_runtime.JSX.Element;
|
|
1789
|
+
|
|
1790
|
+
interface TreeContextValue {
|
|
1791
|
+
items: TreeItemData[];
|
|
1792
|
+
values: TreeItemValue[];
|
|
1793
|
+
setValues: (value: TreeItemValue[]) => void;
|
|
1794
|
+
selectValue: (value: string) => void;
|
|
1795
|
+
unselectValue: (value: string) => void;
|
|
1796
|
+
checkValue: (value: string) => void;
|
|
1797
|
+
uncheckValue: (value: string) => void;
|
|
1798
|
+
}
|
|
1799
|
+
declare const TreeContext: react.Context<TreeContextValue>;
|
|
1800
|
+
|
|
1801
|
+
interface TreeProps {
|
|
1802
|
+
items?: TreeItemBase[];
|
|
1803
|
+
value?: TreeItemValue[];
|
|
1804
|
+
onChange?: (value: TreeItemValue[]) => void;
|
|
1805
|
+
onSelect?: (value: string) => void;
|
|
1806
|
+
onUnselect?: (value: string) => void;
|
|
1807
|
+
}
|
|
1808
|
+
declare function useTree(props: TreeProps): {
|
|
1809
|
+
items: TreeItemData[];
|
|
1810
|
+
values: TreeItemValue[];
|
|
1811
|
+
setValues: react.Dispatch<react.SetStateAction<TreeItemValue[]>>;
|
|
1812
|
+
selectValue: (value: string) => void;
|
|
1813
|
+
unselectValue: (value: string) => void;
|
|
1814
|
+
checkValue: (value: string) => void;
|
|
1815
|
+
uncheckValue: (value: string) => void;
|
|
1816
|
+
};
|
|
1817
|
+
|
|
1818
|
+
declare function initializeTreeValues(items: TreeItemData[]): TreeItemValue[];
|
|
1819
|
+
declare function flattenTree(tree: TreeItemBase[], parents?: string[]): TreeItemData[];
|
|
1820
|
+
declare function updateTreeValues(values: TreeItemValue[], value: string, action: 'select' | 'unselect' | 'check' | 'uncheck', items: TreeItemData[]): TreeItemValue[];
|
|
1821
|
+
|
|
1822
|
+
interface DropdownContentProps {
|
|
1823
|
+
children: React.ReactNode;
|
|
1824
|
+
}
|
|
1825
|
+
declare const DropdownContent: (props: DropdownContentProps) => react_jsx_runtime.JSX.Element;
|
|
1826
|
+
|
|
1827
|
+
interface DropdownContextValue {
|
|
1828
|
+
isOpen: boolean;
|
|
1829
|
+
onClose(): void;
|
|
1830
|
+
onOpen(): void;
|
|
1831
|
+
onToggle(): void;
|
|
1832
|
+
floatingRootContext: FloatingRootContext;
|
|
1833
|
+
triggerElement: Element | null;
|
|
1834
|
+
setTriggerElement(el: Element | null): void;
|
|
1835
|
+
getTriggerProps(externalProps?: React.HTMLAttributes<any> & {
|
|
1836
|
+
ref?: React.Ref<any> | undefined;
|
|
1837
|
+
}): React.HTMLAttributes<any> & {
|
|
1838
|
+
ref?: React.Ref<any> | undefined;
|
|
1839
|
+
};
|
|
1840
|
+
contentElement: Element | null;
|
|
1841
|
+
setContentElement(el: HTMLElement | null): void;
|
|
1842
|
+
getContentProps(externalProps?: React.HTMLAttributes<any> & {
|
|
1843
|
+
ref?: React.Ref<any> | undefined;
|
|
1844
|
+
}): React.HTMLAttributes<any> & {
|
|
1845
|
+
ref?: React.Ref<any> | undefined;
|
|
1846
|
+
};
|
|
1847
|
+
}
|
|
1848
|
+
declare const DropdownContext: react.Context<DropdownContextValue | null>;
|
|
1849
|
+
declare const useDropdownContext: () => DropdownContextValue;
|
|
1850
|
+
|
|
1851
|
+
interface Props {
|
|
1852
|
+
}
|
|
1853
|
+
type NativeAttrs = Omit<ListItemProps, keyof Props>;
|
|
1854
|
+
type DropdownItemProps = Props & NativeAttrs;
|
|
1855
|
+
declare const DropdownItem: (props: DropdownItemProps) => react_jsx_runtime.JSX.Element;
|
|
1856
|
+
|
|
1857
|
+
interface DropdownTriggerProps {
|
|
1858
|
+
children: React.ReactNode;
|
|
1859
|
+
}
|
|
1860
|
+
declare const DropdownTrigger: (props: DropdownTriggerProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
1861
|
+
|
|
1757
1862
|
declare const scrollToItem: (parentElement: Element, currentElement: Element) => void;
|
|
1758
1863
|
|
|
1759
1864
|
type ClassDictionary = Record<string, any>;
|
|
@@ -1777,4 +1882,4 @@ declare function format(options: FormatOptions): string | undefined;
|
|
|
1777
1882
|
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][];
|
|
1778
1883
|
declare const valuesToValue: <TItem extends Record<string, any>, TKeyField extends keyof TItem>(values: TItem[TKeyField][]) => TItem[TKeyField] | null;
|
|
1779
1884
|
|
|
1780
|
-
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 };
|
|
1885
|
+
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, DropdownContent, type DropdownContentProps, DropdownContext, type DropdownContextValue, DropdownItem, type DropdownItemProps, 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, 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, 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, assignRef, breakpointsMap, clsx, dateFormat, defaultBreakpoints, flattenTree, format, formatCurrency, formatDate, formatDateTime, formatPercent, formatShortDateTime, formatTime, getOpenValuesByPathname, hasResizeObserver, initializeTreeValues, mergeRefs, reactNodeToText, scrollToItem, 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, valueToValues, valuesToValue };
|