@connectycube/chat-widget 0.32.1 → 0.34.0
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.
- package/CHANGELOG.md +56 -256
- package/README.md +3 -1
- package/dist/index.es.js +7088 -19761
- package/dist/index.umd.js +152 -60
- package/dist/{react19/index.es.js → react19.es.js} +4986 -17659
- package/dist/types/components/home/main/ai-dropdown-menu/ai-dropdown-change-tone.d.ts +14 -0
- package/dist/types/components/home/main/ai-dropdown-menu/ai-dropdown-get-summary.d.ts +11 -0
- package/dist/types/components/home/main/chat-ai-button.d.ts +8 -0
- package/dist/types/components/home/main/chat-input-file.d.ts +6 -0
- package/dist/types/components/home/main/chat-input.d.ts +1 -0
- package/dist/types/components/home/main/chat-messages-list.d.ts +1 -0
- package/dist/types/components/home/main/message/call-message.d.ts +13 -0
- package/dist/types/components/home/main/message/message-text-summary.d.ts +8 -0
- package/dist/types/components/home/main/message/message.d.ts +1 -0
- package/dist/types/components/home/main/single-view-form.d.ts +5 -0
- package/dist/types/components/shadcn-ui/card.d.ts +9 -0
- package/dist/types/components/shadcn-ui/checkbox.d.ts +4 -0
- package/dist/types/components/shadcn-ui/class-names.d.ts +50 -0
- package/dist/types/components/shadcn-ui/skeleton.d.ts +2 -0
- package/dist/types/components/widget/widget-app.d.ts +1 -0
- package/dist/types/components/widget/widget-auth.d.ts +2 -0
- package/dist/types/components/widget/widget-error.d.ts +2 -0
- package/dist/types/helpers/connectycube.d.ts +10 -1
- package/dist/types/helpers/formatters.d.ts +1 -0
- package/dist/types/helpers/i18n.d.ts +5 -0
- package/dist/types/helpers/widget.d.ts +22 -0
- package/dist/types/hooks/index.d.ts +3 -1
- package/dist/types/hooks/store/useAppAIStore.d.ts +18 -0
- package/dist/types/hooks/store/useAppDefaultChatStore.d.ts +15 -2
- package/dist/types/hooks/store/useAppInterfaceStore.d.ts +6 -0
- package/dist/types/hooks/store/useAppNotificationStore.d.ts +2 -2
- package/dist/types/hooks/store/useAppSettingsStore.d.ts +13 -4
- package/dist/types/hooks/useAppAuthorization.d.ts +2 -1
- package/dist/types/hooks/useAppPresets.d.ts +13 -3
- package/dist/types/hooks/useCallHistory.d.ts +15 -0
- package/dist/types/locales/el/translation.json.d.ts +59 -1
- package/dist/types/locales/en/translation.json.d.ts +59 -1
- package/dist/types/locales/ua/translation.json.d.ts +59 -1
- package/package.json +49 -39
- package/dist/react19/connectycube-chat-widget-sw.js +0 -44
- package/dist/react19/logo.png +0 -0
- package/dist/react19/types/App.d.ts +0 -23
- package/dist/react19/types/components/calls/calls-confirm-incoming.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-fullscreen-stream.d.ts +0 -6
- package/dist/react19/types/components/calls/calls-header-buttons.d.ts +0 -3
- package/dist/react19/types/components/calls/calls-modal-screen.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-buttons.d.ts +0 -5
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-hung-up.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-screen-share.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-toggle-camera.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-toggle-mic.d.ts +0 -2
- package/dist/react19/types/components/home/home.d.ts +0 -2
- package/dist/react19/types/components/home/main/chat-header/chat-header-avatar.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header-back-button.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header-buttons.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header-titles.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-info-members.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-info-user.d.ts +0 -7
- package/dist/react19/types/components/home/main/chat-input.d.ts +0 -8
- package/dist/react19/types/components/home/main/chat-messages-list.d.ts +0 -6
- package/dist/react19/types/components/home/main/group-member.d.ts +0 -8
- package/dist/react19/types/components/home/main/main.d.ts +0 -2
- package/dist/react19/types/components/home/main/message/message-attachment.d.ts +0 -9
- package/dist/react19/types/components/home/main/message/message-body.d.ts +0 -6
- package/dist/react19/types/components/home/main/message/message-status-mark.d.ts +0 -6
- package/dist/react19/types/components/home/main/message/message-url-preview.d.ts +0 -7
- package/dist/react19/types/components/home/main/message/message.d.ts +0 -15
- package/dist/react19/types/components/home/main/my-profile/my-block-list-item.d.ts +0 -7
- package/dist/react19/types/components/home/main/my-profile/my-block-list.d.ts +0 -3
- package/dist/react19/types/components/home/main/my-profile/my-profile-settings.d.ts +0 -2
- package/dist/react19/types/components/home/main/my-profile/my-profile.d.ts +0 -3
- package/dist/react19/types/components/home/main/profile-info.d.ts +0 -6
- package/dist/react19/types/components/home/main/quick-actions.d.ts +0 -5
- package/dist/react19/types/components/home/main/report-user-dialog.d.ts +0 -6
- package/dist/react19/types/components/home/main/user-status/user-status-badge.d.ts +0 -7
- package/dist/react19/types/components/home/main/user-status/user-status-select.d.ts +0 -3
- package/dist/react19/types/components/home/main/user-status/user-status.d.ts +0 -6
- package/dist/react19/types/components/home/sidebar/chat-item.d.ts +0 -8
- package/dist/react19/types/components/home/sidebar/chats-list.d.ts +0 -3
- package/dist/react19/types/components/home/sidebar/new-chat/create-group-chat/create-group-chat.d.ts +0 -8
- package/dist/react19/types/components/home/sidebar/new-chat/create-group-chat/participant.d.ts +0 -7
- package/dist/react19/types/components/home/sidebar/new-chat/new-chat-dialog.d.ts +0 -9
- package/dist/react19/types/components/home/sidebar/new-chat/searched-user.d.ts +0 -13
- package/dist/react19/types/components/home/sidebar/sidebar.d.ts +0 -2
- package/dist/react19/types/components/home/sidebar/tabs/chats-tab.d.ts +0 -2
- package/dist/react19/types/components/home/sidebar/tabs/users-tab.d.ts +0 -2
- package/dist/react19/types/components/home/sidebar/user-item.d.ts +0 -9
- package/dist/react19/types/components/home/sidebar/users-list.d.ts +0 -6
- package/dist/react19/types/components/shadcn-ui/alert-dialog.d.ts +0 -14
- package/dist/react19/types/components/shadcn-ui/avatar.d.ts +0 -6
- package/dist/react19/types/components/shadcn-ui/badge.d.ts +0 -9
- package/dist/react19/types/components/shadcn-ui/button.d.ts +0 -10
- package/dist/react19/types/components/shadcn-ui/dialog.d.ts +0 -13
- package/dist/react19/types/components/shadcn-ui/dropdown-menu.d.ts +0 -25
- package/dist/react19/types/components/shadcn-ui/input.d.ts +0 -3
- package/dist/react19/types/components/shadcn-ui/label.d.ts +0 -4
- package/dist/react19/types/components/shadcn-ui/sonner.d.ts +0 -3
- package/dist/react19/types/components/shadcn-ui/switch.d.ts +0 -4
- package/dist/react19/types/components/shadcn-ui/tabs.d.ts +0 -7
- package/dist/react19/types/components/shadcn-ui/tooltip.d.ts +0 -7
- package/dist/react19/types/components/shared/alert-busy.d.ts +0 -2
- package/dist/react19/types/components/shared/avatar.d.ts +0 -15
- package/dist/react19/types/components/shared/chat-status-mark.d.ts +0 -2
- package/dist/react19/types/components/shared/confirmation-alert.d.ts +0 -8
- package/dist/react19/types/components/shared/empty-content-placeholder.d.ts +0 -7
- package/dist/react19/types/components/shared/loader.d.ts +0 -5
- package/dist/react19/types/components/widget/widget-app.d.ts +0 -8
- package/dist/react19/types/components/widget/widget-button.d.ts +0 -9
- package/dist/react19/types/components/widget/widget-calls.d.ts +0 -2
- package/dist/react19/types/components/widget/widget-messages-badge.d.ts +0 -5
- package/dist/react19/types/components/widget/widget-online-badge.d.ts +0 -5
- package/dist/react19/types/components/widget/widget-overlay.d.ts +0 -7
- package/dist/react19/types/components/widget/widget-portal.d.ts +0 -8
- package/dist/react19/types/components/widget/widget-shadow-root.d.ts +0 -6
- package/dist/react19/types/helpers/connectycube.d.ts +0 -47
- package/dist/react19/types/helpers/debounce.d.ts +0 -3
- package/dist/react19/types/helpers/i18n.d.ts +0 -2
- package/dist/react19/types/helpers/notifications.d.ts +0 -11
- package/dist/react19/types/helpers/throttle.d.ts +0 -3
- package/dist/react19/types/helpers/widget.d.ts +0 -9
- package/dist/react19/types/hooks/index.d.ts +0 -23
- package/dist/react19/types/hooks/store/useActiveTabsStore.d.ts +0 -15
- package/dist/react19/types/hooks/store/useAlertBusyStore.d.ts +0 -11
- package/dist/react19/types/hooks/store/useAppDefaultChatStore.d.ts +0 -21
- package/dist/react19/types/hooks/store/useAppInterfaceStore.d.ts +0 -31
- package/dist/react19/types/hooks/store/useAppNotificationStore.d.ts +0 -34
- package/dist/react19/types/hooks/store/useAppQuickActionsStore.d.ts +0 -17
- package/dist/react19/types/hooks/store/useAppSettingsStore.d.ts +0 -37
- package/dist/react19/types/hooks/store/useDraftMessagesStore.d.ts +0 -14
- package/dist/react19/types/hooks/store/useLinkPreviewStore.d.ts +0 -18
- package/dist/react19/types/hooks/store/useOnlineUsersCountStore.d.ts +0 -19
- package/dist/react19/types/hooks/store/useProfileStore.d.ts +0 -9
- package/dist/react19/types/hooks/store/useShadowRootStore.d.ts +0 -7
- package/dist/react19/types/hooks/store/useUnreadCountStore.d.ts +0 -8
- package/dist/react19/types/hooks/store/useUserSettingsStore.d.ts +0 -17
- package/dist/react19/types/hooks/useAppAuthorization.d.ts +0 -14
- package/dist/react19/types/hooks/useAppPresets.d.ts +0 -35
- package/dist/react19/types/hooks/useAudio.d.ts +0 -6
- package/dist/react19/types/hooks/useLastActivity.d.ts +0 -2
- package/dist/react19/types/hooks/useNotification.d.ts +0 -9
- package/dist/react19/types/hooks/usePageFocus.d.ts +0 -6
- package/dist/react19/types/hooks/useResizeScreenWidth.d.ts +0 -10
- package/dist/react19/types/hooks/useTypingStatusText.d.ts +0 -3
- package/dist/react19/types/index.d.ts +0 -10
- package/dist/react19/types/lib/utils.d.ts +0 -6
- package/dist/react19/types/locales/el/translation.json.d.ts +0 -76
- package/dist/react19/types/locales/en/translation.json.d.ts +0 -76
- package/dist/react19/types/locales/ua/translation.json.d.ts +0 -76
- package/dist/react19/types/tests/connectycube.test.d.ts +0 -1
- /package/dist/{react19/types/main.d.ts → types/tests/formatters.test.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,360 +1,160 @@
|
|
|
1
|
-
|
|
1
|
+
<a name="0.34.0"></a>
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.34.0
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Chores
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
- upgraded `@connectycube/use-chat` to version `0.26.2`
|
|
7
|
+
- new commands in `package.json` to bump major/minor/patch versions
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
### Features
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
- call history
|
|
12
|
+
- implemented auto-grow text input for typing message
|
|
13
|
+
- ability to change tone of message for typed text via AI
|
|
14
|
+
- AI text summarization in chat
|
|
15
|
+
- new prop `ai` to configure AI options. `ai: { textSummarization: boolean }`
|
|
16
|
+
- supported new variable `GOOGLE_GENERATIVE_AI_API_KEY` in `.env` to set `apiKey` for "gemini-2.5-flash" model
|
|
13
17
|
|
|
14
|
-
|
|
15
|
-
- implemented `localStorage` and `document` guards
|
|
16
|
-
- updated authentication logic
|
|
18
|
+
<a name="0.33.0"></a>
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
## 0.33.0
|
|
19
21
|
|
|
20
|
-
|
|
21
|
-
- word "Messed" changed to "Missed" in `en/translation.json` file
|
|
22
|
-
- resets specific store data to prevent displaying the useless toast about a missed call
|
|
22
|
+
<a name="0.32.1"></a>
|
|
23
23
|
|
|
24
|
-
## 0.
|
|
24
|
+
## 0.32.1
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
<a name="0.32.0"></a>
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
- Added infinite scroll to load and prepend earlier messages in chat history
|
|
30
|
-
- Added infinite scroll to load and append more dialogs in the chat list
|
|
31
|
-
- Updated messages styles and alignment
|
|
32
|
-
- Updated dialog list styles
|
|
33
|
-
- Can open the widget by clicking on the push notification
|
|
28
|
+
## 0.32.0
|
|
34
29
|
|
|
35
|
-
|
|
30
|
+
<a name="0.31.0"></a>
|
|
36
31
|
|
|
37
|
-
|
|
32
|
+
## 0.31.0
|
|
38
33
|
|
|
39
|
-
|
|
34
|
+
<a name="0.30.2"></a>
|
|
40
35
|
|
|
41
|
-
|
|
36
|
+
## 0.30.2
|
|
42
37
|
|
|
43
|
-
|
|
38
|
+
<a name="0.30.1"></a>
|
|
44
39
|
|
|
45
40
|
## 0.30.1
|
|
46
41
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
- Establishes stream-management after reconnecting to the chat
|
|
42
|
+
<a name="0.30.0"></a>
|
|
50
43
|
|
|
51
44
|
## 0.30.0
|
|
52
45
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
- Ability to establish the chat connection with new parameters after restoring an expired API session
|
|
56
|
-
|
|
57
|
-
### Bug fixed
|
|
58
|
-
|
|
59
|
-
- mobile view styles
|
|
60
|
-
- chat & messages styles
|
|
46
|
+
<a name="0.29.0"></a>
|
|
61
47
|
|
|
62
48
|
## 0.29.0
|
|
63
49
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
- p2p video and audio calls
|
|
67
|
-
- new prop `enableCalls` to enable the calls feature
|
|
68
|
-
- mute/unmute video and audio tracks
|
|
69
|
-
- fullscreen view option for remote stream
|
|
70
|
-
- screen-sharing
|
|
71
|
-
|
|
72
|
-
### Misc
|
|
73
|
-
|
|
74
|
-
- Can restore expired API session
|
|
50
|
+
<a name="0.28.0"></a>
|
|
75
51
|
|
|
76
|
-
|
|
52
|
+
## 0.28.0
|
|
77
53
|
|
|
78
|
-
|
|
54
|
+
<a name="0.27.0"></a>
|
|
79
55
|
|
|
80
56
|
## 0.27.0
|
|
81
57
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
- Responsive styles based on a prop `portalStyle: { fontSize: ...px }`
|
|
58
|
+
<a name="0.26.1"></a>
|
|
85
59
|
|
|
86
60
|
## 0.26.1
|
|
87
61
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
- Set `max-width: 360px` for sidebar
|
|
91
|
-
- Opponent messages in group chats are now grouped
|
|
92
|
-
- User status is only shown to online users
|
|
93
|
-
- Show's a notification about total unread messages count after the chat was reconnected
|
|
94
|
-
|
|
95
|
-
### Bug fixes
|
|
96
|
-
|
|
97
|
-
- Now refreshes chat list after reconnecting
|
|
62
|
+
<a name="0.26.0"></a>
|
|
98
63
|
|
|
99
64
|
## 0.26.0
|
|
100
65
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
- Shows overlay while the chat widget is open
|
|
104
|
-
- new prop `disableEscKeyPress` to disable closing the chat widget by pressing "esc" button. Default is **false**
|
|
105
|
-
- new prop `overlayStyle` to customize the overlay
|
|
106
|
-
|
|
107
|
-
### Bug fixes
|
|
108
|
-
|
|
109
|
-
- `defaultChat`: error happens if open chat widget quickly after page refresh
|
|
110
|
-
- Fixed embedded mode
|
|
111
|
-
- Prevent click-outside and lock-scroll in embedded mode
|
|
112
|
-
- The attachment button "cursor-pointer" style is broken
|
|
113
|
-
- The `window.ConnectyCubeChatWidget.toggle()` function was fixed for UMD build (Vanilla JS)
|
|
66
|
+
<a name="0.25.0"></a>
|
|
114
67
|
|
|
115
68
|
## 0.25.0
|
|
116
69
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
- User can select status "Available", "Busy" and "Away"
|
|
120
|
-
- new prop `enableUserStatuses` to enable the feature. Default is **false**
|
|
121
|
-
- New message statuses "wait" and "lost", along with existing "sent" and "read"
|
|
122
|
-
- Hide chat widget by click or touch, or press "Escape" outside widget's containers
|
|
123
|
-
- new prop `disableClickOutside` to disable the feature. Default is **false**
|
|
124
|
-
- Chat connection statuses "disconnected", "connecting" and "connected"
|
|
125
|
-
- new prop `showChatStatus` to enable the feature. Default is **false**
|
|
126
|
-
- Improved chat/internet automatic reconnection flow to prevent messages missing
|
|
127
|
-
- Updated **defaultChat.opponentUserId** prop to behave like **userId** prop (from user's own system) and have type **string**
|
|
128
|
-
- Added the ability to embed chat-widget in a parent block. It will open by default, and the widget's button will be hidden
|
|
129
|
-
- new prop `embedView` to enable the feature. Default is **false**. If enabled, `open` and `hideWidgetButton` will not react
|
|
130
|
-
|
|
131
|
-
### Misc
|
|
132
|
-
|
|
133
|
-
- Implemented scrollbar styles to prevent inheritance in widget's #shadow-root
|
|
134
|
-
- Added an overlay for modals (Dialog and AlertDialog)
|
|
135
|
-
- Props `portalClassName`, `buttonClassName`, `buttonClassName` and `onlineBadgeClassName` were removed. Use `portalStyle`, `buttonStyle`, `badgeStyle` and `onlineBadgeStyle` instead
|
|
136
|
-
|
|
137
|
-
### Bug fixes
|
|
138
|
-
|
|
139
|
-
- Light text on a white background
|
|
140
|
-
- Document's scroll locks on mobile
|
|
141
|
-
- Scroll by wheel is broken in modals
|
|
142
|
-
- Message status "read" does not react in real-time
|
|
70
|
+
<a name="0.24.0"></a>
|
|
143
71
|
|
|
144
72
|
## 0.24.0
|
|
145
73
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
- UI fixes for when `enableUrlPreview=false`
|
|
74
|
+
<a name="0.23.0"></a>
|
|
149
75
|
|
|
150
76
|
## 0.23.0
|
|
151
77
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
- The chat widget is now fully rendered inside a Shadow DOM, preventing style conflicts and external interference
|
|
155
|
-
- Supports React 19. Import the dedicated ESM-only build instead: `import ConnectyCubeChatWidget from '@connectycube/chat-widget/react19'`
|
|
156
|
-
|
|
157
|
-
### Bug fixes
|
|
158
|
-
|
|
159
|
-
- Fix message text line break behavior
|
|
160
|
-
- Online users badge: hide if count = 0
|
|
161
|
-
- Do not request online users if `enableOnlineUsersBadge=false`
|
|
162
|
-
|
|
163
|
-
### Misc
|
|
164
|
-
|
|
165
|
-
- Users tab: remove arrow icon from user cell
|
|
166
|
-
- Removed dependency on the libraries "react-router", "react-router-dom" and "react-scroll"
|
|
78
|
+
<a name="0.22.0"></a>
|
|
167
79
|
|
|
168
80
|
## 0.22.0
|
|
169
81
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
- URL preview - unfurl a link once posted in chat
|
|
173
|
-
- new prop `enableUrlPreview` to enable the feature
|
|
174
|
-
- new prop `limitUrlsPreviews` to set maximum displayed URLs preview in single message. Default is 1 and max is 5
|
|
175
|
-
- Display user last activity
|
|
176
|
-
- new prop `enableLastSeen` to show green dot on user avatar in chats list when user is online and last seen information on chat header
|
|
177
|
-
- Display online users badge on chat widget button
|
|
178
|
-
- new prop `enableOnlineUsersBadge` to enable the feature
|
|
179
|
-
- new prop `getOnlineUsersInterval` to set how frequently the badge should be updated, in seconds. Default is 300 (5 minutes), min is 30 seconds
|
|
180
|
-
- new prop `onOnlineUsersCountChange` to receive updates on the online users counter change
|
|
181
|
-
- new props `onlineBadgeStyle` and `onlineBadgeClassName` to customize the badge
|
|
182
|
-
- User typing feature
|
|
82
|
+
<a name="0.21.1"></a>
|
|
183
83
|
|
|
184
84
|
## 0.21.1
|
|
185
85
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
- removed unnecessary/obsessive alerts
|
|
86
|
+
<a name="0.21.0"></a>
|
|
189
87
|
|
|
190
88
|
## 0.21.0
|
|
191
89
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
- Video-preview for video attachment in chat
|
|
195
|
-
|
|
196
|
-
### Misc
|
|
197
|
-
|
|
198
|
-
- Added support for node 22
|
|
199
|
-
- Upgraded `connectycube` to 4.2.2 and `@connectycube/use-chat` to 0.18.0 to use import types and enums from "connectycube/types"
|
|
200
|
-
|
|
201
|
-
### Bug fixes
|
|
202
|
-
|
|
203
|
-
- Web Push Notifications init and fetch with user setting
|
|
90
|
+
<a name="0.20.0"></a>
|
|
204
91
|
|
|
205
92
|
## 0.20.0
|
|
206
93
|
|
|
207
|
-
###
|
|
208
|
-
|
|
209
|
-
- Push Notifications support (receive notifications when browser tab is closed). New props: `webPushNotifications`, `webPushVapidPublicKey`, `serviceWorkerPath`
|
|
210
|
-
- Allow users search from 3 characters min (was 4)
|
|
211
|
-
- New props - `hideNewUserChatOption`, `hideNewGroupChatOption` - To hide 'New group' / 'New message' options in Create Chat dropdown menu
|
|
94
|
+
### Reverts
|
|
212
95
|
|
|
213
|
-
|
|
96
|
+
- bump connectycube[@4](https://github.com/4).1.4
|
|
214
97
|
|
|
215
|
-
|
|
216
|
-
- `attachmetsAccept` prop: block sending unsupported attachments when select All Files in file picker
|
|
217
|
-
- Improved block list flow
|
|
98
|
+
<a name="0.19.0"></a>
|
|
218
99
|
|
|
219
100
|
## 0.19.0
|
|
220
101
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
- fix user session restore
|
|
102
|
+
<a name="0.18.0"></a>
|
|
224
103
|
|
|
225
104
|
## 0.18.0
|
|
226
105
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
- update styles for chat item for not to interfere with host site styles
|
|
106
|
+
<a name="0.17.0"></a>
|
|
230
107
|
|
|
231
108
|
## 0.17.0
|
|
232
109
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
- added `My Profile`
|
|
236
|
-
- display blocked users list in `My Profile`
|
|
237
|
-
- added Notification Settings in `My Profile` (can on/off notifications and notification sound)
|
|
238
|
-
- shows a toast message when a blocked user tries to send a message;
|
|
239
|
-
- added `attachmentsAccept` prop to specify supported attachments types
|
|
240
|
-
- added `defaultChat` prop to force widget open particular chat
|
|
110
|
+
<a name="0.16.0"></a>
|
|
241
111
|
|
|
242
112
|
## 0.16.0
|
|
243
113
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
- report user feature (via `enableContentReporting` prop)
|
|
247
|
-
- block user feature (via `enableBlockList` prop)
|
|
248
|
-
- notification on new message (via `showNotifications`, `playSound` and `muted` props)
|
|
249
|
-
|
|
250
|
-
### Bug fixes
|
|
251
|
-
|
|
252
|
-
- change `break-all` to `break-word` for chat messages text
|
|
253
|
-
- chats list: last item is not visible
|
|
254
|
-
|
|
255
|
-
### Misc
|
|
256
|
-
|
|
257
|
-
- redux store was replaced by [zustand](https://github.com/pmndrs/zustand);
|
|
114
|
+
<a name="0.15.2"></a>
|
|
258
115
|
|
|
259
116
|
## 0.15.2
|
|
260
117
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
- update styles for chat item for not to interfere with host site styles
|
|
118
|
+
<a name="0.15.1"></a>
|
|
264
119
|
|
|
265
120
|
## 0.15.1
|
|
266
121
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
- User profile link not displayed when open user profile from Users tab
|
|
270
|
-
|
|
271
|
-
### Misc
|
|
272
|
-
|
|
273
|
-
- set static height for user profile header
|
|
274
|
-
- set overflow-hidden for user profile container
|
|
122
|
+
<a name="0.15.0"></a>
|
|
275
123
|
|
|
276
124
|
## 0.15.0
|
|
277
125
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
- highlight links in chat messages;
|
|
281
|
-
- updated attachments to support uploading any file;
|
|
282
|
-
- create 1-1 chat on send 1st message, not when click on a user
|
|
283
|
-
- encapsulated chat widget styles to prevent global styling effects;
|
|
284
|
-
- implemented `open` prop to manage chat widget visibility state;
|
|
285
|
-
- implemented `window.ConnectyCubeChatWidget.toggle()` function to manage chat widget visibility state when used as UMD;
|
|
286
|
-
- implemented `onOpenChange` and `onUnreadCountChange` props as callbacks to receive updates on the visibility of the chat widget and the unread message counter, respectively;
|
|
287
|
-
- implemented `hideWidgetButton` prop to hide the chat widget button and use a custom one;
|
|
288
|
-
- implemented browser notifications and `showNotifications` prop to enable the feature;
|
|
289
|
-
|
|
290
|
-
### Bug fixes
|
|
291
|
-
|
|
292
|
-
- blocked sending files as attachments if they do not have `type` or `size` properties.
|
|
293
|
-
- fixed z-index for Chat button and widget view
|
|
294
|
-
|
|
295
|
-
### Misc
|
|
296
|
-
|
|
297
|
-
- upgraded tailwindcss to version 4;
|
|
298
|
-
- upgraded ShadCN-UI components to support TailwindCSS version 4;
|
|
126
|
+
<a name="0.14.4"></a>
|
|
299
127
|
|
|
300
128
|
## 0.14.4
|
|
301
129
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
- fix avatar crash when chat name is empty
|
|
130
|
+
<a name="0.14.3"></a>
|
|
305
131
|
|
|
306
132
|
## 0.14.3
|
|
307
133
|
|
|
308
|
-
###
|
|
134
|
+
### Reverts
|
|
309
135
|
|
|
310
|
-
-
|
|
136
|
+
- [JS-59] update attachments
|
|
311
137
|
|
|
312
|
-
|
|
138
|
+
<a name="0.14.2"></a>
|
|
313
139
|
|
|
314
|
-
|
|
140
|
+
## 0.14.2
|
|
315
141
|
|
|
316
|
-
|
|
142
|
+
<a name="0.14.0"></a>
|
|
317
143
|
|
|
318
144
|
## 0.14.0
|
|
319
145
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
- introduce user profile link via `userProfileLink` prop
|
|
323
|
-
- hide new chat button via `hideNewChatButton` prop
|
|
324
|
-
- English, Greek, Ukrainian languages supported via `translation` prop
|
|
146
|
+
<a name="0.13.0"></a>
|
|
325
147
|
|
|
326
148
|
## 0.13.0
|
|
327
149
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
- user avatar
|
|
331
|
-
- suggested messages
|
|
150
|
+
<a name="0.12.0"></a>
|
|
332
151
|
|
|
333
152
|
## 0.12.0
|
|
334
153
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
- message drafts
|
|
338
|
-
- allow to change `userId` prop on the flight
|
|
339
|
-
|
|
340
|
-
### Bug fixes
|
|
341
|
-
|
|
342
|
-
- fix mobile UI styles
|
|
154
|
+
<a name="0.11.0"></a>
|
|
343
155
|
|
|
344
156
|
## 0.11.0
|
|
345
157
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
- displays total unread messages counter;
|
|
349
|
-
- placeholders for empty lists;
|
|
350
|
-
|
|
351
|
-
### Bug fixes
|
|
352
|
-
|
|
353
|
-
- can restore expired session;
|
|
354
|
-
- can retrieve messages while the widget is collapsed;
|
|
355
|
-
- incoming notification sound;
|
|
356
|
-
- UI styles;
|
|
158
|
+
<a name="0.10.0"></a>
|
|
357
159
|
|
|
358
160
|
## 0.10.0
|
|
359
|
-
|
|
360
|
-
Initial release.
|
package/README.md
CHANGED
|
@@ -176,13 +176,15 @@ The `connectycube` CLI will be available as part of the `connectycube` package,
|
|
|
176
176
|
|
|
177
177
|
## Have an issue?
|
|
178
178
|
|
|
179
|
-
Join our [Discord](https://discord.com/invite/zqbBWNCCFJ)
|
|
179
|
+
Join our [Discord](https://discord.com/invite/zqbBWNCCFJ) community to get real-time help from our team
|
|
180
180
|
|
|
181
181
|
## Community
|
|
182
182
|
|
|
183
183
|
- [Blog](https://connectycube.com/blog)
|
|
184
184
|
- X (twitter)[@ConnectyCube](https://x.com/ConnectyCube)
|
|
185
185
|
- [Facebook](https://www.facebook.com/ConnectyCube)
|
|
186
|
+
- [Medium](https://medium.com/@connectycube)
|
|
187
|
+
- [YouTube](https://www.youtube.com/@ConnectyCube)
|
|
186
188
|
|
|
187
189
|
**Want to support our team**:<br>
|
|
188
190
|
<a href="https://www.buymeacoffee.com/connectycube" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
|