@tencentcloud/chat-uikit-react 2.2.5 → 2.2.6

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 (307) hide show
  1. package/.eslintrc.js +16 -12
  2. package/.lintstagedrc.json +1 -1
  3. package/CHANGELOG.md +8 -0
  4. package/dist/cjs/components/Avatar/Avatar.d.ts +4 -4
  5. package/dist/cjs/components/Checkbox/index.d.ts +2 -2
  6. package/dist/cjs/components/ConversationCreate/ConversationCreatGroupDetail.js +1 -1
  7. package/dist/cjs/components/ConversationCreate/ConversationCreate.js +1 -1
  8. package/dist/cjs/components/ConversationCreate/ConversationCreateUserSelectList.js +1 -1
  9. package/dist/cjs/components/ConversationCreate/hooks/useConversationCreate.js +1 -1
  10. package/dist/cjs/components/ConversationPreview/ConversationListContainer.d.ts +2 -2
  11. package/dist/cjs/components/ConversationPreview/ConversationPreview.d.ts +8 -8
  12. package/dist/cjs/components/ConversationPreview/ConversationPreview.js +1 -1
  13. package/dist/cjs/components/ConversationPreview/ConversationPreviewContent.d.ts +2 -2
  14. package/dist/cjs/components/ConversationPreview/ConversationPreviewContent.js +1 -1
  15. package/dist/cjs/components/ConversationSearch/ConversationSearchResult.d.ts +3 -3
  16. package/dist/cjs/components/ConversationSearch/ConversationSearchResult.js +1 -1
  17. package/dist/cjs/components/Icon/Icon.d.ts +3 -3
  18. package/dist/cjs/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +4 -4
  19. package/dist/cjs/components/Input/Input.d.ts +4 -4
  20. package/dist/cjs/components/Model/index.d.ts +2 -2
  21. package/dist/cjs/components/Plugins/index.d.ts +4 -4
  22. package/dist/cjs/components/Popup/index.d.ts +2 -2
  23. package/dist/cjs/components/Switch/Switch.d.ts +2 -2
  24. package/dist/cjs/components/TUIChat/TUIChat.d.ts +12 -12
  25. package/dist/cjs/components/TUIChat/TUIChat.js +1 -1
  26. package/dist/cjs/components/TUIChatHeader/TUIChatHeader.d.ts +5 -5
  27. package/dist/cjs/components/TUIChatHeader/TUIChatHeader.js +1 -1
  28. package/dist/cjs/components/TUIChatHeader/TUIChatHeaderDefault.d.ts +5 -5
  29. package/dist/cjs/components/TUIChatHeader/TUIChatHeaderDefault.js +1 -1
  30. package/dist/cjs/components/TUIContact/TUIContact.d.ts +3 -3
  31. package/dist/cjs/components/TUIContact/TUIContact.js +1 -1
  32. package/dist/cjs/components/TUIContact/TUIContactInfo/TUIContactInfo.d.ts +3 -3
  33. package/dist/cjs/components/TUIContact/TUIContactInfo/TUIContactInfo.js +1 -1
  34. package/dist/cjs/components/TUIContact/TUIContactInfo/basicInfo.js +1 -1
  35. package/dist/cjs/components/TUIContact/TUIContactInfo/blockInfo.js +1 -1
  36. package/dist/cjs/components/TUIContact/TUIContactInfo/friendApplication.js +1 -1
  37. package/dist/cjs/components/TUIContact/TUIContactInfo/friendInfo.js +1 -1
  38. package/dist/cjs/components/TUIContact/TUIContactInfo/groupInfo.js +1 -1
  39. package/dist/cjs/components/TUIContact/TUIContactInfo/hooks/useContactInfo.js +1 -1
  40. package/dist/cjs/components/TUIContact/TUIContactList/TUIContactList.d.ts +3 -3
  41. package/dist/cjs/components/TUIContact/TUIContactList/TUIContactList.js +1 -1
  42. package/dist/cjs/components/TUIContact/hooks/useTUIContact.js +1 -1
  43. package/dist/cjs/components/TUIContactSearch/TUIContactSearch.js +1 -1
  44. package/dist/cjs/components/TUIContactSearch/hooks/useContactSearch.js +1 -1
  45. package/dist/cjs/components/TUIConversation/TUIConversation.d.ts +2 -2
  46. package/dist/cjs/components/TUIConversationList/TUIConversationList.d.ts +6 -6
  47. package/dist/cjs/components/TUIConversationList/TUIConversationList.js +1 -1
  48. package/dist/cjs/components/TUIConversationList/hooks/useConversationUpdate.js +1 -1
  49. package/dist/cjs/components/TUIManage/TUIManage.d.ts +2 -2
  50. package/dist/cjs/components/TUIManage/TUIManage.js +1 -1
  51. package/dist/cjs/components/TUIMessage/MessageAudio.js +1 -1
  52. package/dist/cjs/components/TUIMessage/MessageAvatar.js +1 -1
  53. package/dist/cjs/components/TUIMessage/MessageBubble.js +1 -1
  54. package/dist/cjs/components/TUIMessage/MessageContext.d.ts +2 -2
  55. package/dist/cjs/components/TUIMessage/MessageContext.js +1 -1
  56. package/dist/cjs/components/TUIMessage/MessageCustom.js +1 -1
  57. package/dist/cjs/components/TUIMessage/MessageName.js +1 -1
  58. package/dist/cjs/components/TUIMessage/MessagePlugins.d.ts +4 -4
  59. package/dist/cjs/components/TUIMessage/MessagePlugins.js +1 -1
  60. package/dist/cjs/components/TUIMessage/MessageProgress.js +1 -1
  61. package/dist/cjs/components/TUIMessage/MessageRevoke.js +1 -1
  62. package/dist/cjs/components/TUIMessage/MessageStatus.js +1 -1
  63. package/dist/cjs/components/TUIMessage/MessageSystem.js +1 -1
  64. package/dist/cjs/components/TUIMessage/MessageText.js +1 -1
  65. package/dist/cjs/components/TUIMessage/MessageTip.js +1 -1
  66. package/dist/cjs/components/TUIMessage/TUIMessage.d.ts +19 -19
  67. package/dist/cjs/components/TUIMessage/TUIMessage.js +1 -1
  68. package/dist/cjs/components/TUIMessage/TUIMessageDefault.js +1 -1
  69. package/dist/cjs/components/TUIMessage/hooks/useMessageHandler.js +1 -1
  70. package/dist/cjs/components/TUIMessage/hooks/useMessageReply.js +1 -1
  71. package/dist/cjs/components/TUIMessageInput/InputPluginsDefalut.d.ts +2 -2
  72. package/dist/cjs/components/TUIMessageInput/InputPluginsDefalut.js +1 -1
  73. package/dist/cjs/components/TUIMessageInput/InputQuoteDefalut.js +1 -1
  74. package/dist/cjs/components/TUIMessageInput/TUIForward.js +1 -1
  75. package/dist/cjs/components/TUIMessageInput/TUIMessageInput.d.ts +7 -7
  76. package/dist/cjs/components/TUIMessageInput/TUIMessageInput.js +1 -1
  77. package/dist/cjs/components/TUIMessageInput/TUIMessageInputDefault.d.ts +2 -2
  78. package/dist/cjs/components/TUIMessageInput/TUIMessageInputDefault.js +1 -1
  79. package/dist/cjs/components/TUIMessageInput/hooks/useHandleForwardMessage.js +1 -1
  80. package/dist/cjs/components/TUIMessageInput/hooks/useHandleQuoteMessage.js +1 -1
  81. package/dist/cjs/components/TUIMessageInput/hooks/useMessageInputText.js +1 -1
  82. package/dist/cjs/components/TUIMessageInput/hooks/useUploadPicker.js +1 -1
  83. package/dist/cjs/components/TUIMessageList/TUIMessageList.d.ts +2 -2
  84. package/dist/cjs/components/TUIMessageList/TUIMessageList.js +1 -1
  85. package/dist/cjs/components/TUIMessageList/hooks/useMessageListElement.js +1 -1
  86. package/dist/cjs/components/TUIProfile/TUIProfile.d.ts +3 -3
  87. package/dist/cjs/components/TUIProfile/TUIProfile.js +1 -1
  88. package/dist/cjs/components/TUIProfile/TUIProfileDefault.d.ts +2 -2
  89. package/dist/cjs/components/TUIProfile/TUIProfileDefault.js +1 -1
  90. package/dist/cjs/components/Toast/index.d.ts +2 -2
  91. package/dist/cjs/context/ComponentContext.d.ts +12 -12
  92. package/dist/cjs/context/LanguageContext.js +1 -0
  93. package/dist/cjs/context/TUIChatActionContext.d.ts +3 -3
  94. package/dist/cjs/context/TUIChatStateContext.d.ts +5 -5
  95. package/dist/cjs/context/TUIContactContext.d.ts +4 -4
  96. package/dist/cjs/context/TUIConversationContext.js +1 -1
  97. package/dist/cjs/context/TUIMessageContext.d.ts +17 -17
  98. package/dist/cjs/context/TUIMessageInputContext.d.ts +4 -4
  99. package/dist/cjs/context/ThemeContext.js +1 -0
  100. package/dist/cjs/context/UIKitContext.d.ts +25 -0
  101. package/dist/cjs/context/UIKitContext.js +1 -0
  102. package/dist/cjs/context/UIManagerContext.d.ts +46 -0
  103. package/dist/cjs/context/UIManagerContext.js +1 -0
  104. package/dist/cjs/hooks/useConversation.d.ts +2 -2
  105. package/dist/cjs/index.css +1 -2
  106. package/dist/cjs/index.d.css +908 -1440
  107. package/dist/cjs/index.d.ts +2 -4
  108. package/dist/cjs/index.js +1 -1
  109. package/dist/cjs/locales/en-US/TUIGlobal.js +1 -0
  110. package/dist/cjs/locales/en-US/index.js +1 -1
  111. package/dist/cjs/locales/ja-JP/TUIGlobal.js +1 -0
  112. package/dist/cjs/locales/ja-JP/index.js +1 -1
  113. package/dist/cjs/locales/ko-KR/TUIGlobal.js +1 -0
  114. package/dist/cjs/locales/ko-KR/index.js +1 -1
  115. package/dist/cjs/locales/zh-CN/TUIGlobal.js +1 -0
  116. package/dist/cjs/locales/zh-CN/index.js +1 -1
  117. package/dist/esm/components/Avatar/Avatar.d.ts +4 -4
  118. package/dist/esm/components/Checkbox/index.d.ts +2 -2
  119. package/dist/esm/components/ConversationCreate/ConversationCreatGroupDetail.js +1 -1
  120. package/dist/esm/components/ConversationCreate/ConversationCreate.js +1 -1
  121. package/dist/esm/components/ConversationCreate/ConversationCreateUserSelectList.js +1 -1
  122. package/dist/esm/components/ConversationCreate/hooks/useConversationCreate.js +1 -1
  123. package/dist/esm/components/ConversationPreview/ConversationListContainer.d.ts +2 -2
  124. package/dist/esm/components/ConversationPreview/ConversationPreview.d.ts +8 -8
  125. package/dist/esm/components/ConversationPreview/ConversationPreview.js +1 -1
  126. package/dist/esm/components/ConversationPreview/ConversationPreviewContent.d.ts +2 -2
  127. package/dist/esm/components/ConversationPreview/ConversationPreviewContent.js +1 -1
  128. package/dist/esm/components/ConversationSearch/ConversationSearchResult.d.ts +3 -3
  129. package/dist/esm/components/ConversationSearch/ConversationSearchResult.js +1 -1
  130. package/dist/esm/components/Icon/Icon.d.ts +3 -3
  131. package/dist/esm/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +4 -4
  132. package/dist/esm/components/Input/Input.d.ts +4 -4
  133. package/dist/esm/components/Model/index.d.ts +2 -2
  134. package/dist/esm/components/Plugins/index.d.ts +4 -4
  135. package/dist/esm/components/Popup/index.d.ts +2 -2
  136. package/dist/esm/components/Switch/Switch.d.ts +2 -2
  137. package/dist/esm/components/TUIChat/TUIChat.d.ts +12 -12
  138. package/dist/esm/components/TUIChat/TUIChat.js +1 -1
  139. package/dist/esm/components/TUIChatHeader/TUIChatHeader.d.ts +5 -5
  140. package/dist/esm/components/TUIChatHeader/TUIChatHeader.js +1 -1
  141. package/dist/esm/components/TUIChatHeader/TUIChatHeaderDefault.d.ts +5 -5
  142. package/dist/esm/components/TUIChatHeader/TUIChatHeaderDefault.js +1 -1
  143. package/dist/esm/components/TUIContact/TUIContact.d.ts +3 -3
  144. package/dist/esm/components/TUIContact/TUIContact.js +1 -1
  145. package/dist/esm/components/TUIContact/TUIContactInfo/TUIContactInfo.d.ts +3 -3
  146. package/dist/esm/components/TUIContact/TUIContactInfo/TUIContactInfo.js +1 -1
  147. package/dist/esm/components/TUIContact/TUIContactInfo/basicInfo.js +1 -1
  148. package/dist/esm/components/TUIContact/TUIContactInfo/blockInfo.js +1 -1
  149. package/dist/esm/components/TUIContact/TUIContactInfo/friendApplication.js +1 -1
  150. package/dist/esm/components/TUIContact/TUIContactInfo/friendInfo.js +1 -1
  151. package/dist/esm/components/TUIContact/TUIContactInfo/groupInfo.js +1 -1
  152. package/dist/esm/components/TUIContact/TUIContactInfo/hooks/useContactInfo.js +1 -1
  153. package/dist/esm/components/TUIContact/TUIContactList/TUIContactList.d.ts +3 -3
  154. package/dist/esm/components/TUIContact/TUIContactList/TUIContactList.js +1 -1
  155. package/dist/esm/components/TUIContact/hooks/useTUIContact.js +1 -1
  156. package/dist/esm/components/TUIContactSearch/TUIContactSearch.js +1 -1
  157. package/dist/esm/components/TUIContactSearch/hooks/useContactSearch.js +1 -1
  158. package/dist/esm/components/TUIConversation/TUIConversation.d.ts +2 -2
  159. package/dist/esm/components/TUIConversationList/TUIConversationList.d.ts +6 -6
  160. package/dist/esm/components/TUIConversationList/TUIConversationList.js +1 -1
  161. package/dist/esm/components/TUIConversationList/hooks/useConversationUpdate.js +1 -1
  162. package/dist/esm/components/TUIManage/TUIManage.d.ts +2 -2
  163. package/dist/esm/components/TUIManage/TUIManage.js +1 -1
  164. package/dist/esm/components/TUIMessage/MessageAudio.js +1 -1
  165. package/dist/esm/components/TUIMessage/MessageAvatar.js +1 -1
  166. package/dist/esm/components/TUIMessage/MessageBubble.js +1 -1
  167. package/dist/esm/components/TUIMessage/MessageContext.d.ts +2 -2
  168. package/dist/esm/components/TUIMessage/MessageContext.js +1 -1
  169. package/dist/esm/components/TUIMessage/MessageCustom.js +1 -1
  170. package/dist/esm/components/TUIMessage/MessageName.js +1 -1
  171. package/dist/esm/components/TUIMessage/MessagePlugins.d.ts +4 -4
  172. package/dist/esm/components/TUIMessage/MessagePlugins.js +1 -1
  173. package/dist/esm/components/TUIMessage/MessageProgress.js +1 -1
  174. package/dist/esm/components/TUIMessage/MessageRevoke.js +1 -1
  175. package/dist/esm/components/TUIMessage/MessageStatus.js +1 -1
  176. package/dist/esm/components/TUIMessage/MessageSystem.js +1 -1
  177. package/dist/esm/components/TUIMessage/MessageText.js +1 -1
  178. package/dist/esm/components/TUIMessage/MessageTip.js +1 -1
  179. package/dist/esm/components/TUIMessage/TUIMessage.d.ts +19 -19
  180. package/dist/esm/components/TUIMessage/TUIMessage.js +1 -1
  181. package/dist/esm/components/TUIMessage/TUIMessageDefault.js +1 -1
  182. package/dist/esm/components/TUIMessage/hooks/useMessageHandler.js +1 -1
  183. package/dist/esm/components/TUIMessage/hooks/useMessageReply.js +1 -1
  184. package/dist/esm/components/TUIMessageInput/InputPluginsDefalut.d.ts +2 -2
  185. package/dist/esm/components/TUIMessageInput/InputPluginsDefalut.js +1 -1
  186. package/dist/esm/components/TUIMessageInput/InputQuoteDefalut.js +1 -1
  187. package/dist/esm/components/TUIMessageInput/TUIForward.js +1 -1
  188. package/dist/esm/components/TUIMessageInput/TUIMessageInput.d.ts +7 -7
  189. package/dist/esm/components/TUIMessageInput/TUIMessageInput.js +1 -1
  190. package/dist/esm/components/TUIMessageInput/TUIMessageInputDefault.d.ts +2 -2
  191. package/dist/esm/components/TUIMessageInput/TUIMessageInputDefault.js +1 -1
  192. package/dist/esm/components/TUIMessageInput/hooks/useHandleForwardMessage.js +1 -1
  193. package/dist/esm/components/TUIMessageInput/hooks/useHandleQuoteMessage.js +1 -1
  194. package/dist/esm/components/TUIMessageInput/hooks/useMessageInputText.js +1 -1
  195. package/dist/esm/components/TUIMessageInput/hooks/useUploadPicker.js +1 -1
  196. package/dist/esm/components/TUIMessageList/TUIMessageList.d.ts +2 -2
  197. package/dist/esm/components/TUIMessageList/TUIMessageList.js +1 -1
  198. package/dist/esm/components/TUIMessageList/hooks/useMessageListElement.js +1 -1
  199. package/dist/esm/components/TUIProfile/TUIProfile.d.ts +3 -3
  200. package/dist/esm/components/TUIProfile/TUIProfile.js +1 -1
  201. package/dist/esm/components/TUIProfile/TUIProfileDefault.d.ts +2 -2
  202. package/dist/esm/components/TUIProfile/TUIProfileDefault.js +1 -1
  203. package/dist/esm/components/Toast/index.d.ts +2 -2
  204. package/dist/esm/context/ComponentContext.d.ts +12 -12
  205. package/dist/esm/context/LanguageContext.js +1 -0
  206. package/dist/esm/context/TUIChatActionContext.d.ts +3 -3
  207. package/dist/esm/context/TUIChatStateContext.d.ts +5 -5
  208. package/dist/esm/context/TUIContactContext.d.ts +4 -4
  209. package/dist/esm/context/TUIConversationContext.js +1 -1
  210. package/dist/esm/context/TUIMessageContext.d.ts +17 -17
  211. package/dist/esm/context/TUIMessageInputContext.d.ts +4 -4
  212. package/dist/esm/context/ThemeContext.js +1 -0
  213. package/dist/esm/context/UIKitContext.d.ts +25 -0
  214. package/dist/esm/context/UIKitContext.js +1 -0
  215. package/dist/esm/context/UIManagerContext.d.ts +46 -0
  216. package/dist/esm/context/UIManagerContext.js +1 -0
  217. package/dist/esm/hooks/useConversation.d.ts +2 -2
  218. package/dist/esm/index.css +1 -2
  219. package/dist/esm/index.d.css +908 -1440
  220. package/dist/esm/index.d.ts +2 -4
  221. package/dist/esm/index.js +1 -1
  222. package/dist/esm/locales/en-US/TUIGlobal.js +1 -0
  223. package/dist/esm/locales/en-US/index.js +1 -1
  224. package/dist/esm/locales/ja-JP/TUIGlobal.js +1 -0
  225. package/dist/esm/locales/ja-JP/index.js +1 -1
  226. package/dist/esm/locales/ko-KR/TUIGlobal.js +1 -0
  227. package/dist/esm/locales/ko-KR/index.js +1 -1
  228. package/dist/esm/locales/zh-CN/TUIGlobal.js +1 -0
  229. package/dist/esm/locales/zh-CN/index.js +1 -1
  230. package/package.json +4 -3
  231. package/src/components/ConversationCreate/ConversationCreatGroupDetail.tsx +4 -4
  232. package/src/components/ConversationCreate/ConversationCreate.tsx +2 -2
  233. package/src/components/ConversationCreate/ConversationCreateUserSelectList.tsx +3 -2
  234. package/src/components/ConversationPreview/ConversationPreview.tsx +21 -21
  235. package/src/components/ConversationPreview/ConversationPreviewContent.tsx +3 -2
  236. package/src/components/Plugins/styles/color.scss +2 -2
  237. package/src/components/TUIChat/TUIChat.tsx +4 -3
  238. package/src/components/TUIChatHeader/TUIChatHeaderDefault.tsx +3 -3
  239. package/src/components/TUIContact/TUIContact.tsx +2 -2
  240. package/src/components/TUIContact/TUIContactInfo/TUIContactInfo.tsx +2 -2
  241. package/src/components/TUIContact/TUIContactInfo/basicInfo.tsx +2 -2
  242. package/src/components/TUIContact/TUIContactInfo/blockInfo.tsx +2 -2
  243. package/src/components/TUIContact/TUIContactInfo/friendApplication.tsx +2 -2
  244. package/src/components/TUIContact/TUIContactInfo/friendInfo.tsx +4 -3
  245. package/src/components/TUIContact/TUIContactInfo/groupInfo.tsx +3 -3
  246. package/src/components/TUIContact/TUIContactInfo/hooks/useContactInfo.tsx +2 -2
  247. package/src/components/TUIContact/TUIContactList/TUIContactList.tsx +5 -5
  248. package/src/components/TUIContact/hooks/useTUIContact.tsx +2 -2
  249. package/src/components/TUIContactSearch/TUIContactSearch.tsx +2 -2
  250. package/src/components/TUIContactSearch/hooks/useContactSearch.tsx +2 -2
  251. package/src/components/TUIConversationList/TUIConversationList.tsx +3 -4
  252. package/src/components/TUIConversationList/hooks/useConversationUpdate.tsx +2 -2
  253. package/src/components/TUIManage/TUIManage.tsx +3 -3
  254. package/src/components/TUIMessage/MessageStatus.tsx +2 -2
  255. package/src/components/TUIMessage/MessageText.tsx +16 -15
  256. package/src/components/TUIMessage/hooks/useMessageHandler.ts +2 -2
  257. package/src/components/TUIMessage/hooks/useMessageReply.ts +2 -2
  258. package/src/components/TUIMessageInput/TUIMessageInput.tsx +1 -1
  259. package/src/components/TUIMessageInput/hooks/useHandleForwardMessage.tsx +2 -2
  260. package/src/components/TUIMessageInput/hooks/useMessageInputText.tsx +2 -2
  261. package/src/components/TUIMessageInput/styles/color.scss +2 -2
  262. package/src/components/TUIMessageList/hooks/useMessageListElement.tsx +2 -2
  263. package/src/components/TUIProfile/TUIProfile.tsx +3 -3
  264. package/src/components/TUIProfile/TUIProfileDefault.tsx +2 -2
  265. package/src/components/index.ts +0 -1
  266. package/src/context/LanguageContext.tsx +59 -0
  267. package/src/context/ThemeContext.tsx +61 -0
  268. package/src/context/UIKitContext.tsx +67 -0
  269. package/src/context/UIManagerContext.tsx +163 -0
  270. package/src/context/index.ts +3 -2
  271. package/src/locales/en-US/index.ts +1 -1
  272. package/src/locales/ja-JP/index.ts +2 -0
  273. package/src/locales/ko-KR/TUIGlobal.ts +2 -2
  274. package/src/locales/ko-KR/index.ts +2 -0
  275. package/src/locales/zh-CN/index.ts +2 -2
  276. package/src/styles/colors/_color-theme.scss +1 -1
  277. package/dist/cjs/components/Icon/images/chats-selected.svg.js +0 -1
  278. package/dist/cjs/components/Icon/images/chats.svg.js +0 -1
  279. package/dist/cjs/components/Icon/images/contacts-selected.svg.js +0 -1
  280. package/dist/cjs/components/Icon/images/contacts.svg.js +0 -1
  281. package/dist/cjs/components/TUIKit/TUIKit.d.ts +0 -12
  282. package/dist/cjs/components/TUIKit/TUIKit.js +0 -1
  283. package/dist/cjs/components/TUIKit/hooks/useCreateTUIKitContext.d.ts +0 -21
  284. package/dist/cjs/components/TUIKit/hooks/useCreateTUIKitContext.js +0 -1
  285. package/dist/cjs/components/TUIKit/hooks/useTUIKit.d.ts +0 -43
  286. package/dist/cjs/components/TUIKit/hooks/useTUIKit.js +0 -1
  287. package/dist/cjs/context/TUIKitContext.d.ts +0 -25
  288. package/dist/cjs/context/TUIKitContext.js +0 -1
  289. package/dist/esm/components/Icon/images/chats-selected.svg.js +0 -1
  290. package/dist/esm/components/Icon/images/chats.svg.js +0 -1
  291. package/dist/esm/components/Icon/images/contacts-selected.svg.js +0 -1
  292. package/dist/esm/components/Icon/images/contacts.svg.js +0 -1
  293. package/dist/esm/components/TUIKit/TUIKit.d.ts +0 -12
  294. package/dist/esm/components/TUIKit/TUIKit.js +0 -1
  295. package/dist/esm/components/TUIKit/hooks/useCreateTUIKitContext.d.ts +0 -21
  296. package/dist/esm/components/TUIKit/hooks/useCreateTUIKitContext.js +0 -1
  297. package/dist/esm/components/TUIKit/hooks/useTUIKit.d.ts +0 -43
  298. package/dist/esm/components/TUIKit/hooks/useTUIKit.js +0 -1
  299. package/dist/esm/context/TUIKitContext.d.ts +0 -25
  300. package/dist/esm/context/TUIKitContext.js +0 -1
  301. package/src/components/TUIKit/TUIKit.tsx +0 -229
  302. package/src/components/TUIKit/hooks/useCreateTUIKitContext.tsx +0 -48
  303. package/src/components/TUIKit/hooks/useTUIKit.tsx +0 -99
  304. package/src/components/TUIKit/index.ts +0 -3
  305. package/src/components/TUIKit/styles/h5.scss +0 -34
  306. package/src/components/TUIKit/styles/index.scss +0 -132
  307. package/src/context/TUIKitContext.tsx +0 -44
