adminium 1.0.1 → 1.0.3
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/README.md +82 -30
- package/dist/index.cjs +6737 -887
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +914 -28
- package/dist/index.d.ts +914 -28
- package/dist/index.js +6500 -888
- package/dist/index.js.map +1 -1
- package/dist/styles/adminium.css +6238 -0
- package/dist/styles/config.reui.css +108 -0
- package/dist/styles/global.css +73 -2805
- package/package.json +29 -4
- package/dist/styles/global.d.cts +0 -2
- package/dist/styles/global.d.ts +0 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,21 +1,509 @@
|
|
|
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
3
|
import * as React$1 from 'react';
|
|
4
|
+
import { ReactNode, CSSProperties, HTMLAttributes, RefObject } from 'react';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import
|
|
6
|
+
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Popover as Popover$1, Avatar as Avatar$1, Accordion as Accordion$1, Collapsible as Collapsible$1, Tabs as Tabs$1, ContextMenu as ContextMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, Slider as Slider$1, Switch as Switch$1, ScrollArea as ScrollArea$1, AspectRatio as AspectRatio$1, Select as Select$1, Progress as Progress$1 } from 'radix-ui';
|
|
6
7
|
import { LucideIcon } from 'lucide-react';
|
|
8
|
+
import { Drawer as Drawer$1 } from 'vaul';
|
|
9
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
10
|
+
import { Command as Command$1 } from 'cmdk';
|
|
11
|
+
import * as RechartsPrimitive from 'recharts';
|
|
12
|
+
import { RowData, Table, SortingState, ColumnFiltersState, Row, Cell, Column, HeaderGroup, Header } from '@tanstack/react-table';
|
|
13
|
+
import { DragEndEvent, UniqueIdentifier } from '@dnd-kit/core';
|
|
7
14
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
15
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
16
|
+
import { DayPicker } from 'react-day-picker';
|
|
17
|
+
export { DateRange } from 'react-day-picker';
|
|
18
|
+
import { DateValue, DateFieldProps, DateInputProps as DateInputProps$1, DateSegmentProps, TimeValue, TimeFieldProps } from 'react-aria-components';
|
|
19
|
+
import { OTPInput } from 'input-otp';
|
|
20
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
8
21
|
import { ClassValue } from 'clsx';
|
|
9
22
|
|
|
23
|
+
declare const alertVariants: (props?: ({
|
|
24
|
+
variant?: "secondary" | "primary" | "mono" | "destructive" | "success" | "info" | "warning" | null | undefined;
|
|
25
|
+
icon?: "primary" | "destructive" | "success" | "info" | "warning" | null | undefined;
|
|
26
|
+
appearance?: "stroke" | "outline" | "solid" | "light" | null | undefined;
|
|
27
|
+
size?: "md" | "sm" | "lg" | null | undefined;
|
|
28
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
29
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
30
|
+
close?: boolean;
|
|
31
|
+
onClose?: () => void;
|
|
32
|
+
}
|
|
33
|
+
interface AlertIconProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
34
|
+
}
|
|
35
|
+
declare function Alert({ className, variant, size, icon, appearance, close, onClose, children, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
36
|
+
declare function AlertTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
37
|
+
declare function AlertIcon({ children, className, ...props }: AlertIconProps): react_jsx_runtime.JSX.Element;
|
|
38
|
+
declare function AlertToolbar({ children, className, ...props }: AlertIconProps): react_jsx_runtime.JSX.Element;
|
|
39
|
+
declare function AlertDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
40
|
+
declare function AlertContent({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
declare const buttonVariantConfig: {
|
|
43
|
+
readonly variant: {
|
|
44
|
+
readonly primary: "bg-primary text-primary-foreground hover:bg-primary/90 data-[state=open]:bg-primary/90";
|
|
45
|
+
readonly mono: "bg-zinc-950 text-white dark:bg-zinc-300 dark:text-black hover:bg-zinc-950/90 dark:hover:bg-zinc-300/90 data-[state=open]:bg-zinc-950/90 dark:data-[state=open]:bg-zinc-300/90";
|
|
46
|
+
readonly destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 data-[state=open]:bg-destructive/90";
|
|
47
|
+
readonly success: "bg-emerald-500 text-white hover:bg-emerald-600 data-[state=open]:bg-emerald-600";
|
|
48
|
+
readonly secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/90 data-[state=open]:bg-secondary/90";
|
|
49
|
+
readonly outline: "bg-background text-accent-foreground border border-input hover:bg-accent data-[state=open]:bg-accent";
|
|
50
|
+
readonly dashed: "text-accent-foreground border border-input border-dashed bg-background hover:bg-accent hover:text-accent-foreground data-[state=open]:text-accent-foreground";
|
|
51
|
+
readonly ghost: "text-accent-foreground hover:bg-accent hover:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground";
|
|
52
|
+
readonly dim: "text-muted-foreground hover:text-foreground data-[state=open]:text-foreground";
|
|
53
|
+
readonly foreground: "";
|
|
54
|
+
readonly inverse: "";
|
|
55
|
+
};
|
|
56
|
+
readonly appearance: {
|
|
57
|
+
readonly default: "";
|
|
58
|
+
readonly ghost: "";
|
|
59
|
+
};
|
|
60
|
+
readonly underline: {
|
|
61
|
+
readonly solid: "";
|
|
62
|
+
readonly dashed: "";
|
|
63
|
+
};
|
|
64
|
+
readonly underlined: {
|
|
65
|
+
readonly solid: "";
|
|
66
|
+
readonly dashed: "";
|
|
67
|
+
};
|
|
68
|
+
readonly size: {
|
|
69
|
+
readonly lg: "h-10 rounded-md px-4 text-sm gap-1.5 [&_svg:not([class*=size-])]:size-4";
|
|
70
|
+
readonly md: "h-8.5 rounded-md px-3 gap-1.5 text-[0.8125rem] leading-[var(--text-sm--line-height)] [&_svg:not([class*=size-])]:size-4";
|
|
71
|
+
readonly sm: "h-7 rounded-md px-2.5 gap-1.25 text-xs [&_svg:not([class*=size-])]:size-3.5";
|
|
72
|
+
readonly icon: "size-8.5 rounded-md [&_svg:not([class*=size-])]:size-4 shrink-0";
|
|
73
|
+
};
|
|
74
|
+
readonly autoHeight: {
|
|
75
|
+
readonly true: "";
|
|
76
|
+
readonly false: "";
|
|
77
|
+
};
|
|
78
|
+
readonly shape: {
|
|
79
|
+
readonly default: "";
|
|
80
|
+
readonly circle: "rounded-full";
|
|
81
|
+
};
|
|
82
|
+
readonly mode: {
|
|
83
|
+
readonly default: "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2";
|
|
84
|
+
readonly icon: "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 shrink-0";
|
|
85
|
+
readonly link: "text-primary h-auto p-0 bg-transparent rounded-none hover:bg-transparent data-[state=open]:bg-transparent";
|
|
86
|
+
readonly input: "\n justify-start font-normal hover:bg-background [&_svg]:transition-colors [&_svg]:hover:text-foreground data-[state=open]:bg-background\n focus-visible:border-ring focus-visible:outline-hidden focus-visible:ring-[3px] focus-visible:ring-ring/30\n [[data-state=open]>&]:border-ring [[data-state=open]>&]:outline-hidden [[data-state=open]>&]:ring-[3px]\n [[data-state=open]>&]:ring-ring/30\n aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20\n in-data-[invalid=true]:border-destructive/60 in-data-[invalid=true]:ring-destructive/10 dark:in-data-[invalid=true]:border-destructive dark:in-data-[invalid=true]:ring-destructive/20\n ";
|
|
87
|
+
};
|
|
88
|
+
readonly placeholder: {
|
|
89
|
+
readonly true: "text-muted-foreground";
|
|
90
|
+
readonly false: "";
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
declare const buttonVariants: (props?: ({
|
|
94
|
+
readonly variant?: "ghost" | "outline" | "dashed" | "secondary" | "primary" | "mono" | "destructive" | "inverse" | "foreground" | "success" | "dim" | null | undefined;
|
|
95
|
+
readonly appearance?: "default" | "ghost" | null | undefined;
|
|
96
|
+
readonly underline?: "dashed" | "solid" | null | undefined;
|
|
97
|
+
readonly underlined?: "dashed" | "solid" | null | undefined;
|
|
98
|
+
readonly size?: "icon" | "md" | "sm" | "lg" | null | undefined;
|
|
99
|
+
readonly autoHeight?: boolean | null | undefined;
|
|
100
|
+
readonly shape?: "circle" | "default" | null | undefined;
|
|
101
|
+
readonly mode?: "input" | "link" | "default" | "icon" | null | undefined;
|
|
102
|
+
readonly placeholder?: boolean | null | undefined;
|
|
103
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
104
|
+
declare function Button({ className, selected, variant, shape, appearance, mode, size, autoHeight, underlined, underline, asChild, placeholder, loading, children, disabled, onClick, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
105
|
+
selected?: boolean;
|
|
106
|
+
asChild?: boolean;
|
|
107
|
+
loading?: boolean;
|
|
108
|
+
}): react_jsx_runtime.JSX.Element;
|
|
109
|
+
interface ButtonArrowProps extends React$1.SVGProps<SVGSVGElement> {
|
|
110
|
+
icon?: LucideIcon;
|
|
111
|
+
}
|
|
112
|
+
declare function ButtonArrow({ icon: Icon, className, ...props }: ButtonArrowProps): react_jsx_runtime.JSX.Element;
|
|
113
|
+
|
|
114
|
+
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
115
|
+
declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
116
|
+
declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
118
|
+
declare function AlertDialogContent({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime.JSX.Element;
|
|
119
|
+
declare const AlertDialogHeader: ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
120
|
+
declare const AlertDialogFooter: ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
122
|
+
declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function AlertDialogAction({ className, variant, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Action> & VariantProps<typeof buttonVariants>): react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime.JSX.Element;
|
|
125
|
+
|
|
126
|
+
declare const dialogContentVariants: (props?: ({
|
|
127
|
+
variant?: "default" | "fullscreen" | null | undefined;
|
|
128
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
129
|
+
declare function Dialog({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
130
|
+
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
132
|
+
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
|
|
133
|
+
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
134
|
+
declare function DialogContent({ className, children, showCloseButton, overlay, variant, "aria-describedby": ariaDescribedBy, ...props }: React$1.ComponentProps<typeof Dialog$1.Content> & VariantProps<typeof dialogContentVariants> & {
|
|
135
|
+
showCloseButton?: boolean;
|
|
136
|
+
overlay?: boolean;
|
|
137
|
+
}): react_jsx_runtime.JSX.Element;
|
|
138
|
+
|
|
139
|
+
declare const DialogHeader: ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
140
|
+
declare const DialogFooter: ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
141
|
+
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
142
|
+
declare const DialogBody: ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
143
|
+
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
144
|
+
|
|
145
|
+
declare function Popover({ ...props }: React$1.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime.JSX.Element;
|
|
146
|
+
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
147
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime.JSX.Element;
|
|
148
|
+
|
|
149
|
+
declare const Drawer: ({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>) => react_jsx_runtime.JSX.Element;
|
|
150
|
+
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
151
|
+
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
152
|
+
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
|
|
153
|
+
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
154
|
+
declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
|
|
155
|
+
declare const DrawerHeader: ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
156
|
+
declare const DrawerFooter: ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
157
|
+
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
158
|
+
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
159
|
+
|
|
160
|
+
declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
161
|
+
declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
162
|
+
declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
163
|
+
|
|
164
|
+
declare function Sheet({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
165
|
+
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
166
|
+
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
|
|
167
|
+
declare function SheetPortal({ ...props }: React$1.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
168
|
+
declare function SheetOverlay({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
169
|
+
declare const sheetVariants: (props?: ({
|
|
170
|
+
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
171
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
172
|
+
interface SheetContentProps extends React$1.ComponentProps<typeof Dialog$1.Content>, VariantProps<typeof sheetVariants> {
|
|
173
|
+
overlay?: boolean;
|
|
174
|
+
close?: boolean;
|
|
175
|
+
}
|
|
176
|
+
declare function SheetContent({ side, overlay, close, className, children, ...props }: React$1.ComponentProps<typeof Dialog$1.Content> & SheetContentProps): react_jsx_runtime.JSX.Element;
|
|
177
|
+
declare function SheetHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
178
|
+
declare function SheetBody({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
179
|
+
declare function SheetFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
180
|
+
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
181
|
+
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
182
|
+
|
|
183
|
+
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
184
|
+
type CommandDialogProps = React$1.ComponentProps<typeof Dialog> & {
|
|
185
|
+
className?: string;
|
|
186
|
+
};
|
|
187
|
+
declare function CommandDialog({ children, className, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
|
|
188
|
+
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
189
|
+
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
190
|
+
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
191
|
+
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
192
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
193
|
+
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
194
|
+
declare function CommandShortcut({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
195
|
+
interface CommandCheckProps extends React$1.SVGProps<SVGSVGElement> {
|
|
196
|
+
icon?: LucideIcon;
|
|
197
|
+
}
|
|
198
|
+
declare function CommandCheck({ icon: Icon, className, ...props }: CommandCheckProps): react_jsx_runtime.JSX.Element;
|
|
199
|
+
|
|
10
200
|
declare const avatarStatusVariants: (props?: ({
|
|
11
201
|
variant?: "online" | "offline" | "busy" | "away" | null | undefined;
|
|
12
202
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
13
|
-
declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof
|
|
14
|
-
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof
|
|
15
|
-
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof
|
|
203
|
+
declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime.JSX.Element;
|
|
204
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
|
|
205
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
|
|
16
206
|
declare function AvatarIndicator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
17
207
|
declare function AvatarStatus({ className, variant, ...props }: React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof avatarStatusVariants>): react_jsx_runtime.JSX.Element;
|
|
18
208
|
|
|
209
|
+
type AnimationType = "default" | "flip" | "reveal";
|
|
210
|
+
interface AvatarGroupProps {
|
|
211
|
+
children: React$1.ReactNode;
|
|
212
|
+
className?: string;
|
|
213
|
+
tooltipClassName?: string;
|
|
214
|
+
animation?: AnimationType;
|
|
215
|
+
}
|
|
216
|
+
interface AvatarGroupItemProps {
|
|
217
|
+
children: React$1.ReactNode;
|
|
218
|
+
className?: string;
|
|
219
|
+
tooltipClassName?: string;
|
|
220
|
+
animation?: AnimationType;
|
|
221
|
+
}
|
|
222
|
+
interface AvatarGroupTooltipProps {
|
|
223
|
+
children: React$1.ReactNode;
|
|
224
|
+
className?: string;
|
|
225
|
+
}
|
|
226
|
+
declare function AvatarGroup({ children, className, tooltipClassName, animation, }: AvatarGroupProps): react_jsx_runtime.JSX.Element;
|
|
227
|
+
declare function AvatarGroupItem({ children, className, tooltipClassName, animation: itemAnimation, }: AvatarGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
228
|
+
declare function AvatarGroupTooltip({ children, className, }: AvatarGroupTooltipProps): react_jsx_runtime.JSX.Element;
|
|
229
|
+
|
|
230
|
+
declare const THEMES: {
|
|
231
|
+
readonly light: "";
|
|
232
|
+
readonly dark: ".dark";
|
|
233
|
+
};
|
|
234
|
+
type ChartConfig = {
|
|
235
|
+
[k in string]: {
|
|
236
|
+
label?: React$1.ReactNode;
|
|
237
|
+
icon?: React$1.ComponentType;
|
|
238
|
+
} & ({
|
|
239
|
+
color?: string;
|
|
240
|
+
theme?: never;
|
|
241
|
+
} | {
|
|
242
|
+
color?: never;
|
|
243
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
244
|
+
});
|
|
245
|
+
};
|
|
246
|
+
type ChartContextProps = {
|
|
247
|
+
config: ChartConfig;
|
|
248
|
+
};
|
|
249
|
+
declare function useChart(): ChartContextProps;
|
|
250
|
+
declare function ChartContainer({ id, className, children, config, ...props }: React$1.ComponentProps<"div"> & {
|
|
251
|
+
config: ChartConfig;
|
|
252
|
+
children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
253
|
+
}): react_jsx_runtime.JSX.Element;
|
|
254
|
+
declare function ChartStyle({ id, config }: {
|
|
255
|
+
id: string;
|
|
256
|
+
config: ChartConfig;
|
|
257
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
258
|
+
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
259
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<"div"> & {
|
|
260
|
+
hideLabel?: boolean;
|
|
261
|
+
hideIndicator?: boolean;
|
|
262
|
+
indicator?: "line" | "dot" | "dashed";
|
|
263
|
+
nameKey?: string;
|
|
264
|
+
labelKey?: string;
|
|
265
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
266
|
+
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
267
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
268
|
+
hideIcon?: boolean;
|
|
269
|
+
nameKey?: string;
|
|
270
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
271
|
+
|
|
272
|
+
declare module "@tanstack/react-table" {
|
|
273
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
274
|
+
headerTitle?: string;
|
|
275
|
+
headerClassName?: string;
|
|
276
|
+
cellClassName?: string;
|
|
277
|
+
skeleton?: ReactNode;
|
|
278
|
+
expandedContent?: (row: TData) => ReactNode;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
type DataGridApiFetchParams = {
|
|
282
|
+
pageIndex: number;
|
|
283
|
+
pageSize: number;
|
|
284
|
+
sorting?: SortingState;
|
|
285
|
+
filters?: ColumnFiltersState;
|
|
286
|
+
searchQuery?: string;
|
|
287
|
+
};
|
|
288
|
+
type DataGridApiResponse<T> = {
|
|
289
|
+
data: T[];
|
|
290
|
+
empty: boolean;
|
|
291
|
+
pagination: {
|
|
292
|
+
total: number;
|
|
293
|
+
page: number;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
interface DataGridContextProps<TData extends object> {
|
|
297
|
+
props: DataGridProps<TData>;
|
|
298
|
+
table: Table<TData>;
|
|
299
|
+
recordCount: number;
|
|
300
|
+
isLoading: boolean;
|
|
301
|
+
}
|
|
302
|
+
type DataGridRequestParams = {
|
|
303
|
+
pageIndex: number;
|
|
304
|
+
pageSize: number;
|
|
305
|
+
sorting?: SortingState;
|
|
306
|
+
columnFilters?: ColumnFiltersState;
|
|
307
|
+
};
|
|
308
|
+
interface DataGridProps<TData extends object> {
|
|
309
|
+
className?: string;
|
|
310
|
+
table?: Table<TData>;
|
|
311
|
+
recordCount: number;
|
|
312
|
+
children?: ReactNode;
|
|
313
|
+
onRowClick?: (row: TData) => void;
|
|
314
|
+
isLoading?: boolean;
|
|
315
|
+
loadingMode?: "skeleton" | "spinner";
|
|
316
|
+
loadingMessage?: ReactNode | string;
|
|
317
|
+
emptyMessage?: ReactNode | string;
|
|
318
|
+
tableLayout?: {
|
|
319
|
+
dense?: boolean;
|
|
320
|
+
cellBorder?: boolean;
|
|
321
|
+
rowBorder?: boolean;
|
|
322
|
+
rowRounded?: boolean;
|
|
323
|
+
stripped?: boolean;
|
|
324
|
+
headerBackground?: boolean;
|
|
325
|
+
headerBorder?: boolean;
|
|
326
|
+
headerSticky?: boolean;
|
|
327
|
+
width?: "auto" | "fixed";
|
|
328
|
+
columnsVisibility?: boolean;
|
|
329
|
+
columnsResizable?: boolean;
|
|
330
|
+
columnsPinnable?: boolean;
|
|
331
|
+
columnsMovable?: boolean;
|
|
332
|
+
columnsDraggable?: boolean;
|
|
333
|
+
rowsDraggable?: boolean;
|
|
334
|
+
};
|
|
335
|
+
tableClassNames?: {
|
|
336
|
+
base?: string;
|
|
337
|
+
header?: string;
|
|
338
|
+
headerRow?: string;
|
|
339
|
+
headerSticky?: string;
|
|
340
|
+
body?: string;
|
|
341
|
+
bodyRow?: string;
|
|
342
|
+
footer?: string;
|
|
343
|
+
edgeCell?: string;
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
declare function useDataGrid(): DataGridContextProps<any>;
|
|
347
|
+
declare function DataGridProvider<TData extends object>({ children, table, ...props }: DataGridProps<TData> & {
|
|
348
|
+
table: Table<TData>;
|
|
349
|
+
}): react_jsx_runtime.JSX.Element;
|
|
350
|
+
declare function DataGrid<TData extends object>({ children, table, ...props }: DataGridProps<TData>): react_jsx_runtime.JSX.Element;
|
|
351
|
+
declare function DataGridContainer({ children, className, border, }: {
|
|
352
|
+
children: ReactNode;
|
|
353
|
+
className?: string;
|
|
354
|
+
border?: boolean;
|
|
355
|
+
}): react_jsx_runtime.JSX.Element;
|
|
356
|
+
|
|
357
|
+
declare function DataGridTableBase({ children }: {
|
|
358
|
+
children: ReactNode;
|
|
359
|
+
}): react_jsx_runtime.JSX.Element;
|
|
360
|
+
declare function DataGridTableHead({ children }: {
|
|
361
|
+
children: ReactNode;
|
|
362
|
+
}): react_jsx_runtime.JSX.Element;
|
|
363
|
+
declare function DataGridTableHeadRow<TData>({ children, headerGroup, }: {
|
|
364
|
+
children: ReactNode;
|
|
365
|
+
headerGroup: HeaderGroup<TData>;
|
|
366
|
+
}): react_jsx_runtime.JSX.Element;
|
|
367
|
+
declare function DataGridTableHeadRowCell<TData>({ children, header, dndRef, dndStyle, }: {
|
|
368
|
+
children: ReactNode;
|
|
369
|
+
header: Header<TData, unknown>;
|
|
370
|
+
dndRef?: React$1.Ref<HTMLTableCellElement>;
|
|
371
|
+
dndStyle?: CSSProperties;
|
|
372
|
+
}): react_jsx_runtime.JSX.Element;
|
|
373
|
+
declare function DataGridTableHeadRowCellResize<TData>({ header, }: {
|
|
374
|
+
header: Header<TData, unknown>;
|
|
375
|
+
}): react_jsx_runtime.JSX.Element;
|
|
376
|
+
declare function DataGridTableRowSpacer(): react_jsx_runtime.JSX.Element;
|
|
377
|
+
declare function DataGridTableBody({ children }: {
|
|
378
|
+
children: ReactNode;
|
|
379
|
+
}): react_jsx_runtime.JSX.Element;
|
|
380
|
+
declare function DataGridTableBodyRowSkeleton({ children }: {
|
|
381
|
+
children: ReactNode;
|
|
382
|
+
}): react_jsx_runtime.JSX.Element;
|
|
383
|
+
declare function DataGridTableBodyRowSkeletonCell<TData>({ children, column, }: {
|
|
384
|
+
children: ReactNode;
|
|
385
|
+
column: Column<TData>;
|
|
386
|
+
}): react_jsx_runtime.JSX.Element;
|
|
387
|
+
declare function DataGridTableBodyRow<TData>({ children, row, dndRef, dndStyle, }: {
|
|
388
|
+
children: ReactNode;
|
|
389
|
+
row: Row<TData>;
|
|
390
|
+
dndRef?: React$1.Ref<HTMLTableRowElement>;
|
|
391
|
+
dndStyle?: CSSProperties;
|
|
392
|
+
}): react_jsx_runtime.JSX.Element;
|
|
393
|
+
declare function DataGridTableBodyRowExpanded<TData>({ row }: {
|
|
394
|
+
row: Row<TData>;
|
|
395
|
+
}): react_jsx_runtime.JSX.Element;
|
|
396
|
+
declare function DataGridTableBodyRowCell<TData>({ children, cell, dndRef, dndStyle, }: {
|
|
397
|
+
children: ReactNode;
|
|
398
|
+
cell: Cell<TData, unknown>;
|
|
399
|
+
dndRef?: React$1.Ref<HTMLTableCellElement>;
|
|
400
|
+
dndStyle?: CSSProperties;
|
|
401
|
+
}): react_jsx_runtime.JSX.Element;
|
|
402
|
+
declare function DataGridTableEmpty(): react_jsx_runtime.JSX.Element;
|
|
403
|
+
declare function DataGridTableLoader(): react_jsx_runtime.JSX.Element;
|
|
404
|
+
declare function DataGridTableRowSelect<TData>({ row, size, }: {
|
|
405
|
+
row: Row<TData>;
|
|
406
|
+
size?: "sm" | "md" | "lg";
|
|
407
|
+
}): react_jsx_runtime.JSX.Element;
|
|
408
|
+
declare function DataGridTableRowSelectAll({ size }: {
|
|
409
|
+
size?: "sm" | "md" | "lg";
|
|
410
|
+
}): react_jsx_runtime.JSX.Element;
|
|
411
|
+
declare function DataGridTable<TData>(): react_jsx_runtime.JSX.Element;
|
|
412
|
+
|
|
413
|
+
interface DataGridColumnHeaderProps<TData, TValue> extends HTMLAttributes<HTMLDivElement> {
|
|
414
|
+
column: Column<TData, TValue>;
|
|
415
|
+
title?: string;
|
|
416
|
+
icon?: ReactNode;
|
|
417
|
+
pinnable?: boolean;
|
|
418
|
+
filter?: ReactNode;
|
|
419
|
+
visibility?: boolean;
|
|
420
|
+
}
|
|
421
|
+
declare function DataGridColumnHeader<TData, TValue>({ column, title, icon, className, filter, visibility, }: DataGridColumnHeaderProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
422
|
+
|
|
423
|
+
interface DataGridPaginationProps {
|
|
424
|
+
sizes?: number[];
|
|
425
|
+
sizesInfo?: string;
|
|
426
|
+
sizesLabel?: string;
|
|
427
|
+
sizesDescription?: string;
|
|
428
|
+
sizesSkeleton?: ReactNode;
|
|
429
|
+
more?: boolean;
|
|
430
|
+
moreLimit?: number;
|
|
431
|
+
info?: string;
|
|
432
|
+
infoSkeleton?: ReactNode;
|
|
433
|
+
className?: string;
|
|
434
|
+
}
|
|
435
|
+
declare function DataGridPagination(props: DataGridPaginationProps): react_jsx_runtime.JSX.Element;
|
|
436
|
+
|
|
437
|
+
declare function DataGridColumnVisibility<TData>({ table, trigger, }: {
|
|
438
|
+
table: Table<TData>;
|
|
439
|
+
trigger: ReactNode;
|
|
440
|
+
}): react_jsx_runtime.JSX.Element;
|
|
441
|
+
|
|
442
|
+
interface KanbanMoveEvent {
|
|
443
|
+
event: DragEndEvent;
|
|
444
|
+
activeContainer: string;
|
|
445
|
+
activeIndex: number;
|
|
446
|
+
overContainer: string;
|
|
447
|
+
overIndex: number;
|
|
448
|
+
}
|
|
449
|
+
interface KanbanRootProps<T> {
|
|
450
|
+
value: Record<string, T[]>;
|
|
451
|
+
onValueChange: (value: Record<string, T[]>) => void;
|
|
452
|
+
getItemValue: (item: T) => string;
|
|
453
|
+
children: React$1.ReactNode;
|
|
454
|
+
className?: string;
|
|
455
|
+
onMove?: (event: KanbanMoveEvent) => void;
|
|
456
|
+
}
|
|
457
|
+
declare function Kanban<T>({ value, onValueChange, getItemValue, children, className, onMove, }: KanbanRootProps<T>): react_jsx_runtime.JSX.Element;
|
|
458
|
+
interface KanbanBoardProps {
|
|
459
|
+
className?: string;
|
|
460
|
+
children: React$1.ReactNode;
|
|
461
|
+
}
|
|
462
|
+
declare function KanbanBoard({ children, className }: KanbanBoardProps): react_jsx_runtime.JSX.Element;
|
|
463
|
+
interface KanbanColumnProps {
|
|
464
|
+
value: string;
|
|
465
|
+
className?: string;
|
|
466
|
+
children: React$1.ReactNode;
|
|
467
|
+
disabled?: boolean;
|
|
468
|
+
}
|
|
469
|
+
declare function KanbanColumn({ value, className, children, disabled, }: KanbanColumnProps): react_jsx_runtime.JSX.Element;
|
|
470
|
+
interface KanbanColumnHandleProps {
|
|
471
|
+
asChild?: boolean;
|
|
472
|
+
className?: string;
|
|
473
|
+
children?: React$1.ReactNode;
|
|
474
|
+
cursor?: boolean;
|
|
475
|
+
}
|
|
476
|
+
declare function KanbanColumnHandle({ asChild, className, children, cursor, }: KanbanColumnHandleProps): react_jsx_runtime.JSX.Element;
|
|
477
|
+
interface KanbanItemProps {
|
|
478
|
+
value: string;
|
|
479
|
+
asChild?: boolean;
|
|
480
|
+
className?: string;
|
|
481
|
+
children: React$1.ReactNode;
|
|
482
|
+
disabled?: boolean;
|
|
483
|
+
}
|
|
484
|
+
declare function KanbanItem({ value, asChild, className, children, disabled, }: KanbanItemProps): react_jsx_runtime.JSX.Element;
|
|
485
|
+
interface KanbanItemHandleProps {
|
|
486
|
+
asChild?: boolean;
|
|
487
|
+
className?: string;
|
|
488
|
+
children?: React$1.ReactNode;
|
|
489
|
+
cursor?: boolean;
|
|
490
|
+
}
|
|
491
|
+
declare function KanbanItemHandle({ asChild, className, children, cursor, }: KanbanItemHandleProps): react_jsx_runtime.JSX.Element;
|
|
492
|
+
interface KanbanColumnContentProps {
|
|
493
|
+
value: string;
|
|
494
|
+
className?: string;
|
|
495
|
+
children: React$1.ReactNode;
|
|
496
|
+
}
|
|
497
|
+
declare function KanbanColumnContent({ value, className, children, }: KanbanColumnContentProps): react_jsx_runtime.JSX.Element;
|
|
498
|
+
interface KanbanOverlayProps {
|
|
499
|
+
className?: string;
|
|
500
|
+
children?: React$1.ReactNode | ((params: {
|
|
501
|
+
value: UniqueIdentifier;
|
|
502
|
+
variant: "column" | "item";
|
|
503
|
+
}) => React$1.ReactNode);
|
|
504
|
+
}
|
|
505
|
+
declare function KanbanOverlay({ children, className }: KanbanOverlayProps): react_jsx_runtime.JSX.Element;
|
|
506
|
+
|
|
19
507
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
20
508
|
asChild?: boolean;
|
|
21
509
|
dotClassName?: string;
|
|
@@ -26,10 +514,10 @@ interface BadgeButtonProps extends React$1.ButtonHTMLAttributes<HTMLDivElement>,
|
|
|
26
514
|
}
|
|
27
515
|
type BadgeDotProps = React$1.HTMLAttributes<HTMLSpanElement>;
|
|
28
516
|
declare const badgeVariants: (props?: ({
|
|
29
|
-
variant?: "
|
|
30
|
-
appearance?: "default" | "
|
|
517
|
+
variant?: "outline" | "secondary" | "primary" | "destructive" | "success" | "info" | "warning" | null | undefined;
|
|
518
|
+
appearance?: "default" | "ghost" | "outline" | "light" | null | undefined;
|
|
31
519
|
disabled?: boolean | null | undefined;
|
|
32
|
-
size?: "
|
|
520
|
+
size?: "md" | "sm" | "lg" | "xs" | null | undefined;
|
|
33
521
|
shape?: "circle" | "default" | null | undefined;
|
|
34
522
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
35
523
|
declare const badgeButtonVariants: (props?: ({
|
|
@@ -43,25 +531,109 @@ declare function BadgeButton({ className, variant, asChild, ...props }: React$1.
|
|
|
43
531
|
}): react_jsx_runtime.JSX.Element;
|
|
44
532
|
declare function BadgeDot({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
45
533
|
|
|
46
|
-
declare const
|
|
47
|
-
variant?: "
|
|
48
|
-
appearance?: "default" | "ghost" | null | undefined;
|
|
49
|
-
underline?: "dashed" | "solid" | null | undefined;
|
|
50
|
-
underlined?: "dashed" | "solid" | null | undefined;
|
|
51
|
-
size?: "lg" | "md" | "sm" | "icon" | null | undefined;
|
|
52
|
-
autoHeight?: boolean | null | undefined;
|
|
53
|
-
shape?: "circle" | "default" | null | undefined;
|
|
54
|
-
mode?: "input" | "link" | "default" | "icon" | null | undefined;
|
|
55
|
-
placeholder?: boolean | null | undefined;
|
|
534
|
+
declare const accordionRootVariants: (props?: ({
|
|
535
|
+
variant?: "default" | "outline" | "solid" | null | undefined;
|
|
56
536
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
57
|
-
declare function
|
|
58
|
-
|
|
59
|
-
asChild?: boolean;
|
|
537
|
+
declare function Accordion(props: React$1.ComponentProps<typeof Accordion$1.Root> & VariantProps<typeof accordionRootVariants> & {
|
|
538
|
+
indicator?: "arrow" | "plus" | "none";
|
|
60
539
|
}): react_jsx_runtime.JSX.Element;
|
|
61
|
-
|
|
62
|
-
|
|
540
|
+
declare function AccordionItem(props: React$1.ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime.JSX.Element;
|
|
541
|
+
declare function AccordionTrigger(props: React$1.ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
542
|
+
declare function AccordionContent(props: React$1.ComponentProps<typeof Accordion$1.Content>): react_jsx_runtime.JSX.Element;
|
|
543
|
+
|
|
544
|
+
interface AccordionMenuClassNames {
|
|
545
|
+
root?: string;
|
|
546
|
+
group?: string;
|
|
547
|
+
label?: string;
|
|
548
|
+
separator?: string;
|
|
549
|
+
item?: string;
|
|
550
|
+
sub?: string;
|
|
551
|
+
subTrigger?: string;
|
|
552
|
+
subContent?: string;
|
|
553
|
+
subWrapper?: string;
|
|
554
|
+
indicator?: string;
|
|
63
555
|
}
|
|
64
|
-
|
|
556
|
+
interface AccordionMenuProps {
|
|
557
|
+
selectedValue?: string;
|
|
558
|
+
matchPath?: (href: string) => boolean;
|
|
559
|
+
classNames?: AccordionMenuClassNames;
|
|
560
|
+
onItemClick?: (value: string, event: React$1.MouseEvent) => void;
|
|
561
|
+
}
|
|
562
|
+
declare function AccordionMenu({ className, matchPath, classNames, children, selectedValue, onItemClick, ...props }: React$1.ComponentPropsWithoutRef<typeof Accordion$1.Root> & AccordionMenuProps): react_jsx_runtime.JSX.Element;
|
|
563
|
+
type AccordionMenuGroupProps = React$1.ComponentPropsWithoutRef<"div">;
|
|
564
|
+
declare function AccordionMenuGroup({ children, className, ...props }: AccordionMenuGroupProps): react_jsx_runtime.JSX.Element;
|
|
565
|
+
type AccordionMenuLabelProps = React$1.ComponentPropsWithoutRef<"div">;
|
|
566
|
+
declare function AccordionMenuLabel({ children, className, ...props }: AccordionMenuLabelProps): react_jsx_runtime.JSX.Element;
|
|
567
|
+
type AccordionMenuSeparatorProps = React$1.ComponentPropsWithoutRef<"div">;
|
|
568
|
+
declare function AccordionMenuSeparator({ className, ...props }: AccordionMenuSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
569
|
+
declare const itemVariants: (props?: ({
|
|
570
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
571
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
572
|
+
declare function AccordionMenuItem({ className, children, variant, asChild, onClick, ...props }: React$1.ComponentPropsWithoutRef<typeof Accordion$1.Item> & VariantProps<typeof itemVariants> & {
|
|
573
|
+
onClick?: React$1.MouseEventHandler<HTMLElement>;
|
|
574
|
+
}): react_jsx_runtime.JSX.Element;
|
|
575
|
+
declare function AccordionMenuSub({ className, children, ...props }: React$1.ComponentPropsWithoutRef<typeof Accordion$1.Item>): react_jsx_runtime.JSX.Element;
|
|
576
|
+
declare function AccordionMenuSubTrigger({ className, children, }: React$1.ComponentPropsWithoutRef<typeof Accordion$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
577
|
+
type AccordionMenuSubContentProps = ((React$1.ComponentPropsWithoutRef<typeof Accordion$1.Content> & {
|
|
578
|
+
type: "single";
|
|
579
|
+
collapsible: boolean;
|
|
580
|
+
defaultValue?: string;
|
|
581
|
+
}) | (React$1.ComponentPropsWithoutRef<typeof Accordion$1.Content> & {
|
|
582
|
+
type: "multiple";
|
|
583
|
+
collapsible?: boolean;
|
|
584
|
+
defaultValue?: string | string[];
|
|
585
|
+
})) & {
|
|
586
|
+
parentValue: string;
|
|
587
|
+
};
|
|
588
|
+
declare function AccordionMenuSubContent({ className, children, type, collapsible, defaultValue, parentValue, ...props }: AccordionMenuSubContentProps): react_jsx_runtime.JSX.Element;
|
|
589
|
+
type AccordionMenuIndicatorProps = React$1.ComponentPropsWithoutRef<"span">;
|
|
590
|
+
declare function AccordionMenuIndicator({ className, ...props }: AccordionMenuIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
591
|
+
|
|
592
|
+
declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav"> & {
|
|
593
|
+
separator?: React$1.ReactNode;
|
|
594
|
+
}): react_jsx_runtime.JSX.Element;
|
|
595
|
+
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
596
|
+
declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
597
|
+
declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
598
|
+
asChild?: boolean;
|
|
599
|
+
}): react_jsx_runtime.JSX.Element;
|
|
600
|
+
declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
601
|
+
declare const BreadcrumbSeparator: ({ children, className, ...props }: React$1.ComponentProps<"li">) => react_jsx_runtime.JSX.Element;
|
|
602
|
+
declare const BreadcrumbEllipsis: ({ className, ...props }: React$1.ComponentProps<"span">) => react_jsx_runtime.JSX.Element;
|
|
603
|
+
|
|
604
|
+
declare function Collapsible({ ...props }: React$1.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
|
|
605
|
+
declare function CollapsibleTrigger({ ...props }: React$1.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
|
|
606
|
+
declare function CollapsibleContent({ className, children, ...props }: React$1.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime.JSX.Element;
|
|
607
|
+
|
|
608
|
+
declare const tabsListVariantConfig: {
|
|
609
|
+
readonly variant: {
|
|
610
|
+
readonly default: "bg-accent p-1";
|
|
611
|
+
readonly button: "";
|
|
612
|
+
readonly line: "border-b border-border";
|
|
613
|
+
};
|
|
614
|
+
readonly shape: {
|
|
615
|
+
readonly default: "";
|
|
616
|
+
readonly pill: "";
|
|
617
|
+
};
|
|
618
|
+
readonly size: {
|
|
619
|
+
readonly lg: "gap-2.5";
|
|
620
|
+
readonly md: "gap-2";
|
|
621
|
+
readonly sm: "gap-1.5";
|
|
622
|
+
readonly xs: "gap-1";
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
declare const tabsListVariants: (props?: ({
|
|
626
|
+
readonly variant?: "button" | "line" | "default" | null | undefined;
|
|
627
|
+
readonly shape?: "default" | "pill" | null | undefined;
|
|
628
|
+
readonly size?: "md" | "sm" | "lg" | "xs" | null | undefined;
|
|
629
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
630
|
+
declare const tabsContentVariants: (props?: ({
|
|
631
|
+
variant?: "default" | null | undefined;
|
|
632
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
633
|
+
declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime.JSX.Element;
|
|
634
|
+
declare function TabsList({ className, variant, shape, size, ...props }: React$1.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime.JSX.Element;
|
|
635
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
636
|
+
declare function TabsContent({ className, variant, ...props }: React$1.ComponentProps<typeof Tabs$1.Content> & VariantProps<typeof tabsContentVariants>): react_jsx_runtime.JSX.Element;
|
|
65
637
|
|
|
66
638
|
declare const cardVariants: (props?: ({
|
|
67
639
|
variant?: "default" | "accent" | null | undefined;
|
|
@@ -77,7 +649,7 @@ declare function CardTitle({ className, ...props }: React$1.HTMLAttributes<HTMLH
|
|
|
77
649
|
declare function CardDescription({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
78
650
|
|
|
79
651
|
declare const checkboxVariants: (props?: ({
|
|
80
|
-
size?: "
|
|
652
|
+
size?: "md" | "sm" | "lg" | null | undefined;
|
|
81
653
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
82
654
|
declare function Checkbox({ className, size, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root> & VariantProps<typeof checkboxVariants>): react_jsx_runtime.JSX.Element;
|
|
83
655
|
|
|
@@ -108,15 +680,15 @@ declare const Icons: {
|
|
|
108
680
|
};
|
|
109
681
|
|
|
110
682
|
declare const inputVariants: (props?: ({
|
|
111
|
-
variant?: "
|
|
683
|
+
variant?: "md" | "sm" | "lg" | null | undefined;
|
|
112
684
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
113
685
|
declare const inputAddonVariants: (props?: ({
|
|
114
|
-
variant?: "
|
|
686
|
+
variant?: "md" | "sm" | "lg" | null | undefined;
|
|
115
687
|
mode?: "default" | "icon" | null | undefined;
|
|
116
688
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
117
689
|
declare const inputGroupVariants: (props?: ({} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
118
690
|
declare const inputWrapperVariants: (props?: ({
|
|
119
|
-
variant?: "
|
|
691
|
+
variant?: "md" | "sm" | "lg" | null | undefined;
|
|
120
692
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
121
693
|
declare function Input({ className, type, variant, ...props }: React$1.ComponentProps<"input"> & VariantProps<typeof inputVariants>): react_jsx_runtime.JSX.Element;
|
|
122
694
|
declare function InputAddon({ className, variant, mode, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
@@ -125,6 +697,320 @@ declare function InputWrapper({ className, variant, ...props }: React$1.Componen
|
|
|
125
697
|
|
|
126
698
|
declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
127
699
|
|
|
700
|
+
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
701
|
+
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
702
|
+
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
703
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
704
|
+
inset?: boolean;
|
|
705
|
+
}): react_jsx_runtime.JSX.Element;
|
|
706
|
+
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
707
|
+
declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
708
|
+
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
709
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
710
|
+
inset?: boolean;
|
|
711
|
+
variant?: "destructive";
|
|
712
|
+
}): react_jsx_runtime.JSX.Element;
|
|
713
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
714
|
+
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
715
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
716
|
+
inset?: boolean;
|
|
717
|
+
}): react_jsx_runtime.JSX.Element;
|
|
718
|
+
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
719
|
+
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
720
|
+
declare function DropdownMenuShortcut({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
721
|
+
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
722
|
+
|
|
723
|
+
declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
724
|
+
declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
725
|
+
declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Group>): react_jsx_runtime.JSX.Element;
|
|
726
|
+
declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
727
|
+
declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Sub>): react_jsx_runtime.JSX.Element;
|
|
728
|
+
declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
729
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubTrigger> & {
|
|
730
|
+
inset?: boolean;
|
|
731
|
+
}): react_jsx_runtime.JSX.Element;
|
|
732
|
+
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
733
|
+
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
734
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Item> & {
|
|
735
|
+
inset?: boolean;
|
|
736
|
+
variant?: "destructive";
|
|
737
|
+
}): react_jsx_runtime.JSX.Element;
|
|
738
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
739
|
+
declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
740
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Label> & {
|
|
741
|
+
inset?: boolean;
|
|
742
|
+
}): react_jsx_runtime.JSX.Element;
|
|
743
|
+
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
744
|
+
declare function ContextMenuShortcut({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
745
|
+
|
|
746
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: React$1.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
|
|
747
|
+
|
|
748
|
+
declare function DateField<T extends DateValue>({ className, children, ...props }: DateFieldProps<T>): react_jsx_runtime.JSX.Element;
|
|
749
|
+
declare function TimeField<T extends TimeValue>({ className, children, ...props }: TimeFieldProps<T>): react_jsx_runtime.JSX.Element;
|
|
750
|
+
declare function DateSegment({ className, ...props }: DateSegmentProps): react_jsx_runtime.JSX.Element;
|
|
751
|
+
declare const dateInputStyles = "relative inline-flex items-center overflow-hidden whitespace-nowrap data-focus-within:ring-ring/30 data-focus-within:border-ring data-focus-within:outline-none data-focus-within:ring-[3px] data-focus-within:has-aria-invalid:ring-destructive/20 dark:data-focus-within:has-aria-invalid:ring-destructive/40 data-focus-within:has-aria-invalid:border-destructive";
|
|
752
|
+
interface DateInputProps extends DateInputProps$1, VariantProps<typeof inputVariants> {
|
|
753
|
+
className?: string;
|
|
754
|
+
}
|
|
755
|
+
declare function DateInput({ className, variant, ...props }: Omit<DateInputProps, "children">): react_jsx_runtime.JSX.Element;
|
|
756
|
+
|
|
757
|
+
declare const labelVariants: (props?: ({
|
|
758
|
+
variant?: "secondary" | "primary" | null | undefined;
|
|
759
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
760
|
+
declare function Label({ className, variant, ...props }: React$1.ComponentProps<typeof Label$1.Root> & VariantProps<typeof labelVariants>): react_jsx_runtime.JSX.Element;
|
|
761
|
+
|
|
762
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
|
|
763
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
764
|
+
variant?: "legend" | "label";
|
|
765
|
+
}): react_jsx_runtime.JSX.Element;
|
|
766
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
767
|
+
declare const fieldVariants: (props?: ({
|
|
768
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
769
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
770
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
771
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
772
|
+
declare function FieldLabel({ className, required, children, ...props }: React.ComponentProps<typeof Label> & {
|
|
773
|
+
required?: boolean;
|
|
774
|
+
}): react_jsx_runtime.JSX.Element;
|
|
775
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
776
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
777
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
778
|
+
children?: React.ReactNode;
|
|
779
|
+
}): react_jsx_runtime.JSX.Element;
|
|
780
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
781
|
+
errors?: Array<{
|
|
782
|
+
message?: string;
|
|
783
|
+
} | undefined>;
|
|
784
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
785
|
+
|
|
786
|
+
declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
787
|
+
containerClassName?: string;
|
|
788
|
+
}): react_jsx_runtime.JSX.Element;
|
|
789
|
+
declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
790
|
+
declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
791
|
+
index: number;
|
|
792
|
+
}): react_jsx_runtime.JSX.Element;
|
|
793
|
+
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
794
|
+
|
|
795
|
+
declare const radioGroupVariants: (props?: ({
|
|
796
|
+
variant?: "primary" | "mono" | null | undefined;
|
|
797
|
+
size?: "md" | "sm" | "lg" | null | undefined;
|
|
798
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
799
|
+
declare function RadioGroup({ className, variant, size, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Root> & VariantProps<typeof radioGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
800
|
+
declare const radioItemVariants: (props?: ({
|
|
801
|
+
size?: "md" | "sm" | "lg" | null | undefined;
|
|
802
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
803
|
+
declare function RadioGroupItem({ className, size, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Item> & VariantProps<typeof radioItemVariants>): react_jsx_runtime.JSX.Element;
|
|
804
|
+
|
|
805
|
+
declare function Slider({ className, children, ...props }: React$1.ComponentProps<typeof Slider$1.Root>): react_jsx_runtime.JSX.Element;
|
|
806
|
+
declare function SliderThumb({ className, ...props }: React$1.ComponentProps<typeof Slider$1.Thumb>): react_jsx_runtime.JSX.Element;
|
|
807
|
+
|
|
808
|
+
declare const switchShapes: {
|
|
809
|
+
readonly pill: "rounded-full";
|
|
810
|
+
readonly square: "rounded-md";
|
|
811
|
+
};
|
|
812
|
+
declare const switchSizes: {
|
|
813
|
+
readonly xs: "h-4 w-7";
|
|
814
|
+
readonly sm: "h-5 w-8";
|
|
815
|
+
readonly md: "h-6 w-10";
|
|
816
|
+
readonly lg: "h-8 w-14";
|
|
817
|
+
readonly xl: "h-9 w-16";
|
|
818
|
+
};
|
|
819
|
+
/**
|
|
820
|
+
* CVA variants for the switch track (root element).
|
|
821
|
+
* Handles shape (pill/square), size (xs/sm/md/lg/xl), and permanent mode styling.
|
|
822
|
+
* Includes focus-visible ring, disabled opacity, and form validation error states.
|
|
823
|
+
*/
|
|
824
|
+
declare const switchVariants: (props?: ({
|
|
825
|
+
shape?: "square" | "pill" | null | undefined;
|
|
826
|
+
size?: "md" | "sm" | "lg" | "xs" | "xl" | null | undefined;
|
|
827
|
+
permanent?: boolean | null | undefined;
|
|
828
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
829
|
+
/**
|
|
830
|
+
* CVA variants for on/off indicator labels inside the switch track.
|
|
831
|
+
* In non-permanent mode, the active indicator slides in and the inactive one
|
|
832
|
+
* becomes invisible. In permanent mode, both labels stay visible and stationary.
|
|
833
|
+
*/
|
|
834
|
+
declare const switchIndicatorVariants: (props?: ({
|
|
835
|
+
state?: "off" | "on" | null | undefined;
|
|
836
|
+
permanent?: boolean | null | undefined;
|
|
837
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
838
|
+
/**
|
|
839
|
+
* Wrapper component that provides SwitchContext and a positioned container
|
|
840
|
+
* for the Switch and optional SwitchIndicator siblings.
|
|
841
|
+
*
|
|
842
|
+
* @param permanent - When true, both on/off indicator labels remain visible
|
|
843
|
+
* at all times instead of toggling visibility based on the checked state.
|
|
844
|
+
*
|
|
845
|
+
* @example
|
|
846
|
+
* ```tsx
|
|
847
|
+
* <SwitchWrapper permanent>
|
|
848
|
+
* <Switch id="toggle" size="xl" />
|
|
849
|
+
* <SwitchIndicator state="on">On</SwitchIndicator>
|
|
850
|
+
* <SwitchIndicator state="off">Off</SwitchIndicator>
|
|
851
|
+
* </SwitchWrapper>
|
|
852
|
+
* ```
|
|
853
|
+
*/
|
|
854
|
+
declare function SwitchWrapper({ className, children, permanent, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
|
|
855
|
+
permanent?: boolean;
|
|
856
|
+
}): react_jsx_runtime.JSX.Element;
|
|
857
|
+
/**
|
|
858
|
+
* Toggle switch built on Radix UI Switch primitive.
|
|
859
|
+
* Must be used inside a SwitchWrapper for context access.
|
|
860
|
+
*
|
|
861
|
+
* @param shape - Track shape: "pill" (rounded) or "square" (slightly rounded).
|
|
862
|
+
* @param size - Switch dimensions: "xs" | "sm" | "md" | "lg" | "xl".
|
|
863
|
+
* @param thumbClassName - Optional additional classes for the thumb element.
|
|
864
|
+
*
|
|
865
|
+
* @example
|
|
866
|
+
* ```tsx
|
|
867
|
+
* <SwitchWrapper>
|
|
868
|
+
* <Switch id="notifications" shape="pill" size="md" />
|
|
869
|
+
* </SwitchWrapper>
|
|
870
|
+
* ```
|
|
871
|
+
*/
|
|
872
|
+
declare function Switch({ className, thumbClassName, shape, size, ...props }: React$1.ComponentProps<typeof Switch$1.Root> & VariantProps<typeof switchVariants> & {
|
|
873
|
+
thumbClassName?: string;
|
|
874
|
+
}): react_jsx_runtime.JSX.Element;
|
|
875
|
+
/**
|
|
876
|
+
* Label overlay displayed inside the switch track to indicate on/off state.
|
|
877
|
+
* Must be placed as a sibling of Switch inside a SwitchWrapper.
|
|
878
|
+
* Uses CSS peer selectors to show/hide based on the Switch checked state.
|
|
879
|
+
*
|
|
880
|
+
* @param state - Which state this indicator represents: "on" or "off".
|
|
881
|
+
*
|
|
882
|
+
* @example
|
|
883
|
+
* ```tsx
|
|
884
|
+
* <SwitchWrapper>
|
|
885
|
+
* <Switch id="toggle" size="lg" />
|
|
886
|
+
* <SwitchIndicator state="on">On</SwitchIndicator>
|
|
887
|
+
* <SwitchIndicator state="off">Off</SwitchIndicator>
|
|
888
|
+
* </SwitchWrapper>
|
|
889
|
+
* ```
|
|
890
|
+
*/
|
|
891
|
+
declare function SwitchIndicator({ className, state, ...props }: React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof switchIndicatorVariants>): react_jsx_runtime.JSX.Element;
|
|
892
|
+
|
|
893
|
+
declare const textareaVariants: (props?: ({
|
|
894
|
+
variant?: "md" | "sm" | "lg" | null | undefined;
|
|
895
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
896
|
+
declare function Textarea({ className, variant, ...props }: React$1.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants>): react_jsx_runtime.JSX.Element;
|
|
897
|
+
|
|
898
|
+
declare function ScrollArea({ className, viewportClassName, children, viewportRef, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root> & {
|
|
899
|
+
viewportRef?: React$1.Ref<HTMLDivElement>;
|
|
900
|
+
viewportClassName?: string;
|
|
901
|
+
}): react_jsx_runtime.JSX.Element;
|
|
902
|
+
declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
903
|
+
|
|
904
|
+
type ScrollspyProps = {
|
|
905
|
+
children: ReactNode;
|
|
906
|
+
targetRef?: RefObject<HTMLElement | HTMLDivElement | Document | null | undefined>;
|
|
907
|
+
onUpdate?: (id: string) => void;
|
|
908
|
+
offset?: number;
|
|
909
|
+
smooth?: boolean;
|
|
910
|
+
className?: string;
|
|
911
|
+
dataAttribute?: string;
|
|
912
|
+
history?: boolean;
|
|
913
|
+
throttleTime?: number;
|
|
914
|
+
};
|
|
915
|
+
declare function Scrollspy({ children, targetRef, onUpdate, className, offset, smooth, dataAttribute, history, }: ScrollspyProps): react_jsx_runtime.JSX.Element;
|
|
916
|
+
|
|
917
|
+
declare function AspectRatio(props: React$1.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime.JSX.Element;
|
|
918
|
+
|
|
919
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
920
|
+
|
|
921
|
+
declare const headings: {
|
|
922
|
+
readonly h1: "h1";
|
|
923
|
+
readonly h2: "h2";
|
|
924
|
+
readonly h3: "h3";
|
|
925
|
+
readonly h4: "h4";
|
|
926
|
+
readonly h5: "h5";
|
|
927
|
+
readonly h6: "h6";
|
|
928
|
+
};
|
|
929
|
+
declare function Toolbar({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
930
|
+
declare function ToolbarHeading({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
931
|
+
declare function ToolbarTitle({ className, as: Component, ...props }: React$1.HTMLAttributes<HTMLHeadingElement> & {
|
|
932
|
+
as?: keyof typeof headings;
|
|
933
|
+
}): react_jsx_runtime.JSX.Element;
|
|
934
|
+
declare function ToolbarDescription({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
935
|
+
declare function ToolbarActions({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
936
|
+
|
|
937
|
+
declare const Select: ({ indicatorPosition, indicatorVisibility, indicator, ...props }: {
|
|
938
|
+
indicatorPosition?: "left" | "right";
|
|
939
|
+
indicatorVisibility?: boolean;
|
|
940
|
+
indicator?: ReactNode;
|
|
941
|
+
} & React$1.ComponentProps<typeof Select$1.Root>) => react_jsx_runtime.JSX.Element;
|
|
942
|
+
declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
|
|
943
|
+
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof Select$1.Value>): react_jsx_runtime.JSX.Element;
|
|
944
|
+
declare const selectTriggerVariants: (props?: ({
|
|
945
|
+
size?: "md" | "sm" | "lg" | null | undefined;
|
|
946
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
947
|
+
interface SelectTriggerProps extends React$1.ComponentProps<typeof Select$1.Trigger>, VariantProps<typeof selectTriggerVariants> {
|
|
948
|
+
}
|
|
949
|
+
declare function SelectTrigger({ className, children, size, ...props }: SelectTriggerProps): react_jsx_runtime.JSX.Element;
|
|
950
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
951
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
952
|
+
declare function SelectContent({ className, children, position, ...props }: React$1.ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
|
|
953
|
+
declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof Select$1.Label>): react_jsx_runtime.JSX.Element;
|
|
954
|
+
declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof Select$1.Item>): react_jsx_runtime.JSX.Element;
|
|
955
|
+
declare function SelectIndicator({ children, className, ...props }: React$1.ComponentProps<typeof Select$1.ItemIndicator>): react_jsx_runtime.JSX.Element;
|
|
956
|
+
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
957
|
+
|
|
958
|
+
declare function Progress({ className, indicatorClassName, value, ...props }: React$1.ComponentProps<typeof Progress$1.Root> & {
|
|
959
|
+
indicatorClassName?: string;
|
|
960
|
+
}): react_jsx_runtime.JSX.Element;
|
|
961
|
+
declare function ProgressCircle({ className, indicatorClassName, trackClassName, value, size, strokeWidth, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
962
|
+
value?: number;
|
|
963
|
+
size?: number;
|
|
964
|
+
strokeWidth?: number;
|
|
965
|
+
indicatorClassName?: string;
|
|
966
|
+
trackClassName?: string;
|
|
967
|
+
children?: React$1.ReactNode;
|
|
968
|
+
}): react_jsx_runtime.JSX.Element;
|
|
969
|
+
declare function ProgressRadial({ className, value, size, strokeWidth, startAngle, endAngle, showLabel, trackClassName, indicatorClassName, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
970
|
+
value?: number;
|
|
971
|
+
size?: number;
|
|
972
|
+
strokeWidth?: number;
|
|
973
|
+
startAngle?: number;
|
|
974
|
+
endAngle?: number;
|
|
975
|
+
showLabel?: boolean;
|
|
976
|
+
indicatorClassName?: string;
|
|
977
|
+
trackClassName?: string;
|
|
978
|
+
children?: React$1.ReactNode;
|
|
979
|
+
}): react_jsx_runtime.JSX.Element;
|
|
980
|
+
|
|
981
|
+
declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
982
|
+
|
|
983
|
+
declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
984
|
+
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
985
|
+
declare function PaginationItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
986
|
+
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
987
|
+
|
|
988
|
+
interface TimelineItemProps {
|
|
989
|
+
icon: LucideIcon;
|
|
990
|
+
line: boolean;
|
|
991
|
+
children: ReactNode;
|
|
992
|
+
removeSpace?: boolean;
|
|
993
|
+
className?: string;
|
|
994
|
+
}
|
|
995
|
+
declare const TimelineItem: React$1.ForwardRefExoticComponent<TimelineItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
996
|
+
|
|
997
|
+
declare const kbdVariants: (props?: ({
|
|
998
|
+
variant?: "default" | "outline" | null | undefined;
|
|
999
|
+
size?: "md" | "sm" | "xs" | null | undefined;
|
|
1000
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1001
|
+
declare function Kbd({ className, variant, size, ...props }: React$1.ComponentProps<"kbd"> & VariantProps<typeof kbdVariants>): react_jsx_runtime.JSX.Element;
|
|
1002
|
+
|
|
1003
|
+
interface CodeProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof codeVariants> {
|
|
1004
|
+
asChild?: boolean;
|
|
1005
|
+
showCopyButton?: boolean;
|
|
1006
|
+
copyText?: string;
|
|
1007
|
+
}
|
|
1008
|
+
declare const codeVariants: (props?: ({
|
|
1009
|
+
variant?: "default" | "outline" | "destructive" | null | undefined;
|
|
1010
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1011
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1012
|
+
declare function Code({ className, variant, size, asChild, showCopyButton, copyText, children, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
|
|
1013
|
+
|
|
128
1014
|
declare function useIsMobile(): boolean;
|
|
129
1015
|
|
|
130
1016
|
declare function useCopyToClipboard({ timeout, onCopy, }?: {
|
|
@@ -145,4 +1031,4 @@ declare function useMounted(): boolean;
|
|
|
145
1031
|
*/
|
|
146
1032
|
declare function cn(...inputs: ClassValue[]): string;
|
|
147
1033
|
|
|
148
|
-
export { Avatar, AvatarFallback, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Button, ButtonArrow, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Checkbox, Icons, Input, InputAddon, InputGroup, InputWrapper, Skeleton, avatarStatusVariants, badgeVariants, buttonVariants, cn, inputAddonVariants, inputVariants, useCopyToClipboard, useIsMobile, useMounted };
|
|
1034
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionMenu, type AccordionMenuClassNames, AccordionMenuGroup, AccordionMenuIndicator, AccordionMenuItem, AccordionMenuLabel, AccordionMenuSeparator, AccordionMenuSub, AccordionMenuSubContent, AccordionMenuSubTrigger, AccordionTrigger, Alert, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, AlertToolbar, AspectRatio, Avatar, AvatarFallback, AvatarGroup, AvatarGroupItem, AvatarGroupTooltip, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonArrow, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Code, type CodeProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataGrid, type DataGridApiFetchParams, type DataGridApiResponse, DataGridColumnHeader, type DataGridColumnHeaderProps, DataGridColumnVisibility, DataGridContainer, type DataGridContextProps, DataGridPagination, type DataGridPaginationProps, type DataGridProps, DataGridProvider, type DataGridRequestParams, DataGridTable, DataGridTableBase, DataGridTableBody, DataGridTableBodyRow, DataGridTableBodyRowCell, DataGridTableBodyRowExpanded, DataGridTableBodyRowSkeleton, DataGridTableBodyRowSkeletonCell, DataGridTableEmpty, DataGridTableHead, DataGridTableHeadRow, DataGridTableHeadRowCell, DataGridTableHeadRowCellResize, DataGridTableLoader, DataGridTableRowSelect, DataGridTableRowSelectAll, DataGridTableRowSpacer, DateField, DateInput, type DateInputProps, DateSegment, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputAddon, InputGroup, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputWrapper, Kanban, KanbanBoard, type KanbanBoardProps, KanbanColumn, KanbanColumnContent, type KanbanColumnContentProps, KanbanColumnHandle, type KanbanColumnHandleProps, type KanbanColumnProps, KanbanItem, KanbanItemHandle, type KanbanItemHandleProps, type KanbanItemProps, type KanbanMoveEvent, KanbanOverlay, type KanbanOverlayProps, type KanbanRootProps, Kbd, Label, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, Popover, PopoverContent, PopoverTrigger, Progress, ProgressCircle, ProgressRadial, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Scrollspy, Select, SelectContent, SelectGroup, SelectIndicator, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderThumb, Spinner, Switch, SwitchIndicator, SwitchWrapper, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimeField, TimelineItem, type TimelineItemProps, Toolbar, ToolbarActions, ToolbarDescription, ToolbarHeading, ToolbarTitle, avatarStatusVariants, badgeVariants, buttonVariantConfig, buttonVariants, cn, codeVariants, dateInputStyles, headings, inputAddonVariants, inputVariants, kbdVariants, labelVariants, radioGroupVariants, radioItemVariants, selectTriggerVariants, switchShapes, switchSizes, tabsListVariantConfig, textareaVariants, useChart, useCopyToClipboard, useDataGrid, useIsMobile, useMounted };
|