@unifiedsoftware/react-ui 2.0.1-beta.20 → 2.0.1-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +313 -232
- package/dist/index.js +3 -3
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,13 +2,15 @@ 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 {
|
|
5
|
+
import { Menu as Menu$1 } from '@base-ui/react/menu';
|
|
6
|
+
import * as _base_ui_react_navigation_menu from '@base-ui/react/navigation-menu';
|
|
7
|
+
import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
|
|
6
8
|
|
|
7
|
-
interface Props$
|
|
9
|
+
interface Props$N {
|
|
8
10
|
}
|
|
9
|
-
type NativeAttrs$
|
|
10
|
-
type DividerProps = Props$
|
|
11
|
-
declare const Divider: react.ForwardRefExoticComponent<Props$
|
|
11
|
+
type NativeAttrs$Q = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$N>;
|
|
12
|
+
type DividerProps = Props$N & NativeAttrs$Q;
|
|
13
|
+
declare const Divider: react.ForwardRefExoticComponent<Props$N & NativeAttrs$Q & react.RefAttributes<HTMLDivElement>>;
|
|
12
14
|
|
|
13
15
|
type BoxShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
14
16
|
type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -36,7 +38,7 @@ interface AccordionArrow {
|
|
|
36
38
|
position?: 'start' | 'end';
|
|
37
39
|
}
|
|
38
40
|
|
|
39
|
-
interface Props$
|
|
41
|
+
interface Props$M {
|
|
40
42
|
value?: any[];
|
|
41
43
|
defaultValue?: any[];
|
|
42
44
|
expandMode?: 'single' | 'multiple';
|
|
@@ -53,9 +55,9 @@ interface Props$N {
|
|
|
53
55
|
}) => React.ReactNode;
|
|
54
56
|
onChange?: (value: any[]) => void;
|
|
55
57
|
}
|
|
56
|
-
type NativeAttrs$
|
|
57
|
-
type AccordionProps = Props$
|
|
58
|
-
declare const Accordion: react.ForwardRefExoticComponent<Props$
|
|
58
|
+
type NativeAttrs$P = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$M>;
|
|
59
|
+
type AccordionProps = Props$M & NativeAttrs$P;
|
|
60
|
+
declare const Accordion: react.ForwardRefExoticComponent<Props$M & NativeAttrs$P & react.RefAttributes<HTMLDivElement>>;
|
|
59
61
|
|
|
60
62
|
interface AccordionItemContextValue {
|
|
61
63
|
value: string;
|
|
@@ -64,7 +66,7 @@ interface AccordionItemContextValue {
|
|
|
64
66
|
}) => React.ReactNode;
|
|
65
67
|
}
|
|
66
68
|
declare const useAccordionItem: () => AccordionItemContextValue;
|
|
67
|
-
interface Props$
|
|
69
|
+
interface Props$L {
|
|
68
70
|
value?: any;
|
|
69
71
|
variant?: AccordionVariant;
|
|
70
72
|
color?: AccordionColor;
|
|
@@ -72,11 +74,11 @@ interface Props$M {
|
|
|
72
74
|
isOpen: boolean;
|
|
73
75
|
}) => React.ReactNode;
|
|
74
76
|
}
|
|
75
|
-
type NativeAttrs$
|
|
76
|
-
type AccordionItemProps = Props$
|
|
77
|
-
declare const AccordionItem: react.ForwardRefExoticComponent<Props$
|
|
77
|
+
type NativeAttrs$O = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$L>;
|
|
78
|
+
type AccordionItemProps = Props$L & NativeAttrs$O;
|
|
79
|
+
declare const AccordionItem: react.ForwardRefExoticComponent<Props$L & NativeAttrs$O & react.RefAttributes<HTMLDivElement>>;
|
|
78
80
|
|
|
79
|
-
interface Props$
|
|
81
|
+
interface Props$K {
|
|
80
82
|
as?: React.ElementType;
|
|
81
83
|
title?: React.ReactNode;
|
|
82
84
|
subtitle?: React.ReactNode;
|
|
@@ -94,9 +96,9 @@ interface Props$L {
|
|
|
94
96
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
95
97
|
};
|
|
96
98
|
}
|
|
97
|
-
type NativeAttrs$
|
|
98
|
-
type AccordionHeaderProps = Props$
|
|
99
|
-
declare const AccordionHeader: react.ForwardRefExoticComponent<Props$
|
|
99
|
+
type NativeAttrs$N = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$K>;
|
|
100
|
+
type AccordionHeaderProps = Props$K & NativeAttrs$N;
|
|
101
|
+
declare const AccordionHeader: react.ForwardRefExoticComponent<Props$K & NativeAttrs$N & react.RefAttributes<HTMLDivElement>>;
|
|
100
102
|
|
|
101
103
|
type AccordionBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
102
104
|
declare const AccordionBody: react.ForwardRefExoticComponent<AccordionBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -604,19 +606,19 @@ interface InputBaseProps {
|
|
|
604
606
|
content?: React.HTMLAttributes<HTMLDivElement>;
|
|
605
607
|
};
|
|
606
608
|
}
|
|
607
|
-
type NativeAttrs$
|
|
608
|
-
type InputWrapperProps = InputBaseProps & NativeAttrs$
|
|
609
|
-
declare const InputWrapper: react.ForwardRefExoticComponent<InputBaseProps & NativeAttrs$
|
|
609
|
+
type NativeAttrs$M = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof InputBaseProps>;
|
|
610
|
+
type InputWrapperProps = InputBaseProps & NativeAttrs$M;
|
|
611
|
+
declare const InputWrapper: react.ForwardRefExoticComponent<InputBaseProps & NativeAttrs$M & react.RefAttributes<HTMLInputElement>>;
|
|
610
612
|
|
|
611
613
|
interface InputCloseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
612
614
|
}
|
|
613
615
|
declare const InputClose: React.FC<InputCloseProps>;
|
|
614
616
|
|
|
615
|
-
interface Props$
|
|
617
|
+
interface Props$J {
|
|
616
618
|
}
|
|
617
|
-
type NativeAttrs$
|
|
618
|
-
type InputGroupProps = Props$
|
|
619
|
-
declare const InputGroup: react.ForwardRefExoticComponent<Props$
|
|
619
|
+
type NativeAttrs$L = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$J>;
|
|
620
|
+
type InputGroupProps = Props$J & NativeAttrs$L;
|
|
621
|
+
declare const InputGroup: react.ForwardRefExoticComponent<Props$J & NativeAttrs$L & react.RefAttributes<HTMLDivElement>>;
|
|
620
622
|
|
|
621
623
|
interface InputSelectorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
622
624
|
isOpen: boolean;
|
|
@@ -635,14 +637,11 @@ interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
635
637
|
}
|
|
636
638
|
declare const List: react.ForwardRefExoticComponent<ListProps & react.RefAttributes<HTMLDivElement>>;
|
|
637
639
|
|
|
638
|
-
interface
|
|
639
|
-
as?: react__default.ElementType;
|
|
640
|
+
interface ListItemBaseProps {
|
|
640
641
|
title?: react__default.ReactNode;
|
|
641
642
|
subtitle?: react__default.ReactNode;
|
|
642
643
|
startContent?: react__default.ReactNode;
|
|
643
644
|
endContent?: react__default.ReactNode;
|
|
644
|
-
level?: number;
|
|
645
|
-
hoverable?: boolean;
|
|
646
645
|
selected?: boolean;
|
|
647
646
|
disabled?: boolean;
|
|
648
647
|
cssVars?: {
|
|
@@ -660,11 +659,16 @@ interface Props$J {
|
|
|
660
659
|
subtitle?: react__default.HTMLAttributes<HTMLDivElement>;
|
|
661
660
|
};
|
|
662
661
|
}
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
662
|
+
interface Props$I extends ListItemBaseProps {
|
|
663
|
+
as?: react__default.ElementType;
|
|
664
|
+
level?: number;
|
|
665
|
+
hoverable?: boolean;
|
|
666
|
+
}
|
|
667
|
+
type NativeAttrs$K = Omit<react__default.HTMLAttributes<HTMLDivElement>, keyof Props$I>;
|
|
668
|
+
type ListItemProps = Props$I & NativeAttrs$K;
|
|
669
|
+
declare const ListItem: react__default.ForwardRefExoticComponent<Props$I & NativeAttrs$K & react__default.RefAttributes<HTMLDivElement>>;
|
|
666
670
|
|
|
667
|
-
interface Props$
|
|
671
|
+
interface Props$H {
|
|
668
672
|
expandVisible?: boolean;
|
|
669
673
|
expandPosition?: 'start' | 'end';
|
|
670
674
|
isOpen?: boolean;
|
|
@@ -672,9 +676,9 @@ interface Props$I {
|
|
|
672
676
|
onClose?: () => void;
|
|
673
677
|
onToggle?: () => void;
|
|
674
678
|
}
|
|
675
|
-
type NativeAttrs$
|
|
676
|
-
type ListGroupProps = Props$
|
|
677
|
-
declare const ListGroup: react.ForwardRefExoticComponent<Props$
|
|
679
|
+
type NativeAttrs$J = Omit<ListItemProps, keyof Props$H>;
|
|
680
|
+
type ListGroupProps = Props$H & NativeAttrs$J;
|
|
681
|
+
declare const ListGroup: react.ForwardRefExoticComponent<Props$H & NativeAttrs$J & react.RefAttributes<HTMLDivElement>>;
|
|
678
682
|
|
|
679
683
|
interface ListSubheaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
680
684
|
as?: React.ElementType;
|
|
@@ -706,7 +710,7 @@ type AutocompleteMultiple = false;
|
|
|
706
710
|
type AutocompleteClearable = true;
|
|
707
711
|
type AutocompleteItem = SelectionItem;
|
|
708
712
|
type AutocompleteKeyField<TAutocompleteItem> = keyof TAutocompleteItem;
|
|
709
|
-
type NativeAttrs$
|
|
713
|
+
type NativeAttrs$I<TAutocompleteItem extends AutocompleteItem, TAutocompleteKeyField extends AutocompleteKeyField<TAutocompleteItem> = 'value'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$G<TAutocompleteItem, TAutocompleteKeyField>>;
|
|
710
714
|
type BaseProps$1<TItem extends Record<string, any>> = {
|
|
711
715
|
textField?: keyof TItem;
|
|
712
716
|
placeholder?: string;
|
|
@@ -727,8 +731,8 @@ type BaseProps$1<TItem extends Record<string, any>> = {
|
|
|
727
731
|
renderItem?: (item: TItem, props: ListItemProps) => React.ReactNode;
|
|
728
732
|
renderNoData?: (props: ResultProps) => React.ReactNode;
|
|
729
733
|
};
|
|
730
|
-
type Props$
|
|
731
|
-
type AutocompleteProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'value', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$
|
|
734
|
+
type Props$G<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'value', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = BaseProps$1<TItem> & SelectionProps<TItem, TKeyField, TMultiple, TClearable> & Omit<InputBaseProps, 'clearable'>;
|
|
735
|
+
type AutocompleteProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'value', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$G<TItem, TKeyField, TMultiple, TClearable> & NativeAttrs$I<TItem, TKeyField>;
|
|
732
736
|
type SelectionValue<TItem extends Record<string, any>, TKeyField extends keyof TItem, TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = TMultiple extends true ? TClearable extends true ? TItem[TKeyField][] | undefined | null : TItem[TKeyField][] : TClearable extends true ? TItem[TKeyField] | undefined | null : TItem[TKeyField];
|
|
733
737
|
type SelectionOnChangeValue<TItem extends Record<string, any>, TKeyField extends keyof TItem, TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = TMultiple extends true ? TClearable extends true ? TItem[TKeyField][] | null : TItem[TKeyField][] : TClearable extends true ? TItem[TKeyField] | null : TItem[TKeyField];
|
|
734
738
|
type SelectionOnChangeItem<TData extends Record<string, any>, TMultiple extends boolean | undefined, TClearable extends boolean | undefined> = TMultiple extends true ? TClearable extends true ? TData[] | null : TData[] : TClearable extends true ? TData | null : TData;
|
|
@@ -749,7 +753,7 @@ declare const Autocomplete: <TItem extends Record<string, any>, TKeyField extend
|
|
|
749
753
|
type BackdropPlacement = 'top' | 'left' | 'center' | 'right' | 'bottom';
|
|
750
754
|
type BackdropVariant = 'opaque' | 'blur' | 'transparent';
|
|
751
755
|
|
|
752
|
-
interface Props$
|
|
756
|
+
interface Props$F {
|
|
753
757
|
isOpen: boolean;
|
|
754
758
|
closable?: boolean;
|
|
755
759
|
placement?: BackdropPlacement;
|
|
@@ -758,14 +762,14 @@ interface Props$G {
|
|
|
758
762
|
scrollArea?: boolean;
|
|
759
763
|
onClose(): void;
|
|
760
764
|
}
|
|
761
|
-
type NativeAttrs$
|
|
762
|
-
type BackdropProps = Props$
|
|
763
|
-
declare const Backdrop: react.ForwardRefExoticComponent<Props$
|
|
765
|
+
type NativeAttrs$H = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$F>;
|
|
766
|
+
type BackdropProps = Props$F & NativeAttrs$H;
|
|
767
|
+
declare const Backdrop: react.ForwardRefExoticComponent<Props$F & NativeAttrs$H & react.RefAttributes<HTMLDivElement>>;
|
|
764
768
|
|
|
765
769
|
type BadgeColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
766
770
|
type BadgePlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
767
771
|
|
|
768
|
-
interface Props$
|
|
772
|
+
interface Props$E {
|
|
769
773
|
/**
|
|
770
774
|
* The placement of the badge relative to its content.
|
|
771
775
|
*/
|
|
@@ -783,8 +787,8 @@ interface Props$F {
|
|
|
783
787
|
wrapper?: React.HTMLAttributes<HTMLDivElement>;
|
|
784
788
|
};
|
|
785
789
|
}
|
|
786
|
-
type NativeAttrs$
|
|
787
|
-
type BadgeProps = Props$
|
|
790
|
+
type NativeAttrs$G = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$E>;
|
|
791
|
+
type BadgeProps = Props$E & NativeAttrs$G;
|
|
788
792
|
declare const Badge: React.FC<BadgeProps>;
|
|
789
793
|
|
|
790
794
|
type DataListItem = Record<string, any>;
|
|
@@ -801,7 +805,7 @@ interface DataListMultipleProps<TDataListItem extends DataListItem, TDataListKey
|
|
|
801
805
|
onChange?: (value: TDataListItem[]) => void;
|
|
802
806
|
onValueChange?: (value: TDataListItem[TDataListKeyField][]) => void;
|
|
803
807
|
}
|
|
804
|
-
type Props$
|
|
808
|
+
type Props$D<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = {
|
|
805
809
|
data: TDataListItem[];
|
|
806
810
|
keyField?: TDataListKeyField;
|
|
807
811
|
textField?: keyof DataListItem;
|
|
@@ -816,8 +820,8 @@ type Props$E<TDataListItem extends DataListItem, TDataListKeyField extends DataL
|
|
|
816
820
|
renderItem?: (item: TDataListItem, props: ListItemProps$1) => React.ReactNode;
|
|
817
821
|
renderNoData?: (props: ResultProps$1) => React.ReactNode;
|
|
818
822
|
} & (DataListSingleProps<TDataListItem, TDataListKeyField> | DataListMultipleProps<TDataListItem, TDataListKeyField>);
|
|
819
|
-
type NativeAttrs$
|
|
820
|
-
type DataListProps<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Props$
|
|
823
|
+
type NativeAttrs$F<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$D<TDataListItem, TDataListKeyField>>;
|
|
824
|
+
type DataListProps<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Props$D<TDataListItem, TDataListKeyField> & NativeAttrs$F<TDataListItem, TDataListKeyField>;
|
|
821
825
|
|
|
822
826
|
declare const DataList: <TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = "key">(props: DataListProps<TDataListItem, TDataListKeyField>) => react_jsx_runtime.JSX.Element;
|
|
823
827
|
|
|
@@ -826,7 +830,7 @@ type ButtonColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'd
|
|
|
826
830
|
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
827
831
|
type ButtonGroupDirection = 'row' | 'col';
|
|
828
832
|
|
|
829
|
-
interface Props$
|
|
833
|
+
interface Props$C {
|
|
830
834
|
/**
|
|
831
835
|
* The HTML element type or React component to render as the button.
|
|
832
836
|
*/
|
|
@@ -871,20 +875,20 @@ interface Props$D {
|
|
|
871
875
|
fontStyle?: React.CSSProperties['fontStyle'];
|
|
872
876
|
};
|
|
873
877
|
}
|
|
874
|
-
type NativeAttrs$
|
|
875
|
-
type ButtonProps = Props$
|
|
876
|
-
declare const Button: react.ForwardRefExoticComponent<Props$
|
|
878
|
+
type NativeAttrs$E = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof Props$C>;
|
|
879
|
+
type ButtonProps = Props$C & NativeAttrs$E;
|
|
880
|
+
declare const Button: react.ForwardRefExoticComponent<Props$C & NativeAttrs$E & react.RefAttributes<HTMLButtonElement>>;
|
|
877
881
|
|
|
878
|
-
interface Props$
|
|
882
|
+
interface Props$B {
|
|
879
883
|
direction?: ButtonGroupDirection;
|
|
880
884
|
variant?: ButtonVariant;
|
|
881
885
|
color?: ButtonColor;
|
|
882
886
|
size?: ButtonSize;
|
|
883
887
|
disabled?: boolean;
|
|
884
888
|
}
|
|
885
|
-
type NativeAttrs$
|
|
886
|
-
type ButtonGroupProps = Props$
|
|
887
|
-
declare const ButtonGroup: react.ForwardRefExoticComponent<Props$
|
|
889
|
+
type NativeAttrs$D = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$B>;
|
|
890
|
+
type ButtonGroupProps = Props$B & NativeAttrs$D;
|
|
891
|
+
declare const ButtonGroup: react.ForwardRefExoticComponent<Props$B & NativeAttrs$D & react.RefAttributes<HTMLDivElement>>;
|
|
888
892
|
|
|
889
893
|
interface ButtonGroupContextValue {
|
|
890
894
|
direction: ButtonGroupDirection;
|
|
@@ -898,7 +902,7 @@ declare const useButtonGroup: () => ButtonGroupContextValue | null;
|
|
|
898
902
|
|
|
899
903
|
type CardSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
900
904
|
|
|
901
|
-
interface Props$
|
|
905
|
+
interface Props$A {
|
|
902
906
|
as?: React.ElementType;
|
|
903
907
|
size?: CardSize;
|
|
904
908
|
hoverable?: boolean;
|
|
@@ -908,14 +912,14 @@ interface Props$B {
|
|
|
908
912
|
divider?: boolean;
|
|
909
913
|
css?: BoxCSS;
|
|
910
914
|
}
|
|
911
|
-
type NativeAttrs$
|
|
912
|
-
type CardProps = Props$
|
|
913
|
-
declare const Card: react.ForwardRefExoticComponent<Props$
|
|
915
|
+
type NativeAttrs$C = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$A>;
|
|
916
|
+
type CardProps = Props$A & NativeAttrs$C;
|
|
917
|
+
declare const Card: react.ForwardRefExoticComponent<Props$A & NativeAttrs$C & react.RefAttributes<HTMLDivElement>>;
|
|
914
918
|
|
|
915
919
|
type CardBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
916
920
|
declare const CardBody: react.ForwardRefExoticComponent<CardBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
917
921
|
|
|
918
|
-
interface Props$
|
|
922
|
+
interface Props$z {
|
|
919
923
|
as?: React.ElementType;
|
|
920
924
|
title?: React.ReactNode;
|
|
921
925
|
subtitle?: React.ReactNode;
|
|
@@ -941,11 +945,11 @@ interface Props$A {
|
|
|
941
945
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
942
946
|
};
|
|
943
947
|
}
|
|
944
|
-
type NativeAttrs$
|
|
945
|
-
type CardHeaderProps = Props$
|
|
946
|
-
declare const CardHeader: react.ForwardRefExoticComponent<Props$
|
|
948
|
+
type NativeAttrs$B = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$z>;
|
|
949
|
+
type CardHeaderProps = Props$z & NativeAttrs$B;
|
|
950
|
+
declare const CardHeader: react.ForwardRefExoticComponent<Props$z & NativeAttrs$B & react.RefAttributes<HTMLDivElement>>;
|
|
947
951
|
|
|
948
|
-
interface Props$
|
|
952
|
+
interface Props$y {
|
|
949
953
|
as?: React.ElementType;
|
|
950
954
|
/**
|
|
951
955
|
* @deprecated Use `underlined` instead
|
|
@@ -953,9 +957,9 @@ interface Props$z {
|
|
|
953
957
|
bordered?: boolean;
|
|
954
958
|
underlined?: boolean;
|
|
955
959
|
}
|
|
956
|
-
type NativeAttrs$
|
|
957
|
-
type CardFooterProps = Props$
|
|
958
|
-
declare const CardFooter: react.ForwardRefExoticComponent<Props$
|
|
960
|
+
type NativeAttrs$A = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$y>;
|
|
961
|
+
type CardFooterProps = Props$y & NativeAttrs$A;
|
|
962
|
+
declare const CardFooter: react.ForwardRefExoticComponent<Props$y & NativeAttrs$A & react.RefAttributes<HTMLDivElement>>;
|
|
959
963
|
|
|
960
964
|
type CardMediaProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
961
965
|
topLeftContent?: React.ReactNode;
|
|
@@ -966,28 +970,28 @@ declare const CardMedia: react.ForwardRefExoticComponent<react.HTMLAttributes<HT
|
|
|
966
970
|
topRightContent?: React.ReactNode;
|
|
967
971
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
968
972
|
|
|
969
|
-
interface Props$
|
|
973
|
+
interface Props$x {
|
|
970
974
|
as?: React.ElementType;
|
|
971
975
|
centered?: boolean;
|
|
972
976
|
css?: BoxCSS;
|
|
973
977
|
}
|
|
974
|
-
type NativeAttrs$
|
|
975
|
-
type CardTitleProps = Props$
|
|
976
|
-
declare const CardTitle: react.ForwardRefExoticComponent<Props$
|
|
978
|
+
type NativeAttrs$z = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$x>;
|
|
979
|
+
type CardTitleProps = Props$x & NativeAttrs$z;
|
|
980
|
+
declare const CardTitle: react.ForwardRefExoticComponent<Props$x & NativeAttrs$z & react.RefAttributes<HTMLDivElement>>;
|
|
977
981
|
|
|
978
|
-
interface Props$
|
|
982
|
+
interface Props$w {
|
|
979
983
|
as?: React.ElementType;
|
|
980
984
|
css?: BoxCSS;
|
|
981
985
|
}
|
|
982
|
-
type NativeAttrs$
|
|
983
|
-
type CardSubtitleProps = Props$
|
|
984
|
-
declare const CardSubtitle: react.ForwardRefExoticComponent<Props$
|
|
986
|
+
type NativeAttrs$y = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$w>;
|
|
987
|
+
type CardSubtitleProps = Props$w & NativeAttrs$y;
|
|
988
|
+
declare const CardSubtitle: react.ForwardRefExoticComponent<Props$w & NativeAttrs$y & react.RefAttributes<HTMLDivElement>>;
|
|
985
989
|
|
|
986
990
|
type ChipVariant = 'filled' | 'outlined' | 'flat' | 'text' | 'plain' | 'bordered';
|
|
987
991
|
type ChipColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
988
992
|
type ChipSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
989
993
|
|
|
990
|
-
interface Props$
|
|
994
|
+
interface Props$v {
|
|
991
995
|
/**
|
|
992
996
|
* The HTML element type or React component to render as the chip.
|
|
993
997
|
*/
|
|
@@ -1025,9 +1029,9 @@ interface Props$w {
|
|
|
1025
1029
|
};
|
|
1026
1030
|
onClose?: () => void;
|
|
1027
1031
|
}
|
|
1028
|
-
type NativeAttrs$
|
|
1029
|
-
type ChipProps = Props$
|
|
1030
|
-
declare const Chip: react.ForwardRefExoticComponent<Props$
|
|
1032
|
+
type NativeAttrs$x = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$v>;
|
|
1033
|
+
type ChipProps = Props$v & NativeAttrs$x;
|
|
1034
|
+
declare const Chip: react.ForwardRefExoticComponent<Props$v & NativeAttrs$x & react.RefAttributes<HTMLDivElement>>;
|
|
1031
1035
|
|
|
1032
1036
|
interface CollapseProps {
|
|
1033
1037
|
children: React.ReactNode;
|
|
@@ -1072,7 +1076,7 @@ interface DrawerClose {
|
|
|
1072
1076
|
}
|
|
1073
1077
|
type DrawerBackdrop = BackdropVariant;
|
|
1074
1078
|
|
|
1075
|
-
interface Props$
|
|
1079
|
+
interface Props$u {
|
|
1076
1080
|
isOpen: boolean;
|
|
1077
1081
|
size?: DrawerSize;
|
|
1078
1082
|
backdrop?: DrawerBackdrop;
|
|
@@ -1089,11 +1093,11 @@ interface Props$v {
|
|
|
1089
1093
|
onClose: () => void;
|
|
1090
1094
|
onAfterClose?: () => void;
|
|
1091
1095
|
}
|
|
1092
|
-
type NativeAttrs$
|
|
1093
|
-
type DrawerProps = Props$
|
|
1094
|
-
declare const Drawer: react.ForwardRefExoticComponent<Props$
|
|
1096
|
+
type NativeAttrs$w = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$u>;
|
|
1097
|
+
type DrawerProps = Props$u & NativeAttrs$w;
|
|
1098
|
+
declare const Drawer: react.ForwardRefExoticComponent<Props$u & NativeAttrs$w & react.RefAttributes<HTMLDivElement>>;
|
|
1095
1099
|
|
|
1096
|
-
interface Props$
|
|
1100
|
+
interface Props$t {
|
|
1097
1101
|
as?: React.ElementType;
|
|
1098
1102
|
title?: React.ReactNode;
|
|
1099
1103
|
subtitle?: React.ReactNode;
|
|
@@ -1109,20 +1113,20 @@ interface Props$u {
|
|
|
1109
1113
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
1110
1114
|
};
|
|
1111
1115
|
}
|
|
1112
|
-
type NativeAttrs$
|
|
1113
|
-
type DrawerHeaderProps = Props$
|
|
1114
|
-
declare const DrawerHeader: react.ForwardRefExoticComponent<Props$
|
|
1116
|
+
type NativeAttrs$v = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$t>;
|
|
1117
|
+
type DrawerHeaderProps = Props$t & NativeAttrs$v;
|
|
1118
|
+
declare const DrawerHeader: react.ForwardRefExoticComponent<Props$t & NativeAttrs$v & react.RefAttributes<HTMLDivElement>>;
|
|
1115
1119
|
|
|
1116
1120
|
type DrawerBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1117
1121
|
declare const DrawerBody: react.ForwardRefExoticComponent<DrawerBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
1118
1122
|
|
|
1119
|
-
interface Props$
|
|
1123
|
+
interface Props$s {
|
|
1120
1124
|
as?: React.ElementType;
|
|
1121
1125
|
bordered?: boolean;
|
|
1122
1126
|
}
|
|
1123
|
-
type NativeAttrs$
|
|
1124
|
-
type DrawerFooterProps = Props$
|
|
1125
|
-
declare const DrawerFooter: react.ForwardRefExoticComponent<Props$
|
|
1127
|
+
type NativeAttrs$u = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$s>;
|
|
1128
|
+
type DrawerFooterProps = Props$s & NativeAttrs$u;
|
|
1129
|
+
declare const DrawerFooter: react.ForwardRefExoticComponent<Props$s & NativeAttrs$u & react.RefAttributes<HTMLDivElement>>;
|
|
1126
1130
|
|
|
1127
1131
|
interface DrawerContextValue {
|
|
1128
1132
|
isOpen: boolean;
|
|
@@ -1157,7 +1161,7 @@ interface IconProps {
|
|
|
1157
1161
|
}
|
|
1158
1162
|
declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<unknown>>;
|
|
1159
1163
|
|
|
1160
|
-
interface Props$
|
|
1164
|
+
interface Props$r {
|
|
1161
1165
|
/**
|
|
1162
1166
|
* The HTML element type or React component to render as the menu item.
|
|
1163
1167
|
*/
|
|
@@ -1183,9 +1187,9 @@ interface Props$s {
|
|
|
1183
1187
|
*/
|
|
1184
1188
|
disabled?: boolean;
|
|
1185
1189
|
}
|
|
1186
|
-
type NativeAttrs$
|
|
1187
|
-
type MenuItemProps = Props$
|
|
1188
|
-
declare const MenuItem: react.ForwardRefExoticComponent<Props$
|
|
1190
|
+
type NativeAttrs$t = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$r | 'items'>;
|
|
1191
|
+
type MenuItemProps = Props$r & NativeAttrs$t;
|
|
1192
|
+
declare const MenuItem: react.ForwardRefExoticComponent<Props$r & NativeAttrs$t & react.RefAttributes<HTMLDivElement>>;
|
|
1189
1193
|
|
|
1190
1194
|
type MenuSubmenuProps = Omit<MenuItemProps, 'items'> & {
|
|
1191
1195
|
items?: MenuItemType[];
|
|
@@ -1209,7 +1213,7 @@ type MenuItemType = (MenuGroupProps & {
|
|
|
1209
1213
|
}) | (MenuItemProps & {
|
|
1210
1214
|
type?: 'item';
|
|
1211
1215
|
});
|
|
1212
|
-
interface Props$
|
|
1216
|
+
interface Props$q {
|
|
1213
1217
|
/**
|
|
1214
1218
|
* The currently selected value of the menu.
|
|
1215
1219
|
*/
|
|
@@ -1245,8 +1249,8 @@ interface Props$r {
|
|
|
1245
1249
|
*/
|
|
1246
1250
|
onItemSelect?: (props: MenuItemProps) => void;
|
|
1247
1251
|
}
|
|
1248
|
-
type NativeAttrs$
|
|
1249
|
-
type MenuProps = Props$
|
|
1252
|
+
type NativeAttrs$s = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$q | 'items'>;
|
|
1253
|
+
type MenuProps = Props$q & NativeAttrs$s & {
|
|
1250
1254
|
items?: MenuItemType[];
|
|
1251
1255
|
};
|
|
1252
1256
|
declare const Menu: React.FC<MenuProps>;
|
|
@@ -1322,7 +1326,7 @@ declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & reac
|
|
|
1322
1326
|
|
|
1323
1327
|
type SelectMultiple = false;
|
|
1324
1328
|
type SelectClearable = false;
|
|
1325
|
-
type NativeAttrs$
|
|
1329
|
+
type NativeAttrs$r<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$p<TItem, TKeyField>>;
|
|
1326
1330
|
type BaseProps<TItem extends Record<string, any>> = {
|
|
1327
1331
|
textField?: keyof TItem;
|
|
1328
1332
|
placeholder?: string;
|
|
@@ -1340,8 +1344,8 @@ type BaseProps<TItem extends Record<string, any>> = {
|
|
|
1340
1344
|
renderItem?: (item: TItem, props: ListItemProps) => React.ReactNode;
|
|
1341
1345
|
renderNoData?: (props: ResultProps) => React.ReactNode;
|
|
1342
1346
|
};
|
|
1343
|
-
type Props$
|
|
1344
|
-
type SelectProps<TItem extends Record<string, any>, TKeyField extends keyof TItem = 'key', TMultiple extends boolean | undefined = false, TClearable extends boolean | undefined = false> = Props$
|
|
1347
|
+
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$1<TItem, TKeyField, TMultiple, TClearable>;
|
|
1348
|
+
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>;
|
|
1345
1349
|
|
|
1346
1350
|
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;
|
|
1347
1351
|
|
|
@@ -1365,21 +1369,21 @@ type SwitchSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
1365
1369
|
type SwitchLabelPlacement = 'before' | 'after';
|
|
1366
1370
|
type SwitchColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
|
|
1367
1371
|
|
|
1368
|
-
interface Props$
|
|
1372
|
+
interface Props$o {
|
|
1369
1373
|
size?: SwitchSize;
|
|
1370
1374
|
labelPlacement?: SwitchLabelPlacement;
|
|
1371
1375
|
color?: SwitchColor;
|
|
1372
1376
|
}
|
|
1373
|
-
type NativeAttrs$
|
|
1374
|
-
type SwitchProps = Props$
|
|
1375
|
-
declare const Switch: react.ForwardRefExoticComponent<Props$
|
|
1377
|
+
type NativeAttrs$q = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$o | 'value' | 'defaultValue'>;
|
|
1378
|
+
type SwitchProps = Props$o & NativeAttrs$q;
|
|
1379
|
+
declare const Switch: react.ForwardRefExoticComponent<Props$o & NativeAttrs$q & react.RefAttributes<HTMLInputElement>>;
|
|
1376
1380
|
|
|
1377
1381
|
type TabsVariant = 'underlined' | 'outlined' | 'pills';
|
|
1378
1382
|
type TabValue = string | number | symbol;
|
|
1379
1383
|
type TabsAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1380
1384
|
type TabsSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1381
1385
|
|
|
1382
|
-
interface Props$
|
|
1386
|
+
interface Props$n<TTabValue extends TabValue = TabValue> {
|
|
1383
1387
|
/**
|
|
1384
1388
|
* The HTML element type or React component to render as the tab.
|
|
1385
1389
|
*/
|
|
@@ -1405,11 +1409,11 @@ interface Props$o<TTabValue extends TabValue = TabValue> {
|
|
|
1405
1409
|
*/
|
|
1406
1410
|
endContent?: React.ReactNode;
|
|
1407
1411
|
}
|
|
1408
|
-
type NativeAttrs$
|
|
1409
|
-
type TabProps<TTabValue extends TabValue = TabValue> = Props$
|
|
1410
|
-
declare const Tab: react.ForwardRefExoticComponent<Props$
|
|
1412
|
+
type NativeAttrs$p = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$n>;
|
|
1413
|
+
type TabProps<TTabValue extends TabValue = TabValue> = Props$n<TTabValue> & NativeAttrs$p;
|
|
1414
|
+
declare const Tab: react.ForwardRefExoticComponent<Props$n<TabValue> & NativeAttrs$p & react.RefAttributes<HTMLDivElement>>;
|
|
1411
1415
|
|
|
1412
|
-
interface Props$
|
|
1416
|
+
interface Props$m<TTabValue extends TabValue = TabValue> {
|
|
1413
1417
|
/**
|
|
1414
1418
|
* The currently selected value of the tabs.
|
|
1415
1419
|
*/
|
|
@@ -1436,11 +1440,11 @@ interface Props$n<TTabValue extends TabValue = TabValue> {
|
|
|
1436
1440
|
*/
|
|
1437
1441
|
onClose?: (value: TTabValue) => void;
|
|
1438
1442
|
}
|
|
1439
|
-
type NativeAttrs$
|
|
1440
|
-
type TabsProps<TTabValue extends TabValue = TabValue> = Props$
|
|
1441
|
-
declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$
|
|
1443
|
+
type NativeAttrs$o = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$m>;
|
|
1444
|
+
type TabsProps<TTabValue extends TabValue = TabValue> = Props$m<TTabValue> & NativeAttrs$o;
|
|
1445
|
+
declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$m<TTabValue> & NativeAttrs$o & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
|
|
1442
1446
|
|
|
1443
|
-
interface Props$
|
|
1447
|
+
interface Props$l {
|
|
1444
1448
|
value?: string;
|
|
1445
1449
|
defaultValue?: string;
|
|
1446
1450
|
inputRef?: React.RefObject<HTMLInputElement>;
|
|
@@ -1453,15 +1457,15 @@ interface Props$m {
|
|
|
1453
1457
|
rules?: StringRules;
|
|
1454
1458
|
autoFormatRules?: boolean;
|
|
1455
1459
|
}
|
|
1456
|
-
type NativeAttrs$
|
|
1457
|
-
type TextInputProps = Props$
|
|
1458
|
-
declare const TextInput: react.ForwardRefExoticComponent<Props$
|
|
1460
|
+
type NativeAttrs$n = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$l>;
|
|
1461
|
+
type TextInputProps = Props$l & NativeAttrs$n;
|
|
1462
|
+
declare const TextInput: react.ForwardRefExoticComponent<Props$l & NativeAttrs$n & react.RefAttributes<HTMLInputElement>>;
|
|
1459
1463
|
|
|
1460
1464
|
type ToolbarSize = 'auto' | 'sm' | 'md' | 'lg';
|
|
1461
1465
|
type ToolbarVariant = 'filled' | 'text';
|
|
1462
1466
|
type ToolbarColor = 'secondary' | 'primary';
|
|
1463
1467
|
|
|
1464
|
-
interface Props$
|
|
1468
|
+
interface Props$k {
|
|
1465
1469
|
size?: ToolbarSize;
|
|
1466
1470
|
title?: React.ReactNode;
|
|
1467
1471
|
subtitle?: React.ReactNode;
|
|
@@ -1478,8 +1482,8 @@ interface Props$l {
|
|
|
1478
1482
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
1479
1483
|
};
|
|
1480
1484
|
}
|
|
1481
|
-
type NativeAttrs$
|
|
1482
|
-
type ToolbarProps = Props$
|
|
1485
|
+
type NativeAttrs$m = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$k>;
|
|
1486
|
+
type ToolbarProps = Props$k & NativeAttrs$m;
|
|
1483
1487
|
declare const Toolbar: React.FC<ToolbarProps>;
|
|
1484
1488
|
|
|
1485
1489
|
interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
|
|
@@ -1494,22 +1498,22 @@ interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
1494
1498
|
}
|
|
1495
1499
|
declare const Transition: React.FC<TransitionProps>;
|
|
1496
1500
|
|
|
1497
|
-
interface Props$
|
|
1501
|
+
interface Props$j {
|
|
1498
1502
|
/**
|
|
1499
1503
|
* The HTML element type or React component to render as the tab.
|
|
1500
1504
|
*/
|
|
1501
1505
|
as?: React.ElementType;
|
|
1502
1506
|
width?: number;
|
|
1503
1507
|
}
|
|
1504
|
-
type NativeAttrs$
|
|
1505
|
-
type SwipeItemProps = Props$
|
|
1506
|
-
declare const SwipeItem: react.ForwardRefExoticComponent<Props$
|
|
1508
|
+
type NativeAttrs$l = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$j>;
|
|
1509
|
+
type SwipeItemProps = Props$j & NativeAttrs$l;
|
|
1510
|
+
declare const SwipeItem: react.ForwardRefExoticComponent<Props$j & NativeAttrs$l & {
|
|
1507
1511
|
children?: react.ReactNode | undefined;
|
|
1508
1512
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1509
1513
|
|
|
1510
1514
|
type SwiperAlignmet = 'start' | 'center' | 'end';
|
|
1511
1515
|
|
|
1512
|
-
interface Props$
|
|
1516
|
+
interface Props$i {
|
|
1513
1517
|
gap?: number;
|
|
1514
1518
|
alignment?: SwiperAlignmet;
|
|
1515
1519
|
autoHide?: boolean;
|
|
@@ -1519,8 +1523,8 @@ interface Props$j {
|
|
|
1519
1523
|
arrowRightButton?: ButtonProps;
|
|
1520
1524
|
};
|
|
1521
1525
|
}
|
|
1522
|
-
type NativeAttrs$
|
|
1523
|
-
type SwipeProps = Props$
|
|
1526
|
+
type NativeAttrs$k = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$i>;
|
|
1527
|
+
type SwipeProps = Props$i & NativeAttrs$k;
|
|
1524
1528
|
declare const Swipe: React.FC<SwipeProps>;
|
|
1525
1529
|
|
|
1526
1530
|
type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
@@ -1532,7 +1536,7 @@ interface ModalClose {
|
|
|
1532
1536
|
type ModalScrollBehavior = 'inside' | 'outside';
|
|
1533
1537
|
type ModalBackdrop = BackdropVariant | boolean;
|
|
1534
1538
|
|
|
1535
|
-
interface Props$
|
|
1539
|
+
interface Props$h {
|
|
1536
1540
|
isOpen: boolean;
|
|
1537
1541
|
size?: ModalSize;
|
|
1538
1542
|
backdrop?: ModalBackdrop;
|
|
@@ -1548,9 +1552,9 @@ interface Props$i {
|
|
|
1548
1552
|
onClose: () => void;
|
|
1549
1553
|
onAfterClose?: () => void;
|
|
1550
1554
|
}
|
|
1551
|
-
type NativeAttrs$
|
|
1552
|
-
type ModalProps = Props$
|
|
1553
|
-
declare const Modal: react.ForwardRefExoticComponent<Props$
|
|
1555
|
+
type NativeAttrs$j = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$h>;
|
|
1556
|
+
type ModalProps = Props$h & NativeAttrs$j;
|
|
1557
|
+
declare const Modal: react.ForwardRefExoticComponent<Props$h & NativeAttrs$j & react.RefAttributes<HTMLDivElement>>;
|
|
1554
1558
|
|
|
1555
1559
|
type ModalBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1556
1560
|
declare const ModalBody: React.FC<ModalBodyProps>;
|
|
@@ -1569,15 +1573,15 @@ interface ModalContextValue {
|
|
|
1569
1573
|
}
|
|
1570
1574
|
declare function useModal(): ModalContextValue;
|
|
1571
1575
|
|
|
1572
|
-
interface Props$
|
|
1576
|
+
interface Props$g {
|
|
1573
1577
|
as?: React.ElementType;
|
|
1574
1578
|
bordered?: boolean;
|
|
1575
1579
|
}
|
|
1576
|
-
type NativeAttrs$
|
|
1577
|
-
type ModalFooterProps = Props$
|
|
1578
|
-
declare const ModalFooter: react.ForwardRefExoticComponent<Props$
|
|
1580
|
+
type NativeAttrs$i = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$g>;
|
|
1581
|
+
type ModalFooterProps = Props$g & NativeAttrs$i;
|
|
1582
|
+
declare const ModalFooter: react.ForwardRefExoticComponent<Props$g & NativeAttrs$i & react.RefAttributes<HTMLDivElement>>;
|
|
1579
1583
|
|
|
1580
|
-
interface Props$
|
|
1584
|
+
interface Props$f {
|
|
1581
1585
|
as?: React.ElementType;
|
|
1582
1586
|
title?: React.ReactNode;
|
|
1583
1587
|
subtitle?: React.ReactNode;
|
|
@@ -1593,9 +1597,9 @@ interface Props$g {
|
|
|
1593
1597
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
1594
1598
|
};
|
|
1595
1599
|
}
|
|
1596
|
-
type NativeAttrs$
|
|
1597
|
-
type ModalHeaderProps = Props$
|
|
1598
|
-
declare const ModalHeader: react.ForwardRefExoticComponent<Props$
|
|
1600
|
+
type NativeAttrs$h = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$f>;
|
|
1601
|
+
type ModalHeaderProps = Props$f & NativeAttrs$h;
|
|
1602
|
+
declare const ModalHeader: react.ForwardRefExoticComponent<Props$f & NativeAttrs$h & react.RefAttributes<HTMLDivElement>>;
|
|
1599
1603
|
|
|
1600
1604
|
type ModalContentProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1601
1605
|
declare const ModalContent: react.ForwardRefExoticComponent<ModalContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -1607,18 +1611,18 @@ type CheckboxGroupDirection = 'row' | 'col';
|
|
|
1607
1611
|
type CheckboxGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1608
1612
|
type CheckboxColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
|
|
1609
1613
|
|
|
1610
|
-
interface Props$
|
|
1614
|
+
interface Props$e<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1611
1615
|
value?: TCheckboxValue;
|
|
1612
1616
|
size?: CheckboxSize;
|
|
1613
1617
|
labelPlacement?: CheckboxLabelPlacement;
|
|
1614
1618
|
color?: CheckboxColor;
|
|
1615
1619
|
indeterminate?: boolean;
|
|
1616
1620
|
}
|
|
1617
|
-
type NativeAttrs$
|
|
1618
|
-
type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$
|
|
1619
|
-
declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$
|
|
1621
|
+
type NativeAttrs$g = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$e | 'defaultValue'>;
|
|
1622
|
+
type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$e<TCheckboxValue> & NativeAttrs$g;
|
|
1623
|
+
declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$e<TCheckboxValue> & NativeAttrs$g & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
|
|
1620
1624
|
|
|
1621
|
-
interface Props$
|
|
1625
|
+
interface Props$d<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1622
1626
|
value?: TCheckboxValue[];
|
|
1623
1627
|
defaultValue?: TCheckboxValue[];
|
|
1624
1628
|
disabled?: boolean;
|
|
@@ -1630,9 +1634,9 @@ interface Props$e<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
|
1630
1634
|
color?: CheckboxColor;
|
|
1631
1635
|
onChange?: (value: TCheckboxValue[]) => void;
|
|
1632
1636
|
}
|
|
1633
|
-
type NativeAttrs$
|
|
1634
|
-
type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$
|
|
1635
|
-
declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$
|
|
1637
|
+
type NativeAttrs$f = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$d>;
|
|
1638
|
+
type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$d<TCheckboxValue> & NativeAttrs$f;
|
|
1639
|
+
declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$d<TCheckboxValue> & NativeAttrs$f & react.RefAttributes<HTMLTableElement>) => ReturnType<React.FunctionComponent>;
|
|
1636
1640
|
|
|
1637
1641
|
interface CheckboxGroupContextValue<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1638
1642
|
value: TCheckboxValue[];
|
|
@@ -1654,7 +1658,7 @@ type RadioGroupDirection = 'row' | 'col';
|
|
|
1654
1658
|
type RadioGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1655
1659
|
type RadioColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'dark' | 'light';
|
|
1656
1660
|
|
|
1657
|
-
interface Props$
|
|
1661
|
+
interface Props$c<TRadioValue extends RadioValue = RadioValue> {
|
|
1658
1662
|
value?: TRadioValue;
|
|
1659
1663
|
disabled?: boolean;
|
|
1660
1664
|
readOnly?: boolean;
|
|
@@ -1662,11 +1666,11 @@ interface Props$d<TRadioValue extends RadioValue = RadioValue> {
|
|
|
1662
1666
|
labelPlacement?: RadioLabelPlacement;
|
|
1663
1667
|
colorScheme?: ColorScheme;
|
|
1664
1668
|
}
|
|
1665
|
-
type NativeAttrs$
|
|
1666
|
-
type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$
|
|
1667
|
-
declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$
|
|
1669
|
+
type NativeAttrs$e = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$c | 'defaultValue' | 'checked' | 'defaultChecked' | 'onChange'>;
|
|
1670
|
+
type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$c<TRadioValue> & NativeAttrs$e;
|
|
1671
|
+
declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$c<TRadioValue> & NativeAttrs$e & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
|
|
1668
1672
|
|
|
1669
|
-
interface Props$
|
|
1673
|
+
interface Props$b<TRadioValue extends RadioValue = RadioValue> {
|
|
1670
1674
|
name?: string;
|
|
1671
1675
|
value?: TRadioValue;
|
|
1672
1676
|
defaultValue?: TRadioValue;
|
|
@@ -1679,9 +1683,9 @@ interface Props$c<TRadioValue extends RadioValue = RadioValue> {
|
|
|
1679
1683
|
color?: RadioColor;
|
|
1680
1684
|
onChange?: (value: TRadioValue) => void;
|
|
1681
1685
|
}
|
|
1682
|
-
type NativeAttrs$
|
|
1683
|
-
type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$
|
|
1684
|
-
declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$
|
|
1686
|
+
type NativeAttrs$d = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$b>;
|
|
1687
|
+
type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$b<TRadioValue> & NativeAttrs$d;
|
|
1688
|
+
declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$b<TRadioValue> & NativeAttrs$d & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
|
|
1685
1689
|
|
|
1686
1690
|
interface RadioGroupContextValue {
|
|
1687
1691
|
name: string;
|
|
@@ -1699,16 +1703,16 @@ declare const useRadioGroup: () => RadioGroupContextValue;
|
|
|
1699
1703
|
|
|
1700
1704
|
type NavRailPlacement = 'left' | 'right';
|
|
1701
1705
|
|
|
1702
|
-
interface Props$
|
|
1706
|
+
interface Props$a {
|
|
1703
1707
|
startContent?: React.ReactNode;
|
|
1704
1708
|
endContent?: React.ReactNode;
|
|
1705
1709
|
placement?: NavRailPlacement;
|
|
1706
1710
|
}
|
|
1707
|
-
type NativeAttrs$
|
|
1708
|
-
type NavRailProps = Props$
|
|
1711
|
+
type NativeAttrs$c = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$a>;
|
|
1712
|
+
type NavRailProps = Props$a & NativeAttrs$c;
|
|
1709
1713
|
declare const NavRail: React.FC<NavRailProps>;
|
|
1710
1714
|
|
|
1711
|
-
interface Props$
|
|
1715
|
+
interface Props$9 {
|
|
1712
1716
|
as?: React.ElementType;
|
|
1713
1717
|
icon?: React.ReactNode;
|
|
1714
1718
|
media?: React.ReactNode;
|
|
@@ -1718,11 +1722,11 @@ interface Props$a {
|
|
|
1718
1722
|
label?: React.HTMLAttributes<HTMLDivElement>;
|
|
1719
1723
|
};
|
|
1720
1724
|
}
|
|
1721
|
-
type NativeAttrs$
|
|
1722
|
-
type NavRailItemProps = Props$
|
|
1723
|
-
declare const NavRailItem: react.ForwardRefExoticComponent<Props$
|
|
1725
|
+
type NativeAttrs$b = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$9>;
|
|
1726
|
+
type NavRailItemProps = Props$9 & NativeAttrs$b;
|
|
1727
|
+
declare const NavRailItem: react.ForwardRefExoticComponent<Props$9 & NativeAttrs$b & react.RefAttributes<HTMLDivElement>>;
|
|
1724
1728
|
|
|
1725
|
-
type Props$
|
|
1729
|
+
type Props$8 = {
|
|
1726
1730
|
as?: React.ElementType;
|
|
1727
1731
|
label: React.ReactNode;
|
|
1728
1732
|
span?: Responsive<number>;
|
|
@@ -1738,20 +1742,20 @@ type Props$9 = {
|
|
|
1738
1742
|
mq: ContainerMediaQuery;
|
|
1739
1743
|
}) => React.ReactNode;
|
|
1740
1744
|
} & FormatOptions;
|
|
1741
|
-
type NativeAttrs$
|
|
1742
|
-
type DescriptionProps = Props$
|
|
1745
|
+
type NativeAttrs$a = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$8 | 'children'>;
|
|
1746
|
+
type DescriptionProps = Props$8 & NativeAttrs$a;
|
|
1743
1747
|
declare const Description: react.ForwardRefExoticComponent<DescriptionProps & react.RefAttributes<HTMLDivElement>>;
|
|
1744
1748
|
|
|
1745
|
-
type NativeAttrs$
|
|
1746
|
-
type DescriptionEmptyProps = NativeAttrs$
|
|
1747
|
-
declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$
|
|
1749
|
+
type NativeAttrs$9 = React.HTMLAttributes<HTMLDivElement>;
|
|
1750
|
+
type DescriptionEmptyProps = NativeAttrs$9;
|
|
1751
|
+
declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$9 & react.RefAttributes<HTMLDivElement>>;
|
|
1748
1752
|
|
|
1749
1753
|
type DescriptionsLayout = 'row' | 'col';
|
|
1750
1754
|
type DescriptionsSize = 'sm' | 'md' | 'lg';
|
|
1751
1755
|
type DescriptionsAlign = React.CSSProperties['textAlign'];
|
|
1752
1756
|
type DescriptionsMode = 'container' | 'screen' | 'css';
|
|
1753
1757
|
|
|
1754
|
-
interface Props$
|
|
1758
|
+
interface Props$7 {
|
|
1755
1759
|
as?: React.ElementType;
|
|
1756
1760
|
mode?: DescriptionsMode;
|
|
1757
1761
|
items?: DescriptionProps[];
|
|
@@ -1762,9 +1766,9 @@ interface Props$8 {
|
|
|
1762
1766
|
labelAlign?: Responsive<DescriptionsAlign>;
|
|
1763
1767
|
contentAlign?: Responsive<DescriptionsAlign>;
|
|
1764
1768
|
}
|
|
1765
|
-
type NativeAttrs$
|
|
1766
|
-
type DescriptionsProps = Props$
|
|
1767
|
-
declare const Descriptions: react.ForwardRefExoticComponent<Props$
|
|
1769
|
+
type NativeAttrs$8 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$7 | 'children'>;
|
|
1770
|
+
type DescriptionsProps = Props$7 & NativeAttrs$8;
|
|
1771
|
+
declare const Descriptions: react.ForwardRefExoticComponent<Props$7 & NativeAttrs$8 & react.RefAttributes<HTMLDivElement>>;
|
|
1768
1772
|
|
|
1769
1773
|
interface DescriptionsContextValue {
|
|
1770
1774
|
mq: ContainerMediaQuery;
|
|
@@ -1777,9 +1781,9 @@ interface DescriptionsContextValue {
|
|
|
1777
1781
|
declare const DescriptionsContext: react.Context<DescriptionsContextValue | null>;
|
|
1778
1782
|
declare const useDescriptionsContext: () => DescriptionsContextValue;
|
|
1779
1783
|
|
|
1780
|
-
type NativeAttrs$
|
|
1781
|
-
type DescriptionTextProps = NativeAttrs$
|
|
1782
|
-
declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$
|
|
1784
|
+
type NativeAttrs$7 = React.HTMLAttributes<HTMLDivElement>;
|
|
1785
|
+
type DescriptionTextProps = NativeAttrs$7;
|
|
1786
|
+
declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$7 & react.RefAttributes<HTMLDivElement>>;
|
|
1783
1787
|
|
|
1784
1788
|
declare function reactNodeToText(node: React.ReactNode): string;
|
|
1785
1789
|
|
|
@@ -1799,14 +1803,14 @@ interface ResponsiveProps$2 {
|
|
|
1799
1803
|
justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
|
|
1800
1804
|
alignItems?: Responsive<React.CSSProperties['alignItems']>;
|
|
1801
1805
|
}
|
|
1802
|
-
type Props$
|
|
1806
|
+
type Props$6 = {
|
|
1803
1807
|
as?: React.ElementType;
|
|
1804
1808
|
} & ResponsiveProps$2;
|
|
1805
|
-
type NativeAttrs$
|
|
1806
|
-
type GridItemProps = Props$
|
|
1809
|
+
type NativeAttrs$6 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$6>;
|
|
1810
|
+
type GridItemProps = Props$6 & NativeAttrs$6;
|
|
1807
1811
|
declare const GridItem: react.ForwardRefExoticComponent<{
|
|
1808
1812
|
as?: React.ElementType;
|
|
1809
|
-
} & ResponsiveProps$2 & NativeAttrs$
|
|
1813
|
+
} & ResponsiveProps$2 & NativeAttrs$6 & react.RefAttributes<HTMLDivElement>>;
|
|
1810
1814
|
|
|
1811
1815
|
interface ResponsiveProps$1 {
|
|
1812
1816
|
cols?: Responsive<number>;
|
|
@@ -1824,14 +1828,14 @@ interface ResponsiveProps$1 {
|
|
|
1824
1828
|
justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
|
|
1825
1829
|
alignItems?: Responsive<React.CSSProperties['alignItems']>;
|
|
1826
1830
|
}
|
|
1827
|
-
type Props$
|
|
1831
|
+
type Props$5 = {
|
|
1828
1832
|
items?: GridItemProps[];
|
|
1829
1833
|
} & ResponsiveProps$1;
|
|
1830
|
-
type NativeAttrs$
|
|
1831
|
-
type GridSubProps = Props$
|
|
1834
|
+
type NativeAttrs$5 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$5>;
|
|
1835
|
+
type GridSubProps = Props$5 & NativeAttrs$5;
|
|
1832
1836
|
declare const GridSub: react.ForwardRefExoticComponent<{
|
|
1833
1837
|
items?: GridItemProps[];
|
|
1834
|
-
} & ResponsiveProps$1 & NativeAttrs$
|
|
1838
|
+
} & ResponsiveProps$1 & NativeAttrs$5 & react.RefAttributes<HTMLDivElement>>;
|
|
1835
1839
|
|
|
1836
1840
|
type GridMode = 'container' | 'screen' | 'css';
|
|
1837
1841
|
|
|
@@ -1853,16 +1857,16 @@ interface ResponsiveProps {
|
|
|
1853
1857
|
wrapper?: React.HTMLAttributes<HTMLDivElement>;
|
|
1854
1858
|
};
|
|
1855
1859
|
}
|
|
1856
|
-
type Props$
|
|
1860
|
+
type Props$4 = {
|
|
1857
1861
|
mode?: GridMode;
|
|
1858
1862
|
items?: (GridItemProps | GridSubProps)[];
|
|
1859
1863
|
} & ResponsiveProps;
|
|
1860
|
-
type NativeAttrs$
|
|
1861
|
-
type GridProps = Props$
|
|
1864
|
+
type NativeAttrs$4 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$4>;
|
|
1865
|
+
type GridProps = Props$4 & NativeAttrs$4;
|
|
1862
1866
|
declare const Grid: react.ForwardRefExoticComponent<{
|
|
1863
1867
|
mode?: GridMode;
|
|
1864
1868
|
items?: (GridItemProps | GridSubProps)[];
|
|
1865
|
-
} & ResponsiveProps & NativeAttrs$
|
|
1869
|
+
} & ResponsiveProps & NativeAttrs$4 & react.RefAttributes<HTMLDivElement>>;
|
|
1866
1870
|
|
|
1867
1871
|
interface GridContextValue {
|
|
1868
1872
|
mq: ContainerMediaQuery;
|
|
@@ -1882,7 +1886,7 @@ declare const Html: React.FC<HtmlProps>;
|
|
|
1882
1886
|
|
|
1883
1887
|
type StepColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
1884
1888
|
|
|
1885
|
-
interface Props$
|
|
1889
|
+
interface Props$3 {
|
|
1886
1890
|
value?: string | number | symbol;
|
|
1887
1891
|
title: React.ReactNode;
|
|
1888
1892
|
subtitle: React.ReactNode;
|
|
@@ -1890,18 +1894,18 @@ interface Props$4 {
|
|
|
1890
1894
|
color?: StepColor;
|
|
1891
1895
|
disabled?: boolean;
|
|
1892
1896
|
}
|
|
1893
|
-
type NativeAttrs$
|
|
1894
|
-
type StepProps = Props$
|
|
1897
|
+
type NativeAttrs$3 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$3>;
|
|
1898
|
+
type StepProps = Props$3 & NativeAttrs$3;
|
|
1895
1899
|
declare const Step: React.FC<StepProps>;
|
|
1896
1900
|
|
|
1897
|
-
interface Props$
|
|
1901
|
+
interface Props$2 {
|
|
1898
1902
|
direction?: 'horizontal' | 'vertical';
|
|
1899
1903
|
value?: number | string | symbol;
|
|
1900
1904
|
color?: StepColor;
|
|
1901
1905
|
markPreviousAsChecked?: boolean;
|
|
1902
1906
|
}
|
|
1903
|
-
type NativeAttrs$
|
|
1904
|
-
type StepsProps = Props$
|
|
1907
|
+
type NativeAttrs$2 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$2>;
|
|
1908
|
+
type StepsProps = Props$2 & NativeAttrs$2;
|
|
1905
1909
|
declare const Steps: React.FC<StepsProps>;
|
|
1906
1910
|
|
|
1907
1911
|
interface StepsContextValue {
|
|
@@ -1939,12 +1943,12 @@ interface TreeItemData {
|
|
|
1939
1943
|
levelAlignment: number;
|
|
1940
1944
|
}
|
|
1941
1945
|
|
|
1942
|
-
interface Props$
|
|
1946
|
+
interface Props$1 extends TreeItemBase {
|
|
1943
1947
|
title: string;
|
|
1944
|
-
items?: Props$
|
|
1948
|
+
items?: Props$1[];
|
|
1945
1949
|
}
|
|
1946
|
-
type NativeAttrs$
|
|
1947
|
-
type TreeItemProps = Props$
|
|
1950
|
+
type NativeAttrs$1 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$1 | 'items'>;
|
|
1951
|
+
type TreeItemProps = Props$1 & NativeAttrs$1;
|
|
1948
1952
|
declare const TreeItem: (props: TreeItemProps) => react_jsx_runtime.JSX.Element;
|
|
1949
1953
|
|
|
1950
1954
|
interface TreeProps$1 {
|
|
@@ -1996,51 +2000,79 @@ interface DropdownProps {
|
|
|
1996
2000
|
onClose?: () => void;
|
|
1997
2001
|
children: ((options: {
|
|
1998
2002
|
isOpen: boolean;
|
|
1999
|
-
}) =>
|
|
2003
|
+
}) => react.ReactNode) | react.ReactNode;
|
|
2000
2004
|
}
|
|
2001
|
-
declare const Dropdown:
|
|
2005
|
+
declare const Dropdown: {
|
|
2006
|
+
(props: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
2007
|
+
displayName: string;
|
|
2008
|
+
};
|
|
2002
2009
|
|
|
2003
|
-
interface
|
|
2004
|
-
children:
|
|
2010
|
+
interface DropdownTriggerProps {
|
|
2011
|
+
children: react.ReactElement;
|
|
2005
2012
|
className?: string;
|
|
2006
|
-
style?: React.CSSProperties;
|
|
2007
2013
|
}
|
|
2008
|
-
declare const
|
|
2014
|
+
declare const DropdownTrigger: {
|
|
2015
|
+
(props: DropdownTriggerProps): react_jsx_runtime.JSX.Element;
|
|
2016
|
+
displayName: string;
|
|
2017
|
+
};
|
|
2009
2018
|
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
}): React.HTMLAttributes<any> & {
|
|
2021
|
-
ref?: React.Ref<any> | undefined;
|
|
2019
|
+
type DropdownSize = 'sm' | 'md' | 'lg';
|
|
2020
|
+
|
|
2021
|
+
type Side = 'top' | 'bottom' | 'left' | 'right' | 'inline-start' | 'inline-end';
|
|
2022
|
+
type Align = 'start' | 'end' | 'center';
|
|
2023
|
+
type OffsetFunction = (data: {
|
|
2024
|
+
side: Side;
|
|
2025
|
+
align: Align;
|
|
2026
|
+
anchor: {
|
|
2027
|
+
width: number;
|
|
2028
|
+
height: number;
|
|
2022
2029
|
};
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
ref?: React.Ref<any> | undefined;
|
|
2027
|
-
}): React.HTMLAttributes<any> & {
|
|
2028
|
-
ref?: React.Ref<any> | undefined;
|
|
2030
|
+
positioner: {
|
|
2031
|
+
width: number;
|
|
2032
|
+
height: number;
|
|
2029
2033
|
};
|
|
2034
|
+
}) => number;
|
|
2035
|
+
interface DropdownContentProps {
|
|
2036
|
+
children: react.ReactNode;
|
|
2037
|
+
className?: string;
|
|
2038
|
+
sideOffset?: number | OffsetFunction;
|
|
2039
|
+
size?: DropdownSize;
|
|
2040
|
+
style?: react.CSSProperties;
|
|
2030
2041
|
}
|
|
2031
|
-
declare const
|
|
2032
|
-
declare const useDropdownContext: () => DropdownContextValue;
|
|
2042
|
+
declare const DropdownContent: react.ForwardRefExoticComponent<DropdownContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
2033
2043
|
|
|
2034
|
-
interface
|
|
2044
|
+
interface DropdownItemProps extends Omit<ListItemProps, 'as' | 'level' | 'hoverable'> {
|
|
2045
|
+
disabled?: boolean;
|
|
2046
|
+
className?: string;
|
|
2035
2047
|
}
|
|
2036
|
-
|
|
2037
|
-
type DropdownItemProps = Props$1 & NativeAttrs$1;
|
|
2038
|
-
declare const DropdownItem: (props: DropdownItemProps) => react_jsx_runtime.JSX.Element;
|
|
2048
|
+
declare const DropdownItem: react.ForwardRefExoticComponent<DropdownItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
2039
2049
|
|
|
2040
|
-
interface
|
|
2041
|
-
|
|
2050
|
+
interface DropdownSeparatorProps extends react.ComponentPropsWithoutRef<typeof Menu$1.Separator> {
|
|
2051
|
+
className?: string;
|
|
2052
|
+
}
|
|
2053
|
+
declare const DropdownSeparator: react.ForwardRefExoticComponent<DropdownSeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
|
2054
|
+
|
|
2055
|
+
interface DropdownArrowProps extends react.ComponentPropsWithoutRef<typeof Menu$1.Arrow> {
|
|
2056
|
+
children?: react.ReactNode;
|
|
2057
|
+
className?: string;
|
|
2042
2058
|
}
|
|
2043
|
-
declare const
|
|
2059
|
+
declare const DropdownArrow: react.ForwardRefExoticComponent<DropdownArrowProps & react.RefAttributes<HTMLDivElement>>;
|
|
2060
|
+
|
|
2061
|
+
interface DropdownSubmenuProps {
|
|
2062
|
+
children: react.ReactNode;
|
|
2063
|
+
className?: string;
|
|
2064
|
+
}
|
|
2065
|
+
declare const DropdownSubmenu: {
|
|
2066
|
+
(props: DropdownSubmenuProps): react_jsx_runtime.JSX.Element;
|
|
2067
|
+
displayName: string;
|
|
2068
|
+
};
|
|
2069
|
+
|
|
2070
|
+
interface DropdownSubmenuTriggerItemProps extends Omit<react.ComponentPropsWithoutRef<typeof Menu$1.SubmenuTrigger>, 'children' | 'render' | 'title'>, Omit<ListItemBaseProps, 'as' | 'hoverable' | 'level'> {
|
|
2071
|
+
showChevron?: boolean;
|
|
2072
|
+
chevronIcon?: react.ReactNode;
|
|
2073
|
+
className?: string;
|
|
2074
|
+
}
|
|
2075
|
+
declare const DropdownSubmenuTriggerItem: react.ForwardRefExoticComponent<DropdownSubmenuTriggerItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
2044
2076
|
|
|
2045
2077
|
interface ListTreeItemIndentationProps {
|
|
2046
2078
|
level: number;
|
|
@@ -2300,4 +2332,53 @@ declare const DockLayouts: () => react_jsx_runtime.JSX.Element;
|
|
|
2300
2332
|
declare const usePanel: () => PanelMeta;
|
|
2301
2333
|
declare const usePanelData: <TData extends Record<string, any>>() => TData;
|
|
2302
2334
|
|
|
2303
|
-
|
|
2335
|
+
interface NavigationMenuItemProps extends Omit<ListItemProps, 'hoverable' | 'level'> {
|
|
2336
|
+
children?: react.ReactNode;
|
|
2337
|
+
className?: string;
|
|
2338
|
+
style?: react.CSSProperties;
|
|
2339
|
+
onClick?: react.MouseEventHandler<HTMLDivElement>;
|
|
2340
|
+
}
|
|
2341
|
+
declare const NavigationMenuItem: react.ForwardRefExoticComponent<NavigationMenuItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
2342
|
+
|
|
2343
|
+
interface NavigationMenuGroupProps {
|
|
2344
|
+
label?: string;
|
|
2345
|
+
children: react.ReactNode;
|
|
2346
|
+
className?: string;
|
|
2347
|
+
}
|
|
2348
|
+
declare const NavigationMenuGroup: react.ForwardRefExoticComponent<NavigationMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
2349
|
+
|
|
2350
|
+
interface NavigationMenuSeparatorProps {
|
|
2351
|
+
className?: string;
|
|
2352
|
+
}
|
|
2353
|
+
declare const NavigationMenuSeparator: react.ForwardRefExoticComponent<NavigationMenuSeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
|
2354
|
+
|
|
2355
|
+
interface NavigationMenuGridProps {
|
|
2356
|
+
columns?: 1 | 2 | 3 | 4;
|
|
2357
|
+
gap?: string;
|
|
2358
|
+
children: react.ReactNode;
|
|
2359
|
+
className?: string;
|
|
2360
|
+
}
|
|
2361
|
+
declare const NavigationMenuGrid: react.ForwardRefExoticComponent<NavigationMenuGridProps & react.RefAttributes<HTMLDivElement>>;
|
|
2362
|
+
|
|
2363
|
+
type NavigationMenuSize = 'sm' | 'md' | 'lg';
|
|
2364
|
+
interface NavigationMenuProps extends react.ComponentPropsWithoutRef<typeof NavigationMenu$1.Root> {
|
|
2365
|
+
size?: NavigationMenuSize;
|
|
2366
|
+
}
|
|
2367
|
+
declare const NavigationMenu: react.ForwardRefExoticComponent<NavigationMenuProps & react.RefAttributes<HTMLElement>>;
|
|
2368
|
+
declare const NavigationMenuList: react.ForwardRefExoticComponent<Omit<_base_ui_react_navigation_menu.NavigationMenuListProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2369
|
+
interface NavigationMenuTriggerItemProps extends Omit<react.ComponentPropsWithoutRef<typeof NavigationMenu$1.Trigger>, 'title'>, Omit<ListItemBaseProps, 'as' | 'hoverable' | 'level'> {
|
|
2370
|
+
showChevron?: boolean;
|
|
2371
|
+
}
|
|
2372
|
+
declare const NavigationMenuTriggerItem: react.ForwardRefExoticComponent<NavigationMenuTriggerItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
2373
|
+
declare const NavigationMenuContent: react.ForwardRefExoticComponent<Omit<_base_ui_react_navigation_menu.NavigationMenuContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2374
|
+
declare const NavigationMenuLink: react.ForwardRefExoticComponent<Omit<_base_ui_react_navigation_menu.NavigationMenuLinkProps & react.RefAttributes<HTMLAnchorElement>, "ref"> & react.RefAttributes<HTMLAnchorElement>>;
|
|
2375
|
+
declare const NavigationMenuIcon: react.ForwardRefExoticComponent<Omit<_base_ui_react_navigation_menu.NavigationMenuIconProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2376
|
+
declare const NavigationMenuPortal: react.ForwardRefExoticComponent<_base_ui_react_navigation_menu.NavigationMenuPortalProps & react.RefAttributes<HTMLDivElement>>;
|
|
2377
|
+
declare const NavigationMenuPositioner: react.ForwardRefExoticComponent<Omit<_base_ui_react_navigation_menu.NavigationMenuPositionerProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2378
|
+
declare const NavigationMenuPopup: react.ForwardRefExoticComponent<Omit<_base_ui_react_navigation_menu.NavigationMenuPopupProps & react.RefAttributes<HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
2379
|
+
declare const NavigationMenuArrow: react.ForwardRefExoticComponent<Omit<_base_ui_react_navigation_menu.NavigationMenuArrowProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2380
|
+
declare const NavigationMenuViewport: react.ForwardRefExoticComponent<Omit<_base_ui_react_navigation_menu.NavigationMenuViewportProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2381
|
+
|
|
2382
|
+
declare const NavigationMenuItemRoot: react.ForwardRefExoticComponent<_base_ui_react_navigation_menu.NavigationMenuItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
2383
|
+
|
|
2384
|
+
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, type AutocompleteItem, type AutocompleteKeyField, type AutocompleteMultiple, type AutocompleteProps, Backdrop, type BackdropPlacement, type BackdropProps, type BackdropVariant, Badge, type BadgeProps, Button, type ButtonColor, ButtonGroup, ButtonGroupContext, type ButtonGroupContextValue, type ButtonGroupDirection, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, type CardProps, CardSubtitle, type CardSubtitleProps, CardTitle, type CardTitleProps, Checkbox, type CheckboxColor, CheckboxGroup, type CheckboxGroupAlignment, CheckboxGroupContext, type CheckboxGroupContextValue, type CheckboxGroupDirection, type CheckboxGroupProps, type CheckboxLabelPlacement, type CheckboxProps, type CheckboxSize, type CheckboxValue, Chip, type ChipProps, Collapse, CollapseContent, type CollapseContentProps, CollapseContext, type CollapseContextValue, type CollapseProps, CollapseTrigger, type CollapseTriggerProps, type ColorScheme, type ContainerBreakpoints, ContainerMediaQuery, DataList, type DataListItem, type DataListKeyField, type DataListMultipleProps, type DataListProps, type DataListSingleProps, Description, DescriptionEmpty, type DescriptionEmptyProps, type DescriptionProps, DescriptionText, type DescriptionTextProps, Descriptions, type DescriptionsAlign, DescriptionsContext, type DescriptionsContextValue, type DescriptionsLayout, type DescriptionsMode, type DescriptionsProps, type DescriptionsSize, type Disclosure, Divider, type DividerProps, Draggable, DraggableContent, type DraggableContentProps, DraggableTrigger, Drawer, type DrawerBackdrop, DrawerBody, type DrawerBodyProps, type DrawerClose, DrawerContext, type DrawerContextValue, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, type DrawerPosition, type DrawerProps, type DrawerSize, Dropdown, DropdownArrow, type DropdownArrowProps, DropdownContent, type DropdownContentProps, DropdownItem, type DropdownItemProps, type DropdownProps, DropdownSeparator, type DropdownSeparatorProps, type DropdownSize, DropdownSubmenu, type DropdownSubmenuProps, DropdownSubmenuTriggerItem, DropdownTrigger, type DropdownTriggerProps, Field, type FieldProps, type FormatBooleanOptions, type FormatCurrencyOptions, type FormatDateOptions, type FormatFileSizeOptions, type FormatNumberOptions, type FormatOptions, type FormatPercentOptions, type FormatStringOptions, Grid, GridContext, type GridContextValue, GridItem, type GridItemProps, type GridMode, type GridProps, GridSub, type GridSubProps, Html, type HtmlProps, INDENT_SIZE, Icon, type IconColor, type IconProps, type IconSize, Iframe, type IframeProps, type InfiniteData, type InfiniteQueryFunction, type InfiniteQueryOptions, type InfiniteQueryRefetchOptions, type InputBaseProps, InputClose, type InputCloseProps, type InputColor, InputGroup, type InputGroupProps, InputSelector, type InputSelectorProps, type InputSize, type InputVariant, InputWrapper, type InputWrapperProps, LayoutManager, LayoutCollisions as LayoutManagerColissions, DockLayouts as LayoutManagerDockLayouts, DropzoneLayouts as LayoutManagerDropzoneLayouts, type LayoutManagerInstance, Layouts as LayoutManagerLayouts, Panels as LayoutManagerPanels, Taskbar as LayoutManagerTaskbar, type LayoutMeta, LayoutsDebug, List, ListGroup, type ListGroupProps, ListItem, type ListItemProps, type ListProps, type ListSize, ListSubheader, type ListSubheaderProps, ListTree, ListTreeContext, type ListTreeContextValue, ListTreeItem, ListTreeItemIndentation, type ListTreeItemProps, type ListTreeProps, type MediaQuery, Menu, MenuContext, type MenuContextValue, MenuGroup, type MenuGroupItemType, type MenuGroupProps, MenuItem, type MenuItemProps, type MenuItemType, type MenuProps, MenuSubmenu, type MenuSubmenuProps, MenuValueContext, Modal, type ModalBackdrop, ModalBody, type ModalBodyProps, type ModalClose, ModalContent, type ModalContentProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalPlacement, type ModalProps, type ModalScrollBehavior, type ModalSize, type MutationError, type MutationFunction, type MutationOK, type MutationResult, MutationStatus, NavRail, NavRailItem, type NavRailItemProps, type NavRailPlacement, type NavRailProps, NavigationMenu, NavigationMenuArrow, NavigationMenuContent, NavigationMenuGrid, type NavigationMenuGridProps, NavigationMenuGroup, type NavigationMenuGroupProps, NavigationMenuIcon, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuItemRoot, NavigationMenuLink, NavigationMenuList, NavigationMenuPopup, NavigationMenuPortal, NavigationMenuPositioner, type NavigationMenuProps, NavigationMenuSeparator, type NavigationMenuSeparatorProps, type NavigationMenuSize, NavigationMenuTriggerItem, NavigationMenuViewport, type PanelMeta, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, type PortalProps, type QueryFunction, QueryStatus, Radio, type RadioColor, RadioGroup, type RadioGroupAlignment, RadioGroupContext, type RadioGroupContextValue, type RadioGroupDirection, type RadioGroupProps, type RadioLabelPlacement, type RadioProps, type RadioSize, type RadioValue, type ReactRef, type Resize, type Responsive, Result, type ResultProps, type ResultStatus, STRING_RULES, type ScrollAlignment, ScrollArea, type ScrollAreaProps, type ScrollBehavior, type ScrollToOptions, Select, type SelectClearable, SelectContext, type SelectContextValue, type SelectMultiple, type SelectProps, type SelectionItem$1 as SelectionItem, type SelectionOnChange$1 as SelectionOnChange, type SelectionProps$1 as SelectionProps, type SelectionValue$1 as SelectionValue, Step, type StepColor, type StepProps, Steps, StepsContext, type StepsContextValue, type StepsProps, type StringRules, Swipe, SwipeItem, type SwipeItemProps, type SwipeProps, Switch, type SwitchColor, type SwitchLabelPlacement, type SwitchProps, type SwitchSize, Tab, type TabProps, Tabs, type TabsAlignment, type TabsProps, type TabsVariant, TextInput, type TextInputProps, type Timer, type TimerMode, Toolbar, type ToolbarColor, type ToolbarProps, type ToolbarSize, type ToolbarVariant, Transition, type TransitionProps, Tree, TreeContext, type TreeContextValue, TreeItem, type TreeItemBase, type TreeItemData, type TreeItemProps, type TreeItemValue, type TreeProps$1 as TreeProps, type UploadFileData, type UploadFileProps, UploadFiles, type UseContainerMediaQueryOptions, type UseInfiniteQueryOptions, type UseInfiniteQueryResult, type UseMutationOptions, type UseMutationResult, type UseQueryOptions, type UseQueryResult, type UseResizeObserverOptions, type VirtualItem, type Virtualizer, type VirtualizerOptions, areArraysEqual, assignRef, breakpointsMap, clsx, containsPlainText, defaultBreakpoints, doesNotContainEmojis, flattenTree, format, formatCurrency, formatDate, formatDateTime, formatFileSize, formatPercent, formatShortDateTime, formatTime, generateId, getOpenValuesByPathname, hasResizeObserver, initializeTreeValues, isAlphanumeric, isEmpty, isEmptyString, isNumeric, mergeRefs, reactNodeToText, scrollToItem, toAlphaString, toAlphanumericString, toLocalDateString, toLocalDateTimeString, toNotEmojisString, toNumericString, toPlainTextString, toRulesString, updateTreeValues, useAccordion, useAccordionItem, useButtonGroup, useCheckboxGroup, useCollapse, useContainerMediaQuery, useDebounce, useDescriptionsContext, useDisclosure, useDrawer, useEffectEvent, useElementSize, useExtractProps, useFormat, useGridContext, useInfiniteQuery, useInputProps, useLayoutManager, usePanel as useLayoutManagerPanel, usePanelData as useLayoutManagerPanelData, useLayoutPanelManager, useLocalStorage, useMediaQuery, useMenu, useMenuItemValue, useModal, useMutation, useOnClickOutside, usePopover, usePrevious, useQuery, useRadioGroup, useResizeObserver, useSelect, useStep, useStepsContext, useTimer, useTree, useValueEffect, useVirtualizer, validateRules, valueToValues, valuesToValue };
|