From 887eb1a943f82c7ce8f0690b103029da356398c7 Mon Sep 17 00:00:00 2001
From: Xavier Abad <77491413+xabg2@users.noreply.github.com>
Date: Fri, 17 Jul 2026 14:28:10 +0200
Subject: [PATCH 1/2] fix: message cheap for tray messages
---
src/components/mail/cheaps/MessageCheap.tsx | 14 ++---
.../__snapshots__/MessageCheap.test.tsx.snap | 32 +++++-----
.../__snapshots__/TrayList.test.tsx.snap | 60 +++++++++++--------
3 files changed, 59 insertions(+), 47 deletions(-)
diff --git a/src/components/mail/cheaps/MessageCheap.tsx b/src/components/mail/cheaps/MessageCheap.tsx
index 8aa1476..872d274 100644
--- a/src/components/mail/cheaps/MessageCheap.tsx
+++ b/src/components/mail/cheaps/MessageCheap.tsx
@@ -58,20 +58,20 @@ const MessageCheap = ({ email, active, selected, participants, onClick, onSelect
{displayName}
+
{email.createdAt}
{email.subject}
-{email.body}
+{email.body}
should match snapshot 1`] = ` John Doe
2024-01-15
@@ -88,7 +90,7 @@ exports[`MessageCheap > should match snapshot 1`] = ` Test SubjectThis is a test email body
@@ -150,16 +152,16 @@ exports[`MessageCheap > should match snapshot 1`] = `should match snapshot 1`] = ` John Doe
2024-01-15
@@ -181,7 +185,7 @@ exports[`MessageCheap > should match snapshot 1`] = ` Test SubjectThis is a test email body
diff --git a/src/components/mail/tray/__test__/__snapshots__/TrayList.test.tsx.snap b/src/components/mail/tray/__test__/__snapshots__/TrayList.test.tsx.snap index e9bb95b..1eb42c3 100644 --- a/src/components/mail/tray/__test__/__snapshots__/TrayList.test.tsx.snap +++ b/src/components/mail/tray/__test__/__snapshots__/TrayList.test.tsx.snap @@ -53,16 +53,16 @@ exports[`TrayList > should match snapshot 1`] = `should match snapshot 1`] = ` John Doe
2024-01-15
@@ -84,7 +86,7 @@ exports[`TrayList > should match snapshot 1`] = ` Test Subject 1This is test email 1
@@ -132,13 +134,13 @@ exports[`TrayList > should match snapshot 1`] = `should match snapshot 1`] = ` Jane Smith
2024-01-16
@@ -160,7 +164,7 @@ exports[`TrayList > should match snapshot 1`] = ` Test Subject 2This is test email 2
@@ -222,16 +226,16 @@ exports[`TrayList > should match snapshot 1`] = `should match snapshot 1`] = ` John Doe
2024-01-15
@@ -253,7 +259,7 @@ exports[`TrayList > should match snapshot 1`] = ` Test Subject 1This is test email 1
@@ -301,13 +307,13 @@ exports[`TrayList > should match snapshot 1`] = `should match snapshot 1`] = ` Jane Smith
2024-01-16
@@ -329,7 +337,7 @@ exports[`TrayList > should match snapshot 1`] = ` Test Subject 2This is test email 2
From 3f9c034d7cbbd10c70a9ba392cab4468e22d2959 Mon Sep 17 00:00:00 2001 From: Xavier Abad <77491413+xabg2@users.noreply.github.com> Date: Fri, 17 Jul 2026 14:28:43 +0200 Subject: [PATCH 2/2] chore: update package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6787571..b16fa93 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@internxt/ui", - "version": "0.1.25", + "version": "0.1.26", "description": "Library of Internxt components", "repository": { "type": "git",