@connectycube/chat-widget 0.22.0 → 0.23.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.
Files changed (181) hide show
  1. package/CHANGELOG.md +19 -4
  2. package/README.md +8 -0
  3. package/dist/index.es.js +16926 -18509
  4. package/dist/index.umd.js +73 -50
  5. package/dist/react19/connectycube-chat-widget-sw.js +19 -0
  6. package/dist/react19/index.es.js +18097 -0
  7. package/dist/react19/logo.png +0 -0
  8. package/dist/react19/types/components/app-login.d.ts +8 -0
  9. package/dist/react19/types/components/app-shadow-root.d.ts +6 -0
  10. package/dist/react19/types/components/home/sidebar/tabs/users-tab.d.ts +2 -0
  11. package/dist/{components → react19/types/components}/shadcn-ui/alert-dialog.d.ts +5 -5
  12. package/dist/{components → react19/types/components}/shadcn-ui/avatar.d.ts +2 -2
  13. package/dist/{components → react19/types/components}/shadcn-ui/badge.d.ts +2 -2
  14. package/dist/{components → react19/types/components}/shadcn-ui/button.d.ts +4 -4
  15. package/dist/{components → react19/types/components}/shadcn-ui/dialog.d.ts +4 -4
  16. package/dist/{components → react19/types/components}/shadcn-ui/dropdown-menu.d.ts +4 -4
  17. package/dist/react19/types/components/shadcn-ui/input.d.ts +3 -0
  18. package/dist/{components → react19/types/components}/shadcn-ui/label.d.ts +2 -2
  19. package/dist/{components → react19/types/components}/shadcn-ui/switch.d.ts +2 -2
  20. package/dist/{components → react19/types/components}/shadcn-ui/tabs.d.ts +2 -2
  21. package/dist/{components → react19/types/components}/shared/avatar.d.ts +1 -1
  22. package/dist/{components → react19/types/components}/shared/widget-button.d.ts +1 -1
  23. package/dist/react19/types/components/shared/widget-messages-badge.d.ts +7 -0
  24. package/dist/react19/types/components/shared/widget-online-badge.d.ts +7 -0
  25. package/dist/{hooks → react19/types/hooks}/index.d.ts +1 -1
  26. package/dist/{hooks → react19/types/hooks}/store/useOnlineUsersCountStore.d.ts +3 -0
  27. package/dist/react19/types/hooks/store/useShadowRootStore.d.ts +7 -0
  28. package/dist/types/App.d.ts +50 -0
  29. package/dist/types/components/app-login.d.ts +8 -0
  30. package/dist/types/components/app-shadow-root.d.ts +6 -0
  31. package/dist/types/components/home/home.d.ts +2 -0
  32. package/dist/types/components/home/main/chat-header.d.ts +3 -0
  33. package/dist/types/components/home/main/chat-info-members.d.ts +3 -0
  34. package/dist/types/components/home/main/chat-info-user.d.ts +7 -0
  35. package/dist/types/components/home/main/chat-input.d.ts +8 -0
  36. package/dist/types/components/home/main/group-member.d.ts +8 -0
  37. package/dist/types/components/home/main/main.d.ts +2 -0
  38. package/dist/types/components/home/main/message-attachment.d.ts +8 -0
  39. package/dist/types/components/home/main/message-body.d.ts +6 -0
  40. package/dist/types/components/home/main/message-url-preview.d.ts +6 -0
  41. package/dist/types/components/home/main/message.d.ts +11 -0
  42. package/dist/types/components/home/main/my-profile/my-block-list-item.d.ts +7 -0
  43. package/dist/types/components/home/main/my-profile/my-block-list.d.ts +3 -0
  44. package/dist/types/components/home/main/my-profile/my-profile-settings.d.ts +2 -0
  45. package/dist/types/components/home/main/my-profile/my-profile.d.ts +3 -0
  46. package/dist/types/components/home/main/profile-info.d.ts +6 -0
  47. package/dist/types/components/home/main/quick-actions.d.ts +5 -0
  48. package/dist/types/components/home/main/report-user-dialog.d.ts +6 -0
  49. package/dist/types/components/home/sidebar/chat-item.d.ts +7 -0
  50. package/dist/types/components/home/sidebar/chats-list.d.ts +6 -0
  51. package/dist/types/components/home/sidebar/new-chat/create-group-chat/create-group-chat.d.ts +8 -0
  52. package/dist/types/components/home/sidebar/new-chat/create-group-chat/participant.d.ts +7 -0
  53. package/dist/types/components/home/sidebar/new-chat/new-chat-dialog.d.ts +9 -0
  54. package/dist/types/components/home/sidebar/new-chat/searched-user.d.ts +13 -0
  55. package/dist/types/components/home/sidebar/sidebar.d.ts +2 -0
  56. package/dist/types/components/home/sidebar/tabs/chats-tab.d.ts +2 -0
  57. package/dist/types/components/home/sidebar/tabs/users-tab.d.ts +2 -0
  58. package/dist/types/components/home/sidebar/user-item.d.ts +7 -0
  59. package/dist/types/components/home/sidebar/users-list.d.ts +6 -0
  60. package/dist/types/components/shadcn-ui/alert-dialog.d.ts +14 -0
  61. package/dist/types/components/shadcn-ui/avatar.d.ts +6 -0
  62. package/dist/types/components/shadcn-ui/badge.d.ts +9 -0
  63. package/dist/types/components/shadcn-ui/button.d.ts +10 -0
  64. package/dist/types/components/shadcn-ui/dialog.d.ts +13 -0
  65. package/dist/types/components/shadcn-ui/dropdown-menu.d.ts +25 -0
  66. package/dist/types/components/shadcn-ui/input.d.ts +3 -0
  67. package/dist/types/components/shadcn-ui/label.d.ts +4 -0
  68. package/dist/types/components/shadcn-ui/sonner.d.ts +3 -0
  69. package/dist/types/components/shadcn-ui/switch.d.ts +4 -0
  70. package/dist/types/components/shadcn-ui/tabs.d.ts +7 -0
  71. package/dist/types/components/shared/alert-busy.d.ts +2 -0
  72. package/dist/types/components/shared/avatar.d.ts +13 -0
  73. package/dist/types/components/shared/confirmation-alert.d.ts +8 -0
  74. package/dist/types/components/shared/empty-content-placeholder.d.ts +7 -0
  75. package/dist/types/components/shared/loader.d.ts +5 -0
  76. package/dist/types/components/shared/widget-button.d.ts +15 -0
  77. package/dist/types/components/shared/widget-messages-badge.d.ts +7 -0
  78. package/dist/types/components/shared/widget-online-badge.d.ts +7 -0
  79. package/dist/types/helpers/connectycube.d.ts +33 -0
  80. package/dist/types/helpers/debounce.d.ts +3 -0
  81. package/dist/types/helpers/i18n.d.ts +2 -0
  82. package/dist/types/helpers/notifications.d.ts +11 -0
  83. package/dist/types/helpers/throttle.d.ts +3 -0
  84. package/dist/types/hooks/index.d.ts +21 -0
  85. package/dist/types/hooks/store/useActiveTabsStore.d.ts +15 -0
  86. package/dist/types/hooks/store/useAlertBusyStore.d.ts +11 -0
  87. package/dist/types/hooks/store/useAppDefaultChatStore.d.ts +21 -0
  88. package/dist/types/hooks/store/useAppInterfaceStore.d.ts +27 -0
  89. package/dist/types/hooks/store/useAppNotificationStore.d.ts +34 -0
  90. package/dist/types/hooks/store/useAppQuickActionsStore.d.ts +17 -0
  91. package/dist/types/hooks/store/useAppSettingsStore.d.ts +31 -0
  92. package/dist/types/hooks/store/useDraftMessagesStore.d.ts +14 -0
  93. package/dist/types/hooks/store/useLinkPreviewStore.d.ts +17 -0
  94. package/dist/types/hooks/store/useOnlineUsersCountStore.d.ts +14 -0
  95. package/dist/types/hooks/store/useProfileStore.d.ts +9 -0
  96. package/dist/types/hooks/store/useShadowRootStore.d.ts +7 -0
  97. package/dist/types/hooks/store/useUnreadCountStore.d.ts +8 -0
  98. package/dist/types/hooks/store/useUserSettingsStore.d.ts +14 -0
  99. package/dist/types/hooks/useAppAuthorization.d.ts +14 -0
  100. package/dist/types/hooks/useLastActivity.d.ts +2 -0
  101. package/dist/types/hooks/useNotification.d.ts +8 -0
  102. package/dist/types/hooks/usePageFocus.d.ts +6 -0
  103. package/dist/types/hooks/useResizeScreenWidth.d.ts +10 -0
  104. package/dist/types/hooks/useTypingStatusText.d.ts +3 -0
  105. package/dist/types/index.d.ts +1 -0
  106. package/dist/types/lib/utils.d.ts +6 -0
  107. package/dist/types/locales/el/translation.json.d.ts +65 -0
  108. package/dist/types/locales/en/translation.json.d.ts +65 -0
  109. package/dist/types/locales/ua/translation.json.d.ts +65 -0
  110. package/dist/types/main.d.ts +1 -0
  111. package/dist/types/tests/connectycube.test.d.ts +1 -0
  112. package/package.json +54 -45
  113. package/dist/components/home/sidebar/tabs/users-tab.d.ts +0 -3
  114. package/dist/components/login.d.ts +0 -8
  115. package/dist/components/shadcn-ui/input.d.ts +0 -3
  116. package/dist/favicon.ico +0 -0
  117. package/dist/hooks/useValue.d.ts +0 -4
  118. /package/dist/{App.d.ts → react19/types/App.d.ts} +0 -0
  119. /package/dist/{components → react19/types/components}/home/home.d.ts +0 -0
  120. /package/dist/{components → react19/types/components}/home/main/chat-header.d.ts +0 -0
  121. /package/dist/{components → react19/types/components}/home/main/chat-info-members.d.ts +0 -0
  122. /package/dist/{components → react19/types/components}/home/main/chat-info-user.d.ts +0 -0
  123. /package/dist/{components → react19/types/components}/home/main/chat-input.d.ts +0 -0
  124. /package/dist/{components → react19/types/components}/home/main/group-member.d.ts +0 -0
  125. /package/dist/{components → react19/types/components}/home/main/main.d.ts +0 -0
  126. /package/dist/{components → react19/types/components}/home/main/message-attachment.d.ts +0 -0
  127. /package/dist/{components → react19/types/components}/home/main/message-body.d.ts +0 -0
  128. /package/dist/{components → react19/types/components}/home/main/message-url-preview.d.ts +0 -0
  129. /package/dist/{components → react19/types/components}/home/main/message.d.ts +0 -0
  130. /package/dist/{components → react19/types/components}/home/main/my-profile/my-block-list-item.d.ts +0 -0
  131. /package/dist/{components → react19/types/components}/home/main/my-profile/my-block-list.d.ts +0 -0
  132. /package/dist/{components → react19/types/components}/home/main/my-profile/my-profile-settings.d.ts +0 -0
  133. /package/dist/{components → react19/types/components}/home/main/my-profile/my-profile.d.ts +0 -0
  134. /package/dist/{components → react19/types/components}/home/main/profile-info.d.ts +0 -0
  135. /package/dist/{components → react19/types/components}/home/main/quick-actions.d.ts +0 -0
  136. /package/dist/{components → react19/types/components}/home/main/report-user-dialog.d.ts +0 -0
  137. /package/dist/{components → react19/types/components}/home/sidebar/chat-item.d.ts +0 -0
  138. /package/dist/{components → react19/types/components}/home/sidebar/chats-list.d.ts +0 -0
  139. /package/dist/{components → react19/types/components}/home/sidebar/new-chat/create-group-chat/create-group-chat.d.ts +0 -0
  140. /package/dist/{components → react19/types/components}/home/sidebar/new-chat/create-group-chat/participant.d.ts +0 -0
  141. /package/dist/{components → react19/types/components}/home/sidebar/new-chat/new-chat-dialog.d.ts +0 -0
  142. /package/dist/{components → react19/types/components}/home/sidebar/new-chat/searched-user.d.ts +0 -0
  143. /package/dist/{components → react19/types/components}/home/sidebar/sidebar.d.ts +0 -0
  144. /package/dist/{components → react19/types/components}/home/sidebar/tabs/chats-tab.d.ts +0 -0
  145. /package/dist/{components → react19/types/components}/home/sidebar/user-item.d.ts +0 -0
  146. /package/dist/{components → react19/types/components}/home/sidebar/users-list.d.ts +0 -0
  147. /package/dist/{components → react19/types/components}/shadcn-ui/sonner.d.ts +0 -0
  148. /package/dist/{components → react19/types/components}/shared/alert-busy.d.ts +0 -0
  149. /package/dist/{components → react19/types/components}/shared/confirmation-alert.d.ts +0 -0
  150. /package/dist/{components → react19/types/components}/shared/empty-content-placeholder.d.ts +0 -0
  151. /package/dist/{components → react19/types/components}/shared/loader.d.ts +0 -0
  152. /package/dist/{helpers → react19/types/helpers}/connectycube.d.ts +0 -0
  153. /package/dist/{helpers → react19/types/helpers}/debounce.d.ts +0 -0
  154. /package/dist/{helpers → react19/types/helpers}/i18n.d.ts +0 -0
  155. /package/dist/{helpers → react19/types/helpers}/notifications.d.ts +0 -0
  156. /package/dist/{helpers → react19/types/helpers}/throttle.d.ts +0 -0
  157. /package/dist/{hooks → react19/types/hooks}/store/useActiveTabsStore.d.ts +0 -0
  158. /package/dist/{hooks → react19/types/hooks}/store/useAlertBusyStore.d.ts +0 -0
  159. /package/dist/{hooks → react19/types/hooks}/store/useAppDefaultChatStore.d.ts +0 -0
  160. /package/dist/{hooks → react19/types/hooks}/store/useAppInterfaceStore.d.ts +0 -0
  161. /package/dist/{hooks → react19/types/hooks}/store/useAppNotificationStore.d.ts +0 -0
  162. /package/dist/{hooks → react19/types/hooks}/store/useAppQuickActionsStore.d.ts +0 -0
  163. /package/dist/{hooks → react19/types/hooks}/store/useAppSettingsStore.d.ts +0 -0
  164. /package/dist/{hooks → react19/types/hooks}/store/useDraftMessagesStore.d.ts +0 -0
  165. /package/dist/{hooks → react19/types/hooks}/store/useLinkPreviewStore.d.ts +0 -0
  166. /package/dist/{hooks → react19/types/hooks}/store/useProfileStore.d.ts +0 -0
  167. /package/dist/{hooks → react19/types/hooks}/store/useUnreadCountStore.d.ts +0 -0
  168. /package/dist/{hooks → react19/types/hooks}/store/useUserSettingsStore.d.ts +0 -0
  169. /package/dist/{hooks → react19/types/hooks}/useAppAuthorization.d.ts +0 -0
  170. /package/dist/{hooks → react19/types/hooks}/useLastActivity.d.ts +0 -0
  171. /package/dist/{hooks → react19/types/hooks}/useNotification.d.ts +0 -0
  172. /package/dist/{hooks → react19/types/hooks}/usePageFocus.d.ts +0 -0
  173. /package/dist/{hooks → react19/types/hooks}/useResizeScreenWidth.d.ts +0 -0
  174. /package/dist/{hooks → react19/types/hooks}/useTypingStatusText.d.ts +0 -0
  175. /package/dist/{index.d.ts → react19/types/index.d.ts} +0 -0
  176. /package/dist/{lib → react19/types/lib}/utils.d.ts +0 -0
  177. /package/dist/{locales → react19/types/locales}/el/translation.json.d.ts +0 -0
  178. /package/dist/{locales → react19/types/locales}/en/translation.json.d.ts +0 -0
  179. /package/dist/{locales → react19/types/locales}/ua/translation.json.d.ts +0 -0
  180. /package/dist/{main.d.ts → react19/types/main.d.ts} +0 -0
  181. /package/dist/{tests → react19/types/tests}/connectycube.test.d.ts +0 -0
