v2.0.0-beta.14
Fixed:
- Fixed an issue where having multiple chatbots can cause styling conflicts with themes
- Fixed an issue where
removeMessage
was not working due to outdated messages state - Fixed an issue where
defaultToggledOn
property forvoice
did not properly register voice inputs - Fixed an issue where setting
defaultOpen
totrue
forchatWindow
does not make it open by default - Fixed an issue where toggling open the chat window does not emit its associated event
- Fixed a rare issue where spamming messages too fast can cause autoscroll to bottom to not work properly
- Fixed notification badge style to prevent it from becoming oval-shaped
- Fixed an issue with the library packaging process, reduces overall size by nearly 60%!
- Renamed
useToast
hook touseToasts
for consistency
Added:
- Added proper support for React 19!
- Added a new
ariaLabel
section to improve accessibility support - Added a new
useChatHistory
hook that provides 3 new actions (showChatHistory
,getHistoryMessages
andsetHistoryMessages
) - Added a new
sendButtonDisabledStyle
(send button is now properly disabled when textarea is disabled as well) - Improved localised styling of chatbots to reduce conflicts with host websites (and with other chatbots)
Note:
This update brings about a couple of fantastic improvements - drastically reduced library size (by nearly 60%), React 19 support, improved localised styles and better accessibility support!