@tencentcloud/chat-uikit-react 2.2.4 → 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 (343) hide show
  1. package/.babelrc +2 -2
  2. package/.eslintrc.js +141 -31
  3. package/.lintstagedrc.json +1 -1
  4. package/.stylelintrc.js +17 -18
  5. package/CHANGELOG.md +19 -2
  6. package/README.md +8 -8
  7. package/dist/cjs/assets/fonts/iconfont.ttf +0 -0
  8. package/dist/cjs/assets/fonts/iconfont.woff +0 -0
  9. package/dist/cjs/assets/fonts/iconfont.woff2 +0 -0
  10. package/dist/cjs/components/Avatar/Avatar.d.ts +4 -4
  11. package/dist/cjs/components/Checkbox/index.d.ts +2 -2
  12. package/dist/cjs/components/ConversationCreate/ConversationCreatGroupDetail.js +1 -1
  13. package/dist/cjs/components/ConversationCreate/ConversationCreate.js +1 -1
  14. package/dist/cjs/components/ConversationCreate/ConversationCreateUserSelectList.js +1 -1
  15. package/dist/cjs/components/ConversationCreate/hooks/useConversationCreate.js +1 -1
  16. package/dist/cjs/components/ConversationPreview/ConversationListContainer.d.ts +2 -2
  17. package/dist/cjs/components/ConversationPreview/ConversationPreview.d.ts +8 -8
  18. package/dist/cjs/components/ConversationPreview/ConversationPreview.js +1 -1
  19. package/dist/cjs/components/ConversationPreview/ConversationPreviewContent.d.ts +2 -2
  20. package/dist/cjs/components/ConversationPreview/ConversationPreviewContent.js +1 -1
  21. package/dist/cjs/components/ConversationPreview/utils.js +1 -1
  22. package/dist/cjs/components/ConversationSearch/ConversationSearchResult.d.ts +3 -3
  23. package/dist/cjs/components/ConversationSearch/ConversationSearchResult.js +1 -1
  24. package/dist/cjs/components/Icon/Icon.d.ts +3 -3
  25. package/dist/cjs/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +4 -4
  26. package/dist/cjs/components/Input/Input.d.ts +4 -4
  27. package/dist/cjs/components/Model/index.d.ts +2 -2
  28. package/dist/cjs/components/Plugins/index.d.ts +4 -4
  29. package/dist/cjs/components/Popup/index.d.ts +2 -2
  30. package/dist/cjs/components/Switch/Switch.d.ts +2 -2
  31. package/dist/cjs/components/TUIChat/TUIChat.d.ts +12 -12
  32. package/dist/cjs/components/TUIChat/TUIChat.js +1 -1
  33. package/dist/cjs/components/TUIChatHeader/TUIChatHeader.d.ts +5 -5
  34. package/dist/cjs/components/TUIChatHeader/TUIChatHeader.js +1 -1
  35. package/dist/cjs/components/TUIChatHeader/TUIChatHeaderDefault.d.ts +5 -5
  36. package/dist/cjs/components/TUIChatHeader/TUIChatHeaderDefault.js +1 -1
  37. package/dist/cjs/components/TUIContact/TUIContact.d.ts +3 -3
  38. package/dist/cjs/components/TUIContact/TUIContact.js +1 -1
  39. package/dist/cjs/components/TUIContact/TUIContactInfo/TUIContactInfo.d.ts +3 -3
  40. package/dist/cjs/components/TUIContact/TUIContactInfo/TUIContactInfo.js +1 -1
  41. package/dist/cjs/components/TUIContact/TUIContactInfo/basicInfo.js +1 -1
  42. package/dist/cjs/components/TUIContact/TUIContactInfo/blockInfo.js +1 -1
  43. package/dist/cjs/components/TUIContact/TUIContactInfo/friendApplication.js +1 -1
  44. package/dist/cjs/components/TUIContact/TUIContactInfo/friendInfo.js +1 -1
  45. package/dist/cjs/components/TUIContact/TUIContactInfo/groupInfo.js +1 -1
  46. package/dist/cjs/components/TUIContact/TUIContactInfo/hooks/useContactInfo.js +1 -1
  47. package/dist/cjs/components/TUIContact/TUIContactList/TUIContactList.d.ts +3 -3
  48. package/dist/cjs/components/TUIContact/TUIContactList/TUIContactList.js +1 -1
  49. package/dist/cjs/components/TUIContact/hooks/useTUIContact.js +1 -1
  50. package/dist/cjs/components/TUIContactSearch/TUIContactSearch.js +1 -1
  51. package/dist/cjs/components/TUIContactSearch/hooks/useContactSearch.js +1 -1
  52. package/dist/cjs/components/TUIConversation/TUIConversation.d.ts +2 -2
  53. package/dist/cjs/components/TUIConversationList/TUIConversationList.d.ts +6 -6
  54. package/dist/cjs/components/TUIConversationList/TUIConversationList.js +1 -1
  55. package/dist/cjs/components/TUIConversationList/hooks/useConversationUpdate.js +1 -1
  56. package/dist/cjs/components/TUIManage/TUIManage.d.ts +2 -2
  57. package/dist/cjs/components/TUIManage/TUIManage.js +1 -1
  58. package/dist/cjs/components/TUIMessage/MessageAudio.js +1 -1
  59. package/dist/cjs/components/TUIMessage/MessageAvatar.js +1 -1
  60. package/dist/cjs/components/TUIMessage/MessageBubble.js +1 -1
  61. package/dist/cjs/components/TUIMessage/MessageContext.d.ts +2 -2
  62. package/dist/cjs/components/TUIMessage/MessageContext.js +1 -1
  63. package/dist/cjs/components/TUIMessage/MessageCustom.js +1 -1
  64. package/dist/cjs/components/TUIMessage/MessageName.js +1 -1
  65. package/dist/cjs/components/TUIMessage/MessagePlugins.d.ts +4 -4
  66. package/dist/cjs/components/TUIMessage/MessagePlugins.js +1 -1
  67. package/dist/cjs/components/TUIMessage/MessageProgress.js +1 -1
  68. package/dist/cjs/components/TUIMessage/MessageRevoke.js +1 -1
  69. package/dist/cjs/components/TUIMessage/MessageStatus.js +1 -1
  70. package/dist/cjs/components/TUIMessage/MessageSystem.js +1 -1
  71. package/dist/cjs/components/TUIMessage/MessageText.js +1 -1
  72. package/dist/cjs/components/TUIMessage/MessageTip.js +1 -1
  73. package/dist/cjs/components/TUIMessage/TUIMessage.d.ts +19 -19
  74. package/dist/cjs/components/TUIMessage/TUIMessage.js +1 -1
  75. package/dist/cjs/components/TUIMessage/TUIMessageDefault.js +1 -1
  76. package/dist/cjs/components/TUIMessage/hooks/useMessageHandler.js +1 -1
  77. package/dist/cjs/components/TUIMessage/hooks/useMessageReply.js +1 -1
  78. package/dist/cjs/components/TUIMessageInput/InputPluginsDefalut.d.ts +2 -2
  79. package/dist/cjs/components/TUIMessageInput/InputPluginsDefalut.js +1 -1
  80. package/dist/cjs/components/TUIMessageInput/InputQuoteDefalut.js +1 -1
  81. package/dist/cjs/components/TUIMessageInput/TUIForward.js +1 -1
  82. package/dist/cjs/components/TUIMessageInput/TUIMessageInput.d.ts +7 -7
  83. package/dist/cjs/components/TUIMessageInput/TUIMessageInput.js +1 -1
  84. package/dist/cjs/components/TUIMessageInput/TUIMessageInputDefault.d.ts +2 -2
  85. package/dist/cjs/components/TUIMessageInput/TUIMessageInputDefault.js +1 -1
  86. package/dist/cjs/components/TUIMessageInput/hooks/useHandleForwardMessage.js +1 -1
  87. package/dist/cjs/components/TUIMessageInput/hooks/useHandleQuoteMessage.js +1 -1
  88. package/dist/cjs/components/TUIMessageInput/hooks/useMessageInputText.js +1 -1
  89. package/dist/cjs/components/TUIMessageInput/hooks/useUploadPicker.js +1 -1
  90. package/dist/cjs/components/TUIMessageList/TUIMessageList.d.ts +2 -2
  91. package/dist/cjs/components/TUIMessageList/TUIMessageList.js +1 -1
  92. package/dist/cjs/components/TUIMessageList/hooks/useMessageListElement.js +1 -1
  93. package/dist/cjs/components/TUIProfile/TUIProfile.d.ts +3 -3
  94. package/dist/cjs/components/TUIProfile/TUIProfile.js +1 -1
  95. package/dist/cjs/components/TUIProfile/TUIProfileDefault.d.ts +2 -2
  96. package/dist/cjs/components/TUIProfile/TUIProfileDefault.js +1 -1
  97. package/dist/cjs/components/Toast/index.d.ts +2 -2
  98. package/dist/cjs/context/ComponentContext.d.ts +12 -12
  99. package/dist/cjs/context/LanguageContext.js +1 -0
  100. package/dist/cjs/context/TUIChatActionContext.d.ts +3 -3
  101. package/dist/cjs/context/TUIChatStateContext.d.ts +5 -5
  102. package/dist/cjs/context/TUIContactContext.d.ts +4 -4
  103. package/dist/cjs/context/TUIConversationContext.js +1 -1
  104. package/dist/cjs/context/TUIMessageContext.d.ts +17 -17
  105. package/dist/cjs/context/TUIMessageInputContext.d.ts +4 -4
  106. package/dist/cjs/context/ThemeContext.js +1 -0
  107. package/dist/cjs/context/UIKitContext.d.ts +25 -0
  108. package/dist/cjs/context/UIKitContext.js +1 -0
  109. package/dist/cjs/context/UIManagerContext.d.ts +46 -0
  110. package/dist/cjs/context/UIManagerContext.js +1 -0
  111. package/dist/cjs/hooks/useConversation.d.ts +2 -2
  112. package/dist/cjs/index.css +1 -1
  113. package/dist/cjs/index.d.css +984 -1039
  114. package/dist/cjs/index.d.ts +2 -4
  115. package/dist/cjs/index.js +1 -1
  116. package/dist/cjs/locales/en-US/TUIGlobal.js +1 -0
  117. package/dist/cjs/locales/en-US/index.js +1 -1
  118. package/dist/cjs/locales/ja-JP/TUIGlobal.js +1 -0
  119. package/dist/cjs/locales/ja-JP/index.js +1 -1
  120. package/dist/cjs/locales/ko-KR/TUIGlobal.js +1 -0
  121. package/dist/cjs/locales/ko-KR/index.js +1 -1
  122. package/dist/cjs/locales/zh-CN/TUIGlobal.js +1 -0
  123. package/dist/cjs/locales/zh-CN/index.js +1 -1
  124. package/dist/esm/assets/fonts/iconfont.ttf +0 -0
  125. package/dist/esm/assets/fonts/iconfont.woff +0 -0
  126. package/dist/esm/assets/fonts/iconfont.woff2 +0 -0
  127. package/dist/esm/components/Avatar/Avatar.d.ts +4 -4
  128. package/dist/esm/components/Checkbox/index.d.ts +2 -2
  129. package/dist/esm/components/ConversationCreate/ConversationCreatGroupDetail.js +1 -1
  130. package/dist/esm/components/ConversationCreate/ConversationCreate.js +1 -1
  131. package/dist/esm/components/ConversationCreate/ConversationCreateUserSelectList.js +1 -1
  132. package/dist/esm/components/ConversationCreate/hooks/useConversationCreate.js +1 -1
  133. package/dist/esm/components/ConversationPreview/ConversationListContainer.d.ts +2 -2
  134. package/dist/esm/components/ConversationPreview/ConversationPreview.d.ts +8 -8
  135. package/dist/esm/components/ConversationPreview/ConversationPreview.js +1 -1
  136. package/dist/esm/components/ConversationPreview/ConversationPreviewContent.d.ts +2 -2
  137. package/dist/esm/components/ConversationPreview/ConversationPreviewContent.js +1 -1
  138. package/dist/esm/components/ConversationPreview/utils.js +1 -1
  139. package/dist/esm/components/ConversationSearch/ConversationSearchResult.d.ts +3 -3
  140. package/dist/esm/components/ConversationSearch/ConversationSearchResult.js +1 -1
  141. package/dist/esm/components/Icon/Icon.d.ts +3 -3
  142. package/dist/esm/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +4 -4
  143. package/dist/esm/components/Input/Input.d.ts +4 -4
  144. package/dist/esm/components/Model/index.d.ts +2 -2
  145. package/dist/esm/components/Plugins/index.d.ts +4 -4
  146. package/dist/esm/components/Popup/index.d.ts +2 -2
  147. package/dist/esm/components/Switch/Switch.d.ts +2 -2
  148. package/dist/esm/components/TUIChat/TUIChat.d.ts +12 -12
  149. package/dist/esm/components/TUIChat/TUIChat.js +1 -1
  150. package/dist/esm/components/TUIChatHeader/TUIChatHeader.d.ts +5 -5
  151. package/dist/esm/components/TUIChatHeader/TUIChatHeader.js +1 -1
  152. package/dist/esm/components/TUIChatHeader/TUIChatHeaderDefault.d.ts +5 -5
  153. package/dist/esm/components/TUIChatHeader/TUIChatHeaderDefault.js +1 -1
  154. package/dist/esm/components/TUIContact/TUIContact.d.ts +3 -3
  155. package/dist/esm/components/TUIContact/TUIContact.js +1 -1
  156. package/dist/esm/components/TUIContact/TUIContactInfo/TUIContactInfo.d.ts +3 -3
  157. package/dist/esm/components/TUIContact/TUIContactInfo/TUIContactInfo.js +1 -1
  158. package/dist/esm/components/TUIContact/TUIContactInfo/basicInfo.js +1 -1
  159. package/dist/esm/components/TUIContact/TUIContactInfo/blockInfo.js +1 -1
  160. package/dist/esm/components/TUIContact/TUIContactInfo/friendApplication.js +1 -1
  161. package/dist/esm/components/TUIContact/TUIContactInfo/friendInfo.js +1 -1
  162. package/dist/esm/components/TUIContact/TUIContactInfo/groupInfo.js +1 -1
  163. package/dist/esm/components/TUIContact/TUIContactInfo/hooks/useContactInfo.js +1 -1
  164. package/dist/esm/components/TUIContact/TUIContactList/TUIContactList.d.ts +3 -3
  165. package/dist/esm/components/TUIContact/TUIContactList/TUIContactList.js +1 -1
  166. package/dist/esm/components/TUIContact/hooks/useTUIContact.js +1 -1
  167. package/dist/esm/components/TUIContactSearch/TUIContactSearch.js +1 -1
  168. package/dist/esm/components/TUIContactSearch/hooks/useContactSearch.js +1 -1
  169. package/dist/esm/components/TUIConversation/TUIConversation.d.ts +2 -2
  170. package/dist/esm/components/TUIConversationList/TUIConversationList.d.ts +6 -6
  171. package/dist/esm/components/TUIConversationList/TUIConversationList.js +1 -1
  172. package/dist/esm/components/TUIConversationList/hooks/useConversationUpdate.js +1 -1
  173. package/dist/esm/components/TUIManage/TUIManage.d.ts +2 -2
  174. package/dist/esm/components/TUIManage/TUIManage.js +1 -1
  175. package/dist/esm/components/TUIMessage/MessageAudio.js +1 -1
  176. package/dist/esm/components/TUIMessage/MessageAvatar.js +1 -1
  177. package/dist/esm/components/TUIMessage/MessageBubble.js +1 -1
  178. package/dist/esm/components/TUIMessage/MessageContext.d.ts +2 -2
  179. package/dist/esm/components/TUIMessage/MessageContext.js +1 -1
  180. package/dist/esm/components/TUIMessage/MessageCustom.js +1 -1
  181. package/dist/esm/components/TUIMessage/MessageName.js +1 -1
  182. package/dist/esm/components/TUIMessage/MessagePlugins.d.ts +4 -4
  183. package/dist/esm/components/TUIMessage/MessagePlugins.js +1 -1
  184. package/dist/esm/components/TUIMessage/MessageProgress.js +1 -1
  185. package/dist/esm/components/TUIMessage/MessageRevoke.js +1 -1
  186. package/dist/esm/components/TUIMessage/MessageStatus.js +1 -1
  187. package/dist/esm/components/TUIMessage/MessageSystem.js +1 -1
  188. package/dist/esm/components/TUIMessage/MessageText.js +1 -1
  189. package/dist/esm/components/TUIMessage/MessageTip.js +1 -1
  190. package/dist/esm/components/TUIMessage/TUIMessage.d.ts +19 -19
  191. package/dist/esm/components/TUIMessage/TUIMessage.js +1 -1
  192. package/dist/esm/components/TUIMessage/TUIMessageDefault.js +1 -1
  193. package/dist/esm/components/TUIMessage/hooks/useMessageHandler.js +1 -1
  194. package/dist/esm/components/TUIMessage/hooks/useMessageReply.js +1 -1
  195. package/dist/esm/components/TUIMessageInput/InputPluginsDefalut.d.ts +2 -2
  196. package/dist/esm/components/TUIMessageInput/InputPluginsDefalut.js +1 -1
  197. package/dist/esm/components/TUIMessageInput/InputQuoteDefalut.js +1 -1
  198. package/dist/esm/components/TUIMessageInput/TUIForward.js +1 -1
  199. package/dist/esm/components/TUIMessageInput/TUIMessageInput.d.ts +7 -7
  200. package/dist/esm/components/TUIMessageInput/TUIMessageInput.js +1 -1
  201. package/dist/esm/components/TUIMessageInput/TUIMessageInputDefault.d.ts +2 -2
  202. package/dist/esm/components/TUIMessageInput/TUIMessageInputDefault.js +1 -1
  203. package/dist/esm/components/TUIMessageInput/hooks/useHandleForwardMessage.js +1 -1
  204. package/dist/esm/components/TUIMessageInput/hooks/useHandleQuoteMessage.js +1 -1
  205. package/dist/esm/components/TUIMessageInput/hooks/useMessageInputText.js +1 -1
  206. package/dist/esm/components/TUIMessageInput/hooks/useUploadPicker.js +1 -1
  207. package/dist/esm/components/TUIMessageList/TUIMessageList.d.ts +2 -2
  208. package/dist/esm/components/TUIMessageList/TUIMessageList.js +1 -1
  209. package/dist/esm/components/TUIMessageList/hooks/useMessageListElement.js +1 -1
  210. package/dist/esm/components/TUIProfile/TUIProfile.d.ts +3 -3
  211. package/dist/esm/components/TUIProfile/TUIProfile.js +1 -1
  212. package/dist/esm/components/TUIProfile/TUIProfileDefault.d.ts +2 -2
  213. package/dist/esm/components/TUIProfile/TUIProfileDefault.js +1 -1
  214. package/dist/esm/components/Toast/index.d.ts +2 -2
  215. package/dist/esm/context/ComponentContext.d.ts +12 -12
  216. package/dist/esm/context/LanguageContext.js +1 -0
  217. package/dist/esm/context/TUIChatActionContext.d.ts +3 -3
  218. package/dist/esm/context/TUIChatStateContext.d.ts +5 -5
  219. package/dist/esm/context/TUIContactContext.d.ts +4 -4
  220. package/dist/esm/context/TUIConversationContext.js +1 -1
  221. package/dist/esm/context/TUIMessageContext.d.ts +17 -17
  222. package/dist/esm/context/TUIMessageInputContext.d.ts +4 -4
  223. package/dist/esm/context/ThemeContext.js +1 -0
  224. package/dist/esm/context/UIKitContext.d.ts +25 -0
  225. package/dist/esm/context/UIKitContext.js +1 -0
  226. package/dist/esm/context/UIManagerContext.d.ts +46 -0
  227. package/dist/esm/context/UIManagerContext.js +1 -0
  228. package/dist/esm/hooks/useConversation.d.ts +2 -2
  229. package/dist/esm/index.css +1 -1
  230. package/dist/esm/index.d.css +984 -1039
  231. package/dist/esm/index.d.ts +2 -4
  232. package/dist/esm/index.js +1 -1
  233. package/dist/esm/locales/en-US/TUIGlobal.js +1 -0
  234. package/dist/esm/locales/en-US/index.js +1 -1
  235. package/dist/esm/locales/ja-JP/TUIGlobal.js +1 -0
  236. package/dist/esm/locales/ja-JP/index.js +1 -1
  237. package/dist/esm/locales/ko-KR/TUIGlobal.js +1 -0
  238. package/dist/esm/locales/ko-KR/index.js +1 -1
  239. package/dist/esm/locales/zh-CN/TUIGlobal.js +1 -0
  240. package/dist/esm/locales/zh-CN/index.js +1 -1
  241. package/package.json +9 -7
  242. package/rollup.config.js +13 -2
  243. package/src/assets/fonts/iconfont.ttf +0 -0
  244. package/src/assets/fonts/iconfont.woff +0 -0
  245. package/src/assets/fonts/iconfont.woff2 +0 -0
  246. package/src/components/ConversationCreate/ConversationCreatGroupDetail.tsx +4 -4
  247. package/src/components/ConversationCreate/ConversationCreate.tsx +2 -2
  248. package/src/components/ConversationCreate/ConversationCreateUserSelectList.tsx +3 -2
  249. package/src/components/ConversationCreate/styles/ConversationCreatGroupDetail.scss +16 -7
  250. package/src/components/ConversationCreate/styles/index.scss +23 -13
  251. package/src/components/ConversationPreview/ConversationPreview.tsx +21 -21
  252. package/src/components/ConversationPreview/ConversationPreviewContent.tsx +4 -4
  253. package/src/components/ConversationPreview/styles/index.scss +44 -14
  254. package/src/components/ConversationPreview/utils.tsx +36 -28
  255. package/src/components/Input/styles/index.scss +7 -5
  256. package/src/components/Model/styles/layout.scss +3 -3
  257. package/src/components/Plugins/styles/color.scss +17 -3
  258. package/src/components/Popup/styles/layout.scss +2 -1
  259. package/src/components/TUIChat/TUIChat.tsx +4 -3
  260. package/src/components/TUIChatHeader/TUIChatHeaderDefault.tsx +3 -3
  261. package/src/components/TUIChatHeader/styles/layout.scss +13 -2
  262. package/src/components/TUIContact/TUIContact.tsx +2 -2
  263. package/src/components/TUIContact/TUIContactInfo/TUIContactInfo.tsx +2 -2
  264. package/src/components/TUIContact/TUIContactInfo/basicInfo.tsx +2 -2
  265. package/src/components/TUIContact/TUIContactInfo/blockInfo.tsx +2 -2
  266. package/src/components/TUIContact/TUIContactInfo/friendApplication.tsx +2 -2
  267. package/src/components/TUIContact/TUIContactInfo/friendInfo.tsx +4 -3
  268. package/src/components/TUIContact/TUIContactInfo/groupInfo.tsx +3 -3
  269. package/src/components/TUIContact/TUIContactInfo/hooks/useContactInfo.tsx +2 -2
  270. package/src/components/TUIContact/TUIContactList/TUIContactList.tsx +5 -5
  271. package/src/components/TUIContact/hooks/useTUIContact.tsx +2 -2
  272. package/src/components/TUIContactSearch/TUIContactSearch.tsx +2 -2
  273. package/src/components/TUIContactSearch/hooks/useContactSearch.tsx +2 -2
  274. package/src/components/TUIConversationList/TUIConversationList.tsx +3 -4
  275. package/src/components/TUIConversationList/hooks/useConversationUpdate.tsx +2 -2
  276. package/src/components/TUIConversationList/index.scss +25 -7
  277. package/src/components/TUIManage/TUIManage.tsx +3 -3
  278. package/src/components/TUIManage/styles/index.scss +16 -6
  279. package/src/components/TUIMessage/MessageStatus.tsx +2 -2
  280. package/src/components/TUIMessage/MessageText.tsx +16 -15
  281. package/src/components/TUIMessage/hooks/useMessageHandler.ts +2 -2
  282. package/src/components/TUIMessage/hooks/useMessageReply.ts +2 -2
  283. package/src/components/TUIMessage/styles/color.scss +20 -9
  284. package/src/components/TUIMessage/styles/layout.scss +44 -11
  285. package/src/components/TUIMessageInput/TUIMessageInput.tsx +1 -1
  286. package/src/components/TUIMessageInput/hooks/useHandleForwardMessage.tsx +2 -2
  287. package/src/components/TUIMessageInput/hooks/useMessageInputText.tsx +2 -2
  288. package/src/components/TUIMessageInput/styles/color.scss +25 -6
  289. package/src/components/TUIMessageInput/styles/layout.scss +58 -16
  290. package/src/components/TUIMessageList/hooks/useMessageListElement.tsx +2 -2
  291. package/src/components/TUIMessageList/styles/layout.scss +16 -2
  292. package/src/components/TUIProfile/TUIProfile.tsx +3 -3
  293. package/src/components/TUIProfile/TUIProfileDefault.tsx +2 -2
  294. package/src/components/TUIProfile/styles/layout.scss +33 -16
  295. package/src/components/index.ts +0 -1
  296. package/src/context/LanguageContext.tsx +59 -0
  297. package/src/context/ThemeContext.tsx +61 -0
  298. package/src/context/UIKitContext.tsx +67 -0
  299. package/src/context/UIManagerContext.tsx +163 -0
  300. package/src/context/index.ts +3 -2
  301. package/src/locales/en-US/index.ts +1 -1
  302. package/src/locales/ja-JP/index.ts +2 -0
  303. package/src/locales/ko-KR/TUIGlobal.ts +2 -2
  304. package/src/locales/ko-KR/index.ts +2 -0
  305. package/src/locales/zh-CN/index.ts +2 -2
  306. package/src/styles/colors/_color-dark.scss +35 -0
  307. package/src/styles/colors/_color-light.scss +35 -0
  308. package/src/styles/colors/_color-theme.scss +54 -0
  309. package/src/styles/fonts/icon-font.scss +18 -0
  310. package/src/styles/index.scss +4 -0
  311. package/src/styles/normalize.scss +355 -0
  312. package/dist/cjs/components/Icon/images/chats-selected.svg.js +0 -1
  313. package/dist/cjs/components/Icon/images/chats.svg.js +0 -1
  314. package/dist/cjs/components/Icon/images/contacts-selected.svg.js +0 -1
  315. package/dist/cjs/components/Icon/images/contacts.svg.js +0 -1
  316. package/dist/cjs/components/TUIKit/TUIKit.d.ts +0 -12
  317. package/dist/cjs/components/TUIKit/TUIKit.js +0 -1
  318. package/dist/cjs/components/TUIKit/hooks/useCreateTUIKitContext.d.ts +0 -21
  319. package/dist/cjs/components/TUIKit/hooks/useCreateTUIKitContext.js +0 -1
  320. package/dist/cjs/components/TUIKit/hooks/useTUIKit.d.ts +0 -43
  321. package/dist/cjs/components/TUIKit/hooks/useTUIKit.js +0 -1
  322. package/dist/cjs/context/TUIKitContext.d.ts +0 -25
  323. package/dist/cjs/context/TUIKitContext.js +0 -1
  324. package/dist/esm/components/Icon/images/chats-selected.svg.js +0 -1
  325. package/dist/esm/components/Icon/images/chats.svg.js +0 -1
  326. package/dist/esm/components/Icon/images/contacts-selected.svg.js +0 -1
  327. package/dist/esm/components/Icon/images/contacts.svg.js +0 -1
  328. package/dist/esm/components/TUIKit/TUIKit.d.ts +0 -12
  329. package/dist/esm/components/TUIKit/TUIKit.js +0 -1
  330. package/dist/esm/components/TUIKit/hooks/useCreateTUIKitContext.d.ts +0 -21
  331. package/dist/esm/components/TUIKit/hooks/useCreateTUIKitContext.js +0 -1
  332. package/dist/esm/components/TUIKit/hooks/useTUIKit.d.ts +0 -43
  333. package/dist/esm/components/TUIKit/hooks/useTUIKit.js +0 -1
  334. package/dist/esm/context/TUIKitContext.d.ts +0 -25
  335. package/dist/esm/context/TUIKitContext.js +0 -1
  336. package/src/components/TUIKit/TUIKit.tsx +0 -228
  337. package/src/components/TUIKit/hooks/useCreateTUIKitContext.tsx +0 -48
  338. package/src/components/TUIKit/hooks/useTUIKit.tsx +0 -99
  339. package/src/components/TUIKit/index.ts +0 -3
  340. package/src/components/TUIKit/styles/h5.scss +0 -34
  341. package/src/components/TUIKit/styles/index.scss +0 -112
  342. package/src/components/TUIKit/styles/reset.scss +0 -67
  343. package/src/context/TUIKitContext.tsx +0 -39
