@eqtylab/equality 1.9.1 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alert.module.module.css.module.css +19 -45
- package/dist/index.cjs +166 -136
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -24
- package/dist/index.d.ts +30 -24
- package/dist/index.js +164 -132
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -27,11 +27,15 @@ import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
|
27
27
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
28
28
|
import { Theme as Theme$1 } from './theme/lib/utils.cjs';
|
|
29
29
|
|
|
30
|
-
declare const
|
|
31
|
-
variant?: "
|
|
32
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
declare const alertVariants: (props?: ({
|
|
31
|
+
variant?: "primary" | "neutral" | "success" | "warning" | "danger" | null | undefined;
|
|
32
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
33
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
34
|
+
title: string;
|
|
35
|
+
description?: string | React$1.ReactNode;
|
|
36
|
+
icon?: React$1.ReactElement | string | null;
|
|
37
|
+
}
|
|
38
|
+
declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
35
39
|
|
|
36
40
|
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
37
41
|
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -51,14 +55,14 @@ declare const AlertDialogFooter: {
|
|
|
51
55
|
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
52
56
|
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
53
57
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
54
|
-
variant?: "
|
|
58
|
+
variant?: "link" | "navigation" | "primary" | "danger" | "secondary" | "tertiary" | null | undefined;
|
|
55
59
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
56
60
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
57
61
|
prefix?: React$1.ReactNode;
|
|
58
62
|
suffix?: React$1.ReactNode;
|
|
59
63
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
60
64
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
61
|
-
variant?: "
|
|
65
|
+
variant?: "link" | "navigation" | "primary" | "danger" | "secondary" | "tertiary" | null | undefined;
|
|
62
66
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
63
67
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
64
68
|
prefix?: React$1.ReactNode;
|
|
@@ -74,7 +78,7 @@ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitiv
|
|
|
74
78
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
75
79
|
|
|
76
80
|
declare const badgeVariants: (props?: ({
|
|
77
|
-
variant?: "
|
|
81
|
+
variant?: "primary" | "neutral" | "success" | "warning" | "danger" | "secondary" | null | undefined;
|
|
78
82
|
size?: "sm" | "md" | null | undefined;
|
|
79
83
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
80
84
|
type BadgeDisplayMode = 'both' | 'text-only' | 'icon-only';
|
|
@@ -202,7 +206,7 @@ declare const BgGradient: ({ theme, placement, }: {
|
|
|
202
206
|
}) => react_jsx_runtime.JSX.Element;
|
|
203
207
|
|
|
204
208
|
declare const buttonVariants: (props?: ({
|
|
205
|
-
variant?: "
|
|
209
|
+
variant?: "link" | "navigation" | "primary" | "danger" | "secondary" | "tertiary" | null | undefined;
|
|
206
210
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
207
211
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
208
212
|
type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
|
|
@@ -221,7 +225,7 @@ type ButtonProps = VariantProps<typeof buttonVariants> & ((ButtonBaseProps & {
|
|
|
221
225
|
rel?: string;
|
|
222
226
|
download?: string | boolean;
|
|
223
227
|
}));
|
|
224
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<
|
|
228
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
225
229
|
|
|
226
230
|
type ResourceType = 'agent' | 'benchmark' | 'benchmark-result' | 'binary' | 'certificate' | 'code' | 'compute' | 'credential' | 'database' | 'dataset' | 'document' | 'media' | 'skill' | 'guardrail' | 'model' | 'prompt' | 'system-prompt' | 'reasoning' | 'config' | 'token' | 'tool' | 'unknown';
|
|
227
231
|
type ResourceDisplayMode = BadgeDisplayMode;
|
|
@@ -333,7 +337,7 @@ interface DateRangePickerProps {
|
|
|
333
337
|
declare const DateRangePicker: ({ dateRange, onSelect, className }: DateRangePickerProps) => react_jsx_runtime.JSX.Element;
|
|
334
338
|
|
|
335
339
|
declare const displayFieldVariants: (props?: ({
|
|
336
|
-
variant?: "
|
|
340
|
+
variant?: "neutral" | "success" | "neutralCheck" | "failure" | null | undefined;
|
|
337
341
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
338
342
|
interface DisplayFieldProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'slot'>, VariantProps<typeof displayFieldVariants> {
|
|
339
343
|
variant?: 'neutral' | 'success' | 'neutralCheck' | 'failure';
|
|
@@ -402,15 +406,24 @@ declare const DropdownMenuShortcut: {
|
|
|
402
406
|
displayName: string;
|
|
403
407
|
};
|
|
404
408
|
|
|
409
|
+
declare const ELEVATION: {
|
|
410
|
+
SUNKEN: string;
|
|
411
|
+
BASE: string;
|
|
412
|
+
RAISED: string;
|
|
413
|
+
OVERLAY: string;
|
|
414
|
+
};
|
|
415
|
+
type Elevation = (typeof ELEVATION)[keyof typeof ELEVATION];
|
|
416
|
+
|
|
405
417
|
interface EmptyTableStateProps {
|
|
406
418
|
icon: React.ReactElement | string;
|
|
407
419
|
title: string;
|
|
408
420
|
description?: string;
|
|
421
|
+
elevation?: Elevation;
|
|
409
422
|
showClearButton?: boolean;
|
|
410
423
|
onClear?: () => void;
|
|
411
424
|
className?: string;
|
|
412
425
|
}
|
|
413
|
-
declare const EmptyTableState: ({ icon, title, description, showClearButton, onClear, className, }: EmptyTableStateProps) => react_jsx_runtime.JSX.Element;
|
|
426
|
+
declare const EmptyTableState: ({ icon, title, description, elevation, showClearButton, onClear, className, }: EmptyTableStateProps) => react_jsx_runtime.JSX.Element;
|
|
414
427
|
|
|
415
428
|
interface FilterOption$1 {
|
|
416
429
|
value: string;
|
|
@@ -449,7 +462,7 @@ declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttribu
|
|
|
449
462
|
|
|
450
463
|
declare const iconButtonVariants: (props?: ({
|
|
451
464
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
452
|
-
variant?: "
|
|
465
|
+
variant?: "primary" | "danger" | null | undefined;
|
|
453
466
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
454
467
|
interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'name'>, VariantProps<typeof iconButtonVariants> {
|
|
455
468
|
name: keyof typeof LucideIcons;
|
|
@@ -460,14 +473,6 @@ interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
460
473
|
}
|
|
461
474
|
declare function IconButton({ className, size, variant, name, label, href, target, download, disabled, ...props }: IconButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
462
475
|
|
|
463
|
-
declare const ELEVATION: {
|
|
464
|
-
SUNKEN: string;
|
|
465
|
-
BASE: string;
|
|
466
|
-
RAISED: string;
|
|
467
|
-
OVERLAY: string;
|
|
468
|
-
};
|
|
469
|
-
type Elevation = (typeof ELEVATION)[keyof typeof ELEVATION];
|
|
470
|
-
|
|
471
476
|
interface InfoCardProps {
|
|
472
477
|
label: string;
|
|
473
478
|
description: string | number | React$1.ReactNode;
|
|
@@ -762,6 +767,7 @@ interface TabsProps {
|
|
|
762
767
|
label: string;
|
|
763
768
|
value: string;
|
|
764
769
|
icon?: React.ReactElement | string;
|
|
770
|
+
suffix?: React.ReactNode;
|
|
765
771
|
content: React.ReactNode;
|
|
766
772
|
}[];
|
|
767
773
|
className?: string;
|
|
@@ -848,8 +854,8 @@ interface TruncatedDescriptionProps {
|
|
|
848
854
|
declare const TruncatedDescription: ({ className, description, maxLength, }: TruncatedDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
849
855
|
|
|
850
856
|
declare const iconVariants: (props?: ({
|
|
851
|
-
size?: "
|
|
852
|
-
background?: "
|
|
857
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
858
|
+
background?: "square" | "circle" | "transparent" | null | undefined;
|
|
853
859
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
854
860
|
declare const iconElevationVariants: (props?: ({
|
|
855
861
|
elevation?: string | number | null | undefined;
|
|
@@ -887,4 +893,4 @@ declare const ThemeProvider: ({ customVars, children }: ThemeProviderProps) => r
|
|
|
887
893
|
|
|
888
894
|
declare const useTheme: () => readonly [Theme$1 | undefined, (theme: Theme$1) => void];
|
|
889
895
|
|
|
890
|
-
export { Alert,
|
|
896
|
+
export { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, BarGraph, type BarGraphProps, BarGraphSegment, type BarGraphSegmentProps, BgGradient, Button, type ButtonProps, Card, CardContent, CardContentHeader, type CardContentHeaderProps, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, type ControlStatusBadgeDisplayMode, CopyButton, type CopyButtonProps, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, type DisplayFieldProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerHeaderActions, DrawerInnerContent, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressIndicatorStep, type ProgressIndicatorStepProps, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, ScrollArea, ScrollBar, SearchBar, SectionHeading, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, type SortField, type SortMode, type SortOrder, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, Toast, ToastAction, type ToastActionElement, ToastClose, ToastContainer, ToastDescription, type ToastProps$1 as ToastProps, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, type ToasterToast, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, type ViewMode, type ViewOrder, badgeVariants, buttonVariants, reducer, toast, useFormField, useTheme, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -27,11 +27,15 @@ import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
|
27
27
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
28
28
|
import { Theme as Theme$1 } from './theme/lib/utils.js';
|
|
29
29
|
|
|
30
|
-
declare const
|
|
31
|
-
variant?: "
|
|
32
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
declare const alertVariants: (props?: ({
|
|
31
|
+
variant?: "primary" | "neutral" | "success" | "warning" | "danger" | null | undefined;
|
|
32
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
33
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
34
|
+
title: string;
|
|
35
|
+
description?: string | React$1.ReactNode;
|
|
36
|
+
icon?: React$1.ReactElement | string | null;
|
|
37
|
+
}
|
|
38
|
+
declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
35
39
|
|
|
36
40
|
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
37
41
|
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -51,14 +55,14 @@ declare const AlertDialogFooter: {
|
|
|
51
55
|
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
52
56
|
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
53
57
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
54
|
-
variant?: "
|
|
58
|
+
variant?: "link" | "navigation" | "primary" | "danger" | "secondary" | "tertiary" | null | undefined;
|
|
55
59
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
56
60
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
57
61
|
prefix?: React$1.ReactNode;
|
|
58
62
|
suffix?: React$1.ReactNode;
|
|
59
63
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
60
64
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
61
|
-
variant?: "
|
|
65
|
+
variant?: "link" | "navigation" | "primary" | "danger" | "secondary" | "tertiary" | null | undefined;
|
|
62
66
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
63
67
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
64
68
|
prefix?: React$1.ReactNode;
|
|
@@ -74,7 +78,7 @@ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitiv
|
|
|
74
78
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
75
79
|
|
|
76
80
|
declare const badgeVariants: (props?: ({
|
|
77
|
-
variant?: "
|
|
81
|
+
variant?: "primary" | "neutral" | "success" | "warning" | "danger" | "secondary" | null | undefined;
|
|
78
82
|
size?: "sm" | "md" | null | undefined;
|
|
79
83
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
80
84
|
type BadgeDisplayMode = 'both' | 'text-only' | 'icon-only';
|
|
@@ -202,7 +206,7 @@ declare const BgGradient: ({ theme, placement, }: {
|
|
|
202
206
|
}) => react_jsx_runtime.JSX.Element;
|
|
203
207
|
|
|
204
208
|
declare const buttonVariants: (props?: ({
|
|
205
|
-
variant?: "
|
|
209
|
+
variant?: "link" | "navigation" | "primary" | "danger" | "secondary" | "tertiary" | null | undefined;
|
|
206
210
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
207
211
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
208
212
|
type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
|
|
@@ -221,7 +225,7 @@ type ButtonProps = VariantProps<typeof buttonVariants> & ((ButtonBaseProps & {
|
|
|
221
225
|
rel?: string;
|
|
222
226
|
download?: string | boolean;
|
|
223
227
|
}));
|
|
224
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<
|
|
228
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
225
229
|
|
|
226
230
|
type ResourceType = 'agent' | 'benchmark' | 'benchmark-result' | 'binary' | 'certificate' | 'code' | 'compute' | 'credential' | 'database' | 'dataset' | 'document' | 'media' | 'skill' | 'guardrail' | 'model' | 'prompt' | 'system-prompt' | 'reasoning' | 'config' | 'token' | 'tool' | 'unknown';
|
|
227
231
|
type ResourceDisplayMode = BadgeDisplayMode;
|
|
@@ -333,7 +337,7 @@ interface DateRangePickerProps {
|
|
|
333
337
|
declare const DateRangePicker: ({ dateRange, onSelect, className }: DateRangePickerProps) => react_jsx_runtime.JSX.Element;
|
|
334
338
|
|
|
335
339
|
declare const displayFieldVariants: (props?: ({
|
|
336
|
-
variant?: "
|
|
340
|
+
variant?: "neutral" | "success" | "neutralCheck" | "failure" | null | undefined;
|
|
337
341
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
338
342
|
interface DisplayFieldProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'slot'>, VariantProps<typeof displayFieldVariants> {
|
|
339
343
|
variant?: 'neutral' | 'success' | 'neutralCheck' | 'failure';
|
|
@@ -402,15 +406,24 @@ declare const DropdownMenuShortcut: {
|
|
|
402
406
|
displayName: string;
|
|
403
407
|
};
|
|
404
408
|
|
|
409
|
+
declare const ELEVATION: {
|
|
410
|
+
SUNKEN: string;
|
|
411
|
+
BASE: string;
|
|
412
|
+
RAISED: string;
|
|
413
|
+
OVERLAY: string;
|
|
414
|
+
};
|
|
415
|
+
type Elevation = (typeof ELEVATION)[keyof typeof ELEVATION];
|
|
416
|
+
|
|
405
417
|
interface EmptyTableStateProps {
|
|
406
418
|
icon: React.ReactElement | string;
|
|
407
419
|
title: string;
|
|
408
420
|
description?: string;
|
|
421
|
+
elevation?: Elevation;
|
|
409
422
|
showClearButton?: boolean;
|
|
410
423
|
onClear?: () => void;
|
|
411
424
|
className?: string;
|
|
412
425
|
}
|
|
413
|
-
declare const EmptyTableState: ({ icon, title, description, showClearButton, onClear, className, }: EmptyTableStateProps) => react_jsx_runtime.JSX.Element;
|
|
426
|
+
declare const EmptyTableState: ({ icon, title, description, elevation, showClearButton, onClear, className, }: EmptyTableStateProps) => react_jsx_runtime.JSX.Element;
|
|
414
427
|
|
|
415
428
|
interface FilterOption$1 {
|
|
416
429
|
value: string;
|
|
@@ -449,7 +462,7 @@ declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttribu
|
|
|
449
462
|
|
|
450
463
|
declare const iconButtonVariants: (props?: ({
|
|
451
464
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
452
|
-
variant?: "
|
|
465
|
+
variant?: "primary" | "danger" | null | undefined;
|
|
453
466
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
454
467
|
interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'name'>, VariantProps<typeof iconButtonVariants> {
|
|
455
468
|
name: keyof typeof LucideIcons;
|
|
@@ -460,14 +473,6 @@ interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
460
473
|
}
|
|
461
474
|
declare function IconButton({ className, size, variant, name, label, href, target, download, disabled, ...props }: IconButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
462
475
|
|
|
463
|
-
declare const ELEVATION: {
|
|
464
|
-
SUNKEN: string;
|
|
465
|
-
BASE: string;
|
|
466
|
-
RAISED: string;
|
|
467
|
-
OVERLAY: string;
|
|
468
|
-
};
|
|
469
|
-
type Elevation = (typeof ELEVATION)[keyof typeof ELEVATION];
|
|
470
|
-
|
|
471
476
|
interface InfoCardProps {
|
|
472
477
|
label: string;
|
|
473
478
|
description: string | number | React$1.ReactNode;
|
|
@@ -762,6 +767,7 @@ interface TabsProps {
|
|
|
762
767
|
label: string;
|
|
763
768
|
value: string;
|
|
764
769
|
icon?: React.ReactElement | string;
|
|
770
|
+
suffix?: React.ReactNode;
|
|
765
771
|
content: React.ReactNode;
|
|
766
772
|
}[];
|
|
767
773
|
className?: string;
|
|
@@ -848,8 +854,8 @@ interface TruncatedDescriptionProps {
|
|
|
848
854
|
declare const TruncatedDescription: ({ className, description, maxLength, }: TruncatedDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
849
855
|
|
|
850
856
|
declare const iconVariants: (props?: ({
|
|
851
|
-
size?: "
|
|
852
|
-
background?: "
|
|
857
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
858
|
+
background?: "square" | "circle" | "transparent" | null | undefined;
|
|
853
859
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
854
860
|
declare const iconElevationVariants: (props?: ({
|
|
855
861
|
elevation?: string | number | null | undefined;
|
|
@@ -887,4 +893,4 @@ declare const ThemeProvider: ({ customVars, children }: ThemeProviderProps) => r
|
|
|
887
893
|
|
|
888
894
|
declare const useTheme: () => readonly [Theme$1 | undefined, (theme: Theme$1) => void];
|
|
889
895
|
|
|
890
|
-
export { Alert,
|
|
896
|
+
export { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, BarGraph, type BarGraphProps, BarGraphSegment, type BarGraphSegmentProps, BgGradient, Button, type ButtonProps, Card, CardContent, CardContentHeader, type CardContentHeaderProps, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, type ControlStatusBadgeDisplayMode, CopyButton, type CopyButtonProps, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, type DisplayFieldProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerHeaderActions, DrawerInnerContent, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressIndicatorStep, type ProgressIndicatorStepProps, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, ScrollArea, ScrollBar, SearchBar, SectionHeading, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, type SortField, type SortMode, type SortOrder, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, Toast, ToastAction, type ToastActionElement, ToastClose, ToastContainer, ToastDescription, type ToastProps$1 as ToastProps, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, type ToasterToast, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, type ViewMode, type ViewOrder, badgeVariants, buttonVariants, reducer, toast, useFormField, useTheme, useToast };
|