@@ -0,0 +1,65 @@
1
+ declare const _default: {
2
+ "AddMembers": "Add members",
3
+ "Admin": "Admin",
4
+ "areTyping": "are typing",
5
+ "Cancel": "Cancel",
6
+ "ChatName": "Chat name",
7
+ "ChatNameRequired": "Chat name is required",
8
+ "Chat": "Chat",
9
+ "Chats": "Chats",
10
+ "ChooseChat": "Choose a chat",
11
+ "continue": "Continue",
12
+ "CreateGroupChat": "Create group chat",
13
+ "Delete": "Delete",
14
+ "Draft": "Draft",
15
+ "EnterMessage": "Enter message",
16
+ "EnterUserName": "Enter user name",
17
+ "ExitChat": "Exit chat",
18
+ "FileTypeNotSupported": "File format is not supported",
19
+ "isTyping": "is typing",
20
+ "me": "me",
21
+ "Members": "Members",
22
+ "members": "members",
23
+ "NewGroup": "New group",
24
+ "NewMessage": "New message",
25
+ "NoChats": "Begin your first chat and see what happens!",
26
+ "NoMessages": "No messages yet",
27
+ "NoOnlineUsers": "No online users",
28
+ "Profile": "Profile",
29
+ "RemoveMembers": "Remove members",
30
+ "RemoveMembers?": "Are you sure you want to remove members?",
31
+ "Reset": "Reset",
32
+ "Search": "Search",
33
+ "Select": "Select",
34
+ "Send": "Send",
35
+ "StartChat": "Start chat",
36
+ "NewUserChatDialogTitle": "Send message to user",
37
+ "NewGroupChatDialogTitle": "Start a new Group",
38
+ "typing": "typing",
39
+ "Users": "Users",
40
+ "you": "you",
41
+ "Block": "Block",
42
+ "UnBlock": "Unblock",
43
+ "Report": "Report",
44
+ "ReportUser": "Report user",
45
+ "WhatsWrongWithThisUser": "What's wrong with this user?",
46
+ "ProvideReason": "Reason for reporting",
47
+ "ReportCreatedSuccessfully": "Report has been created successfully",
48
+ "ReportSubmitFailed": "Failed to submit report",
49
+ "MyProfile": "My profile",
50
+ "YouBlocked": "You are blocked by this user",
51
+ "BlockList": "Block list",
52
+ "AddToBlockList": "Add to block list",
53
+ "AddToBlockList?": "Are you sure you want to add {{name}} to block list?",
54
+ "RemoveFromBlockList": "Remove from block list",
55
+ "RemoveFromBlockList?": "Are you sure you want to remove {{name}} from block list?",
56
+ "BlockListEmpty": "Block list is empty",
57
+ "NotificationSettings": "Notification settings",
58
+ "Notifications": "Notifications",
59
+ "NotificationSound": "Notification sound",
60
+ "PushNotifications": "Push notifications",
61
+ "PleaseWait": "Please wait"
62
+ }
63
+ ;
64
+
65
+ export default _default;
@@ -0,0 +1,65 @@
1
+ declare const _default: {
2
+ "AddMembers": "Додати учасників",
3
+ "Admin": "Адмін",
4
+ "areTyping": "пишуть",
5
+ "Cancel": "Скасувати",
6
+ "ChatName": "Назва чату",
7
+ "ChatNameRequired": "Назва чату є обов'язковою",
8
+ "Chat": "Чат",
9
+ "Chats": "Чати",
10
+ "ChooseChat": "Оберіть чат",
11
+ "continue": "Продовжити",
12
+ "CreateGroupChat": "Створити груповий чат",
13
+ "Delete": "Видалити",
14
+ "Draft": "Чернетка",
15
+ "EnterMessage": "Введіть повідомлення",
16
+ "EnterUserName": "Введіть ім'я користувача",
17
+ "ExitChat": "Вийти з чату",
18
+ "FileTypeNotSupported": "Формат файлу не підтримується",
19
+ "isTyping": "пише",
20
+ "me": "я",
21
+ "Members": "Учасники",
22
+ "members": "учасники",
23
+ "NewGroup": "Нова група",
24
+ "NewMessage": "Нове повідомлення",
25
+ "NoChats": "Почніть свою першу розмову та подивіться, що станеться!",
26
+ "NoMessages": "Поки що немає повідомлень",
27
+ "NoOnlineUsers": "Немає онлайн-користувачів",
28
+ "Profile": "Профіль",
29
+ "RemoveMembers": "Видалити учасників",
30
+ "RemoveMembers?": "Ви впевнені, що хочете видалити учасників?",
31
+ "Reset": "Скинути",
32
+ "Search": "Пошук",
33
+ "Select": "Вибрати",
34
+ "Send": "Надіслати",
35
+ "StartChat": "Розпочати чат",
36
+ "NewUserChatDialogTitle": "Новий чат з користувачем",
37
+ "NewGroupChatDialogTitle": "Нова група",
38
+ "typing": "друкує",
39
+ "Users": "Користувачі",
40
+ "you": "ви",
41
+ "Block": "Заблокувати",
42
+ "UnBlock": "Розблокувати",
43
+ "Report": "Поскаржитися",
44
+ "ReportUser": "Поскаржитися на користувача",
45
+ "WhatsWrongWithThisUser": "Що не так з цим користувачем?",
46
+ "ProvideReason": "Підстава",
47
+ "ReportCreatedSuccessfully": "Звіт поданий успішно",
48
+ "ReportSubmitFailed": "Помилка при поданні звіту",
49
+ "MyProfile": "Мій профіль",
50
+ "YouBlocked": "Цей користувача вас заблокував",
51
+ "BlockList": "Список заблокованих",
52
+ "AddToBlockList": "Додати до списку заблокованих",
53
+ "AddToBlockList?": "Ви впевнені, що хочете додати {{name}} до списку заблокованих?",
54
+ "RemoveFromBlockList": "Видалити зі списку заблокованих",
55
+ "RemoveFromBlockList?": "Ви впевнені, що хочете видалити {{name}} зі списку заблокованих?",
56
+ "BlockListEmpty": "Список заблокованих порожній",
57
+ "NotificationSettings": "Налаштування сповіщень",
58
+ "Notifications": "Сповіщення",
59
+ "NotificationSound": "Звук сповіщення",
60
+ "PushNotifications": "Push-сповіщення",
61
+ "PleaseWait": "Будь ласка, зачекайте"
62
+ }
63
+ ;
64
+
65
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@connectycube/chat-widget",
3
3
  "description": "A React component that seamlessly integrates ConnectyCube's real-time chat capabilities into your web applications. This widget offers an out-of-the-box solution for embedding chat features—such as instant messaging, user presence, and file sharing—without the overhead of building a complete chat system from scratch.",
