@eqtylab/equality 1.8.1 → 1.9.0
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/bar-graph.module.module.css.module.css +143 -0
- package/dist/button.module.module.css.module.css +13 -1
- package/dist/index.cjs +738 -492
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +69 -4
- package/dist/index.d.ts +69 -4
- package/dist/index.js +691 -451
- package/dist/index.js.map +1 -1
- package/dist/progress-indicator.module.module.css.module.css +223 -0
- package/dist/theme.module.module.css.module.css +9 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -51,14 +51,14 @@ declare const AlertDialogFooter: {
|
|
|
51
51
|
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
52
52
|
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
53
53
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
54
|
-
variant?: "
|
|
54
|
+
variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
55
55
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
56
56
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
57
57
|
prefix?: React$1.ReactNode;
|
|
58
58
|
suffix?: React$1.ReactNode;
|
|
59
59
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
60
60
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
61
|
-
variant?: "
|
|
61
|
+
variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
62
62
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
63
63
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
64
64
|
prefix?: React$1.ReactNode;
|
|
@@ -90,6 +90,42 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProp
|
|
|
90
90
|
}
|
|
91
91
|
declare function Badge({ className, variant, size, closeable, handleClosable, truncate, truncateLength, icon, display, monospace, pill, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
92
92
|
|
|
93
|
+
interface BarGraphSegmentProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'color'> {
|
|
94
|
+
/** Proportional value used to compute the segment's width (`value / sum of all values`). */
|
|
95
|
+
value: number;
|
|
96
|
+
/** Any valid CSS color, applied as the segment's background. */
|
|
97
|
+
color: string;
|
|
98
|
+
/**
|
|
99
|
+
* Visible legend label, shown when `showLabels` is set on the parent `BarGraph`.
|
|
100
|
+
* Not announced to screen readers — the segment's accessible name is its `tooltip`.
|
|
101
|
+
*/
|
|
102
|
+
label: string;
|
|
103
|
+
/**
|
|
104
|
+
* Tooltip content shown on hover and keyboard focus. Also the segment's accessible
|
|
105
|
+
* name, so it must describe the segment on its own. Required.
|
|
106
|
+
*/
|
|
107
|
+
tooltip: React$1.ReactNode;
|
|
108
|
+
}
|
|
109
|
+
declare const BarGraphSegment: React$1.ForwardRefExoticComponent<BarGraphSegmentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
110
|
+
declare const barVariants: (props?: ({
|
|
111
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
112
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
113
|
+
/**
|
|
114
|
+
* A single `BarGraphSegment` element. False values are allowed so conditional
|
|
115
|
+
* rendering (`{condition && <BarGraphSegment … />}`) keeps working. Non-segment
|
|
116
|
+
* children are filtered out at runtime — see `BarGraph`.
|
|
117
|
+
*/
|
|
118
|
+
type BarGraphChild = React$1.ReactElement<BarGraphSegmentProps> | boolean | null | undefined;
|
|
119
|
+
interface BarGraphProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof barVariants> {
|
|
120
|
+
/** Render a visible legend (color swatch + label) beneath the bar. Defaults to `false`. */
|
|
121
|
+
showLabels?: boolean;
|
|
122
|
+
/** Bar height. `md` and `lg` use rounded rectangles instead of a full pill. Defaults to `md`. */
|
|
123
|
+
size?: 'sm' | 'md' | 'lg';
|
|
124
|
+
/** One or more `BarGraphSegment` elements. */
|
|
125
|
+
children: BarGraphChild | BarGraphChild[];
|
|
126
|
+
}
|
|
127
|
+
declare const BarGraph: React$1.ForwardRefExoticComponent<BarGraphProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
128
|
+
|
|
93
129
|
var Light = {
|
|
94
130
|
color: {
|
|
95
131
|
brand: {
|
|
@@ -166,7 +202,7 @@ declare const BgGradient: ({ theme, placement, }: {
|
|
|
166
202
|
}) => react_jsx_runtime.JSX.Element;
|
|
167
203
|
|
|
168
204
|
declare const buttonVariants: (props?: ({
|
|
169
|
-
variant?: "
|
|
205
|
+
variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
170
206
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
171
207
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
172
208
|
type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
|
|
@@ -531,6 +567,35 @@ interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof Progress
|
|
|
531
567
|
}
|
|
532
568
|
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
533
569
|
|
|
570
|
+
type ProgressIndicatorLayout = 'horizontal' | 'vertical';
|
|
571
|
+
type ProgressIndicatorStatus = 'editing' | 'empty' | 'neutral' | 'success' | 'info' | 'danger';
|
|
572
|
+
declare const layoutVariants: (props?: ({
|
|
573
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
574
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
575
|
+
interface ProgressIndicatorProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof layoutVariants> {
|
|
576
|
+
layout?: ProgressIndicatorLayout;
|
|
577
|
+
/** Index of the current step. Each step compares its own index to this. */
|
|
578
|
+
currentIndex: number;
|
|
579
|
+
/** Elevation passed down to each step's marker Icon. */
|
|
580
|
+
elevation?: Elevation;
|
|
581
|
+
children: React$1.ReactNode;
|
|
582
|
+
}
|
|
583
|
+
declare function ProgressIndicator({ layout, currentIndex, elevation, className, children, 'aria-label': ariaLabel, ...props }: ProgressIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
584
|
+
interface ProgressIndicatorStepProps extends Omit<React$1.LiHTMLAttributes<HTMLLIElement>, 'onClick'> {
|
|
585
|
+
name: string;
|
|
586
|
+
description?: string;
|
|
587
|
+
status?: ProgressIndicatorStatus;
|
|
588
|
+
href?: string;
|
|
589
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
590
|
+
/** @internal Injected by ProgressIndicator — this step's array index. */
|
|
591
|
+
index?: number;
|
|
592
|
+
/** @internal Injected by ProgressIndicator — the current step's index. */
|
|
593
|
+
currentIndex?: number;
|
|
594
|
+
/** @internal Injected by ProgressIndicator — elevation for the marker Icon. */
|
|
595
|
+
elevation?: Elevation;
|
|
596
|
+
}
|
|
597
|
+
declare function ProgressIndicatorStep({ name, description, status, href, onClick, className, index, currentIndex, elevation, ...props }: ProgressIndicatorStepProps): react_jsx_runtime.JSX.Element;
|
|
598
|
+
|
|
534
599
|
interface RadialGraphProps {
|
|
535
600
|
percentage: number;
|
|
536
601
|
displayLabel?: string;
|
|
@@ -820,4 +885,4 @@ declare const ThemeProvider: ({ customVars, children }: ThemeProviderProps) => r
|
|
|
820
885
|
|
|
821
886
|
declare const useTheme: () => readonly [Theme$1 | undefined, (theme: Theme$1) => void];
|
|
822
887
|
|
|
823
|
-
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, 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, 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 };
|
|
888
|
+
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, 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
|
@@ -51,14 +51,14 @@ declare const AlertDialogFooter: {
|
|
|
51
51
|
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
52
52
|
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
53
53
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
54
|
-
variant?: "
|
|
54
|
+
variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
55
55
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
56
56
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
57
57
|
prefix?: React$1.ReactNode;
|
|
58
58
|
suffix?: React$1.ReactNode;
|
|
59
59
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
60
60
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
61
|
-
variant?: "
|
|
61
|
+
variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
62
62
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
63
63
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
64
64
|
prefix?: React$1.ReactNode;
|
|
@@ -90,6 +90,42 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProp
|
|
|
90
90
|
}
|
|
91
91
|
declare function Badge({ className, variant, size, closeable, handleClosable, truncate, truncateLength, icon, display, monospace, pill, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
92
92
|
|
|
93
|
+
interface BarGraphSegmentProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'color'> {
|
|
94
|
+
/** Proportional value used to compute the segment's width (`value / sum of all values`). */
|
|
95
|
+
value: number;
|
|
96
|
+
/** Any valid CSS color, applied as the segment's background. */
|
|
97
|
+
color: string;
|
|
98
|
+
/**
|
|
99
|
+
* Visible legend label, shown when `showLabels` is set on the parent `BarGraph`.
|
|
100
|
+
* Not announced to screen readers — the segment's accessible name is its `tooltip`.
|
|
101
|
+
*/
|
|
102
|
+
label: string;
|
|
103
|
+
/**
|
|
104
|
+
* Tooltip content shown on hover and keyboard focus. Also the segment's accessible
|
|
105
|
+
* name, so it must describe the segment on its own. Required.
|
|
106
|
+
*/
|
|
107
|
+
tooltip: React$1.ReactNode;
|
|
108
|
+
}
|
|
109
|
+
declare const BarGraphSegment: React$1.ForwardRefExoticComponent<BarGraphSegmentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
110
|
+
declare const barVariants: (props?: ({
|
|
111
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
112
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
113
|
+
/**
|
|
114
|
+
* A single `BarGraphSegment` element. False values are allowed so conditional
|
|
115
|
+
* rendering (`{condition && <BarGraphSegment … />}`) keeps working. Non-segment
|
|
116
|
+
* children are filtered out at runtime — see `BarGraph`.
|
|
117
|
+
*/
|
|
118
|
+
type BarGraphChild = React$1.ReactElement<BarGraphSegmentProps> | boolean | null | undefined;
|
|
119
|
+
interface BarGraphProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof barVariants> {
|
|
120
|
+
/** Render a visible legend (color swatch + label) beneath the bar. Defaults to `false`. */
|
|
121
|
+
showLabels?: boolean;
|
|
122
|
+
/** Bar height. `md` and `lg` use rounded rectangles instead of a full pill. Defaults to `md`. */
|
|
123
|
+
size?: 'sm' | 'md' | 'lg';
|
|
124
|
+
/** One or more `BarGraphSegment` elements. */
|
|
125
|
+
children: BarGraphChild | BarGraphChild[];
|
|
126
|
+
}
|
|
127
|
+
declare const BarGraph: React$1.ForwardRefExoticComponent<BarGraphProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
128
|
+
|
|
93
129
|
var Light = {
|
|
94
130
|
color: {
|
|
95
131
|
brand: {
|
|
@@ -166,7 +202,7 @@ declare const BgGradient: ({ theme, placement, }: {
|
|
|
166
202
|
}) => react_jsx_runtime.JSX.Element;
|
|
167
203
|
|
|
168
204
|
declare const buttonVariants: (props?: ({
|
|
169
|
-
variant?: "
|
|
205
|
+
variant?: "danger" | "link" | "navigation" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
170
206
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
171
207
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
172
208
|
type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
|
|
@@ -531,6 +567,35 @@ interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof Progress
|
|
|
531
567
|
}
|
|
532
568
|
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
533
569
|
|
|
570
|
+
type ProgressIndicatorLayout = 'horizontal' | 'vertical';
|
|
571
|
+
type ProgressIndicatorStatus = 'editing' | 'empty' | 'neutral' | 'success' | 'info' | 'danger';
|
|
572
|
+
declare const layoutVariants: (props?: ({
|
|
573
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
574
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
575
|
+
interface ProgressIndicatorProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof layoutVariants> {
|
|
576
|
+
layout?: ProgressIndicatorLayout;
|
|
577
|
+
/** Index of the current step. Each step compares its own index to this. */
|
|
578
|
+
currentIndex: number;
|
|
579
|
+
/** Elevation passed down to each step's marker Icon. */
|
|
580
|
+
elevation?: Elevation;
|
|
581
|
+
children: React$1.ReactNode;
|
|
582
|
+
}
|
|
583
|
+
declare function ProgressIndicator({ layout, currentIndex, elevation, className, children, 'aria-label': ariaLabel, ...props }: ProgressIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
584
|
+
interface ProgressIndicatorStepProps extends Omit<React$1.LiHTMLAttributes<HTMLLIElement>, 'onClick'> {
|
|
585
|
+
name: string;
|
|
586
|
+
description?: string;
|
|
587
|
+
status?: ProgressIndicatorStatus;
|
|
588
|
+
href?: string;
|
|
589
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
590
|
+
/** @internal Injected by ProgressIndicator — this step's array index. */
|
|
591
|
+
index?: number;
|
|
592
|
+
/** @internal Injected by ProgressIndicator — the current step's index. */
|
|
593
|
+
currentIndex?: number;
|
|
594
|
+
/** @internal Injected by ProgressIndicator — elevation for the marker Icon. */
|
|
595
|
+
elevation?: Elevation;
|
|
596
|
+
}
|
|
597
|
+
declare function ProgressIndicatorStep({ name, description, status, href, onClick, className, index, currentIndex, elevation, ...props }: ProgressIndicatorStepProps): react_jsx_runtime.JSX.Element;
|
|
598
|
+
|
|
534
599
|
interface RadialGraphProps {
|
|
535
600
|
percentage: number;
|
|
536
601
|
displayLabel?: string;
|
|
@@ -820,4 +885,4 @@ declare const ThemeProvider: ({ customVars, children }: ThemeProviderProps) => r
|
|
|
820
885
|
|
|
821
886
|
declare const useTheme: () => readonly [Theme$1 | undefined, (theme: Theme$1) => void];
|
|
822
887
|
|
|
823
|
-
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeDisplayMode, type BadgeProps, 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, 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 };
|
|
888
|
+
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, 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 };
|