adminium 1.0.1-patch.1 → 1.0.1-patch.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +553 -77
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -26
- package/dist/index.d.ts +56 -26
- package/dist/index.js +531 -72
- package/dist/index.js.map +1 -1
- package/dist/styles/adminium.css +533 -13
- package/package.json +5 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,20 +1,37 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
3
|
import * as React$1 from 'react';
|
|
3
4
|
import { ReactNode, CSSProperties, HTMLAttributes, RefObject } from 'react';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Popover as Popover$1, Label as Label$1, ScrollArea as ScrollArea$1, Select as Select$1 } from 'radix-ui';
|
|
6
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Popover as Popover$1, Avatar as Avatar$1, Label as Label$1, ScrollArea as ScrollArea$1, Select as Select$1 } from 'radix-ui';
|
|
7
7
|
import { LucideIcon } from 'lucide-react';
|
|
8
8
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
9
9
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
10
10
|
import { RowData, Table, SortingState, ColumnFiltersState, Row, Cell, Column, HeaderGroup, Header } from '@tanstack/react-table';
|
|
11
11
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
12
12
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
13
|
-
import * as
|
|
14
|
-
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
15
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
13
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
16
14
|
import { ClassValue } from 'clsx';
|
|
17
15
|
|
|
16
|
+
declare const alertVariants: (props?: ({
|
|
17
|
+
variant?: "primary" | "mono" | "destructive" | "success" | "secondary" | "info" | "warning" | null | undefined;
|
|
18
|
+
icon?: "primary" | "destructive" | "success" | "info" | "warning" | null | undefined;
|
|
19
|
+
appearance?: "outline" | "solid" | "stroke" | "light" | null | undefined;
|
|
20
|
+
size?: "lg" | "md" | "sm" | null | undefined;
|
|
21
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
23
|
+
close?: boolean;
|
|
24
|
+
onClose?: () => void;
|
|
25
|
+
}
|
|
26
|
+
interface AlertIconProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
27
|
+
}
|
|
28
|
+
declare function Alert({ className, variant, size, icon, appearance, close, onClose, children, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
declare function AlertTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
30
|
+
declare function AlertIcon({ children, className, ...props }: AlertIconProps): react_jsx_runtime.JSX.Element;
|
|
31
|
+
declare function AlertToolbar({ children, className, ...props }: AlertIconProps): react_jsx_runtime.JSX.Element;
|
|
32
|
+
declare function AlertDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
33
|
+
declare function AlertContent({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
34
|
+
|
|
18
35
|
declare const buttonVariants: (props?: ({
|
|
19
36
|
variant?: "primary" | "mono" | "destructive" | "success" | "secondary" | "outline" | "dashed" | "ghost" | "dim" | "foreground" | "inverse" | null | undefined;
|
|
20
37
|
appearance?: "ghost" | "default" | null | undefined;
|
|
@@ -104,6 +121,15 @@ declare function SheetFooter({ className, ...props }: React$1.ComponentProps<'di
|
|
|
104
121
|
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
105
122
|
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
106
123
|
|
|
124
|
+
declare const avatarStatusVariants: (props?: ({
|
|
125
|
+
variant?: "online" | "offline" | "busy" | "away" | null | undefined;
|
|
126
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
127
|
+
declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime.JSX.Element;
|
|
128
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
|
|
129
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
|
|
130
|
+
declare function AvatarIndicator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function AvatarStatus({ className, variant, ...props }: React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof avatarStatusVariants>): react_jsx_runtime.JSX.Element;
|
|
132
|
+
|
|
107
133
|
type AnimationType = "default" | "flip" | "reveal";
|
|
108
134
|
interface AvatarGroupProps {
|
|
109
135
|
children: React$1.ReactNode;
|
|
@@ -407,31 +433,33 @@ declare function DropdownMenuSeparator({ className, ...props }: React$1.Componen
|
|
|
407
433
|
declare function DropdownMenuShortcut({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
408
434
|
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
409
435
|
|
|
410
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
411
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
412
|
-
declare const useFormField: () => {
|
|
413
|
-
invalid: boolean;
|
|
414
|
-
isDirty: boolean;
|
|
415
|
-
isTouched: boolean;
|
|
416
|
-
isValidating: boolean;
|
|
417
|
-
error?: react_hook_form.FieldError;
|
|
418
|
-
id: string;
|
|
419
|
-
name: string;
|
|
420
|
-
formItemId: string;
|
|
421
|
-
formDescriptionId: string;
|
|
422
|
-
formMessageId: string;
|
|
423
|
-
};
|
|
424
|
-
declare function FormItem({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
425
|
-
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof Label$1.Root>): react_jsx_runtime.JSX.Element;
|
|
426
|
-
declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
|
|
427
|
-
declare function FormDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element | null;
|
|
428
|
-
declare function FormMessage({ className, children, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element | null;
|
|
429
|
-
|
|
430
436
|
declare const labelVariants: (props?: ({
|
|
431
437
|
variant?: "primary" | "secondary" | null | undefined;
|
|
432
438
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
433
439
|
declare function Label({ className, variant, ...props }: React$1.ComponentProps<typeof Label$1.Root> & VariantProps<typeof labelVariants>): react_jsx_runtime.JSX.Element;
|
|
434
440
|
|
|
441
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
|
|
442
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
443
|
+
variant?: "legend" | "label";
|
|
444
|
+
}): react_jsx_runtime.JSX.Element;
|
|
445
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
446
|
+
declare const fieldVariants: (props?: ({
|
|
447
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
448
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
449
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
450
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
451
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
452
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
453
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
454
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
455
|
+
children?: React.ReactNode;
|
|
456
|
+
}): react_jsx_runtime.JSX.Element;
|
|
457
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
458
|
+
errors?: Array<{
|
|
459
|
+
message?: string;
|
|
460
|
+
} | undefined>;
|
|
461
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
462
|
+
|
|
435
463
|
declare function ScrollArea({ className, viewportClassName, children, viewportRef, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root> & {
|
|
436
464
|
viewportRef?: React$1.Ref<HTMLDivElement>;
|
|
437
465
|
viewportClassName?: string;
|
|
@@ -451,6 +479,8 @@ type ScrollspyProps = {
|
|
|
451
479
|
};
|
|
452
480
|
declare function Scrollspy({ children, targetRef, onUpdate, className, offset, smooth, dataAttribute, history, }: ScrollspyProps): react_jsx_runtime.JSX.Element;
|
|
453
481
|
|
|
482
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
483
|
+
|
|
454
484
|
declare const Select: ({ indicatorPosition, indicatorVisibility, indicator, ...props }: {
|
|
455
485
|
indicatorPosition?: "left" | "right";
|
|
456
486
|
indicatorVisibility?: boolean;
|
|
@@ -492,4 +522,4 @@ declare function useMounted(): boolean;
|
|
|
492
522
|
*/
|
|
493
523
|
declare function cn(...inputs: ClassValue[]): string;
|
|
494
524
|
|
|
495
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AvatarGroup, AvatarGroupItem, AvatarGroupTooltip, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Button, ButtonArrow, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Checkbox, DataGrid, type DataGridApiFetchParams, type DataGridApiResponse, DataGridColumnHeader, type DataGridColumnHeaderProps, DataGridColumnVisibility, DataGridContainer, type DataGridContextProps, DataGridPagination, type DataGridPaginationProps, type DataGridProps, DataGridProvider, type DataGridRequestParams, DataGridTable, DataGridTableBase, DataGridTableBody, DataGridTableBodyRow, DataGridTableBodyRowCell, DataGridTableBodyRowExpanded, DataGridTableBodyRowSkeleton, DataGridTableBodyRowSkeletonCell, DataGridTableEmpty, DataGridTableHead, DataGridTableHeadRow, DataGridTableHeadRowCell, DataGridTableHeadRowCellResize, DataGridTableLoader, DataGridTableRowSelect, DataGridTableRowSelectAll, DataGridTableRowSpacer, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger,
|
|
525
|
+
export { Alert, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, AlertToolbar, Avatar, AvatarFallback, AvatarGroup, AvatarGroupItem, AvatarGroupTooltip, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Button, ButtonArrow, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Checkbox, DataGrid, type DataGridApiFetchParams, type DataGridApiResponse, DataGridColumnHeader, type DataGridColumnHeaderProps, DataGridColumnVisibility, DataGridContainer, type DataGridContextProps, DataGridPagination, type DataGridPaginationProps, type DataGridProps, DataGridProvider, type DataGridRequestParams, DataGridTable, DataGridTableBase, DataGridTableBody, DataGridTableBodyRow, DataGridTableBodyRowCell, DataGridTableBodyRowExpanded, DataGridTableBodyRowSkeleton, DataGridTableBodyRowSkeletonCell, DataGridTableEmpty, DataGridTableHead, DataGridTableHeadRow, DataGridTableHeadRowCell, DataGridTableHeadRowCellResize, DataGridTableLoader, DataGridTableRowSelect, DataGridTableRowSelectAll, DataGridTableRowSpacer, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputAddon, InputGroup, InputWrapper, Label, Popover, PopoverContent, PopoverTrigger, ScrollArea, ScrollBar, Scrollspy, Select, SelectContent, SelectGroup, SelectIndicator, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, avatarStatusVariants, badgeVariants, buttonVariants, cn, inputAddonVariants, inputVariants, labelVariants, selectTriggerVariants, useCopyToClipboard, useDataGrid, useIsMobile, useMounted };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,37 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
3
|
import * as React$1 from 'react';
|
|
3
4
|
import { ReactNode, CSSProperties, HTMLAttributes, RefObject } from 'react';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Popover as Popover$1, Label as Label$1, ScrollArea as ScrollArea$1, Select as Select$1 } from 'radix-ui';
|
|
6
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Popover as Popover$1, Avatar as Avatar$1, Label as Label$1, ScrollArea as ScrollArea$1, Select as Select$1 } from 'radix-ui';
|
|
7
7
|
import { LucideIcon } from 'lucide-react';
|
|
8
8
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
9
9
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
10
10
|
import { RowData, Table, SortingState, ColumnFiltersState, Row, Cell, Column, HeaderGroup, Header } from '@tanstack/react-table';
|
|
11
11
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
12
12
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
13
|
-
import * as
|
|
14
|
-
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
15
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
13
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
16
14
|
import { ClassValue } from 'clsx';
|
|
17
15
|
|
|
16
|
+
declare const alertVariants: (props?: ({
|
|
17
|
+
variant?: "primary" | "mono" | "destructive" | "success" | "secondary" | "info" | "warning" | null | undefined;
|
|
18
|
+
icon?: "primary" | "destructive" | "success" | "info" | "warning" | null | undefined;
|
|
19
|
+
appearance?: "outline" | "solid" | "stroke" | "light" | null | undefined;
|
|
20
|
+
size?: "lg" | "md" | "sm" | null | undefined;
|
|
21
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
23
|
+
close?: boolean;
|
|
24
|
+
onClose?: () => void;
|
|
25
|
+
}
|
|
26
|
+
interface AlertIconProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
27
|
+
}
|
|
28
|
+
declare function Alert({ className, variant, size, icon, appearance, close, onClose, children, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
declare function AlertTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
30
|
+
declare function AlertIcon({ children, className, ...props }: AlertIconProps): react_jsx_runtime.JSX.Element;
|
|
31
|
+
declare function AlertToolbar({ children, className, ...props }: AlertIconProps): react_jsx_runtime.JSX.Element;
|
|
32
|
+
declare function AlertDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
33
|
+
declare function AlertContent({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
34
|
+
|
|
18
35
|
declare const buttonVariants: (props?: ({
|
|
19
36
|
variant?: "primary" | "mono" | "destructive" | "success" | "secondary" | "outline" | "dashed" | "ghost" | "dim" | "foreground" | "inverse" | null | undefined;
|
|
20
37
|
appearance?: "ghost" | "default" | null | undefined;
|
|
@@ -104,6 +121,15 @@ declare function SheetFooter({ className, ...props }: React$1.ComponentProps<'di
|
|
|
104
121
|
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
105
122
|
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
106
123
|
|
|
124
|
+
declare const avatarStatusVariants: (props?: ({
|
|
125
|
+
variant?: "online" | "offline" | "busy" | "away" | null | undefined;
|
|
126
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
127
|
+
declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime.JSX.Element;
|
|
128
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
|
|
129
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
|
|
130
|
+
declare function AvatarIndicator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function AvatarStatus({ className, variant, ...props }: React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof avatarStatusVariants>): react_jsx_runtime.JSX.Element;
|
|
132
|
+
|
|
107
133
|
type AnimationType = "default" | "flip" | "reveal";
|
|
108
134
|
interface AvatarGroupProps {
|
|
109
135
|
children: React$1.ReactNode;
|
|
@@ -407,31 +433,33 @@ declare function DropdownMenuSeparator({ className, ...props }: React$1.Componen
|
|
|
407
433
|
declare function DropdownMenuShortcut({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
408
434
|
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
409
435
|
|
|
410
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
411
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
412
|
-
declare const useFormField: () => {
|
|
413
|
-
invalid: boolean;
|
|
414
|
-
isDirty: boolean;
|
|
415
|
-
isTouched: boolean;
|
|
416
|
-
isValidating: boolean;
|
|
417
|
-
error?: react_hook_form.FieldError;
|
|
418
|
-
id: string;
|
|
419
|
-
name: string;
|
|
420
|
-
formItemId: string;
|
|
421
|
-
formDescriptionId: string;
|
|
422
|
-
formMessageId: string;
|
|
423
|
-
};
|
|
424
|
-
declare function FormItem({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
425
|
-
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof Label$1.Root>): react_jsx_runtime.JSX.Element;
|
|
426
|
-
declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
|
|
427
|
-
declare function FormDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element | null;
|
|
428
|
-
declare function FormMessage({ className, children, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element | null;
|
|
429
|
-
|
|
430
436
|
declare const labelVariants: (props?: ({
|
|
431
437
|
variant?: "primary" | "secondary" | null | undefined;
|
|
432
438
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
433
439
|
declare function Label({ className, variant, ...props }: React$1.ComponentProps<typeof Label$1.Root> & VariantProps<typeof labelVariants>): react_jsx_runtime.JSX.Element;
|
|
434
440
|
|
|
441
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
|
|
442
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
443
|
+
variant?: "legend" | "label";
|
|
444
|
+
}): react_jsx_runtime.JSX.Element;
|
|
445
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
446
|
+
declare const fieldVariants: (props?: ({
|
|
447
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
448
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
449
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
450
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
451
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
452
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
453
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
454
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
455
|
+
children?: React.ReactNode;
|
|
456
|
+
}): react_jsx_runtime.JSX.Element;
|
|
457
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
458
|
+
errors?: Array<{
|
|
459
|
+
message?: string;
|
|
460
|
+
} | undefined>;
|
|
461
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
462
|
+
|
|
435
463
|
declare function ScrollArea({ className, viewportClassName, children, viewportRef, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root> & {
|
|
436
464
|
viewportRef?: React$1.Ref<HTMLDivElement>;
|
|
437
465
|
viewportClassName?: string;
|
|
@@ -451,6 +479,8 @@ type ScrollspyProps = {
|
|
|
451
479
|
};
|
|
452
480
|
declare function Scrollspy({ children, targetRef, onUpdate, className, offset, smooth, dataAttribute, history, }: ScrollspyProps): react_jsx_runtime.JSX.Element;
|
|
453
481
|
|
|
482
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
483
|
+
|
|
454
484
|
declare const Select: ({ indicatorPosition, indicatorVisibility, indicator, ...props }: {
|
|
455
485
|
indicatorPosition?: "left" | "right";
|
|
456
486
|
indicatorVisibility?: boolean;
|
|
@@ -492,4 +522,4 @@ declare function useMounted(): boolean;
|
|
|
492
522
|
*/
|
|
493
523
|
declare function cn(...inputs: ClassValue[]): string;
|
|
494
524
|
|
|
495
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AvatarGroup, AvatarGroupItem, AvatarGroupTooltip, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Button, ButtonArrow, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Checkbox, DataGrid, type DataGridApiFetchParams, type DataGridApiResponse, DataGridColumnHeader, type DataGridColumnHeaderProps, DataGridColumnVisibility, DataGridContainer, type DataGridContextProps, DataGridPagination, type DataGridPaginationProps, type DataGridProps, DataGridProvider, type DataGridRequestParams, DataGridTable, DataGridTableBase, DataGridTableBody, DataGridTableBodyRow, DataGridTableBodyRowCell, DataGridTableBodyRowExpanded, DataGridTableBodyRowSkeleton, DataGridTableBodyRowSkeletonCell, DataGridTableEmpty, DataGridTableHead, DataGridTableHeadRow, DataGridTableHeadRowCell, DataGridTableHeadRowCellResize, DataGridTableLoader, DataGridTableRowSelect, DataGridTableRowSelectAll, DataGridTableRowSpacer, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger,
|
|
525
|
+
export { Alert, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, AlertToolbar, Avatar, AvatarFallback, AvatarGroup, AvatarGroupItem, AvatarGroupTooltip, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Button, ButtonArrow, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Checkbox, DataGrid, type DataGridApiFetchParams, type DataGridApiResponse, DataGridColumnHeader, type DataGridColumnHeaderProps, DataGridColumnVisibility, DataGridContainer, type DataGridContextProps, DataGridPagination, type DataGridPaginationProps, type DataGridProps, DataGridProvider, type DataGridRequestParams, DataGridTable, DataGridTableBase, DataGridTableBody, DataGridTableBodyRow, DataGridTableBodyRowCell, DataGridTableBodyRowExpanded, DataGridTableBodyRowSkeleton, DataGridTableBodyRowSkeletonCell, DataGridTableEmpty, DataGridTableHead, DataGridTableHeadRow, DataGridTableHeadRowCell, DataGridTableHeadRowCellResize, DataGridTableLoader, DataGridTableRowSelect, DataGridTableRowSelectAll, DataGridTableRowSpacer, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputAddon, InputGroup, InputWrapper, Label, Popover, PopoverContent, PopoverTrigger, ScrollArea, ScrollBar, Scrollspy, Select, SelectContent, SelectGroup, SelectIndicator, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, avatarStatusVariants, badgeVariants, buttonVariants, cn, inputAddonVariants, inputVariants, labelVariants, selectTriggerVariants, useCopyToClipboard, useDataGrid, useIsMobile, useMounted };
|