Custom and net-new: ChatMessage
Everything in this proposal that is not plain PDS v2. npm run check:tokens reads this file: each net-new class, custom CSS variable and raw value found in the code must appear here in backticks.
Net-new components
.pds-chat-message—ChatMessage, withsender:useroragent.- Parts and modifiers:
.pds-chat-message--agent,.pds-chat-message--user,.pds-chat-message__content
- Parts and modifiers:
.pds-chat-message-list—ChatMessage, withsender:useroragent.
Additions to existing PDS components
None.
Net-new props
All props of ChatMessageProps are new (net-new component).
Custom CSS variables
--chat-message-list-gap— set on.pds-chat-message-list--chat-message-max-width— set on.pds-chat-message
Raw values kept on purpose
None.