stream-chat-react 14.0.0-beta.5 → 14.0.0-beta.7

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 (204) hide show
  1. package/dist/cjs/{WithAudioPlayback.0c10cb67.js → WithAudioPlayback.83ba0e35.js} +295 -183
  2. package/dist/cjs/WithAudioPlayback.83ba0e35.js.map +1 -0
  3. package/dist/cjs/emojis.js +5 -2
  4. package/dist/cjs/emojis.js.map +1 -1
  5. package/dist/cjs/index.js +1630 -1465
  6. package/dist/cjs/index.js.map +1 -1
  7. package/dist/css/emoji-picker.css +11 -0
  8. package/dist/css/emoji-picker.css.map +1 -0
  9. package/dist/css/index.css +707 -893
  10. package/dist/css/index.css.map +1 -1
  11. package/dist/es/{WithAudioPlayback.e7821fd4.mjs → WithAudioPlayback.21b7f35a.mjs} +442 -330
  12. package/dist/es/WithAudioPlayback.21b7f35a.mjs.map +1 -0
  13. package/dist/es/emojis.mjs +5 -2
  14. package/dist/es/emojis.mjs.map +1 -1
  15. package/dist/es/index.mjs +1711 -1546
  16. package/dist/es/index.mjs.map +1 -1
  17. package/dist/types/components/Attachment/Audio.d.ts.map +1 -1
  18. package/dist/types/components/Attachment/FileAttachment.d.ts.map +1 -1
  19. package/dist/types/components/Attachment/UnsupportedAttachment.d.ts +1 -1
  20. package/dist/types/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
  21. package/dist/types/components/Attachment/VoiceRecording.d.ts.map +1 -1
  22. package/dist/types/components/Attachment/components/FileSizeIndicator.d.ts +1 -2
  23. package/dist/types/components/Attachment/components/FileSizeIndicator.d.ts.map +1 -1
  24. package/dist/types/components/AudioPlayback/components/useInteractiveProgressBar.d.ts.map +1 -1
  25. package/dist/types/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.d.ts +4 -4
  26. package/dist/types/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.d.ts.map +1 -1
  27. package/dist/types/components/Avatar/Avatar.d.ts +1 -1
  28. package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
  29. package/dist/types/components/Avatar/AvatarStack.d.ts +2 -2
  30. package/dist/types/components/Avatar/AvatarStack.d.ts.map +1 -1
  31. package/dist/types/components/Avatar/ChannelAvatar.d.ts +2 -6
  32. package/dist/types/components/Avatar/ChannelAvatar.d.ts.map +1 -1
  33. package/dist/types/components/Avatar/GroupAvatar.d.ts +6 -7
  34. package/dist/types/components/Avatar/GroupAvatar.d.ts.map +1 -1
  35. package/dist/types/components/Badge/MediaBadge.d.ts +8 -0
  36. package/dist/types/components/Badge/MediaBadge.d.ts.map +1 -0
  37. package/dist/types/components/Channel/Channel.d.ts.map +1 -1
  38. package/dist/types/components/ChannelHeader/ChannelHeader.d.ts +0 -2
  39. package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
  40. package/dist/types/components/ChannelList/ChannelList.d.ts.map +1 -1
  41. package/dist/types/components/ChannelList/ChannelListHeader.d.ts +1 -5
  42. package/dist/types/components/ChannelList/ChannelListHeader.d.ts.map +1 -1
  43. package/dist/types/components/ChannelList/hooks/index.d.ts +0 -11
  44. package/dist/types/components/ChannelList/hooks/index.d.ts.map +1 -1
  45. package/dist/types/components/ChannelList/utils.d.ts +0 -9
  46. package/dist/types/components/ChannelList/utils.d.ts.map +1 -1
  47. package/dist/types/components/ChannelListItem/ChannelListItem.d.ts +0 -2
  48. package/dist/types/components/ChannelListItem/ChannelListItem.d.ts.map +1 -1
  49. package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts.map +1 -1
  50. package/dist/types/components/ChannelListItem/ChannelListItemUI.d.ts.map +1 -1
  51. package/dist/types/components/ChannelListItem/utils.d.ts.map +1 -1
  52. package/dist/types/components/Chat/Chat.d.ts +1 -5
  53. package/dist/types/components/Chat/Chat.d.ts.map +1 -1
  54. package/dist/types/components/Chat/hooks/useChat.d.ts +1 -10
  55. package/dist/types/components/Chat/hooks/useChat.d.ts.map +1 -1
  56. package/dist/types/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  57. package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts +6 -0
  58. package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts.map +1 -0
  59. package/dist/types/components/Chat/index.d.ts +1 -0
  60. package/dist/types/components/Chat/index.d.ts.map +1 -1
  61. package/dist/types/components/ChatView/ChatView.d.ts.map +1 -1
  62. package/dist/types/components/Dialog/components/ContextMenu.d.ts +1 -1
  63. package/dist/types/components/Dialog/components/ContextMenu.d.ts.map +1 -1
  64. package/dist/types/components/Dialog/hooks/useDialog.d.ts.map +1 -1
  65. package/dist/types/components/Dialog/service/DialogManager.d.ts +3 -2
  66. package/dist/types/components/Dialog/service/DialogManager.d.ts.map +1 -1
  67. package/dist/types/components/Icons/createIcon.d.ts +1 -1
  68. package/dist/types/components/Icons/createIcon.d.ts.map +1 -1
  69. package/dist/types/components/Icons/icons.d.ts +21 -9
  70. package/dist/types/components/Icons/icons.d.ts.map +1 -1
  71. package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
  72. package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
  73. package/dist/types/components/LoadMore/LoadMoreButton.d.ts +1 -6
  74. package/dist/types/components/LoadMore/LoadMoreButton.d.ts.map +1 -1
  75. package/dist/types/components/LoadMore/LoadMorePaginator.d.ts.map +1 -1
  76. package/dist/types/components/Loading/UploadProgressIndicator.d.ts +5 -0
  77. package/dist/types/components/Loading/UploadProgressIndicator.d.ts.map +1 -0
  78. package/dist/types/components/Loading/UploadedSizeIndicator.d.ts +6 -0
  79. package/dist/types/components/Loading/UploadedSizeIndicator.d.ts.map +1 -0
  80. package/dist/types/components/Loading/index.d.ts +3 -0
  81. package/dist/types/components/Loading/index.d.ts.map +1 -1
  82. package/dist/types/components/Loading/progress-indicators.d.ts +7 -0
  83. package/dist/types/components/Loading/progress-indicators.d.ts.map +1 -0
  84. package/dist/types/components/Location/ShareLocationDialog.d.ts.map +1 -1
  85. package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.d.ts.map +1 -1
  86. package/dist/types/components/Message/Message.d.ts.map +1 -1
  87. package/dist/types/components/Message/MessageAlsoSentInChannelIndicator.d.ts.map +1 -1
  88. package/dist/types/components/Message/MessageUI.d.ts.map +1 -1
  89. package/dist/types/components/Message/hooks/useDeleteHandler.d.ts +1 -5
  90. package/dist/types/components/Message/hooks/useDeleteHandler.d.ts.map +1 -1
  91. package/dist/types/components/Message/hooks/useFlagHandler.d.ts +1 -6
  92. package/dist/types/components/Message/hooks/useFlagHandler.d.ts.map +1 -1
  93. package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts +1 -6
  94. package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts.map +1 -1
  95. package/dist/types/components/Message/hooks/useMuteHandler.d.ts +2 -7
  96. package/dist/types/components/Message/hooks/useMuteHandler.d.ts.map +1 -1
  97. package/dist/types/components/Message/hooks/usePinHandler.d.ts +1 -23
  98. package/dist/types/components/Message/hooks/usePinHandler.d.ts.map +1 -1
  99. package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts +1 -6
  100. package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts.map +1 -1
  101. package/dist/types/components/Message/hooks/useUserRole.d.ts +1 -1
  102. package/dist/types/components/Message/hooks/useUserRole.d.ts.map +1 -1
  103. package/dist/types/components/Message/types.d.ts +1 -23
  104. package/dist/types/components/Message/types.d.ts.map +1 -1
  105. package/dist/types/components/Message/utils.d.ts +1 -2
  106. package/dist/types/components/Message/utils.d.ts.map +1 -1
  107. package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
  108. package/dist/types/components/MessageActions/RemindMeSubmenu.d.ts.map +1 -1
  109. package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts +14 -0
  110. package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts.map +1 -0
  111. package/dist/types/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.d.ts.map +1 -1
  112. package/dist/types/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.d.ts.map +1 -1
  113. package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
  114. package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts +1 -1
  115. package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts.map +1 -1
  116. package/dist/types/components/MessageComposer/hooks/useSubmitHandler.d.ts.map +1 -1
  117. package/dist/types/components/MessageComposer/icons.d.ts +0 -1
  118. package/dist/types/components/MessageComposer/icons.d.ts.map +1 -1
  119. package/dist/types/components/MessageList/MessageList.d.ts +1 -1
  120. package/dist/types/components/MessageList/MessageList.d.ts.map +1 -1
  121. package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
  122. package/dist/types/components/MessageList/index.d.ts +0 -1
  123. package/dist/types/components/MessageList/index.d.ts.map +1 -1
  124. package/dist/types/components/MessageList/utils.d.ts +0 -1
  125. package/dist/types/components/MessageList/utils.d.ts.map +1 -1
  126. package/dist/types/components/Notifications/NotificationList.d.ts.map +1 -1
  127. package/dist/types/components/Notifications/hooks/index.d.ts +2 -0
  128. package/dist/types/components/Notifications/hooks/index.d.ts.map +1 -1
  129. package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts +63 -0
  130. package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -0
  131. package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts +14 -0
  132. package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts.map +1 -0
  133. package/dist/types/components/Notifications/notificationTarget.d.ts +1 -0
  134. package/dist/types/components/Notifications/notificationTarget.d.ts.map +1 -1
  135. package/dist/types/components/Poll/PollActions/EndPollAlert.d.ts.map +1 -1
  136. package/dist/types/components/ReactFileUtilities/UploadButton.d.ts +3 -11
  137. package/dist/types/components/ReactFileUtilities/UploadButton.d.ts.map +1 -1
  138. package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
  139. package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +12 -2
  140. package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
  141. package/dist/types/components/Reactions/ReactionSelector.d.ts +3 -0
  142. package/dist/types/components/Reactions/ReactionSelector.d.ts.map +1 -1
  143. package/dist/types/components/Reactions/hooks/useFetchReactions.d.ts.map +1 -1
  144. package/dist/types/components/Reactions/index.d.ts +0 -1
  145. package/dist/types/components/Reactions/index.d.ts.map +1 -1
  146. package/dist/types/components/SummarizedMessagePreview/SummarizedMessagePreview.d.ts.map +1 -1
  147. package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts +1 -1
  148. package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
  149. package/dist/types/components/Thread/ThreadHeader.d.ts +0 -2
  150. package/dist/types/components/Thread/ThreadHeader.d.ts.map +1 -1
  151. package/dist/types/components/Threads/ThreadList/ThreadList.d.ts.map +1 -1
  152. package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts +1 -5
  153. package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts.map +1 -1
  154. package/dist/types/components/Threads/ThreadList/ThreadListItemUI.d.ts.map +1 -1
  155. package/dist/types/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
  156. package/dist/types/components/index.d.ts +2 -2
  157. package/dist/types/components/index.d.ts.map +1 -1
  158. package/dist/types/context/ChatContext.d.ts +0 -3
  159. package/dist/types/context/ChatContext.d.ts.map +1 -1
  160. package/dist/types/context/ComponentContext.d.ts +19 -3
  161. package/dist/types/context/ComponentContext.d.ts.map +1 -1
  162. package/dist/types/context/MessageContext.d.ts +0 -3
  163. package/dist/types/context/MessageContext.d.ts.map +1 -1
  164. package/dist/types/i18n/Streami18n.d.ts +21 -11
  165. package/dist/types/i18n/Streami18n.d.ts.map +1 -1
  166. package/dist/types/plugins/Emojis/EmojiPicker.d.ts +0 -6
  167. package/dist/types/plugins/Emojis/EmojiPicker.d.ts.map +1 -1
  168. package/dist/types/types/types.d.ts +0 -5
  169. package/dist/types/types/types.d.ts.map +1 -1
  170. package/package.json +4 -4
  171. package/dist/cjs/WithAudioPlayback.0c10cb67.js.map +0 -1
  172. package/dist/es/WithAudioPlayback.e7821fd4.mjs.map +0 -1
  173. package/dist/types/components/Button/ToggleSidebarButton.d.ts +0 -10
  174. package/dist/types/components/Button/ToggleSidebarButton.d.ts.map +0 -1
  175. package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts +0 -3
  176. package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts.map +0 -1
  177. package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts +0 -3
  178. package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts.map +0 -1
  179. package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts +0 -3
  180. package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts.map +0 -1
  181. package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts +0 -3
  182. package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts.map +0 -1
  183. package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts +0 -3
  184. package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts.map +0 -1
  185. package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts +0 -3
  186. package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts.map +0 -1
  187. package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts +0 -3
  188. package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts.map +0 -1
  189. package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts +0 -2
  190. package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts.map +0 -1
  191. package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts +0 -3
  192. package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts.map +0 -1
  193. package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts +0 -3
  194. package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts.map +0 -1
  195. package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts +0 -3
  196. package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts.map +0 -1
  197. package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts +0 -3
  198. package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts.map +0 -1
  199. package/dist/types/components/MessageList/ConnectionStatus.d.ts +0 -3
  200. package/dist/types/components/MessageList/ConnectionStatus.d.ts.map +0 -1
  201. package/dist/types/components/Reactions/StreamEmoji.d.ts +0 -19
  202. package/dist/types/components/Reactions/StreamEmoji.d.ts.map +0 -1
  203. package/dist/types/utils/deprecationWarning.d.ts +0 -2
  204. package/dist/types/utils/deprecationWarning.d.ts.map +0 -1
