From 37b6ab264472c8a10493bfbfeea39c2c904fc8cf Mon Sep 17 00:00:00 2001 From: SriHV Date: Tue, 14 Jan 2025 13:38:26 +0000 Subject: [PATCH] changes as per comments --- src/components/message-list/_macro-options.md | 2 +- src/components/message-list/_macro.njk | 5 +- src/components/message-list/_macro.spec.js | 73 ++++++++++++++++--- .../example-message-list.njk | 1 - 4 files changed, 67 insertions(+), 14 deletions(-) diff --git a/src/components/message-list/_macro-options.md b/src/components/message-list/_macro-options.md index 7459f791b4..8db43366cf 100644 --- a/src/components/message-list/_macro-options.md +++ b/src/components/message-list/_macro-options.md @@ -7,7 +7,7 @@ | fromLabel | string | true | The visually hidden screen reader “From” prefix for each message metadata information | | dateLabel | string | true | The visually hidden screen reader “Sent” prefix for each message metadata information | | hiddenReadLabel | string | true | The visually hidden screen reader “Read the message” prefix for each visually hidden link to the message conversation thread | -| bodyLabel | string | true | (NEW) The visually hidden screen reader "body" prefix for message body | +| bodyLabel | string | false | (NEW) The visually hidden screen reader "body" prefix for message body | | messages | `Array` | true | Settings for each [message item](#message) | ## Message diff --git a/src/components/message-list/_macro.njk b/src/components/message-list/_macro.njk index 76fc53508b..efbb448335 100644 --- a/src/components/message-list/_macro.njk +++ b/src/components/message-list/_macro.njk @@ -16,10 +16,11 @@ {{ message.dateText }}