@connectycube/chat-widget 0.25.0 → 0.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/index.es.js +10872 -10895
  3. package/dist/index.umd.js +57 -49
  4. package/dist/react19/index.es.js +10409 -10432
  5. package/dist/react19/types/App.d.ts +2 -0
  6. package/dist/react19/types/components/home/main/chat-messages-list.d.ts +6 -0
  7. package/dist/react19/types/components/home/main/message/message.d.ts +3 -3
  8. package/dist/react19/types/components/widget/widget-overlay.d.ts +7 -0
  9. package/dist/react19/types/components/widget/widget-portal.d.ts +1 -0
  10. package/dist/react19/types/components/widget/widget-shadow-root.d.ts +0 -1
  11. package/dist/react19/types/helpers/widget.d.ts +6 -0
  12. package/dist/react19/types/hooks/index.d.ts +0 -1
  13. package/dist/react19/types/hooks/store/useAppInterfaceStore.d.ts +0 -3
  14. package/dist/react19/types/hooks/useAppPresets.d.ts +1 -1
  15. package/dist/react19/types/hooks/useNotification.d.ts +2 -1
  16. package/dist/types/App.d.ts +2 -0
  17. package/dist/types/components/home/main/chat-messages-list.d.ts +6 -0
  18. package/dist/types/components/home/main/message/message.d.ts +3 -3
  19. package/dist/types/components/widget/widget-overlay.d.ts +7 -0
  20. package/dist/types/components/widget/widget-portal.d.ts +1 -0
  21. package/dist/types/components/widget/widget-shadow-root.d.ts +0 -1
  22. package/dist/types/helpers/widget.d.ts +6 -0
  23. package/dist/types/hooks/index.d.ts +0 -1
  24. package/dist/types/hooks/store/useAppInterfaceStore.d.ts +0 -3
  25. package/dist/types/hooks/useAppPresets.d.ts +1 -1
  26. package/dist/types/hooks/useNotification.d.ts +2 -1
  27. package/package.json +38 -38
  28. package/dist/react19/types/hooks/useDetectClickOutside.d.ts +0 -10
  29. package/dist/types/hooks/useDetectClickOutside.d.ts +0 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.26.1
4
+
5
+ ### Misc
6
+
7
+ - Set `max-width: 360px` for sidebar
8
+ - Opponent messages in group chats are now grouped
9
+ - User status is only shown to online users
10
+ - Show's a notification about total unread messages count after the chat was reconnected
11
+
12
+ ### Bug fixes
13
+
14
+ - Now refreshes chat list after reconnecting
15
+
16
+ ## 0.26.0
17
+
18
+ ### Features
19
+
20
+ - Shows overlay while the chat widget is open
21
+ - new prop `disableEscKeyPress` to disable closing the chat widget by pressing "esc" button. Default is **false**
22
+ - new prop `overlayStyle` to customize the overlay
23
+
24
+ ### Bug fixes
25
+
26
+ - `defaultChat`: error happens if open chat widget quickly after page refresh
27
+ - Fixed embedded mode
28
+ - Prevent click-outside and lock-scroll in embedded mode
29
+ - The attachment button "cursor-pointer" style is broken
30
+ - The `window.ConnectyCubeChatWidget.toggle()` function was fixed for UMD build (Vanilla JS)
31
+
3
32
  ## 0.25.0
4
33
 
5
34
  ### Features