@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.
@@ -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;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@getsoren/design-system",
3
3
  "description": "Design System React library",
4
4
  "sideEffects": false,
5
- "version": "4.56.1",
5
+ "version": "4.57.0",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",