@tetrascience-npm/tetrascience-react-ui 0.5.0-beta.50.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/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 +22 -0
- package/dist/index.js +589 -586
- 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
|
@@ -2512,6 +2512,28 @@ export declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelPro
|
|
|
2512
2512
|
|
|
2513
2513
|
export declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): JSX.Element;
|
|
2514
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
|
+
|
|
2515
2537
|
export declare interface ScatterDataPoint {
|
|
2516
2538
|
x: number;
|
|
2517
2539
|
y: number;
|