@@ -1,1762 +1,1230 @@
1
- .tui-kit {
2
- position: relative;
1
+ .tui-conversation {
2
+ flex: 1;
3
+ box-sizing: border-box;
4
+ overflow: hidden;
5
+ min-width: 0;
3
6
  display: flex;
4
- width: 100%;
5
- height: 100%;
7
+ flex-direction: column;
8
+ position: relative;
6
9
  text-align: initial;
7
10
  }
8
- [data-chat-theme=light] .tui-kit {
11
+ [data-uikit-theme=light] .tui-conversation {
9
12
  background-color: var(--chat-theme-light-bg-primary);
10
13
  }
11
- [data-chat-theme=dark] .tui-kit {
14
+ [data-uikit-theme=dark] .tui-conversation {
12
15
  background-color: var(--chat-theme-dark-bg-primary);
13
16
  }
14
-
15
- .sample-chat {
16
- position: relative;
17
- margin: 0 auto;
18
- width: calc(100% - 20rem);
19
- min-width: 850px;
20
- height: 86%;
21
- box-sizing: border-box;
22
- border-radius: 12px;
23
- overflow: hidden;
24
- }
25
- .sample-chat-profile {
26
- position: absolute;
27
- top: 0;
28
- z-index: 1;
29
- width: 100%;
30
- height: 100%;
31
- }
32
- .sample-chat-left-container {
33
- max-width: 360px;
34
- min-width: 360px;
17
+ .tui-conversation .tui-conversation-header {
35
18
  display: flex;
36
- flex-direction: column;
37
- position: relative;
19
+ padding: 10px 20px;
38
20
  }
39
- .sample-chat-tab {
21
+ .tui-conversation .tui-conversation-header .tui-conversation-create-icon {
40
22
  display: flex;
41
23
  align-items: center;
42
- justify-content: space-around;
43
- margin: 12px;
24
+ justify-content: center;
25
+ margin-left: 10px;
44
26
  }
45
- .sample-chat-tab-container {
27
+ .tui-conversation .no-result {
28
+ padding: 0 20px;
46
29
  display: flex;
47
30
  flex-direction: column;
48
31
  align-items: center;
49
- justify-content: center;
50
- cursor: pointer;
51
32
  }
52
- .sample-chat-tab-text {
53
- font-size: 15px;
54
- line-height: 25px;
55
- text-align: center;
33
+ .tui-conversation .no-result-icon {
34
+ margin: 100px auto 50px;
56
35
  }
57
- .sample-chat-tab-active {
58
- color: #147aff;
36
+ .tui-conversation .no-result-message {
37
+ color: #999;
38
+ font-weight: 400;
39
+ font-size: 16px;
40
+ font-family: PingFangSC-Medium;
41
+ line-height: 22px;
59
42
  }
60
43
 
61
- .tuikit-container {
62
- display: flex;
63
- height: 100%;
64
- position: relative;
65
- text-align: initial;
66
- box-shadow: 0 11px 20px 0 rgba(0, 0, 0, 0.3);
44
+ .tui-conversation-h5 .tui-conversation-header {
45
+ padding: 10px;
67
46
  }
68
-
69
- .tui-chat-default {
70
- width: 100%;
71
- height: 100%;
72
- background-size: cover;
73
- background-position-x: -17px;
74
- background-position-y: 173px;
75
- padding: 100px 40px 0;
47
+ .tui-conversation-h5 .conversation-list-container .conversation-preview-container {
48
+ padding: 0 10px;
76
49
  }
77
- .tui-chat-default header {
50
+ .tui-kit-avatar {
78
51
  display: flex;
79
52
  align-items: center;
80
- font-size: 1.75rem;
81
- font-family: PingFangSC-Medium;
82
- font-weight: 500;
83
- color: #000;
84
- letter-spacing: 0;
85
- }
86
- .tui-chat-default header img {
87
- width: 32px;
88
- margin: 0 10px;
89
- }
90
- .tui-chat-default .content {
91
- max-width: 393px;
92
- font-size: 16px;
93
- line-height: 24px;
94
- font-family: PingFangSC-Regular;
95
- font-weight: 400;
96
- color: #666;
97
- letter-spacing: 0;
98
- padding: 36px 0 20px;
99
- }
100
- .tui-chat-default .link {
101
- font-size: 14px;
102
- line-height: 20px;
103
- font-family: PingFangSC-Regular;
104
- font-weight: 400;
105
- color: #666;
106
- letter-spacing: 0;
107
- }
108
- .tui-chat-default .link a {
109
- font-family: PingFangSC-Regular;
110
- font-weight: 400;
111
- color: #006eff;
112
- letter-spacing: 0;
113
- text-decoration: none;
114
- padding: 0 5px;
115
- }
116
-
117
- body #webpack-dev-server-client-overlay {
118
- display: none !important;
53
+ position: relative;
54
+ cursor: pointer;
55
+ flex-shrink: 0;
119
56
  }
120
- .App {
121
- height: 100%;
57
+ .tui-kit-avatar.circle .avatar-image {
58
+ border-radius: 50%;
122
59
  }
123
-
124
- #root {
125
- width: 100%;
126
- height: 100%;
127
- margin: 0;
60
+ .tui-kit-avatar.square .avatar-image {
61
+ border-radius: 4px;
128
62
  }
129
-
130
- .sample-chat-h5 {
131
- position: relative;
63
+ .tui-kit-avatar img {
132
64
  width: 100%;
133
65
  height: 100%;
134
- overflow: hidden;
135
66
  }
136
- .sample-chat-h5-container {
67
+ .tui-kit-avatar:hover .tui-kit-avatar-edit {
137
68
  display: flex;
138
- flex-direction: column;
69
+ }
70
+ .tui-kit-avatar-edit {
71
+ position: absolute;
72
+ top: 0;
73
+ left: 0;
74
+ background: rgba(0, 0, 0, 0.33);
139
75
  width: 100%;
140
76
  height: 100%;
77
+ border-radius: 100%;
78
+ display: none;
79
+ justify-content: center;
80
+ align-items: center;
141
81
  }
142
- .sample-chat-h5-container .sample-profile {
82
+ .tui-kit-avatar-list {
143
83
  position: absolute;
144
- top: 0;
145
- z-index: 1;
84
+ z-index: 2;
85
+ top: 100%;
86
+ background: #FFFFFF;
87
+ border-radius: 5px;
88
+ box-shadow: 0 11px 20px 0 rgb(0, 0, 0);
89
+ display: flex;
90
+ flex-wrap: wrap;
91
+ justify-content: center;
146
92
  width: 100%;
147
- max-width: 100%;
148
- min-width: 100%;
93
+ min-width: 200px;
94
+ max-width: 400px;
95
+ padding: 10px;
149
96
  }
150
- .sample-chat-h5-container .tui-kit-input-box.tui-kit-input-box--focus {
151
- outline: none;
97
+ .tui-kit-avatar-list-item {
98
+ padding: 10px;
152
99
  }
153
- .sample-chat-h5 .tui-message-input .tui-kit-input-box--focus {
154
- outline: none;
100
+ .tui-kit-avatar-list-item img {
101
+ width: 40px;
155
102
  }
156
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
157
- /* Document
158
- ========================================================================== */
159
- /**
160
- * 1. Correct the line height in all browsers.
161
- * 2. Prevent adjustments of font size after orientation changes in iOS.
162
- */
163
- html {
164
- line-height: 1.15; /* 1 */
165
- -webkit-text-size-adjust: 100%; /* 2 */
103
+ .conversation-list-container {
104
+ overflow-x: hidden;
105
+ height: 100%;
166
106
  }
167
107
 
168
- /* Sections
169
- ========================================================================== */
170
- /**
171
- * Remove the margin in all browsers.
172
- */
173
- body {
174
- margin: 0;
108
+ .conversation-preview-container {
109
+ display: flex;
110
+ align-items: center;
111
+ border: none;
112
+ width: 100%;
113
+ height: 64px;
114
+ cursor: pointer;
115
+ line-height: 17px;
116
+ padding: 0 20px;
175
117
  }
176
-
177
- /**
178
- * Render the `main` element consistently in IE.
179
- */
180
- main {
181
- display: block;
118
+ [data-uikit-theme=light] .conversation-preview-container {
119
+ background-color: var(--chat-theme-light-bg-primary);
182
120
  }
183
-
184
- /**
185
- * Correct the font size and margin on `h1` elements within `section` and
186
- * `article` contexts in Chrome, Firefox, and Safari.
187
- */
188
- h1 {
189
- font-size: 2em;
190
- margin: 0.67em 0;
121
+ [data-uikit-theme=dark] .conversation-preview-container {
122
+ background-color: var(--chat-theme-dark-bg-primary);
191
123
  }
192
-
193
- /* Grouping content
194
- ========================================================================== */
195
- /**
196
- * 1. Add the correct box sizing in Firefox.
197
- * 2. Show the overflow in Edge and IE.
198
- */
199
- hr {
200
- box-sizing: content-box; /* 1 */
201
- height: 0; /* 1 */
202
- overflow: visible; /* 2 */
124
+ .conversation-preview-container .content {
125
+ flex: 1 1 auto;
126
+ text-align: left;
127
+ margin-left: 10px;
128
+ min-width: 0;
203
129
  }
204
-
205
- /**
206
- * 1. Correct the inheritance and scaling of font size in all browsers.
207
- * 2. Correct the odd `em` font sizing in all browsers.
208
- */
209
- pre {
210
- /* stylelint-disable-next-line font-family-no-duplicate-names */
211
- font-family: monospace, monospace; /* 1 */
212
- font-size: 1em; /* 2 */
130
+ .conversation-preview-container .content .title {
131
+ font-style: normal;
132
+ font-weight: 700;
133
+ font-size: 14px;
134
+ line-height: 17px;
135
+ font-family: PingFangSC-Medium;
136
+ padding: 1px 0;
137
+ width: 100%;
213
138
  }
214
-
215
- /* Text-level semantics
216
- ========================================================================== */
217
- /**
218
- * Remove the gray background on active links in IE 10.
219
- */
220
- a {
221
- background-color: transparent;
139
+ [data-uikit-theme=light] .conversation-preview-container .content .title {
140
+ color: var(--chat-theme-light-text-primary);
222
141
  }
223
-
224
- /**
225
- * 1. Remove the bottom border in Chrome 57-
226
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
227
- */
228
- abbr[title] {
229
- border-bottom: none; /* 1 */
230
- text-decoration: underline; /* 2 */
231
- text-decoration: underline dotted; /* 2 */
142
+ [data-uikit-theme=dark] .conversation-preview-container .content .title {
143
+ color: var(--chat-theme-dark-text-primary);
232
144
  }
233
-
234
- /**
235
- * Add the correct font weight in Chrome, Edge, and Safari.
236
- */
237
- b,
238
- strong {
239
- font-weight: bolder;
145
+ .conversation-preview-container .content .message {
146
+ overflow: hidden;
147
+ text-overflow: ellipsis;
148
+ white-space: nowrap;
149
+ font-family: PingFangSC-Medium;
150
+ font-style: normal;
151
+ font-weight: 400;
152
+ font-size: 12px;
153
+ line-height: 14px;
154
+ padding: 1px 0;
240
155
  }
241
-
242
- /**
243
- * 1. Correct the inheritance and scaling of font size in all browsers.
244
- * 2. Correct the odd `em` font sizing in all browsers.
245
- */
246
- code,
247
- kbd,
248
- samp {
249
- font-family: monospace, monospace; /* 1 */
250
- font-size: 1em; /* 2 */
156
+ [data-uikit-theme=light] .conversation-preview-container .content .message {
157
+ color: var(--chat-theme-light-text-secondary);
251
158
  }
252
-
253
- /**
254
- * Add the correct font size in all browsers.
255
- */
256
- small {
257
- font-size: 80%;
159
+ [data-uikit-theme=dark] .conversation-preview-container .content .message {
160
+ color: var(--chat-theme-dark-text-secondary);
258
161
  }
259
-
260
- /**
261
- * Prevent `sub` and `sup` elements from affecting the line height in
262
- * all browsers.
263
- */
264
- sub,
265
- sup {
266
- font-size: 75%;
267
- line-height: 0;
268
- position: relative;
269
- vertical-align: baseline;
162
+ .conversation-preview-container .external {
163
+ text-align: right;
164
+ flex: 0 1 auto;
165
+ display: flex;
166
+ flex-direction: column;
270
167
  }
271
-
272
- sub {
273
- bottom: -0.25em;
168
+ .conversation-preview-container .external .unread {
169
+ height: 19px;
170
+ padding: 1px 0;
274
171
  }
275
-
276
- sup {
277
- top: -0.5em;
172
+ .conversation-preview-container .external .time {
173
+ font-family: PingFangSC-Medium;
174
+ font-style: normal;
175
+ font-weight: 400;
176
+ font-size: 12px;
177
+ line-height: 14px;
178
+ padding: 1px 0;
278
179
  }
279
-
280
- /* Embedded content
281
- ========================================================================== */
282
- /**
283
- * Remove the border on images inside links in IE 10.
284
- */
285
- img {
286
- border-style: none;
180
+ [data-uikit-theme=light] .conversation-preview-container .external .time {
181
+ color: var(--chat-theme-light-text-secondary);
287
182
  }
288
-
289
- /* Forms
290
- ========================================================================== */
291
- /**
292
- * 1. Change the font styles in all browsers.
293
- * 2. Remove the margin in Firefox and Safari.
294
- */
295
- button,
296
- input,
297
- optgroup,
298
- select,
299
- textarea {
300
- font-family: inherit; /* 1 */
301
- font-size: 100%; /* 1 */
302
- line-height: 1.15; /* 1 */
303
- margin: 0; /* 2 */
183
+ [data-uikit-theme=dark] .conversation-preview-container .external .time {
184
+ color: var(--chat-theme-dark-text-secondary);
304
185
  }
305
-
306
- /**
307
- * Show the overflow in IE.
308
- * 1. Show the overflow in Edge.
309
- */
310
- button,
311
- input { /* 1 */
312
- overflow: visible;
186
+ .conversation-preview-container .external .more--hover {
187
+ display: flex;
188
+ justify-content: flex-end;
189
+ flex: 1 1;
313
190
  }
314
-
315
- /**
316
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
317
- * 1. Remove the inheritance of text transform in Firefox.
318
- */
319
- button,
320
- select { /* 1 */
321
- text-transform: none;
191
+ .conversation-preview-container .external .more--hover .icon-more {
192
+ transform: scale(1.5);
322
193
  }
323
-
324
- /**
325
- * Correct the inability to style clickable types in iOS and Safari.
326
- */
327
- button,
328
- [type=button],
329
- [type=reset],
330
- [type=submit] {
331
- -webkit-appearance: button;
194
+ .conversation-preview-container .external .more--hover .more-handle-box {
195
+ top: 0;
196
+ right: 0;
197
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
198
+ bottom: initial;
199
+ padding: 14px 0;
200
+ box-sizing: border-box;
201
+ text-align: start;
202
+ white-space: nowrap;
332
203
  }
333
-
334
- /**
335
- * Remove the inner border and padding in Firefox.
336
- */
337
- button::-moz-focus-inner,
338
- [type=button]::-moz-focus-inner,
339
- [type=reset]::-moz-focus-inner,
340
- [type=submit]::-moz-focus-inner {
341
- border-style: none;
342
- padding: 0;
204
+ .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item {
205
+ font-size: 16px;
206
+ font-family: PingFangSC-Medium;
207
+ line-height: 19px;
208
+ padding: 6px 16px;
209
+ cursor: pointer;
210
+ font-weight: 500;
211
+ box-sizing: border-box;
343
212
  }
344
-
345
- /**
346
- * Restore the focus styles unset by the previous rule.
347
- */
348
- button:-moz-focusring,
349
- [type=button]:-moz-focusring,
350
- [type=reset]:-moz-focusring,
351
- [type=submit]:-moz-focusring {
352
- outline: 1px dotted ButtonText;
213
+ [data-uikit-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item.delete {
214
+ color: var(--chat-theme-light-status-danger);
353
215
  }
354
-
355
- /**
356
- * Correct the padding in Firefox.
357
- */
358
- fieldset {
359
- padding: 0.35em 0.75em 0.625em;
216
+ [data-uikit-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item.delete {
217
+ color: var(--chat-theme-dark-status-danger);
360
218
  }
361
-
362
- /**
363
- * 1. Correct the text wrapping in Edge and IE.
364
- * 2. Correct the color inheritance from `fieldset` elements in IE.
365
- * 3. Remove the padding so developers are not caught out when they zero out
366
- * `fieldset` elements in all browsers.
367
- */
368
- legend {
369
- box-sizing: border-box; /* 1 */
370
- color: inherit; /* 2 */
371
- display: table; /* 1 */
372
- max-width: 100%; /* 1 */
373
- padding: 0; /* 3 */
374
- white-space: normal; /* 1 */
219
+ [data-uikit-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
220
+ background-color: var(--chat-theme-light-bg-active);
375
221
  }
376
-
377
- /**
378
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
379
- */
380
- progress {
381
- vertical-align: baseline;
222
+ [data-uikit-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
223
+ background-color: var(--chat-theme-dark-bg-active);
382
224
  }
383
-
384
- /**
385
- * Remove the default vertical scrollbar in IE 10+.
386
- */
387
- textarea {
388
- overflow: auto;
225
+ [data-uikit-theme=light] .conversation-preview-container:hover {
226
+ background-color: var(--chat-theme-light-bg-active);
389
227
  }
390
-
391
- /**
392
- * 1. Add the correct box sizing in IE 10.
393
- * 2. Remove the padding in IE 10.
394
- */
395
- [type=checkbox],
396
- [type=radio] {
397
- box-sizing: border-box; /* 1 */
398
- padding: 0; /* 2 */
228
+ [data-uikit-theme=dark] .conversation-preview-container:hover {
229
+ background-color: var(--chat-theme-dark-bg-active);
399
230
  }
400
-
401
- /**
402
- * Correct the cursor style of increment and decrement buttons in Chrome.
403
- */
404
- [type=number]::-webkit-inner-spin-button,
405
- [type=number]::-webkit-outer-spin-button {
406
- height: auto;
231
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--pin {
232
+ background-color: var(--chat-theme-light-bg-secondary);
407
233
  }
408
-
409
- /**
410
- * 1. Correct the odd appearance in Chrome and Safari.
411
- * 2. Correct the outline style in Safari.
412
- */
413
- [type=search] {
414
- -webkit-appearance: textfield; /* 1 */
415
- outline-offset: -2px; /* 2 */
234
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--pin {
235
+ background-color: var(--chat-theme-dark-bg-secondary);
416
236
  }
417
-
418
- /**
419
- * Remove the inner padding in Chrome and Safari on macOS.
420
- */
421
- [type=search]::-webkit-search-decoration {
422
- -webkit-appearance: none;
237
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--active {
238
+ background-color: var(--chat-theme-light-bg-active);
423
239
  }
424
-
425
- /**
426
- * 1. Correct the inability to style clickable types in iOS and Safari.
427
- * 2. Change font properties to `inherit` in Safari.
428
- */
429
- ::-webkit-file-upload-button {
430
- -webkit-appearance: button; /* 1 */
431
- font: inherit; /* 2 */
432
- }
433
-
434
- /* Interactive
435
- ========================================================================== */
436
- /*
437
- * Add the correct display in Edge, IE 10+, and Firefox.
438
- */
439
- details {
440
- display: block;
441
- }
442
-
443
- /*
444
- * Add the correct display in all browsers.
445
- */
446
- summary {
447
- display: list-item;
448
- }
449
-
450
- /* Misc
451
- ========================================================================== */
452
- /**
453
- * Add the correct display in IE 10+.
454
- */
455
- template {
456
- display: none;
457
- }
458
-
459
- /**
460
- * Add the correct display in IE 10.
461
- */
462
- [hidden] {
463
- display: none;
464
- }
465
-
466
- :root {
467
- -webkit-font-smoothing: antialiased;
468
- -moz-osx-font-smoothing: grayscale;
469
- }
470
-
471
- @font-face {
472
- font-family: iconfont;
473
- src: url("./assets/fonts/iconfont.woff2?t=1722856322648") format("woff2"), url("./assets/fonts/iconfont.woff?t=1722856322648") format("woff"), url("./assets/fonts/iconfont.ttf?t=1722856322648") format("truetype");
474
- }
475
- .iconfont {
476
- font-family: iconfont, Arial, sans-serif !important;
477
- font-size: 20px;
478
- font-style: normal;
479
- line-height: 1;
480
- vertical-align: bottom;
481
- -webkit-font-smoothing: antialiased;
482
- -webkit-text-stroke-width: 0.2px;
483
- -moz-osx-font-smoothing: grayscale;
240
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--active {
241
+ background-color: var(--chat-theme-dark-bg-active);
484
242
  }
485
-
486
- :root {
487
- --chat-theme-light-bg-5: #999;
488
- --chat-theme-light-bg-4: #b3b3b3;
489
- --chat-theme-light-bg-3: #e5e7eb;
490
- --chat-theme-light-bg-2: #f0f0f0;
491
- --chat-theme-light-bg-1: #fff;
492
- --chat-theme-light-bg-primary: #fff;
493
- --chat-theme-light-bg-secondary: #f0f0f0;
494
- --chat-theme-light-bg-active: #e6f1ff;
495
- --chat-theme-light-text-5: #000;
496
- --chat-theme-light-text-4: #666;
497
- --chat-theme-light-text-3: #7a7a7a;
498
- --chat-theme-light-text-2: #7a7a7a;
499
- --chat-theme-light-text-1: #7a7a7a;
500
- --chat-theme-light-text-primary: #000;
501
- --chat-theme-light-text-secondary: #7a7a7a;
502
- --chat-theme-light-status-info: #147aff;
503
- --chat-theme-light-status-success: #34c759;
504
- --chat-theme-light-status-danger: #ff3742;
505
- --chat-theme-light-border-5: #e0e0e0;
506
- --chat-theme-light-box-shadow-1: rgba(0, 0, 0, 0.24) 0 3px 8px;
507
- color-scheme: light dark;
243
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--active .title {
244
+ color: var(--chat-theme-light-status-info);
508
245
  }
509
-
510
- :root {
511
- --chat-theme-dark-bg-5: #76777e;
512
- --chat-theme-dark-bg-4: #5d5e67;
513
- --chat-theme-dark-bg-3: #454650;
514
- --chat-theme-dark-bg-2: #2e303a;
515
- --chat-theme-dark-bg-1: #191b26;
516
- --chat-theme-dark-bg-primary: #191b26;
517
- --chat-theme-dark-bg-secondary: #2e303a;
518
- --chat-theme-dark-bg-active: #4e4e4e;
519
- --chat-theme-dark-text-5: #000;
520
- --chat-theme-dark-text-4: #666;
521
- --chat-theme-dark-text-3: #7a7a7a;
522
- --chat-theme-dark-text-2: #7a7a7a;
523
- --chat-theme-dark-text-1: #7a7a7a;
524
- --chat-theme-dark-text-primary: #fff;
525
- --chat-theme-dark-text-secondary: #8b8b8b;
526
- --chat-theme-dark-status-info: #147aff;
527
- --chat-theme-dark-status-success: #34c759;
528
- --chat-theme-dark-status-danger: #ff3742;
529
- --chat-theme-dark-border-5: #4e4e4e;
530
- --chat-theme-dark-box-shadow-1: rgba(203, 203, 203, 0.755) 0 3px 8px;
531
- color-scheme: light dark;
246
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--active .title {
247
+ color: var(--chat-theme-dark-status-info);
532
248
  }
533
- .tui-conversation {
534
- flex: 1;
535
- box-sizing: border-box;
536
- overflow: hidden;
537
- min-width: 0;
249
+ .conversation-preview-container.conversation-preview-content--unread .unread {
250
+ width: 16px;
251
+ height: 13px;
252
+ border-radius: 16px;
538
253
  display: flex;
539
- flex-direction: column;
540
- position: relative;
541
- text-align: initial;
254
+ justify-content: center;
255
+ align-items: center;
256
+ padding: 2px 5px 1px;
257
+ font-size: 11px;
258
+ font-weight: 700;
259
+ margin: 2px 0 2px auto;
260
+ color: #fff;
542
261
  }
543
- [data-chat-theme=light] .tui-conversation {
544
- background-color: var(--chat-theme-light-bg-primary);
262
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--unread .unread {
263
+ background-color: var(--chat-theme-light-status-danger);
545
264
  }
546
- [data-chat-theme=dark] .tui-conversation {
547
- background-color: var(--chat-theme-dark-bg-primary);
265
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--unread .unread {
266
+ background-color: var(--chat-theme-dark-status-danger);
548
267
  }
549
- .tui-conversation .tui-conversation-header {
268
+ .tui-message-input {
550
269
  display: flex;
551
- padding: 10px 20px;
270
+ flex-direction: column;
552
271
  }
553
- .tui-conversation .tui-conversation-header .tui-conversation-create-icon {
272
+ .tui-message-input-main {
273
+ flex: 1;
554
274
  display: flex;
555
275
  align-items: center;
556
- justify-content: center;
557
- margin-left: 10px;
276
+ padding: 14px 12px;
277
+ gap: 12px;
558
278
  }
559
- .tui-conversation .no-result {
560
- padding: 0 20px;
279
+ .tui-message-input-main .input-box {
280
+ flex: 1;
561
281
  display: flex;
562
- flex-direction: column;
563
- align-items: center;
564
- }
565
- .tui-conversation .no-result-icon {
566
- margin: 100px auto 50px;
567
- }
568
- .tui-conversation .no-result-message {
569
- color: #999;
570
- font-weight: 400;
571
- font-size: 16px;
572
- font-family: PingFangSC-Medium;
573
- line-height: 22px;
574
- }
575
-
576
- .tui-conversation-h5 .tui-conversation-header {
282
+ position: relative;
283
+ min-height: 20px;
284
+ max-height: 200px;
285
+ border-radius: 15px;
286
+ overflow: hidden;
577
287
  padding: 10px;
578
288
  }
579
- .tui-conversation-h5 .conversation-list-container .conversation-preview-container {
580
- padding: 0 10px;
289
+ .tui-message-input-main .input-box .input-visibility-content {
290
+ min-height: 20px;
291
+ word-break: break-all;
292
+ visibility: hidden;
293
+ max-width: -webkit-fill-available;
294
+ font-family: PingFangSC-Medium;
295
+ font-style: normal;
296
+ font-weight: 500;
297
+ font-size: 14px;
298
+ line-height: 17px;
299
+ padding: 1px 2px;
581
300
  }
582
- .message-default {
583
- width: 100%;
301
+ .tui-message-input-main .input-box textarea {
302
+ position: absolute;
303
+ top: 0;
304
+ left: 0;
305
+ width: -webkit-fill-available;
306
+ height: -webkit-fill-available;
584
307
  flex: 1;
585
- display: flex;
586
- align-items: center;
587
- cursor: pointer;
588
- font-family: SF Pro Text;
589
- font-size: 14px;
590
308
  font-family: PingFangSC-Medium;
591
309
  font-style: normal;
592
310
  font-weight: 500;
311
+ font-size: 14px;
593
312
  line-height: 17px;
313
+ margin: 9px;
314
+ resize: none;
315
+ border: none;
316
+ background: none;
594
317
  }
595
- .message-default .avatar {
596
- width: 45px;
597
- }
598
- .message-default .avatar img {
599
- width: 45px;
600
- }
601
- .message-default .content {
602
- display: flex;
603
- flex-direction: column;
604
- align-items: flex-start;
605
- }
606
- .message-default .content .name {
607
- display: inline-block;
608
- padding-bottom: 3px;
609
- max-width: 60%;
610
- }
611
- [data-chat-theme=light] .message-default .content .name {
318
+ [data-uikit-theme=light] .tui-message-input-main .input-box textarea {
612
319
  color: var(--chat-theme-light-text-primary);
613
320
  }
614
- [data-chat-theme=dark] .message-default .content .name {
321
+ [data-uikit-theme=dark] .tui-message-input-main .input-box textarea {
615
322
  color: var(--chat-theme-dark-text-primary);
616
323
  }
617
-
618
- .in {
324
+ .tui-message-input-main .input-box textarea:focus, .tui-message-input-main .input-box textarea:active {
325
+ border: none;
326
+ outline: none;
327
+ }
328
+ .tui-message-input-main .disabled {
329
+ display: none;
330
+ }
331
+ .tui-message-input-box {
619
332
  flex: 1;
620
333
  display: flex;
621
- flex-direction: row;
622
- justify-self: flex-start;
623
- gap: 10px;
334
+ align-items: center;
624
335
  }
625
- .in .content {
626
- align-items: flex-start;
627
- flex: 1;
336
+
337
+ ul li {
338
+ list-style: none;
628
339
  }
629
340
 
630
- .out {
631
- flex: 1;
632
- display: flex;
633
- gap: 10px;
634
- flex-direction: row-reverse;
635
- justify-self: flex-end;
341
+ .input-plugin-popup {
342
+ position: relative;
636
343
  }
637
- .out .content {
638
- align-items: flex-end;
639
- flex: 1;
344
+ .input-plugin-popup-box {
345
+ position: absolute;
346
+ z-index: 2;
347
+ bottom: 30px;
640
348
  }
641
349
 
642
- .tip {
643
- justify-self: center !important;
644
- width: auto;
350
+ .input-plugin-item {
351
+ font-style: normal;
352
+ font-weight: 500;
353
+ font-size: 16px;
354
+ font-family: PingFangSC-Medium;
355
+ line-height: 19px;
356
+ display: flex;
357
+ }
358
+ .input-plugin-item span {
359
+ padding: 0 17px;
645
360
  }
646
361
 
647
- .bubble {
648
- padding: 8px 16px;
362
+ .emoji-picker .face-list {
363
+ height: 120px;
364
+ width: 242px;
365
+ padding: 10px 5px;
366
+ display: flex;
367
+ flex-wrap: wrap;
368
+ overflow-y: auto;
649
369
  }
650
- .bubble-in {
651
- border-radius: 0px 16px 16px 16px;
370
+ .emoji-picker .face-list-item {
371
+ padding: 5px;
372
+ cursor: pointer;
373
+ user-select: none;
652
374
  }
653
- .bubble-in.group {
654
- border-radius: 0px 16px 16px 16px;
375
+ .emoji-picker .face-list-item img {
376
+ width: 20px;
655
377
  }
656
- .bubble-out {
657
- border-radius: 16px 16px 0 16px;
378
+ .emoji-picker .face-list-item .face-img {
379
+ width: 38px;
658
380
  }
659
-
660
- .message-status {
381
+ .emoji-picker .face-tab {
661
382
  display: flex;
662
- align-items: flex-end;
663
- align-self: flex-end;
383
+ align-items: center;
384
+ min-width: 265px;
664
385
  }
665
- .message-status .time {
666
- width: max-content;
667
- font-weight: 400;
668
- padding: 5px 0 0 10px;
669
- font-size: 12px;
670
- font-family: PingFangSC-Medium;
671
- line-height: 14px;
672
- text-align: right;
386
+ .emoji-picker .face-tab-item {
387
+ cursor: pointer;
388
+ width: 24px;
389
+ padding: 10px;
673
390
  }
674
- [data-chat-theme=light] .message-status .time {
675
- color: var(--chat-theme-light-text-secondary);
391
+ .emoji-picker .face-tab-item img {
392
+ width: 100%;
676
393
  }
677
- [data-chat-theme=dark] .message-status .time {
678
- color: var(--chat-theme-dark-text-secondary);
394
+ .emoji-picker .emoji-plugin-right {
395
+ right: 0;
679
396
  }
680
397
 
681
- .message-image, .message-video {
398
+ .upload-picker {
682
399
  position: relative;
400
+ padding: 10px 16px;
401
+ min-width: 180px;
683
402
  }
684
- .message-image .message-status, .message-video .message-status {
685
- position: absolute;
686
- bottom: 10px;
687
- right: 10px;
688
- }
689
- [data-chat-theme=light] .message-image .message-status .time, [data-chat-theme=light] .message-video .message-status .time {
690
- color: var(--chat-theme-light-text-primary);
403
+ .upload-picker:hover {
404
+ color: #147aff;
691
405
  }
692
- [data-chat-theme=dark] .message-image .message-status .time, [data-chat-theme=dark] .message-video .message-status .time {
693
- color: var(--chat-theme-dark-text-primary);
406
+ .upload-picker input {
407
+ position: absolute;
408
+ cursor: pointer;
409
+ left: 0;
410
+ top: 0;
411
+ opacity: 0;
412
+ width: 100%;
413
+ height: 100%;
694
414
  }
695
415
 
696
- .message-text {
416
+ .input-quote {
417
+ padding: 7px 16px;
418
+ background: #f9f9f9;
697
419
  display: flex;
420
+ align-items: center;
698
421
  }
699
- .message-text-content {
700
- display: inline;
701
- word-break: break-word;
702
- font-family: PingFangSC-Regular;
703
- font-style: normal;
704
- font-weight: 500;
705
- font-size: 14px;
706
- line-height: 24px;
707
- }
708
- .message-text-content-p {
709
- white-space: pre-wrap;
710
- display: inline;
711
- vertical-align: middle;
712
- }
713
- [data-chat-theme=light] .message-text-content-p {
714
- color: var(--chat-theme-light-text-primary);
715
- }
716
- [data-chat-theme=dark] .message-text-content-p {
717
- color: var(--chat-theme-dark-text-primary);
718
- }
719
- .message-text-content .message-status {
720
- display: inline-flex;
721
- float: right;
722
- clear: right;
723
- }
724
-
725
- .message-text,
726
- .message-tip {
727
- font-family: PingFangSC-Regular;
728
- font-style: normal;
729
- font-weight: 500;
730
- font-size: 14px;
731
- line-height: 17px;
732
- }
733
- .message-text .text-img,
734
- .message-tip .text-img {
735
- width: 20px;
736
- height: 20px;
737
- vertical-align: middle;
738
- }
739
-
740
- .message-image {
741
- background: #FFFFFF;
742
- }
743
- .message-image img {
744
- max-width: 300px;
745
- }
746
- .message-image .img-h5 {
747
- max-width: 200px;
748
- max-height: 200px;
749
- }
750
- .message-image .big-image {
751
- max-width: 90%;
752
- max-height: 90%;
753
- }
754
-
755
- .message-video {
756
- max-width: 300px;
757
- }
758
- .message-video .snap-video {
422
+ .input-quote-content {
423
+ flex: 1;
424
+ background: #fff;
425
+ padding: 2px 14px;
759
426
  position: relative;
760
- height: 100%;
761
- border-radius: 10px;
762
- }
763
- .message-video .snap-video::before {
764
- position: absolute;
765
- z-index: 1;
766
- content: "";
767
- width: 0px;
768
- height: 0px;
769
- border: 15px solid transparent;
770
- border-left: 20px solid #ffffff;
771
- top: 0;
772
- left: 0;
773
- bottom: 0;
774
- right: 0;
775
- margin: auto;
776
- }
777
- .message-video video {
778
- width: 100%;
779
- height: 100%;
780
- border-radius: 10px;
781
- }
782
- .message-video .play-video {
783
- max-width: 95%;
784
- max-height: 65%;
785
- }
786
-
787
- .message-video.message-video-h5 {
788
- max-width: 200px;
789
- max-height: 200px;
790
- }
791
-
792
- .message-file {
793
427
  display: flex;
794
428
  flex-direction: column;
795
- border: 1px solid #ddd;
796
- }
797
- .message-file-main {
798
- display: flex;
799
- align-items: center;
800
- padding: 12px;
801
- background: #FFFFFF;
802
- border-radius: 4px;
803
- }
804
- .message-file-main .icon {
805
- margin-right: 7px;
806
- }
807
- .message-file-footer {
808
- display: flex;
809
- justify-content: space-between;
810
- align-items: flex-end;
811
- }
812
- .message-file-footer .time {
813
- padding-top: 10px;
814
- }
815
- .message-file-size {
816
- padding-top: 10px;
817
- font-weight: 400;
818
- font-size: 12px;
429
+ font-weight: 500;
430
+ font-size: 14px;
819
431
  font-family: PingFangSC-Medium;
820
- line-height: 14px;
821
- color: #7A7A7A;
822
- }
823
-
824
- .message-merger {
825
- display: flex;
826
- flex-direction: column;
827
- background: #ECEBEB;
828
- }
829
- .message-merger h3 {
830
- padding-bottom: 4px;
831
- border-bottom: 1px solid #a1a1a1;
832
- }
833
- .message-merger-list {
834
- opacity: 0.6;
835
- }
836
- .message-merger-item {
837
- padding-top: 4px;
838
- }
839
-
840
- .meesage-bubble-reply {
841
- padding: 8px 16px;
842
- }
843
- [data-chat-theme=light] .meesage-bubble-reply {
844
- background-color: var(--chat-theme-light-bg-secondary);
845
- }
846
- [data-chat-theme=dark] .meesage-bubble-reply {
847
- background-color: var(--chat-theme-dark-bg-secondary);
848
- }
849
- .meesage-bubble-reply-in {
850
- border-radius: 16px 16px 16px 0;
851
- }
852
- .meesage-bubble-reply-out {
853
- border-radius: 16px 16px 0px 16px;
854
- }
855
- .meesage-bubble-reply .message-text {
856
- border: none !important;
857
- }
858
- .meesage-bubble-reply .bubble {
859
- padding: 0;
860
- }
861
- .meesage-bubble-reply .bubble-in {
862
- border-radius: 0;
863
- }
864
- .meesage-bubble-reply-main {
865
- position: relative;
866
- padding: 10px 14px;
867
- margin-bottom: 10px;
868
- }
869
- [data-chat-theme=light] .meesage-bubble-reply-main {
870
- background-color: var(--chat-theme-light-bg-primary);
871
- }
872
- [data-chat-theme=dark] .meesage-bubble-reply-main {
873
- background-color: var(--chat-theme-dark-bg-primary);
432
+ line-height: 17px;
433
+ color: #000;
874
434
  }
875
- .meesage-bubble-reply-main::before {
435
+ .input-quote-content::before {
876
436
  content: "";
877
437
  position: absolute;
878
438
  width: 6px;
879
439
  height: 100%;
440
+ background: #999;
880
441
  top: 0;
881
442
  left: 0;
882
443
  }
883
- [data-chat-theme=light] .meesage-bubble-reply-main::before {
884
- background-color: var(--chat-theme-light-bg-5);
885
- }
886
- [data-chat-theme=dark] .meesage-bubble-reply-main::before {
887
- background-color: var(--chat-theme-dark-bg-5);
888
- }
889
- .meesage-bubble-reply-main .title {
890
- font-weight: 500;
891
- font-size: 14px;
892
- padding-bottom: 10px;
893
- }
894
- [data-chat-theme=light] .meesage-bubble-reply-main .title {
895
- color: var(--chat-theme-light-text-primary);
896
- }
897
- [data-chat-theme=dark] .meesage-bubble-reply-main .title {
898
- color: var(--chat-theme-dark-text-primary);
899
- }
900
- .meesage-bubble-reply-main .message-context {
444
+ .input-quote-content span {
445
+ padding-top: 8px;
901
446
  opacity: 0.6;
902
447
  }
448
+ .input-quote .icon {
449
+ margin: 0 5px 0 16px;
450
+ }
903
451
 
904
- .meesage-bubble {
452
+ .tui-forward {
453
+ background: #fff;
454
+ border-radius: 16px;
905
455
  display: flex;
906
- align-items: flex-end;
907
- }
908
- .meesage-bubble-status {
909
- margin: 3px;
456
+ flex-direction: column;
457
+ overflow: hidden;
458
+ width: 300px;
459
+ max-height: 90%;
910
460
  }
911
- .meesage-bubble-context {
461
+ .tui-forward-header {
912
462
  display: flex;
913
463
  align-items: center;
914
- gap: 10px;
915
- }
916
- .meesage-bubble-context .message-context {
917
- flex: 1;
918
- }
919
-
920
- .icon-fail {
921
- width: 14px;
922
- height: 14px;
923
- border-radius: 14px;
924
- position: relative;
925
- background: #FA5151;
926
- display: inline-flex;
927
- justify-content: center;
928
- align-items: center;
464
+ padding: 24px 20px;
929
465
  }
930
- .icon-fail::before {
931
- position: absolute;
932
- content: "!";
933
- color: #FFFFFF;
934
- font-size: 12px;
466
+ .tui-forward-title {
467
+ padding: 0 16px;
935
468
  font-family: PingFangSC-Medium;
469
+ font-style: normal;
470
+ font-weight: 700;
471
+ font-size: 14px;
472
+ line-height: 17px;
936
473
  }
937
-
938
- .message-face {
939
- display: flex;
940
- flex-direction: column;
941
- }
942
- .message-face .img {
943
- max-width: 88px;
944
- }
945
-
946
- .loading {
947
- display: inline-block;
948
- position: relative;
949
- }
950
- .loading .img, .loading video {
951
- min-width: 60px;
952
- min-height: 60px;
953
- max-width: 300px;
954
- border-radius: 10px;
955
- }
956
- .loading .img-h5, .loading .video-h5 {
957
- min-width: 60px;
958
- min-height: 60px;
959
- max-width: 200px;
960
- max-height: 200px;
961
- border-radius: 10px;
962
- }
963
- .loading::before {
964
- position: absolute;
965
- content: "";
966
- background: rgba(0, 0, 0, 0.5);
967
- border-radius: 10px;
968
- width: 100%;
969
- height: 100%;
970
- top: 0;
971
- left: 0;
972
- }
973
- .loading::after {
974
- position: absolute;
975
- content: "";
976
- border: 5px solid #f3f3f3;
977
- border-top: 5px solid #555;
978
- border-radius: 50%;
979
- width: 30px;
980
- height: 30px;
981
- display: inline-block;
982
- animation: spin 2s linear infinite;
983
- top: 0;
984
- left: 0;
985
- right: 0;
986
- bottom: 0;
987
- margin: auto;
988
- }
989
- @keyframes spin {
990
- 0% {
991
- transform: rotate(0deg);
992
- }
993
- 100% {
994
- transform: rotate(360deg);
995
- }
474
+ .tui-forward-main {
475
+ padding: 0 20px;
476
+ max-height: calc(100vh - 200px);
477
+ overflow-y: auto;
996
478
  }
997
-
998
- .message-plugin {
999
- width: 32px;
1000
- margin: 0 5px;
479
+ .tui-forward-main .no-result {
480
+ font-family: PingFangSC-Medium;
481
+ font-size: 14px;
482
+ font-style: normal;
483
+ line-height: 20px;
484
+ padding: 10px;
485
+ text-align: center;
486
+ color: #999;
1001
487
  }
1002
- .message-plugin .icon-more {
1003
- transform: scale(1.5);
488
+ .tui-forward-search {
489
+ padding: 10px 15px;
1004
490
  }
1005
- .message-plugin .plugin-popup-box {
1006
- bottom: auto;
1007
- top: 100%;
1008
- overflow: hidden;
491
+ .tui-forward-list {
492
+ padding: 13px 0;
1009
493
  }
1010
- .message-plugin-box {
1011
- padding: 6px 0;
494
+ .tui-forward-list-title {
495
+ font-family: PingFangSC-Medium;
496
+ font-style: normal;
497
+ font-weight: 600;
498
+ font-size: 14px;
499
+ line-height: 20px;
1012
500
  }
1013
- .message-plugin-item {
1014
- min-width: 144px;
1015
- padding: 6px 13px;
501
+ .tui-forward-list-item {
502
+ padding: 6px 0;
503
+ font-family: PingFangSC-Medium;
504
+ font-style: normal;
505
+ font-weight: 400;
506
+ font-size: 14px;
507
+ line-height: 20px;
1016
508
  display: flex;
1017
509
  justify-content: space-between;
1018
510
  align-items: center;
1019
- font-weight: 500;
1020
- font-size: 12.8px;
1021
- font-family: PingFangSC-Medium;
1022
- line-height: 15px;
511
+ width: 100%;
1023
512
  }
1024
- .message-plugin-item:hover {
1025
- background: rgba(0, 110, 255, 0.1);
1026
- color: #147aff;
513
+ .tui-forward-list-item .info {
514
+ display: flex;
515
+ align-items: center;
516
+ flex-shrink: 0;
517
+ width: 100%;
1027
518
  }
1028
- .message-plugin-item .del {
1029
- color: #FF584C;
519
+ .tui-forward-list-item .info-nick {
520
+ padding: 0 13px;
521
+ font-family: PingFangSC-Medium;
522
+ font-style: normal;
523
+ font-weight: 400;
524
+ font-size: 14px;
525
+ line-height: 20px;
526
+ min-width: 180px;
527
+ max-width: 300px;
528
+ overflow: hidden;
529
+ white-space: nowrap;
530
+ text-overflow: ellipsis;
531
+ width: 80%;
1030
532
  }
1031
-
1032
- .message-custom {
533
+ .tui-forward-footer {
534
+ background: rgba(249, 249, 249, 0.94);
535
+ padding: 13px 10px;
1033
536
  display: flex;
1034
- word-break: break-all;
537
+ justify-content: space-between;
538
+ align-items: center;
1035
539
  }
1036
- .message-custom a {
1037
- color: #679ce1;
1038
- text-decoration: none;
1039
- font-family: PingFangSC-Regular;
540
+ .tui-forward-footer .button {
541
+ cursor: pointer;
542
+ background: #0365f9;
543
+ border-radius: 31px;
544
+ padding: 10px 21px;
545
+ font-family: PingFangSC-Medium;
1040
546
  font-style: normal;
1041
- font-weight: 500;
547
+ font-weight: 400;
1042
548
  font-size: 14px;
1043
- line-height: 17px;
549
+ line-height: 20px;
550
+ color: #fff;
551
+ border: none;
1044
552
  }
1045
- .message-custom p {
1046
- font-family: PingFangSC-Regular;
1047
- font-size: 14px;
1048
- font-style: normal;
1049
- font-weight: 500;
1050
- line-height: 17px;
553
+ .tui-forward-footer-name {
554
+ flex: 1;
555
+ overflow: hidden;
556
+ word-break: break-all;
557
+ text-overflow: ellipsis;
558
+ display: -webkit-box;
559
+ -webkit-line-clamp: 3;
560
+ -webkit-box-orient: vertical;
1051
561
  }
1052
562
 
1053
- .message-revoke {
1054
- color: #999999;
563
+ .transmitter {
564
+ padding: 0 10px;
1055
565
  }
1056
-
1057
- .message-audio {
1058
- display: flex;
1059
- align-items: center;
566
+ .transmitter .icon-send {
567
+ transform: rotate(90deg);
1060
568
  }
1061
- .message-audio .out {
1062
- transform: rotate(180deg);
569
+
570
+ [data-uikit-theme=light] .tui-message-input {
571
+ background-color: var(--chat-theme-light-bg-primary);
1063
572
  }
1064
- .message-audio-none {
1065
- display: none;
573
+ [data-uikit-theme=dark] .tui-message-input {
574
+ background-color: var(--chat-theme-dark-bg-primary);
1066
575
  }
1067
- .message-audio-content {
1068
- display: flex;
1069
- align-items: center;
1070
- gap: 10px;
576
+ [data-uikit-theme=light] .tui-message-input .tui-kit-input-box--focus {
577
+ outline: 1px solid var(--chat-theme-light-status-info);
1071
578
  }
1072
- .message-audio-out {
1073
- flex-direction: row-reverse;
579
+ [data-uikit-theme=dark] .tui-message-input .tui-kit-input-box--focus {
580
+ outline: 1px solid var(--chat-theme-dark-status-info);
1074
581
  }
1075
- .message-audio .playing {
1076
- animation: playingAnimation 1s ease-in-out infinite;
582
+ [data-uikit-theme=light] .tui-message-input .input-box {
583
+ background-color: var(--chat-theme-light-bg-primary);
584
+ border: 1px solid var(--chat-theme-light-border-5);
1077
585
  }
1078
- @keyframes playingAnimation {
1079
- 0% {
1080
- opacity: 1;
1081
- }
1082
- 50% {
1083
- opacity: 0.3;
1084
- }
1085
- 100% {
1086
- opacity: 1;
1087
- }
586
+ [data-uikit-theme=dark] .tui-message-input .input-box {
587
+ background-color: var(--chat-theme-dark-bg-primary);
588
+ border: 1px solid var(--chat-theme-dark-border-5);
1088
589
  }
1089
590
 
1090
- .high-lighted {
1091
- animation: highLightedAnimation 1s ease-in-out forwards;
591
+ .input-plugin-popup-box {
592
+ border-radius: 16px;
1092
593
  }
1093
-
1094
- @keyframes highLightedAnimation {
1095
- 0% {
1096
- opacity: 1;
1097
- color: #ff9c19;
1098
- }
1099
- 25% {
1100
- opacity: 0.3;
1101
- }
1102
- 50% {
1103
- color: #ff9c19;
1104
- opacity: 1;
1105
- }
1106
- 75% {
1107
- opacity: 0.3;
1108
- }
1109
- 100% {
1110
- color: #ff9c19;
1111
- opacity: 1;
1112
- }
594
+ [data-uikit-theme=light] .input-plugin-popup-box {
595
+ background-color: var(--chat-theme-light-bg-primary);
596
+ box-shadow: var(--chat-theme-light-box-shadow-1);
1113
597
  }
1114
- .progress-box {
598
+ [data-uikit-theme=dark] .input-plugin-popup-box {
599
+ background-color: var(--chat-theme-dark-bg-3);
600
+ box-shadow: var(--chat-theme-dark-box-shadow-1);
601
+ }
602
+ .message-default {
1115
603
  width: 100%;
1116
- height: 5px;
604
+ flex: 1;
1117
605
  display: flex;
1118
- justify-content: flex-start;
606
+ align-items: center;
607
+ cursor: pointer;
608
+ font-family: SF Pro Text;
609
+ font-size: 14px;
610
+ font-family: PingFangSC-Medium;
611
+ font-style: normal;
612
+ font-weight: 500;
613
+ line-height: 17px;
1119
614
  }
1120
- .progress-box .progress {
615
+ .message-default .avatar {
616
+ width: 45px;
617
+ }
618
+ .message-default .avatar img {
619
+ width: 45px;
620
+ }
621
+ .message-default .content {
622
+ display: flex;
623
+ flex-direction: column;
624
+ align-items: flex-start;
625
+ }
626
+ .message-default .content .name {
1121
627
  display: inline-block;
1122
- width: 0;
1123
- background: #147aff;
1124
- height: 5px;
1125
- border-radius: 2px;
1126
- box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
628
+ padding-bottom: 3px;
629
+ max-width: 60%;
630
+ }
631
+ [data-uikit-theme=light] .message-default .content .name {
632
+ color: var(--chat-theme-light-text-primary);
633
+ }
634
+ [data-uikit-theme=dark] .message-default .content .name {
635
+ color: var(--chat-theme-dark-text-primary);
1127
636
  }
1128
637
 
1129
- .website {
1130
- color: #147aff !important;
638
+ .in {
639
+ flex: 1;
640
+ display: flex;
641
+ flex-direction: row;
642
+ justify-self: flex-start;
643
+ gap: 10px;
644
+ }
645
+ .in .content {
646
+ align-items: flex-start;
647
+ flex: 1;
1131
648
  }
1132
649
 
1133
- [data-chat-theme=light] .message-text,
1134
- [data-chat-theme=light] .message-custom {
1135
- border: 1px solid var(--chat-theme-light-border-5);
650
+ .out {
651
+ flex: 1;
652
+ display: flex;
653
+ gap: 10px;
654
+ flex-direction: row-reverse;
655
+ justify-self: flex-end;
1136
656
  }
1137
- [data-chat-theme=dark] .message-text,
1138
- [data-chat-theme=dark] .message-custom {
1139
- border: 1px solid var(--chat-theme-dark-border-5);
657
+ .out .content {
658
+ align-items: flex-end;
659
+ flex: 1;
1140
660
  }
1141
661
 
1142
- [data-chat-theme=light] .bubble {
1143
- background-color: var(--chat-theme-light-bg-primary);
662
+ .tip {
663
+ justify-self: center !important;
664
+ width: auto;
1144
665
  }
1145
- [data-chat-theme=dark] .bubble {
1146
- background-color: var(--chat-theme-dark-bg-primary);
666
+
667
+ .bubble {
668
+ padding: 8px 16px;
1147
669
  }
1148
- [data-chat-theme=light] .bubble-out {
1149
- border: none;
1150
- background-color: var(--chat-theme-light-bg-secondary);
670
+ .bubble-in {
671
+ border-radius: 0px 16px 16px 16px;
1151
672
  }
1152
- [data-chat-theme=dark] .bubble-out {
1153
- border: none;
1154
- background-color: var(--chat-theme-dark-bg-secondary);
673
+ .bubble-in.group {
674
+ border-radius: 0px 16px 16px 16px;
1155
675
  }
1156
-
1157
- .meesage-bubble-reply-out .meesage-bubble-reply-main .message-text {
1158
- background: none;
676
+ .bubble-out {
677
+ border-radius: 16px 16px 0 16px;
1159
678
  }
1160
679
 
1161
- [data-chat-theme=light] .message-tip {
680
+ .message-status {
681
+ display: flex;
682
+ align-items: flex-end;
683
+ align-self: flex-end;
684
+ }
685
+ .message-status .time {
686
+ width: max-content;
687
+ font-weight: 400;
688
+ padding: 5px 0 0 10px;
689
+ font-size: 12px;
690
+ font-family: PingFangSC-Medium;
691
+ line-height: 14px;
692
+ text-align: right;
693
+ }
694
+ [data-uikit-theme=light] .message-status .time {
1162
695
  color: var(--chat-theme-light-text-secondary);
1163
696
  }
1164
- [data-chat-theme=dark] .message-tip {
697
+ [data-uikit-theme=dark] .message-status .time {
1165
698
  color: var(--chat-theme-dark-text-secondary);
1166
699
  }
1167
700
 
1168
- .tip .bubble .edit {
1169
- color: #147aff;
1170
- padding: 3px;
701
+ .message-image, .message-video {
702
+ position: relative;
1171
703
  }
1172
- .plugin {
1173
- display: flex;
1174
- align-items: center;
1175
- height: 100%;
1176
- padding: 0 8px;
1177
- gap: 8px;
704
+ .message-image .message-status, .message-video .message-status {
705
+ position: absolute;
706
+ bottom: 10px;
707
+ right: 10px;
708
+ }
709
+ [data-uikit-theme=light] .message-image .message-status .time, [data-uikit-theme=light] .message-video .message-status .time {
710
+ color: var(--chat-theme-light-text-primary);
711
+ }
712
+ [data-uikit-theme=dark] .message-image .message-status .time, [data-uikit-theme=dark] .message-video .message-status .time {
713
+ color: var(--chat-theme-dark-text-primary);
1178
714
  }
1179
715
 
1180
- .plugin-popup {
1181
- height: 100%;
716
+ .message-text {
1182
717
  display: flex;
1183
- align-items: center;
1184
- position: relative;
1185
718
  }
1186
- .plugin-popup-box {
1187
- position: absolute;
1188
- z-index: 2;
1189
- bottom: 100%;
719
+ .message-text-content {
720
+ display: inline;
721
+ word-break: break-word;
722
+ font-family: PingFangSC-Regular;
723
+ font-style: normal;
724
+ font-weight: 500;
725
+ font-size: 14px;
726
+ line-height: 24px;
1190
727
  }
1191
-
1192
- .plugin-popup-box {
1193
- border-radius: 16px;
728
+ .message-text-content-p {
729
+ white-space: pre-wrap;
730
+ display: inline;
731
+ vertical-align: middle;
1194
732
  }
1195
- [data-chat-theme=light] .plugin-popup-box {
733
+ [data-uikit-theme=light] .message-text-content-p {
1196
734
  color: var(--chat-theme-light-text-primary);
1197
735
  }
1198
- [data-chat-theme=dark] .plugin-popup-box {
736
+ [data-uikit-theme=dark] .message-text-content-p {
1199
737
  color: var(--chat-theme-dark-text-primary);
1200
738
  }
1201
- [data-chat-theme=light] .plugin-popup-box {
1202
- background-color: var(--chat-theme-light-bg-primary);
1203
- box-shadow: var(--chat-theme-light-box-shadow-1);
739
+ .message-text-content .message-status {
740
+ display: inline-flex;
741
+ float: right;
742
+ clear: right;
1204
743
  }
1205
- [data-chat-theme=dark] .plugin-popup-box {
1206
- background-color: var(--chat-theme-dark-bg-3);
1207
- box-shadow: var(--chat-theme-dark-box-shadow-1);
744
+
745
+ .message-text,
746
+ .message-tip {
747
+ font-family: PingFangSC-Regular;
748
+ font-style: normal;
749
+ font-weight: 500;
750
+ font-size: 14px;
751
+ line-height: 17px;
1208
752
  }
1209
- .tui-message-input {
1210
- display: flex;
1211
- flex-direction: column;
753
+ .message-text .text-img,
754
+ .message-tip .text-img {
755
+ width: 20px;
756
+ height: 20px;
757
+ vertical-align: middle;
1212
758
  }
1213
- .tui-message-input-main {
1214
- flex: 1;
1215
- display: flex;
1216
- align-items: center;
1217
- padding: 14px 12px;
1218
- gap: 12px;
759
+
760
+ .message-image {
761
+ background: #FFFFFF;
1219
762
  }
1220
- .tui-message-input-main .input-box {
1221
- flex: 1;
1222
- display: flex;
1223
- position: relative;
1224
- min-height: 20px;
763
+ .message-image img {
764
+ max-width: 300px;
765
+ }
766
+ .message-image .img-h5 {
767
+ max-width: 200px;
1225
768
  max-height: 200px;
1226
- border-radius: 15px;
1227
- overflow: hidden;
1228
- padding: 10px;
1229
769
  }
1230
- .tui-message-input-main .input-box .input-visibility-content {
1231
- min-height: 20px;
1232
- word-break: break-all;
1233
- visibility: hidden;
1234
- max-width: -webkit-fill-available;
1235
- font-family: PingFangSC-Medium;
1236
- font-style: normal;
1237
- font-weight: 500;
1238
- font-size: 14px;
1239
- line-height: 17px;
1240
- padding: 1px 2px;
770
+ .message-image .big-image {
771
+ max-width: 90%;
772
+ max-height: 90%;
1241
773
  }
1242
- .tui-message-input-main .input-box textarea {
774
+
775
+ .message-video {
776
+ max-width: 300px;
777
+ }
778
+ .message-video .snap-video {
779
+ position: relative;
780
+ height: 100%;
781
+ border-radius: 10px;
782
+ }
783
+ .message-video .snap-video::before {
1243
784
  position: absolute;
785
+ z-index: 1;
786
+ content: "";
787
+ width: 0px;
788
+ height: 0px;
789
+ border: 15px solid transparent;
790
+ border-left: 20px solid #ffffff;
1244
791
  top: 0;
1245
792
  left: 0;
1246
- width: -webkit-fill-available;
1247
- height: -webkit-fill-available;
1248
- flex: 1;
1249
- font-family: PingFangSC-Medium;
1250
- font-style: normal;
1251
- font-weight: 500;
1252
- font-size: 14px;
1253
- line-height: 17px;
1254
- margin: 9px;
1255
- resize: none;
1256
- border: none;
1257
- background: none;
793
+ bottom: 0;
794
+ right: 0;
795
+ margin: auto;
1258
796
  }
1259
- [data-chat-theme=light] .tui-message-input-main .input-box textarea {
1260
- color: var(--chat-theme-light-text-primary);
797
+ .message-video video {
798
+ width: 100%;
799
+ height: 100%;
800
+ border-radius: 10px;
1261
801
  }
1262
- [data-chat-theme=dark] .tui-message-input-main .input-box textarea {
1263
- color: var(--chat-theme-dark-text-primary);
802
+ .message-video .play-video {
803
+ max-width: 95%;
804
+ max-height: 65%;
1264
805
  }
1265
- .tui-message-input-main .input-box textarea:focus, .tui-message-input-main .input-box textarea:active {
1266
- border: none;
1267
- outline: none;
806
+
807
+ .message-video.message-video-h5 {
808
+ max-width: 200px;
809
+ max-height: 200px;
1268
810
  }
1269
- .tui-message-input-main .disabled {
1270
- display: none;
811
+
812
+ .message-file {
813
+ display: flex;
814
+ flex-direction: column;
815
+ border: 1px solid #ddd;
1271
816
  }
1272
- .tui-message-input-box {
1273
- flex: 1;
817
+ .message-file-main {
1274
818
  display: flex;
1275
819
  align-items: center;
820
+ padding: 12px;
821
+ background: #FFFFFF;
822
+ border-radius: 4px;
1276
823
  }
1277
-
1278
- ul li {
1279
- list-style: none;
824
+ .message-file-main .icon {
825
+ margin-right: 7px;
1280
826
  }
1281
-
1282
- .input-plugin-popup {
1283
- position: relative;
827
+ .message-file-footer {
828
+ display: flex;
829
+ justify-content: space-between;
830
+ align-items: flex-end;
1284
831
  }
1285
- .input-plugin-popup-box {
1286
- position: absolute;
1287
- z-index: 2;
1288
- bottom: 30px;
832
+ .message-file-footer .time {
833
+ padding-top: 10px;
1289
834
  }
1290
-
1291
- .input-plugin-item {
1292
- font-style: normal;
1293
- font-weight: 500;
1294
- font-size: 16px;
835
+ .message-file-size {
836
+ padding-top: 10px;
837
+ font-weight: 400;
838
+ font-size: 12px;
1295
839
  font-family: PingFangSC-Medium;
1296
- line-height: 19px;
1297
- display: flex;
1298
- }
1299
- .input-plugin-item span {
1300
- padding: 0 17px;
840
+ line-height: 14px;
841
+ color: #7A7A7A;
1301
842
  }
1302
843
 
1303
- .emoji-picker .face-list {
1304
- height: 120px;
1305
- width: 242px;
1306
- padding: 10px 5px;
844
+ .message-merger {
1307
845
  display: flex;
1308
- flex-wrap: wrap;
1309
- overflow-y: auto;
846
+ flex-direction: column;
847
+ background: #ECEBEB;
1310
848
  }
1311
- .emoji-picker .face-list-item {
1312
- padding: 5px;
1313
- cursor: pointer;
1314
- user-select: none;
849
+ .message-merger h3 {
850
+ padding-bottom: 4px;
851
+ border-bottom: 1px solid #a1a1a1;
1315
852
  }
1316
- .emoji-picker .face-list-item img {
1317
- width: 20px;
853
+ .message-merger-list {
854
+ opacity: 0.6;
1318
855
  }
1319
- .emoji-picker .face-list-item .face-img {
1320
- width: 38px;
856
+ .message-merger-item {
857
+ padding-top: 4px;
1321
858
  }
1322
- .emoji-picker .face-tab {
1323
- display: flex;
1324
- align-items: center;
1325
- min-width: 265px;
859
+
860
+ .meesage-bubble-reply {
861
+ padding: 8px 16px;
1326
862
  }
1327
- .emoji-picker .face-tab-item {
1328
- cursor: pointer;
1329
- width: 24px;
1330
- padding: 10px;
863
+ [data-uikit-theme=light] .meesage-bubble-reply {
864
+ background-color: var(--chat-theme-light-bg-secondary);
1331
865
  }
1332
- .emoji-picker .face-tab-item img {
1333
- width: 100%;
866
+ [data-uikit-theme=dark] .meesage-bubble-reply {
867
+ background-color: var(--chat-theme-dark-bg-secondary);
1334
868
  }
1335
- .emoji-picker .emoji-plugin-right {
1336
- right: 0;
869
+ .meesage-bubble-reply-in {
870
+ border-radius: 16px 16px 16px 0;
1337
871
  }
1338
-
1339
- .upload-picker {
1340
- position: relative;
1341
- padding: 10px 16px;
1342
- min-width: 180px;
872
+ .meesage-bubble-reply-out {
873
+ border-radius: 16px 16px 0px 16px;
1343
874
  }
1344
- .upload-picker:hover {
1345
- color: #147aff;
875
+ .meesage-bubble-reply .message-text {
876
+ border: none !important;
1346
877
  }
1347
- .upload-picker input {
1348
- position: absolute;
1349
- cursor: pointer;
1350
- left: 0;
1351
- top: 0;
1352
- opacity: 0;
1353
- width: 100%;
1354
- height: 100%;
878
+ .meesage-bubble-reply .bubble {
879
+ padding: 0;
1355
880
  }
1356
-
1357
- .input-quote {
1358
- padding: 7px 16px;
1359
- background: #f9f9f9;
1360
- display: flex;
1361
- align-items: center;
881
+ .meesage-bubble-reply .bubble-in {
882
+ border-radius: 0;
1362
883
  }
1363
- .input-quote-content {
1364
- flex: 1;
1365
- background: #fff;
1366
- padding: 2px 14px;
884
+ .meesage-bubble-reply-main {
1367
885
  position: relative;
1368
- display: flex;
1369
- flex-direction: column;
1370
- font-weight: 500;
1371
- font-size: 14px;
1372
- font-family: PingFangSC-Medium;
1373
- line-height: 17px;
1374
- color: #000;
886
+ padding: 10px 14px;
887
+ margin-bottom: 10px;
1375
888
  }
1376
- .input-quote-content::before {
889
+ [data-uikit-theme=light] .meesage-bubble-reply-main {
890
+ background-color: var(--chat-theme-light-bg-primary);
891
+ }
892
+ [data-uikit-theme=dark] .meesage-bubble-reply-main {
893
+ background-color: var(--chat-theme-dark-bg-primary);
894
+ }
895
+ .meesage-bubble-reply-main::before {
1377
896
  content: "";
1378
897
  position: absolute;
1379
898
  width: 6px;
1380
899
  height: 100%;
1381
- background: #999;
1382
900
  top: 0;
1383
901
  left: 0;
1384
902
  }
1385
- .input-quote-content span {
1386
- padding-top: 8px;
1387
- opacity: 0.6;
1388
- }
1389
- .input-quote .icon {
1390
- margin: 0 5px 0 16px;
1391
- }
1392
-
1393
- .tui-forward {
1394
- background: #fff;
1395
- border-radius: 16px;
1396
- display: flex;
1397
- flex-direction: column;
1398
- overflow: hidden;
1399
- width: 300px;
1400
- max-height: 90%;
1401
- }
1402
- .tui-forward-header {
1403
- display: flex;
1404
- align-items: center;
1405
- padding: 24px 20px;
1406
- }
1407
- .tui-forward-title {
1408
- padding: 0 16px;
1409
- font-family: PingFangSC-Medium;
1410
- font-style: normal;
1411
- font-weight: 700;
1412
- font-size: 14px;
1413
- line-height: 17px;
903
+ [data-uikit-theme=light] .meesage-bubble-reply-main::before {
904
+ background-color: var(--chat-theme-light-bg-5);
1414
905
  }
1415
- .tui-forward-main {
1416
- padding: 0 20px;
1417
- max-height: calc(100vh - 200px);
1418
- overflow-y: auto;
906
+ [data-uikit-theme=dark] .meesage-bubble-reply-main::before {
907
+ background-color: var(--chat-theme-dark-bg-5);
1419
908
  }
1420
- .tui-forward-main .no-result {
1421
- font-family: PingFangSC-Medium;
909
+ .meesage-bubble-reply-main .title {
910
+ font-weight: 500;
1422
911
  font-size: 14px;
1423
- font-style: normal;
1424
- line-height: 20px;
1425
- padding: 10px;
1426
- text-align: center;
1427
- color: #999;
1428
- }
1429
- .tui-forward-search {
1430
- padding: 10px 15px;
912
+ padding-bottom: 10px;
1431
913
  }
1432
- .tui-forward-list {
1433
- padding: 13px 0;
914
+ [data-uikit-theme=light] .meesage-bubble-reply-main .title {
915
+ color: var(--chat-theme-light-text-primary);
1434
916
  }
1435
- .tui-forward-list-title {
1436
- font-family: PingFangSC-Medium;
1437
- font-style: normal;
1438
- font-weight: 600;
1439
- font-size: 14px;
1440
- line-height: 20px;
917
+ [data-uikit-theme=dark] .meesage-bubble-reply-main .title {
918
+ color: var(--chat-theme-dark-text-primary);
1441
919
  }
1442
- .tui-forward-list-item {
1443
- padding: 6px 0;
1444
- font-family: PingFangSC-Medium;
1445
- font-style: normal;
1446
- font-weight: 400;
1447
- font-size: 14px;
1448
- line-height: 20px;
1449
- display: flex;
1450
- justify-content: space-between;
1451
- align-items: center;
1452
- width: 100%;
920
+ .meesage-bubble-reply-main .message-context {
921
+ opacity: 0.6;
1453
922
  }
1454
- .tui-forward-list-item .info {
923
+
924
+ .meesage-bubble {
1455
925
  display: flex;
1456
- align-items: center;
1457
- flex-shrink: 0;
1458
- width: 100%;
926
+ align-items: flex-end;
1459
927
  }
1460
- .tui-forward-list-item .info-nick {
1461
- padding: 0 13px;
1462
- font-family: PingFangSC-Medium;
1463
- font-style: normal;
1464
- font-weight: 400;
1465
- font-size: 14px;
1466
- line-height: 20px;
1467
- min-width: 180px;
1468
- max-width: 300px;
1469
- overflow: hidden;
1470
- white-space: nowrap;
1471
- text-overflow: ellipsis;
1472
- width: 80%;
928
+ .meesage-bubble-status {
929
+ margin: 3px;
1473
930
  }
1474
- .tui-forward-footer {
1475
- background: rgba(249, 249, 249, 0.94);
1476
- padding: 13px 10px;
931
+ .meesage-bubble-context {
1477
932
  display: flex;
1478
- justify-content: space-between;
1479
933
  align-items: center;
934
+ gap: 10px;
1480
935
  }
1481
- .tui-forward-footer .button {
1482
- cursor: pointer;
1483
- background: #0365f9;
1484
- border-radius: 31px;
1485
- padding: 10px 21px;
1486
- font-family: PingFangSC-Medium;
1487
- font-style: normal;
1488
- font-weight: 400;
1489
- font-size: 14px;
1490
- line-height: 20px;
1491
- color: #fff;
1492
- border: none;
1493
- }
1494
- .tui-forward-footer-name {
936
+ .meesage-bubble-context .message-context {
1495
937
  flex: 1;
1496
- overflow: hidden;
1497
- word-break: break-all;
1498
- text-overflow: ellipsis;
1499
- display: -webkit-box;
1500
- -webkit-line-clamp: 3;
1501
- -webkit-box-orient: vertical;
1502
938
  }
1503
939
 
1504
- .transmitter {
1505
- padding: 0 10px;
940
+ .icon-fail {
941
+ width: 14px;
942
+ height: 14px;
943
+ border-radius: 14px;
944
+ position: relative;
945
+ background: #FA5151;
946
+ display: inline-flex;
947
+ justify-content: center;
948
+ align-items: center;
1506
949
  }
1507
- .transmitter .icon-send {
1508
- transform: rotate(90deg);
950
+ .icon-fail::before {
951
+ position: absolute;
952
+ content: "!";
953
+ color: #FFFFFF;
954
+ font-size: 12px;
955
+ font-family: PingFangSC-Medium;
1509
956
  }
1510
957
 
1511
- [data-chat-theme=light] .tui-message-input {
1512
- background-color: var(--chat-theme-light-bg-primary);
1513
- }
1514
- [data-chat-theme=dark] .tui-message-input {
1515
- background-color: var(--chat-theme-dark-bg-primary);
1516
- }
1517
- [data-chat-theme=light] .tui-message-input .tui-kit-input-box--focus {
1518
- outline: 1px solid var(--chat-theme-light-status-info);
1519
- }
1520
- [data-chat-theme=dark] .tui-message-input .tui-kit-input-box--focus {
1521
- outline: 1px solid var(--chat-theme-dark-status-info);
1522
- }
1523
- [data-chat-theme=light] .tui-message-input .input-box {
1524
- background-color: var(--chat-theme-light-bg-primary);
1525
- border: 1px solid var(--chat-theme-light-border-5);
958
+ .message-face {
959
+ display: flex;
960
+ flex-direction: column;
1526
961
  }
1527
- [data-chat-theme=dark] .tui-message-input .input-box {
1528
- background-color: var(--chat-theme-dark-bg-primary);
1529
- border: 1px solid var(--chat-theme-dark-border-5);
962
+ .message-face .img {
963
+ max-width: 88px;
1530
964
  }
1531
965
 
1532
- .input-plugin-popup-box {
1533
- border-radius: 16px;
1534
- }
1535
- [data-chat-theme=light] .input-plugin-popup-box {
1536
- background-color: var(--chat-theme-light-bg-primary);
1537
- box-shadow: var(--chat-theme-light-box-shadow-1);
1538
- }
1539
- [data-chat-theme=dark] .input-plugin-popup-box {
1540
- background-color: var(--chat-theme-dark-bg-3);
1541
- box-shadow: var(--chat-theme-dark-box-shadow-1);
1542
- }
1543
- .tui-kit-avatar {
1544
- display: flex;
1545
- align-items: center;
966
+ .loading {
967
+ display: inline-block;
1546
968
  position: relative;
1547
- cursor: pointer;
1548
- flex-shrink: 0;
1549
969
  }
1550
- .tui-kit-avatar.circle .avatar-image {
1551
- border-radius: 50%;
970
+ .loading .img, .loading video {
971
+ min-width: 60px;
972
+ min-height: 60px;
973
+ max-width: 300px;
974
+ border-radius: 10px;
1552
975
  }
1553
- .tui-kit-avatar.square .avatar-image {
1554
- border-radius: 4px;
976
+ .loading .img-h5, .loading .video-h5 {
977
+ min-width: 60px;
978
+ min-height: 60px;
979
+ max-width: 200px;
980
+ max-height: 200px;
981
+ border-radius: 10px;
1555
982
  }
1556
- .tui-kit-avatar img {
983
+ .loading::before {
984
+ position: absolute;
985
+ content: "";
986
+ background: rgba(0, 0, 0, 0.5);
987
+ border-radius: 10px;
1557
988
  width: 100%;
1558
989
  height: 100%;
990
+ top: 0;
991
+ left: 0;
1559
992
  }
1560
- .tui-kit-avatar:hover .tui-kit-avatar-edit {
1561
- display: flex;
1562
- }
1563
- .tui-kit-avatar-edit {
993
+ .loading::after {
1564
994
  position: absolute;
995
+ content: "";
996
+ border: 5px solid #f3f3f3;
997
+ border-top: 5px solid #555;
998
+ border-radius: 50%;
999
+ width: 30px;
1000
+ height: 30px;
1001
+ display: inline-block;
1002
+ animation: spin 2s linear infinite;
1565
1003
  top: 0;
1566
1004
  left: 0;
1567
- background: rgba(0, 0, 0, 0.33);
1568
- width: 100%;
1569
- height: 100%;
1570
- border-radius: 100%;
1571
- display: none;
1572
- justify-content: center;
1573
- align-items: center;
1005
+ right: 0;
1006
+ bottom: 0;
1007
+ margin: auto;
1574
1008
  }
1575
- .tui-kit-avatar-list {
1576
- position: absolute;
1577
- z-index: 2;
1578
- top: 100%;
1579
- background: #FFFFFF;
1580
- border-radius: 5px;
1581
- box-shadow: 0 11px 20px 0 rgb(0, 0, 0);
1582
- display: flex;
1583
- flex-wrap: wrap;
1584
- justify-content: center;
1585
- width: 100%;
1586
- min-width: 200px;
1587
- max-width: 400px;
1588
- padding: 10px;
1009
+ @keyframes spin {
1010
+ 0% {
1011
+ transform: rotate(0deg);
1012
+ }
1013
+ 100% {
1014
+ transform: rotate(360deg);
1015
+ }
1016
+ }
1017
+
1018
+ .message-plugin {
1019
+ width: 32px;
1020
+ margin: 0 5px;
1589
1021
  }
1590
- .tui-kit-avatar-list-item {
1591
- padding: 10px;
1022
+ .message-plugin .icon-more {
1023
+ transform: scale(1.5);
1592
1024
  }
1593
- .tui-kit-avatar-list-item img {
1594
- width: 40px;
1025
+ .message-plugin .plugin-popup-box {
1026
+ bottom: auto;
1027
+ top: 100%;
1028
+ overflow: hidden;
1595
1029
  }
1596
- .conversation-list-container {
1597
- overflow-x: hidden;
1598
- height: 100%;
1030
+ .message-plugin-box {
1031
+ padding: 6px 0;
1599
1032
  }
1600
-
1601
- .conversation-preview-container {
1033
+ .message-plugin-item {
1034
+ min-width: 144px;
1035
+ padding: 6px 13px;
1602
1036
  display: flex;
1037
+ justify-content: space-between;
1603
1038
  align-items: center;
1604
- border: none;
1605
- width: 100%;
1606
- height: 64px;
1607
- cursor: pointer;
1608
- line-height: 17px;
1609
- padding: 0 20px;
1039
+ font-weight: 500;
1040
+ font-size: 12.8px;
1041
+ font-family: PingFangSC-Medium;
1042
+ line-height: 15px;
1610
1043
  }
1611
- [data-chat-theme=light] .conversation-preview-container {
1612
- background-color: var(--chat-theme-light-bg-primary);
1044
+ .message-plugin-item:hover {
1045
+ background: rgba(0, 110, 255, 0.1);
1046
+ color: #147aff;
1613
1047
  }
1614
- [data-chat-theme=dark] .conversation-preview-container {
1615
- background-color: var(--chat-theme-dark-bg-primary);
1048
+ .message-plugin-item .del {
1049
+ color: #FF584C;
1616
1050
  }
1617
- .conversation-preview-container .content {
1618
- flex: 1 1 auto;
1619
- text-align: left;
1620
- margin-left: 10px;
1621
- min-width: 0;
1051
+
1052
+ .message-custom {
1053
+ display: flex;
1054
+ word-break: break-all;
1622
1055
  }
1623
- .conversation-preview-container .content .title {
1056
+ .message-custom a {
1057
+ color: #679ce1;
1058
+ text-decoration: none;
1059
+ font-family: PingFangSC-Regular;
1624
1060
  font-style: normal;
1625
- font-weight: 700;
1061
+ font-weight: 500;
1626
1062
  font-size: 14px;
1627
1063
  line-height: 17px;
1628
- font-family: PingFangSC-Medium;
1629
- padding: 1px 0;
1630
- width: 100%;
1631
- }
1632
- [data-chat-theme=light] .conversation-preview-container .content .title {
1633
- color: var(--chat-theme-light-text-primary);
1634
- }
1635
- [data-chat-theme=dark] .conversation-preview-container .content .title {
1636
- color: var(--chat-theme-dark-text-primary);
1637
1064
  }
1638
- .conversation-preview-container .content .message {
1639
- overflow: hidden;
1640
- text-overflow: ellipsis;
1641
- white-space: nowrap;
1642
- font-family: PingFangSC-Medium;
1065
+ .message-custom p {
1066
+ font-family: PingFangSC-Regular;
1067
+ font-size: 14px;
1643
1068
  font-style: normal;
1644
- font-weight: 400;
1645
- font-size: 12px;
1646
- line-height: 14px;
1647
- padding: 1px 0;
1648
- }
1649
- [data-chat-theme=light] .conversation-preview-container .content .message {
1650
- color: var(--chat-theme-light-text-secondary);
1069
+ font-weight: 500;
1070
+ line-height: 17px;
1651
1071
  }
1652
- [data-chat-theme=dark] .conversation-preview-container .content .message {
1653
- color: var(--chat-theme-dark-text-secondary);
1072
+
1073
+ .message-revoke {
1074
+ color: #999999;
1654
1075
  }
1655
- .conversation-preview-container .external {
1656
- text-align: right;
1657
- flex: 0 1 auto;
1076
+
1077
+ .message-audio {
1658
1078
  display: flex;
1659
- flex-direction: column;
1079
+ align-items: center;
1660
1080
  }
1661
- .conversation-preview-container .external .unread {
1662
- height: 19px;
1663
- padding: 1px 0;
1081
+ .message-audio .out {
1082
+ transform: rotate(180deg);
1664
1083
  }
1665
- .conversation-preview-container .external .time {
1666
- font-family: PingFangSC-Medium;
1667
- font-style: normal;
1668
- font-weight: 400;
1669
- font-size: 12px;
1670
- line-height: 14px;
1671
- padding: 1px 0;
1084
+ .message-audio-none {
1085
+ display: none;
1672
1086
  }
1673
- [data-chat-theme=light] .conversation-preview-container .external .time {
1674
- color: var(--chat-theme-light-text-secondary);
1087
+ .message-audio-content {
1088
+ display: flex;
1089
+ align-items: center;
1090
+ gap: 10px;
1675
1091
  }
1676
- [data-chat-theme=dark] .conversation-preview-container .external .time {
1677
- color: var(--chat-theme-dark-text-secondary);
1092
+ .message-audio-out {
1093
+ flex-direction: row-reverse;
1678
1094
  }
1679
- .conversation-preview-container .external .more--hover {
1680
- display: flex;
1681
- justify-content: flex-end;
1682
- flex: 1 1;
1095
+ .message-audio .playing {
1096
+ animation: playingAnimation 1s ease-in-out infinite;
1683
1097
  }
1684
- .conversation-preview-container .external .more--hover .icon-more {
1685
- transform: scale(1.5);
1098
+ @keyframes playingAnimation {
1099
+ 0% {
1100
+ opacity: 1;
1101
+ }
1102
+ 50% {
1103
+ opacity: 0.3;
1104
+ }
1105
+ 100% {
1106
+ opacity: 1;
1107
+ }
1686
1108
  }
1687
- .conversation-preview-container .external .more--hover .more-handle-box {
1688
- top: 0;
1689
- right: 0;
1690
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
1691
- bottom: initial;
1692
- padding: 14px 0;
1693
- box-sizing: border-box;
1694
- text-align: start;
1695
- white-space: nowrap;
1109
+
1110
+ .high-lighted {
1111
+ animation: highLightedAnimation 1s ease-in-out forwards;
1696
1112
  }
1697
- .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item {
1698
- font-size: 16px;
1699
- font-family: PingFangSC-Medium;
1700
- line-height: 19px;
1701
- padding: 6px 16px;
1702
- cursor: pointer;
1703
- font-weight: 500;
1704
- box-sizing: border-box;
1113
+
1114
+ @keyframes highLightedAnimation {
1115
+ 0% {
1116
+ opacity: 1;
1117
+ color: #ff9c19;
1118
+ }
1119
+ 25% {
1120
+ opacity: 0.3;
1121
+ }
1122
+ 50% {
1123
+ color: #ff9c19;
1124
+ opacity: 1;
1125
+ }
1126
+ 75% {
1127
+ opacity: 0.3;
1128
+ }
1129
+ 100% {
1130
+ color: #ff9c19;
1131
+ opacity: 1;
1132
+ }
1705
1133
  }
1706
- [data-chat-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item.delete {
1707
- color: var(--chat-theme-light-status-danger);
1134
+ .progress-box {
1135
+ width: 100%;
1136
+ height: 5px;
1137
+ display: flex;
1138
+ justify-content: flex-start;
1708
1139
  }
1709
- [data-chat-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item.delete {
1710
- color: var(--chat-theme-dark-status-danger);
1140
+ .progress-box .progress {
1141
+ display: inline-block;
1142
+ width: 0;
1143
+ background: #147aff;
1144
+ height: 5px;
1145
+ border-radius: 2px;
1146
+ box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
1711
1147
  }
1712
- [data-chat-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
1713
- background-color: var(--chat-theme-light-bg-active);
1148
+
1149
+ .website {
1150
+ color: #147aff !important;
1714
1151
  }
1715
- [data-chat-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
1716
- background-color: var(--chat-theme-dark-bg-active);
1152
+
1153
+ [data-uikit-theme=light] .message-text,
1154
+ [data-uikit-theme=light] .message-custom {
1155
+ border: 1px solid var(--chat-theme-light-border-5);
1717
1156
  }
1718
- [data-chat-theme=light] .conversation-preview-container:hover {
1719
- background-color: var(--chat-theme-light-bg-active);
1157
+ [data-uikit-theme=dark] .message-text,
1158
+ [data-uikit-theme=dark] .message-custom {
1159
+ border: 1px solid var(--chat-theme-dark-border-5);
1720
1160
  }
1721
- [data-chat-theme=dark] .conversation-preview-container:hover {
1722
- background-color: var(--chat-theme-dark-bg-active);
1161
+
1162
+ [data-uikit-theme=light] .bubble {
1163
+ background-color: var(--chat-theme-light-bg-primary);
1164
+ }
1165
+ [data-uikit-theme=dark] .bubble {
1166
+ background-color: var(--chat-theme-dark-bg-primary);
1723
1167
  }
1724
- [data-chat-theme=light] .conversation-preview-container.conversation-preview-content--pin {
1168
+ [data-uikit-theme=light] .bubble-out {
1169
+ border: none;
1725
1170
  background-color: var(--chat-theme-light-bg-secondary);
1726
1171
  }
1727
- [data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--pin {
1172
+ [data-uikit-theme=dark] .bubble-out {
1173
+ border: none;
1728
1174
  background-color: var(--chat-theme-dark-bg-secondary);
1729
1175
  }
1730
- [data-chat-theme=light] .conversation-preview-container.conversation-preview-content--active {
1731
- background-color: var(--chat-theme-light-bg-active);
1176
+
1177
+ .meesage-bubble-reply-out .meesage-bubble-reply-main .message-text {
1178
+ background: none;
1732
1179
  }
1733
- [data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--active {
1734
- background-color: var(--chat-theme-dark-bg-active);
1180
+
1181
+ [data-uikit-theme=light] .message-tip {
1182
+ color: var(--chat-theme-light-text-secondary);
1735
1183
  }
1736
- [data-chat-theme=light] .conversation-preview-container.conversation-preview-content--active .title {
1737
- color: var(--chat-theme-light-status-info);
1184
+ [data-uikit-theme=dark] .message-tip {
1185
+ color: var(--chat-theme-dark-text-secondary);
1738
1186
  }
1739
- [data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--active .title {
1740
- color: var(--chat-theme-dark-status-info);
1187
+
1188
+ .tip .bubble .edit {
1189
+ color: #147aff;
1190
+ padding: 3px;
1741
1191
  }
1742
- .conversation-preview-container.conversation-preview-content--unread .unread {
1743
- width: 16px;
1744
- height: 13px;
1745
- border-radius: 16px;
1192
+ .plugin {
1746
1193
  display: flex;
1747
- justify-content: center;
1748
1194
  align-items: center;
1749
- padding: 2px 5px 1px;
1750
- font-size: 11px;
1751
- font-weight: 700;
1752
- margin: 2px 0 2px auto;
1753
- color: #fff;
1195
+ height: 100%;
1196
+ padding: 0 8px;
1197
+ gap: 8px;
1754
1198
  }
1755
- [data-chat-theme=light] .conversation-preview-container.conversation-preview-content--unread .unread {
1756
- background-color: var(--chat-theme-light-status-danger);
1199
+
1200
+ .plugin-popup {
1201
+ height: 100%;
1202
+ display: flex;
1203
+ align-items: center;
1204
+ position: relative;
1757
1205
  }
1758
- [data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--unread .unread {
1759
- background-color: var(--chat-theme-dark-status-danger);
1206
+ .plugin-popup-box {
1207
+ position: absolute;
1208
+ z-index: 2;
1209
+ bottom: 100%;
1210
+ }
1211
+
1212
+ .plugin-popup-box {
1213
+ border-radius: 16px;
1214
+ }
1215
+ [data-uikit-theme=light] .plugin-popup-box {
1216
+ color: var(--chat-theme-light-text-primary);
1217
+ }
1218
+ [data-uikit-theme=dark] .plugin-popup-box {
1219
+ color: var(--chat-theme-dark-text-primary);
1220
+ }
1221
+ [data-uikit-theme=light] .plugin-popup-box {
1222
+ background-color: var(--chat-theme-light-bg-primary);
1223
+ box-shadow: var(--chat-theme-light-box-shadow-1);
1224
+ }
1225
+ [data-uikit-theme=dark] .plugin-popup-box {
1226
+ background-color: var(--chat-theme-dark-bg-3);
1227
+ box-shadow: var(--chat-theme-dark-box-shadow-1);
1760
1228
  }
1761
1229
  .tui-chat-header {
1762
1230
  padding: 16px 20px;
@@ -1765,10 +1233,10 @@ ul li {
1765
1233
  justify-content: space-between;
1766
1234
  align-items: center;
1767
1235
  }
1768
- [data-chat-theme=light] .tui-chat-header {
1236
+ [data-uikit-theme=light] .tui-chat-header {
1769
1237
  background-color: var(--chat-theme-light-bg-primary);
1770
1238
  }
1771
- [data-chat-theme=dark] .tui-chat-header {
1239
+ [data-uikit-theme=dark] .tui-chat-header {
1772
1240
  background-color: var(--chat-theme-dark-bg-primary);
1773
1241
  }
1774
1242
  .tui-chat-header-left {
@@ -1788,10 +1256,10 @@ ul li {
1788
1256
  font-weight: 700;
1789
1257
  font-size: 14px;
1790
1258
  }
1791
- [data-chat-theme=light] .tui-chat-header .title {
1259
+ [data-uikit-theme=light] .tui-chat-header .title {
1792
1260
  color: var(--chat-theme-light-text-primary);
1793
1261
  }
1794
- [data-chat-theme=dark] .tui-chat-header .title {
1262
+ [data-uikit-theme=dark] .tui-chat-header .title {
1795
1263
  color: var(--chat-theme-dark-text-primary);
1796
1264
  }
1797
1265
  .tui-chat-header .system {
@@ -1824,10 +1292,10 @@ ul li {
1824
1292
  position: relative;
1825
1293
  padding: 0 20px;
1826
1294
  }
1827
- [data-chat-theme=light] .message-list {
1295
+ [data-uikit-theme=light] .message-list {
1828
1296
  background-color: var(--chat-theme-light-bg-primary);
1829
1297
  }
1830
- [data-chat-theme=dark] .message-list {
1298
+ [data-uikit-theme=dark] .message-list {
1831
1299
  background-color: var(--chat-theme-dark-bg-primary);
1832
1300
  }
1833
1301
  .message-list.hide {
@@ -1845,10 +1313,10 @@ ul li {
1845
1313
  font-weight: 500;
1846
1314
  line-height: 17px;
1847
1315
  }
1848
- [data-chat-theme=light] .message-list .no-more {
1316
+ [data-uikit-theme=light] .message-list .no-more {
1849
1317
  color: var(--chat-theme-light-text-secondary);
1850
1318
  }
1851
- [data-chat-theme=dark] .message-list .no-more {
1319
+ [data-uikit-theme=dark] .message-list .no-more {
1852
1320
  color: var(--chat-theme-dark-text-secondary);
1853
1321
  }
1854
1322
  .message-list-time {
@@ -1859,10 +1327,10 @@ ul li {
1859
1327
  padding: 10px;
1860
1328
  text-align: center;
1861
1329
  }
1862
- [data-chat-theme=light] .message-list-time {
1330
+ [data-uikit-theme=light] .message-list-time {
1863
1331
  color: var(--chat-theme-light-text-secondary);
1864
1332
  }
1865
- [data-chat-theme=dark] .message-list-time {
1333
+ [data-uikit-theme=dark] .message-list-time {
1866
1334
  color: var(--chat-theme-dark-text-secondary);
1867
1335
  }
1868
1336
  .tui-profile {