@medway-ui/core 1.14.5 → 1.15.0
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/assets/css/tokens.css +11 -4
- package/dist/assets/js/tokens.ts +23 -11
- package/dist/index.d.mts +228 -228
- package/dist/index.d.ts +228 -228
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import * as
|
|
4
|
-
import { ComponentProps, HTMLAttributes } from 'react';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ComponentProps, ReactNode, ReactElement, TableHTMLAttributes, HTMLAttributes, ThHTMLAttributes, ComponentPropsWithoutRef } from 'react';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import { AlertDialog as AlertDialog$1, Avatar as Avatar$1, Progress as Progress$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1, Switch as Switch$1, Toast as Toast$2 } from 'radix-ui';
|
|
7
7
|
|
|
8
|
-
interface AlertProps extends
|
|
8
|
+
interface AlertProps extends ComponentProps<"div"> {
|
|
9
9
|
variant?: "regular" | "emphasis" | "success" | "warning" | "error";
|
|
10
10
|
onClose?: () => void;
|
|
11
11
|
}
|
|
@@ -13,78 +13,78 @@ declare const alertVariants: (props?: ({
|
|
|
13
13
|
variant?: "regular" | "emphasis" | "success" | "warning" | "error" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
15
|
declare function Alert({ className, variant, onClose, children, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
16
|
-
declare function AlertContainer({ className, ...props }:
|
|
17
|
-
declare function AlertContent({ className, ...props }:
|
|
18
|
-
declare function AlertIcon({ className, icon, ...props }:
|
|
19
|
-
icon?:
|
|
16
|
+
declare function AlertContainer({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
17
|
+
declare function AlertContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
18
|
+
declare function AlertIcon({ className, icon, ...props }: ComponentProps<"div"> & {
|
|
19
|
+
icon?: ReactNode;
|
|
20
20
|
}): react_jsx_runtime.JSX.Element;
|
|
21
|
-
declare function AlertTitle({ className, ...props }:
|
|
22
|
-
declare function AlertDescription({ className, ...props }:
|
|
23
|
-
declare function AlertActions({ className, ...props }:
|
|
21
|
+
declare function AlertTitle({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
22
|
+
declare function AlertDescription({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
23
|
+
declare function AlertActions({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
24
24
|
declare const alertButtonVariants: (props?: ({
|
|
25
25
|
variant?: "regular" | "basic" | null | undefined;
|
|
26
26
|
alertVariant?: "regular" | "emphasis" | "success" | "warning" | "error" | null | undefined;
|
|
27
27
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
28
|
-
interface AlertButtonProps extends
|
|
28
|
+
interface AlertButtonProps extends ComponentProps<"button">, VariantProps<typeof alertButtonVariants> {
|
|
29
29
|
}
|
|
30
30
|
declare function AlertButton({ className, variant, ...props }: AlertButtonProps): react_jsx_runtime.JSX.Element;
|
|
31
31
|
|
|
32
|
-
declare function AlertDialog({ ...props }:
|
|
33
|
-
declare function AlertDialogTrigger({ ...props }:
|
|
34
|
-
declare function AlertDialogPortal({ ...props }:
|
|
35
|
-
declare function AlertDialogOverlay({ className, ...props }:
|
|
36
|
-
declare function AlertDialogContent({ className, ...props }:
|
|
37
|
-
declare function AlertDialogHeader({ className, ...props }:
|
|
38
|
-
declare function AlertDialogFooter({ className, ...props }:
|
|
39
|
-
declare function AlertDialogTitle({ className, ...props }:
|
|
40
|
-
declare function AlertDialogDescription({ className, ...props }:
|
|
41
|
-
declare function AlertDialogAction({ className, ...props }:
|
|
42
|
-
declare function AlertDialogCancel({ className, ...props }:
|
|
32
|
+
declare function AlertDialog({ ...props }: ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
33
|
+
declare function AlertDialogTrigger({ ...props }: ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
34
|
+
declare function AlertDialogPortal({ ...props }: ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
35
|
+
declare function AlertDialogOverlay({ className, ...props }: ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
36
|
+
declare function AlertDialogContent({ className, ...props }: ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime.JSX.Element;
|
|
37
|
+
declare function AlertDialogHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
38
|
+
declare function AlertDialogFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
39
|
+
declare function AlertDialogTitle({ className, ...props }: ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
40
|
+
declare function AlertDialogDescription({ className, ...props }: ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
41
|
+
declare function AlertDialogAction({ className, ...props }: ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime.JSX.Element;
|
|
42
|
+
declare function AlertDialogCancel({ className, ...props }: ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime.JSX.Element;
|
|
43
43
|
|
|
44
44
|
declare const avatarVariants: (props?: ({
|
|
45
45
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
46
46
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
47
|
-
interface AvatarProps extends
|
|
47
|
+
interface AvatarProps extends ComponentProps<typeof Avatar$1.Root>, VariantProps<typeof avatarVariants> {
|
|
48
48
|
src?: string;
|
|
49
49
|
alt?: string;
|
|
50
|
-
fallback?:
|
|
50
|
+
fallback?: ReactNode;
|
|
51
51
|
badge?: number | string;
|
|
52
52
|
}
|
|
53
53
|
declare function Avatar({ className, size, badge, children, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
54
|
-
declare function AvatarImage({ className, ...props }:
|
|
55
|
-
declare function AvatarFallback({ className, ...props }:
|
|
54
|
+
declare function AvatarImage({ className, ...props }: ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
|
|
55
|
+
declare function AvatarFallback({ className, ...props }: ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
|
|
56
56
|
|
|
57
57
|
declare const badgeVariants: (props?: ({
|
|
58
58
|
variant?: "regular" | "warning" | "error" | "freemium" | null | undefined;
|
|
59
59
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
60
60
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
61
61
|
type BadgeAnimation = "shine";
|
|
62
|
-
interface BadgeProps extends
|
|
62
|
+
interface BadgeProps extends ComponentProps<"span">, VariantProps<typeof badgeVariants> {
|
|
63
63
|
asChild?: boolean;
|
|
64
|
-
icon?:
|
|
64
|
+
icon?: ReactNode;
|
|
65
65
|
animation?: BadgeAnimation;
|
|
66
66
|
}
|
|
67
67
|
declare function Badge({ className, variant, size, icon, animation, asChild, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
68
68
|
|
|
69
|
-
declare function Breadcrumb({ ...props }:
|
|
70
|
-
declare function BreadcrumbList({ className, ...props }:
|
|
71
|
-
interface BreadcrumbItemProps extends
|
|
72
|
-
icon?:
|
|
69
|
+
declare function Breadcrumb({ ...props }: ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
70
|
+
declare function BreadcrumbList({ className, ...props }: ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
71
|
+
interface BreadcrumbItemProps extends ComponentProps<"li"> {
|
|
72
|
+
icon?: ReactNode;
|
|
73
73
|
}
|
|
74
74
|
declare function BreadcrumbItem({ className, icon, children, ...props }: BreadcrumbItemProps): react_jsx_runtime.JSX.Element;
|
|
75
|
-
interface BreadcrumbLinkProps extends
|
|
75
|
+
interface BreadcrumbLinkProps extends ComponentProps<"a"> {
|
|
76
76
|
asChild?: boolean;
|
|
77
77
|
}
|
|
78
78
|
declare function BreadcrumbLink({ asChild, className, ...props }: BreadcrumbLinkProps): react_jsx_runtime.JSX.Element;
|
|
79
|
-
declare function BreadcrumbPage({ className, ...props }:
|
|
80
|
-
declare function BreadcrumbSeparator({ children, className, ...props }:
|
|
81
|
-
declare function BreadcrumbEllipsis({ className, ...props }:
|
|
79
|
+
declare function BreadcrumbPage({ className, ...props }: ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
80
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
81
|
+
declare function BreadcrumbEllipsis({ className, ...props }: ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
82
82
|
|
|
83
|
-
interface ButtonProps extends
|
|
83
|
+
interface ButtonProps extends ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
84
84
|
asChild?: boolean;
|
|
85
85
|
containerClassName?: string;
|
|
86
|
-
iconRight?:
|
|
87
|
-
iconLeft?:
|
|
86
|
+
iconRight?: ReactNode;
|
|
87
|
+
iconLeft?: ReactNode;
|
|
88
88
|
badge?: number | string;
|
|
89
89
|
loading?: boolean;
|
|
90
90
|
alert?: string;
|
|
@@ -95,7 +95,7 @@ declare const buttonVariants: (props?: ({
|
|
|
95
95
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
96
96
|
declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
97
97
|
|
|
98
|
-
interface ProgressCircleProps extends
|
|
98
|
+
interface ProgressCircleProps extends ComponentProps<"div"> {
|
|
99
99
|
value: number | string;
|
|
100
100
|
size?: number;
|
|
101
101
|
strokeWidth?: number;
|
|
@@ -107,115 +107,115 @@ interface ProgressCircleProps extends React$1.ComponentProps<"div"> {
|
|
|
107
107
|
}
|
|
108
108
|
declare function ProgressCircle({ className, indicatorClassName, trackClassName, valueClassName, label, labelClassName, value, size, strokeWidth, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
109
109
|
|
|
110
|
-
interface ProgressProps extends
|
|
110
|
+
interface ProgressProps extends ComponentProps<typeof Progress$1.Root> {
|
|
111
111
|
indicatorClassName?: string;
|
|
112
112
|
label?: string;
|
|
113
113
|
}
|
|
114
114
|
declare function Progress({ className, indicatorClassName, label, value, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
115
115
|
|
|
116
|
-
interface CardWeekProps extends
|
|
116
|
+
interface CardWeekProps extends ComponentProps<"div"> {
|
|
117
117
|
done?: boolean;
|
|
118
118
|
postponed?: boolean;
|
|
119
119
|
skipped?: boolean;
|
|
120
120
|
}
|
|
121
|
-
interface CardWeekBreadcrumbProps extends
|
|
121
|
+
interface CardWeekBreadcrumbProps extends ComponentProps<"div"> {
|
|
122
122
|
tag?: string;
|
|
123
|
-
tagIcon?:
|
|
123
|
+
tagIcon?: ReactElement;
|
|
124
124
|
}
|
|
125
|
-
interface CardWeekTextProps extends
|
|
125
|
+
interface CardWeekTextProps extends ComponentProps<"div"> {
|
|
126
126
|
isTime?: boolean;
|
|
127
127
|
}
|
|
128
128
|
declare function CardWeek({ className, done, postponed, skipped, ...props }: CardWeekProps): react_jsx_runtime.JSX.Element;
|
|
129
129
|
declare function CardWeekBreadcrumb({ className, children, tag, tagIcon, ...props }: CardWeekBreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
130
|
-
declare function CardWeekContainer({ className, ...props }:
|
|
131
|
-
declare function CardWeekHeader({ className, ...props }:
|
|
132
|
-
declare function CardWeekTitle({ className, ...props }:
|
|
133
|
-
declare function CardWeekDescription({ className, ...props }:
|
|
134
|
-
declare function CardWeekTags({ className, ...props }:
|
|
130
|
+
declare function CardWeekContainer({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function CardWeekHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
132
|
+
declare function CardWeekTitle({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
133
|
+
declare function CardWeekDescription({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
134
|
+
declare function CardWeekTags({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
135
135
|
declare function CardWeekProgressCircle({ className, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
136
136
|
declare function CardWeekProgress({ className, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
137
|
-
declare function CardWeekFooter({ className, ...props }:
|
|
138
|
-
declare function CardWeekContent({ className, children, ...props }:
|
|
137
|
+
declare function CardWeekFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
138
|
+
declare function CardWeekContent({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
139
139
|
declare function CardWeekText({ className, children, isTime, ...props }: CardWeekTextProps): react_jsx_runtime.JSX.Element;
|
|
140
|
-
declare function CardWeekStatus({ className, ...props }:
|
|
141
|
-
declare function CardWeekActions({ className, ...props }:
|
|
140
|
+
declare function CardWeekStatus({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
141
|
+
declare function CardWeekActions({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
142
142
|
|
|
143
143
|
declare const checkboxVariants: (props?: ({
|
|
144
144
|
variant?: "regular" | null | undefined;
|
|
145
145
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
146
146
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
147
|
-
interface CheckboxProps extends
|
|
147
|
+
interface CheckboxProps extends ComponentProps<typeof Checkbox$1.Root>, VariantProps<typeof checkboxVariants> {
|
|
148
148
|
uncheckIcon?: boolean;
|
|
149
149
|
}
|
|
150
150
|
declare function Checkbox({ className, size, variant, uncheckIcon, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
151
151
|
|
|
152
152
|
type AnimationType = "accordion" | "fade";
|
|
153
|
-
interface CollapsibleContentProps extends
|
|
153
|
+
interface CollapsibleContentProps extends ComponentProps<typeof Collapsible$1.Content> {
|
|
154
154
|
className?: string;
|
|
155
155
|
}
|
|
156
|
-
interface CollapsibleProps extends
|
|
156
|
+
interface CollapsibleProps extends ComponentProps<typeof Collapsible$1.Root> {
|
|
157
157
|
animation?: AnimationType;
|
|
158
158
|
}
|
|
159
159
|
declare function Collapsible({ animation, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
|
|
160
|
-
declare function CollapsibleTrigger({ ...props }:
|
|
160
|
+
declare function CollapsibleTrigger({ ...props }: ComponentProps<typeof Collapsible$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
161
161
|
declare function CollapsibleContent({ className, ...props }: CollapsibleContentProps): react_jsx_runtime.JSX.Element;
|
|
162
162
|
|
|
163
|
-
declare function Dialog({ ...props }:
|
|
164
|
-
declare function DialogTrigger({ ...props }:
|
|
165
|
-
declare function DialogPortal({ ...props }:
|
|
166
|
-
declare function DialogClose({ ...props }:
|
|
167
|
-
declare function DialogOverlay({ className, ...props }:
|
|
168
|
-
interface DialogContainerProps extends
|
|
163
|
+
declare function Dialog({ ...props }: ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
164
|
+
declare function DialogTrigger({ ...props }: ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
165
|
+
declare function DialogPortal({ ...props }: ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
166
|
+
declare function DialogClose({ ...props }: ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
|
|
167
|
+
declare function DialogOverlay({ className, ...props }: ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
168
|
+
interface DialogContainerProps extends ComponentProps<typeof Dialog$1.Content> {
|
|
169
169
|
showCloseButton?: boolean;
|
|
170
170
|
overlayClassName?: string;
|
|
171
171
|
}
|
|
172
172
|
declare function DialogContainer({ className, overlayClassName, children, showCloseButton, ...props }: DialogContainerProps): react_jsx_runtime.JSX.Element;
|
|
173
173
|
declare function DialogContent({ className, children, }: {
|
|
174
174
|
className?: string;
|
|
175
|
-
children:
|
|
175
|
+
children: ReactNode;
|
|
176
176
|
}): react_jsx_runtime.JSX.Element;
|
|
177
|
-
interface DialogHeaderProps extends
|
|
177
|
+
interface DialogHeaderProps extends ComponentProps<"div"> {
|
|
178
178
|
separator?: boolean;
|
|
179
179
|
}
|
|
180
180
|
declare function DialogHeader({ className, separator, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
|
|
181
|
-
interface DialogFooterProps extends
|
|
181
|
+
interface DialogFooterProps extends ComponentProps<"div"> {
|
|
182
182
|
separator?: boolean;
|
|
183
183
|
}
|
|
184
184
|
declare function DialogFooter({ className, separator, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
|
|
185
|
-
interface DialogTitleProps extends
|
|
186
|
-
iconLeft?:
|
|
187
|
-
iconRight?:
|
|
185
|
+
interface DialogTitleProps extends ComponentProps<typeof Dialog$1.Title> {
|
|
186
|
+
iconLeft?: ReactNode;
|
|
187
|
+
iconRight?: ReactNode;
|
|
188
188
|
}
|
|
189
189
|
declare function DialogTitle({ className, iconLeft, iconRight, children, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
|
|
190
|
-
declare function DialogDescription({ className, ...props }:
|
|
191
|
-
|
|
192
|
-
declare function DropdownMenu({ ...props }:
|
|
193
|
-
declare function DropdownMenuPortal({ ...props }:
|
|
194
|
-
declare function DropdownMenuTrigger({ ...props }:
|
|
195
|
-
declare function DropdownMenuContent({ className, sideOffset, side, ...props }:
|
|
196
|
-
declare function DropdownMenuGroup({ ...props }:
|
|
197
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }:
|
|
190
|
+
declare function DialogDescription({ className, ...props }: ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
191
|
+
|
|
192
|
+
declare function DropdownMenu({ ...props }: ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
193
|
+
declare function DropdownMenuPortal({ ...props }: ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
194
|
+
declare function DropdownMenuTrigger({ ...props }: ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
195
|
+
declare function DropdownMenuContent({ className, sideOffset, side, ...props }: ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
196
|
+
declare function DropdownMenuGroup({ ...props }: ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime.JSX.Element;
|
|
197
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
198
198
|
inset?: boolean;
|
|
199
199
|
variant?: "default" | "destructive";
|
|
200
200
|
}): react_jsx_runtime.JSX.Element;
|
|
201
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }:
|
|
202
|
-
declare function DropdownMenuRadioGroup({ ...props }:
|
|
203
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }:
|
|
204
|
-
interface DropdownMenuLabelProps extends
|
|
201
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
202
|
+
declare function DropdownMenuRadioGroup({ ...props }: ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
203
|
+
declare function DropdownMenuRadioItem({ className, children, ...props }: ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
204
|
+
interface DropdownMenuLabelProps extends ComponentProps<typeof DropdownMenu$1.Label> {
|
|
205
205
|
inset?: boolean;
|
|
206
206
|
}
|
|
207
207
|
declare function DropdownMenuLabel({ className, inset, ...props }: DropdownMenuLabelProps): react_jsx_runtime.JSX.Element;
|
|
208
|
-
declare function DropdownMenuSeparator({ className, ...props }:
|
|
209
|
-
declare function DropdownMenuShortcut({ className, ...props }:
|
|
210
|
-
declare function DropdownMenuSub({ ...props }:
|
|
211
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }:
|
|
208
|
+
declare function DropdownMenuSeparator({ className, ...props }: ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
209
|
+
declare function DropdownMenuShortcut({ className, ...props }: ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
210
|
+
declare function DropdownMenuSub({ ...props }: ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime.JSX.Element;
|
|
211
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
212
212
|
inset?: boolean;
|
|
213
213
|
}): react_jsx_runtime.JSX.Element;
|
|
214
|
-
declare function DropdownMenuSubContent({ className, ...props }:
|
|
214
|
+
declare function DropdownMenuSubContent({ className, ...props }: ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
215
215
|
|
|
216
|
-
declare function Input({ className, type, ...props }:
|
|
216
|
+
declare function Input({ className, type, ...props }: ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
217
217
|
|
|
218
|
-
interface LabelProps extends
|
|
218
|
+
interface LabelProps extends ComponentProps<typeof Label$1.Root>, VariantProps<typeof labelVariants> {
|
|
219
219
|
block?: boolean;
|
|
220
220
|
}
|
|
221
221
|
declare const labelVariants: (props?: ({
|
|
@@ -253,25 +253,25 @@ interface PaginationProps {
|
|
|
253
253
|
}
|
|
254
254
|
type PaginationLinkProps = {
|
|
255
255
|
isActive?: boolean;
|
|
256
|
-
iconLeft?:
|
|
257
|
-
iconRight?:
|
|
256
|
+
iconLeft?: ReactNode;
|
|
257
|
+
iconRight?: ReactNode;
|
|
258
258
|
size?: "sm" | "md" | "lg";
|
|
259
259
|
variant?: ButtonVariant;
|
|
260
260
|
activeVariant?: ButtonVariant;
|
|
261
261
|
inactiveVariant?: ButtonVariant;
|
|
262
|
-
} &
|
|
262
|
+
} & ComponentProps<"button">;
|
|
263
263
|
type ButtonVariant = NonNullable<VariantProps<typeof buttonVariants>["variant"]>;
|
|
264
|
-
declare function PaginationRoot({ className, ...props }:
|
|
265
|
-
declare function PaginationContent({ className, ...props }:
|
|
266
|
-
declare function PaginationInfo({ count, label, className, ...props }:
|
|
264
|
+
declare function PaginationRoot({ className, ...props }: ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
265
|
+
declare function PaginationContent({ className, ...props }: ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
266
|
+
declare function PaginationInfo({ count, label, className, ...props }: ComponentProps<"p"> & {
|
|
267
267
|
count?: number;
|
|
268
268
|
label?: string;
|
|
269
269
|
}): react_jsx_runtime.JSX.Element;
|
|
270
|
-
declare function PaginationItem({ className, ...props }:
|
|
270
|
+
declare function PaginationItem({ className, ...props }: ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
271
271
|
declare function PaginationLink({ className, isActive, iconLeft, iconRight, size, variant, activeVariant, inactiveVariant, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
272
|
-
declare function PaginationPrevious({ className, size, variant, ...props }:
|
|
273
|
-
declare function PaginationNext({ className, size, variant, ...props }:
|
|
274
|
-
declare function PaginationEllipsis({ className, size, ...props }:
|
|
272
|
+
declare function PaginationPrevious({ className, size, variant, ...props }: ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
273
|
+
declare function PaginationNext({ className, size, variant, ...props }: ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
274
|
+
declare function PaginationEllipsis({ className, size, ...props }: ComponentProps<"span"> & {
|
|
275
275
|
size?: "sm" | "md" | "lg";
|
|
276
276
|
}): react_jsx_runtime.JSX.Element;
|
|
277
277
|
declare function calculatePageNumbers(currentPage: number, totalPages: number, maxVisible?: number): number[];
|
|
@@ -281,72 +281,72 @@ declare const radioGroupVariants: (props?: ({
|
|
|
281
281
|
variant?: "regular" | null | undefined;
|
|
282
282
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
283
283
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
284
|
-
declare function RadioGroup({ className, ...props }:
|
|
285
|
-
interface RadioGroupItemProps extends
|
|
284
|
+
declare function RadioGroup({ className, ...props }: ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime.JSX.Element;
|
|
285
|
+
interface RadioGroupItemProps extends ComponentProps<typeof RadioGroup$1.Item>, VariantProps<typeof radioGroupVariants> {
|
|
286
286
|
}
|
|
287
287
|
declare function RadioGroupItem({ className, size, variant, ...props }: RadioGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
288
288
|
|
|
289
|
-
interface RankingProps extends
|
|
290
|
-
children?:
|
|
289
|
+
interface RankingProps extends TableHTMLAttributes<HTMLTableElement> {
|
|
290
|
+
children?: ReactNode;
|
|
291
291
|
}
|
|
292
|
-
interface RankingHeaderProps extends
|
|
293
|
-
children?:
|
|
292
|
+
interface RankingHeaderProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
293
|
+
children?: ReactNode;
|
|
294
294
|
}
|
|
295
|
-
interface RankingHeaderCellProps extends
|
|
296
|
-
children?:
|
|
295
|
+
interface RankingHeaderCellProps extends ThHTMLAttributes<HTMLTableCellElement> {
|
|
296
|
+
children?: ReactNode;
|
|
297
297
|
tooltip?: string;
|
|
298
298
|
highlight?: boolean;
|
|
299
299
|
}
|
|
300
|
-
interface RankingItemProps extends
|
|
301
|
-
children?:
|
|
300
|
+
interface RankingItemProps extends HTMLAttributes<HTMLTableRowElement> {
|
|
301
|
+
children?: ReactNode;
|
|
302
302
|
}
|
|
303
|
-
interface RankingNumberProps extends
|
|
304
|
-
children:
|
|
303
|
+
interface RankingNumberProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
304
|
+
children: ReactNode;
|
|
305
305
|
}
|
|
306
|
-
interface RankingTopicColumnProps extends
|
|
307
|
-
children:
|
|
306
|
+
interface RankingTopicColumnProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
307
|
+
children: ReactNode;
|
|
308
308
|
}
|
|
309
|
-
interface RankingTopicContentProps extends
|
|
310
|
-
children:
|
|
309
|
+
interface RankingTopicContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
310
|
+
children: ReactNode;
|
|
311
311
|
}
|
|
312
|
-
interface RankingSpecialtyProps extends
|
|
313
|
-
children:
|
|
312
|
+
interface RankingSpecialtyProps extends HTMLAttributes<HTMLSpanElement> {
|
|
313
|
+
children: ReactNode;
|
|
314
314
|
}
|
|
315
|
-
interface RankingTopicProps extends
|
|
316
|
-
children:
|
|
315
|
+
interface RankingTopicProps extends HTMLAttributes<HTMLSpanElement> {
|
|
316
|
+
children: ReactNode;
|
|
317
317
|
}
|
|
318
|
-
interface RankingSuperFocusProps extends
|
|
319
|
-
children?:
|
|
318
|
+
interface RankingSuperFocusProps extends HTMLAttributes<HTMLDivElement> {
|
|
319
|
+
children?: ReactNode;
|
|
320
320
|
}
|
|
321
|
-
interface RankingAssigneesColumnProps extends
|
|
322
|
-
children:
|
|
321
|
+
interface RankingAssigneesColumnProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
322
|
+
children: ReactNode;
|
|
323
323
|
}
|
|
324
|
-
interface RankingAssigneeLabelProps extends
|
|
325
|
-
children:
|
|
324
|
+
interface RankingAssigneeLabelProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
325
|
+
children: ReactNode;
|
|
326
326
|
}
|
|
327
|
-
interface RankingAssigneeGroupProps extends
|
|
328
|
-
children:
|
|
327
|
+
interface RankingAssigneeGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
328
|
+
children: ReactNode;
|
|
329
329
|
}
|
|
330
|
-
interface RankingAssigneeItemProps extends
|
|
330
|
+
interface RankingAssigneeItemProps extends ComponentProps<typeof Avatar> {
|
|
331
331
|
src?: string;
|
|
332
332
|
alt?: string;
|
|
333
333
|
fallback?: string;
|
|
334
|
-
tooltip?:
|
|
334
|
+
tooltip?: ReactNode;
|
|
335
335
|
}
|
|
336
|
-
interface RankingPriorityProps extends
|
|
337
|
-
children:
|
|
338
|
-
icon?:
|
|
336
|
+
interface RankingPriorityProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
337
|
+
children: ReactNode;
|
|
338
|
+
icon?: ReactElement;
|
|
339
339
|
}
|
|
340
|
-
interface RankingQuestionsProps extends
|
|
340
|
+
interface RankingQuestionsProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
341
341
|
questions: number;
|
|
342
342
|
answered: number;
|
|
343
343
|
}
|
|
344
|
-
interface RankingPerformanceProps extends
|
|
344
|
+
interface RankingPerformanceProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
345
345
|
questions: number;
|
|
346
346
|
answered: number;
|
|
347
347
|
correct: number;
|
|
348
348
|
}
|
|
349
|
-
interface RankingButtonProps extends Omit<
|
|
349
|
+
interface RankingButtonProps extends Omit<ComponentProps<typeof Button>, "iconRight" | "onClick"> {
|
|
350
350
|
onClick?: () => void;
|
|
351
351
|
}
|
|
352
352
|
interface PerformanceData {
|
|
@@ -359,7 +359,7 @@ type PercentageStatusKey = "notStarted" | "minNotReached" | "dominated" | "notDo
|
|
|
359
359
|
declare function Ranking({ children, className, ...props }: RankingProps): react_jsx_runtime.JSX.Element;
|
|
360
360
|
declare function RankingHeader({ children, className, ...props }: RankingHeaderProps): react_jsx_runtime.JSX.Element;
|
|
361
361
|
declare function RankingHeaderCell({ children, className, tooltip, highlight, ...props }: RankingHeaderCellProps): react_jsx_runtime.JSX.Element;
|
|
362
|
-
declare function RankingBody({ children, className, ...props }:
|
|
362
|
+
declare function RankingBody({ children, className, ...props }: HTMLAttributes<HTMLTableSectionElement>): react_jsx_runtime.JSX.Element;
|
|
363
363
|
declare function RankingItem({ children, className, ...props }: RankingItemProps): react_jsx_runtime.JSX.Element;
|
|
364
364
|
declare function RankingNumber({ children, className, ...props }: RankingNumberProps): react_jsx_runtime.JSX.Element;
|
|
365
365
|
declare function RankingTopicColumn({ children, className, ...props }: RankingTopicColumnProps): react_jsx_runtime.JSX.Element;
|
|
@@ -401,8 +401,8 @@ declare const RatingLabelVariants: (props?: ({
|
|
|
401
401
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
402
402
|
declare function Rating({ value, onChange, maxStars, readOnly, labels, size, className, classNameContainer, classNameLabels, }: RatingProps): react_jsx_runtime.JSX.Element;
|
|
403
403
|
|
|
404
|
-
declare function ScrollArea({ className, children, ...props }:
|
|
405
|
-
declare function ScrollBar({ className, orientation, ...props }:
|
|
404
|
+
declare function ScrollArea({ className, children, ...props }: ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime.JSX.Element;
|
|
405
|
+
declare function ScrollBar({ className, orientation, ...props }: ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
406
406
|
|
|
407
407
|
interface SelectProps extends ComponentProps<typeof Select$1.Root> {
|
|
408
408
|
invalid?: boolean;
|
|
@@ -411,29 +411,29 @@ declare function Select({ invalid, ...props }: SelectProps): react_jsx_runtime.J
|
|
|
411
411
|
interface SelectLabelProps extends HTMLAttributes<HTMLLabelElement> {
|
|
412
412
|
htmlFor?: string;
|
|
413
413
|
}
|
|
414
|
-
declare function SelectWrapper({ className, ...props }:
|
|
414
|
+
declare function SelectWrapper({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
415
415
|
declare function SelectLabel({ className, children, ...props }: SelectLabelProps): react_jsx_runtime.JSX.Element;
|
|
416
|
-
declare function SelectGroup({ ...props }:
|
|
417
|
-
declare function SelectValue({ ...props }:
|
|
418
|
-
declare function SelectTrigger({ className, children, ...props }:
|
|
419
|
-
declare function SelectContent({ className, children, position, ...props }:
|
|
420
|
-
declare function SelectHeader({ className, ...props }:
|
|
421
|
-
declare function SelectItem({ className, children, ...props }:
|
|
422
|
-
declare function SelectSeparator({ className, ...props }:
|
|
423
|
-
declare function SelectScrollUpButton({ className, ...props }:
|
|
424
|
-
declare function SelectScrollDownButton({ className, ...props }:
|
|
425
|
-
declare function SelectText({ className, ...props }:
|
|
416
|
+
declare function SelectGroup({ ...props }: ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
|
|
417
|
+
declare function SelectValue({ ...props }: ComponentProps<typeof Select$1.Value>): react_jsx_runtime.JSX.Element;
|
|
418
|
+
declare function SelectTrigger({ className, children, ...props }: ComponentProps<typeof Select$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
419
|
+
declare function SelectContent({ className, children, position, ...props }: ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
|
|
420
|
+
declare function SelectHeader({ className, ...props }: ComponentProps<typeof Select$1.Label>): react_jsx_runtime.JSX.Element;
|
|
421
|
+
declare function SelectItem({ className, children, ...props }: ComponentProps<typeof Select$1.Item>): react_jsx_runtime.JSX.Element;
|
|
422
|
+
declare function SelectSeparator({ className, ...props }: ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
423
|
+
declare function SelectScrollUpButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
424
|
+
declare function SelectScrollDownButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
425
|
+
declare function SelectText({ className, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
426
426
|
|
|
427
427
|
type SegmentSize = "sm" | "md" | "lg";
|
|
428
|
-
declare function SegmentControl({ className, size, children, ...props }:
|
|
428
|
+
declare function SegmentControl({ className, size, children, ...props }: ComponentProps<typeof Tabs$1.Root> & {
|
|
429
429
|
size?: SegmentSize;
|
|
430
430
|
}): react_jsx_runtime.JSX.Element;
|
|
431
|
-
interface SegmentControlListProps extends
|
|
431
|
+
interface SegmentControlListProps extends ComponentProps<typeof Tabs$1.List> {
|
|
432
432
|
containerClassName?: string;
|
|
433
433
|
}
|
|
434
434
|
declare function SegmentControlList({ className, containerClassName, ...props }: SegmentControlListProps): react_jsx_runtime.JSX.Element;
|
|
435
|
-
interface SegmentControlTriggerProps extends
|
|
436
|
-
icon?:
|
|
435
|
+
interface SegmentControlTriggerProps extends ComponentProps<typeof Tabs$1.Trigger> {
|
|
436
|
+
icon?: ReactNode;
|
|
437
437
|
badge?: number | string;
|
|
438
438
|
badgeVariant?: BadgeProps["variant"];
|
|
439
439
|
}
|
|
@@ -441,26 +441,26 @@ declare const segmentControlTriggerVariants: (props?: ({
|
|
|
441
441
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
442
442
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
443
443
|
declare function SegmentControlTrigger({ className, icon, badge, badgeVariant, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
|
|
444
|
-
declare function SegmentControlContent({ className, ...props }:
|
|
444
|
+
declare function SegmentControlContent({ className, ...props }: ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
445
445
|
|
|
446
|
-
declare function Separator({ className, orientation, decorative, ...props }:
|
|
446
|
+
declare function Separator({ className, orientation, decorative, ...props }: ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
|
|
447
447
|
|
|
448
|
-
declare function Sheet({ ...props }:
|
|
449
|
-
declare function SheetTrigger({ ...props }:
|
|
450
|
-
declare function SheetClose({ ...props }:
|
|
451
|
-
interface SheetContentProps extends
|
|
448
|
+
declare function Sheet({ ...props }: ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
449
|
+
declare function SheetTrigger({ ...props }: ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
450
|
+
declare function SheetClose({ ...props }: ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
|
|
451
|
+
interface SheetContentProps extends ComponentProps<typeof Dialog$1.Content> {
|
|
452
452
|
side?: "top" | "right" | "bottom" | "left";
|
|
453
453
|
}
|
|
454
454
|
declare function SheetContent({ className, children, side, ...props }: SheetContentProps): react_jsx_runtime.JSX.Element;
|
|
455
|
-
declare function SheetHeader({ className, ...props }:
|
|
456
|
-
declare function SheetFooter({ className, ...props }:
|
|
457
|
-
declare function SheetTitle({ className, ...props }:
|
|
458
|
-
declare function SheetDescription({ className, ...props }:
|
|
455
|
+
declare function SheetHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
456
|
+
declare function SheetFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
457
|
+
declare function SheetTitle({ className, ...props }: ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
458
|
+
declare function SheetDescription({ className, ...props }: ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
459
459
|
|
|
460
|
-
declare function TooltipProvider({ delayDuration, ...props }:
|
|
461
|
-
declare function Tooltip({ ...props }:
|
|
462
|
-
declare function TooltipTrigger({ ...props }:
|
|
463
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }:
|
|
460
|
+
declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
|
|
461
|
+
declare function Tooltip({ ...props }: ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
|
|
462
|
+
declare function TooltipTrigger({ ...props }: ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
463
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
|
|
464
464
|
|
|
465
465
|
type SidebarContextProps = {
|
|
466
466
|
state: "expanded" | "collapsed";
|
|
@@ -472,19 +472,19 @@ type SidebarContextProps = {
|
|
|
472
472
|
toggleSidebar: () => void;
|
|
473
473
|
};
|
|
474
474
|
declare function useSidebar(): SidebarContextProps;
|
|
475
|
-
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, children, ...props }:
|
|
475
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, children, ...props }: ComponentProps<"div"> & {
|
|
476
476
|
defaultOpen?: boolean;
|
|
477
477
|
open?: boolean;
|
|
478
478
|
onOpenChange?: (open: boolean) => void;
|
|
479
479
|
}): react_jsx_runtime.JSX.Element;
|
|
480
|
-
declare function Sidebar({ side, variant, collapsible, className, containerClassName, children, ...props }:
|
|
480
|
+
declare function Sidebar({ side, variant, collapsible, className, containerClassName, children, ...props }: ComponentProps<"div"> & {
|
|
481
481
|
side?: "left" | "right";
|
|
482
482
|
variant?: "sidebar" | "floating" | "inset";
|
|
483
483
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
484
484
|
containerClassName?: string;
|
|
485
485
|
}): react_jsx_runtime.JSX.Element;
|
|
486
|
-
declare function SidebarTrigger({ className, onClick, sizeIcon, icon, showTooltip, tooltipContent, enableHover, ...props }:
|
|
487
|
-
icon?:
|
|
486
|
+
declare function SidebarTrigger({ className, onClick, sizeIcon, icon, showTooltip, tooltipContent, enableHover, ...props }: ComponentProps<typeof Button> & {
|
|
487
|
+
icon?: ReactNode;
|
|
488
488
|
sizeIcon?: string;
|
|
489
489
|
showTooltip?: boolean;
|
|
490
490
|
tooltipContent?: {
|
|
@@ -493,69 +493,69 @@ declare function SidebarTrigger({ className, onClick, sizeIcon, icon, showToolti
|
|
|
493
493
|
};
|
|
494
494
|
enableHover?: boolean;
|
|
495
495
|
}): react_jsx_runtime.JSX.Element;
|
|
496
|
-
declare function SidebarRail({ className, ...props }:
|
|
497
|
-
declare function SidebarInset({ className, ...props }:
|
|
498
|
-
declare function SidebarInput({ className, ...props }:
|
|
499
|
-
declare function SidebarHeader({ className, ...props }:
|
|
500
|
-
declare function SidebarFooter({ className, ...props }:
|
|
501
|
-
declare function SidebarSeparator({ className, ...props }:
|
|
502
|
-
declare function SidebarContent({ className, ...props }:
|
|
503
|
-
declare function SidebarGroup({ className, ...props }:
|
|
504
|
-
declare function SidebarGroupLabel({ className, asChild, ...props }:
|
|
496
|
+
declare function SidebarRail({ className, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
497
|
+
declare function SidebarInset({ className, ...props }: ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
498
|
+
declare function SidebarInput({ className, ...props }: ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
499
|
+
declare function SidebarHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
500
|
+
declare function SidebarFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
501
|
+
declare function SidebarSeparator({ className, ...props }: ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
502
|
+
declare function SidebarContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
503
|
+
declare function SidebarGroup({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
504
|
+
declare function SidebarGroupLabel({ className, asChild, ...props }: ComponentProps<"div"> & {
|
|
505
505
|
asChild?: boolean;
|
|
506
506
|
}): react_jsx_runtime.JSX.Element;
|
|
507
|
-
declare function SidebarGroupAction({ className, asChild, ...props }:
|
|
507
|
+
declare function SidebarGroupAction({ className, asChild, ...props }: ComponentProps<"button"> & {
|
|
508
508
|
asChild?: boolean;
|
|
509
509
|
}): react_jsx_runtime.JSX.Element;
|
|
510
|
-
declare function SidebarGroupContent({ className, ...props }:
|
|
511
|
-
declare function SidebarMenu({ className, ...props }:
|
|
512
|
-
declare function SidebarMenuItem({ className, isActive, children, ...props }:
|
|
510
|
+
declare function SidebarGroupContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
511
|
+
declare function SidebarMenu({ className, ...props }: ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
512
|
+
declare function SidebarMenuItem({ className, isActive, children, ...props }: ComponentProps<"li"> & {
|
|
513
513
|
isActive?: boolean;
|
|
514
514
|
}): react_jsx_runtime.JSX.Element;
|
|
515
515
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
516
516
|
variant?: "section" | "default" | "outline" | null | undefined;
|
|
517
517
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
518
518
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
519
|
-
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }:
|
|
519
|
+
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: ComponentProps<"button"> & {
|
|
520
520
|
asChild?: boolean;
|
|
521
521
|
isActive?: boolean;
|
|
522
|
-
tooltip?: string |
|
|
522
|
+
tooltip?: string | ComponentProps<typeof TooltipContent>;
|
|
523
523
|
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
524
|
-
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }:
|
|
524
|
+
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: ComponentProps<"button"> & {
|
|
525
525
|
asChild?: boolean;
|
|
526
526
|
showOnHover?: boolean;
|
|
527
527
|
}): react_jsx_runtime.JSX.Element;
|
|
528
|
-
declare function SidebarMenuBadge({ className, ...props }:
|
|
529
|
-
declare function SidebarMenuSkeleton({ className, showIcon, ...props }:
|
|
528
|
+
declare function SidebarMenuBadge({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
529
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: ComponentProps<"div"> & {
|
|
530
530
|
showIcon?: boolean;
|
|
531
531
|
}): react_jsx_runtime.JSX.Element;
|
|
532
|
-
declare function SidebarMenuSub({ className, ...props }:
|
|
533
|
-
declare function SidebarMenuSubItem({ className, ...props }:
|
|
532
|
+
declare function SidebarMenuSub({ className, ...props }: ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
533
|
+
declare function SidebarMenuSubItem({ className, ...props }: ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
534
534
|
declare function SidebarMenuItemTitle({ icon, title, }: {
|
|
535
|
-
icon?:
|
|
535
|
+
icon?: ReactNode;
|
|
536
536
|
title: string;
|
|
537
537
|
}): react_jsx_runtime.JSX.Element;
|
|
538
538
|
declare function SidebarMenuItemCollapse(): react_jsx_runtime.JSX.Element;
|
|
539
|
-
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }:
|
|
539
|
+
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: ComponentProps<"a"> & {
|
|
540
540
|
asChild?: boolean;
|
|
541
541
|
size?: "sm" | "md";
|
|
542
542
|
isActive?: boolean;
|
|
543
543
|
}): react_jsx_runtime.JSX.Element;
|
|
544
544
|
|
|
545
|
-
declare function Skeleton({ className, ...props }:
|
|
545
|
+
declare function Skeleton({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
546
546
|
|
|
547
547
|
declare const switchVariants: (props?: ({
|
|
548
548
|
variant?: "regular" | null | undefined;
|
|
549
549
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
550
550
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
551
|
-
interface SwitchProps extends
|
|
552
|
-
checkedIcon?:
|
|
553
|
-
uncheckedIcon?:
|
|
551
|
+
interface SwitchProps extends ComponentProps<typeof Switch$1.Root>, VariantProps<typeof switchVariants> {
|
|
552
|
+
checkedIcon?: ReactNode;
|
|
553
|
+
uncheckedIcon?: ReactNode;
|
|
554
554
|
}
|
|
555
555
|
declare function Switch({ className, size, variant, checkedIcon, uncheckedIcon, checked, defaultChecked, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
556
556
|
|
|
557
557
|
interface SwitcherProps {
|
|
558
|
-
children:
|
|
558
|
+
children: ReactNode;
|
|
559
559
|
value?: string;
|
|
560
560
|
onValueChange?: (value: string) => void;
|
|
561
561
|
open?: boolean;
|
|
@@ -563,30 +563,30 @@ interface SwitcherProps {
|
|
|
563
563
|
onOpenChange?: (open: boolean) => void;
|
|
564
564
|
}
|
|
565
565
|
interface SwitcherTriggerProps {
|
|
566
|
-
children:
|
|
566
|
+
children: ReactNode;
|
|
567
567
|
asChild?: boolean;
|
|
568
568
|
className?: string;
|
|
569
569
|
}
|
|
570
570
|
interface SwitcherContentProps {
|
|
571
|
-
children:
|
|
571
|
+
children: ReactNode;
|
|
572
572
|
className?: string;
|
|
573
573
|
align?: "start" | "center" | "end";
|
|
574
574
|
side?: "top" | "right" | "bottom" | "left";
|
|
575
575
|
}
|
|
576
576
|
interface SwitcherGroupProps {
|
|
577
|
-
children:
|
|
577
|
+
children: ReactNode;
|
|
578
578
|
label?: string;
|
|
579
579
|
}
|
|
580
580
|
interface SwitcherItemProps {
|
|
581
|
-
children:
|
|
581
|
+
children: ReactNode;
|
|
582
582
|
value?: string;
|
|
583
583
|
onClick?: () => void;
|
|
584
|
-
icon?: string |
|
|
584
|
+
icon?: string | ReactNode;
|
|
585
585
|
}
|
|
586
586
|
interface SwitcherFooterProps {
|
|
587
|
-
children:
|
|
587
|
+
children: ReactNode;
|
|
588
588
|
onClick?: () => void;
|
|
589
|
-
icon?:
|
|
589
|
+
icon?: ReactNode;
|
|
590
590
|
}
|
|
591
591
|
declare function Switcher({ children, value, onValueChange, open, defaultOpen, onOpenChange, }: SwitcherProps): react_jsx_runtime.JSX.Element;
|
|
592
592
|
declare function SwitcherTrigger({ children, asChild, className, }: SwitcherTriggerProps): react_jsx_runtime.JSX.Element;
|
|
@@ -608,14 +608,14 @@ declare function SwitcherSeparator(): react_jsx_runtime.JSX.Element;
|
|
|
608
608
|
|
|
609
609
|
type TabsVariant = "header" | "standalone";
|
|
610
610
|
type TabsSize = "md" | "lg";
|
|
611
|
-
interface TabsProps extends
|
|
611
|
+
interface TabsProps extends ComponentProps<typeof Tabs$1.Root>, VariantProps<typeof tabsListVariants> {
|
|
612
612
|
size?: TabsSize;
|
|
613
613
|
responsive?: boolean;
|
|
614
614
|
}
|
|
615
|
-
type TabsListProps =
|
|
616
|
-
interface TabsTriggerProps extends
|
|
617
|
-
icon?:
|
|
618
|
-
badge?:
|
|
615
|
+
type TabsListProps = ComponentProps<typeof Tabs$1.List>;
|
|
616
|
+
interface TabsTriggerProps extends ComponentProps<typeof Tabs$1.Trigger> {
|
|
617
|
+
icon?: ReactNode;
|
|
618
|
+
badge?: ReactNode;
|
|
619
619
|
}
|
|
620
620
|
declare function useTabsContext(): {
|
|
621
621
|
variant: TabsVariant;
|
|
@@ -636,11 +636,11 @@ declare const tabsContentVariants: (props?: ({
|
|
|
636
636
|
declare function Tabs({ className, variant, size, responsive, children, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
637
637
|
declare function TabsList({ className, children, ...props }: TabsListProps): react_jsx_runtime.JSX.Element;
|
|
638
638
|
declare function TabsTrigger({ className, children, icon, badge, ...props }: TabsTriggerProps): react_jsx_runtime.JSX.Element;
|
|
639
|
-
declare function TabsContent({ className, ...props }:
|
|
639
|
+
declare function TabsContent({ className, ...props }: ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
640
640
|
|
|
641
|
-
interface TagProps extends
|
|
641
|
+
interface TagProps extends ComponentProps<"span">, VariantProps<typeof tagVariants> {
|
|
642
642
|
asChild?: boolean;
|
|
643
|
-
icon?:
|
|
643
|
+
icon?: ReactElement;
|
|
644
644
|
}
|
|
645
645
|
declare const tagVariants: (props?: ({
|
|
646
646
|
variant?: "regular" | "emphasis" | "success" | "warning" | "error" | "go" | "regular-soft" | "regular-basic" | "emphasis-soft" | "emphasis-basic" | "error-soft" | "error-basic" | "warning-soft" | "warning-basic" | "success-soft" | "success-basic" | "gray" | "gray-soft" | "gray-basic" | "cm" | "cm-soft" | "cm-basic" | "go-soft" | "go-basic" | "cir" | "cir-soft" | "cir-basic" | "ped" | "ped-soft" | "ped-basic" | "prev" | "prev-soft" | "prev-basic" | null | undefined;
|
|
@@ -650,46 +650,46 @@ declare function Tag({ className, variant, asChild, icon, children, ...props }:
|
|
|
650
650
|
declare const tileVariants: (props?: ({
|
|
651
651
|
variant?: "regular" | "go" | "cm" | "cir" | "ped" | "prev" | null | undefined;
|
|
652
652
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
653
|
-
interface TileProps extends
|
|
653
|
+
interface TileProps extends ComponentProps<"div">, VariantProps<typeof tileVariants> {
|
|
654
654
|
asChild?: boolean;
|
|
655
655
|
disabled?: boolean;
|
|
656
656
|
inactive?: boolean;
|
|
657
657
|
}
|
|
658
658
|
declare function Tile({ className, variant, asChild, disabled, inactive, ...props }: TileProps): react_jsx_runtime.JSX.Element;
|
|
659
|
-
declare function TileIcon({ className, icon, ...props }:
|
|
660
|
-
icon?:
|
|
659
|
+
declare function TileIcon({ className, icon, ...props }: ComponentProps<"div"> & {
|
|
660
|
+
icon?: ReactNode;
|
|
661
661
|
}): react_jsx_runtime.JSX.Element;
|
|
662
|
-
declare function TileTitle({ className, ...props }:
|
|
663
|
-
declare function TileDescription({ className, ...props }:
|
|
662
|
+
declare function TileTitle({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
663
|
+
declare function TileDescription({ className, ...props }: ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
664
664
|
|
|
665
665
|
type ToastActionVariant = "primary" | "secondary" | "success" | "warning" | "error";
|
|
666
|
-
interface ToastProps extends
|
|
666
|
+
interface ToastProps extends ComponentPropsWithoutRef<typeof Toast$2.Root>, VariantProps<typeof toastVariants> {
|
|
667
667
|
showIcon?: boolean;
|
|
668
668
|
duration?: number;
|
|
669
669
|
}
|
|
670
|
-
interface ToastActionProps extends Omit<ButtonProps, "variant">,
|
|
670
|
+
interface ToastActionProps extends Omit<ButtonProps, "variant">, ComponentPropsWithoutRef<typeof Toast$2.Action> {
|
|
671
671
|
variant?: ToastActionVariant;
|
|
672
672
|
}
|
|
673
|
-
interface ToastCloseProps extends
|
|
673
|
+
interface ToastCloseProps extends ComponentPropsWithoutRef<typeof Toast$2.Close> {
|
|
674
674
|
label?: string;
|
|
675
675
|
}
|
|
676
|
-
type ToastActionElement =
|
|
676
|
+
type ToastActionElement = ReactElement<typeof ToastAction>;
|
|
677
677
|
declare const toastVariants: (props?: ({
|
|
678
678
|
variant?: "success" | "warning" | "error" | "primary" | "secondary" | null | undefined;
|
|
679
679
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
680
|
-
declare const ToastProvider:
|
|
681
|
-
declare function ToastViewport({ className, ...props }:
|
|
680
|
+
declare const ToastProvider: react.FC<Toast$2.ToastProviderProps>;
|
|
681
|
+
declare function ToastViewport({ className, ...props }: ComponentPropsWithoutRef<typeof Toast$2.Viewport>): react_jsx_runtime.JSX.Element;
|
|
682
682
|
declare function Toast$1({ className, variant, showIcon, duration, children, ...props }: ToastProps): react_jsx_runtime.JSX.Element;
|
|
683
683
|
declare function ToastAction({ className, variant, size, iconLeft, iconRight, children, altText, ...props }: ToastActionProps): react_jsx_runtime.JSX.Element;
|
|
684
684
|
declare function ToastClose({ className, label, ...props }: ToastCloseProps): react_jsx_runtime.JSX.Element;
|
|
685
|
-
declare function ToastTitle({ className, ...props }:
|
|
686
|
-
declare function ToastDescription({ className, ...props }:
|
|
685
|
+
declare function ToastTitle({ className, ...props }: ComponentPropsWithoutRef<typeof Toast$2.Title>): react_jsx_runtime.JSX.Element;
|
|
686
|
+
declare function ToastDescription({ className, ...props }: ComponentPropsWithoutRef<typeof Toast$2.Description>): react_jsx_runtime.JSX.Element;
|
|
687
687
|
declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
688
688
|
|
|
689
689
|
type ToasterToast = ToastProps & {
|
|
690
690
|
id: string;
|
|
691
|
-
title?:
|
|
692
|
-
description?:
|
|
691
|
+
title?: ReactNode;
|
|
692
|
+
description?: ReactNode;
|
|
693
693
|
action?: ToastActionElement;
|
|
694
694
|
};
|
|
695
695
|
type Toast = Omit<ToasterToast, "id">;
|