@getsoren/design-system 4.56.1 → 4.57.0
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/main.cjs +24 -24
- package/dist/main.js +1975 -1993
- package/dist/src/components/DataDisplay/BookingTimeline/components/Rail.d.ts +0 -2
- package/dist/src/components/DataDisplay/Chat/components/ChatMessageBubble.d.ts +1 -1
- package/dist/src/components/DataDisplay/Chat/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
interface RailSegmentProps {
|
|
2
2
|
variant: "top" | "mid" | "bottom";
|
|
3
|
-
/** Vertical bounds of the node within the row: the rail leaves a real gap there instead of
|
|
4
|
-
* being masked, so it renders correctly on any background colour. */
|
|
5
3
|
gap: readonly [number, number];
|
|
6
4
|
}
|
|
7
5
|
/** Vertical rail of a node row, interrupted around the node. "top" starts below the node,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ChatMessageBubbleProps } from '../types';
|
|
2
|
-
declare const ChatMessageBubble: ({ isOwn, message, participants, avatarSrcResolver, renderAfterBubble, formatTime }: ChatMessageBubbleProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ChatMessageBubble: ({ isOwn, message, participants, avatarSrcResolver, renderAfterBubble, formatTime, hideAvatar, }: ChatMessageBubbleProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ChatMessageBubble;
|
|
@@ -100,6 +100,8 @@ export interface ChatMessageBubbleProps {
|
|
|
100
100
|
avatarSrcResolver?: (src?: string | null) => string | undefined;
|
|
101
101
|
renderAfterBubble?: (urls: string[]) => ReactNode;
|
|
102
102
|
formatTime?: (date: string) => string;
|
|
103
|
+
/** Hide the author avatar on received messages (e.g. single-author AI assistant chat) */
|
|
104
|
+
hideAvatar?: boolean;
|
|
103
105
|
}
|
|
104
106
|
export interface ChatMessageInputProps {
|
|
105
107
|
onSend: (message: string) => void;
|