@@ -979,6 +979,33 @@ class AudioPlayerPool {
979
979
  }
980
980
  }
981
981
  }
982
+ const audioPlayerNotificationsPluginFactory = ({
983
+ addNotification,
984
+ panel = "channel",
985
+ t
986
+ }) => {
987
+ const errors = {
988
+ "failed-to-start": new Error(t("Failed to play the recording")),
989
+ "not-playable": new Error(
990
+ t("Recording format is not supported and cannot be reproduced")
991
+ ),
992
+ "seek-not-supported": new Error(t("Cannot seek in the recording"))
993
+ };
994
+ return {
995
+ id: "AudioPlayerNotificationsPlugin",
996
+ onError: ({ errCode, error: e }) => {
997
+ const error = (errCode && errors[errCode]) ?? e ?? new Error(t("Error reproducing the recording"));
998
+ addNotification({
999
+ emitter: "AudioPlayer",
1000
+ error,
1001
+ message: error.message,
1002
+ severity: "error",
1003
+ targetPanels: [panel],
1004
+ type: "browser:audio:playback:error"
1005
+ });
1006
+ }
1007
+ };
1008
+ };
982
1009
  const NOTIFICATION_TARGET_PANELS = [
983
1010
  "channel",
984
1011
  "thread",
@@ -995,46 +1022,29 @@ const getNotificationTargetPanel = (notification) => {
995
1022
  const panel = notification.origin.context?.panel;
996
1023
  return isNotificationTargetPanel(panel) ? panel : void 0;
997
1024
  };
1025
+ const getNotificationTargetPanels = (notification) => {
1026
+ const targetPanels = (notification.tags ?? []).filter((tag) => tag.startsWith("target:")).map((tag) => tag.slice("target:".length)).filter(
1027
+ (value) => isNotificationTargetPanel(value)
1028
+ );
1029
+ if (targetPanels.length > 0) {
1030
+ return Array.from(new Set(targetPanels));
1031
+ }
1032
+ const panel = notification.origin.context?.panel;
1033
+ return isNotificationTargetPanel(panel) ? [panel] : [];
1034
+ };
998
1035
  const getNotificationTargetTag = (panel) => `target:${panel}`;
999
1036
  const addNotificationTargetTag = (panel, tags) => {
1000
1037
  if (!panel) return tags ?? [];
1001
1038
  return Array.from(/* @__PURE__ */ new Set([getNotificationTargetTag(panel), ...tags ?? []]));
1002
1039
  };
1003
1040
  const isNotificationForPanel = (notification, panel, options) => {
1004
- const fallbackPanel = options?.fallbackPanel ?? "channel";
1005
- const resolvedPanel = getNotificationTargetPanel(notification) ?? fallbackPanel;
1041
+ const explicitTargetPanels = getNotificationTargetPanels(notification);
1042
+ if (explicitTargetPanels.length > 0) {
1043
+ return explicitTargetPanels.includes(panel);
1044
+ }
1045
+ const resolvedPanel = options?.fallbackPanel ?? "channel";
1006
1046
  return resolvedPanel === panel;
1007
1047
  };
1008
- const audioPlayerNotificationsPluginFactory = ({
1009
- client,
1010
- panel = "channel",
1011
- t
1012
- }) => {
1013
- const errors = {
1014
- "failed-to-start": new Error(t("Failed to play the recording")),
1015
- "not-playable": new Error(
1016
- t("Recording format is not supported and cannot be reproduced")
1017
- ),
1018
- "seek-not-supported": new Error(t("Cannot seek in the recording"))
1019
- };
1020
- return {
1021
- id: "AudioPlayerNotificationsPlugin",
1022
- onError: ({ errCode, error: e }) => {
1023
- const error = (errCode && errors[errCode]) ?? e ?? new Error(t("Error reproducing the recording"));
1024
- client?.notifications.addError({
1025
- message: error.message,
1026
- options: {
1027
- originalError: error,
1028
- tags: addNotificationTargetTag(panel),
1029
- type: "browser:audio:playback:error"
1030
- },
1031
- origin: {
1032
- emitter: "AudioPlayer"
1033
- }
1034
- });
1035
- }
1036
- };
1037
- };
1038
1048
  const variantToClass = {
1039
1049
  danger: "str-chat__button--destructive",
1040
1050
  primary: "str-chat__button--primary",
@@ -1143,7 +1153,8 @@ const IconArrowLeft = createIcon(
1143
1153
  strokeLinejoin: "round",
1144
1154
  strokeWidth: "1.5"
1145
1155
  }
1146
- )
1156
+ ),
1157
+ { "data-rtl-mirror": "" }
1147
1158
  );
1148
1159
  const IconArrowUpRight = createIcon(
1149
1160
  "IconArrowUpRight",
@@ -1157,7 +1168,8 @@ const IconArrowUpRight = createIcon(
1157
1168
  strokeLinejoin: "round",
1158
1169
  strokeWidth: "1.5"
1159
1170
  }
1160
- )
1171
+ ),
1172
+ { "data-rtl-mirror": "" }
1161
1173
  );
1162
1174
  const IconRetry = createIcon(
1163
1175
  "IconRetry",
@@ -1199,7 +1211,8 @@ const IconReply = createIcon(
1199
1211
  strokeLinejoin: "round",
1200
1212
  strokeWidth: "1.5"
1201
1213
  }
1202
- )
1214
+ ),
1215
+ { "data-rtl-mirror": "" }
1203
1216
  );