4
- "version": "0.22.0",
4
+ "version": "0.23.0",
5
5
  "license": "GPL-3.0-only",
6
6
  "homepage": "https://github.com/ConnectyCube/connectycube-chat-widget#readme",
7
7
  "bugs": {
@@ -33,14 +33,18 @@
33
33
  "chat-application"
34
34
  ],
35
35
  "type": "module",
36
- "types": "dist/index.d.ts",
36
+ "types": "dist/types/index.d.ts",
37
37
  "main": "dist/index.umd.js",
38
38
  "module": "dist/index.es.js",
39
39
  "exports": {
40
40
  ".": {
41
- "types": "./dist/index.d.ts",
41
+ "types": "./dist/types/index.d.ts",
42
42
  "import": "./dist/index.es.js",
43
43
  "require": "./dist/index.umd.js"
44
+ },
45
+ "./react19": {
46
+ "types": "./dist/react19/types/index.d.ts",
47
+ "import": "./dist/react19/index.es.js"
44
48
  }
45
49
  },
46
50
  "files": [
@@ -51,86 +55,91 @@
51
55
  "access": "public"
52
56
  },
53
57
  "scripts": {
58
+ "react:18": "npm install react@18 react-dom@18 --no-save",
59
+ "react:19": "npm install react@19 react-dom@19 --no-save",
60
+ "react:default": "npm install --no-save",
54
61
  "vite:dev": "vite",
55
62
  "vite:build": "tsc -b && vite build",
56
63
  "vite:preview": "vite preview",
64
+ "tailwindcss": "npx @tailwindcss/cli -i ./src/index.css -o ./src/widget.css",
65
+ "tailwindcss:watch": "npx @tailwindcss/cli -i ./src/index.css -o ./src/widget.css --watch",
66
+ "tailwindcss:minify": "npx @tailwindcss/cli -i ./src/index.css -o ./src/widget.css --minify",
67
+ "dev": "npm run react:default && npx npm-run-all --parallel vite:dev tailwindcss:watch",
68
+ "dev:18": "npm run react:18 && npx npm-run-all --parallel vite:dev tailwindcss:watch",
69
+ "dev:19": "npm run react:19 && npx npm-run-all --parallel vite:dev tailwindcss:watch",
70
+ "build": "npm run tailwindcss:minify && npm run react:18 && REACT_VERSION=18 npm run vite:build && npm run react:19 && REACT_VERSION=19 npm run vite:build && npm run react:default",
71
+ "build:18": "npm run tailwindcss:minify && npm run react:18 && REACT_VERSION=18 npm run vite:build",
72
+ "build:19": "npm run tailwindcss:minify && npm run react:19 && REACT_VERSION=19 npm run vite:build",
73
+ "preview": "npm run tailwindcss && npm run react:default && npm run vite:preview",
74
+ "lint": "eslint .",
57
75
  "test": "vitest",
58
76
  "test:ci": "vitest run",
59
77
  "coverage": "vitest run --coverage",
60
- "tailwindcss:watch": "npx @tailwindcss/cli -i ./src/index.css -o ./src/styles.css --watch",
61
- "tailwindcss:minify": "npx @tailwindcss/cli -i ./src/index.css -o ./src/styles.css --minify",
62
- "dev": "npm-run-all --parallel vite:dev tailwindcss:watch",
63
- "build": "npm run tailwindcss:minify & npm run vite:build",
64
- "preview": "npm run tailwindcss:minify & npm run vite:preview",
65
- "lint": "eslint .",
66
78
  "version": "sh ./fetch-version.sh"
67
79
  },
