@tetrascience-npm/tetrascience-react-ui 0.5.0-beta.50.1 → 0.5.0-beta.52.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/index.d.ts CHANGED
@@ -945,6 +945,32 @@ export declare const ConfirmationTitle: ({ className, children, ...props }: Conf
945
945
 
946
946
  export declare type ConfirmationTitleProps = PropsWithChildren<ComponentProps<"h3">>;
947
947
 
948
+ export declare function ConfirmDialog({ title, description, variant, confirmLabel, cancelLabel, onConfirm, onCancel, open, onOpenChange, trigger, loading, }: ConfirmDialogProps): JSX.Element;
949
+
950
+ declare interface ConfirmDialogBaseProps {
951
+ title: string;
952
+ description?: string;
953
+ variant?: "default" | "destructive";
954
+ confirmLabel?: string;
955
+ cancelLabel?: string;
956
+ onConfirm?: () => void;
957
+ onCancel?: () => void;
958
+ trigger?: React_2.ReactElement;
959
+ loading?: boolean;
960
+ }
961
+
962
+ declare type ConfirmDialogControlledProps = ConfirmDialogBaseProps & {
963
+ open: boolean;
964
+ onOpenChange: (open: boolean) => void;
965
+ };
966
+
967
+ export declare type ConfirmDialogProps = ConfirmDialogControlledProps | ConfirmDialogUncontrolledProps;
968
+
969
+ declare type ConfirmDialogUncontrolledProps = ConfirmDialogBaseProps & {
970
+ open?: never;
971
+ onOpenChange?: never;
972
+ };
973
+
948
974
  export declare const Context: ({ usedTokens, maxTokens, usage, cost, ...props }: ContextProps) => JSX.Element;
949
975
 
950
976
  export declare const ContextCacheUsage: ({ className, children, ...props }: ContextCacheUsageProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | JSX.Element | null;
@@ -2512,6 +2538,28 @@ export declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelPro
2512
2538
 
2513
2539
  export declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): JSX.Element;
2514
2540
 
2541
+ export declare function RichListItem({ leading, primary, secondary, trailing, actions, className, variant, size, ...props }: RichListItemProps): JSX.Element;
2542
+
2543
+ export declare function RichListItemAvatar({ initials, className, fallbackClassName, size, ...props }: RichListItemAvatarProps): JSX.Element;
2544
+
2545
+ export declare interface RichListItemAvatarProps extends Omit<React_2.ComponentProps<typeof Avatar>, "children"> {
2546
+ initials: string;
2547
+ fallbackClassName?: string;
2548
+ }
2549
+
2550
+ export declare interface RichListItemProps extends Omit<React_2.ComponentProps<typeof Item>, "asChild" | "children"> {
2551
+ /** Slot before the text content — typically an avatar or icon. */
2552
+ leading?: React_2.ReactNode;
2553
+ /** Primary line of text. Truncates to a single line. */
2554
+ primary: React_2.ReactNode;
2555
+ /** Secondary line of text shown beneath `primary`. Truncates to a single line. */
2556
+ secondary?: React_2.ReactNode;
2557
+ /** Right-aligned supplemental content (badges, timestamps) shown above `actions`. */
2558
+ trailing?: React_2.ReactNode;
2559
+ /** Right-aligned interactive controls (buttons, menus). */
2560
+ actions?: React_2.ReactNode;
2561
+ }
2562
+
2515
2563
  export declare interface ScatterDataPoint {
2516
2564
  x: number;
2517
2565
  y: number;