1204
1217
  const IconArrowUp = createIcon(
1205
1218
  "IconArrowUp",
@@ -1243,8 +1256,8 @@ const IconBellOff = createIcon(
1243
1256
  }
1244
1257
  )
1245
1258
  );
1246
- const IconSave = createIcon(
1247
- "IconSave",
1259
+ const IconBookmark = createIcon(
1260
+ "IconBookmark",
1248
1261
  /* @__PURE__ */ jsx(
1249
1262
  "path",
1250
1263
  {
@@ -1257,8 +1270,8 @@ const IconSave = createIcon(
1257
1270
  }
1258
1271
  )
1259
1272
  );
1260
- const IconUnsave = createIcon(
1261
- "IconUnsave",
1273
+ const IconBookmarkRemove = createIcon(
1274
+ "IconBookmarkRemove",
1262
1275
  /* @__PURE__ */ jsx(
1263
1276
  "path",
1264
1277
  {
@@ -1444,7 +1457,8 @@ const IconChevronLeft = createIcon(
1444
1457
  strokeLinejoin: "round",
1445
1458
  strokeWidth: "1.5"
1446
1459
  }
1447
- )
1460
+ ),
1461
+ { "data-rtl-mirror": "" }
1448
1462
  );
1449
1463
  const IconChevronRight = createIcon(
1450
1464
  "IconChevronRight",
@@ -1458,7 +1472,8 @@ const IconChevronRight = createIcon(
1458
1472
  strokeLinejoin: "round",
1459
1473
  strokeWidth: "1.5"
1460
1474
  }
1461
- )
1475
+ ),
1476
+ { "data-rtl-mirror": "" }
1462
1477
  );
1463
1478
  const IconNoSign = createIcon(
1464
1479
  "IconNoSign",
@@ -1488,6 +1503,16 @@ const IconMinusCircle = createIcon(
1488
1503
  }
1489
1504
  )
1490
1505
  );
1506
+ const IconMinus = createIcon(
1507
+ "IconMinus",
1508
+ /* @__PURE__ */ jsx(
1509
+ "path",
1510
+ {
1511
+ d: "M16.875 9.40039C17.2064 9.40039 17.4746 9.66863 17.4746 10C17.4746 10.3314 17.2064 10.5996 16.875 10.5996H3.125C2.79363 10.5996 2.52539 10.3314 2.52539 10C2.52539 9.66863 2.79363 9.40039 3.125 9.40039H16.875Z",
1512
+ fill: "currentColor"
1513
+ }
1514
+ )
1515
+ );
1491
1516
  const IconXCircle = createIcon(
1492
1517
  "IconXCircle",
1493
1518
  /* @__PURE__ */ jsx(
@@ -1540,16 +1565,16 @@ const IconXmark = createIcon(
1540
1565
  stroke: "currentColor",
1541
1566
  strokeLinecap: "round",
1542
1567
  strokeLinejoin: "round",
1543
- strokeWidth: "1.5"
1568
+ strokeWidth: "2"
1544
1569
  }
1545
1570
  )
1546
1571
  );
1547
- const IconCrossSmall = createIcon(
1548
- "IconCrossSmall",
1572
+ const IconXmarkSmall = createIcon(
1573
+ "IconXmarkSmall",
1549
1574
  /* @__PURE__ */ jsx(
1550
1575
  "path",
1551
1576
  {
1552
- d: "M15.625 4.375L4.375 15.625M15.625 15.625L4.375 4.375",
1577
+ d: "M13.5 6.5L6.5 13.5M13.5 13.5L6.5 6.5",
1553
1578
  fill: "none",
1554
1579
  stroke: "currentColor",
1555
1580
  strokeLinecap: "round",
@@ -1607,6 +1632,46 @@ const IconEmoji = createIcon(
1607
1632
  /* @__PURE__ */ jsx("path", { d: "M12.4756 11.499C12.683 11.1407 13.1425 11.0182 13.501 11.2256C13.8593 11.433 13.9818 11.8925 13.7744 12.251C13.0125 13.568 11.6947 14.5 10 14.5C8.30531 14.5 6.98748 13.568 6.22559 12.251C6.01825 11.8925 6.14067 11.433 6.49902 11.2256C6.85749 11.0182 7.31695 11.1407 7.52441 11.499C8.05942 12.424 8.91824 13 10 13C11.0818 13 11.9406 12.424 12.4756 11.499Z" })
1608
1633
  ] })
1609
1634
  );
1635
+ const IconEmojiAdd = createIcon(
1636
+ "IconEmojiAdd",
1637
+ /* @__PURE__ */ jsxs(Fragment, { children: [
1638
+ /* @__PURE__ */ jsx(
1639
+ "path",
1640
+ {
1641
+ d: "M1.75 10C1.75 5.44365 5.44365 1.75 10 1.75C10.4142 1.75 10.75 2.08579 10.75 2.5C10.75 2.91421 10.4142 3.25 10 3.25C6.27208 3.25 3.25 6.27208 3.25 10C3.25 13.7279 6.27208 16.75 10 16.75C13.7279 16.75 16.75 13.7279 16.75 10C16.75 9.58579 17.0858 9.25 17.5 9.25C17.9142 9.25 18.25 9.58579 18.25 10C18.25 14.5563 14.5563 18.25 10 18.25C5.44365 18.25 1.75 14.5563 1.75 10Z",
1642
+ fill: "currentColor"
1643
+ }
1644
+ ),
1645
+ /* @__PURE__ */ jsx(
1646
+ "path",
1647
+ {
1648
+ d: "M7.1875 9.375C7.70527 9.375 8.125 8.95527 8.125 8.4375C8.125 7.91973 7.70527 7.5 7.1875 7.5C6.66973 7.5 6.25 7.91973 6.25 8.4375C6.25 8.95527 6.66973 9.375 7.1875 9.375Z",
1649
+ fill: "currentColor"
1650
+ }
1651
+ ),
1652
+ /* @__PURE__ */ jsx(
1653
+ "path",
1654
+ {
1655
+ d: "M12.8125 9.375C13.3303 9.375 13.75 8.95527 13.75 8.4375C13.75 7.91973 13.3303 7.5 12.8125 7.5C12.2947 7.5 11.875 7.91973 11.875 8.4375C11.875 8.95527 12.2947 9.375 12.8125 9.375Z",
1656
+ fill: "currentColor"
1657
+ }
1658
+ ),
1659
+ /* @__PURE__ */ jsx(
1660
+ "path",
1661
+ {
1662
+ d: "M12.4756 11.499C12.683 11.1407 13.1425 11.0182 13.501 11.2256C13.8593 11.433 13.9818 11.8925 13.7744 12.251C13.0125 13.568 11.6947 14.5 10 14.5C8.30531 14.5 6.98748 13.568 6.22559 12.251C6.01825 11.8925 6.14067 11.433 6.49902 11.2256C6.85749 11.0182 7.31695 11.1407 7.52441 11.499C8.05942 12.424 8.91824 13 10 13C11.0818 13 11.9406 12.424 12.4756 11.499Z",
1663
+ fill: "currentColor"
1664
+ }
1665
+ ),
1666
+ /* @__PURE__ */ jsx(
1667
+ "path",
1668
+ {
1669
+ d: "M15.083 6.87524V4.91626H13.125C12.7108 4.91626 12.375 4.58047 12.375 4.16626C12.3752 3.7522 12.7109 3.41626 13.125 3.41626H15.083V1.45825C15.083 1.04415 15.4189 0.708427 15.833 0.708252C16.2472 0.708252 16.583 1.04404 16.583 1.45825V3.41626H18.542C18.9559 3.41644 19.2918 3.7523 19.292 4.16626C19.292 4.58036 18.9561 4.91608 18.542 4.91626H16.583V6.87524C16.5828 7.28931 16.2471 7.62524 15.833 7.62524C15.4191 7.62507 15.0832 7.2892 15.083 6.87524Z",
1670
+ fill: "currentColor"
1671
+ }
1672
+ )
1673
+ ] })
1674
+ );
1610
1675
  const IconExclamationMarkFill = createIcon(
1611
1676
  "IconExclamationMarkFill",
1612
1677
  /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -1626,15 +1691,23 @@ const IconExclamationMark = createIcon(
1626
1691
  /* @__PURE__ */ jsx("path", { d: "M10 14.375C10.5178 14.375 10.9375 13.9553 10.9375 13.4375C10.9375 12.9197 10.5178 12.5 10 12.5C9.48223 12.5 9.0625 12.9197 9.0625 13.4375C9.0625 13.9553 9.48223 14.375 10 14.375Z" })
1627
1692
  ] })
1628
1693
  );