68
80
  "dependencies": {
69
81
  "@connectycube/use-chat": "^0.20.0",
70
- "@radix-ui/react-alert-dialog": "^1.1.6",
71
- "@radix-ui/react-avatar": "^1.1.3",
72
- "@radix-ui/react-dialog": "^1.1.6",
73
- "@radix-ui/react-dropdown-menu": "^2.1.6",
74
- "@radix-ui/react-label": "^2.1.2",
75
- "@radix-ui/react-slot": "^1.1.2",
76
- "@radix-ui/react-switch": "^1.1.3",
77
- "@radix-ui/react-tabs": "^1.1.3",
82
+ "@radix-ui/react-alert-dialog": "^1.1.7",
83
+ "@radix-ui/react-avatar": "^1.1.4",
84
+ "@radix-ui/react-dialog": "^1.1.7",
85
+ "@radix-ui/react-dropdown-menu": "^2.1.7",
86
+ "@radix-ui/react-label": "^2.1.3",
87
+ "@radix-ui/react-slot": "^1.2.0",
88
+ "@radix-ui/react-switch": "^1.1.4",
89
+ "@radix-ui/react-tabs": "^1.1.4",
78
90
  "class-variance-authority": "^0.7.1",
79
91
  "clsx": "^2.1.1",
80
- "connectycube": "^4.3.0",
81
92
  "get-browser-fingerprint": "^4.1.0",
82
- "i18next": "^24.2.3",
83
- "jsdom": "^26.0.0",
93
+ "i18next": "^25.0.0",
94
+ "jsdom": "^26.1.0",
84
95
  "linkify-react": "^4.2.0",
85
96
  "linkifyjs": "^4.2.0",
86
- "lucide-react": "^0.487.0",
97
+ "lucide-react": "^0.488.0",
87
98
  "next-themes": "^0.4.6",
88
- "react": "^18.3.1",
89
- "react-dom": "^18.3.1",
90
99
  "react-hook-form": "^7.55.0",
91
100
  "react-i18next": "^15.4.1",
92
101
  "react-icons": "^5.5.0",
93
102
  "react-intersection-observer": "^9.16.0",
94
103
  "react-player": "^2.16.0",
95
- "react-router": "^7.4.1",
96
- "react-router-dom": "^7.4.1",
97
- "react-scroll": "^1.9.3",
98
104
  "zustand": "^5.0.3"
99
105
  },
