@tetrascience-npm/tetrascience-react-ui 0.5.0-beta.49.1 → 0.5.0-beta.51.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/components/composed/EmptyState/EmptyState.cjs +2 -0
- package/dist/components/composed/EmptyState/EmptyState.cjs.map +1 -0
- package/dist/components/composed/EmptyState/EmptyState.js +64 -0
- package/dist/components/composed/EmptyState/EmptyState.js.map +1 -0
- package/dist/components/composed/RichListItem/RichListItem.cjs +2 -0
- package/dist/components/composed/RichListItem/RichListItem.cjs.map +1 -0
- package/dist/components/composed/RichListItem/RichListItem.js +64 -0
- package/dist/components/composed/RichListItem/RichListItem.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +34 -0
- package/dist/index.js +589 -584
- package/dist/index.js.map +1 -1
- package/dist/index.tailwind.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1286,6 +1286,18 @@ export declare function DropdownMenuSubTrigger({ className, inset, children, ...
|
|
|
1286
1286
|
|
|
1287
1287
|
export declare function DropdownMenuTrigger({ ...props }: React_2.ComponentProps<typeof DropdownMenu_2.Trigger>): JSX.Element;
|
|
1288
1288
|
|
|
1289
|
+
export declare function EmptyState({ variant, title, description, icon, action, className, ...props }: EmptyStateProps): JSX.Element;
|
|
1290
|
+
|
|
1291
|
+
export declare interface EmptyStateProps extends React_2.ComponentProps<"div"> {
|
|
1292
|
+
variant?: EmptyStateVariant;
|
|
1293
|
+
title?: string;
|
|
1294
|
+
description?: string;
|
|
1295
|
+
icon?: LucideIcon | React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
1296
|
+
action?: React_2.ReactNode;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
export declare type EmptyStateVariant = "no-data" | "no-results" | "no-access" | "empty-folder" | "server-error";
|
|
1300
|
+
|
|
1289
1301
|
export declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): JSX.Element;
|
|
1290
1302
|
|
|
1291
1303
|
export declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
@@ -2500,6 +2512,28 @@ export declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelPro
|
|
|
2500
2512
|
|
|
2501
2513
|
export declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): JSX.Element;
|
|
2502
2514
|
|
|
2515
|
+
export declare function RichListItem({ leading, primary, secondary, trailing, actions, className, variant, size, ...props }: RichListItemProps): JSX.Element;
|
|
2516
|
+
|
|
2517
|
+
export declare function RichListItemAvatar({ initials, className, fallbackClassName, size, ...props }: RichListItemAvatarProps): JSX.Element;
|
|
2518
|
+
|
|
2519
|
+
export declare interface RichListItemAvatarProps extends Omit<React_2.ComponentProps<typeof Avatar>, "children"> {
|
|
2520
|
+
initials: string;
|
|
2521
|
+
fallbackClassName?: string;
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2524
|
+
export declare interface RichListItemProps extends Omit<React_2.ComponentProps<typeof Item>, "asChild" | "children"> {
|
|
2525
|
+
/** Slot before the text content — typically an avatar or icon. */
|
|
2526
|
+
leading?: React_2.ReactNode;
|
|
2527
|
+
/** Primary line of text. Truncates to a single line. */
|
|
2528
|
+
primary: React_2.ReactNode;
|
|
2529
|
+
/** Secondary line of text shown beneath `primary`. Truncates to a single line. */
|
|
2530
|
+
secondary?: React_2.ReactNode;
|
|
2531
|
+
/** Right-aligned supplemental content (badges, timestamps) shown above `actions`. */
|
|
2532
|
+
trailing?: React_2.ReactNode;
|
|
2533
|
+
/** Right-aligned interactive controls (buttons, menus). */
|
|
2534
|
+
actions?: React_2.ReactNode;
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2503
2537
|
export declare interface ScatterDataPoint {
|
|
2504
2538
|
x: number;
|
|
2505
2539
|
y: number;
|