1629
- const IconExclamationTriangle = createIcon(
1630
- "IconExclamationTriangle",
1631
- /* @__PURE__ */ jsx("path", { d: "M6.33838 2.1211C7.08775 0.860752 8.91225 0.860759 9.66162 2.1211L14.6509 10.5117C15.4171 11.8003 14.4889 13.4333 12.9897 13.4336H3.01026C1.51115 13.4333 0.582944 11.8003 1.34912 10.5117L6.33838 2.1211ZM8.63037 2.73438C8.34614 2.25634 7.65386 2.25634 7.36963 2.73438L2.38037 11.125C2.08977 11.6138 2.44181 12.2331 3.01026 12.2334H12.9897C13.5582 12.2331 13.9102 11.6138 13.6196 11.125L8.63037 2.73438ZM7.3999 8.50001V5.83302C7.40008 5.5018 7.66923 5.23341 8.00049 5.23341C8.33153 5.23367 8.59993 5.50196 8.6001 5.83302V8.50001C8.6001 8.83122 8.33164 9.09936 8.00049 9.09962C7.66912 9.09962 7.39991 8.83138 7.3999 8.50001ZM8.76709 10.333C8.76709 10.7563 8.4237 11.0994 8.00049 11.0996C7.57705 11.0996 7.23291 10.7565 7.23291 10.333C7.23309 9.90973 7.57716 9.56642 8.00049 9.56642L8.07862 9.57032C8.46503 9.60966 8.76693 9.93626 8.76709 10.333Z" }),
1632
- { viewBox: "0 0 16 16" }
1694
+ const IconExclamationTriangleFill = createIcon(
1695
+ "IconExclamationTriangleFill",
1696
+ /* @__PURE__ */ jsx("path", { d: "M18.4999 14.6946L11.6678 2.82974C11.4971 2.53906 11.2534 2.29803 10.9608 2.13057C10.6682 1.9631 10.337 1.875 9.99986 1.875C9.66275 1.875 9.33149 1.9631 9.03892 2.13057C8.74635 2.29803 8.50262 2.53906 8.33189 2.82974L1.49986 14.6946C1.33559 14.9757 1.24902 15.2955 1.24902 15.6211C1.24902 15.9468 1.33559 16.2665 1.49986 16.5477C1.6684 16.8401 1.91171 17.0825 2.20483 17.2498C2.49795 17.4172 2.83032 17.5036 3.16783 17.5001H16.8319C17.1691 17.5033 17.5012 17.4168 17.794 17.2494C18.0868 17.0821 18.3299 16.8399 18.4983 16.5477C18.6628 16.2667 18.7496 15.947 18.7499 15.6214C18.7502 15.2957 18.6639 14.9759 18.4999 14.6946ZM9.37486 8.12505C9.37486 7.95929 9.44071 7.80032 9.55792 7.68311C9.67513 7.5659 9.8341 7.50005 9.99986 7.50005C10.1656 7.50005 10.3246 7.5659 10.4418 7.68311C10.559 7.80032 10.6249 7.95929 10.6249 8.12505V11.2501C10.6249 11.4158 10.559 11.5748 10.4418 11.692C10.3246 11.8092 10.1656 11.8751 9.99986 11.8751C9.8341 11.8751 9.67513 11.8092 9.55792 11.692C9.44071 11.5748 9.37486 11.4158 9.37486 11.2501V8.12505ZM9.99986 15.0001C9.81444 15.0001 9.63319 14.9451 9.47901 14.8421C9.32484 14.739 9.20468 14.5926 9.13372 14.4213C9.06277 14.25 9.0442 14.0615 9.08038 13.8797C9.11655 13.6978 9.20584 13.5308 9.33695 13.3996C9.46806 13.2685 9.63511 13.1792 9.81696 13.1431C9.99882 13.1069 10.1873 13.1255 10.3586 13.1964C10.5299 13.2674 10.6764 13.3875 10.7794 13.5417C10.8824 13.6959 10.9374 13.8771 10.9374 14.0626C10.9374 14.3112 10.8386 14.5496 10.6628 14.7255C10.487 14.9013 10.2485 15.0001 9.99986 15.0001Z" })
1633
1697
  );
1634
- const IconEyeOpen = createIcon(
1635
- "IconEyeOpen",
1636
- /* @__PURE__ */ jsx("path", { d: "M8.00001 2.56708C10.6293 2.5671 13.1778 4.13929 14.874 7.11591C15.1862 7.66419 15.1864 8.33627 14.874 8.88446C13.1778 11.861 10.6292 13.4333 8.00001 13.4333C5.37079 13.4333 2.82216 11.861 1.12598 8.88446C0.813474 8.33611 0.813474 7.66328 1.12598 7.11493C2.82216 4.13867 5.37091 2.56707 8.00001 2.56708ZM8.00001 3.7663C5.88909 3.76629 3.69769 5.02518 2.16798 7.70966C2.06545 7.88967 2.0654 8.11071 2.16798 8.29071C3.69768 10.9751 5.88913 12.2331 8.00001 12.2331C10.1109 12.2331 12.3023 10.9751 13.832 8.29071C13.9346 8.11071 13.9346 7.8898 13.832 7.70966C12.3023 5.02517 10.1109 3.76631 8.00001 3.7663ZM9.56641 7.99969C9.56624 7.13461 8.86513 6.43329 8.00001 6.43329C7.13489 6.43329 6.43378 7.13461 6.4336 7.99969C6.4336 8.86492 7.13478 9.56708 8.00001 9.56708C8.86524 9.56708 9.56641 8.86492 9.56641 7.99969ZM10.7666 7.99969C10.7666 9.52767 9.52798 10.7663 8.00001 10.7663C6.47204 10.7663 5.23341 9.52767 5.23341 7.99969C5.23358 6.47187 6.47214 5.23309 8.00001 5.23309C9.52787 5.23309 10.7664 6.47187 10.7666 7.99969Z" }),
1637
- { viewBox: "0 0 16 16" }
1698
+ const IconEyeFill = createIcon(
1699
+ "IconEyeFill",
1700
+ /* @__PURE__ */ jsx("path", { d: "M19.3211 9.74688C19.2937 9.68516 18.632 8.21719 17.1609 6.74609C15.2008 4.78594 12.725 3.75 9.99999 3.75C7.27499 3.75 4.79921 4.78594 2.83905 6.74609C1.36796 8.21719 0.703118 9.6875 0.678899 9.74688C0.643362 9.82681 0.625 9.91331 0.625 10.0008C0.625 10.0883 0.643362 10.1748 0.678899 10.2547C0.706243 10.3164 1.36796 11.7836 2.83905 13.2547C4.79921 15.2141 7.27499 16.25 9.99999 16.25C12.725 16.25 15.2008 15.2141 17.1609 13.2547C18.632 11.7836 19.2937 10.3164 19.3211 10.2547C19.3566 10.1748 19.375 10.0883 19.375 10.0008C19.375 9.91331 19.3566 9.82681 19.3211 9.74688ZM9.99999 13.125C9.38193 13.125 8.77774 12.9417 8.26384 12.5983C7.74993 12.255 7.34939 11.7669 7.11287 11.1959C6.87634 10.6249 6.81446 9.99653 6.93504 9.39034C7.05562 8.78415 7.35324 8.22733 7.79028 7.79029C8.22732 7.35325 8.78414 7.05562 9.39033 6.93505C9.99652 6.81447 10.6249 6.87635 11.1959 7.11288C11.7669 7.3494 12.255 7.74994 12.5983 8.26384C12.9417 8.77775 13.125 9.38193 13.125 10C13.125 10.8288 12.7958 11.6237 12.2097 12.2097C11.6236 12.7958 10.8288 13.125 9.99999 13.125Z" })
1701
+ );
1702
+ const IconUnsupportedAttachment = createIcon(
1703
+ "IconUnsupportedAttachment",
1704
+ /* @__PURE__ */ jsx(
1705
+ "path",
1706
+ {
1707
+ d: "M4.5 16.75H15.5V7.625H11.875C11.4608 7.625 11.125 7.28921 11.125 6.875V3.25H4.5V16.75ZM11.3447 9.46973C11.6376 9.17683 12.1124 9.17683 12.4053 9.46973C12.6982 9.76262 12.6982 10.2374 12.4053 10.5303L11.0605 11.875L12.4053 13.2197C12.6982 13.5126 12.6982 13.9874 12.4053 14.2803C12.1124 14.5732 11.6376 14.5732 11.3447 14.2803L10 12.9355L8.65527 14.2803C8.36238 14.5732 7.88762 14.5732 7.59473 14.2803C7.30183 13.9874 7.30183 13.5126 7.59473 13.2197L8.93945 11.875L7.59473 10.5303C7.30183 10.2374 7.30183 9.76262 7.59473 9.46973C7.88762 9.17683 8.36238 9.17683 8.65527 9.46973L10 10.8145L11.3447 9.46973ZM12.625 6.125H14.4395L12.625 4.31055V6.125ZM17 16.875C17 17.2397 16.8555 17.5898 16.5977 17.8477C16.3398 18.1055 15.9897 18.25 15.625 18.25H4.375C4.01033 18.25 3.66021 18.1055 3.40234 17.8477C3.14448 17.5898 3 17.2397 3 16.875V3.125C3 2.76033 3.14448 2.41021 3.40234 2.15234L3.50391 2.06152C3.74856 1.86111 4.05597 1.75 4.375 1.75H11.875C12.0739 1.75 12.2646 1.82907 12.4053 1.96973L16.7803 6.34473C16.9209 6.48538 17 6.67609 17 6.875V16.875Z",
1708
+ fill: "currentColor"
1709
+ }
1710
+ )
1638
1711
  );
1639
1712
  const IconUpload = createIcon(
1640
1713
  "IconUpload",
@@ -1692,20 +1765,6 @@ const IconImage = createIcon(
1692
1765
  }
1693
1766
  )
1694
1767
  );
1695
- const IconSidebar = createIcon(
1696
- "IconSidebar",
1697
- /* @__PURE__ */ jsx(
1698
- "path",
1699
- {
1700
- d: "M6.875 3.75V16.25M3.125 3.75H16.875C17.2202 3.75 17.5 4.02982 17.5 4.375V15.625C17.5 15.9702 17.2202 16.25 16.875 16.25H3.125C2.77982 16.25 2.5 15.9702 2.5 15.625V4.375C2.5 4.02982 2.77982 3.75 3.125 3.75Z",
1701
- fill: "none",
1702
- stroke: "currentColor",
1703
- strokeLinecap: "round",
1704
- strokeLinejoin: "round",
1705
- strokeWidth: "1.5"
1706
- }
1707
- )
1708
- );
1709
1768
  const IconSearch = createIcon(
1710
1769
  "IconSearch",
1711
1770
  /* @__PURE__ */ jsx(
@@ -1718,7 +1777,8 @@ const IconSearch = createIcon(
1718
1777
  strokeLinejoin: "round",
1719
1778
  strokeWidth: "1.5"
1720
1779
  }
1721
- )
1780
+ ),
1781
+ { "data-rtl-mirror": "" }
1722
1782
  );
