@landtrustinc/design-system 1.2.45 → 1.2.47
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 +10 -2
- package/dist/index.js +355 -315
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1219,7 +1219,7 @@ type AvailabilityBadgeProps = {
|
|
|
1219
1219
|
};
|
|
1220
1220
|
declare const AvailabilityBadge: FC<PropsWithChildren<AvailabilityBadgeProps>>;
|
|
1221
1221
|
|
|
1222
|
-
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1222
|
+
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
1223
1223
|
type AvatarType = 'image' | 'text';
|
|
1224
1224
|
type AvatarProps = {
|
|
1225
1225
|
/**
|
|
@@ -1371,6 +1371,14 @@ type MessageBubbleProps = {
|
|
|
1371
1371
|
* Optional timestamp to display
|
|
1372
1372
|
*/
|
|
1373
1373
|
timestamp?: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* Optional avatar image URL
|
|
1376
|
+
*/
|
|
1377
|
+
avatarSrc?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Optional author name to display
|
|
1380
|
+
*/
|
|
1381
|
+
author?: string;
|
|
1374
1382
|
/**
|
|
1375
1383
|
* Additional CSS class names
|
|
1376
1384
|
*/
|
|
@@ -1380,7 +1388,7 @@ type MessageBubbleProps = {
|
|
|
1380
1388
|
*/
|
|
1381
1389
|
children?: React__default.ReactNode;
|
|
1382
1390
|
};
|
|
1383
|
-
declare const MessageBubble: ({ variant, timestamp, className, children, }: MessageBubbleProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1391
|
+
declare const MessageBubble: ({ variant, timestamp, avatarSrc, author, className, children, }: MessageBubbleProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1384
1392
|
|
|
1385
1393
|
type ChatWidgetMessage = React__default.ReactElement<React__default.ComponentProps<typeof AIResponse>, typeof AIResponse> | React__default.ReactElement<React__default.ComponentProps<typeof MessageBubble>, typeof MessageBubble>;
|
|
1386
1394
|
type SuggestedPrompt = {
|