@hai3/uikit 0.1.0-alpha.1 → 0.1.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5875 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +960 -0
- package/dist/index.d.ts +574 -128
- package/dist/index.js +4604 -966
- package/dist/index.js.map +1 -1
- package/package.json +37 -8
- package/src/styles/applyTheme.ts +8 -1
- package/src/styles/globals.css +44 -2
- package/dist/index.d.mts +0 -514
- package/dist/index.mjs +0 -1524
- package/dist/index.mjs.map +0 -1
- package/src/styles/themeTypes.ts +0 -114
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,67 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
1
3
|
import * as React$1 from 'react';
|
|
2
4
|
import React__default from 'react';
|
|
3
|
-
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
import
|
|
6
|
+
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
7
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
8
|
+
import { ButtonVariant, ButtonSize, TextDirection, IconButtonSize, Theme } from '@hai3/uikit-contracts';
|
|
9
|
+
export { ButtonSize, ButtonVariant, IconButtonSize, Theme } from '@hai3/uikit-contracts';
|
|
10
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
11
|
+
import { DayPicker, DayButton } from 'react-day-picker';
|
|
12
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
13
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
14
|
+
import { OTPInput } from 'input-otp';
|
|
15
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
16
|
+
import * as react_hook_form from 'react-hook-form';
|
|
17
|
+
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
18
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
9
19
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
20
|
+
import { ColumnDef, Table as Table$1, Column } from '@tanstack/react-table';
|
|
21
|
+
export { Column, ColumnDef, ColumnFiltersState, Table as ReactTable, Row, SortingState, VisibilityState, flexRender, getCoreRowModel, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable } from '@tanstack/react-table';
|
|
10
22
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
11
23
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
24
|
+
import { ToasterProps, ExternalToast } from 'sonner';
|
|
12
25
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
26
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
27
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
13
28
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
29
|
+
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
30
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
14
31
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
32
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
33
|
+
import { Drawer as Drawer$1 } from 'vaul';
|
|
34
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
35
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
36
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
37
|
+
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
38
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
15
39
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
16
40
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
41
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
42
|
+
import { Command as Command$1 } from 'cmdk';
|
|
43
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
44
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
45
|
+
export { Area, AreaChart, Bar, BarChart, Brush, CartesianGrid, Cell, Label as ChartLabel, Legend as ChartLegend, Tooltip as ChartTooltip, ComposedChart, Cross, Curve, Customized, Dot, ErrorBar, Funnel, FunnelChart, LabelList, LegendProps, Line, LineChart, Pie, PieChart, PolarAngleAxis, PolarGrid, PolarRadiusAxis, Polygon, Radar, RadarChart, RadialBar, RadialBarChart, Rectangle, ReferenceArea, ReferenceDot, ReferenceLine, ResponsiveContainer, Sankey, Scatter, ScatterChart, Sector, Text, TooltipProps, Treemap, XAxis, YAxis, ZAxis } from 'recharts';
|
|
46
|
+
|
|
47
|
+
declare const alertVariants: (props?: ({
|
|
48
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
49
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
50
|
+
declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
|
|
51
|
+
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
52
|
+
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
53
|
+
|
|
54
|
+
declare function AspectRatio({ ...props }: React$1.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
55
|
+
|
|
56
|
+
declare function Empty({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
57
|
+
declare function EmptyHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
58
|
+
declare const emptyMediaVariants: (props?: ({
|
|
59
|
+
variant?: "default" | "icon" | null | undefined;
|
|
60
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
61
|
+
declare function EmptyMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare function EmptyTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
63
|
+
declare function EmptyDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
64
|
+
declare function EmptyContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
17
65
|
|
|
18
66
|
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
19
67
|
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
@@ -28,16 +76,94 @@ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, V
|
|
|
28
76
|
}
|
|
29
77
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
30
78
|
|
|
79
|
+
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
80
|
+
|
|
81
|
+
declare const buttonGroupVariants: (props?: ({
|
|
82
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
83
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
84
|
+
declare function ButtonGroup({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
85
|
+
declare function ButtonGroupText({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
|
|
86
|
+
asChild?: boolean;
|
|
87
|
+
}): react_jsx_runtime.JSX.Element;
|
|
88
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
89
|
+
|
|
31
90
|
declare const badgeVariants: (props?: ({
|
|
32
|
-
variant?: "default" | "
|
|
91
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
33
92
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
34
93
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
35
94
|
asChild?: boolean;
|
|
36
95
|
}
|
|
37
96
|
declare function Badge({ className, variant, asChild, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
38
97
|
|
|
98
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
99
|
+
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
100
|
+
}): react_jsx_runtime.JSX.Element;
|
|
101
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
102
|
+
|
|
103
|
+
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
104
|
+
|
|
105
|
+
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
106
|
+
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
107
|
+
|
|
108
|
+
declare function NativeSelect({ className, ...props }: React$1.ComponentProps<"select">): react_jsx_runtime.JSX.Element;
|
|
109
|
+
declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">): react_jsx_runtime.JSX.Element;
|
|
110
|
+
declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">): react_jsx_runtime.JSX.Element;
|
|
111
|
+
|
|
112
|
+
declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
113
|
+
containerClassName?: string;
|
|
114
|
+
}): react_jsx_runtime.JSX.Element;
|
|
115
|
+
declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
116
|
+
declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
117
|
+
index: number;
|
|
118
|
+
}): react_jsx_runtime.JSX.Element;
|
|
119
|
+
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
120
|
+
|
|
39
121
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
40
122
|
|
|
123
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
124
|
+
|
|
125
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
|
|
126
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
127
|
+
variant?: "legend" | "label";
|
|
128
|
+
}): react_jsx_runtime.JSX.Element;
|
|
129
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
130
|
+
declare const fieldVariants: (props?: ({
|
|
131
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
132
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
133
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
134
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
135
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
136
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
137
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
138
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
139
|
+
children?: React.ReactNode;
|
|
140
|
+
}): react_jsx_runtime.JSX.Element;
|
|
141
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
142
|
+
errors?: Array<{
|
|
143
|
+
message?: string;
|
|
144
|
+
} | undefined>;
|
|
145
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
146
|
+
|
|
147
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
148
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
149
|
+
declare const useFormField: () => {
|
|
150
|
+
invalid: boolean;
|
|
151
|
+
isDirty: boolean;
|
|
152
|
+
isTouched: boolean;
|
|
153
|
+
isValidating: boolean;
|
|
154
|
+
error?: react_hook_form.FieldError | undefined;
|
|
155
|
+
id: string;
|
|
156
|
+
name: string;
|
|
157
|
+
formItemId: string;
|
|
158
|
+
formDescriptionId: string;
|
|
159
|
+
formMessageId: string;
|
|
160
|
+
};
|
|
161
|
+
declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
162
|
+
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
163
|
+
declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
|
|
164
|
+
declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
165
|
+
declare function FormMessage({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
|
|
166
|
+
|
|
41
167
|
interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
42
168
|
/**
|
|
43
169
|
* Enable auto-resize behavior (adjusts height based on content)
|
|
@@ -63,6 +189,55 @@ declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$
|
|
|
63
189
|
|
|
64
190
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
65
191
|
|
|
192
|
+
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
193
|
+
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
194
|
+
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
195
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
196
|
+
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
197
|
+
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
198
|
+
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
199
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
200
|
+
|
|
201
|
+
interface DataTableProps<TData, TValue> {
|
|
202
|
+
columns: ColumnDef<TData, TValue>[];
|
|
203
|
+
data: TData[];
|
|
204
|
+
/** External table instance - when provided, uses this instead of internal state */
|
|
205
|
+
table?: Table$1<TData>;
|
|
206
|
+
/** Optional filter input component */
|
|
207
|
+
filterInput?: React$1.ReactNode;
|
|
208
|
+
/** Optional toolbar component (rendered between filter and table) */
|
|
209
|
+
toolbar?: React$1.ReactNode;
|
|
210
|
+
/** Show pagination (default: true) */
|
|
211
|
+
showPagination?: boolean;
|
|
212
|
+
/** Initial page size (default: 10) */
|
|
213
|
+
pageSize?: number;
|
|
214
|
+
/** No results message */
|
|
215
|
+
noResultsMessage?: string;
|
|
216
|
+
}
|
|
217
|
+
declare function DataTable<TData, TValue>({ columns, data, table: externalTable, filterInput, toolbar, showPagination, pageSize, noResultsMessage, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
218
|
+
|
|
219
|
+
interface DataTablePaginationProps<TData> {
|
|
220
|
+
table: Table$1<TData>;
|
|
221
|
+
/** Page size options (default: [10, 20, 30, 40, 50]) */
|
|
222
|
+
pageSizeOptions?: number[];
|
|
223
|
+
}
|
|
224
|
+
declare function DataTablePagination<TData>({ table, pageSizeOptions, }: DataTablePaginationProps<TData>): react_jsx_runtime.JSX.Element;
|
|
225
|
+
|
|
226
|
+
interface DataTableColumnHeaderProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
|
|
227
|
+
column: Column<TData, TValue>;
|
|
228
|
+
title: string;
|
|
229
|
+
}
|
|
230
|
+
declare function DataTableColumnHeader<TData, TValue>({ column, title, className, }: DataTableColumnHeaderProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
231
|
+
|
|
232
|
+
interface DataTableViewOptionsProps<TData> {
|
|
233
|
+
table: Table$1<TData>;
|
|
234
|
+
/** Label for the dropdown menu (default: "Toggle columns") */
|
|
235
|
+
label?: string;
|
|
236
|
+
/** Button text (default: "View") */
|
|
237
|
+
buttonText?: string;
|
|
238
|
+
}
|
|
239
|
+
declare function DataTableViewOptions<TData>({ table, label, buttonText, }: DataTableViewOptionsProps<TData>): react_jsx_runtime.JSX.Element;
|
|
240
|
+
|
|
66
241
|
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
67
242
|
/**
|
|
68
243
|
* If true, skeleton inherits text color instead of using bg-muted
|
|
@@ -87,6 +262,52 @@ declare const SliderThumb: React$1.ForwardRefExoticComponent<Omit<SliderPrimitiv
|
|
|
87
262
|
|
|
88
263
|
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
89
264
|
|
|
265
|
+
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
266
|
+
|
|
267
|
+
type ToastPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center';
|
|
268
|
+
interface UseToastOptions {
|
|
269
|
+
defaultDuration?: number;
|
|
270
|
+
defaultPosition?: ToastPosition;
|
|
271
|
+
}
|
|
272
|
+
type ToastOptions = ExternalToast;
|
|
273
|
+
interface ToastPromiseOptions<T> {
|
|
274
|
+
loading: string;
|
|
275
|
+
success: string | ((data: T) => string);
|
|
276
|
+
error: string | ((error: Error) => string);
|
|
277
|
+
}
|
|
278
|
+
type PromiseResult<T> = (string | number) & {
|
|
279
|
+
unwrap: () => Promise<T>;
|
|
280
|
+
};
|
|
281
|
+
interface UseToastReturn {
|
|
282
|
+
toast: (message: string, options?: ToastOptions) => string | number;
|
|
283
|
+
success: (message: string, options?: ToastOptions) => string | number;
|
|
284
|
+
error: (message: string, options?: ToastOptions) => string | number;
|
|
285
|
+
warning: (message: string, options?: ToastOptions) => string | number;
|
|
286
|
+
info: (message: string, options?: ToastOptions) => string | number;
|
|
287
|
+
loading: (message: string, options?: ToastOptions) => string | number;
|
|
288
|
+
promise: <T>(promise: Promise<T> | (() => Promise<T>), options: ToastPromiseOptions<T>) => PromiseResult<T>;
|
|
289
|
+
dismiss: (toastId?: string | number) => void;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Hook for displaying toast notifications using Sonner.
|
|
293
|
+
* Provides typed methods for common toast variants with optional default configuration.
|
|
294
|
+
*
|
|
295
|
+
* @param options - Optional default configuration for all toasts from this hook instance
|
|
296
|
+
* @returns Object with methods: toast, success, error, warning, info, loading, promise, dismiss
|
|
297
|
+
*
|
|
298
|
+
* @example
|
|
299
|
+
* const { success, error, promise } = useToast();
|
|
300
|
+
*
|
|
301
|
+
* success("Saved successfully!");
|
|
302
|
+
* error("Something went wrong");
|
|
303
|
+
* promise(saveData(), {
|
|
304
|
+
* loading: "Saving...",
|
|
305
|
+
* success: "Saved!",
|
|
306
|
+
* error: "Failed to save"
|
|
307
|
+
* });
|
|
308
|
+
*/
|
|
309
|
+
declare function useToast(options?: UseToastOptions): UseToastReturn;
|
|
310
|
+
|
|
90
311
|
declare const TooltipProvider: {
|
|
91
312
|
({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
92
313
|
displayName: string | undefined;
|
|
@@ -98,6 +319,15 @@ declare const Tooltip: {
|
|
|
98
319
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
99
320
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
100
321
|
|
|
322
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
323
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
324
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
325
|
+
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
326
|
+
|
|
327
|
+
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
328
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
329
|
+
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
330
|
+
|
|
101
331
|
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
102
332
|
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
103
333
|
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -129,13 +359,65 @@ declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMe
|
|
|
129
359
|
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
130
360
|
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
131
361
|
|
|
362
|
+
declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
363
|
+
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
364
|
+
declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
365
|
+
declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
366
|
+
asChild?: boolean;
|
|
367
|
+
}): react_jsx_runtime.JSX.Element;
|
|
368
|
+
declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
369
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
370
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
371
|
+
|
|
372
|
+
declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
373
|
+
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
|
|
374
|
+
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
375
|
+
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
376
|
+
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
377
|
+
declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
378
|
+
declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
379
|
+
declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
|
|
380
|
+
inset?: boolean;
|
|
381
|
+
variant?: "default" | "destructive";
|
|
382
|
+
}): react_jsx_runtime.JSX.Element;
|
|
383
|
+
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
384
|
+
declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
385
|
+
declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
|
|
386
|
+
inset?: boolean;
|
|
387
|
+
}): react_jsx_runtime.JSX.Element;
|
|
388
|
+
declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
389
|
+
declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
390
|
+
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
391
|
+
declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
|
|
392
|
+
inset?: boolean;
|
|
393
|
+
}): react_jsx_runtime.JSX.Element;
|
|
394
|
+
declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
395
|
+
|
|
396
|
+
declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
397
|
+
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
398
|
+
declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
399
|
+
type PaginationLinkProps = {
|
|
400
|
+
isActive?: boolean;
|
|
401
|
+
size?: ButtonSize;
|
|
402
|
+
asChild?: boolean;
|
|
403
|
+
} & React$1.ComponentProps<"a">;
|
|
404
|
+
declare function PaginationLink({ className, isActive, size, asChild, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
405
|
+
declare function PaginationPrevious({ className, children, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
406
|
+
declare function PaginationNext({ className, children, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
407
|
+
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
408
|
+
|
|
409
|
+
declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
410
|
+
declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
|
|
411
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
412
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
413
|
+
|
|
132
414
|
declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
|
|
133
415
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
134
416
|
declare const SheetClose: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
135
417
|
declare const SheetPortal: React$1.FC<SheetPrimitive.DialogPortalProps>;
|
|
136
418
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
137
419
|
declare const sheetVariants: (props?: ({
|
|
138
|
-
side?: "
|
|
420
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
139
421
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
140
422
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
141
423
|
}
|
|
@@ -168,6 +450,141 @@ declare const DialogFooter: {
|
|
|
168
450
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
169
451
|
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
170
452
|
|
|
453
|
+
declare const AlertDialog: {
|
|
454
|
+
({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
455
|
+
displayName: string;
|
|
456
|
+
};
|
|
457
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
458
|
+
declare const AlertDialogPortal: {
|
|
459
|
+
({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
460
|
+
displayName: string;
|
|
461
|
+
};
|
|
462
|
+
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
463
|
+
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
464
|
+
declare const AlertDialogHeader: {
|
|
465
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
466
|
+
displayName: string;
|
|
467
|
+
};
|
|
468
|
+
declare const AlertDialogFooter: {
|
|
469
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
470
|
+
displayName: string;
|
|
471
|
+
};
|
|
472
|
+
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
473
|
+
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
474
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
475
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
476
|
+
|
|
477
|
+
declare const Drawer: {
|
|
478
|
+
({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
479
|
+
displayName: string;
|
|
480
|
+
};
|
|
481
|
+
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
482
|
+
declare const DrawerPortal: {
|
|
483
|
+
({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
484
|
+
displayName: string;
|
|
485
|
+
};
|
|
486
|
+
declare const DrawerClose: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
487
|
+
declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
488
|
+
declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
489
|
+
declare const DrawerHeader: {
|
|
490
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
491
|
+
displayName: string;
|
|
492
|
+
};
|
|
493
|
+
declare const DrawerFooter: {
|
|
494
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
495
|
+
displayName: string;
|
|
496
|
+
};
|
|
497
|
+
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
498
|
+
declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
499
|
+
|
|
500
|
+
declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
|
|
501
|
+
declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
|
|
502
|
+
declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
503
|
+
withHandle?: boolean;
|
|
504
|
+
}): react_jsx_runtime.JSX.Element;
|
|
505
|
+
|
|
506
|
+
declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
507
|
+
declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
508
|
+
|
|
509
|
+
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
510
|
+
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
511
|
+
declare const itemVariants: (props?: ({
|
|
512
|
+
variant?: "default" | "muted" | "outline" | null | undefined;
|
|
513
|
+
size?: "default" | "sm" | null | undefined;
|
|
514
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
515
|
+
declare function Item({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
516
|
+
asChild?: boolean;
|
|
517
|
+
}): react_jsx_runtime.JSX.Element;
|
|
518
|
+
declare const itemMediaVariants: (props?: ({
|
|
519
|
+
variant?: "default" | "image" | "icon" | null | undefined;
|
|
520
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
521
|
+
declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
522
|
+
declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
523
|
+
declare function ItemTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
524
|
+
declare function ItemDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
525
|
+
declare function ItemActions({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
526
|
+
declare function ItemHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
527
|
+
declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
528
|
+
|
|
529
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(Omit<AccordionPrimitive.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & React$1.RefAttributes<HTMLDivElement>>;
|
|
530
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
531
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
532
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
533
|
+
|
|
534
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
535
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
536
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
537
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
538
|
+
type CarouselProps = {
|
|
539
|
+
opts?: CarouselOptions;
|
|
540
|
+
plugins?: CarouselPlugin;
|
|
541
|
+
orientation?: "horizontal" | "vertical";
|
|
542
|
+
setApi?: (api: CarouselApi) => void;
|
|
543
|
+
};
|
|
544
|
+
declare const Carousel: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & CarouselProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
545
|
+
declare const CarouselContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
546
|
+
declare const CarouselItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
547
|
+
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
548
|
+
declare const CarouselNext: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
549
|
+
|
|
550
|
+
declare const Collapsible: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
551
|
+
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
552
|
+
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
553
|
+
|
|
554
|
+
interface ChartContainerProps {
|
|
555
|
+
className?: string;
|
|
556
|
+
children: React$1.ReactNode;
|
|
557
|
+
width?: string | number;
|
|
558
|
+
height?: string | number;
|
|
559
|
+
minWidth?: string | number;
|
|
560
|
+
minHeight?: string | number;
|
|
561
|
+
maxHeight?: string | number;
|
|
562
|
+
debounce?: number;
|
|
563
|
+
aspect?: number;
|
|
564
|
+
}
|
|
565
|
+
declare function ChartContainer({ className, children, width, height, }: ChartContainerProps): react_jsx_runtime.JSX.Element;
|
|
566
|
+
interface TooltipPayloadItem {
|
|
567
|
+
color?: string;
|
|
568
|
+
name?: string;
|
|
569
|
+
value?: string | number;
|
|
570
|
+
}
|
|
571
|
+
interface LegendPayloadItem {
|
|
572
|
+
color?: string;
|
|
573
|
+
value?: string;
|
|
574
|
+
}
|
|
575
|
+
interface ChartTooltipContentProps {
|
|
576
|
+
className?: string;
|
|
577
|
+
label?: string;
|
|
578
|
+
payload?: TooltipPayloadItem[];
|
|
579
|
+
active?: boolean;
|
|
580
|
+
}
|
|
581
|
+
declare function ChartTooltipContent({ className, label, payload, active, }: ChartTooltipContentProps): react_jsx_runtime.JSX.Element | null;
|
|
582
|
+
interface ChartLegendContentProps {
|
|
583
|
+
className?: string;
|
|
584
|
+
payload?: LegendPayloadItem[];
|
|
585
|
+
}
|
|
586
|
+
declare function ChartLegendContent({ className, payload, }: ChartLegendContentProps): react_jsx_runtime.JSX.Element | null;
|
|
587
|
+
|
|
171
588
|
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
172
589
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
173
590
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
@@ -188,21 +605,21 @@ declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuP
|
|
|
188
605
|
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
189
606
|
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
190
607
|
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
191
|
-
inset?: boolean;
|
|
608
|
+
inset?: boolean | undefined;
|
|
192
609
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
193
610
|
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
194
|
-
container?: HTMLElement | null;
|
|
611
|
+
container?: HTMLElement | null | undefined;
|
|
195
612
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
196
613
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
197
|
-
container?: HTMLElement | null;
|
|
614
|
+
container?: HTMLElement | null | undefined;
|
|
198
615
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
199
616
|
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
200
|
-
inset?: boolean;
|
|
617
|
+
inset?: boolean | undefined;
|
|
201
618
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
202
619
|
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
203
620
|
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
204
621
|
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
205
|
-
inset?: boolean;
|
|
622
|
+
inset?: boolean | undefined;
|
|
206
623
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
207
624
|
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
208
625
|
declare const DropdownMenuShortcut: {
|
|
@@ -210,6 +627,69 @@ declare const DropdownMenuShortcut: {
|
|
|
210
627
|
displayName: string;
|
|
211
628
|
};
|
|
212
629
|
|
|
630
|
+
declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
631
|
+
declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
632
|
+
declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
633
|
+
declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
634
|
+
declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
635
|
+
declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
636
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
637
|
+
inset?: boolean;
|
|
638
|
+
}): react_jsx_runtime.JSX.Element;
|
|
639
|
+
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
640
|
+
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
641
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
642
|
+
inset?: boolean;
|
|
643
|
+
variant?: "default" | "destructive";
|
|
644
|
+
}): react_jsx_runtime.JSX.Element;
|
|
645
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
646
|
+
declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
647
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
648
|
+
inset?: boolean;
|
|
649
|
+
}): react_jsx_runtime.JSX.Element;
|
|
650
|
+
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
651
|
+
declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
652
|
+
|
|
653
|
+
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
654
|
+
declare function CommandDialog({ title, description, children, className, ...props }: React$1.ComponentProps<typeof Dialog> & {
|
|
655
|
+
title?: string;
|
|
656
|
+
description?: string;
|
|
657
|
+
className?: string;
|
|
658
|
+
}): react_jsx_runtime.JSX.Element;
|
|
659
|
+
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
660
|
+
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
661
|
+
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
662
|
+
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
663
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
664
|
+
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
665
|
+
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
666
|
+
|
|
667
|
+
declare const toggleVariants: (props?: ({
|
|
668
|
+
variant?: "default" | "outline" | null | undefined;
|
|
669
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
670
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
671
|
+
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
672
|
+
|
|
673
|
+
declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants> & {
|
|
674
|
+
spacing?: number;
|
|
675
|
+
}): react_jsx_runtime.JSX.Element;
|
|
676
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
677
|
+
|
|
678
|
+
declare function Kbd({ className, ...props }: React$1.ComponentProps<'kbd'>): react_jsx_runtime.JSX.Element;
|
|
679
|
+
declare function KbdGroup({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
680
|
+
|
|
681
|
+
declare function TypographyH1({ className, ...props }: React$1.ComponentProps<'h1'>): react_jsx_runtime.JSX.Element;
|
|
682
|
+
declare function TypographyH2({ className, ...props }: React$1.ComponentProps<'h2'>): react_jsx_runtime.JSX.Element;
|
|
683
|
+
declare function TypographyH3({ className, ...props }: React$1.ComponentProps<'h3'>): react_jsx_runtime.JSX.Element;
|
|
684
|
+
declare function TypographyH4({ className, ...props }: React$1.ComponentProps<'h4'>): react_jsx_runtime.JSX.Element;
|
|
685
|
+
declare function TypographyP({ className, ...props }: React$1.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
|
|
686
|
+
declare function TypographyBlockquote({ className, ...props }: React$1.ComponentProps<'blockquote'>): react_jsx_runtime.JSX.Element;
|
|
687
|
+
declare function TypographyList({ className, ...props }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
|
|
688
|
+
declare function TypographyInlineCode({ className, ...props }: React$1.ComponentProps<'code'>): react_jsx_runtime.JSX.Element;
|
|
689
|
+
declare function TypographyLarge({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
690
|
+
declare function TypographySmall({ className, ...props }: React$1.ComponentProps<'small'>): react_jsx_runtime.JSX.Element;
|
|
691
|
+
declare function TypographyMuted({ className, ...props }: React$1.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
|
|
692
|
+
|
|
213
693
|
/**
|
|
214
694
|
* IconButton component for HAI3 UI-Core
|
|
215
695
|
* Provides a consistent icon-only button across all screens
|
|
@@ -234,16 +714,57 @@ interface DropdownButtonProps extends React__default.ButtonHTMLAttributes<HTMLBu
|
|
|
234
714
|
}
|
|
235
715
|
declare const DropdownButton: React__default.ForwardRefExoticComponent<DropdownButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
236
716
|
|
|
717
|
+
declare const InputGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
718
|
+
declare const InputGroupAddon: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
719
|
+
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
720
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
721
|
+
declare const InputGroupButton: React$1.ForwardRefExoticComponent<Omit<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "size"> & VariantProps<(props?: ({
|
|
722
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
723
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
724
|
+
declare const InputGroupText: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
725
|
+
declare const InputGroupInput: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
726
|
+
declare const InputGroupTextarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
727
|
+
|
|
728
|
+
interface DatePickerProps {
|
|
729
|
+
children: React$1.ReactNode;
|
|
730
|
+
date?: Date;
|
|
731
|
+
onDateChange?: (date: Date | undefined) => void;
|
|
732
|
+
defaultDate?: Date;
|
|
733
|
+
open?: boolean;
|
|
734
|
+
onOpenChange?: (open: boolean) => void;
|
|
735
|
+
defaultOpen?: boolean;
|
|
736
|
+
formatDate?: (date: Date) => string;
|
|
737
|
+
}
|
|
738
|
+
declare function DatePicker({ children, date: controlledDate, onDateChange, defaultDate, open: controlledOpen, onOpenChange, defaultOpen, formatDate: formatDateProp, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
739
|
+
interface DatePickerTriggerProps extends Omit<React$1.ComponentProps<typeof Button>, "children"> {
|
|
740
|
+
placeholder?: string;
|
|
741
|
+
icon?: "calendar" | "chevron";
|
|
742
|
+
children?: React$1.ReactNode;
|
|
743
|
+
}
|
|
744
|
+
declare function DatePickerTrigger({ className, placeholder, icon, children, ...props }: DatePickerTriggerProps): react_jsx_runtime.JSX.Element;
|
|
745
|
+
interface DatePickerContentProps extends Omit<React$1.ComponentProps<typeof PopoverContent>, "children"> {
|
|
746
|
+
calendarProps?: Omit<React$1.ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect">;
|
|
747
|
+
children?: React$1.ReactNode;
|
|
748
|
+
}
|
|
749
|
+
declare function DatePickerContent({ className, calendarProps, children, align, ...props }: DatePickerContentProps): react_jsx_runtime.JSX.Element;
|
|
750
|
+
interface DatePickerInputProps {
|
|
751
|
+
className?: string;
|
|
752
|
+
inputProps?: Omit<React$1.ComponentProps<typeof Input>, "value" | "onChange">;
|
|
753
|
+
placeholder?: string;
|
|
754
|
+
id?: string;
|
|
755
|
+
}
|
|
756
|
+
declare function DatePickerInput({ className, inputProps, placeholder, id, }: DatePickerInputProps): react_jsx_runtime.JSX.Element;
|
|
757
|
+
|
|
237
758
|
declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLElement> & React$1.HTMLAttributes<HTMLElement> & {
|
|
238
|
-
collapsed?: boolean;
|
|
759
|
+
collapsed?: boolean | undefined;
|
|
239
760
|
}, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
240
761
|
declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
241
762
|
declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
242
763
|
declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
243
764
|
declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
244
|
-
asChild?: boolean;
|
|
245
|
-
isActive?: boolean;
|
|
246
|
-
tooltip?: string;
|
|
765
|
+
asChild?: boolean | undefined;
|
|
766
|
+
isActive?: boolean | undefined;
|
|
767
|
+
tooltip?: string | undefined;
|
|
247
768
|
} & VariantProps<(props?: ({
|
|
248
769
|
variant?: "default" | "outline" | null | undefined;
|
|
249
770
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -383,118 +904,43 @@ declare const CloseIcon: React__default.FC<{
|
|
|
383
904
|
}>;
|
|
384
905
|
|
|
385
906
|
/**
|
|
386
|
-
*
|
|
907
|
+
* Calendar Icon
|
|
908
|
+
* Used in date picker popover triggers
|
|
909
|
+
* Replaces lucide-react CalendarIcon for tree-shaking
|
|
387
910
|
*/
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
};
|
|
422
|
-
assistant: {
|
|
423
|
-
background: string;
|
|
424
|
-
foreground: string;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
input: {
|
|
428
|
-
background: string;
|
|
429
|
-
foreground: string;
|
|
430
|
-
border: string;
|
|
431
|
-
};
|
|
432
|
-
codeBlock: {
|
|
433
|
-
background: string;
|
|
434
|
-
foreground: string;
|
|
435
|
-
border: string;
|
|
436
|
-
headerBackground: string;
|
|
437
|
-
};
|
|
438
|
-
};
|
|
439
|
-
};
|
|
440
|
-
spacing: {
|
|
441
|
-
xs: string;
|
|
442
|
-
sm: string;
|
|
443
|
-
md: string;
|
|
444
|
-
lg: string;
|
|
445
|
-
xl: string;
|
|
446
|
-
'2xl': string;
|
|
447
|
-
'3xl': string;
|
|
448
|
-
};
|
|
449
|
-
typography: {
|
|
450
|
-
fontFamily: {
|
|
451
|
-
sans: string[];
|
|
452
|
-
mono: string[];
|
|
453
|
-
};
|
|
454
|
-
fontSize: {
|
|
455
|
-
xs: string;
|
|
456
|
-
sm: string;
|
|
457
|
-
base: string;
|
|
458
|
-
lg: string;
|
|
459
|
-
xl: string;
|
|
460
|
-
'2xl': string;
|
|
461
|
-
'3xl': string;
|
|
462
|
-
'4xl': string;
|
|
463
|
-
'5xl': string;
|
|
464
|
-
};
|
|
465
|
-
fontWeight: {
|
|
466
|
-
normal: string;
|
|
467
|
-
medium: string;
|
|
468
|
-
semibold: string;
|
|
469
|
-
bold: string;
|
|
470
|
-
};
|
|
471
|
-
lineHeight: {
|
|
472
|
-
tight: string;
|
|
473
|
-
normal: string;
|
|
474
|
-
relaxed: string;
|
|
475
|
-
};
|
|
476
|
-
};
|
|
477
|
-
borderRadius: {
|
|
478
|
-
none: string;
|
|
479
|
-
sm: string;
|
|
480
|
-
md: string;
|
|
481
|
-
lg: string;
|
|
482
|
-
xl: string;
|
|
483
|
-
full: string;
|
|
484
|
-
};
|
|
485
|
-
shadows: {
|
|
486
|
-
sm: string;
|
|
487
|
-
md: string;
|
|
488
|
-
lg: string;
|
|
489
|
-
xl: string;
|
|
490
|
-
};
|
|
491
|
-
transitions: {
|
|
492
|
-
fast: string;
|
|
493
|
-
base: string;
|
|
494
|
-
slow: string;
|
|
495
|
-
slower: string;
|
|
496
|
-
};
|
|
497
|
-
}
|
|
911
|
+
declare const CalendarIcon: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Chevron Down Icon
|
|
915
|
+
* Used in native select dropdowns, accordion, navigation-menu, select
|
|
916
|
+
* Replaces lucide-react ChevronDownIcon for tree-shaking
|
|
917
|
+
*/
|
|
918
|
+
declare const ChevronDownIcon: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Chevron Left Icon
|
|
922
|
+
* Used in pagination previous button
|
|
923
|
+
* Replaces lucide-react ChevronLeftIcon for tree-shaking
|
|
924
|
+
*/
|
|
925
|
+
declare const ChevronLeftIcon: React__default.FC<{
|
|
926
|
+
className?: string;
|
|
927
|
+
}>;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* Chevron Right Icon
|
|
931
|
+
* Used in menu sub-triggers (context-menu, menubar, dropdown-menu)
|
|
932
|
+
* Replaces lucide-react ChevronRightIcon for tree-shaking
|
|
933
|
+
*/
|
|
934
|
+
declare const ChevronRightIcon: React__default.FC<{
|
|
935
|
+
className?: string;
|
|
936
|
+
}>;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Chevron Up Icon
|
|
940
|
+
* Used in select scroll buttons
|
|
941
|
+
* Replaces lucide-react ChevronUpIcon for tree-shaking
|
|
942
|
+
*/
|
|
943
|
+
declare const ChevronUpIcon: React__default.FC<React__default.SVGProps<SVGSVGElement>>;
|
|
498
944
|
|
|
499
945
|
/**
|
|
500
946
|
* Theme application utility
|
|
@@ -511,4 +957,4 @@ interface Theme {
|
|
|
511
957
|
*/
|
|
512
958
|
declare const applyTheme: (theme: Theme, themeName?: string) => void;
|
|
513
959
|
|
|
514
|
-
export { Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Button, type ButtonProps, CLOSE_ICON_ID, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChatInput, type ChatInputProps, type ChatThread, CloseIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownButton, type DropdownButtonProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Header, type HeaderProps, IconButton, type IconButtonProps, Input, MENU_ICON_ID, MenuIcon, MessageBubble, type MessageBubbleProps, MessageType, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Progress, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarHeader, type SidebarHeaderProps, SidebarMenu, SidebarMenuButton, SidebarMenuIcon, SidebarMenuItem, SidebarMenuLabel, Skeleton, Slider, SliderRange, SliderThumb, SliderTrack, Spinner, type SpinnerProps, Switch,
|
|
960
|
+
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, CLOSE_ICON_ID, Calendar, CalendarDayButton, CalendarIcon, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegendContent, ChartTooltipContent, ChatInput, type ChatInputProps, type ChatThread, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, 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, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, DataTablePagination, type DataTablePaginationProps, type DataTableProps, DataTableViewOptions, type DataTableViewOptionsProps, DatePicker, DatePickerContent, DatePickerInput, DatePickerTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, type DropdownButtonProps, 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, Header, type HeaderProps, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, type IconButtonProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, MENU_ICON_ID, MenuIcon, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MessageBubble, type MessageBubbleProps, MessageType, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, 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, SidebarHeader, type SidebarHeaderProps, SidebarMenu, SidebarMenuButton, SidebarMenuIcon, SidebarMenuItem, SidebarMenuLabel, Skeleton, Slider, SliderRange, SliderThumb, SliderTrack, Spinner, type SpinnerProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThreadList, type ThreadListProps, type ToastOptions, type ToastPromiseOptions, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TypographyBlockquote, TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyInlineCode, TypographyLarge, TypographyList, TypographyMuted, TypographyP, TypographySmall, type UseToastOptions, type UseToastReturn, UserInfo, type UserInfoProps, alertVariants, applyTheme, badgeVariants, buttonGroupVariants, emptyMediaVariants, toggleVariants, useFormField, useToast };
|