Composites
Comment
Shows one comment, with who wrote it, their role, when, and what they said, in a thread or a table cell, and whether it was edited or revoked.
Unreleased
These changes are merged and will be in the next release of the packages.
- Comment:
status="revoked"strikes a comment's text through, mutes it and starts it with "Revoked:" for a screen reader, andCommentRevokedsays who revoked it and when, with an icon, or the icon and "Revoked" in a compact comment.CommentEditedsays a comment was edited, andCommentActionsholds its author's actions, such as Edit, Delete and Revoke, and is hidden in a compact comment. A compact comment's text can take two lines withlines={2}.CommentProvenanceworks with every state. Its grade stays tested. - Add Comment, one comment with its author, role, time and text.
Comment,CommentHeader,CommentAuthor,CommentRole,CommentTimeandCommentTextlay it out for a thread, andCommentListis the thread, anol. Withsize="compact"it fits two lines of a table cell: the text cut to one line, then the author and time, with the role left out.CommentProvenancemarks a comment an AI drafted, with what drafted it, who reviewed it, and its sources, or "No source", and stays after review. The middle dots between the header's parts are hidden from a screen reader.