@eqtylab/equality 4.3.2 → 4.4.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/CHANGELOG.md +38 -0
- package/dist/index.cjs +1177 -1105
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +142 -121
- package/dist/index.d.ts +142 -121
- package/dist/index.js +1138 -1068
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React$1 from 'react';
|
|
3
|
-
import { ReactNode, ComponentPropsWithoutRef, HTMLAttributes } from 'react';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import * as React$1 from 'react';
|
|
4
|
+
import { HTMLAttributes, ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
6
5
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
7
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
8
8
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
9
9
|
import { Command as Command$1 } from 'cmdk';
|
|
@@ -27,29 +27,6 @@ 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 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
|
-
* Body content, as an alternative to `description`. Rendered in a `div` rather
|
|
39
|
-
* than a `p`, so block-level content (paragraphs, lists, code blocks) is valid.
|
|
40
|
-
* Use this instead of `description` when the body is more than a sentence.
|
|
41
|
-
*/
|
|
42
|
-
children?: React$1.ReactNode;
|
|
43
|
-
/**
|
|
44
|
-
* Element to render. Defaults to `div` with `role="alert"`, which is an
|
|
45
|
-
* assertive live region -- correct for a message that appears in response to
|
|
46
|
-
* something the user did, wrong for static page content. Use `aside` for a
|
|
47
|
-
* standing callout; it drops the live region unless you set `role` yourself.
|
|
48
|
-
*/
|
|
49
|
-
as?: 'div' | 'aside' | 'section';
|
|
50
|
-
}
|
|
51
|
-
declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
52
|
-
|
|
53
30
|
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
54
31
|
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
55
32
|
declare const AlertDialogPortal: ({ children }: {
|
|
@@ -68,20 +45,43 @@ declare const AlertDialogFooter: {
|
|
|
68
45
|
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
69
46
|
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
70
47
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
71
|
-
variant?: "
|
|
48
|
+
variant?: "primary" | "danger" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
|
|
72
49
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
73
50
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
74
51
|
prefix?: React$1.ReactNode;
|
|
75
52
|
suffix?: React$1.ReactNode;
|
|
76
53
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
77
54
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
|
|
78
|
-
variant?: "
|
|
55
|
+
variant?: "primary" | "danger" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
|
|
79
56
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
80
57
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
81
58
|
prefix?: React$1.ReactNode;
|
|
82
59
|
suffix?: React$1.ReactNode;
|
|
83
60
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
84
61
|
|
|
62
|
+
declare const alertVariants: (props?: ({
|
|
63
|
+
variant?: "primary" | "danger" | "warning" | "neutral" | "success" | null | undefined;
|
|
64
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
65
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
66
|
+
title: string;
|
|
67
|
+
description?: string | React$1.ReactNode;
|
|
68
|
+
icon?: React$1.ReactElement | string | null;
|
|
69
|
+
/**
|
|
70
|
+
* Body content, as an alternative to `description`. Rendered in a `div` rather
|
|
71
|
+
* than a `p`, so block-level content (paragraphs, lists, code blocks) is valid.
|
|
72
|
+
* Use this instead of `description` when the body is more than a sentence.
|
|
73
|
+
*/
|
|
74
|
+
children?: React$1.ReactNode;
|
|
75
|
+
/**
|
|
76
|
+
* Element to render. Defaults to `div` with `role="alert"`, which is an
|
|
77
|
+
* assertive live region -- correct for a message that appears in response to
|
|
78
|
+
* something the user did, wrong for static page content. Use `aside` for a
|
|
79
|
+
* standing callout; it drops the live region unless you set `role` yourself.
|
|
80
|
+
*/
|
|
81
|
+
as?: 'div' | 'aside' | 'section';
|
|
82
|
+
}
|
|
83
|
+
declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
84
|
+
|
|
85
85
|
interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> {
|
|
86
86
|
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
87
87
|
shape?: 'circle' | 'square';
|
|
@@ -91,7 +91,7 @@ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitiv
|
|
|
91
91
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
92
92
|
|
|
93
93
|
declare const badgeVariants: (props?: ({
|
|
94
|
-
variant?: "primary" | "
|
|
94
|
+
variant?: "primary" | "danger" | "warning" | "secondary" | "neutral" | "success" | null | undefined;
|
|
95
95
|
size?: "sm" | "md" | null | undefined;
|
|
96
96
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
97
97
|
type BadgeDisplayMode = 'both' | 'text-only' | 'icon-only';
|
|
@@ -225,7 +225,7 @@ declare const BgGradient: ({ theme, placement, }: {
|
|
|
225
225
|
}) => react_jsx_runtime.JSX.Element;
|
|
226
226
|
|
|
227
227
|
declare const buttonVariants: (props?: ({
|
|
228
|
-
variant?: "
|
|
228
|
+
variant?: "primary" | "danger" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
|
|
229
229
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
230
230
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
231
231
|
type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
|
|
@@ -244,19 +244,7 @@ type ButtonProps = VariantProps<typeof buttonVariants> & ((ButtonBaseProps & {
|
|
|
244
244
|
rel?: string;
|
|
245
245
|
download?: string | boolean;
|
|
246
246
|
}));
|
|
247
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<
|
|
248
|
-
|
|
249
|
-
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';
|
|
250
|
-
type ResourceDisplayMode = BadgeDisplayMode;
|
|
251
|
-
interface ResourceBadgeProps {
|
|
252
|
-
type: ResourceType;
|
|
253
|
-
display?: ResourceDisplayMode;
|
|
254
|
-
closeable?: boolean;
|
|
255
|
-
handleClosable?: () => void;
|
|
256
|
-
closeLabel?: string;
|
|
257
|
-
children?: React$1.ReactNode;
|
|
258
|
-
}
|
|
259
|
-
declare const ResourceBadge: ({ type, display, closeable, handleClosable, closeLabel, children, }: ResourceBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
247
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
260
248
|
|
|
261
249
|
interface CardContentHeaderProps {
|
|
262
250
|
className?: string;
|
|
@@ -337,6 +325,13 @@ declare function CommandSeparator({ className, ...props }: React$1.ComponentProp
|
|
|
337
325
|
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
338
326
|
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
339
327
|
|
|
328
|
+
type ControlStatusBadgeDisplayMode = BadgeDisplayMode;
|
|
329
|
+
interface ControlStatusBadgeProps {
|
|
330
|
+
status: string;
|
|
331
|
+
display?: ControlStatusBadgeDisplayMode;
|
|
332
|
+
}
|
|
333
|
+
declare const ControlStatusBadge: ({ status, display }: ControlStatusBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
334
|
+
|
|
340
335
|
interface CopyButtonProps {
|
|
341
336
|
value: string;
|
|
342
337
|
label?: string;
|
|
@@ -400,6 +395,11 @@ declare const DrawerInnerContent: {
|
|
|
400
395
|
displayName: string;
|
|
401
396
|
};
|
|
402
397
|
|
|
398
|
+
declare const useDropdownMenuSearchQuery: () => {
|
|
399
|
+
query: string;
|
|
400
|
+
isSearching: boolean;
|
|
401
|
+
matches: (textValue: string) => boolean;
|
|
402
|
+
};
|
|
403
403
|
declare const DropdownMenu: {
|
|
404
404
|
({ children, open, onOpenChange, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
405
405
|
displayName: string;
|
|
@@ -416,7 +416,7 @@ declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<Dro
|
|
|
416
416
|
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
417
417
|
declare const DropdownMenuSub: ({ children, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Sub>) => react_jsx_runtime.JSX.Element;
|
|
418
418
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
419
|
-
declare const DropdownMenuSearch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "
|
|
419
|
+
declare const DropdownMenuSearch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange"> & {
|
|
420
420
|
icon?: React$1.ReactNode;
|
|
421
421
|
alwaysVisible?: boolean;
|
|
422
422
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -427,13 +427,20 @@ declare const DropdownMenuEmpty: {
|
|
|
427
427
|
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
428
428
|
inset?: boolean;
|
|
429
429
|
variant?: "neutral" | "warning" | "danger";
|
|
430
|
+
persistent?: boolean;
|
|
431
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
432
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
433
|
+
persistent?: boolean;
|
|
434
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
435
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
436
|
+
persistent?: boolean;
|
|
430
437
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
431
|
-
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
432
|
-
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
433
438
|
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
434
439
|
inset?: boolean;
|
|
435
440
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
436
|
-
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> &
|
|
441
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
442
|
+
persistent?: boolean;
|
|
443
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
437
444
|
declare const DropdownMenuShortcut: {
|
|
438
445
|
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
439
446
|
displayName: string;
|
|
@@ -497,6 +504,39 @@ declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_reac
|
|
|
497
504
|
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
498
505
|
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
499
506
|
|
|
507
|
+
type FormatDateDisplayMode = 'relative' | 'absolute' | 'countdown';
|
|
508
|
+
interface FormatDateProps extends Omit<React$1.TimeHTMLAttributes<HTMLTimeElement>, 'dateTime' | 'children'> {
|
|
509
|
+
/** The date to display. Accepts an ISO 8601 string, epoch milliseconds, or a Date. A missing value (null, undefined, or empty string) renders a placeholder. */
|
|
510
|
+
date: string | number | Date | null | undefined;
|
|
511
|
+
/**
|
|
512
|
+
* How to render the date:
|
|
513
|
+
* - `absolute` — the full date and time ("Jun 09 2026, 18:42:03 UTC")
|
|
514
|
+
* - `relative` — idiomatic distance from now, in either direction ("2 weeks ago", "next week")
|
|
515
|
+
* - `countdown` — exact time left until a future date ("10 days"), a placeholder once it passes
|
|
516
|
+
*/
|
|
517
|
+
displayAs?: FormatDateDisplayMode;
|
|
518
|
+
/** Time zone used for absolute formatting. Defaults to "UTC". */
|
|
519
|
+
timeZone?: string;
|
|
520
|
+
/** BCP 47 locale used for formatting. Defaults to "en-US". */
|
|
521
|
+
locale?: string;
|
|
522
|
+
/** Unless absolute, show a tooltip with the absolute time on hover/focus. Defaults to true. */
|
|
523
|
+
tooltip?: boolean;
|
|
524
|
+
/** Unless absolute, re-render on an interval so the value stays current. Defaults to true. */
|
|
525
|
+
live?: boolean;
|
|
526
|
+
/** Override the Intl options used for absolute formatting. */
|
|
527
|
+
absoluteOptions?: Intl.DateTimeFormatOptions;
|
|
528
|
+
}
|
|
529
|
+
declare function FormatDate({ date, displayAs, timeZone, locale, tooltip, live, absoluteOptions, className, ...props }: FormatDateProps): react_jsx_runtime.JSX.Element;
|
|
530
|
+
|
|
531
|
+
type HeadingTagType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
532
|
+
interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
533
|
+
className?: string;
|
|
534
|
+
as: HeadingTagType;
|
|
535
|
+
displayAs?: HeadingTagType;
|
|
536
|
+
children: string | React.ReactNode;
|
|
537
|
+
}
|
|
538
|
+
declare const Heading: React$1.ForwardRefExoticComponent<HeadingProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
539
|
+
|
|
500
540
|
declare const iconButtonVariants: (props?: ({
|
|
501
541
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
502
542
|
variant?: "primary" | "danger" | null | undefined;
|
|
@@ -510,6 +550,20 @@ interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
510
550
|
}
|
|
511
551
|
declare function IconButton({ className, size, variant, name, label, href, target, download, disabled, ...props }: IconButtonProps): react_jsx_runtime.JSX.Element;
|
|
512
552
|
|
|
553
|
+
declare const iconVariants: (props?: ({
|
|
554
|
+
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
555
|
+
background?: "circle" | "square" | "transparent" | null | undefined;
|
|
556
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
557
|
+
declare const iconElevationVariants: (props?: ({
|
|
558
|
+
elevation?: string | number | null | undefined;
|
|
559
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
560
|
+
interface IconProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof iconVariants>, VariantProps<typeof iconElevationVariants> {
|
|
561
|
+
icon: React$1.ReactElement | string;
|
|
562
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
563
|
+
background?: 'square' | 'circle' | 'transparent';
|
|
564
|
+
}
|
|
565
|
+
declare const Icon: React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
566
|
+
|
|
513
567
|
interface InfoCardProps {
|
|
514
568
|
label: string;
|
|
515
569
|
description: string | number | React$1.ReactNode;
|
|
@@ -614,11 +668,6 @@ declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrim
|
|
|
614
668
|
arrow?: boolean;
|
|
615
669
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
616
670
|
|
|
617
|
-
interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
|
|
618
|
-
color?: 'primary' | 'secondary' | 'green' | 'red' | 'yellow';
|
|
619
|
-
}
|
|
620
|
-
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
621
|
-
|
|
622
671
|
type ProgressIndicatorLayout = 'horizontal' | 'vertical';
|
|
623
672
|
type ProgressIndicatorStatus = 'editing' | 'empty' | 'neutral' | 'success' | 'info' | 'danger';
|
|
624
673
|
declare const layoutVariants: (props?: ({
|
|
@@ -648,6 +697,11 @@ interface ProgressIndicatorStepProps extends Omit<React$1.LiHTMLAttributes<HTMLL
|
|
|
648
697
|
}
|
|
649
698
|
declare function ProgressIndicatorStep({ name, description, status, href, onClick, className, index, currentIndex, elevation, ...props }: ProgressIndicatorStepProps): react_jsx_runtime.JSX.Element;
|
|
650
699
|
|
|
700
|
+
interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
|
|
701
|
+
color?: 'primary' | 'secondary' | 'green' | 'red' | 'yellow';
|
|
702
|
+
}
|
|
703
|
+
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
704
|
+
|
|
651
705
|
interface RadialGraphProps {
|
|
652
706
|
percentage: number;
|
|
653
707
|
displayLabel?: string;
|
|
@@ -678,6 +732,18 @@ declare const RadioDropdown: ({ label, options, selectedValue, onSelect, classNa
|
|
|
678
732
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
679
733
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
680
734
|
|
|
735
|
+
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';
|
|
736
|
+
type ResourceDisplayMode = BadgeDisplayMode;
|
|
737
|
+
interface ResourceBadgeProps {
|
|
738
|
+
type: ResourceType;
|
|
739
|
+
display?: ResourceDisplayMode;
|
|
740
|
+
closeable?: boolean;
|
|
741
|
+
handleClosable?: () => void;
|
|
742
|
+
closeLabel?: string;
|
|
743
|
+
children?: React$1.ReactNode;
|
|
744
|
+
}
|
|
745
|
+
declare const ResourceBadge: ({ type, display, closeable, handleClosable, closeLabel, children, }: ResourceBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
746
|
+
|
|
681
747
|
/**
|
|
682
748
|
* @deprecated Use a native scrollable element instead — set an overflow and a height on your own
|
|
683
749
|
* container and leave the browser's scrollbar unstyled.
|
|
@@ -728,6 +794,11 @@ interface SegmentedControlsProps {
|
|
|
728
794
|
}
|
|
729
795
|
declare const SegmentedControls: ({ options, value, onValueChange, display, className, }: SegmentedControlsProps) => react_jsx_runtime.JSX.Element;
|
|
730
796
|
|
|
797
|
+
declare const useSelectSearchQuery: () => {
|
|
798
|
+
query: string;
|
|
799
|
+
isSearching: boolean;
|
|
800
|
+
matches: (textValue: string) => boolean;
|
|
801
|
+
};
|
|
731
802
|
declare const Select: {
|
|
732
803
|
({ open, onOpenChange, ...props }: React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
733
804
|
displayName: string;
|
|
@@ -740,7 +811,7 @@ declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<Sel
|
|
|
740
811
|
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
741
812
|
elevation?: string | number | null | undefined;
|
|
742
813
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
743
|
-
declare const SelectSearch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "
|
|
814
|
+
declare const SelectSearch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange"> & {
|
|
744
815
|
icon?: React$1.ReactNode;
|
|
745
816
|
alwaysVisible?: boolean;
|
|
746
817
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -749,8 +820,12 @@ declare const SelectEmpty: {
|
|
|
749
820
|
displayName: string;
|
|
750
821
|
};
|
|
751
822
|
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
752
|
-
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> &
|
|
753
|
-
|
|
823
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
824
|
+
persistent?: boolean;
|
|
825
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
826
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
827
|
+
persistent?: boolean;
|
|
828
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
754
829
|
|
|
755
830
|
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
756
831
|
|
|
@@ -788,6 +863,16 @@ declare const SheetContent: {
|
|
|
788
863
|
|
|
789
864
|
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
790
865
|
|
|
866
|
+
interface SortButtonProps<T extends string> {
|
|
867
|
+
field: T;
|
|
868
|
+
children: React$1.ReactNode;
|
|
869
|
+
icon?: React$1.ReactNode;
|
|
870
|
+
sortField: T | null;
|
|
871
|
+
sortDirection: 'asc' | 'desc';
|
|
872
|
+
onSort: (field: T) => void;
|
|
873
|
+
}
|
|
874
|
+
declare function SortButton<T extends string>({ field, children, icon, sortField, sortDirection, onSort, }: SortButtonProps<T>): react_jsx_runtime.JSX.Element;
|
|
875
|
+
|
|
791
876
|
type SortField = 'name' | 'type' | 'createdAt' | 'updatedAt';
|
|
792
877
|
type SortOrder = 'asc' | 'desc';
|
|
793
878
|
type SortMode = 'created' | 'updated';
|
|
@@ -818,16 +903,6 @@ interface SwitchProps extends React$1.ComponentPropsWithoutRef<typeof SwitchPrim
|
|
|
818
903
|
}
|
|
819
904
|
declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
820
905
|
|
|
821
|
-
interface SortButtonProps<T extends string> {
|
|
822
|
-
field: T;
|
|
823
|
-
children: React$1.ReactNode;
|
|
824
|
-
icon?: React$1.ReactNode;
|
|
825
|
-
sortField: T | null;
|
|
826
|
-
sortDirection: 'asc' | 'desc';
|
|
827
|
-
onSort: (field: T) => void;
|
|
828
|
-
}
|
|
829
|
-
declare function SortButton<T extends string>({ field, children, icon, sortField, sortDirection, onSort, }: SortButtonProps<T>): react_jsx_runtime.JSX.Element;
|
|
830
|
-
|
|
831
906
|
declare const TableContainer: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & VariantProps<(props?: ({
|
|
832
907
|
elevation?: string | number | null | undefined;
|
|
833
908
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
@@ -875,34 +950,10 @@ declare const Tabs: ({ id, items, className, tabsListBackground, defaultValue, o
|
|
|
875
950
|
|
|
876
951
|
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
877
952
|
|
|
878
|
-
type FormatDateDisplayMode = 'relative' | 'absolute' | 'countdown';
|
|
879
|
-
interface FormatDateProps extends Omit<React$1.TimeHTMLAttributes<HTMLTimeElement>, 'dateTime' | 'children'> {
|
|
880
|
-
/** The date to display. Accepts an ISO 8601 string, epoch milliseconds, or a Date. A missing value (null, undefined, or empty string) renders a placeholder. */
|
|
881
|
-
date: string | number | Date | null | undefined;
|
|
882
|
-
/**
|
|
883
|
-
* How to render the date:
|
|
884
|
-
* - `absolute` — the full date and time ("Jun 09 2026, 18:42:03 UTC")
|
|
885
|
-
* - `relative` — idiomatic distance from now, in either direction ("2 weeks ago", "next week")
|
|
886
|
-
* - `countdown` — exact time left until a future date ("10 days"), a placeholder once it passes
|
|
887
|
-
*/
|
|
888
|
-
displayAs?: FormatDateDisplayMode;
|
|
889
|
-
/** Time zone used for absolute formatting. Defaults to "UTC". */
|
|
890
|
-
timeZone?: string;
|
|
891
|
-
/** BCP 47 locale used for formatting. Defaults to "en-US". */
|
|
892
|
-
locale?: string;
|
|
893
|
-
/** Unless absolute, show a tooltip with the absolute time on hover/focus. Defaults to true. */
|
|
894
|
-
tooltip?: boolean;
|
|
895
|
-
/** Unless absolute, re-render on an interval so the value stays current. Defaults to true. */
|
|
896
|
-
live?: boolean;
|
|
897
|
-
/** Override the Intl options used for absolute formatting. */
|
|
898
|
-
absoluteOptions?: Intl.DateTimeFormatOptions;
|
|
899
|
-
}
|
|
900
|
-
declare function FormatDate({ date, displayAs, timeZone, locale, tooltip, live, absoluteOptions, className, ...props }: FormatDateProps): react_jsx_runtime.JSX.Element;
|
|
901
|
-
|
|
902
953
|
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
903
954
|
declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
904
955
|
declare const ToastContainer: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
905
|
-
variant?: "
|
|
956
|
+
variant?: "danger" | "warning" | "default" | "success" | null | undefined;
|
|
906
957
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
907
958
|
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
908
959
|
declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -973,36 +1024,6 @@ interface TruncatedDescriptionProps {
|
|
|
973
1024
|
}
|
|
974
1025
|
declare const TruncatedDescription: ({ className, description, maxLength, }: TruncatedDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
975
1026
|
|
|
976
|
-
declare const iconVariants: (props?: ({
|
|
977
|
-
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
978
|
-
background?: "square" | "circle" | "transparent" | null | undefined;
|
|
979
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
980
|
-
declare const iconElevationVariants: (props?: ({
|
|
981
|
-
elevation?: string | number | null | undefined;
|
|
982
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
983
|
-
interface IconProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof iconVariants>, VariantProps<typeof iconElevationVariants> {
|
|
984
|
-
icon: React$1.ReactElement | string;
|
|
985
|
-
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
986
|
-
background?: 'square' | 'circle' | 'transparent';
|
|
987
|
-
}
|
|
988
|
-
declare const Icon: React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
989
|
-
|
|
990
|
-
type HeadingTagType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
991
|
-
interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
992
|
-
className?: string;
|
|
993
|
-
as: HeadingTagType;
|
|
994
|
-
displayAs?: HeadingTagType;
|
|
995
|
-
children: string | React.ReactNode;
|
|
996
|
-
}
|
|
997
|
-
declare const Heading: React$1.ForwardRefExoticComponent<HeadingProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
998
|
-
|
|
999
|
-
type ControlStatusBadgeDisplayMode = BadgeDisplayMode;
|
|
1000
|
-
interface ControlStatusBadgeProps {
|
|
1001
|
-
status: string;
|
|
1002
|
-
display?: ControlStatusBadgeDisplayMode;
|
|
1003
|
-
}
|
|
1004
|
-
declare const ControlStatusBadge: ({ status, display }: ControlStatusBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
1005
|
-
|
|
1006
1027
|
interface ThemeProviderProps {
|
|
1007
1028
|
customVars?: React$1.CSSProperties & {
|
|
1008
1029
|
[key: `--${string}`]: string | number | undefined;
|
|
@@ -1078,4 +1099,4 @@ declare const CODE_BLOCK_ATTRIBUTE = "data-equality-code-block";
|
|
|
1078
1099
|
*/
|
|
1079
1100
|
declare const scheduleHighlight: (root?: Node) => Promise<void>;
|
|
1080
1101
|
|
|
1081
|
-
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, CODE_BLOCK_ATTRIBUTE, 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, DropdownMenuEmpty, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSearch, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatDate, type FormatDateDisplayMode, type FormatDateProps, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, PORTAL_ROOT_ID, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressIndicatorStep, type ProgressIndicatorStepProps, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, ScrollArea, ScrollBar, SearchBar, SectionHeading, type SegmentedControlOption, SegmentedControls, type SegmentedControlsDisplay, type SegmentedControlsProps, Select, SelectContent, SelectEmpty, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSearch, 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, scheduleHighlight, toast, useFormField, usePortalContainer, useTheme, useToast };
|
|
1102
|
+
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, CODE_BLOCK_ATTRIBUTE, 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, DropdownMenuEmpty, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSearch, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, type Elevation, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatDate, type FormatDateDisplayMode, type FormatDateProps, Heading, Icon, IconButton, type IconButtonProps, type IconProps, InfoCard, Input, type InputProps, Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, PORTAL_ROOT_ID, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressIndicatorStep, type ProgressIndicatorStepProps, RadialGraph, type RadialGraphProps, RadioDropdown, RadioGroup, RadioGroupItem, ResourceBadge, type ResourceDisplayMode, type ResourceType, ScrollArea, ScrollBar, SearchBar, SectionHeading, type SegmentedControlOption, SegmentedControls, type SegmentedControlsDisplay, type SegmentedControlsProps, Select, SelectContent, SelectEmpty, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSearch, 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, scheduleHighlight, toast, useDropdownMenuSearchQuery, useFormField, usePortalContainer, useSelectSearchQuery, useTheme, useToast };
|