@nodeblocks/frontend-chat-conversation-block 0.2.0 → 0.2.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/index.esm.js CHANGED
@@ -8347,12 +8347,12 @@ ChatConversation.Heading = (props) => {
8347
8347
  },
8348
8348
  avatarIsLoading && { bgcolor: 'grey.50' },
8349
8349
  ...(Array.isArray(avatarSx) ? avatarSx : avatarSx ? [avatarSx] : []),
8350
- ], ...avatarProps })), jsx(Typography, { variant: "h5", noWrap: true, className: classNames('nbb-chat-conversation-heading-text'), sx: { flexGrow: 1 }, children: labels?.chatViewHeadingText }), jsx(Button, { variant: "outlined", size: "small", component: "a", href: chatView?.heading?.buttonHref, onClick: (e) => {
8350
+ ], ...avatarProps })), jsx(Typography, { variant: "h5", noWrap: true, className: classNames('nbb-chat-conversation-heading-text'), sx: { flexGrow: 1 }, children: labels?.chatViewHeadingText }), jsx(Button, { variant: "outlined", size: "medium", component: "a", href: chatView?.heading?.buttonHref, onClick: (e) => {
8351
8351
  if (chatView?.heading?.buttonHref && onNavigate) {
8352
8352
  e.preventDefault();
8353
8353
  onNavigate(chatView.heading.buttonHref);
8354
8354
  }
8355
- }, sx: { fontWeight: 'light' }, children: labels?.chatViewHeadingButtonText })] })) }));
8355
+ }, sx: { fontWeight: 'light', px: 2 }, children: labels?.chatViewHeadingButtonText })] })) }));
8356
8356
  };
8357
8357
  ChatConversation.Body = (props) => {
8358
8358
  const { className, chatView, onNavigate, commentInput, onMessageSubmit, onInputChange, placeholders, commentSubmitButton, messages = [], } = deepMerge(useChatConversationContext(), props);