@@ -1,1314 +1,1230 @@
1
- html, body, div, span, applet, object, iframe,
2
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
3
- a, abbr, acronym, address, big, cite, code,
4
- del, dfn, em, img, ins, kbd, q, s, samp,
5
- small, strike, strong, sub, sup, tt, var,
6
- b, u, i, center,
7
- dl, dt, dd, ol, ul, li,
8
- fieldset, form, label, legend,
9
- table, caption, tbody, tfoot, thead, tr, th, td,
10
- article, aside, canvas, details, embed,
11
- figure, figcaption, footer, header, hgroup,
12
- menu, nav, output, ruby, section, summary,
13
- time, mark, audio, video {
14
- margin: 0;
15
- padding: 0;
16
- border: 0;
17
- font-size: 100%;
18
- font: inherit;
19
- vertical-align: baseline;
20
- }
21
-
22
- a, a:link, a:visited, a:hover, a:active {
23
- text-decoration: none;
24
- color: inherit;
25
- }
26
-
27
- /* HTML5 display-role reset for older browsers */
28
- article, aside, details, figcaption, figure,
29
- footer, header, hgroup, menu, nav, section {
30
- display: block;
31
- }
32
-
33
- body {
34
- line-height: 1;
35
- }
36
-
37
- ol, ul {
38
- list-style: none;
39
- }
40
-
41
- blockquote, q {
42
- quotes: none;
43
- }
44
-
45
- blockquote:before, blockquote:after,
46
- q:before, q:after {
47
- content: "";
48
- content: none;
49
- }
50
-
51
- table {
52
- border-collapse: collapse;
53
- border-spacing: 0;
54
- }
55
-
56
- html, body {
57
- height: 100%;
58
- width: 100%;
59
- margin: 0;
60
- -webkit-text-size-adjust: 100%;
61
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
62
- }
63
-
64
- * {
65
- -webkit-touch-callout: none;
66
- -webkit-user-select: none;
67
- -khtml-user-select: none;
68
- -moz-user-select: none;
69
- -ms-user-select: none;
70
- user-select: none;
71
- }
72
-
73
- .text-ellipsis {
74
- text-overflow: ellipsis;
75
- white-space: nowrap;
1
+ .tui-conversation {
2
+ flex: 1;
3
+ box-sizing: border-box;
76
4
  overflow: hidden;
77
- }
78
-
79
- .tui-kit {
80
- position: relative;
5
+ min-width: 0;
81
6
  display: flex;
82
- width: 100%;
83
- height: 100%;
84
- background-color: #FFFFFF;
7
+ flex-direction: column;
8
+ position: relative;
85
9
  text-align: initial;
86
10
  }
87
-
88
- .sample-chat {
89
- position: relative;
90
- margin: 0 auto;
91
- width: calc(100% - 20rem);
92
- min-width: 850px;
93
- height: 86%;
94
- box-sizing: border-box;
95
- border-radius: 12px;
96
- overflow: hidden;
11
+ [data-uikit-theme=light] .tui-conversation {
12
+ background-color: var(--chat-theme-light-bg-primary);
97
13
  }
98
- .sample-chat-profile {
99
- position: absolute;
100
- top: 0;
101
- z-index: 1;
14
+ [data-uikit-theme=dark] .tui-conversation {
15
+ background-color: var(--chat-theme-dark-bg-primary);
102
16
  }
103
- .sample-chat-left-container {
104
- max-width: 360px;
105
- min-width: 360px;
17
+ .tui-conversation .tui-conversation-header {
106
18
  display: flex;
107
- flex-direction: column;
19
+ padding: 10px 20px;
108
20
  }
109
- .sample-chat-tab {
21
+ .tui-conversation .tui-conversation-header .tui-conversation-create-icon {
110
22
  display: flex;
111
23
  align-items: center;
112
- justify-content: space-around;
113
- margin: 12px;
24
+ justify-content: center;
25
+ margin-left: 10px;
114
26
  }
115
- .sample-chat-tab-container {
27
+ .tui-conversation .no-result {
28
+ padding: 0 20px;
116
29
  display: flex;
117
30
  flex-direction: column;
118
31
  align-items: center;
119
- justify-content: center;
120
- cursor: pointer;
121
32
  }
122
- .sample-chat-tab-text {
123
- font-size: 15px;
124
- line-height: 25px;
125
- text-align: center;
33
+ .tui-conversation .no-result-icon {
34
+ margin: 100px auto 50px;
126
35
  }
127
- .sample-chat-tab-active {
128
- 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;
129
42
  }
130
43
 
131
- .tuikit-container {
132
- display: flex;
133
- height: 100%;
134
- position: relative;
135
- text-align: initial;
136
- box-shadow: 0 11px 20px 0 rgba(0, 0, 0, 0.3);
44
+ .tui-conversation-h5 .tui-conversation-header {
45
+ padding: 10px;
137
46
  }
138
-
139
- .tui-chat-default {
140
- width: 100%;
141
- height: 100%;
142
- background-size: cover;
143
- background-position-x: -17px;
144
- background-position-y: 173px;
145
- padding: 100px 40px 0;
47
+ .tui-conversation-h5 .conversation-list-container .conversation-preview-container {
48
+ padding: 0 10px;
146
49
  }
147
- .tui-chat-default header {
50
+ .tui-kit-avatar {
148
51
  display: flex;
149
52
  align-items: center;
150
- font-size: 1.75rem;
151
- font-family: PingFangSC-Medium;
152
- font-weight: 500;
153
- color: #000;
154
- letter-spacing: 0;
155
- }
156
- .tui-chat-default header img {
157
- width: 32px;
158
- margin: 0 10px;
159
- }
160
- .tui-chat-default .content {
161
- max-width: 393px;
162
- font-size: 16px;
163
- line-height: 24px;
164
- font-family: PingFangSC-Regular;
165
- font-weight: 400;
166
- color: #666;
167
- letter-spacing: 0;
168
- padding: 36px 0 20px;
169
- }
170
- .tui-chat-default .link {
171
- font-size: 14px;
172
- line-height: 20px;
173
- font-family: PingFangSC-Regular;
174
- font-weight: 400;
175
- color: #666;
176
- letter-spacing: 0;
177
- }
178
- .tui-chat-default .link a {
179
- font-family: PingFangSC-Regular;
180
- font-weight: 400;
181
- color: #006eff;
182
- letter-spacing: 0;
183
- text-decoration: none;
184
- padding: 0 5px;
185
- }
186
-
187
- body #webpack-dev-server-client-overlay {
188
- display: none !important;
53
+ position: relative;
54
+ cursor: pointer;
55
+ flex-shrink: 0;
189
56
  }
190
- .App {
191
- height: 100%;
57
+ .tui-kit-avatar.circle .avatar-image {
58
+ border-radius: 50%;
192
59
  }
193
-
194
- #root {
195
- width: 100%;
196
- height: 100%;
197
- margin: 0;
60
+ .tui-kit-avatar.square .avatar-image {
61
+ border-radius: 4px;
198
62
  }
199
-
200
- .sample-chat-h5 {
201
- position: relative;
63
+ .tui-kit-avatar img {
202
64
  width: 100%;
203
65
  height: 100%;
204
- overflow: hidden;
205
66
  }
206
- .sample-chat-h5-container {
67
+ .tui-kit-avatar:hover .tui-kit-avatar-edit {
207
68
  display: flex;
208
- flex-direction: column;
209
- width: 100%;
210
- height: 100%;
211
69
  }
212
- .sample-chat-h5-container .sample-profile {
70
+ .tui-kit-avatar-edit {
213
71
  position: absolute;
214
72
  top: 0;
215
- z-index: 1;
73
+ left: 0;
74
+ background: rgba(0, 0, 0, 0.33);
216
75
  width: 100%;
217
- max-width: 100%;
218
- min-width: 100%;
76
+ height: 100%;
77
+ border-radius: 100%;
78
+ display: none;
79
+ justify-content: center;
80
+ align-items: center;
219
81
  }
220
- .sample-chat-h5-container .tui-kit-input-box.tui-kit-input-box--focus {
221
- outline: none;
82
+ .tui-kit-avatar-list {
83
+ position: absolute;
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;
92
+ width: 100%;
93
+ min-width: 200px;
94
+ max-width: 400px;
95
+ padding: 10px;
222
96
  }
223
- .sample-chat-h5 .tui-message-input .tui-kit-input-box--focus {
224
- outline: none;
97
+ .tui-kit-avatar-list-item {
98
+ padding: 10px;
225
99
  }
226
- .tui-conversation {
227
- flex: 1;
228
- min-width: 360px;
229
- max-width: 400px;
230
- display: flex;
231
- flex-direction: column;
232
- position: relative;
233
- border-right: 1px solid #F9FAFB;
234
- text-align: initial;
100
+ .tui-kit-avatar-list-item img {
101
+ width: 40px;
235
102
  }
236
- .tui-conversation .tui-conversation-header {
237
- display: flex;
238
- padding: 10px 20px;
103
+ .conversation-list-container {
104
+ overflow-x: hidden;
105
+ height: 100%;
239
106
  }
240
- .tui-conversation .tui-conversation-header .tui-conversation-create-icon {
107
+
108
+ .conversation-preview-container {
241
109
  display: flex;
242
110
  align-items: center;
243
- justify-content: center;
244
- margin-left: 10px;
245
- }
246
- .tui-conversation .no-result {
111
+ border: none;
112
+ width: 100%;
113
+ height: 64px;
114
+ cursor: pointer;
115
+ line-height: 17px;
247
116
  padding: 0 20px;
248
- display: flex;
249
- flex-direction: column;
250
- align-items: center;
251
117
  }
252
- .tui-conversation .no-result-icon {
253
- margin: 100px auto 50px;
118
+ [data-uikit-theme=light] .conversation-preview-container {
119
+ background-color: var(--chat-theme-light-bg-primary);
254
120
  }
255
- .tui-conversation .no-result-message {
256
- color: #999999;
257
- font-weight: 400;
258
- font-size: 16px;
259
- font-family: PingFangSC-Medium;
260
- line-height: 22px;
121
+ [data-uikit-theme=dark] .conversation-preview-container {
122
+ background-color: var(--chat-theme-dark-bg-primary);
261
123
  }
262
-
263
- .tui-conversation-h5 {
264
- min-width: 100%;
265
- width: 100%;
266
- max-width: 100%;
124
+ .conversation-preview-container .content {
125
+ flex: 1 1 auto;
126
+ text-align: left;
127
+ margin-left: 10px;
128
+ min-width: 0;
267
129
  }
268
- .message-default {
269
- width: 100%;
270
- flex: 1;
271
- display: flex;
272
- align-items: center;
273
- cursor: pointer;
274
- font-family: SF Pro Text;
130
+ .conversation-preview-container .content .title {
131
+ font-style: normal;
132
+ font-weight: 700;
275
133
  font-size: 14px;
134
+ line-height: 17px;
135
+ font-family: PingFangSC-Medium;
136
+ padding: 1px 0;
137
+ width: 100%;
138
+ }
139
+ [data-uikit-theme=light] .conversation-preview-container .content .title {
140
+ color: var(--chat-theme-light-text-primary);
141
+ }
142
+ [data-uikit-theme=dark] .conversation-preview-container .content .title {
143
+ color: var(--chat-theme-dark-text-primary);
144
+ }
145
+ .conversation-preview-container .content .message {
146
+ overflow: hidden;
147
+ text-overflow: ellipsis;
148
+ white-space: nowrap;
276
149
  font-family: PingFangSC-Medium;
277
150
  font-style: normal;
278
- font-weight: 500;
279
- line-height: 17px;
151
+ font-weight: 400;
152
+ font-size: 12px;
153
+ line-height: 14px;
154
+ padding: 1px 0;
280
155
  }
281
- .message-default .avatar {
282
- width: 45px;
156
+ [data-uikit-theme=light] .conversation-preview-container .content .message {
157
+ color: var(--chat-theme-light-text-secondary);
283
158
  }
284
- .message-default .avatar img {
285
- width: 45px;
159
+ [data-uikit-theme=dark] .conversation-preview-container .content .message {
160
+ color: var(--chat-theme-dark-text-secondary);
286
161
  }
287
- .message-default .content {
162
+ .conversation-preview-container .external {
163
+ text-align: right;
164
+ flex: 0 1 auto;
288
165
  display: flex;
289
166
  flex-direction: column;
290
- align-items: flex-start;
291
167
  }
292
- .message-default .content .name {
293
- display: inline-block;
294
- padding-bottom: 3px;
295
- max-width: 60%;
168
+ .conversation-preview-container .external .unread {
169
+ height: 19px;
170
+ padding: 1px 0;
296
171
  }
297
-
298
- .in {
299
- flex: 1;
300
- display: flex;
301
- flex-direction: row;
302
- justify-self: flex-start;
303
- gap: 10px;
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;
304
179
  }
305
- .in .content {
306
- align-items: flex-start;
307
- flex: 1;
180
+ [data-uikit-theme=light] .conversation-preview-container .external .time {
181
+ color: var(--chat-theme-light-text-secondary);
308
182
  }
309
-
310
- .out {
311
- flex: 1;
183
+ [data-uikit-theme=dark] .conversation-preview-container .external .time {
184
+ color: var(--chat-theme-dark-text-secondary);
185
+ }
186
+ .conversation-preview-container .external .more--hover {
312
187
  display: flex;
313
- gap: 10px;
314
- flex-direction: row-reverse;
315
- justify-self: flex-end;
188
+ justify-content: flex-end;
189
+ flex: 1 1;
316
190
  }
317
- .out .content {
318
- align-items: flex-end;
319
- flex: 1;
191
+ .conversation-preview-container .external .more--hover .icon-more {
192
+ transform: scale(1.5);
320
193
  }
321
-
322
- .tip {
323
- justify-self: center !important;
324
- width: auto;
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;
325
203
  }
326
-
327
- .bubble {
328
- padding: 8px 16px;
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;
329
212
  }
330
- .bubble-in {
331
- border-radius: 0px 16px 16px 16px;
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);
332
215
  }
333
- .bubble-in.group {
334
- border-radius: 0px 16px 16px 16px;
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);
335
218
  }
336
- .bubble-out {
337
- border-radius: 16px 16px 0 16px;
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);
338
221
  }
339
-
340
- .message-status {
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);
224
+ }
225
+ [data-uikit-theme=light] .conversation-preview-container:hover {
226
+ background-color: var(--chat-theme-light-bg-active);
227
+ }
228
+ [data-uikit-theme=dark] .conversation-preview-container:hover {
229
+ background-color: var(--chat-theme-dark-bg-active);
230
+ }
231
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--pin {
232
+ background-color: var(--chat-theme-light-bg-secondary);
233
+ }
234
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--pin {
235
+ background-color: var(--chat-theme-dark-bg-secondary);
236
+ }
237
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--active {
238
+ background-color: var(--chat-theme-light-bg-active);
239
+ }
240
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--active {
241
+ background-color: var(--chat-theme-dark-bg-active);
242
+ }
243
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--active .title {
244
+ color: var(--chat-theme-light-status-info);
245
+ }
246
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--active .title {
247
+ color: var(--chat-theme-dark-status-info);
248
+ }
249
+ .conversation-preview-container.conversation-preview-content--unread .unread {
250
+ width: 16px;
251
+ height: 13px;
252
+ border-radius: 16px;
341
253
  display: flex;
342
- align-items: flex-end;
343
- align-self: flex-end;
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;
344
261
  }
345
- .message-status .time {
346
- width: max-content;
347
- font-weight: 400;
348
- padding: 5px 0 0 10px;
349
- font-size: 12px;
350
- font-family: PingFangSC-Medium;
351
- line-height: 14px;
352
- text-align: right;
353
- color: #7A7A7A;
262
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--unread .unread {
263
+ background-color: var(--chat-theme-light-status-danger);
354
264
  }
355
-
356
- .message-image, .message-video {
357
- position: relative;
265
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--unread .unread {
266
+ background-color: var(--chat-theme-dark-status-danger);
358
267
  }
359
- .message-image .message-status, .message-video .message-status {
360
- position: absolute;
361
- bottom: 10px;
362
- right: 10px;
268
+ .tui-message-input {
269
+ display: flex;
270
+ flex-direction: column;
363
271
  }
364
- .message-image .message-status .time, .message-video .message-status .time {
365
- color: #FFFFFF;
272
+ .tui-message-input-main {
273
+ flex: 1;
274
+ display: flex;
275
+ align-items: center;
276
+ padding: 14px 12px;
277
+ gap: 12px;
366
278
  }
367
-
368
- .message-text {
279
+ .tui-message-input-main .input-box {
280
+ flex: 1;
369
281
  display: flex;
282
+ position: relative;
283
+ min-height: 20px;
284
+ max-height: 200px;
285
+ border-radius: 15px;
286
+ overflow: hidden;
287
+ padding: 10px;
370
288
  }
371
- .message-text-content {
372
- display: inline;
373
- word-break: break-word;
374
- font-family: PingFangSC-Regular;
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;
375
295
  font-style: normal;
376
296
  font-weight: 500;
377
297
  font-size: 14px;
378
- line-height: 24px;
379
- }
380
- .message-text-content-p {
381
- white-space: pre-wrap;
382
- display: inline;
383
- vertical-align: middle;
384
- }
385
- .message-text-content .message-status {
386
- display: inline-flex;
387
- float: right;
388
- clear: right;
298
+ line-height: 17px;
299
+ padding: 1px 2px;
389
300
  }
390
-
391
- .message-text,
392
- .message-tip {
393
- font-family: PingFangSC-Regular;
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;
307
+ flex: 1;
308
+ font-family: PingFangSC-Medium;
394
309
  font-style: normal;
395
310
  font-weight: 500;
396
311
  font-size: 14px;
397
312
  line-height: 17px;
313
+ margin: 9px;
314
+ resize: none;
315
+ border: none;
316
+ background: none;
398
317
  }
399
- .message-text .text-img,
400
- .message-tip .text-img {
401
- width: 20px;
402
- height: 20px;
403
- vertical-align: middle;
318
+ [data-uikit-theme=light] .tui-message-input-main .input-box textarea {
319
+ color: var(--chat-theme-light-text-primary);
404
320
  }
405
-
406
- .message-image {
407
- background: #FFFFFF;
321
+ [data-uikit-theme=dark] .tui-message-input-main .input-box textarea {
322
+ color: var(--chat-theme-dark-text-primary);
408
323
  }
409
- .message-image img {
410
- max-width: 300px;
324
+ .tui-message-input-main .input-box textarea:focus, .tui-message-input-main .input-box textarea:active {
325
+ border: none;
326
+ outline: none;
411
327
  }
412
- .message-image .img-h5 {
413
- max-width: 200px;
414
- max-height: 200px;
328
+ .tui-message-input-main .disabled {
329
+ display: none;
415
330
  }
416
- .message-image .big-image {
417
- max-width: 90%;
418
- max-height: 90%;
331
+ .tui-message-input-box {
332
+ flex: 1;
333
+ display: flex;
334
+ align-items: center;
419
335
  }
420
336
 
421
- .message-video {
422
- max-width: 300px;
337
+ ul li {
338
+ list-style: none;
423
339
  }
424
- .message-video .snap-video {
340
+
341
+ .input-plugin-popup {
425
342
  position: relative;
426
- height: 100%;
427
- border-radius: 10px;
428
343
  }
429
- .message-video .snap-video::before {
344
+ .input-plugin-popup-box {
430
345
  position: absolute;
431
- z-index: 1;
432
- content: "";
433
- width: 0px;
434
- height: 0px;
435
- border: 15px solid transparent;
436
- border-left: 20px solid #ffffff;
437
- top: 0;
438
- left: 0;
439
- bottom: 0;
440
- right: 0;
441
- margin: auto;
442
- }
443
- .message-video video {
444
- width: 100%;
445
- height: 100%;
446
- border-radius: 10px;
447
- }
448
- .message-video .play-video {
449
- max-width: 95%;
450
- max-height: 65%;
346
+ z-index: 2;
347
+ bottom: 30px;
451
348
  }
452
349
 
453
- .message-video.message-video-h5 {
454
- max-width: 200px;
455
- max-height: 200px;
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;
456
360
  }
457
361
 
458
- .message-file {
362
+ .emoji-picker .face-list {
363
+ height: 120px;
364
+ width: 242px;
365
+ padding: 10px 5px;
459
366
  display: flex;
460
- flex-direction: column;
461
- border: 1px solid #ddd;
367
+ flex-wrap: wrap;
368
+ overflow-y: auto;
462
369
  }
463
- .message-file-main {
464
- display: flex;
465
- align-items: center;
466
- padding: 12px;
467
- background: #FFFFFF;
468
- border-radius: 4px;
370
+ .emoji-picker .face-list-item {
371
+ padding: 5px;
372
+ cursor: pointer;
373
+ user-select: none;
469
374
  }
470
- .message-file-main .icon {
471
- margin-right: 7px;
375
+ .emoji-picker .face-list-item img {
376
+ width: 20px;
472
377
  }
473
- .message-file-footer {
378
+ .emoji-picker .face-list-item .face-img {
379
+ width: 38px;
380
+ }
381
+ .emoji-picker .face-tab {
474
382
  display: flex;
475
- justify-content: space-between;
476
- align-items: flex-end;
477
- }
478
- .message-file-footer .time {
479
- padding-top: 10px;
480
- }
481
- .message-file-size {
482
- padding-top: 10px;
483
- font-weight: 400;
484
- font-size: 12px;
485
- font-family: PingFangSC-Medium;
486
- line-height: 14px;
487
- color: #7A7A7A;
488
- }
489
-
490
- .message-merger {
491
- display: flex;
492
- flex-direction: column;
493
- background: #ECEBEB;
383
+ align-items: center;
384
+ min-width: 265px;
494
385
  }
495
- .message-merger h3 {
496
- padding-bottom: 4px;
497
- border-bottom: 1px solid #a1a1a1;
386
+ .emoji-picker .face-tab-item {
387
+ cursor: pointer;
388
+ width: 24px;
389
+ padding: 10px;
498
390
  }
499
- .message-merger-list {
500
- opacity: 0.6;
391
+ .emoji-picker .face-tab-item img {
392
+ width: 100%;
501
393
  }
502
- .message-merger-item {
503
- padding-top: 4px;
394
+ .emoji-picker .emoji-plugin-right {
395
+ right: 0;
504
396
  }
505
397
 
506
- .meesage-bubble-reply {
507
- background: #ECEBEB;
508
- padding: 8px 16px;
509
- }
510
- .meesage-bubble-reply-in {
511
- border-radius: 16px 16px 16px 0;
512
- }
513
- .meesage-bubble-reply-out {
514
- border-radius: 16px 16px 0px 16px;
398
+ .upload-picker {
399
+ position: relative;
400
+ padding: 10px 16px;
401
+ min-width: 180px;
515
402
  }
516
- .meesage-bubble-reply .message-text {
517
- border-radius: none;
518
- border: none;
403
+ .upload-picker:hover {
404
+ color: #147aff;
519
405
  }
520
- .meesage-bubble-reply .bubble {
521
- padding: 0;
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%;
522
414
  }
523
- .meesage-bubble-reply .bubble-in {
524
- border-radius: 0;
415
+
416
+ .input-quote {
417
+ padding: 7px 16px;
418
+ background: #f9f9f9;
419
+ display: flex;
420
+ align-items: center;
525
421
  }
526
- .meesage-bubble-reply-main {
422
+ .input-quote-content {
423
+ flex: 1;
424
+ background: #fff;
425
+ padding: 2px 14px;
527
426
  position: relative;
528
- padding: 10px 14px;
529
- margin-bottom: 10px;
530
- background: #FFFFFF;
427
+ display: flex;
428
+ flex-direction: column;
429
+ font-weight: 500;
430
+ font-size: 14px;
431
+ font-family: PingFangSC-Medium;
432
+ line-height: 17px;
433
+ color: #000;
531
434
  }
532
- .meesage-bubble-reply-main::before {
435
+ .input-quote-content::before {
533
436
  content: "";
534
437
  position: absolute;
535
438
  width: 6px;
536
439
  height: 100%;
537
- background: #D9D9D9;
440
+ background: #999;
538
441
  top: 0;
539
442
  left: 0;
540
443
  }
541
- .meesage-bubble-reply-main .title {
444
+ .input-quote-content span {
445
+ padding-top: 8px;
446
+ opacity: 0.6;
447
+ }
448
+ .input-quote .icon {
449
+ margin: 0 5px 0 16px;
450
+ }
451
+
452
+ .tui-forward {
453
+ background: #fff;
454
+ border-radius: 16px;
455
+ display: flex;
456
+ flex-direction: column;
457
+ overflow: hidden;
458
+ width: 300px;
459
+ max-height: 90%;
460
+ }
461
+ .tui-forward-header {
462
+ display: flex;
463
+ align-items: center;
464
+ padding: 24px 20px;
465
+ }
466
+ .tui-forward-title {
467
+ padding: 0 16px;
542
468
  font-family: PingFangSC-Medium;
543
469
  font-style: normal;
544
- font-weight: 500;
470
+ font-weight: 700;
545
471
  font-size: 14px;
546
472
  line-height: 17px;
547
- padding-bottom: 10px;
548
473
  }
549
- .meesage-bubble-reply-main .message-context {
550
- opacity: 0.6;
474
+ .tui-forward-main {
475
+ padding: 0 20px;
476
+ max-height: calc(100vh - 200px);
477
+ overflow-y: auto;
551
478
  }
552
-
553
- .meesage-bubble {
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;
487
+ }
488
+ .tui-forward-search {
489
+ padding: 10px 15px;
490
+ }
491
+ .tui-forward-list {
492
+ padding: 13px 0;
493
+ }
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;
500
+ }
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;
554
508
  display: flex;
555
- align-items: flex-end;
509
+ justify-content: space-between;
510
+ align-items: center;
511
+ width: 100%;
556
512
  }
557
- .meesage-bubble-status {
558
- margin: 3px;
513
+ .tui-forward-list-item .info {
514
+ display: flex;
515
+ align-items: center;
516
+ flex-shrink: 0;
517
+ width: 100%;
559
518
  }
560
- .meesage-bubble-context {
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%;
532
+ }
533
+ .tui-forward-footer {
534
+ background: rgba(249, 249, 249, 0.94);
535
+ padding: 13px 10px;
561
536
  display: flex;
537
+ justify-content: space-between;
562
538
  align-items: center;
563
- gap: 10px;
564
539
  }
565
- .meesage-bubble-context .message-context {
540
+ .tui-forward-footer .button {
541
+ cursor: pointer;
542
+ background: #0365f9;
543
+ border-radius: 31px;
544
+ padding: 10px 21px;
545
+ font-family: PingFangSC-Medium;
546
+ font-style: normal;
547
+ font-weight: 400;
548
+ font-size: 14px;
549
+ line-height: 20px;
550
+ color: #fff;
551
+ border: none;
552
+ }
553
+ .tui-forward-footer-name {
566
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;
567
561
  }
568
562
 
569
- .icon-fail {
570
- width: 14px;
571
- height: 14px;
572
- border-radius: 14px;
573
- position: relative;
574
- background: #FA5151;
575
- display: inline-flex;
576
- justify-content: center;
577
- align-items: center;
563
+ .transmitter {
564
+ padding: 0 10px;
578
565
  }
579
- .icon-fail::before {
580
- position: absolute;
581
- content: "!";
582
- color: #FFFFFF;
583
- font-size: 12px;
584
- font-family: PingFangSC-Medium;
566
+ .transmitter .icon-send {
567
+ transform: rotate(90deg);
585
568
  }
586
569
 
587
- .message-face {
588
- display: flex;
589
- flex-direction: column;
570
+ [data-uikit-theme=light] .tui-message-input {
571
+ background-color: var(--chat-theme-light-bg-primary);
590
572
  }
591
- .message-face .img {
592
- max-width: 88px;
573
+ [data-uikit-theme=dark] .tui-message-input {
574
+ background-color: var(--chat-theme-dark-bg-primary);
575
+ }
576
+ [data-uikit-theme=light] .tui-message-input .tui-kit-input-box--focus {
577
+ outline: 1px solid var(--chat-theme-light-status-info);
578
+ }
579
+ [data-uikit-theme=dark] .tui-message-input .tui-kit-input-box--focus {
580
+ outline: 1px solid var(--chat-theme-dark-status-info);
581
+ }
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);
585
+ }
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);
593
589
  }
594
590
 
595
- .loading {
596
- display: inline-block;
597
- position: relative;
591
+ .input-plugin-popup-box {
592
+ border-radius: 16px;
598
593
  }
599
- .loading .img, .loading video {
600
- min-width: 60px;
601
- min-height: 60px;
602
- max-width: 300px;
603
- border-radius: 10px;
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);
604
597
  }
605
- .loading .img-h5, .loading .video-h5 {
606
- min-width: 60px;
607
- min-height: 60px;
608
- max-width: 200px;
609
- max-height: 200px;
610
- border-radius: 10px;
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);
611
601
  }
612
- .loading::before {
613
- position: absolute;
614
- content: "";
615
- background: rgba(0, 0, 0, 0.5);
616
- border-radius: 10px;
602
+ .message-default {
617
603
  width: 100%;
618
- height: 100%;
619
- top: 0;
620
- left: 0;
621
- }
622
- .loading::after {
623
- position: absolute;
624
- content: "";
625
- border: 5px solid #f3f3f3;
626
- border-top: 5px solid #555;
627
- border-radius: 50%;
628
- width: 30px;
629
- height: 30px;
630
- display: inline-block;
631
- animation: spin 2s linear infinite;
632
- top: 0;
633
- left: 0;
634
- right: 0;
635
- bottom: 0;
636
- margin: auto;
637
- }
638
- @keyframes spin {
639
- 0% {
640
- transform: rotate(0deg);
641
- }
642
- 100% {
643
- transform: rotate(360deg);
644
- }
645
- }
646
-
647
- .message-plugin {
648
- width: 32px;
649
- margin: 0 5px;
650
- }
651
- .message-plugin .icon-more {
652
- transform: scale(1.5);
653
- }
654
- .message-plugin .plugin-popup-box {
655
- bottom: auto;
656
- top: 100%;
657
- overflow: hidden;
658
- }
659
- .message-plugin-box {
660
- padding: 6px 0;
661
- }
662
- .message-plugin-item {
663
- min-width: 144px;
664
- padding: 6px 13px;
604
+ flex: 1;
665
605
  display: flex;
666
- justify-content: space-between;
667
606
  align-items: center;
668
- font-weight: 500;
669
- font-size: 12.8px;
607
+ cursor: pointer;
608
+ font-family: SF Pro Text;
609
+ font-size: 14px;
670
610
  font-family: PingFangSC-Medium;
671
- line-height: 15px;
611
+ font-style: normal;
612
+ font-weight: 500;
613
+ line-height: 17px;
672
614
  }
673
- .message-plugin-item:hover {
674
- background: rgba(0, 110, 255, 0.1);
675
- color: #147aff;
615
+ .message-default .avatar {
616
+ width: 45px;
676
617
  }
677
- .message-plugin-item .del {
678
- color: #FF584C;
618
+ .message-default .avatar img {
619
+ width: 45px;
679
620
  }
680
-
681
- .message-custom {
621
+ .message-default .content {
682
622
  display: flex;
683
- word-break: break-all;
623
+ flex-direction: column;
624
+ align-items: flex-start;
684
625
  }
685
- .message-custom a {
686
- color: #679ce1;
687
- text-decoration: none;
688
- font-family: PingFangSC-Regular;
689
- font-style: normal;
690
- font-weight: 500;
691
- font-size: 14px;
692
- line-height: 17px;
626
+ .message-default .content .name {
627
+ display: inline-block;
628
+ padding-bottom: 3px;
629
+ max-width: 60%;
693
630
  }
694
- .message-custom p {
695
- font-family: PingFangSC-Regular;
696
- font-size: 14px;
697
- font-style: normal;
698
- font-weight: 500;
699
- line-height: 17px;
631
+ [data-uikit-theme=light] .message-default .content .name {
632
+ color: var(--chat-theme-light-text-primary);
700
633
  }
701
-
702
- .message-revoke {
703
- color: #999999;
634
+ [data-uikit-theme=dark] .message-default .content .name {
635
+ color: var(--chat-theme-dark-text-primary);
704
636
  }
705
637
 
706
- .message-audio {
638
+ .in {
639
+ flex: 1;
707
640
  display: flex;
708
- align-items: center;
709
- }
710
- .message-audio .out {
711
- transform: rotate(180deg);
641
+ flex-direction: row;
642
+ justify-self: flex-start;
643
+ gap: 10px;
712
644
  }
713
- .message-audio-none {
714
- display: none;
645
+ .in .content {
646
+ align-items: flex-start;
647
+ flex: 1;
715
648
  }
716
- .message-audio-content {
649
+
650
+ .out {
651
+ flex: 1;
717
652
  display: flex;
718
- align-items: center;
719
653
  gap: 10px;
720
- }
721
- .message-audio-out {
722
654
  flex-direction: row-reverse;
655
+ justify-self: flex-end;
723
656
  }
724
- .message-audio .playing {
725
- animation: playingAnimation 1s ease-in-out infinite;
726
- }
727
- @keyframes playingAnimation {
728
- 0% {
729
- opacity: 1;
730
- }
731
- 50% {
732
- opacity: 0.3;
733
- }
734
- 100% {
735
- opacity: 1;
736
- }
657
+ .out .content {
658
+ align-items: flex-end;
659
+ flex: 1;
737
660
  }
738
661
 
739
- .high-lighted {
740
- animation: highLightedAnimation 1s ease-in-out forwards;
662
+ .tip {
663
+ justify-self: center !important;
664
+ width: auto;
741
665
  }
742
666
 
743
- @keyframes highLightedAnimation {
744
- 0% {
745
- opacity: 1;
746
- color: #ff9c19;
747
- }
748
- 25% {
749
- opacity: 0.3;
750
- }
751
- 50% {
752
- color: #ff9c19;
753
- opacity: 1;
754
- }
755
- 75% {
756
- opacity: 0.3;
757
- }
758
- 100% {
759
- color: #ff9c19;
760
- opacity: 1;
761
- }
762
- }
763
- .progress-box {
764
- width: 100%;
765
- height: 5px;
766
- display: flex;
767
- justify-content: flex-start;
768
- }
769
- .progress-box .progress {
770
- display: inline-block;
771
- width: 0;
772
- background: #147aff;
773
- height: 5px;
774
- border-radius: 2px;
775
- box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
667
+ .bubble {
668
+ padding: 8px 16px;
776
669
  }
777
-
778
- .website {
779
- color: #147aff !important;
670
+ .bubble-in {
671
+ border-radius: 0px 16px 16px 16px;
780
672
  }
781
-
782
- .message-text, .message-custom {
783
- border: 1px solid #DDDDDD;
673
+ .bubble-in.group {
674
+ border-radius: 0px 16px 16px 16px;
784
675
  }
785
-
786
676
  .bubble-out {
787
- background: #F2F7FF;
788
- border: 1px solid #F2F7FF;
677
+ border-radius: 16px 16px 0 16px;
789
678
  }
790
679
 
791
- .meesage-bubble-reply-out {
792
- background: #F2F7FF;
793
- }
794
- .meesage-bubble-reply-out .meesage-bubble-reply-main .message-text {
795
- background: none;
680
+ .message-status {
681
+ display: flex;
682
+ align-items: flex-end;
683
+ align-self: flex-end;
796
684
  }
797
-
798
- .message-tip {
799
- color: #999999;
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;
800
693
  }
801
-
802
- .tip .bubble .edit {
803
- color: #147aff;
804
- padding: 3px;
694
+ [data-uikit-theme=light] .message-status .time {
695
+ color: var(--chat-theme-light-text-secondary);
805
696
  }
806
- .plugin {
807
- display: flex;
808
- align-items: center;
809
- height: 100%;
810
- padding: 0 8px;
811
- gap: 8px;
697
+ [data-uikit-theme=dark] .message-status .time {
698
+ color: var(--chat-theme-dark-text-secondary);
812
699
  }
813
700
 
814
- .plugin-popup {
815
- height: 100%;
816
- display: flex;
817
- align-items: center;
701
+ .message-image, .message-video {
818
702
  position: relative;
819
703
  }
820
- .plugin-popup-box {
704
+ .message-image .message-status, .message-video .message-status {
821
705
  position: absolute;
822
- z-index: 2;
823
- bottom: 100%;
824
- }
825
-
826
- .plugin-popup-box {
827
- background: #FFFFFF;
828
- box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
829
- border-radius: 16px;
706
+ bottom: 10px;
707
+ right: 10px;
830
708
  }
831
- .tui-message-input {
832
- display: flex;
833
- flex-direction: column;
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);
834
711
  }
835
- .tui-message-input-main {
836
- flex: 1;
837
- display: flex;
838
- align-items: center;
839
- padding: 14px 12px;
840
- gap: 12px;
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);
841
714
  }
842
- .tui-message-input-main .input-box {
843
- flex: 1;
715
+
716
+ .message-text {
844
717
  display: flex;
845
- padding: 0 8px;
846
- position: relative;
847
- min-height: 20px;
848
- max-height: 200px;
849
- border-radius: 15px;
850
- overflow: hidden;
851
- padding: 10px;
852
718
  }
853
- .tui-message-input-main .input-box .input-visibility-content {
854
- word-break: break-all;
855
- visibility: hidden;
856
- max-width: -webkit-fill-available;
857
- font-family: PingFangSC-Medium;
719
+ .message-text-content {
720
+ display: inline;
721
+ word-break: break-word;
722
+ font-family: PingFangSC-Regular;
858
723
  font-style: normal;
859
724
  font-weight: 500;
860
725
  font-size: 14px;
861
- line-height: 17px;
862
- padding: 1px 2px;
726
+ line-height: 24px;
863
727
  }
864
- .tui-message-input-main .input-box textarea {
865
- position: absolute;
866
- top: 0;
867
- left: 0;
868
- width: -webkit-fill-available;
869
- height: -webkit-fill-available;
870
- flex: 1;
871
- font-family: PingFangSC-Medium;
728
+ .message-text-content-p {
729
+ white-space: pre-wrap;
730
+ display: inline;
731
+ vertical-align: middle;
732
+ }
733
+ [data-uikit-theme=light] .message-text-content-p {
734
+ color: var(--chat-theme-light-text-primary);
735
+ }
736
+ [data-uikit-theme=dark] .message-text-content-p {
737
+ color: var(--chat-theme-dark-text-primary);
738
+ }
739
+ .message-text-content .message-status {
740
+ display: inline-flex;
741
+ float: right;
742
+ clear: right;
743
+ }
744
+
745
+ .message-text,
746
+ .message-tip {
747
+ font-family: PingFangSC-Regular;
872
748
  font-style: normal;
873
749
  font-weight: 500;
874
750
  font-size: 14px;
875
751
  line-height: 17px;
876
- margin: 9px;
877
- resize: none;
878
- border: none;
879
- background: none;
880
752
  }
881
- .tui-message-input-main .input-box textarea:focus, .tui-message-input-main .input-box textarea:active {
882
- border: none;
883
- outline: none;
753
+ .message-text .text-img,
754
+ .message-tip .text-img {
755
+ width: 20px;
756
+ height: 20px;
757
+ vertical-align: middle;
884
758
  }
885
- .tui-message-input-main .disabled {
886
- display: none;
759
+
760
+ .message-image {
761
+ background: #FFFFFF;
887
762
  }
888
- .tui-message-input-box {
889
- flex: 1;
890
- display: flex;
891
- align-items: center;
763
+ .message-image img {
764
+ max-width: 300px;
892
765
  }
893
-
894
- ul li {
895
- list-style: none;
766
+ .message-image .img-h5 {
767
+ max-width: 200px;
768
+ max-height: 200px;
769
+ }
770
+ .message-image .big-image {
771
+ max-width: 90%;
772
+ max-height: 90%;
896
773
  }
897
774
 
898
- .input-plugin-popup {
775
+ .message-video {
776
+ max-width: 300px;
777
+ }
778
+ .message-video .snap-video {
899
779
  position: relative;
780
+ height: 100%;
781
+ border-radius: 10px;
900
782
  }
901
- .input-plugin-popup-box {
783
+ .message-video .snap-video::before {
902
784
  position: absolute;
903
- z-index: 2;
904
- bottom: 30px;
785
+ z-index: 1;
786
+ content: "";
787
+ width: 0px;
788
+ height: 0px;
789
+ border: 15px solid transparent;
790
+ border-left: 20px solid #ffffff;
791
+ top: 0;
792
+ left: 0;
793
+ bottom: 0;
794
+ right: 0;
795
+ margin: auto;
905
796
  }
906
-
907
- .input-plugin-item {
908
- font-style: normal;
909
- font-weight: 500;
910
- font-size: 16px;
911
- font-family: PingFangSC-Medium;
912
- line-height: 19px;
913
- display: flex;
797
+ .message-video video {
798
+ width: 100%;
799
+ height: 100%;
800
+ border-radius: 10px;
914
801
  }
915
- .input-plugin-item span {
916
- padding: 0 17px;
802
+ .message-video .play-video {
803
+ max-width: 95%;
804
+ max-height: 65%;
917
805
  }
918
806
 
919
- .emoji-picker .face-list {
920
- height: 120px;
921
- width: 242px;
922
- padding: 10px 5px;
807
+ .message-video.message-video-h5 {
808
+ max-width: 200px;
809
+ max-height: 200px;
810
+ }
811
+
812
+ .message-file {
923
813
  display: flex;
924
- flex-wrap: wrap;
925
- overflow-y: auto;
814
+ flex-direction: column;
815
+ border: 1px solid #ddd;
926
816
  }
927
- .emoji-picker .face-list-item {
928
- padding: 5px;
929
- cursor: pointer;
817
+ .message-file-main {
818
+ display: flex;
819
+ align-items: center;
820
+ padding: 12px;
821
+ background: #FFFFFF;
822
+ border-radius: 4px;
930
823
  }
931
- .emoji-picker .face-list-item img {
932
- width: 20px;
824
+ .message-file-main .icon {
825
+ margin-right: 7px;
933
826
  }
934
- .emoji-picker .face-list-item .face-img {
935
- width: 38px;
827
+ .message-file-footer {
828
+ display: flex;
829
+ justify-content: space-between;
830
+ align-items: flex-end;
936
831
  }
937
- .emoji-picker .face-tab {
832
+ .message-file-footer .time {
833
+ padding-top: 10px;
834
+ }
835
+ .message-file-size {
836
+ padding-top: 10px;
837
+ font-weight: 400;
838
+ font-size: 12px;
839
+ font-family: PingFangSC-Medium;
840
+ line-height: 14px;
841
+ color: #7A7A7A;
842
+ }
843
+
844
+ .message-merger {
938
845
  display: flex;
939
- align-items: center;
940
- min-width: 265px;
846
+ flex-direction: column;
847
+ background: #ECEBEB;
941
848
  }
942
- .emoji-picker .face-tab-item {
943
- cursor: pointer;
944
- width: 24px;
945
- padding: 10px;
849
+ .message-merger h3 {
850
+ padding-bottom: 4px;
851
+ border-bottom: 1px solid #a1a1a1;
946
852
  }
947
- .emoji-picker .face-tab-item img {
948
- width: 100%;
853
+ .message-merger-list {
854
+ opacity: 0.6;
949
855
  }
950
- .emoji-picker .emoji-plugin-right {
951
- right: 0;
856
+ .message-merger-item {
857
+ padding-top: 4px;
952
858
  }
953
859
 
954
- .upload-picker {
955
- position: relative;
956
- padding: 10px 16px;
957
- min-width: 180px;
860
+ .meesage-bubble-reply {
861
+ padding: 8px 16px;
958
862
  }
959
- .upload-picker:hover {
960
- color: #147aff;
863
+ [data-uikit-theme=light] .meesage-bubble-reply {
864
+ background-color: var(--chat-theme-light-bg-secondary);
961
865
  }
962
- .upload-picker input {
963
- position: absolute;
964
- cursor: pointer;
965
- left: 0;
966
- top: 0;
967
- opacity: 0;
968
- width: 100%;
969
- height: 100%;
866
+ [data-uikit-theme=dark] .meesage-bubble-reply {
867
+ background-color: var(--chat-theme-dark-bg-secondary);
970
868
  }
971
-
972
- .input-quote {
973
- padding: 7px 16px;
974
- background: #F9F9F9;
975
- display: flex;
976
- align-items: center;
869
+ .meesage-bubble-reply-in {
870
+ border-radius: 16px 16px 16px 0;
977
871
  }
978
- .input-quote-content {
979
- flex: 1;
980
- background: #FFFFFF;
981
- padding: 2px 14px;
872
+ .meesage-bubble-reply-out {
873
+ border-radius: 16px 16px 0px 16px;
874
+ }
875
+ .meesage-bubble-reply .message-text {
876
+ border: none !important;
877
+ }
878
+ .meesage-bubble-reply .bubble {
879
+ padding: 0;
880
+ }
881
+ .meesage-bubble-reply .bubble-in {
882
+ border-radius: 0;
883
+ }
884
+ .meesage-bubble-reply-main {
982
885
  position: relative;
983
- display: flex;
984
- flex-direction: column;
985
- font-weight: 500;
986
- font-size: 14px;
987
- font-family: PingFangSC-Medium;
988
- line-height: 17px;
989
- color: #000000;
886
+ padding: 10px 14px;
887
+ margin-bottom: 10px;
990
888
  }
991
- .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 {
992
896
  content: "";
993
897
  position: absolute;
994
898
  width: 6px;
995
899
  height: 100%;
996
- background: #999999;
997
900
  top: 0;
998
901
  left: 0;
999
902
  }
1000
- .input-quote-content span {
1001
- padding-top: 8px;
1002
- opacity: 0.6;
903
+ [data-uikit-theme=light] .meesage-bubble-reply-main::before {
904
+ background-color: var(--chat-theme-light-bg-5);
1003
905
  }
1004
- .input-quote .icon {
1005
- margin: 0 5px 0 16px;
906
+ [data-uikit-theme=dark] .meesage-bubble-reply-main::before {
907
+ background-color: var(--chat-theme-dark-bg-5);
908
+ }
909
+ .meesage-bubble-reply-main .title {
910
+ font-weight: 500;
911
+ font-size: 14px;
912
+ padding-bottom: 10px;
913
+ }
914
+ [data-uikit-theme=light] .meesage-bubble-reply-main .title {
915
+ color: var(--chat-theme-light-text-primary);
916
+ }
917
+ [data-uikit-theme=dark] .meesage-bubble-reply-main .title {
918
+ color: var(--chat-theme-dark-text-primary);
919
+ }
920
+ .meesage-bubble-reply-main .message-context {
921
+ opacity: 0.6;
1006
922
  }
1007
923
 
1008
- .tui-forward {
1009
- background: #FFFFFF;
1010
- border-radius: 16px;
924
+ .meesage-bubble {
1011
925
  display: flex;
1012
- flex-direction: column;
1013
- overflow: hidden;
1014
- width: 300px;
1015
- max-height: 90%;
926
+ align-items: flex-end;
1016
927
  }
1017
- .tui-forward-header {
928
+ .meesage-bubble-status {
929
+ margin: 3px;
930
+ }
931
+ .meesage-bubble-context {
1018
932
  display: flex;
1019
933
  align-items: center;
1020
- padding: 24px 20px;
934
+ gap: 10px;
1021
935
  }
1022
- .tui-forward-title {
1023
- padding: 0 16px;
1024
- font-family: PingFangSC-Medium;
1025
- font-style: normal;
1026
- font-weight: 700;
1027
- font-size: 14px;
1028
- line-height: 17px;
936
+ .meesage-bubble-context .message-context {
937
+ flex: 1;
1029
938
  }
1030
- .tui-forward-main {
1031
- padding: 0 20px;
1032
- max-height: calc(100vh - 200px);
1033
- overflow-y: auto;
939
+
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;
1034
949
  }
1035
- .tui-forward-main .no-result {
950
+ .icon-fail::before {
951
+ position: absolute;
952
+ content: "!";
953
+ color: #FFFFFF;
954
+ font-size: 12px;
1036
955
  font-family: PingFangSC-Medium;
1037
- font-size: 14px;
1038
- font-style: normal;
1039
- line-height: 20px;
1040
- padding: 10px;
1041
- text-align: center;
1042
- color: #999999;
1043
956
  }
1044
- .tui-forward-search {
1045
- padding: 10px 15px;
957
+
958
+ .message-face {
959
+ display: flex;
960
+ flex-direction: column;
1046
961
  }
1047
- .tui-forward-list {
1048
- padding: 13px 0;
962
+ .message-face .img {
963
+ max-width: 88px;
1049
964
  }
1050
- .tui-forward-list-title {
1051
- font-family: PingFangSC-Medium;
1052
- font-style: normal;
1053
- font-weight: 600;
1054
- font-size: 14px;
1055
- line-height: 20px;
965
+
966
+ .loading {
967
+ display: inline-block;
968
+ position: relative;
1056
969
  }
1057
- .tui-forward-list-item {
1058
- padding: 6px 0;
1059
- font-family: PingFangSC-Medium;
1060
- font-style: normal;
1061
- font-weight: 400;
1062
- font-size: 14px;
1063
- line-height: 20px;
1064
- display: flex;
1065
- justify-content: space-between;
1066
- align-items: center;
1067
- width: 100%;
970
+ .loading .img, .loading video {
971
+ min-width: 60px;
972
+ min-height: 60px;
973
+ max-width: 300px;
974
+ border-radius: 10px;
1068
975
  }
1069
- .tui-forward-list-item .info {
1070
- display: flex;
1071
- align-items: center;
1072
- flex-shrink: 0;
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;
982
+ }
983
+ .loading::before {
984
+ position: absolute;
985
+ content: "";
986
+ background: rgba(0, 0, 0, 0.5);
987
+ border-radius: 10px;
1073
988
  width: 100%;
989
+ height: 100%;
990
+ top: 0;
991
+ left: 0;
1074
992
  }
1075
- .tui-forward-list-item .info-nick {
1076
- padding: 0 13px;
1077
- font-family: PingFangSC-Medium;
1078
- font-style: normal;
1079
- font-weight: 400;
1080
- font-size: 14px;
1081
- line-height: 20px;
1082
- min-width: 180px;
1083
- max-width: 300px;
1084
- overflow: hidden;
1085
- white-space: nowrap;
1086
- text-overflow: ellipsis;
1087
- width: 80%;
993
+ .loading::after {
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;
1003
+ top: 0;
1004
+ left: 0;
1005
+ right: 0;
1006
+ bottom: 0;
1007
+ margin: auto;
1088
1008
  }
1089
- .tui-forward-footer {
1090
- background: rgba(249, 249, 249, 0.94);
1091
- padding: 13px 10px;
1092
- display: flex;
1093
- justify-content: space-between;
1094
- align-items: center;
1009
+ @keyframes spin {
1010
+ 0% {
1011
+ transform: rotate(0deg);
1012
+ }
1013
+ 100% {
1014
+ transform: rotate(360deg);
1015
+ }
1095
1016
  }
1096
- .tui-forward-footer .button {
1097
- cursor: pointer;
1098
- background: #0365F9;
1099
- border-radius: 31px;
1100
- padding: 10px 21px;
1101
- font-family: PingFangSC-Medium;
1102
- font-style: normal;
1103
- font-weight: 400;
1104
- font-size: 14px;
1105
- line-height: 20px;
1106
- color: #FFFFFF;
1107
- border: none;
1017
+
1018
+ .message-plugin {
1019
+ width: 32px;
1020
+ margin: 0 5px;
1108
1021
  }
1109
- .tui-forward-footer-name {
1110
- flex: 1;
1022
+ .message-plugin .icon-more {
1023
+ transform: scale(1.5);
1024
+ }
1025
+ .message-plugin .plugin-popup-box {
1026
+ bottom: auto;
1027
+ top: 100%;
1111
1028
  overflow: hidden;
1112
- word-break: break-all;
1113
- text-overflow: ellipsis;
1114
- display: -webkit-box;
1115
- -webkit-line-clamp: 3;
1116
- -webkit-box-orient: vertical;
1117
1029
  }
1118
-
1119
- .transmitter {
1120
- padding: 0 10px;
1030
+ .message-plugin-box {
1031
+ padding: 6px 0;
1121
1032
  }
1122
- .transmitter .icon-send {
1123
- transform: rotate(90deg);
1033
+ .message-plugin-item {
1034
+ min-width: 144px;
1035
+ padding: 6px 13px;
1036
+ display: flex;
1037
+ justify-content: space-between;
1038
+ align-items: center;
1039
+ font-weight: 500;
1040
+ font-size: 12.8px;
1041
+ font-family: PingFangSC-Medium;
1042
+ line-height: 15px;
1124
1043
  }
1125
-
1126
- .tui-message-input .tui-kit-input-box--focus {
1127
- outline: 1px solid #147AFF;
1044
+ .message-plugin-item:hover {
1045
+ background: rgba(0, 110, 255, 0.1);
1046
+ color: #147aff;
1128
1047
  }
1129
- .tui-message-input .input-box {
1130
- border: 1px solid #D3DAF3;
1131
- background: #FFFFFF;
1048
+ .message-plugin-item .del {
1049
+ color: #FF584C;
1132
1050
  }
1133
1051
 
1134
- .input-plugin-popup-box {
1135
- background: #FFFFFF;
1136
- box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
1137
- border-radius: 16px;
1138
- }
1139
- .tui-kit-avatar {
1052
+ .message-custom {
1140
1053
  display: flex;
1141
- align-items: center;
1142
- position: relative;
1143
- cursor: pointer;
1144
- flex-shrink: 0;
1054
+ word-break: break-all;
1145
1055
  }
1146
- .tui-kit-avatar.circle .avatar-image {
1147
- border-radius: 50%;
1056
+ .message-custom a {
1057
+ color: #679ce1;
1058
+ text-decoration: none;
1059
+ font-family: PingFangSC-Regular;
1060
+ font-style: normal;
1061
+ font-weight: 500;
1062
+ font-size: 14px;
1063
+ line-height: 17px;
1148
1064
  }
1149
- .tui-kit-avatar.square .avatar-image {
1150
- border-radius: 4px;
1065
+ .message-custom p {
1066
+ font-family: PingFangSC-Regular;
1067
+ font-size: 14px;
1068
+ font-style: normal;
1069
+ font-weight: 500;
1070
+ line-height: 17px;
1151
1071
  }
1152
- .tui-kit-avatar img {
1153
- width: 100%;
1154
- height: 100%;
1072
+
1073
+ .message-revoke {
1074
+ color: #999999;
1155
1075
  }
1156
- .tui-kit-avatar:hover .tui-kit-avatar-edit {
1076
+
1077
+ .message-audio {
1157
1078
  display: flex;
1079
+ align-items: center;
1158
1080
  }
1159
- .tui-kit-avatar-edit {
1160
- position: absolute;
1161
- top: 0;
1162
- left: 0;
1163
- background: rgba(0, 0, 0, 0.33);
1164
- width: 100%;
1165
- height: 100%;
1166
- border-radius: 100%;
1081
+ .message-audio .out {
1082
+ transform: rotate(180deg);
1083
+ }
1084
+ .message-audio-none {
1167
1085
  display: none;
1168
- justify-content: center;
1169
- align-items: center;
1170
1086
  }
1171
- .tui-kit-avatar-list {
1172
- position: absolute;
1173
- z-index: 2;
1174
- top: 100%;
1175
- background: #FFFFFF;
1176
- border-radius: 5px;
1177
- box-shadow: 0 11px 20px 0 rgb(0, 0, 0);
1087
+ .message-audio-content {
1178
1088
  display: flex;
1179
- flex-wrap: wrap;
1180
- justify-content: center;
1181
- width: 100%;
1182
- min-width: 200px;
1183
- max-width: 400px;
1184
- padding: 10px;
1089
+ align-items: center;
1090
+ gap: 10px;
1185
1091
  }
1186
- .tui-kit-avatar-list-item {
1187
- padding: 10px;
1092
+ .message-audio-out {
1093
+ flex-direction: row-reverse;
1188
1094
  }
1189
- .tui-kit-avatar-list-item img {
1190
- width: 40px;
1095
+ .message-audio .playing {
1096
+ animation: playingAnimation 1s ease-in-out infinite;
1191
1097
  }
1192
- .conversation-list-container {
1193
- overflow-x: hidden;
1194
- height: 100%;
1098
+ @keyframes playingAnimation {
1099
+ 0% {
1100
+ opacity: 1;
1101
+ }
1102
+ 50% {
1103
+ opacity: 0.3;
1104
+ }
1105
+ 100% {
1106
+ opacity: 1;
1107
+ }
1195
1108
  }
1196
1109
 
1197
- .conversation-preview-container {
1198
- display: flex;
1199
- align-items: center;
1200
- background-color: #FFFFFF;
1201
- border: none;
1202
- width: 100%;
1203
- height: 64px;
1204
- cursor: pointer;
1205
- line-height: 17px;
1206
- padding: 0 20px;
1110
+ .high-lighted {
1111
+ animation: highLightedAnimation 1s ease-in-out forwards;
1207
1112
  }
1208
- .conversation-preview-container .content {
1209
- flex: 1 1 auto;
1210
- text-align: left;
1211
- margin-left: 10px;
1212
- min-width: 0;
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
+ }
1213
1133
  }
1214
- .conversation-preview-container .content .title {
1215
- font-style: normal;
1216
- font-weight: 700;
1217
- font-size: 14px;
1218
- line-height: 17px;
1219
- font-family: PingFangSC-Medium;
1220
- padding: 1px 0;
1134
+ .progress-box {
1221
1135
  width: 100%;
1222
- color: #000;
1136
+ height: 5px;
1137
+ display: flex;
1138
+ justify-content: flex-start;
1223
1139
  }
1224
- .conversation-preview-container .content .message {
1225
- overflow: hidden;
1226
- text-overflow: ellipsis;
1227
- white-space: nowrap;
1228
- color: #7A7A7A;
1229
- font-family: PingFangSC-Medium;
1230
- font-style: normal;
1231
- font-weight: 400;
1232
- font-size: 12px;
1233
- line-height: 14px;
1234
- padding: 1px 0;
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);
1235
1147
  }
1236
- .conversation-preview-container .external {
1237
- text-align: right;
1238
- flex: 0 1 auto;
1239
- display: flex;
1240
- flex-direction: column;
1148
+
1149
+ .website {
1150
+ color: #147aff !important;
1241
1151
  }
1242
- .conversation-preview-container .external .unread {
1243
- height: 19px;
1244
- padding: 1px 0;
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);
1245
1156
  }
1246
- .conversation-preview-container .external .time {
1247
- color: #7A7A7A;
1248
- font-family: PingFangSC-Medium;
1249
- font-style: normal;
1250
- font-weight: 400;
1251
- font-size: 12px;
1252
- line-height: 14px;
1253
- padding: 1px 0;
1157
+ [data-uikit-theme=dark] .message-text,
1158
+ [data-uikit-theme=dark] .message-custom {
1159
+ border: 1px solid var(--chat-theme-dark-border-5);
1254
1160
  }
1255
- .conversation-preview-container .external .more--hover {
1256
- display: flex;
1257
- justify-content: flex-end;
1258
- flex: 1 1;
1161
+
1162
+ [data-uikit-theme=light] .bubble {
1163
+ background-color: var(--chat-theme-light-bg-primary);
1259
1164
  }
1260
- .conversation-preview-container .external .more--hover .icon-more {
1261
- transform: scale(1.5);
1165
+ [data-uikit-theme=dark] .bubble {
1166
+ background-color: var(--chat-theme-dark-bg-primary);
1262
1167
  }
1263
- .conversation-preview-container .external .more--hover .more-handle-box {
1264
- top: 0;
1265
- right: 0;
1266
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
1267
- bottom: initial;
1268
- padding: 14px 0;
1269
- box-sizing: border-box;
1270
- text-align: start;
1271
- white-space: nowrap;
1168
+ [data-uikit-theme=light] .bubble-out {
1169
+ border: none;
1170
+ background-color: var(--chat-theme-light-bg-secondary);
1272
1171
  }
1273
- .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item {
1274
- font-size: 16px;
1275
- font-family: PingFangSC-Medium;
1276
- line-height: 19px;
1277
- padding: 6px 16px;
1278
- cursor: pointer;
1279
- font-weight: 500;
1280
- box-sizing: border-box;
1172
+ [data-uikit-theme=dark] .bubble-out {
1173
+ border: none;
1174
+ background-color: var(--chat-theme-dark-bg-secondary);
1281
1175
  }
1282
- .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
1283
- background: #147AFF;
1284
- opacity: 0.6;
1285
- color: #FFFFFF !important;
1176
+
1177
+ .meesage-bubble-reply-out .meesage-bubble-reply-main .message-text {
1178
+ background: none;
1286
1179
  }
1287
- .conversation-preview-container:hover {
1288
- background-color: rgba(0, 110, 255, 0.1);
1180
+
1181
+ [data-uikit-theme=light] .message-tip {
1182
+ color: var(--chat-theme-light-text-secondary);
1289
1183
  }
1290
- .conversation-preview-container.conversation-preview-content--pin {
1291
- background-color: rgba(242, 242, 242, 0.831372549);
1184
+ [data-uikit-theme=dark] .message-tip {
1185
+ color: var(--chat-theme-dark-text-secondary);
1292
1186
  }
1293
- .conversation-preview-container.conversation-preview-content--active {
1294
- background-color: rgba(0, 110, 255, 0.1);
1187
+
1188
+ .tip .bubble .edit {
1189
+ color: #147aff;
1190
+ padding: 3px;
1295
1191
  }
1296
- .conversation-preview-container.conversation-preview-content--active .title {
1297
- color: rgb(20, 122, 255);
1192
+ .plugin {
1193
+ display: flex;
1194
+ align-items: center;
1195
+ height: 100%;
1196
+ padding: 0 8px;
1197
+ gap: 8px;
1298
1198
  }
1299
- .conversation-preview-container.conversation-preview-content--unread .unread {
1300
- width: 16px;
1301
- height: 13px;
1302
- background: #FF3742;
1303
- border-radius: 16px;
1199
+
1200
+ .plugin-popup {
1201
+ height: 100%;
1304
1202
  display: flex;
1305
- justify-content: center;
1306
1203
  align-items: center;
1307
- padding: 2px 5px 1px;
1308
- color: #FFFFFF;
1309
- font-size: 11px;
1310
- font-weight: 700;
1311
- margin: 2px 0 2px auto;
1204
+ position: relative;
1205
+ }
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);
1312
1228
  }
1313
1229
  .tui-chat-header {
1314
1230
  padding: 16px 20px;
@@ -1317,6 +1233,12 @@ ul li {
1317
1233
  justify-content: space-between;
1318
1234
  align-items: center;
1319
1235
  }
1236
+ [data-uikit-theme=light] .tui-chat-header {
1237
+ background-color: var(--chat-theme-light-bg-primary);
1238
+ }
1239
+ [data-uikit-theme=dark] .tui-chat-header {
1240
+ background-color: var(--chat-theme-dark-bg-primary);
1241
+ }
1320
1242
  .tui-chat-header-left {
1321
1243
  display: flex;
1322
1244
  align-items: center;
@@ -1333,7 +1255,12 @@ ul li {
1333
1255
  font-style: normal;
1334
1256
  font-weight: 700;
1335
1257
  font-size: 14px;
1336
- line-height: 17px;
1258
+ }
1259
+ [data-uikit-theme=light] .tui-chat-header .title {
1260
+ color: var(--chat-theme-light-text-primary);
1261
+ }
1262
+ [data-uikit-theme=dark] .tui-chat-header .title {
1263
+ color: var(--chat-theme-dark-text-primary);
1337
1264
  }
1338
1265
  .tui-chat-header .system {
1339
1266
  height: 32px;
@@ -1365,6 +1292,12 @@ ul li {
1365
1292
  position: relative;
1366
1293
  padding: 0 20px;
1367
1294
  }
1295
+ [data-uikit-theme=light] .message-list {
1296
+ background-color: var(--chat-theme-light-bg-primary);
1297
+ }
1298
+ [data-uikit-theme=dark] .message-list {
1299
+ background-color: var(--chat-theme-dark-bg-primary);
1300
+ }
1368
1301
  .message-list.hide {
1369
1302
  opacity: 0;
1370
1303
  }
@@ -1379,10 +1312,14 @@ ul li {
1379
1312
  font-style: normal;
1380
1313
  font-weight: 500;
1381
1314
  line-height: 17px;
1382
- color: #999999;
1315
+ }
1316
+ [data-uikit-theme=light] .message-list .no-more {
1317
+ color: var(--chat-theme-light-text-secondary);
1318
+ }
1319
+ [data-uikit-theme=dark] .message-list .no-more {
1320
+ color: var(--chat-theme-dark-text-secondary);
1383
1321
  }
1384
1322
  .message-list-time {
1385
- color: #7a7a7a;
1386
1323
  font-family: PingFangSC-Medium;
1387
1324
  font-size: 12px;
1388
1325
  font-weight: 400;
@@ -1390,31 +1327,33 @@ ul li {
1390
1327
  padding: 10px;
1391
1328
  text-align: center;
1392
1329
  }
1330
+ [data-uikit-theme=light] .message-list-time {
1331
+ color: var(--chat-theme-light-text-secondary);
1332
+ }
1333
+ [data-uikit-theme=dark] .message-list-time {
1334
+ color: var(--chat-theme-dark-text-secondary);
1335
+ }
1393
1336
  .tui-profile {
1394
1337
  display: flex;
1395
1338
  flex-direction: column;
1396
1339
  align-items: center;
1397
- width: 30%;
1398
- max-width: 360px;
1399
- min-width: 360px;
1400
- height: 100%;
1401
1340
  }
1402
1341
  .tui-profile-header {
1403
1342
  box-sizing: border-box;
1404
1343
  width: 100%;
1405
- padding: 16px 20px;
1344
+ padding: 15px;
1406
1345
  display: flex;
1407
1346
  align-items: center;
1408
- line-height: 32px;
1409
1347
  }
1410
1348
  .tui-profile-header h1 {
1349
+ font-size: 16px;
1411
1350
  font-weight: 600;
1412
1351
  padding: 0 11px;
1413
1352
  }
1414
1353
  .tui-profile-main {
1415
1354
  max-width: 100%;
1416
1355
  box-sizing: border-box;
1417
- padding: 20px;
1356
+ padding: 10px 10px 0;
1418
1357
  display: flex;
1419
1358
  flex-direction: column;
1420
1359
  align-items: center;
@@ -1438,24 +1377,28 @@ ul li {
1438
1377
  }
1439
1378
  .tui-profile-ID {
1440
1379
  padding: 6px 0;
1380
+ margin: 0;
1441
1381
  display: flex;
1442
1382
  align-items: center;
1443
1383
  font-weight: 400;
1444
1384
  font-size: 12px;
1445
1385
  font-family: PingFangSC-Medium;
1446
1386
  line-height: 14px;
1447
- color: #666666;
1387
+ color: #666;
1388
+ }
1389
+ .tui-profile-ID h5 {
1390
+ margin: 0;
1448
1391
  }
1449
1392
  .tui-profile-list {
1450
1393
  box-sizing: border-box;
1451
1394
  width: 100%;
1452
- padding: 0 20px;
1395
+ padding: 0 15px;
1453
1396
  display: flex;
1454
1397
  flex-direction: column;
1455
1398
  user-select: none;
1456
1399
  }
1457
1400
  .tui-profile-list-item {
1458
- padding: 20px 0 0;
1401
+ padding: 0;
1459
1402
  cursor: pointer;
1460
1403
  }
1461
1404
  .tui-profile-list-item h4 {
@@ -1464,11 +1407,12 @@ ul li {
1464
1407
  font-size: 16px;
1465
1408
  font-family: PingFangSC-Medium;
1466
1409
  line-height: 22px;
1410
+ margin: 10px 0;
1467
1411
  color: rgba(0, 0, 0, 0.6);
1468
1412
  }
1469
1413
  .tui-profile-div-with-edit {
1470
1414
  padding: 4px 0;
1471
- border-bottom: 1px solid #EEEEEE;
1415
+ border-bottom: 1px solid #eee;
1472
1416
  }
1473
1417
  .tui-profile-edit {
1474
1418
  border-bottom: none !important;
@@ -1482,7 +1426,7 @@ ul li {
1482
1426
  }
1483
1427
  .tui-profile-birthday .react-date-picker__calendar .react-calendar__navigation {
1484
1428
  height: 20px !important;
1485
- margin-bottom: 0px;
1429
+ margin-bottom: 0;
1486
1430
  }
1487
1431
  .tui-profile-birthday-calendar {
1488
1432
  border: none !important;
@@ -1525,7 +1469,7 @@ ul li {
1525
1469
  box-sizing: border-box;
1526
1470
  }
1527
1471
  .tui-kit-input-box.tui-kit-input-box--focus {
1528
- outline: 1px solid #147AFF;
1472
+ outline: 1px solid #147aff;
1529
1473
  }
1530
1474
  .tui-kit-input-box.tui-kit-input-border--bottom {
1531
1475
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
@@ -1544,6 +1488,7 @@ ul li {
1544
1488
  border-radius: 10px;
1545
1489
  border: none;
1546
1490
  box-sizing: border-box;
1491
+ font-size: 14px;
1547
1492
  }
1548
1493
  .tui-kit-input-box .tui-kit-input:focus {
1549
1494
  border: none;
@@ -1563,12 +1508,12 @@ ul li {
1563
1508
  border-left: 1px solid #f9fafb;
1564
1509
  }
1565
1510
  .tui-manage .red {
1566
- color: #FF584C !important;
1511
+ color: #ff584c !important;
1567
1512
  }
1568
1513
  .tui-manage .tui-manage-title {
1569
1514
  display: flex;
1570
1515
  align-items: center;
1571
- padding: 24px 20px;
1516
+ padding: 24px 10px;
1572
1517
  }
1573
1518
  .tui-manage .tui-manage-title span {
1574
1519
  margin-right: 10px;
@@ -1599,7 +1544,7 @@ ul li {
1599
1544
  font-size: 12px;
1600
1545
  font-family: PingFangSC-Medium;
1601
1546
  line-height: 14px;
1602
- color: #666666;
1547
+ color: #666;
1603
1548
  margin-bottom: 30px;
1604
1549
  text-align: center;
1605
1550
  }
@@ -1623,7 +1568,7 @@ ul li {
1623
1568
  }
1624
1569
 
1625
1570
  .tui-manage.tui-h5-manage {
1626
- border-left: 1px solid #f9fafb;
1571
+ border-left: none;
1627
1572
  display: flex;
1628
1573
  flex-direction: column;
1629
1574
  position: absolute;
@@ -1776,7 +1721,7 @@ ul li {
1776
1721
  .model {
1777
1722
  background: rgba(0, 0, 0, 0.5);
1778
1723
  position: fixed;
1779
- z-index: 2;
1724
+ z-index: 5;
1780
1725
  width: 100vw;
1781
1726
  top: 0;
1782
1727
  left: 0;