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