1723
1783
  const IconLocation = createIcon(
1724
1784
  "IconLocation",
@@ -1761,6 +1821,16 @@ const IconVoice = createIcon(
1761
1821
  }
1762
1822
  )
1763
1823
  );
1824
+ const IconMicrophoneSolid = createIcon(
1825
+ "IconMicrophoneSolid",
1826
+ /* @__PURE__ */ jsx(
1827
+ "path",
1828
+ {
1829
+ d: "M6.25 10V5C6.25 4.00544 6.64509 3.05161 7.34835 2.34835C8.05161 1.64509 9.00544 1.25 10 1.25C10.9946 1.25 11.9484 1.64509 12.6517 2.34835C13.3549 3.05161 13.75 4.00544 13.75 5V10C13.75 10.9946 13.3549 11.9484 12.6517 12.6517C11.9484 13.3549 10.9946 13.75 10 13.75C9.00544 13.75 8.05161 13.3549 7.34835 12.6517C6.64509 11.9484 6.25 10.9946 6.25 10ZM16.25 10C16.25 9.83424 16.1842 9.67527 16.0669 9.55806C15.9497 9.44085 15.7908 9.375 15.625 9.375C15.4592 9.375 15.3003 9.44085 15.1831 9.55806C15.0658 9.67527 15 9.83424 15 10C15 11.3261 14.4732 12.5979 13.5355 13.5355C12.5979 14.4732 11.3261 15 10 15C8.67392 15 7.40215 14.4732 6.46447 13.5355C5.52678 12.5979 5 11.3261 5 10C5 9.83424 4.93415 9.67527 4.81694 9.55806C4.69973 9.44085 4.54076 9.375 4.375 9.375C4.20924 9.375 4.05027 9.44085 3.93306 9.55806C3.81585 9.67527 3.75 9.83424 3.75 10C3.7519 11.5489 4.32806 13.042 5.36707 14.1907C6.40607 15.3393 7.83409 16.062 9.375 16.2188V18.75C9.375 18.9158 9.44085 19.0747 9.55806 19.1919C9.67527 19.3092 9.83424 19.375 10 19.375C10.1658 19.375 10.3247 19.3092 10.4419 19.1919C10.5592 19.0747 10.625 18.9158 10.625 18.75V16.2188C12.1659 16.062 13.5939 15.3393 14.6329 14.1907C15.6719 13.042 16.2481 11.5489 16.25 10Z",
1830
+ fill: "currentColor"
1831
+ }
1832
+ )
1833
+ );
1764
1834
  const IconMute = createIcon(
1765
1835
  "IconMute",
1766
1836
  /* @__PURE__ */ jsx(
@@ -1773,7 +1843,8 @@ const IconMute = createIcon(
1773
1843
  strokeLinejoin: "round",
1774
1844
  strokeWidth: "1.5"
1775
1845
  }
1776
- )
1846
+ ),
1847
+ { "data-rtl-mirror": "" }
1777
1848
  );
1778
1849
  const IconSend = createIcon(
1779
1850
  "IconSend",
@@ -1787,7 +1858,8 @@ const IconSend = createIcon(
1787
1858
  strokeLinejoin: "round",
1788
1859
  strokeWidth: "1.5"
1789
1860
  }
1790
- )
1861
+ ),
1862
+ { "data-rtl-mirror": "" }
1791
1863
  );
1792
1864
  const IconAttachment = createIcon(
1793
1865
  "IconAttachment",
@@ -1900,7 +1972,7 @@ const IconPlus = createIcon(
1900
1972
  stroke: "currentColor",
1901
1973
  strokeLinecap: "round",
1902
1974
  strokeLinejoin: "round",
1903
- strokeWidth: "1.5"
1975
+ strokeWidth: "2"
1904
1976
  }
1905
1977
  )
1906
1978
  );
@@ -2021,14 +2093,16 @@ const IconVideo = createIcon(
2021
2093
  }
2022
2094
  ) }),
2023
2095
  /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_14111_491476", children: /* @__PURE__ */ jsx("rect", { fill: "white", height: "20", width: "20" }) }) })
2024
- ] })
2096
+ ] }),
2097
+ { "data-rtl-mirror": "" }
2025
2098
  );
2026
2099
  const IconVideoFill = createIcon(
2027
2100
  "IconVideoFill",
2028
2101
  /* @__PURE__ */ jsxs(Fragment, { children: [
2029
2102
  /* @__PURE__ */ jsx("g", { clipPath: "url(#clip0_14064_467281)", children: /* @__PURE__ */ jsx("path", { d: "M15 5.625V14.375C15 14.7065 14.8683 15.0245 14.6339 15.2589C14.3995 15.4933 14.0815 15.625 13.75 15.625H2.5C2.16848 15.625 1.85054 15.4933 1.61612 15.2589C1.3817 15.0245 1.25 14.7065 1.25 14.375V5.625C1.25 5.29348 1.3817 4.97554 1.61612 4.74112C1.85054 4.5067 2.16848 4.375 2.5 4.375H13.75C14.0815 4.375 14.3995 4.5067 14.6339 4.74112C14.8683 4.97554 15 5.29348 15 5.625ZM19.5312 5.64453C19.4431 5.62295 19.3513 5.62029 19.2621 5.63672C19.1728 5.65315 19.088 5.68829 19.0133 5.73984L16.3891 7.48906C16.3463 7.51762 16.3112 7.55631 16.2869 7.6017C16.2626 7.64708 16.25 7.69776 16.25 7.74922V12.2508C16.25 12.3022 16.2626 12.3529 16.2869 12.3983C16.3112 12.4437 16.3463 12.4824 16.3891 12.5109L19.0281 14.2703C19.1269 14.3362 19.2424 14.3726 19.3611 14.3752C19.4798 14.3779 19.5968 14.3466 19.6984 14.2852C19.7924 14.2254 19.8695 14.1425 19.9223 14.0444C19.9751 13.9464 20.0019 13.8364 20 13.725V6.25C20.0001 6.11139 19.9541 5.97668 19.8692 5.86708C19.7843 5.75747 19.6655 5.67918 19.5312 5.64453Z" }) }),
2030
2103
  /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_14064_467281", children: /* @__PURE__ */ jsx("rect", { fill: "white", height: "20", width: "20" }) }) })
2031
- ] })
2104
+ ] }),
2105
+ { "data-rtl-mirror": "" }
2032
2106
  );
2033
2107
  const IconAudio = createIcon(
2034
2108
  "IconAudio",
@@ -2042,7 +2116,8 @@ const IconAudio = createIcon(
2042
2116
  strokeLinejoin: "round",
2043
2117
  strokeWidth: "1.5"
2044
2118
  }
2045
- )
2119
+ ),
2120
+ { "data-rtl-mirror": "" }
2046
2121
  );
