Skip to content

v0.0.223

Choose a tag to compare

@ncamera ncamera released this 15 Sep 18:33
· 51 commits to main since this release

Mercury 0.31.0

  • [chat] Added official styles for the Chat component, improved markdown-viewer styles and added assistant-fill icon by @bsastregx in #594

  • [combo-box][pill] Fixed the popover max size not working in some situations for the combo-box and pill components by @ncamera in #637

Chat

  • Add a custom item render for the renderItem property. Some features that the mercury custom item render includes are:

    • Styles for differentiating error, warning, and success status messsages.
    • A "header" for the assistant message, that displays an avatar, the assistant name, and the message time.
    • A "copy" button for copying the message.
    • A classical "three dots" animation for the "waiting" message type.
  • A MercuryMessageMetadata type for the ChatMessage metadata is now exported in @genexus/mercury:

    type MercuryChatMessageMetadata = {
      agentName: string;
      time?: string;
    }
  • Improved code block styles

    Before After
    code-block-before code-block-after
  • Support for uploading files (audio, video, image, and application/file)
    chat -files

Markdown viewer

  • Styles for the markdown viewer has been improved to match the Figma designs.

Breaking Changes

Mercury

Important

Use @genexus/chameleon-controls-library version >= 6.22.1

  • The size of the markdown-viewer headings has been reduced.

Full Changelog: v0.0.220...v0.0.222