106
+ "peerDependencies": {
107
+ "connectycube": "^4.3.0",
108
+ "react": "^18 || ^19",
109
+ "react-dom": "^18 || ^19"
110
+ },
100
111
  "devDependencies": {
101
- "@eslint/js": "^9.23.0",
102
- "@tailwindcss/postcss": "^4.1.1",
103
- "@tailwindcss/vite": "^4.1.1",
104
- "@types/node": "^22.14.0",
105
- "@types/react": "^18.3.20",
106
- "@types/react-dom": "^18.3.6",
107
- "@types/react-scroll": "^1.8.10",
108
- "@vitejs/plugin-react": "^4.3.4",
112
+ "@eslint/js": "^9.24.0",
113
+ "@tailwindcss/postcss": "^4.1.4",
114
+ "@tailwindcss/vite": "^4.1.4",
115
+ "@types/node": "^22.14.1",
116
+ "@types/react": "^19.1.2",
117
+ "@types/react-dom": "^19.1.2",
118
+ "@vitejs/plugin-react": "^4.4.0",
109
119
  "@vitest/coverage-v8": "^3.1.1",
110
- "eslint": "^9.23.0",
120
+ "eslint": "^9.24.0",
111
121
  "eslint-plugin-react-hooks": "^5.2.0",
112
122
  "eslint-plugin-react-refresh": "^0.4.19",
113
123
  "globals": "^16.0.0",
114
- "npm-run-all": "^4.1.5",
115
124
  "prettier": "3.5.3",
116
125
  "sonner": "^2.0.3",
117
- "tailwind-merge": "^3.1.0",
118
- "tailwindcss": "^4.1.1",
119
- "tailwindcss-animate": "^1.0.7",
120
- "typescript": "^5.8.2",
121
- "typescript-eslint": "^8.29.0",
122
- "vite": "^6.2.5",
126
+ "tailwind-merge": "^3.2.0",
127
+ "tailwindcss": "^4.1.4",
128
+ "tw-animate-css": "^1.2.5",
129
+ "typescript": "^5.8.3",
130
+ "typescript-eslint": "^8.30.1",
131
+ "vite": "^6.3.1",
123
132
  "vite-plugin-css-injected-by-js": "^3.5.2",
124
133
  "vite-plugin-dts": "^4.5.3",
125
134
  "vitest": "^3.1.1"
126
135
  },