2047
2122
  const IconArchive = createIcon(
2048
2123
  "IconArchive",
@@ -2091,28 +2166,28 @@ const IconGiphy = createIcon(
2091
2166
  "path",
2092
2167
  {
2093
2168
  clipRule: "evenodd",
2094
- d: "M6.5997 5.50012H13.4008V14.4998H6.59912L6.5997 5.50012Z",
2169
+ d: "M6.5997 5.50024H13.4008V14.4999H6.59912L6.5997 5.50024Z",
2095
2170
  fill: "black",
2096
2171
  fillRule: "evenodd"
2097
2172
  }
2098
2173
  ),
2099
2174
  /* @__PURE__ */ jsx("path", { d: "M5.24023 5.1665H6.59998V14.8335H5.24023V5.1665Z", fill: "#04FF8E" }),
2100
2175
  /* @__PURE__ */ jsx("path", { d: "M13.4004 7.8335H14.7601V14.8335H13.4004V7.8335Z", fill: "#8E2EFF" }),
2101
- /* @__PURE__ */ jsx("path", { d: "M5.24023 14.4999H14.7602V15.8334H5.24023V14.4999Z", fill: "#00C5FF" }),
2102
- /* @__PURE__ */ jsx("path", { d: "M5.24023 4.16663H10.6804V5.50013H5.24023V4.16663Z", fill: "#FFF152" }),
2176
+ /* @__PURE__ */ jsx("path", { d: "M5.24023 14.4998H14.7602V15.8333H5.24023V14.4998Z", fill: "#00C5FF" }),
2177
+ /* @__PURE__ */ jsx("path", { d: "M5.24023 4.16675H10.6804V5.50025H5.24023V4.16675Z", fill: "#FFF152" }),
2103
2178
  /* @__PURE__ */ jsx(
2104
2179
  "path",
2105
2180
  {
2106
- d: "M13.4003 6.83304V5.50013H12.0399V4.16663H10.6802V8.16654H14.76V6.83304",
2181
+ d: "M13.4003 6.83316V5.50025H12.0399V4.16675H10.6802V8.16666H14.76V6.83316",
2107
2182
  fill: "#FF5B5B"
2108
2183
  }
2109
2184
  ),
2110
- /* @__PURE__ */ jsx("path", { d: "M13.4004 9.50013V8.16663H14.7601", fill: "#551C99" }),
2185
+ /* @__PURE__ */ jsx("path", { d: "M13.4004 9.5V8.1665H14.7601", fill: "#551C99" }),
2111
2186
  /* @__PURE__ */ jsx(
2112
2187
  "path",
2113
2188
  {
2114
2189
  clipRule: "evenodd",
2115
- d: "M10.6802 4.16663V5.50013H9.31982",
2190
+ d: "M10.6802 4.16675V5.50025H9.31982",
2116
2191
  fill: "#999131",
2117
2192
  fillRule: "evenodd"
2118
2193
  }
@@ -2602,63 +2677,6 @@ const MESSAGE_ACTIONS = {
2602
2677
  reply: "reply",
2603
2678
  saveForLater: "saveForLater"
2604
2679
  };
2605
- const defaultPinPermissions = {
2606
- commerce: {
2607
- admin: true,
2608
- anonymous: false,
2609
- channel_member: false,
2610
- channel_moderator: true,
2611
- guest: false,
2612
- member: false,
2613
- moderator: true,
2614
- owner: true,
2615
- user: false
2616
- },
2617
- gaming: {
2618
- admin: true,
2619
- anonymous: false,
2620
- channel_member: false,
2621
- channel_moderator: true,
2622
- guest: false,
2623
- member: false,
2624
- moderator: true,
2625
- owner: false,
2626
- user: false
2627
- },
2628
- livestream: {
2629
- admin: true,
2630
- anonymous: false,
2631
- channel_member: false,
2632
- channel_moderator: true,
2633
- guest: false,
2634
- member: false,
2635
- moderator: true,
2636
- owner: true,
2637
- user: false
2638
- },
2639
- messaging: {
2640
- admin: true,
2641
- anonymous: false,
2642
- channel_member: true,
2643
- channel_moderator: true,
2644
- guest: false,
2645
- member: true,
2646
- moderator: true,
2647
- owner: true,
2648
- user: false
2649
- },
2650
- team: {
2651
- admin: true,
2652
- anonymous: false,
2653
- channel_member: true,
2654
- channel_moderator: true,
2655
- guest: false,
2656
- member: true,
2657
- moderator: true,
2658
- owner: true,
2659
- user: false
2660
- }
2661
- };
2662
2680
  const getMessageActions = (actions, {
2663
2681
  canDelete,
2664
2682
  canEdit,
@@ -2765,6 +2783,7 @@ const areMessageUIPropsEqual = (prevProps, nextProps) => {
2765
2783
  return areMessagesEqual(prevMessage, nextMessage);
2766
2784
  };
2767
2785
  const messageHasReactions = (message) => Object.values(message?.reaction_groups ?? {}).some(({ count }) => count > 0);
2786
+ const messageHasQuotedMessage = (message) => !!message?.quoted_message;
2768
2787
  const messageHasAttachments = (message) => !!message?.attachments && !!message.attachments.length;
2769
2788
  const messageHasSingleAttachment = (message) => message?.attachments?.length === 1;
2770
2789
  const messageHasGiphyAttachment = (message) => !!message?.attachments?.some((att) => att.type === "giphy");
@@ -3084,7 +3103,6 @@ const getGroupStyles = (message, previousMessage, nextMessage, noGroupByUser, ma
3084
3103
  return "";
3085
3104
  };
3086
3105
  const hasMoreMessagesProbably = (returnedCountMessages, limit) => returnedCountMessages >= limit;
3087
- const hasNotMoreMessages = (returnedCountMessages, limit) => returnedCountMessages < limit;
3088
3106
  function isIntroMessage(message) {
3089
3107
  return message.customType === CUSTOM_MESSAGE_TYPE.intro;
3090
3108
  }
@@ -3413,6 +3431,7 @@ const ChannelInner = (props) => {
3413
3431
  LoadingIndicator = LoadingChannel
3414
3432
  } = useComponentContext();
3415
3433
  const { client, customClasses, latestMessageDatesByChannels, mutes, searchController } = useChatContext("Channel");
3434
+ const { addNotification } = useNotificationApi();
3416
3435
  const { t } = useTranslationContext("Channel");
3417
3436
  const chatContainerClass = getChatContainerClass(customClasses?.chatContainer);
3418
3437
  const windowsEmojiClass = useImageFlagEmojisOnWindowsClass();
@@ -3658,18 +3677,15 @@ const ChannelInner = (props) => {
3658
3677
  handleHighlightedMessageChange({ highlightedMessageId: jumpToMessageFromSearch.id });
3659
3678
  }, [jumpToMessageFromSearch, handleHighlightedMessageChange]);
3660
3679
  const notifyJumpToFirstUnreadError = useCallback(() => {
3661
- client.notifications.addError({
3680
+ addNotification({
3681
+ context: { feature: "jumpToFirstUnread" },
3682
+ emitter: "Channel",
3662
3683
  message: t("Failed to jump to the first unread message"),
3663
- options: {
3664
- tags: addNotificationTargetTag("channel"),
3665
- type: "channel:jumpToFirstUnread:failed"
3666
- },
3667
- origin: {
3668
- context: { feature: "jumpToFirstUnread" },
3669
- emitter: "Channel"
3670
- }
3684
+ severity: "error",
3685
+ targetPanels: ["channel"],
3686
+ type: "channel:jumpToFirstUnread:failed"
3671
3687
  });
3672
- }, [client, t]);
3688
+ }, [addNotification, t]);
3673
3689
  const loadMoreFinished = useCallback(
3674
3690
  debounce(
3675
3691
  (hasMore, messages) => {
@@ -4270,7 +4286,6 @@ const ChatViewChannelsSelectorButton = ({
4270
4286
  iconOnly = true
4271
4287
  }) => {
4272
4288
  const { activeChatView, setActiveChatView } = useChatViewContext();
4273
- const { openMobileNav } = useChatContext("ChatViewChannelsSelectorButton");
4274
4289
  const { t } = useTranslationContext();
4275
4290
  const isActive = activeChatView === "channels";
4276
4291
  return /* @__PURE__ */ jsx(
@@ -4281,10 +4296,7 @@ const ChatViewChannelsSelectorButton = ({
4281
4296
  Icon: IconMessageBubble,
4282
4297
  iconOnly,
4283
4298
  isActive,
4284
- onPointerDown: () => {
4285
- openMobileNav();
4286
- setActiveChatView("channels");
4287
- },
4299
+ onPointerDown: () => setActiveChatView("channels"),
4288
4300
  text: t("Channels")
4289
4301
  }
4290
4302
  );
@@ -4292,7 +4304,7 @@ const ChatViewChannelsSelectorButton = ({
4292
4304
  const ChatViewThreadsSelectorButton = ({
4293
4305
  iconOnly = true
4294
4306
  }) => {
4295
- const { client, openMobileNav } = useChatContext();
4307
+ const { client } = useChatContext();
4296
4308
  const { unreadThreadCount } = useStateStore(
4297
4309
  client.threads.state,
4298
4310
  unreadThreadCountSelector
@@ -4310,10 +4322,7 @@ const ChatViewThreadsSelectorButton = ({
4310
4322
  Icon: IconThread,
4311
4323
  iconOnly,
4312
4324
  isActive,
4313
- onPointerDown: () => {
4314
- openMobileNav();
4315
- setActiveChatView("threads");
4316
- },
4325
+ onPointerDown: () => setActiveChatView("threads"),
4317
4326
  text: t("Threads"),
4318
4327
  children: /* @__PURE__ */ jsx(UnreadCountBadge, { count: unreadThreadCount, position: "top-right", children: isActive ? /* @__PURE__ */ jsx(IconThreadFill, {}) : /* @__PURE__ */ jsx(IconThread, {}) })
4319
4328
  }
@@ -4332,19 +4341,7 @@ const defaultChatViewSelectorItemSet = [
4332
4341
  const ChatViewSelector = ({
4333
4342
  iconOnly = true,
4334
4343
  itemSet = defaultChatViewSelectorItemSet
4335
- }) => {
4336
- const { navOpen } = useChatContext("ChatView.Selector");
4337
- return /* @__PURE__ */ jsx(
4338
- "div",
4339
- {
4340
- className: clsx("str-chat__chat-view__selector", {
4341
- "str-chat__chat-view__selector--nav-closed": navOpen === false,
4342
- "str-chat__chat-view__selector--nav-open": navOpen === true
4343
- }),
4344
- children: itemSet.map(({ Component, type }) => /* @__PURE__ */ jsx(Component, { iconOnly }, type))
4345
- }
4346
- );
4347
- };
4344
+ }) => /* @__PURE__ */ jsx("div", { className: "str-chat__chat-view__selector", children: itemSet.map(({ Component, type }) => /* @__PURE__ */ jsx(Component, { iconOnly }, type)) });
4348
4345
  ChatView.Channels = ChannelsView;
4349
4346
  ChatView.Threads = ThreadsView;
4350
4347
  ChatView.ThreadAdapter = ThreadAdapter;
@@ -4361,6 +4358,115 @@ const useNotificationTarget = () => {
4361
4358
  if (channels) return "channel-list";
4362
4359
  return void 0;
4363
4360
  };
4361
+ const SYSTEM_NOTIFICATION_TAG = "system";
4362
+ const hasSystemNotificationTag = (notification) => notification.tags?.includes(SYSTEM_NOTIFICATION_TAG) ?? false;
4363
+ const getTargetTags = (targetPanels, inferredPanel, tags) => {
4364
+ if (targetPanels) {
4365
+ return Array.from(
4366
+ /* @__PURE__ */ new Set([...targetPanels.map(getNotificationTargetTag), ...tags ?? []])
4367
+ );
4368
+ }
4369
+ return addNotificationTargetTag(inferredPanel, tags);
4370
+ };
4371
+ const getTypeFromIncident = ({
4372
+ incident,
4373
+ severity,
4374
+ type
4375
+ }) => {
4376
+ if (type) return type;
4377
+ if (!incident) return void 0;
4378
+ const status = incident.status ?? (severity === "error" ? "failed" : severity === "success" ? "success" : severity);
4379
+ return [incident.domain, incident.entity, incident.operation, status].filter((segment) => !!segment).join(":");
4380
+ };
4381
+ const useNotificationApi = () => {
4382
+ const { client } = useChatContext();
4383
+ const inferredPanel = useNotificationTarget();
4384
+ const addNotification = useCallback(
4385
+ ({
4386
+ actions,
4387
+ context,
4388
+ duration,
4389
+ emitter,
4390
+ error,
4391
+ incident,
4392
+ message,
4393
+ severity,
4394
+ tags,
4395
+ targetPanels,
4396
+ type
4397
+ }) => {
4398
+ const notificationTags = getTargetTags(targetPanels, inferredPanel, tags);
4399
+ const resolvedType = getTypeFromIncident({ incident, severity, type });
4400
+ const origin = context ? { context, emitter } : { emitter };
4401
+ const options = {
4402
+ ...actions ? { actions } : {},
4403
+ ...typeof duration === "number" ? { duration } : {},
4404
+ ...error ? { originalError: error } : {},
4405
+ ...notificationTags.length > 0 ? { tags: notificationTags } : {},
4406
+ ...severity ? { severity } : {},
4407
+ ...resolvedType ? { type: resolvedType } : {}
4408
+ };
4409
+ client.notifications.add({
4410
+ message,
4411
+ options,
4412
+ origin
4413
+ });
4414
+ },
4415
+ [client, inferredPanel]
4416
+ );
4417
+ const addSystemNotification = useCallback(
4418
+ ({
4419
+ actions,
4420
+ context,
4421
+ duration,
4422
+ emitter,
4423
+ error,
4424
+ incident,
4425
+ message,
4426
+ severity,
4427
+ tags,
4428
+ type
4429
+ }) => {
4430
+ const notificationTags = Array.from(
4431
+ /* @__PURE__ */ new Set([SYSTEM_NOTIFICATION_TAG, ...tags ?? []])
4432
+ );
4433
+ const resolvedType = getTypeFromIncident({ incident, severity, type });
4434
+ const origin = context ? { context, emitter } : { emitter };
4435
+ const options = {
4436
+ ...actions ? { actions } : {},
4437
+ ...typeof duration === "number" ? { duration } : {},
4438
+ ...error ? { originalError: error } : {},
4439
+ ...notificationTags.length > 0 ? { tags: notificationTags } : {},
4440
+ ...severity ? { severity } : {},
4441
+ ...resolvedType ? { type: resolvedType } : {}
4442
+ };
4443
+ return client.notifications.add({
4444
+ message,
4445
+ options,
4446
+ origin
4447
+ });
4448
+ },
4449
+ [client]
4450
+ );
4451
+ const removeNotification = useCallback(
4452
+ (id) => {
4453
+ client.notifications.remove(id);
4454
+ },
4455
+ [client]
4456
+ );
4457
+ const startNotificationTimeout = useCallback(
4458
+ (id) => {
4459
+ client.notifications.startTimeout(id);
4460
+ },
4461
+ [client]
4462
+ );
4463
+ return {
4464
+ addNotification,
4465
+ addSystemNotification,
4466
+ removeNotification,
4467
+ startNotificationTimeout
4468
+ };
4469
+ };
4364
4470
  const AudioPlayerContext = React.createContext({
4365
4471
  audioPlayers: null
4366
4472
  });
@@ -4389,7 +4495,7 @@ const useAudioPlayer = ({
4389
4495
  title,
4390
4496
  waveformData
4391
4497
  }) => {
4392
- const { client } = useChatContext();
4498
+ const { addNotification } = useNotificationApi();
4393
4499
  const panel = useNotificationTarget();
4394
4500
  const { t } = useTranslationContext();
4395
4501
  const { audioPlayers } = useContext(AudioPlayerContext);
@@ -4407,7 +4513,7 @@ const useAudioPlayer = ({
4407
4513
  useEffect(() => {
4408
4514
  if (!audioPlayer) return;
4409
4515
  const notificationsPlugin = audioPlayerNotificationsPluginFactory({
4410
- client,
4516
+ addNotification,
4411
4517
  panel,
4412
4518
  t
4413
4519
  });
@@ -4415,7 +4521,7 @@ const useAudioPlayer = ({
4415
4521
  ...currentPlugins.filter((plugin) => plugin.id !== notificationsPlugin.id),
4416
4522
  notificationsPlugin
4417
4523
  ]);
4418
- }, [audioPlayer, client, panel, t]);
4524
+ }, [addNotification, audioPlayer, panel, t]);
4419
4525
  return audioPlayer;
4420
4526
  };
4421
4527
  const activeAudioPlayerSelector = ({ activeAudioPlayer }) => ({
@@ -4427,101 +4533,101 @@ const useActiveAudioPlayer = () => {
4427
4533
  return activeAudioPlayer;
4428
4534
  };
4429
4535
  export {
4430
- IconPoll as $,
4431
- IconArrowLeft as A,
4536
+ IconLink as $,
4537
+ IconNoSign as A,
4432
4538
  Button as B,
4433
4539
  ComponentContext as C,
4434
- IconExclamationMark as D,
4435
- IconNoSign as E,
4436
- isMessageErrorRetryable as F,
4437
- ACTIONS_NOT_WORKING_IN_THREAD as G,
4438
- useNotificationTarget as H,
4540
+ isMessageErrorRetryable as D,
4541
+ ACTIONS_NOT_WORKING_IN_THREAD as E,
4542
+ useNotificationApi as F,
4543
+ IconArrowUpRight as G,
4544
+ IconPin as H,
4439
4545
  IconPauseFill as I,
4440
- IconArrowUpRight as J,
4441
- addNotificationTargetTag as K,
4546
+ mapToUserNameOrId as J,
4547
+ IconClock as K,
4442
4548
  LocalizedFormat as L,
4443
- IconPin as M,
4444
- mapToUserNameOrId as N,
4445
- IconClock as O,
4446
- IconCheckmark1Small as P,
4447
- IconChecks as Q,
4448
- getReadByTooltipText as R,
4449
- messageHasAttachments as S,
4450
- messageTextHasEmojisOnly as T,
4451
- isDate as U,
4452
- getDateString as V,
4453
- IconTranslate as W,
4454
- useMessageComposerContext as X,
4455
- useIsCooldownActive as Y,
4456
- IconCrossSmall as Z,
4457
- IconImage as _,
4549
+ IconCheckmark1Small as M,
4550
+ IconChecks as N,
4551
+ getReadByTooltipText as O,
4552
+ messageHasAttachments as P,
4553
+ messageTextHasEmojisOnly as Q,
4554
+ isDate as R,
4555
+ getDateString as S,
4556
+ IconTranslate as T,
4557
+ useMessageComposerContext as U,
4558
+ useIsCooldownActive as V,
4559
+ IconXmarkSmall as W,
4560
+ IconImage as X,
4561
+ IconPoll as Y,
4562
+ IconLocation as Z,
4563
+ IconFile as _,
4458
4564
  useMessageComposerController as a,
4459
4565
  processMessages as a$,
4460
- IconLocation as a0,
4461
- IconFile as a1,
4462
- IconLink as a2,
4463
- IconVideo as a3,
4464
- IconVideoFill as a4,
4465
- IconVoice as a5,
4466
- IconSave as a6,
4467
- IconBell as a7,
4468
- IconChevronDown as a8,
4469
- IconPlusSmall as a9,
4470
- isLanguageSupported as aA,
4471
- IconSidebar as aB,
4472
- useChatViewContext as aC,
4473
- MESSAGE_ACTIONS as aD,
4474
- LegacyThreadContext as aE,
4475
- IconReply as aF,
4476
- IconEmoji as aG,
4477
- IconMore as aH,
4478
- IconUserCheck as aI,
4479
- IconUnsave as aJ,
4480
- IconBellOff as aK,
4481
- IconNotification as aL,
4482
- IconEdit as aM,
4483
- IconCopy as aN,
4484
- IconUnpin as aO,
4485
- IconQuote as aP,
4486
- IconThread as aQ,
4487
- areMessageUIPropsEqual as aR,
4488
- isDateSeparatorMessage as aS,
4489
- isMessageBlocked as aT,
4490
- messageHasSingleAttachment as aU,
4491
- messageHasGiphyAttachment as aV,
4492
- messageHasReactions as aW,
4566
+ IconVideo as a0,
4567
+ IconCamera as a1,
4568
+ IconVoice as a2,
4569
+ IconBookmark as a3,
4570
+ IconBell as a4,
4571
+ IconChevronDown as a5,
4572
+ IconMinus as a6,
4573
+ IconPlusSmall as a7,
4574
+ IconCheckmark as a8,
4575
+ DEFAULT_LOAD_PAGE_SCROLL_THRESHOLD as a9,
4576
+ useChatViewContext as aA,
4577
+ MESSAGE_ACTIONS as aB,
4578
+ LegacyThreadContext as aC,
4579
+ IconReply as aD,
4580
+ IconEmoji as aE,
4581
+ IconMore as aF,
4582
+ IconUserCheck as aG,
4583
+ IconBookmarkRemove as aH,
4584
+ IconBellOff as aI,
4585
+ IconNotification as aJ,
4586
+ IconEdit as aK,
4587
+ IconCopy as aL,
4588
+ IconUnpin as aM,
4589
+ IconQuote as aN,
4590
+ IconThread as aO,
4591
+ IconEmojiAdd as aP,
4592
+ areMessageUIPropsEqual as aQ,
4593
+ isDateSeparatorMessage as aR,
4594
+ isMessageBlocked as aS,
4595
+ messageHasSingleAttachment as aT,
4596
+ messageHasGiphyAttachment as aU,
4597
+ messageHasReactions as aV,
4598
+ messageHasQuotedMessage as aW,
4493
4599
  isMessageEdited as aX,
4494
4600
  countEmojis as aY,
4495
4601
  areMessagePropsEqual as aZ,
4496
4602
  getMessageActions as a_,
4497
- IconCheckmark as aa,
4498
- DEFAULT_LOAD_PAGE_SCROLL_THRESHOLD as ab,
4499
- IconTrophy as ac,
4500
- IconReorder as ad,
4501
- IconMinusCircle as ae,
4502
- IconSend as af,
4503
- IconAudio as ag,
4504
- IconUserAdd as ah,
4505
- IconMute as ai,
4506
- IconGiphy as aj,
4507
- IconFlag as ak,
4508
- IconUserRemove as al,
4509
- IconAttachment as am,
4510
- IconCommand as an,
4511
- CHANNEL_CONTAINER_ID as ao,
4512
- IconPlus as ap,
4513
- IconExclamationTriangle as aq,
4514
- useAudioPlayer as ar,
4515
- IconRetry as as,
4516
- IconArrowDownCircle as at,
4517
- IconBolt as au,
4518
- IconDelete as av,
4519
- IconUpload as aw,
4520
- MessageComposerContextProvider as ax,
4521
- useTypingContext as ay,
4522
- defaultDateTimeParser as az,
4603
+ IconTrophy as aa,
4604
+ IconReorder as ab,
4605
+ IconMinusCircle as ac,
4606
+ IconSend as ad,
4607
+ IconAudio as ae,
4608
+ IconUserAdd as af,
4609
+ IconMute as ag,
4610
+ IconGiphy as ah,
4611
+ IconFlag as ai,
4612
+ IconUserRemove as aj,
4613
+ IconAttachment as ak,
4614
+ IconCommand as al,
4615
+ CHANNEL_CONTAINER_ID as am,
4616
+ IconPlus as an,
4617
+ IconUnsupportedAttachment as ao,
4618
+ IconExclamationTriangleFill as ap,
4619
+ useAudioPlayer as aq,
4620
+ IconMicrophoneSolid as ar,
4621
+ IconVideoFill as as,
4622
+ IconRetry as at,
4623
+ IconArrowDownCircle as au,
4624
+ IconBolt as av,
4625
+ IconDelete as aw,
4626
+ IconUpload as ax,
4627
+ MessageComposerContextProvider as ay,
4628
+ useTypingContext as az,
4523
4629
  useChannelActionContext as b,
4524
- ChannelStateContext as b$,
4630
+ useLegacyThreadContext as b$,
4525
4631
  insertIntro as b0,
4526
4632
  getGroupStyles as b1,
4527
4633
  getLastReceived as b2,
@@ -4532,69 +4638,75 @@ export {
4532
4638
  IconArrowDown as b7,
4533
4639
  DEFAULT_NEXT_CHANNEL_PAGE_SIZE as b8,
4534
4640
  EmptyStateIndicator as b9,
4535
- useActiveThread as bA,
4536
- ChatViewSelectorButton as bB,
4537
- ChatViewChannelsSelectorButton as bC,
4538
- ChatViewThreadsSelectorButton as bD,
4539
- defaultChatViewSelectorItemSet as bE,
4540
- createIcon as bF,
4541
- IconMessageBubble as bG,
4542
- IconMessageBubbleFill as bH,
4543
- IconThreadFill as bI,
4544
- LoadingChannel as bJ,
4545
- LoadingErrorIndicator as bK,
4546
- OPTIONAL_MESSAGE_ACTIONS as bL,
4547
- getImages as bM,
4548
- getNonImageAttachments as bN,
4549
- makeIntroMessage as bO,
4550
- makeDateMessageId as bP,
4551
- hasMoreMessagesProbably as bQ,
4552
- hasNotMoreMessages as bR,
4553
- isNotificationTargetPanel as bS,
4554
- getNotificationTargetPanel as bT,
4555
- getNotificationTargetTag as bU,
4556
- useLegacyThreadContext as bV,
4557
- ThreadContext as bW,
4558
- ThreadProvider as bX,
4559
- ChannelActionContext as bY,
4560
- ChannelActionProvider as bZ,
4561
- ChannelListContext as b_,
4562
- getChannel as ba,
4563
- IconSearch as bb,
4564
- IconXCircle as bc,
4565
- useChannelListContext as bd,
4566
- DEFAULT_JUMP_TO_PAGE_SIZE as be,
4567
- ChannelListContextProvider as bf,
4568
- IconArchive as bg,
4569
- IconLeave as bh,
4570
- IconCamera as bi,
4641
+ Channel as bA,
4642
+ ChatViewContext as bB,
4643
+ ChatView as bC,
4644
+ useActiveThread as bD,
4645
+ ChatViewSelectorButton as bE,
4646
+ ChatViewChannelsSelectorButton as bF,
4647
+ ChatViewThreadsSelectorButton as bG,
4648
+ defaultChatViewSelectorItemSet as bH,
4649
+ createIcon as bI,
4650
+ IconMessageBubble as bJ,
4651
+ IconMessageBubbleFill as bK,
4652
+ IconThreadFill as bL,
4653
+ LoadingChannel as bM,
4654
+ LoadingErrorIndicator as bN,
4655
+ validateAndGetMessage as bO,
4656
+ OPTIONAL_MESSAGE_ACTIONS as bP,
4657
+ getImages as bQ,
4658
+ getNonImageAttachments as bR,
4659
+ makeIntroMessage as bS,
4660
+ makeDateMessageId as bT,
4661
+ hasMoreMessagesProbably as bU,
4662
+ SYSTEM_NOTIFICATION_TAG as bV,
4663
+ isNotificationTargetPanel as bW,
4664
+ getNotificationTargetPanel as bX,
4665
+ getNotificationTargetPanels as bY,
4666
+ getNotificationTargetTag as bZ,
4667
+ addNotificationTargetTag as b_,
4668
+ useNotificationTarget as ba,
4669
+ getChannel as bb,
4670
+ IconSearch as bc,
4671
+ IconXCircle as bd,
4672
+ useChannelListContext as be,
4673
+ DEFAULT_JUMP_TO_PAGE_SIZE as bf,
4674
+ ChannelListContextProvider as bg,
4675
+ IconArchive as bh,
4676
+ IconLeave as bi,
4571
4677
  IconExclamationCircleFill as bj,
4572
- ChatProvider as bk,
4573
- TranslationProvider as bl,
4574
- useThreadsViewContext as bm,
4575
- IconMessageBubbles as bn,
4576
- IconRefresh as bo,
4577
- IconEyeOpen as bp,
4578
- useActiveAudioPlayer as bq,
4579
- WithAudioPlayback as br,
4580
- defaultRegisterAudioPlayerError as bs,
4581
- elementIsPlaying as bt,
4582
- AudioPlayer as bu,
4583
- useEditMessageHandler as bv,
4584
- useMentionsHandlers as bw,
4585
- Channel as bx,
4586
- ChatViewContext as by,
4587
- ChatView as bz,
4678
+ useThreadsViewContext as bk,
4679
+ IconMessageBubbles as bl,
4680
+ IconRefresh as bm,
4681
+ hasSystemNotificationTag as bn,
4682
+ IconEyeFill as bo,
4683
+ defaultDateTimeParser as bp,
4684
+ isLanguageSupported as bq,
4685
+ ChatProvider as br,
4686
+ TranslationProvider as bs,
4687
+ useActiveAudioPlayer as bt,
4688
+ WithAudioPlayback as bu,
4689
+ defaultRegisterAudioPlayerError as bv,
4690
+ elementIsPlaying as bw,
4691
+ AudioPlayer as bx,
4692
+ useEditMessageHandler as by,
4693
+ useMentionsHandlers as bz,
4588
4694
  useTranslationContext as c,
4589
- ChannelStateProvider as c0,
4590
- ChatContext as c1,
4591
- ComponentProvider as c2,
4592
- MessageComposerContext as c3,
4593
- TranslationContext as c4,
4594
- TypingContext as c5,
4595
- TypingProvider as c6,
4596
- isDayOrMoment as c7,
4597
- isNumberOrString as c8,
4695
+ ThreadContext as c0,
4696
+ ThreadProvider as c1,
4697
+ ChannelActionContext as c2,
4698
+ ChannelActionProvider as c3,
4699
+ ChannelListContext as c4,
4700
+ ChannelStateContext as c5,
4701
+ ChannelStateProvider as c6,
4702
+ ChatContext as c7,
4703
+ ComponentProvider as c8,
4704
+ MessageComposerContext as c9,
4705
+ TranslationContext as ca,
4706
+ TypingContext as cb,
4707
+ TypingProvider as cc,
4708
+ isDayOrMoment as cd,
4709
+ isNumberOrString as ce,
4598
4710
  useChannelStateContext as d,
4599
4711
  useChatContext as e,
4600
4712
  isNotificationForPanel as f,
@@ -4604,19 +4716,19 @@ export {
4604
4716
  defaultTranslatorFunction as j,
4605
4717
  calendar as k,
4606
4718
  IconLoading as l,
4607
- isNetworkSendFailure as m,
4608
- isUserMuted as n,
4609
- defaultPinPermissions as o,
4719
+ useComponentContext as m,
4720
+ isNetworkSendFailure as n,
4721
+ isUserMuted as o,
4610
4722
  predefinedFormatters as p,
4611
4723
  useThreadContext as q,
4612
4724
  usePopoverPosition as r,
4613
- useComponentContext as s,
4614
- IconXmark as t,
4725
+ IconXmark as s,
4726
+ IconUser as t,
4615
4727
  useStateStore as u,
4616
- validateAndGetMessage as v,
4617
- IconUser as w,
4618
- IconExclamationMarkFill as x,
4619
- IconChevronRight as y,
4620
- IconChevronLeft as z
4728
+ IconExclamationMarkFill as v,
4729
+ IconChevronRight as w,
4730
+ IconChevronLeft as x,
4731
+ IconArrowLeft as y,
4732
+ IconExclamationMark as z
4621
4733
  };
4622
- //# sourceMappingURL=WithAudioPlayback.e7821fd4.mjs.map
4734
+ //# sourceMappingURL=WithAudioPlayback.21b7f35a.mjs.map