Chat Log
Chat log is a collection of components that allow users to read a series of messages over time.
b8d79200b
#3442 Thanks @TheSisb! - Removed all run-time prop-type checkingfrom Paste components. Paste now ships with only TypeScript types.ACTION NEEDED: None. This should be 100% backwards compatible.
c72b4b538
#3426 Thanks @SiTaggart! - [Chat Log] Better handling of user generated text with line breaks and forward Refs to the ChatLogger component for better control over displaying chat messages
733709127
#3395 Thanks @SiTaggart! - Modified the compile target of our JavaScript bundles fromnode
tobrowser
to minimize the risk of clashing with RequireJS. This is marked as a major out of an abundance of caution. You shouldn't need to do anything but we wanted you to be aware of the change on the off chance it has unintended consequences
- Updated dependencies [
733709127
]:- @twilio-paste/uid-library@2.0.0
- @twilio-paste/color-contrast-utils@5.0.0
- @twilio-paste/anchor@12.0.0
- @twilio-paste/button@14.0.0
- @twilio-paste/screen-reader-only@13.0.0
- @twilio-paste/spinner@14.0.0
- @twilio-paste/truncate@14.0.0
- @twilio-paste/media-object@10.0.0
- @twilio-paste/stack@8.0.0
- @twilio-paste/box@10.0.0
- @twilio-paste/text@10.0.0
- @twilio-paste/customization@8.0.0
- @twilio-paste/design-tokens@10.0.0
- @twilio-paste/icons@12.0.0
- @twilio-paste/animation-library@2.0.0
- @twilio-paste/styling-library@3.0.0
- @twilio-paste/style-props@9.0.0
- @twilio-paste/theme@11.0.0
- @twilio-paste/types@6.0.0
be917a43f
#3271 Thanks @TheSisb! - [Chat Log]useChatLogger
now exposes aclear
function to clear all chats at once. Also, the animations have been slightly adjusted.
3ab2bb6f4
#3114 Thanks @SiTaggart! - ### Breaking changeWe have moved
@types/react
and@types/react-dom
to peer dependencies of the library. This should allow for greater control and backwards compatibility with older versions of React as Paste is no longer bundling the type libraries.Your application likely has both of these as dependencies anyway, but it is now up to you to manage that version number.
Action needed
Ensure
@types/react
and@types/react-dom
are installed as dependencies of your application.
3ab2bb6f4
#3114 Thanks @SiTaggart! - [Chat log] Improved typing on the forwarded element from ChatAttachmentLinkUpdated dependencies [
6730aac19
,1d75f223e
,3ab2bb6f4
,50cde4668
,bce889344
,3ab2bb6f4
,3ab2bb6f4
,3ab2bb6f4
]:- @twilio-paste/button@13.0.0
- @twilio-paste/icons@11.0.0
- @twilio-paste/anchor@11.0.0
- @twilio-paste/theme@10.0.0
- @twilio-paste/box@9.0.0
- @twilio-paste/text@9.0.0
- @twilio-paste/screen-reader-only@12.0.0
- @twilio-paste/spinner@13.0.0
- @twilio-paste/truncate@13.0.0
- @twilio-paste/media-object@9.0.0
- @twilio-paste/stack@7.0.0
- @twilio-paste/customization@7.0.0
- @twilio-paste/style-props@8.0.0
- @twilio-paste/types@5.0.0
d97098846
#3020 Thanks @SiTaggart! - This major version included listing all the missing peer dependencies for each Paste package.If you are using a package from Paste in isolation from Core, when upgrading to this latest version, be sure to correctly install all the missing peer dependencies.
- Updated dependencies [
154b02c06
,dbd9bf992
,3c89fd83d
,d97098846
,0acdf3486
,ef094db4a
,0acdf3486
]:- @twilio-paste/anchor@10.0.0
- @twilio-paste/design-tokens@9.0.0
- @twilio-paste/button@12.0.0
- @twilio-paste/screen-reader-only@11.0.0
- @twilio-paste/spinner@12.0.0
- @twilio-paste/truncate@12.0.0
- @twilio-paste/media-object@8.0.0
- @twilio-paste/stack@6.0.0
- @twilio-paste/box@8.0.0
- @twilio-paste/text@8.0.0
- @twilio-paste/customization@6.0.0
- @twilio-paste/icons@10.0.0
- @twilio-paste/animation-library@1.0.0
- @twilio-paste/styling-library@2.0.0
- @twilio-paste/uid-library@1.0.0
- @twilio-paste/style-props@7.0.0
- @twilio-paste/theme@9.0.0
- @twilio-paste/types@4.0.0
- @twilio-paste/color-contrast-utils@4.0.0
b742fa207
#2859 Thanks @shleewhite! - [Chat Log] refactor styles to use row gap instead of margin bottom
80cb7ceb8
#2793 Thanks @jb-twilio! - [ChatLog]: add useChatLogger hook
9c85685cb
#2825 Thanks @shleewhite! - [Chat Log] refactored a ChatAttachment story
a4c9e70b0
#2763 Thanks @shleewhite! - Update ESLint rules, which changed some formatting.
114e80db7
#2693 Thanks @shleewhite! - [Chat Message] hug the width of the ChatBubble to the width of the message
a890926a6
#2651 Thanks @SiTaggart! - [Chat Log]: replaces the deprecated CloseCircleIcon with ClearIcon in the ComposerAttachment component
- Updated dependencies [
12c4ba22a
,364083627
,364083627
,364083627
,ee2e535e9
,364083627
]:- @twilio-paste/box@7.0.0
- @twilio-paste/style-props@6.0.0
- @twilio-paste/design-tokens@8.0.0
- @twilio-paste/theme@8.0.0
- @twilio-paste/button@11.0.0
- @twilio-paste/anchor@9.0.0
- @twilio-paste/screen-reader-only@10.0.0
- @twilio-paste/truncate@11.0.0
- @twilio-paste/media-object@7.0.0
- @twilio-paste/text@7.0.0
- @twilio-paste/customization@5.0.0
- @twilio-paste/icons@9.0.0
f9796f1ce
#2520 Thanks @gloriliale! - [Chat Log] Add new components for related to events and bookends:- ChatBookend
- ChatBookendItem
- ChatEvent
39cfc65ea
#2489 Thanks @shleewhite! - [Chat Log] add a ChatLog component
0aa52162
#2501 Thanks @gloriliale! - [Chat log] Add several new components related to displaying attachments:- ComposerAttachmentCard
- ChatAttachment
- ChatAttachmentLink
- ChatAttachmentDescription
a8ad034fe
#2509 Thanks @shleewhite! - [Chat Log] Move types and styles to the component files
ae9dd50f
#2466 Thanks @TheSisb! - [All packages] Update our ESBuild version and remove minification of identifiers in our production builds.
- Updated dependencies [
09762f0f
,09762f0f1
]:- @twilio-paste/box@6.0.0
- @twilio-paste/theme@7.0.0
- @twilio-paste/customization@4.0.0
- @twilio-paste/style-props@5.0.0
f76b99d45
#2334 Thanks @shleewhite! - [ChatLog] add ChatMessageMeta and ChatMessageMetaItem components
3b467fd60
#2319 Thanks @shleewhite! - [Chat Log] create new package with ChatBubble and ChatMessage components