@diyet24/design-system 0.1.0 → 0.1.1
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 +72 -555
- package/dist/{index.d.cts → index.d.mts} +323 -646
- package/dist/index.d.ts +323 -646
- package/dist/index.js +4463 -31620
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4582 -0
- package/dist/index.mjs.map +1 -0
- package/dist/styles.css +3037 -871
- package/package.json +56 -94
- package/dist/index.cjs +0 -32288
- package/dist/index.cjs.map +0 -1
- package/dist/tailwind/index.cjs +0 -301
- package/dist/tailwind/index.cjs.map +0 -1
- package/dist/tailwind/index.d.cts +0 -583
- package/dist/tailwind/index.d.ts +0 -583
- package/dist/tailwind/index.js +0 -287
- package/dist/tailwind/index.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
1
|
import * as React$1 from 'react';
|
|
2
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
3
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { VariantProps } from 'class-variance-authority';
|
|
4
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
6
6
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
7
7
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
8
8
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
9
|
-
import
|
|
9
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
10
|
+
import { DayPicker, DayButton } from 'react-day-picker';
|
|
10
11
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
12
|
+
import * as recharts_types_util_payload_getUniqPayload from 'recharts/types/util/payload/getUniqPayload';
|
|
13
|
+
import * as recharts_types_component_Tooltip from 'recharts/types/component/Tooltip';
|
|
14
|
+
import * as recharts_types_util_types from 'recharts/types/util/types';
|
|
15
|
+
import * as recharts_types_component_DefaultTooltipContent from 'recharts/types/component/DefaultTooltipContent';
|
|
16
|
+
import * as RechartsPrimitive from 'recharts';
|
|
11
17
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
12
18
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
13
19
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
@@ -16,79 +22,44 @@ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
|
16
22
|
import * as vaul from 'vaul';
|
|
17
23
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
18
24
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
25
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
26
|
+
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
27
|
+
import * as react_hook_form from 'react-hook-form';
|
|
28
|
+
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
19
29
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
20
30
|
import * as input_otp from 'input-otp';
|
|
21
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
22
31
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
23
32
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
24
33
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
25
34
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
26
35
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
27
|
-
import
|
|
36
|
+
import { Group, Panel, Separator as Separator$1 } from 'react-resizable-panels';
|
|
28
37
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
29
38
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
30
|
-
import * as
|
|
39
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
31
40
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
32
|
-
import
|
|
41
|
+
import { Toaster as Toaster$1 } from 'sonner';
|
|
42
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
33
43
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
34
44
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
35
45
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
36
|
-
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
37
|
-
import { ExternalToast } from 'sonner';
|
|
38
|
-
import { ColumnDef, RowSelectionState } from '@tanstack/react-table';
|
|
39
46
|
import { ClassValue } from 'clsx';
|
|
40
47
|
|
|
41
|
-
declare const buttonVariants: (props?: ({
|
|
42
|
-
variant?: "contained" | "outline" | "ghost" | "tonal" | "link" | null | undefined;
|
|
43
|
-
color?: "primary" | "secondary" | "success" | "info" | "warning" | "danger" | null | undefined;
|
|
44
|
-
size?: "sm" | "default" | "lg" | "xl" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
45
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
46
|
-
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "color">, VariantProps<typeof buttonVariants> {
|
|
47
|
-
asChild?: boolean;
|
|
48
|
-
}
|
|
49
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
50
|
-
|
|
51
|
-
declare const inputVariants: (props?: ({
|
|
52
|
-
variant?: "success" | "default" | "error" | null | undefined;
|
|
53
|
-
inputSize?: "sm" | "default" | "lg" | null | undefined;
|
|
54
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
55
|
-
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
|
|
56
|
-
}
|
|
57
|
-
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
58
|
-
|
|
59
|
-
declare const badgeVariants: (props?: ({
|
|
60
|
-
variant?: "outline" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "default" | "outline-secondary" | "light" | "light-secondary" | "light-success" | "light-info" | "light-warning" | "light-danger" | null | undefined;
|
|
61
|
-
size?: "sm" | "default" | "lg" | null | undefined;
|
|
62
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
63
|
-
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
64
|
-
}
|
|
65
|
-
declare function Badge({ className, variant, size, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
66
|
-
|
|
67
|
-
declare const cardVariants: (props?: ({
|
|
68
|
-
variant?: "primary" | "success" | "warning" | "danger" | "default" | "interactive" | "elevated" | "flat" | null | undefined;
|
|
69
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
70
|
-
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
71
|
-
}
|
|
72
|
-
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
73
|
-
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
74
|
-
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
75
|
-
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
76
|
-
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
77
|
-
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
78
|
-
|
|
79
48
|
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
80
49
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
81
50
|
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
82
51
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
83
52
|
|
|
84
53
|
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
85
|
-
variant?: "
|
|
54
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
86
55
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
87
56
|
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
88
57
|
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
89
58
|
|
|
90
59
|
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
91
60
|
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
61
|
+
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
62
|
+
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
92
63
|
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
93
64
|
declare const AlertDialogHeader: {
|
|
94
65
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
@@ -109,10 +80,15 @@ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.Ava
|
|
|
109
80
|
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
110
81
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
111
82
|
|
|
83
|
+
declare const badgeVariants: (props?: ({
|
|
84
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
85
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
86
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
87
|
+
}
|
|
88
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
89
|
+
|
|
112
90
|
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
113
|
-
separator?: React$1.
|
|
114
|
-
className?: string;
|
|
115
|
-
}>;
|
|
91
|
+
separator?: React$1.ReactNode;
|
|
116
92
|
} & React$1.RefAttributes<HTMLElement>>;
|
|
117
93
|
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
118
94
|
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
@@ -129,11 +105,37 @@ declare const BreadcrumbEllipsis: {
|
|
|
129
105
|
displayName: string;
|
|
130
106
|
};
|
|
131
107
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
108
|
+
declare const buttonVariants: (props?: ({
|
|
109
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
110
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
111
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
112
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
113
|
+
asChild?: boolean;
|
|
136
114
|
}
|
|
115
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
116
|
+
|
|
117
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
118
|
+
|
|
119
|
+
declare const buttonGroupVariants: (props?: ({
|
|
120
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
121
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
122
|
+
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
124
|
+
asChild?: boolean;
|
|
125
|
+
}): react_jsx_runtime.JSX.Element;
|
|
126
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
127
|
+
|
|
128
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
129
|
+
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
130
|
+
}): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
132
|
+
|
|
133
|
+
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
134
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
135
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
136
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
137
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
138
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
137
139
|
|
|
138
140
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
139
141
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
@@ -151,11 +153,71 @@ declare const CarouselItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttrib
|
|
|
151
153
|
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
152
154
|
declare const CarouselNext: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
153
155
|
|
|
156
|
+
declare const THEMES: {
|
|
157
|
+
readonly light: "";
|
|
158
|
+
readonly dark: ".dark";
|
|
159
|
+
};
|
|
160
|
+
type ChartConfig = {
|
|
161
|
+
[k in string]: {
|
|
162
|
+
label?: React$1.ReactNode;
|
|
163
|
+
icon?: React$1.ComponentType;
|
|
164
|
+
} & ({
|
|
165
|
+
color?: string;
|
|
166
|
+
theme?: never;
|
|
167
|
+
} | {
|
|
168
|
+
color?: never;
|
|
169
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
170
|
+
});
|
|
171
|
+
};
|
|
172
|
+
declare const ChartContainer: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
173
|
+
config: ChartConfig;
|
|
174
|
+
children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
175
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
176
|
+
declare const ChartStyle: ({ id, config }: {
|
|
177
|
+
id: string;
|
|
178
|
+
config: ChartConfig;
|
|
179
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
180
|
+
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
181
|
+
declare const ChartTooltipContent: React$1.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> & {
|
|
182
|
+
accessibilityLayer?: boolean;
|
|
183
|
+
active?: boolean | undefined;
|
|
184
|
+
includeHidden?: boolean | undefined;
|
|
185
|
+
allowEscapeViewBox?: recharts_types_util_types.AllowInDimension;
|
|
186
|
+
animationDuration?: recharts_types_util_types.AnimationDuration;
|
|
187
|
+
animationEasing?: recharts_types_util_types.AnimationTiming;
|
|
188
|
+
content?: recharts_types_component_Tooltip.ContentType<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> | undefined;
|
|
189
|
+
coordinate?: Partial<recharts_types_util_types.Coordinate>;
|
|
190
|
+
cursor?: boolean | React$1.ReactElement | React$1.SVGProps<SVGElement>;
|
|
191
|
+
filterNull?: boolean;
|
|
192
|
+
defaultIndex?: number;
|
|
193
|
+
isAnimationActive?: boolean;
|
|
194
|
+
offset?: number;
|
|
195
|
+
payloadUniqBy?: recharts_types_util_payload_getUniqPayload.UniqueOption<recharts_types_component_DefaultTooltipContent.Payload<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType>> | undefined;
|
|
196
|
+
position?: Partial<recharts_types_util_types.Coordinate>;
|
|
197
|
+
reverseDirection?: recharts_types_util_types.AllowInDimension;
|
|
198
|
+
shared?: boolean;
|
|
199
|
+
trigger?: "hover" | "click";
|
|
200
|
+
useTranslate3d?: boolean;
|
|
201
|
+
viewBox?: recharts_types_util_types.CartesianViewBox;
|
|
202
|
+
wrapperStyle?: React$1.CSSProperties;
|
|
203
|
+
} & React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
204
|
+
hideLabel?: boolean;
|
|
205
|
+
hideIndicator?: boolean;
|
|
206
|
+
indicator?: "line" | "dot" | "dashed";
|
|
207
|
+
nameKey?: string;
|
|
208
|
+
labelKey?: string;
|
|
209
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
210
|
+
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
211
|
+
declare const ChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
212
|
+
hideIcon?: boolean;
|
|
213
|
+
nameKey?: string;
|
|
214
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
215
|
+
|
|
154
216
|
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
155
217
|
|
|
156
218
|
declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
157
219
|
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
158
|
-
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<
|
|
220
|
+
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
159
221
|
|
|
160
222
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
161
223
|
children?: React$1.ReactNode;
|
|
@@ -163,7 +225,7 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
163
225
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
164
226
|
} & {
|
|
165
227
|
asChild?: boolean;
|
|
166
|
-
}, "
|
|
228
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
167
229
|
label?: string;
|
|
168
230
|
shouldFilter?: boolean;
|
|
169
231
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -174,14 +236,12 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
174
236
|
disablePointerSelection?: boolean;
|
|
175
237
|
vimBindings?: boolean;
|
|
176
238
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
177
|
-
|
|
178
|
-
}
|
|
179
|
-
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
239
|
+
declare const CommandDialog: ({ children, ...props }: DialogProps) => react_jsx_runtime.JSX.Element;
|
|
180
240
|
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
|
|
181
241
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
182
242
|
} & {
|
|
183
243
|
asChild?: boolean;
|
|
184
|
-
}, "
|
|
244
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
185
245
|
value?: string;
|
|
186
246
|
onValueChange?: (search: string) => void;
|
|
187
247
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -191,7 +251,7 @@ declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
191
251
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
192
252
|
} & {
|
|
193
253
|
asChild?: boolean;
|
|
194
|
-
}, "
|
|
254
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
195
255
|
label?: string;
|
|
196
256
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
197
257
|
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
@@ -200,14 +260,14 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
200
260
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
201
261
|
} & {
|
|
202
262
|
asChild?: boolean;
|
|
203
|
-
}, "
|
|
263
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
204
264
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
205
265
|
children?: React$1.ReactNode;
|
|
206
266
|
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
207
267
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
208
268
|
} & {
|
|
209
269
|
asChild?: boolean;
|
|
210
|
-
}, "
|
|
270
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
211
271
|
heading?: React$1.ReactNode;
|
|
212
272
|
value?: string;
|
|
213
273
|
forceMount?: boolean;
|
|
@@ -216,7 +276,7 @@ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick
|
|
|
216
276
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
217
277
|
} & {
|
|
218
278
|
asChild?: boolean;
|
|
219
|
-
}, "
|
|
279
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
220
280
|
alwaysRender?: boolean;
|
|
221
281
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
222
282
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
@@ -225,7 +285,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
225
285
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
226
286
|
} & {
|
|
227
287
|
asChild?: boolean;
|
|
228
|
-
}, "
|
|
288
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
229
289
|
disabled?: boolean;
|
|
230
290
|
onSelect?: (value: string) => void;
|
|
231
291
|
value?: string;
|
|
@@ -262,6 +322,12 @@ declare const ContextMenuShortcut: {
|
|
|
262
322
|
displayName: string;
|
|
263
323
|
};
|
|
264
324
|
|
|
325
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
326
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
327
|
+
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
328
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
329
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
330
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
265
331
|
declare const DialogHeader: {
|
|
266
332
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
267
333
|
displayName: string;
|
|
@@ -270,12 +336,6 @@ declare const DialogFooter: {
|
|
|
270
336
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
271
337
|
displayName: string;
|
|
272
338
|
};
|
|
273
|
-
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
274
|
-
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
275
|
-
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
276
|
-
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
277
|
-
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
278
|
-
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
279
339
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
280
340
|
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
281
341
|
|
|
@@ -324,11 +384,80 @@ declare const DropdownMenuShortcut: {
|
|
|
324
384
|
displayName: string;
|
|
325
385
|
};
|
|
326
386
|
|
|
387
|
+
declare function Empty({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
388
|
+
declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
389
|
+
declare const emptyMediaVariants: (props?: ({
|
|
390
|
+
variant?: "default" | "icon" | null | undefined;
|
|
391
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
392
|
+
declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
393
|
+
declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
394
|
+
declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
395
|
+
declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
396
|
+
|
|
397
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
398
|
+
|
|
399
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
|
|
400
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
401
|
+
variant?: "legend" | "label";
|
|
402
|
+
}): react_jsx_runtime.JSX.Element;
|
|
403
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
404
|
+
declare const fieldVariants: (props?: ({
|
|
405
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
406
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
407
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
408
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
409
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
410
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
411
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
412
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
413
|
+
children?: React.ReactNode;
|
|
414
|
+
}): react_jsx_runtime.JSX.Element;
|
|
415
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
416
|
+
errors?: Array<{
|
|
417
|
+
message?: string;
|
|
418
|
+
} | undefined>;
|
|
419
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
420
|
+
|
|
421
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
422
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
423
|
+
declare const useFormField: () => {
|
|
424
|
+
invalid: boolean;
|
|
425
|
+
isDirty: boolean;
|
|
426
|
+
isTouched: boolean;
|
|
427
|
+
isValidating: boolean;
|
|
428
|
+
error?: react_hook_form.FieldError;
|
|
429
|
+
id: string;
|
|
430
|
+
name: string;
|
|
431
|
+
formItemId: string;
|
|
432
|
+
formDescriptionId: string;
|
|
433
|
+
formMessageId: string;
|
|
434
|
+
};
|
|
435
|
+
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
436
|
+
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
437
|
+
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
438
|
+
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
439
|
+
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
440
|
+
|
|
327
441
|
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
328
442
|
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
329
443
|
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
330
444
|
|
|
331
|
-
declare const
|
|
445
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
446
|
+
|
|
447
|
+
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
448
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
449
|
+
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
450
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
451
|
+
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
452
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
453
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
454
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
455
|
+
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
456
|
+
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
457
|
+
declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
458
|
+
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
459
|
+
|
|
460
|
+
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
332
461
|
value?: string;
|
|
333
462
|
onChange?: (newValue: string) => unknown;
|
|
334
463
|
maxLength: number;
|
|
@@ -341,7 +470,7 @@ declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.Inp
|
|
|
341
470
|
} & {
|
|
342
471
|
render: (props: input_otp.RenderProps) => React$1.ReactNode;
|
|
343
472
|
children?: never;
|
|
344
|
-
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "
|
|
473
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
345
474
|
value?: string;
|
|
346
475
|
onChange?: (newValue: string) => unknown;
|
|
347
476
|
maxLength: number;
|
|
@@ -361,17 +490,34 @@ declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.Detai
|
|
|
361
490
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
362
491
|
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
363
492
|
|
|
364
|
-
|
|
365
|
-
}
|
|
366
|
-
declare const
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
declare
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
declare const
|
|
374
|
-
|
|
493
|
+
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
494
|
+
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
495
|
+
declare const itemVariants: (props?: ({
|
|
496
|
+
variant?: "muted" | "default" | "outline" | null | undefined;
|
|
497
|
+
size?: "default" | "sm" | null | undefined;
|
|
498
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
499
|
+
declare function Item({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
500
|
+
asChild?: boolean;
|
|
501
|
+
}): react_jsx_runtime.JSX.Element;
|
|
502
|
+
declare const itemMediaVariants: (props?: ({
|
|
503
|
+
variant?: "image" | "default" | "icon" | null | undefined;
|
|
504
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
505
|
+
declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
506
|
+
declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
507
|
+
declare function ItemTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
508
|
+
declare function ItemDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
509
|
+
declare function ItemActions({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
510
|
+
declare function ItemHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
511
|
+
declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
512
|
+
|
|
513
|
+
declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): react_jsx_runtime.JSX.Element;
|
|
514
|
+
declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
515
|
+
|
|
516
|
+
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
|
|
517
|
+
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
518
|
+
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
519
|
+
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
520
|
+
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
375
521
|
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
376
522
|
declare const MenubarTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
377
523
|
declare const MenubarSubTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
@@ -390,12 +536,13 @@ declare const MenubarLabel: React$1.ForwardRefExoticComponent<Omit<MenubarPrimit
|
|
|
390
536
|
declare const MenubarSeparator: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
391
537
|
declare const MenubarShortcut: {
|
|
392
538
|
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
393
|
-
|
|
539
|
+
displayname: string;
|
|
394
540
|
};
|
|
395
541
|
|
|
396
542
|
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
397
543
|
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
398
544
|
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
545
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
399
546
|
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
400
547
|
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
401
548
|
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -432,43 +579,14 @@ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
|
432
579
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
433
580
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
434
581
|
|
|
435
|
-
declare const
|
|
436
|
-
size?: "sm" | "default" | "lg" | null | undefined;
|
|
437
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
438
|
-
declare const progressIndicatorVariants: (props?: ({
|
|
439
|
-
variant?: "success" | "info" | "warning" | "danger" | "default" | "purple" | null | undefined;
|
|
440
|
-
animated?: boolean | null | undefined;
|
|
441
|
-
striped?: boolean | null | undefined;
|
|
442
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
443
|
-
interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof progressVariants>, VariantProps<typeof progressIndicatorVariants> {
|
|
444
|
-
value?: number;
|
|
445
|
-
showValue?: boolean;
|
|
446
|
-
label?: string;
|
|
447
|
-
}
|
|
448
|
-
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
582
|
+
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
449
583
|
|
|
450
584
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
451
585
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
452
586
|
|
|
453
|
-
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof
|
|
454
|
-
declare const ResizablePanel:
|
|
455
|
-
|
|
456
|
-
collapsedSize?: number | undefined;
|
|
457
|
-
collapsible?: boolean | undefined;
|
|
458
|
-
defaultSize?: number | undefined;
|
|
459
|
-
id?: string | undefined;
|
|
460
|
-
maxSize?: number | undefined;
|
|
461
|
-
minSize?: number | undefined;
|
|
462
|
-
onCollapse?: ResizablePrimitive.PanelOnCollapse | undefined;
|
|
463
|
-
onExpand?: ResizablePrimitive.PanelOnExpand | undefined;
|
|
464
|
-
onResize?: ResizablePrimitive.PanelOnResize | undefined;
|
|
465
|
-
order?: number | undefined;
|
|
466
|
-
style?: object | undefined;
|
|
467
|
-
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
468
|
-
} & {
|
|
469
|
-
children?: React$1.ReactNode;
|
|
470
|
-
} & React$1.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
|
|
471
|
-
declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
587
|
+
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof Group>) => react_jsx_runtime.JSX.Element;
|
|
588
|
+
declare const ResizablePanel: typeof Panel;
|
|
589
|
+
declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof Separator$1> & {
|
|
472
590
|
withHandle?: boolean;
|
|
473
591
|
}) => react_jsx_runtime.JSX.Element;
|
|
474
592
|
|
|
@@ -486,15 +604,13 @@ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitiv
|
|
|
486
604
|
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
487
605
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
488
606
|
|
|
489
|
-
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
490
|
-
|
|
491
607
|
declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
492
608
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
493
609
|
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
494
610
|
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
495
611
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
496
612
|
declare const sheetVariants: (props?: ({
|
|
497
|
-
side?: "
|
|
613
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
498
614
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
499
615
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
500
616
|
}
|
|
@@ -510,20 +626,83 @@ declare const SheetFooter: {
|
|
|
510
626
|
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
511
627
|
declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
512
628
|
|
|
629
|
+
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
630
|
+
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
631
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
632
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
633
|
+
|
|
634
|
+
type SidebarContextProps = {
|
|
635
|
+
state: "expanded" | "collapsed";
|
|
636
|
+
open: boolean;
|
|
637
|
+
setOpen: (open: boolean) => void;
|
|
638
|
+
openMobile: boolean;
|
|
639
|
+
setOpenMobile: (open: boolean) => void;
|
|
640
|
+
isMobile: boolean;
|
|
641
|
+
toggleSidebar: () => void;
|
|
642
|
+
};
|
|
643
|
+
declare function useSidebar(): SidebarContextProps;
|
|
644
|
+
declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
645
|
+
defaultOpen?: boolean;
|
|
646
|
+
open?: boolean;
|
|
647
|
+
onOpenChange?: (open: boolean) => void;
|
|
648
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
649
|
+
declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
650
|
+
side?: "left" | "right";
|
|
651
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
652
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
653
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
654
|
+
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
655
|
+
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
656
|
+
declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
657
|
+
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
658
|
+
declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
659
|
+
declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
660
|
+
declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
661
|
+
declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
662
|
+
declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
663
|
+
declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
664
|
+
asChild?: boolean;
|
|
665
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
666
|
+
declare const SidebarGroupAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
667
|
+
asChild?: boolean;
|
|
668
|
+
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
669
|
+
declare const SidebarGroupContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
670
|
+
declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
671
|
+
declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
672
|
+
declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
673
|
+
asChild?: boolean;
|
|
674
|
+
isActive?: boolean;
|
|
675
|
+
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
676
|
+
} & VariantProps<(props?: ({
|
|
677
|
+
variant?: "default" | "outline" | null | undefined;
|
|
678
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
679
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
680
|
+
declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
681
|
+
asChild?: boolean;
|
|
682
|
+
showOnHover?: boolean;
|
|
683
|
+
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
684
|
+
declare const SidebarMenuBadge: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
685
|
+
declare const SidebarMenuSkeleton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
686
|
+
showIcon?: boolean;
|
|
687
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
688
|
+
declare const SidebarMenuSub: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
689
|
+
declare const SidebarMenuSubItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
690
|
+
declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLAnchorElement> & React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
691
|
+
asChild?: boolean;
|
|
692
|
+
size?: "sm" | "md";
|
|
693
|
+
isActive?: boolean;
|
|
694
|
+
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
695
|
+
|
|
513
696
|
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
514
697
|
|
|
515
698
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
516
699
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
interface SpinnerProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
522
|
-
label?: string;
|
|
523
|
-
}
|
|
524
|
-
declare const Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
700
|
+
type ToasterProps = React.ComponentProps<typeof Toaster$1>;
|
|
701
|
+
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
702
|
+
|
|
703
|
+
declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
525
704
|
|
|
526
|
-
declare const Switch: React$1.ForwardRefExoticComponent<Omit<
|
|
705
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
527
706
|
|
|
528
707
|
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
529
708
|
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -539,530 +718,28 @@ declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.Tab
|
|
|
539
718
|
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
540
719
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
541
720
|
|
|
542
|
-
declare const
|
|
543
|
-
variant?: "success" | "default" | "error" | null | undefined;
|
|
544
|
-
textareaSize?: "sm" | "default" | "lg" | null | undefined;
|
|
545
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
546
|
-
interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textareaVariants> {
|
|
547
|
-
}
|
|
548
|
-
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
721
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
549
722
|
|
|
550
723
|
declare const toggleVariants: (props?: ({
|
|
551
|
-
variant?: "
|
|
552
|
-
size?: "
|
|
724
|
+
variant?: "default" | "outline" | null | undefined;
|
|
725
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
553
726
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
554
727
|
declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
555
|
-
variant?: "
|
|
556
|
-
size?: "
|
|
728
|
+
variant?: "default" | "outline" | null | undefined;
|
|
729
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
557
730
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
558
731
|
|
|
559
732
|
declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
560
|
-
variant?: "
|
|
561
|
-
size?: "
|
|
733
|
+
variant?: "default" | "outline" | null | undefined;
|
|
734
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
562
735
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
|
|
563
736
|
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
564
|
-
variant?: "
|
|
565
|
-
size?: "
|
|
737
|
+
variant?: "default" | "outline" | null | undefined;
|
|
738
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
566
739
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
567
740
|
|
|
568
|
-
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
569
|
-
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
570
|
-
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
571
|
-
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
572
|
-
|
|
573
|
-
declare const typographyVariants: (props?: ({
|
|
574
|
-
variant?: "small" | "blockquote" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "ul" | "muted" | "lead" | "large" | null | undefined;
|
|
575
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
576
|
-
interface TypographyProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
|
|
577
|
-
as?: React$1.ElementType;
|
|
578
|
-
}
|
|
579
|
-
declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
|
|
580
|
-
|
|
581
|
-
interface ComboboxOption {
|
|
582
|
-
value: string;
|
|
583
|
-
label: string;
|
|
584
|
-
}
|
|
585
|
-
interface ComboboxProps {
|
|
586
|
-
options: ComboboxOption[];
|
|
587
|
-
value?: string;
|
|
588
|
-
onValueChange?: (value: string) => void;
|
|
589
|
-
placeholder?: string;
|
|
590
|
-
searchPlaceholder?: string;
|
|
591
|
-
emptyMessage?: string;
|
|
592
|
-
className?: string;
|
|
593
|
-
disabled?: boolean;
|
|
594
|
-
}
|
|
595
|
-
declare const Combobox: React$1.ForwardRefExoticComponent<ComboboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
596
|
-
|
|
597
|
-
interface DatePickerProps {
|
|
598
|
-
date?: Date;
|
|
599
|
-
onDateChange?: (date: Date | undefined) => void;
|
|
600
|
-
placeholder?: string;
|
|
601
|
-
className?: string;
|
|
602
|
-
disabled?: boolean;
|
|
603
|
-
disabledDates?: (date: Date) => boolean;
|
|
604
|
-
}
|
|
605
|
-
declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
606
|
-
|
|
607
|
-
interface DashboardNavigationItem {
|
|
608
|
-
name: string;
|
|
609
|
-
href: string;
|
|
610
|
-
icon?: React$1.ComponentType<{
|
|
611
|
-
className?: string;
|
|
612
|
-
}>;
|
|
613
|
-
badge?: number | string;
|
|
614
|
-
onClick?: () => void;
|
|
615
|
-
}
|
|
616
|
-
interface DashboardNotification {
|
|
617
|
-
id: string;
|
|
618
|
-
title: string;
|
|
619
|
-
description: string;
|
|
620
|
-
time: string;
|
|
621
|
-
unread?: boolean;
|
|
622
|
-
}
|
|
623
|
-
interface DashboardUser {
|
|
624
|
-
name: string;
|
|
625
|
-
email?: string;
|
|
626
|
-
avatar?: string;
|
|
627
|
-
fallback?: string;
|
|
628
|
-
}
|
|
629
|
-
interface DashboardUserMenuItem {
|
|
630
|
-
label: string;
|
|
631
|
-
icon?: React$1.ComponentType<{
|
|
632
|
-
className?: string;
|
|
633
|
-
}>;
|
|
634
|
-
onClick?: () => void;
|
|
635
|
-
variant?: "default" | "danger";
|
|
636
|
-
separator?: boolean;
|
|
637
|
-
}
|
|
638
|
-
interface DashboardLogoProps {
|
|
639
|
-
collapsed?: boolean;
|
|
640
|
-
src?: string;
|
|
641
|
-
alt?: string;
|
|
642
|
-
render?: (collapsed: boolean) => React$1.ReactNode;
|
|
643
|
-
}
|
|
644
|
-
interface DashboardProps {
|
|
645
|
-
children: React$1.ReactNode;
|
|
646
|
-
navigation: DashboardNavigationItem[];
|
|
647
|
-
currentPath?: string;
|
|
648
|
-
logo?: DashboardLogoProps;
|
|
649
|
-
user?: DashboardUser;
|
|
650
|
-
userMenuItems?: DashboardUserMenuItem[];
|
|
651
|
-
notifications?: DashboardNotification[];
|
|
652
|
-
notificationsLabel?: string;
|
|
653
|
-
onNotificationClick?: (notification: DashboardNotification) => void;
|
|
654
|
-
searchPlaceholder?: string;
|
|
655
|
-
onSearchClick?: () => void;
|
|
656
|
-
defaultSidebarCollapsed?: boolean;
|
|
657
|
-
defaultSidebarOpen?: boolean;
|
|
658
|
-
onSidebarToggle?: (open: boolean) => void;
|
|
659
|
-
sidebarCollapseIcon?: React$1.ComponentType<{
|
|
660
|
-
className?: string;
|
|
661
|
-
}>;
|
|
662
|
-
sidebarExpandIcon?: React$1.ComponentType<{
|
|
663
|
-
className?: string;
|
|
664
|
-
}>;
|
|
665
|
-
headerClassName?: string;
|
|
666
|
-
sidebarClassName?: string;
|
|
667
|
-
mainClassName?: string;
|
|
668
|
-
renderLogo?: (collapsed: boolean) => React$1.ReactNode;
|
|
669
|
-
renderUserAvatar?: () => React$1.ReactNode;
|
|
670
|
-
renderNotificationBadge?: () => React$1.ReactNode;
|
|
671
|
-
searchIcon?: React$1.ComponentType<{
|
|
672
|
-
className?: string;
|
|
673
|
-
}>;
|
|
674
|
-
notificationIcon?: React$1.ComponentType<{
|
|
675
|
-
className?: string;
|
|
676
|
-
}>;
|
|
677
|
-
menuIcon?: React$1.ComponentType<{
|
|
678
|
-
className?: string;
|
|
679
|
-
}>;
|
|
680
|
-
}
|
|
681
|
-
declare const Dashboard: React$1.ForwardRefExoticComponent<DashboardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
682
|
-
|
|
683
|
-
declare const flexVariants: (props?: ({
|
|
684
|
-
direction?: "row" | "col" | "row-reverse" | "col-reverse" | null | undefined;
|
|
685
|
-
justify?: "center" | "end" | "start" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
686
|
-
align?: "center" | "end" | "start" | "baseline" | "stretch" | null | undefined;
|
|
687
|
-
wrap?: "wrap" | "wrap-reverse" | "nowrap" | null | undefined;
|
|
688
|
-
gap?: 0 | 1 | 2 | 4 | 3 | 8 | 5 | 6 | 10 | 12 | 16 | 20 | 24 | null | undefined;
|
|
689
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
690
|
-
interface FlexProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof flexVariants> {
|
|
691
|
-
/** Custom element type, default is div */
|
|
692
|
-
as?: React$1.ElementType;
|
|
693
|
-
/** Inline styles */
|
|
694
|
-
style?: React$1.CSSProperties;
|
|
695
|
-
/** Whether the flex container should take full width */
|
|
696
|
-
fullWidth?: boolean;
|
|
697
|
-
/** Whether the flex container should take full height */
|
|
698
|
-
fullHeight?: boolean;
|
|
699
|
-
/** Custom gap value (CSS value) */
|
|
700
|
-
customGap?: string;
|
|
701
|
-
/** Row gap */
|
|
702
|
-
rowGap?: string | number;
|
|
703
|
-
/** Column gap */
|
|
704
|
-
columnGap?: string | number;
|
|
705
|
-
/** Flex grow */
|
|
706
|
-
grow?: boolean | number;
|
|
707
|
-
/** Flex shrink */
|
|
708
|
-
shrink?: boolean | number;
|
|
709
|
-
/** Flex basis */
|
|
710
|
-
basis?: string;
|
|
711
|
-
/** Inline flex instead of flex */
|
|
712
|
-
inline?: boolean;
|
|
713
|
-
}
|
|
714
|
-
declare const Flex: React$1.ForwardRefExoticComponent<FlexProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
715
|
-
declare const FlexRow: React$1.ForwardRefExoticComponent<Omit<FlexProps, "direction"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
716
|
-
declare const FlexCol: React$1.ForwardRefExoticComponent<Omit<FlexProps, "direction"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
717
|
-
declare const FlexCenter: React$1.ForwardRefExoticComponent<FlexProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
718
|
-
|
|
719
|
-
declare const gridVariants: (props?: ({
|
|
720
|
-
cols?: 1 | "none" | 2 | 4 | 3 | 8 | 5 | 6 | 10 | 12 | 7 | 9 | 11 | null | undefined;
|
|
721
|
-
rows?: 1 | "none" | 2 | 4 | 3 | 5 | 6 | null | undefined;
|
|
722
|
-
gap?: 0 | 1 | 2 | 4 | 3 | 8 | 5 | 6 | 10 | 12 | 16 | 20 | 24 | null | undefined;
|
|
723
|
-
flow?: "row" | "col" | "dense" | "row-dense" | "col-dense" | null | undefined;
|
|
724
|
-
justifyItems?: "center" | "end" | "start" | "stretch" | null | undefined;
|
|
725
|
-
alignItems?: "center" | "end" | "start" | "baseline" | "stretch" | null | undefined;
|
|
726
|
-
justifyContent?: "center" | "end" | "start" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
727
|
-
alignContent?: "center" | "end" | "start" | "baseline" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
728
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
729
|
-
interface GridProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
|
|
730
|
-
/** Custom element type, default is div */
|
|
731
|
-
as?: React$1.ElementType;
|
|
732
|
-
/** Inline styles */
|
|
733
|
-
style?: React$1.CSSProperties;
|
|
734
|
-
/** Whether the grid container should take full width */
|
|
735
|
-
fullWidth?: boolean;
|
|
736
|
-
/** Whether the grid container should take full height */
|
|
737
|
-
fullHeight?: boolean;
|
|
738
|
-
/** Custom gap value (CSS value) */
|
|
739
|
-
customGap?: string;
|
|
740
|
-
/** Row gap */
|
|
741
|
-
rowGap?: string | number;
|
|
742
|
-
/** Column gap */
|
|
743
|
-
columnGap?: string | number;
|
|
744
|
-
/** Custom grid template columns */
|
|
745
|
-
templateColumns?: string;
|
|
746
|
-
/** Custom grid template rows */
|
|
747
|
-
templateRows?: string;
|
|
748
|
-
/** Custom grid template areas */
|
|
749
|
-
templateAreas?: string;
|
|
750
|
-
/** Grid auto columns */
|
|
751
|
-
autoColumns?: string;
|
|
752
|
-
/** Grid auto rows */
|
|
753
|
-
autoRows?: string;
|
|
754
|
-
/** Inline grid instead of grid */
|
|
755
|
-
inline?: boolean;
|
|
756
|
-
/** Responsive columns for mobile (sm breakpoint) */
|
|
757
|
-
smCols?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
758
|
-
/** Responsive columns for tablet (md breakpoint) */
|
|
759
|
-
mdCols?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
760
|
-
/** Responsive columns for desktop (lg breakpoint) */
|
|
761
|
-
lgCols?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
762
|
-
/** Responsive columns for large desktop (xl breakpoint) */
|
|
763
|
-
xlCols?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
764
|
-
/** Responsive columns for extra large desktop (2xl breakpoint) */
|
|
765
|
-
"2xlCols"?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
766
|
-
}
|
|
767
|
-
declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
768
|
-
interface GridItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
769
|
-
/** Custom element type, default is div */
|
|
770
|
-
as?: React$1.ElementType;
|
|
771
|
-
/** Grid column span */
|
|
772
|
-
colSpan?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "auto" | "full";
|
|
773
|
-
/** Grid row span */
|
|
774
|
-
rowSpan?: 1 | 2 | 3 | 4 | 5 | 6 | "auto" | "full";
|
|
775
|
-
/** Grid column start */
|
|
776
|
-
colStart?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | "auto";
|
|
777
|
-
/** Grid column end */
|
|
778
|
-
colEnd?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | "auto";
|
|
779
|
-
/** Grid row start */
|
|
780
|
-
rowStart?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | "auto";
|
|
781
|
-
/** Grid row end */
|
|
782
|
-
rowEnd?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | "auto";
|
|
783
|
-
/** Grid area */
|
|
784
|
-
area?: string;
|
|
785
|
-
}
|
|
786
|
-
declare const GridItem: React$1.ForwardRefExoticComponent<GridItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
787
|
-
|
|
788
|
-
declare const sectionVariants: (props?: ({
|
|
789
|
-
spacing?: "sm" | "lg" | "xl" | "none" | "md" | null | undefined;
|
|
790
|
-
container?: "sm" | "lg" | "xl" | "none" | "full" | "md" | "2xl" | null | undefined;
|
|
791
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
792
|
-
declare const sectionHeaderVariants: (props?: ({
|
|
793
|
-
layout?: "default" | "stacked" | "centered" | null | undefined;
|
|
794
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
795
|
-
interface SectionLink {
|
|
796
|
-
name: string;
|
|
797
|
-
href: string;
|
|
798
|
-
active?: boolean;
|
|
799
|
-
onClick?: () => void;
|
|
800
|
-
icon?: React$1.ComponentType<{
|
|
801
|
-
className?: string;
|
|
802
|
-
}>;
|
|
803
|
-
disabled?: boolean;
|
|
804
|
-
}
|
|
805
|
-
interface SectionAction {
|
|
806
|
-
label: string;
|
|
807
|
-
onClick?: () => void;
|
|
808
|
-
href?: string;
|
|
809
|
-
variant?: "default" | "primary" | "secondary" | "outline" | "ghost";
|
|
810
|
-
size?: "sm" | "default" | "lg";
|
|
811
|
-
icon?: React$1.ComponentType<{
|
|
812
|
-
className?: string;
|
|
813
|
-
}>;
|
|
814
|
-
disabled?: boolean;
|
|
815
|
-
}
|
|
816
|
-
interface SectionProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof sectionVariants> {
|
|
817
|
-
/** Section başlığı */
|
|
818
|
-
title?: string;
|
|
819
|
-
/** Section açıklaması */
|
|
820
|
-
description?: string;
|
|
821
|
-
/** Başlık elementi tipi */
|
|
822
|
-
titleAs?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
823
|
-
/** Header layout stili */
|
|
824
|
-
headerLayout?: "default" | "stacked" | "centered";
|
|
825
|
-
/** Sağ üst aksiyonlar */
|
|
826
|
-
actions?: React$1.ReactNode;
|
|
827
|
-
/** Action butonları (array olarak) */
|
|
828
|
-
actionButtons?: SectionAction[];
|
|
829
|
-
/** İçerik */
|
|
830
|
-
children?: React$1.ReactNode;
|
|
831
|
-
/** Navigasyon linkleri */
|
|
832
|
-
links?: SectionLink[];
|
|
833
|
-
/** Link render fonksiyonu */
|
|
834
|
-
renderLink?: (link: SectionLink) => React$1.ReactNode;
|
|
835
|
-
/** Aktif link kontrolü */
|
|
836
|
-
isLinkActive?: (link: SectionLink) => boolean;
|
|
837
|
-
/** Header gizle */
|
|
838
|
-
hideHeader?: boolean;
|
|
839
|
-
/** Header margin bottom */
|
|
840
|
-
headerMargin?: "none" | "sm" | "md" | "lg";
|
|
841
|
-
/** Links margin */
|
|
842
|
-
linksMargin?: "none" | "sm" | "md" | "lg";
|
|
843
|
-
/** Custom header renderer */
|
|
844
|
-
renderHeader?: () => React$1.ReactNode;
|
|
845
|
-
/** Custom links renderer */
|
|
846
|
-
renderLinks?: () => React$1.ReactNode;
|
|
847
|
-
/** Header className */
|
|
848
|
-
headerClassName?: string;
|
|
849
|
-
/** Links className */
|
|
850
|
-
linksClassName?: string;
|
|
851
|
-
/** Content className */
|
|
852
|
-
contentClassName?: string;
|
|
853
|
-
/** Custom element type */
|
|
854
|
-
as?: React$1.ElementType;
|
|
855
|
-
}
|
|
856
|
-
declare const Section: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLElement>>;
|
|
857
|
-
|
|
858
|
-
interface ToasterProps {
|
|
859
|
-
/** Toast konumu */
|
|
860
|
-
position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
861
|
-
/** Expand toast on hover */
|
|
862
|
-
expand?: boolean;
|
|
863
|
-
/** Rich colors */
|
|
864
|
-
richColors?: boolean;
|
|
865
|
-
/** Close button göster */
|
|
866
|
-
closeButton?: boolean;
|
|
867
|
-
/** Maksimum gösterilecek toast sayısı */
|
|
868
|
-
visibleToasts?: number;
|
|
869
|
-
/** Toast süresi (ms) */
|
|
870
|
-
duration?: number;
|
|
871
|
-
/** Custom className */
|
|
872
|
-
className?: string;
|
|
873
|
-
/** Toast gap */
|
|
874
|
-
gap?: number;
|
|
875
|
-
/** Offset from the edge */
|
|
876
|
-
offset?: string | number;
|
|
877
|
-
/** Theme */
|
|
878
|
-
theme?: "light" | "dark" | "system";
|
|
879
|
-
/** Direction */
|
|
880
|
-
dir?: "ltr" | "rtl" | "auto";
|
|
881
|
-
}
|
|
882
|
-
declare const Toaster: React$1.FC<ToasterProps>;
|
|
883
|
-
interface ToastOptions {
|
|
884
|
-
/** Toast açıklaması */
|
|
885
|
-
description?: string;
|
|
886
|
-
/** Action button */
|
|
887
|
-
action?: {
|
|
888
|
-
label: string;
|
|
889
|
-
onClick: () => void;
|
|
890
|
-
};
|
|
891
|
-
/** Cancel button */
|
|
892
|
-
cancel?: {
|
|
893
|
-
label: string;
|
|
894
|
-
onClick?: () => void;
|
|
895
|
-
};
|
|
896
|
-
/** Toast süresi (ms) */
|
|
897
|
-
duration?: number;
|
|
898
|
-
/** Toast ID */
|
|
899
|
-
id?: string | number;
|
|
900
|
-
/** Icon */
|
|
901
|
-
icon?: React$1.ReactNode;
|
|
902
|
-
/** onDismiss callback */
|
|
903
|
-
onDismiss?: (toast: any) => void;
|
|
904
|
-
/** onAutoClose callback */
|
|
905
|
-
onAutoClose?: (toast: any) => void;
|
|
906
|
-
/** Dismissible */
|
|
907
|
-
dismissible?: boolean;
|
|
908
|
-
/** Important */
|
|
909
|
-
important?: boolean;
|
|
910
|
-
/** Class name */
|
|
911
|
-
className?: string;
|
|
912
|
-
/** Class names */
|
|
913
|
-
classNames?: {
|
|
914
|
-
toast?: string;
|
|
915
|
-
title?: string;
|
|
916
|
-
description?: string;
|
|
917
|
-
icon?: string;
|
|
918
|
-
actionButton?: string;
|
|
919
|
-
cancelButton?: string;
|
|
920
|
-
closeButton?: string;
|
|
921
|
-
};
|
|
922
|
-
}
|
|
923
|
-
/**
|
|
924
|
-
* Toast mesaj gösterme fonksiyonu
|
|
925
|
-
*/
|
|
926
|
-
declare const toast: {
|
|
927
|
-
(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
928
|
-
success(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
929
|
-
error(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
930
|
-
warning(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
931
|
-
info(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
932
|
-
loading(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
933
|
-
promise<T>(promise: Promise<T>, options: {
|
|
934
|
-
loading: string | React$1.ReactNode;
|
|
935
|
-
success: string | React$1.ReactNode | ((data: T) => string | React$1.ReactNode);
|
|
936
|
-
error: string | React$1.ReactNode | ((error: any) => string | React$1.ReactNode);
|
|
937
|
-
description?: string;
|
|
938
|
-
duration?: number;
|
|
939
|
-
}): (string & {
|
|
940
|
-
unwrap: () => Promise<T>;
|
|
941
|
-
}) | (number & {
|
|
942
|
-
unwrap: () => Promise<T>;
|
|
943
|
-
}) | {
|
|
944
|
-
unwrap: () => Promise<T>;
|
|
945
|
-
};
|
|
946
|
-
custom(jsx: (id: number | string) => React$1.ReactElement, options?: ExternalToast): string | number;
|
|
947
|
-
dismiss(id?: number | string): string | number;
|
|
948
|
-
message(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
949
|
-
};
|
|
950
|
-
declare const useToast: () => {
|
|
951
|
-
toast: {
|
|
952
|
-
(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
953
|
-
success(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
954
|
-
error(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
955
|
-
warning(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
956
|
-
info(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
957
|
-
loading(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
958
|
-
promise<T>(promise: Promise<T>, options: {
|
|
959
|
-
loading: string | React$1.ReactNode;
|
|
960
|
-
success: string | React$1.ReactNode | ((data: T) => string | React$1.ReactNode);
|
|
961
|
-
error: string | React$1.ReactNode | ((error: any) => string | React$1.ReactNode);
|
|
962
|
-
description?: string;
|
|
963
|
-
duration?: number;
|
|
964
|
-
}): (string & {
|
|
965
|
-
unwrap: () => Promise<T>;
|
|
966
|
-
}) | (number & {
|
|
967
|
-
unwrap: () => Promise<T>;
|
|
968
|
-
}) | {
|
|
969
|
-
unwrap: () => Promise<T>;
|
|
970
|
-
};
|
|
971
|
-
custom(jsx: (id: number | string) => React$1.ReactElement, options?: ExternalToast): string | number;
|
|
972
|
-
dismiss(id?: number | string): string | number;
|
|
973
|
-
message(message: string | React$1.ReactNode, options?: ExternalToast): string | number;
|
|
974
|
-
};
|
|
975
|
-
dismiss: (id?: number | string) => string | number;
|
|
976
|
-
};
|
|
977
|
-
|
|
978
|
-
type DataTableColumn<TData> = ColumnDef<TData> & {
|
|
979
|
-
/** Column başlığı */
|
|
980
|
-
header?: string;
|
|
981
|
-
/** Sıralama yapılabilir mi */
|
|
982
|
-
enableSorting?: boolean;
|
|
983
|
-
/** Filtreleme yapılabilir mi */
|
|
984
|
-
enableColumnFilter?: boolean;
|
|
985
|
-
/** Gizlenebilir mi */
|
|
986
|
-
enableHiding?: boolean;
|
|
987
|
-
};
|
|
988
|
-
interface DataTableProps<TData> {
|
|
989
|
-
/** Tablo sütunları */
|
|
990
|
-
columns: DataTableColumn<TData>[];
|
|
991
|
-
/** Tablo verisi */
|
|
992
|
-
data: TData[];
|
|
993
|
-
/** Toplam satır sayısı (server-side pagination için) */
|
|
994
|
-
totalRows?: number;
|
|
995
|
-
/** Loading durumu */
|
|
996
|
-
loading?: boolean;
|
|
997
|
-
/** Sayfa başına satır sayısı seçenekleri */
|
|
998
|
-
pageSizeOptions?: number[];
|
|
999
|
-
/** Varsayılan sayfa boyutu */
|
|
1000
|
-
defaultPageSize?: number;
|
|
1001
|
-
/** Search placeholder */
|
|
1002
|
-
searchPlaceholder?: string;
|
|
1003
|
-
/** Search yapılacak alan (nuqs key) */
|
|
1004
|
-
searchKey?: string;
|
|
1005
|
-
/** Satır seçimi aktif mi */
|
|
1006
|
-
enableRowSelection?: boolean;
|
|
1007
|
-
/** Seçili satırlar */
|
|
1008
|
-
selectedRows?: RowSelectionState;
|
|
1009
|
-
/** Seçili satırlar değiştiğinde callback */
|
|
1010
|
-
onRowSelectionChange?: (selection: RowSelectionState) => void;
|
|
1011
|
-
/** Empty state gösterilecek mi */
|
|
1012
|
-
emptyMessage?: string;
|
|
1013
|
-
/** Table className */
|
|
1014
|
-
className?: string;
|
|
1015
|
-
/** Container className */
|
|
1016
|
-
containerClassName?: string;
|
|
1017
|
-
/** Pagination pozisyonu */
|
|
1018
|
-
paginationPosition?: "top" | "bottom" | "both";
|
|
1019
|
-
/** Manuel pagination (server-side için) */
|
|
1020
|
-
manualPagination?: boolean;
|
|
1021
|
-
/** Manuel sorting (server-side için) */
|
|
1022
|
-
manualSorting?: boolean;
|
|
1023
|
-
/** Manuel filtering (server-side için) */
|
|
1024
|
-
manualFiltering?: boolean;
|
|
1025
|
-
}
|
|
1026
|
-
/**
|
|
1027
|
-
* Server-side destekli, URL state yönetimli DataTable componenti
|
|
1028
|
-
*
|
|
1029
|
-
* @example
|
|
1030
|
-
* ```tsx
|
|
1031
|
-
* const columns: DataTableColumn<User>[] = [
|
|
1032
|
-
* {
|
|
1033
|
-
* accessorKey: "name",
|
|
1034
|
-
* header: "Name",
|
|
1035
|
-
* enableSorting: true,
|
|
1036
|
-
* },
|
|
1037
|
-
* {
|
|
1038
|
-
* accessorKey: "email",
|
|
1039
|
-
* header: "Email",
|
|
1040
|
-
* },
|
|
1041
|
-
* {
|
|
1042
|
-
* id: "actions",
|
|
1043
|
-
* cell: ({ row }) => (
|
|
1044
|
-
* <Button onClick={() => handleEdit(row.original)}>Edit</Button>
|
|
1045
|
-
* ),
|
|
1046
|
-
* },
|
|
1047
|
-
* ];
|
|
1048
|
-
*
|
|
1049
|
-
* <DataTable
|
|
1050
|
-
* columns={columns}
|
|
1051
|
-
* data={users}
|
|
1052
|
-
* totalRows={totalCount}
|
|
1053
|
-
* loading={isLoading}
|
|
1054
|
-
* manualPagination
|
|
1055
|
-
* manualSorting
|
|
1056
|
-
* />
|
|
1057
|
-
* ```
|
|
1058
|
-
*/
|
|
1059
|
-
declare function DataTable<TData>({ columns, data, totalRows, loading, pageSizeOptions, defaultPageSize, searchPlaceholder, searchKey, enableRowSelection, selectedRows, onRowSelectionChange, emptyMessage, className, containerClassName, paginationPosition, manualPagination, manualSorting, manualFiltering, }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* Combines class names using clsx and merges Tailwind classes intelligently
|
|
1063
|
-
* @param inputs - Class values to merge
|
|
1064
|
-
* @returns Merged class string
|
|
1065
|
-
*/
|
|
1066
741
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1067
742
|
|
|
1068
|
-
|
|
743
|
+
declare function useIsMobile(): boolean;
|
|
744
|
+
|
|
745
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, 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, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonGroupVariants, buttonVariants, cn, navigationMenuTriggerStyle, toggleVariants, useFormField, useIsMobile, useSidebar };
|