127
136
  "optionalDependencies": {
128
- "@rollup/rollup-linux-x64-gnu": "4.39.0",
129
- "@tailwindcss/oxide-linux-x64-gnu": "^4.1.1",
137
+ "@rollup/rollup-linux-x64-gnu": "4.40.0",
138
+ "@tailwindcss/oxide-linux-x64-gnu": "^4.1.4",
130
139
  "lightningcss-linux-x64-gnu": "^1.29.3"
131
140
  },
132
141
  "engines": {
133
142
  "node": ">=20.0.0",
134
143
  "npm": ">=10.0.0"
135
144
  }
136
- }
145
+ }
@@ -1,3 +0,0 @@
1
- type UsersTabProps = {};
2
- declare const UsersTab: React.FC<UsersTabProps>;
3
- export default UsersTab;
@@ -1,8 +0,0 @@
1
- type LoginProps = {
2
- id?: string;
3
- name?: string;
4
- avatar?: string;
5
- userProfileLink?: string;
6
- };
7
- declare const Login: React.FC<LoginProps>;
8
- export default Login;
@@ -1,3 +0,0 @@
1
- import * as React from "react";
2
- declare function Input({ className, type, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
3
- export { Input };
package/dist/favicon.ico DELETED
Binary file
@@ -1,4 +0,0 @@
1
- type GetValueAction<V> = () => V;
2
- type SetValueAction<V> = (newValue: V) => void;
3
- declare const useValue: <V>(initialValue: V) => [GetValueAction<V>, SetValueAction<V>];
4
- export default useValue;
File without changes
File without changes
File without changes
File without changes