@tencentcloud/chat-uikit-react 2.2.5 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. package/.eslintrc.js +16 -12
  2. package/.lintstagedrc.json +1 -1
  3. package/CHANGELOG.md +18 -0
  4. package/dist/cjs/assets/fonts/iconfont.ttf +0 -0
  5. package/dist/cjs/assets/fonts/iconfont.woff +0 -0
  6. package/dist/cjs/assets/fonts/iconfont.woff2 +0 -0
  7. package/dist/cjs/components/Avatar/Avatar.d.ts +4 -4
  8. package/dist/cjs/components/Checkbox/index.d.ts +2 -2
  9. package/dist/cjs/components/ConversationCreate/ConversationCreatGroupDetail.js +1 -1
  10. package/dist/cjs/components/ConversationCreate/ConversationCreate.js +1 -1
  11. package/dist/cjs/components/ConversationCreate/ConversationCreateUserSelectList.js +1 -1
  12. package/dist/cjs/components/ConversationCreate/hooks/useConversationCreate.js +1 -1
  13. package/dist/cjs/components/ConversationPreview/ConversationListContainer.d.ts +2 -2
  14. package/dist/cjs/components/ConversationPreview/ConversationPreview.d.ts +8 -8
  15. package/dist/cjs/components/ConversationPreview/ConversationPreview.js +1 -1
  16. package/dist/cjs/components/ConversationPreview/ConversationPreviewContent.d.ts +2 -2
  17. package/dist/cjs/components/ConversationPreview/ConversationPreviewContent.js +1 -1
  18. package/dist/cjs/components/ConversationPreview/utils.js +1 -1
  19. package/dist/cjs/components/ConversationSearch/ConversationSearchResult.d.ts +3 -3
  20. package/dist/cjs/components/ConversationSearch/ConversationSearchResult.js +1 -1
  21. package/dist/cjs/components/Icon/Icon.d.ts +3 -3
  22. package/dist/cjs/components/Icon/config.js +1 -1
  23. package/dist/cjs/components/Icon/images/video-call.svg.js +1 -0
  24. package/dist/cjs/components/Icon/images/voice-call.svg.js +1 -0
  25. package/dist/cjs/components/Icon/type.d.ts +3 -1
  26. package/dist/cjs/components/Icon/type.js +1 -1
  27. package/dist/cjs/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +4 -4
  28. package/dist/cjs/components/Input/Input.d.ts +4 -4
  29. package/dist/cjs/components/Model/index.d.ts +2 -2
  30. package/dist/cjs/components/Plugins/index.d.ts +4 -4
  31. package/dist/cjs/components/Popup/index.d.ts +2 -2
  32. package/dist/cjs/components/Switch/Switch.d.ts +2 -2
  33. package/dist/cjs/components/TUIChat/TUIChat.d.ts +15 -14
  34. package/dist/cjs/components/TUIChat/TUIChat.js +1 -1
  35. package/dist/cjs/components/TUIChat/TUIChatState.js +1 -1
  36. package/dist/cjs/components/TUIChat/index.js +1 -0
  37. package/dist/cjs/components/TUIChat/server.js +1 -0
  38. package/dist/cjs/components/TUIChat/utils.js +1 -0
  39. package/dist/cjs/components/TUIChatHeader/TUIChatHeader.d.ts +6 -5
  40. package/dist/cjs/components/TUIChatHeader/TUIChatHeader.js +1 -1
  41. package/dist/cjs/components/TUIChatHeader/TUIChatHeaderDefault.d.ts +6 -5
  42. package/dist/cjs/components/TUIChatHeader/TUIChatHeaderDefault.js +1 -1
  43. package/dist/cjs/components/TUIContact/TUIContact.d.ts +3 -3
  44. package/dist/cjs/components/TUIContact/TUIContact.js +1 -1
  45. package/dist/cjs/components/TUIContact/TUIContactInfo/TUIContactInfo.d.ts +3 -3
  46. package/dist/cjs/components/TUIContact/TUIContactInfo/TUIContactInfo.js +1 -1
  47. package/dist/cjs/components/TUIContact/TUIContactInfo/basicInfo.js +1 -1
  48. package/dist/cjs/components/TUIContact/TUIContactInfo/blockInfo.js +1 -1
  49. package/dist/cjs/components/TUIContact/TUIContactInfo/friendApplication.js +1 -1
  50. package/dist/cjs/components/TUIContact/TUIContactInfo/friendInfo.js +1 -1
  51. package/dist/cjs/components/TUIContact/TUIContactInfo/groupInfo.js +1 -1
  52. package/dist/cjs/components/TUIContact/TUIContactInfo/hooks/useContactInfo.js +1 -1
  53. package/dist/cjs/components/TUIContact/TUIContactList/TUIContactList.d.ts +3 -3
  54. package/dist/cjs/components/TUIContact/TUIContactList/TUIContactList.js +1 -1
  55. package/dist/cjs/components/TUIContact/hooks/useTUIContact.js +1 -1
  56. package/dist/cjs/components/TUIContactSearch/TUIContactSearch.js +1 -1
  57. package/dist/cjs/components/TUIContactSearch/hooks/useContactSearch.js +1 -1
  58. package/dist/cjs/components/TUIConversation/TUIConversation.d.ts +2 -2
  59. package/dist/cjs/components/TUIConversationList/TUIConversationList.d.ts +6 -6
  60. package/dist/cjs/components/TUIConversationList/TUIConversationList.js +1 -1
  61. package/dist/cjs/components/TUIConversationList/hooks/useConversationUpdate.js +1 -1
  62. package/dist/cjs/components/TUIManage/TUIManage.d.ts +2 -2
  63. package/dist/cjs/components/TUIManage/TUIManage.js +1 -1
  64. package/dist/cjs/components/TUIMessage/MessageAudio.js +1 -1
  65. package/dist/cjs/components/TUIMessage/MessageAvatar.js +1 -1
  66. package/dist/cjs/components/TUIMessage/MessageBubble.js +1 -1
  67. package/dist/cjs/components/TUIMessage/MessageContext.d.ts +2 -2
  68. package/dist/cjs/components/TUIMessage/MessageContext.js +1 -1
  69. package/dist/cjs/components/TUIMessage/MessageCustom.js +1 -1
  70. package/dist/cjs/components/TUIMessage/MessageName.js +1 -1
  71. package/dist/cjs/components/TUIMessage/MessagePlugins.d.ts +4 -4
  72. package/dist/cjs/components/TUIMessage/MessagePlugins.js +1 -1
  73. package/dist/cjs/components/TUIMessage/MessageProgress.js +1 -1
  74. package/dist/cjs/components/TUIMessage/MessageRevoke.js +1 -1
  75. package/dist/cjs/components/TUIMessage/MessageStatus.js +1 -1
  76. package/dist/cjs/components/TUIMessage/MessageSystem.js +1 -1
  77. package/dist/cjs/components/TUIMessage/MessageText.js +1 -1
  78. package/dist/cjs/components/TUIMessage/MessageTip.js +1 -1
  79. package/dist/cjs/components/TUIMessage/TUIMessage.d.ts +19 -19
  80. package/dist/cjs/components/TUIMessage/TUIMessage.js +1 -1
  81. package/dist/cjs/components/TUIMessage/TUIMessageDefault.js +1 -1
  82. package/dist/cjs/components/TUIMessage/hooks/useMessageHandler.js +1 -1
  83. package/dist/cjs/components/TUIMessage/hooks/useMessageReply.js +1 -1
  84. package/dist/cjs/components/TUIMessage/utils/index.js +1 -1
  85. package/dist/cjs/components/TUIMessageInput/InputPluginsDefalut.d.ts +2 -2
  86. package/dist/cjs/components/TUIMessageInput/InputPluginsDefalut.js +1 -1
  87. package/dist/cjs/components/TUIMessageInput/InputQuoteDefalut.js +1 -1
  88. package/dist/cjs/components/TUIMessageInput/TUIForward.js +1 -1
  89. package/dist/cjs/components/TUIMessageInput/TUIMessageInput.d.ts +7 -7
  90. package/dist/cjs/components/TUIMessageInput/TUIMessageInput.js +1 -1
  91. package/dist/cjs/components/TUIMessageInput/TUIMessageInputDefault.d.ts +2 -2
  92. package/dist/cjs/components/TUIMessageInput/TUIMessageInputDefault.js +1 -1
  93. package/dist/cjs/components/TUIMessageInput/hooks/useHandleForwardMessage.js +1 -1
  94. package/dist/cjs/components/TUIMessageInput/hooks/useHandleQuoteMessage.js +1 -1
  95. package/dist/cjs/components/TUIMessageInput/hooks/useMessageInputText.js +1 -1
  96. package/dist/cjs/components/TUIMessageInput/hooks/useUploadPicker.js +1 -1
  97. package/dist/cjs/components/TUIMessageList/TUIMessageList.d.ts +2 -2
  98. package/dist/cjs/components/TUIMessageList/TUIMessageList.js +1 -1
  99. package/dist/cjs/components/TUIMessageList/hooks/useMessageListElement.js +1 -1
  100. package/dist/cjs/components/TUIProfile/TUIProfile.d.ts +3 -3
  101. package/dist/cjs/components/TUIProfile/TUIProfile.js +1 -1
  102. package/dist/cjs/components/TUIProfile/TUIProfileDefault.d.ts +2 -2
  103. package/dist/cjs/components/TUIProfile/TUIProfileDefault.js +1 -1
  104. package/dist/cjs/components/Toast/index.d.ts +2 -2
  105. package/dist/cjs/components/{untils.js → utils.js} +1 -1
  106. package/dist/cjs/context/ComponentContext.d.ts +12 -12
  107. package/dist/cjs/context/LanguageContext.js +1 -0
  108. package/dist/cjs/context/TUIChatActionContext.d.ts +5 -4
  109. package/dist/cjs/context/TUIChatStateContext.d.ts +5 -5
  110. package/dist/cjs/context/TUIContactContext.d.ts +4 -4
  111. package/dist/cjs/context/TUIConversationContext.js +1 -1
  112. package/dist/cjs/context/TUIMessageContext.d.ts +17 -17
  113. package/dist/cjs/context/TUIMessageInputContext.d.ts +4 -4
  114. package/dist/cjs/context/ThemeContext.js +1 -0
  115. package/dist/cjs/context/UIKitContext.d.ts +25 -0
  116. package/dist/cjs/context/UIKitContext.js +1 -0
  117. package/dist/cjs/context/UIManagerContext.d.ts +46 -0
  118. package/dist/cjs/context/UIManagerContext.js +1 -0
  119. package/dist/cjs/hooks/useConversation.d.ts +2 -2
  120. package/dist/cjs/index.css +1 -2
  121. package/dist/cjs/index.d.css +1345 -1547
  122. package/dist/cjs/index.d.ts +2 -4
  123. package/dist/cjs/index.js +1 -1
  124. package/dist/cjs/locales/en-US/index.js +1 -1
  125. package/dist/cjs/locales/index.js +1 -1
  126. package/dist/cjs/locales/zh-CN/index.js +1 -1
  127. package/dist/cjs/locales/zh-TW/TUIChat.js +1 -0
  128. package/dist/cjs/locales/zh-TW/TUIContact.js +1 -0
  129. package/dist/cjs/locales/zh-TW/TUIConversation.js +1 -0
  130. package/dist/cjs/locales/zh-TW/TUIProfile.js +1 -0
  131. package/dist/cjs/locales/zh-TW/index.js +1 -0
  132. package/dist/esm/assets/fonts/iconfont.ttf +0 -0
  133. package/dist/esm/assets/fonts/iconfont.woff +0 -0
  134. package/dist/esm/assets/fonts/iconfont.woff2 +0 -0
  135. package/dist/esm/components/Avatar/Avatar.d.ts +4 -4
  136. package/dist/esm/components/Checkbox/index.d.ts +2 -2
  137. package/dist/esm/components/ConversationCreate/ConversationCreatGroupDetail.js +1 -1
  138. package/dist/esm/components/ConversationCreate/ConversationCreate.js +1 -1
  139. package/dist/esm/components/ConversationCreate/ConversationCreateUserSelectList.js +1 -1
  140. package/dist/esm/components/ConversationCreate/hooks/useConversationCreate.js +1 -1
  141. package/dist/esm/components/ConversationPreview/ConversationListContainer.d.ts +2 -2
  142. package/dist/esm/components/ConversationPreview/ConversationPreview.d.ts +8 -8
  143. package/dist/esm/components/ConversationPreview/ConversationPreview.js +1 -1
  144. package/dist/esm/components/ConversationPreview/ConversationPreviewContent.d.ts +2 -2
  145. package/dist/esm/components/ConversationPreview/ConversationPreviewContent.js +1 -1
  146. package/dist/esm/components/ConversationPreview/utils.js +1 -1
  147. package/dist/esm/components/ConversationSearch/ConversationSearchResult.d.ts +3 -3
  148. package/dist/esm/components/ConversationSearch/ConversationSearchResult.js +1 -1
  149. package/dist/esm/components/Icon/Icon.d.ts +3 -3
  150. package/dist/esm/components/Icon/config.js +1 -1
  151. package/dist/esm/components/Icon/images/video-call.svg.js +1 -0
  152. package/dist/esm/components/Icon/images/voice-call.svg.js +1 -0
  153. package/dist/esm/components/Icon/type.d.ts +3 -1
  154. package/dist/esm/components/Icon/type.js +1 -1
  155. package/dist/esm/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +4 -4
  156. package/dist/esm/components/Input/Input.d.ts +4 -4
  157. package/dist/esm/components/Model/index.d.ts +2 -2
  158. package/dist/esm/components/Plugins/index.d.ts +4 -4
  159. package/dist/esm/components/Popup/index.d.ts +2 -2
  160. package/dist/esm/components/Switch/Switch.d.ts +2 -2
  161. package/dist/esm/components/TUIChat/TUIChat.d.ts +15 -14
  162. package/dist/esm/components/TUIChat/TUIChat.js +1 -1
  163. package/dist/esm/components/TUIChat/TUIChatState.js +1 -1
  164. package/dist/esm/components/TUIChat/index.js +1 -0
  165. package/dist/esm/components/TUIChat/server.js +1 -0
  166. package/dist/esm/components/TUIChat/utils.js +1 -0
  167. package/dist/esm/components/TUIChatHeader/TUIChatHeader.d.ts +6 -5
  168. package/dist/esm/components/TUIChatHeader/TUIChatHeader.js +1 -1
  169. package/dist/esm/components/TUIChatHeader/TUIChatHeaderDefault.d.ts +6 -5
  170. package/dist/esm/components/TUIChatHeader/TUIChatHeaderDefault.js +1 -1
  171. package/dist/esm/components/TUIContact/TUIContact.d.ts +3 -3
  172. package/dist/esm/components/TUIContact/TUIContact.js +1 -1
  173. package/dist/esm/components/TUIContact/TUIContactInfo/TUIContactInfo.d.ts +3 -3
  174. package/dist/esm/components/TUIContact/TUIContactInfo/TUIContactInfo.js +1 -1
  175. package/dist/esm/components/TUIContact/TUIContactInfo/basicInfo.js +1 -1
  176. package/dist/esm/components/TUIContact/TUIContactInfo/blockInfo.js +1 -1
  177. package/dist/esm/components/TUIContact/TUIContactInfo/friendApplication.js +1 -1
  178. package/dist/esm/components/TUIContact/TUIContactInfo/friendInfo.js +1 -1
  179. package/dist/esm/components/TUIContact/TUIContactInfo/groupInfo.js +1 -1
  180. package/dist/esm/components/TUIContact/TUIContactInfo/hooks/useContactInfo.js +1 -1
  181. package/dist/esm/components/TUIContact/TUIContactList/TUIContactList.d.ts +3 -3
  182. package/dist/esm/components/TUIContact/TUIContactList/TUIContactList.js +1 -1
  183. package/dist/esm/components/TUIContact/hooks/useTUIContact.js +1 -1
  184. package/dist/esm/components/TUIContactSearch/TUIContactSearch.js +1 -1
  185. package/dist/esm/components/TUIContactSearch/hooks/useContactSearch.js +1 -1
  186. package/dist/esm/components/TUIConversation/TUIConversation.d.ts +2 -2
  187. package/dist/esm/components/TUIConversationList/TUIConversationList.d.ts +6 -6
  188. package/dist/esm/components/TUIConversationList/TUIConversationList.js +1 -1
  189. package/dist/esm/components/TUIConversationList/hooks/useConversationUpdate.js +1 -1
  190. package/dist/esm/components/TUIManage/TUIManage.d.ts +2 -2
  191. package/dist/esm/components/TUIManage/TUIManage.js +1 -1
  192. package/dist/esm/components/TUIMessage/MessageAudio.js +1 -1
  193. package/dist/esm/components/TUIMessage/MessageAvatar.js +1 -1
  194. package/dist/esm/components/TUIMessage/MessageBubble.js +1 -1
  195. package/dist/esm/components/TUIMessage/MessageContext.d.ts +2 -2
  196. package/dist/esm/components/TUIMessage/MessageContext.js +1 -1
  197. package/dist/esm/components/TUIMessage/MessageCustom.js +1 -1
  198. package/dist/esm/components/TUIMessage/MessageName.js +1 -1
  199. package/dist/esm/components/TUIMessage/MessagePlugins.d.ts +4 -4
  200. package/dist/esm/components/TUIMessage/MessagePlugins.js +1 -1
  201. package/dist/esm/components/TUIMessage/MessageProgress.js +1 -1
  202. package/dist/esm/components/TUIMessage/MessageRevoke.js +1 -1
  203. package/dist/esm/components/TUIMessage/MessageStatus.js +1 -1
  204. package/dist/esm/components/TUIMessage/MessageSystem.js +1 -1
  205. package/dist/esm/components/TUIMessage/MessageText.js +1 -1
  206. package/dist/esm/components/TUIMessage/MessageTip.js +1 -1
  207. package/dist/esm/components/TUIMessage/TUIMessage.d.ts +19 -19
  208. package/dist/esm/components/TUIMessage/TUIMessage.js +1 -1
  209. package/dist/esm/components/TUIMessage/TUIMessageDefault.js +1 -1
  210. package/dist/esm/components/TUIMessage/hooks/useMessageHandler.js +1 -1
  211. package/dist/esm/components/TUIMessage/hooks/useMessageReply.js +1 -1
  212. package/dist/esm/components/TUIMessage/utils/index.js +1 -1
  213. package/dist/esm/components/TUIMessageInput/InputPluginsDefalut.d.ts +2 -2
  214. package/dist/esm/components/TUIMessageInput/InputPluginsDefalut.js +1 -1
  215. package/dist/esm/components/TUIMessageInput/InputQuoteDefalut.js +1 -1
  216. package/dist/esm/components/TUIMessageInput/TUIForward.js +1 -1
  217. package/dist/esm/components/TUIMessageInput/TUIMessageInput.d.ts +7 -7
  218. package/dist/esm/components/TUIMessageInput/TUIMessageInput.js +1 -1
  219. package/dist/esm/components/TUIMessageInput/TUIMessageInputDefault.d.ts +2 -2
  220. package/dist/esm/components/TUIMessageInput/TUIMessageInputDefault.js +1 -1
  221. package/dist/esm/components/TUIMessageInput/hooks/useHandleForwardMessage.js +1 -1
  222. package/dist/esm/components/TUIMessageInput/hooks/useHandleQuoteMessage.js +1 -1
  223. package/dist/esm/components/TUIMessageInput/hooks/useMessageInputText.js +1 -1
  224. package/dist/esm/components/TUIMessageInput/hooks/useUploadPicker.js +1 -1
  225. package/dist/esm/components/TUIMessageList/TUIMessageList.d.ts +2 -2
  226. package/dist/esm/components/TUIMessageList/TUIMessageList.js +1 -1
  227. package/dist/esm/components/TUIMessageList/hooks/useMessageListElement.js +1 -1
  228. package/dist/esm/components/TUIProfile/TUIProfile.d.ts +3 -3
  229. package/dist/esm/components/TUIProfile/TUIProfile.js +1 -1
  230. package/dist/esm/components/TUIProfile/TUIProfileDefault.d.ts +2 -2
  231. package/dist/esm/components/TUIProfile/TUIProfileDefault.js +1 -1
  232. package/dist/esm/components/Toast/index.d.ts +2 -2
  233. package/dist/esm/components/utils.js +1 -0
  234. package/dist/esm/context/ComponentContext.d.ts +12 -12
  235. package/dist/esm/context/LanguageContext.js +1 -0
  236. package/dist/esm/context/TUIChatActionContext.d.ts +5 -4
  237. package/dist/esm/context/TUIChatStateContext.d.ts +5 -5
  238. package/dist/esm/context/TUIContactContext.d.ts +4 -4
  239. package/dist/esm/context/TUIConversationContext.js +1 -1
  240. package/dist/esm/context/TUIMessageContext.d.ts +17 -17
  241. package/dist/esm/context/TUIMessageInputContext.d.ts +4 -4
  242. package/dist/esm/context/ThemeContext.js +1 -0
  243. package/dist/esm/context/UIKitContext.d.ts +25 -0
  244. package/dist/esm/context/UIKitContext.js +1 -0
  245. package/dist/esm/context/UIManagerContext.d.ts +46 -0
  246. package/dist/esm/context/UIManagerContext.js +1 -0
  247. package/dist/esm/hooks/useConversation.d.ts +2 -2
  248. package/dist/esm/index.css +1 -2
  249. package/dist/esm/index.d.css +1345 -1547
  250. package/dist/esm/index.d.ts +2 -4
  251. package/dist/esm/index.js +1 -1
  252. package/dist/esm/locales/en-US/index.js +1 -1
  253. package/dist/esm/locales/index.js +1 -1
  254. package/dist/esm/locales/zh-CN/index.js +1 -1
  255. package/dist/esm/locales/zh-TW/TUIChat.js +1 -0
  256. package/dist/esm/locales/zh-TW/TUIContact.js +1 -0
  257. package/dist/esm/locales/zh-TW/TUIConversation.js +1 -0
  258. package/dist/esm/locales/zh-TW/TUIProfile.js +1 -0
  259. package/dist/esm/locales/zh-TW/index.js +1 -0
  260. package/package.json +5 -3
  261. package/rollup.config.js +1 -1
  262. package/src/assets/fonts/iconfont.ttf +0 -0
  263. package/src/assets/fonts/iconfont.woff +0 -0
  264. package/src/assets/fonts/iconfont.woff2 +0 -0
  265. package/src/components/Avatar/styles/index.scss +11 -4
  266. package/src/components/Checkbox/styles/color.scss +17 -6
  267. package/src/components/ConversationCreate/ConversationCreatGroupDetail.tsx +4 -4
  268. package/src/components/ConversationCreate/ConversationCreate.tsx +2 -2
  269. package/src/components/ConversationCreate/ConversationCreateUserSelectList.tsx +3 -2
  270. package/src/components/ConversationCreate/hooks/useConversationCreate.tsx +5 -5
  271. package/src/components/ConversationCreate/styles/ConversationCreatGroupDetail.scss +7 -16
  272. package/src/components/ConversationCreate/styles/conversationCreateSelectView.scss +13 -8
  273. package/src/components/ConversationCreate/styles/conversationGroupTypeInfo.scss +20 -21
  274. package/src/components/ConversationCreate/styles/index.scss +30 -17
  275. package/src/components/ConversationPreview/ConversationPreview.tsx +21 -21
  276. package/src/components/ConversationPreview/ConversationPreviewContent.tsx +4 -2
  277. package/src/components/ConversationPreview/styles/index.scss +20 -20
  278. package/src/components/ConversationPreview/utils.tsx +3 -2
  279. package/src/components/DivWithEdit/styles/index.scss +30 -10
  280. package/src/components/Icon/config.ts +14 -4
  281. package/src/components/Icon/images/video-call.svg +3 -0
  282. package/src/components/Icon/images/voice-call.svg +3 -0
  283. package/src/components/Icon/type.ts +2 -0
  284. package/src/components/Input/styles/index.scss +22 -6
  285. package/src/components/Plugins/styles/color.scss +3 -11
  286. package/src/components/Profile/styles/index.scss +12 -3
  287. package/src/components/TUIChat/TUIChat.tsx +40 -35
  288. package/src/components/TUIChat/TUIChatState.tsx +41 -41
  289. package/src/components/TUIChat/index.ts +3 -0
  290. package/src/components/TUIChat/server.ts +44 -0
  291. package/src/components/TUIChat/styles/layout.scss +7 -2
  292. package/src/components/TUIChat/utils.ts +72 -0
  293. package/src/components/TUIChatHeader/TUIChatHeader.tsx +10 -7
  294. package/src/components/TUIChatHeader/TUIChatHeaderDefault.tsx +74 -31
  295. package/src/components/TUIChatHeader/styles/layout.scss +16 -9
  296. package/src/components/TUIContact/TUIContact.tsx +2 -2
  297. package/src/components/TUIContact/TUIContactInfo/TUIContactInfo.tsx +2 -2
  298. package/src/components/TUIContact/TUIContactInfo/basicInfo.tsx +2 -2
  299. package/src/components/TUIContact/TUIContactInfo/blockInfo.tsx +2 -2
  300. package/src/components/TUIContact/TUIContactInfo/friendApplication.tsx +2 -2
  301. package/src/components/TUIContact/TUIContactInfo/friendInfo.tsx +4 -3
  302. package/src/components/TUIContact/TUIContactInfo/groupInfo.tsx +3 -3
  303. package/src/components/TUIContact/TUIContactInfo/hooks/useContactInfo.tsx +2 -2
  304. package/src/components/TUIContact/TUIContactInfo/index.scss +44 -21
  305. package/src/components/TUIContact/TUIContactList/TUIContactList.tsx +80 -76
  306. package/src/components/TUIContact/TUIContactList/index.scss +40 -20
  307. package/src/components/TUIContact/hooks/useTUIContact.tsx +5 -5
  308. package/src/components/TUIContact/index.scss +30 -11
  309. package/src/components/TUIContactSearch/TUIContactSearch.tsx +2 -2
  310. package/src/components/TUIContactSearch/hooks/useContactSearch.tsx +2 -2
  311. package/src/components/TUIContactSearch/index.scss +12 -3
  312. package/src/components/TUIConversationList/TUIConversationList.tsx +3 -4
  313. package/src/components/TUIConversationList/hooks/useConversationUpdate.tsx +2 -2
  314. package/src/components/TUIConversationList/index.scss +3 -4
  315. package/src/components/TUIManage/TUIManage.tsx +3 -3
  316. package/src/components/TUIManage/styles/index.scss +20 -14
  317. package/src/components/TUIMessage/MessageAvatar.tsx +7 -7
  318. package/src/components/TUIMessage/MessageBubble.tsx +22 -21
  319. package/src/components/TUIMessage/MessageCustom.tsx +26 -5
  320. package/src/components/TUIMessage/MessageStatus.tsx +7 -7
  321. package/src/components/TUIMessage/MessageText.tsx +16 -15
  322. package/src/components/TUIMessage/hooks/useMessageHandler.ts +8 -8
  323. package/src/components/TUIMessage/hooks/useMessageReply.ts +8 -7
  324. package/src/components/TUIMessage/styles/color.scss +6 -5
  325. package/src/components/TUIMessage/styles/layout.scss +111 -42
  326. package/src/components/TUIMessage/utils/index.ts +23 -12
  327. package/src/components/TUIMessageInput/InputPluginsDefalut.tsx +12 -12
  328. package/src/components/TUIMessageInput/TUIMessageInput.tsx +1 -1
  329. package/src/components/TUIMessageInput/hooks/useHandleForwardMessage.tsx +7 -6
  330. package/src/components/TUIMessageInput/hooks/useMessageInputText.tsx +14 -14
  331. package/src/components/TUIMessageInput/hooks/useUploadPicker.tsx +4 -4
  332. package/src/components/TUIMessageInput/styles/color.scss +15 -11
  333. package/src/components/TUIMessageInput/styles/layout.scss +33 -17
  334. package/src/components/TUIMessageList/hooks/useMessageListElement.tsx +15 -11
  335. package/src/components/TUIMessageList/styles/layout.scss +16 -9
  336. package/src/components/TUIProfile/TUIProfile.tsx +3 -3
  337. package/src/components/TUIProfile/TUIProfileDefault.tsx +14 -13
  338. package/src/components/TUIProfile/styles/color.scss +6 -5
  339. package/src/components/TUIProfile/styles/layout.scss +16 -14
  340. package/src/components/index.ts +0 -1
  341. package/src/components/{untils.ts → utils.ts} +5 -4
  342. package/src/context/LanguageContext.tsx +60 -0
  343. package/src/context/TUIChatActionContext.tsx +14 -13
  344. package/src/context/ThemeContext.tsx +68 -0
  345. package/src/context/UIKitContext.tsx +76 -0
  346. package/src/context/UIManagerContext.tsx +163 -0
  347. package/src/context/index.ts +3 -2
  348. package/src/locales/en-US/index.ts +0 -3
  349. package/src/locales/index.ts +6 -2
  350. package/src/locales/zh-CN/index.ts +0 -2
  351. package/src/locales/zh-TW/TUIChat.ts +27 -0
  352. package/src/locales/zh-TW/TUIContact.ts +29 -0
  353. package/src/locales/zh-TW/TUIConversation.ts +32 -0
  354. package/src/locales/zh-TW/TUIProfile.ts +15 -0
  355. package/src/locales/zh-TW/index.ts +11 -0
  356. package/src/styles/colors/_color-dark.scss +31 -21
  357. package/src/styles/colors/_color-light.scss +31 -21
  358. package/src/styles/colors/_color-theme.scss +33 -22
  359. package/src/styles/normalize.scss +6 -0
  360. package/dist/cjs/components/Icon/images/chats-selected.svg.js +0 -1
  361. package/dist/cjs/components/Icon/images/chats.svg.js +0 -1
  362. package/dist/cjs/components/Icon/images/contacts-selected.svg.js +0 -1
  363. package/dist/cjs/components/Icon/images/contacts.svg.js +0 -1
  364. package/dist/cjs/components/Icon/images/down-arrow.png.js +0 -1
  365. package/dist/cjs/components/Icon/images/right-arrow.svg.js +0 -1
  366. package/dist/cjs/components/TUIChat/unitls.js +0 -1
  367. package/dist/cjs/components/TUIKit/TUIKit.d.ts +0 -12
  368. package/dist/cjs/components/TUIKit/TUIKit.js +0 -1
  369. package/dist/cjs/components/TUIKit/hooks/useCreateTUIKitContext.d.ts +0 -21
  370. package/dist/cjs/components/TUIKit/hooks/useCreateTUIKitContext.js +0 -1
  371. package/dist/cjs/components/TUIKit/hooks/useTUIKit.d.ts +0 -43
  372. package/dist/cjs/components/TUIKit/hooks/useTUIKit.js +0 -1
  373. package/dist/cjs/context/TUIKitContext.d.ts +0 -25
  374. package/dist/cjs/context/TUIKitContext.js +0 -1
  375. package/dist/esm/components/Icon/images/chats-selected.svg.js +0 -1
  376. package/dist/esm/components/Icon/images/chats.svg.js +0 -1
  377. package/dist/esm/components/Icon/images/contacts-selected.svg.js +0 -1
  378. package/dist/esm/components/Icon/images/contacts.svg.js +0 -1
  379. package/dist/esm/components/Icon/images/down-arrow.png.js +0 -1
  380. package/dist/esm/components/Icon/images/right-arrow.svg.js +0 -1
  381. package/dist/esm/components/TUIChat/unitls.js +0 -1
  382. package/dist/esm/components/TUIKit/TUIKit.d.ts +0 -12
  383. package/dist/esm/components/TUIKit/TUIKit.js +0 -1
  384. package/dist/esm/components/TUIKit/hooks/useCreateTUIKitContext.d.ts +0 -21
  385. package/dist/esm/components/TUIKit/hooks/useCreateTUIKitContext.js +0 -1
  386. package/dist/esm/components/TUIKit/hooks/useTUIKit.d.ts +0 -43
  387. package/dist/esm/components/TUIKit/hooks/useTUIKit.js +0 -1
  388. package/dist/esm/components/untils.js +0 -1
  389. package/dist/esm/context/TUIKitContext.d.ts +0 -25
  390. package/dist/esm/context/TUIKitContext.js +0 -1
  391. package/scripts/publish-github.js +0 -60
  392. package/scripts/publish-intl-demo.js +0 -14
  393. package/scripts/publish-intl-experience-demo.js +0 -14
  394. package/src/components/TUIChat/unitls.ts +0 -39
  395. package/src/components/TUIKit/TUIKit.tsx +0 -229
  396. package/src/components/TUIKit/hooks/useCreateTUIKitContext.tsx +0 -48
  397. package/src/components/TUIKit/hooks/useTUIKit.tsx +0 -99
  398. package/src/components/TUIKit/index.ts +0 -3
  399. package/src/components/TUIKit/styles/h5.scss +0 -34
  400. package/src/components/TUIKit/styles/index.scss +0 -132
  401. package/src/context/TUIKitContext.tsx +0 -44
  402. package/src/locales/en-US/TUIGlobal.ts +0 -6
  403. package/src/locales/ja-JP/TUIGlobal.ts +0 -6
  404. package/src/locales/ko-KR/TUIGlobal.ts +0 -6
  405. package/src/locales/zh-CN/TUIGlobal.ts +0 -6
@@ -1,942 +1,1068 @@
1
- .tui-kit {
2
- position: relative;
1
+ .tui-conversation {
2
+ flex: 1 1 auto;
3
+ min-width: 0;
3
4
  display: flex;
4
- width: 100%;
5
- height: 100%;
5
+ flex-direction: column;
6
+ position: relative;
6
7
  text-align: initial;
8
+ overflow: auto;
7
9
  }
8
- [data-chat-theme=light] .tui-kit {
9
- background-color: var(--chat-theme-light-bg-primary);
10
- }
11
- [data-chat-theme=dark] .tui-kit {
12
- background-color: var(--chat-theme-dark-bg-primary);
13
- }
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;
10
+ [data-uikit-theme=light] .tui-conversation {
11
+ background-color: var(--uikit-theme-light-bg-color-operate);
12
+ transition: background-color 0.3s ease-in-out;
24
13
  }
25
- .sample-chat-profile {
26
- position: absolute;
27
- top: 0;
28
- z-index: 1;
29
- width: 100%;
30
- height: 100%;
14
+ [data-uikit-theme=dark] .tui-conversation {
15
+ background-color: var(--uikit-theme-dark-bg-color-operate);
16
+ transition: background-color 0.3s ease-in-out;
31
17
  }
32
- .sample-chat-left-container {
33
- max-width: 360px;
34
- min-width: 360px;
18
+ .tui-conversation .tui-conversation-header {
35
19
  display: flex;
36
- flex-direction: column;
37
- position: relative;
20
+ padding: 10px 20px;
38
21
  }
39
- .sample-chat-tab {
22
+ .tui-conversation .tui-conversation-header .tui-conversation-create-icon {
40
23
  display: flex;
41
24
  align-items: center;
42
- justify-content: space-around;
43
- margin: 12px;
25
+ justify-content: center;
26
+ margin-left: 10px;
44
27
  }
45
- .sample-chat-tab-container {
28
+ .tui-conversation .no-result {
29
+ padding: 0 20px;
46
30
  display: flex;
47
31
  flex-direction: column;
48
32
  align-items: center;
49
- justify-content: center;
50
- cursor: pointer;
51
33
  }
52
- .sample-chat-tab-text {
53
- font-size: 15px;
54
- line-height: 25px;
55
- text-align: center;
34
+ .tui-conversation .no-result-icon {
35
+ margin: 100px auto 50px;
56
36
  }
57
- .sample-chat-tab-active {
58
- color: #147aff;
37
+ .tui-conversation .no-result-message {
38
+ color: #999;
39
+ font-weight: 400;
40
+ font-size: 16px;
41
+ font-family: PingFangSC-Medium;
42
+ line-height: 22px;
59
43
  }
60
44
 
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);
45
+ .tui-conversation-h5 .tui-conversation-header {
46
+ padding: 10px;
67
47
  }
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;
48
+ .tui-conversation-h5 .conversation-list-container .conversation-preview-container {
49
+ padding: 0 10px;
76
50
  }
77
- .tui-chat-default header {
51
+ .tui-kit-avatar {
78
52
  display: flex;
79
53
  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;
54
+ position: relative;
55
+ cursor: pointer;
56
+ flex-shrink: 0;
119
57
  }
120
- .App {
121
- height: 100%;
58
+ .tui-kit-avatar.circle .avatar-image {
59
+ border-radius: 50%;
122
60
  }
123
-
124
- #root {
125
- width: 100%;
126
- height: 100%;
127
- margin: 0;
61
+ .tui-kit-avatar.square .avatar-image {
62
+ border-radius: 4px;
128
63
  }
129
-
130
- .sample-chat-h5 {
131
- position: relative;
64
+ .tui-kit-avatar img {
132
65
  width: 100%;
133
66
  height: 100%;
134
- overflow: hidden;
135
67
  }
136
- .sample-chat-h5-container {
68
+ .tui-kit-avatar:hover .tui-kit-avatar-edit {
137
69
  display: flex;
138
- flex-direction: column;
70
+ }
71
+ .tui-kit-avatar-edit {
72
+ position: absolute;
73
+ top: 0;
74
+ left: 0;
75
+ background: rgba(0, 0, 0, 0.33);
139
76
  width: 100%;
140
77
  height: 100%;
78
+ border-radius: 100%;
79
+ display: none;
80
+ justify-content: center;
81
+ align-items: center;
141
82
  }
142
- .sample-chat-h5-container .sample-profile {
83
+ .tui-kit-avatar-list {
143
84
  position: absolute;
144
- top: 0;
145
- z-index: 1;
85
+ z-index: 2;
86
+ top: 100%;
87
+ background: #fff;
88
+ border-radius: 5px;
89
+ box-shadow: 0 11px 20px 0 rgb(0, 0, 0);
90
+ display: flex;
91
+ flex-wrap: wrap;
92
+ justify-content: center;
146
93
  width: 100%;
147
- max-width: 100%;
148
- min-width: 100%;
94
+ min-width: 200px;
95
+ max-width: 400px;
96
+ padding: 10px;
149
97
  }
150
- .sample-chat-h5-container .tui-kit-input-box.tui-kit-input-box--focus {
151
- outline: none;
98
+ .tui-kit-avatar-list-item {
99
+ padding: 10px;
152
100
  }
153
- .sample-chat-h5 .tui-message-input .tui-kit-input-box--focus {
154
- outline: none;
101
+ .tui-kit-avatar-list-item img {
102
+ width: 40px;
155
103
  }
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 */
104
+ .conversation-list-container {
105
+ overflow-x: hidden;
106
+ height: 100%;
166
107
  }
167
108
 
168
- /* Sections
169
- ========================================================================== */
170
- /**
171
- * Remove the margin in all browsers.
172
- */
173
- body {
174
- margin: 0;
109
+ .conversation-preview-container {
110
+ display: flex;
111
+ align-items: center;
112
+ border: none;
113
+ width: 100%;
114
+ height: 64px;
115
+ cursor: pointer;
116
+ line-height: 17px;
117
+ padding: 0 20px;
175
118
  }
176
-
177
- /**
178
- * Render the `main` element consistently in IE.
179
- */
180
- main {
181
- display: block;
119
+ [data-uikit-theme=light] .conversation-preview-container {
120
+ background-color: var(--uikit-theme-light-bg-color-operate);
121
+ transition: background-color 0.3s ease-in-out;
182
122
  }
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;
123
+ [data-uikit-theme=dark] .conversation-preview-container {
124
+ background-color: var(--uikit-theme-dark-bg-color-operate);
125
+ transition: background-color 0.3s ease-in-out;
191
126
  }
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 */
127
+ .conversation-preview-container .content {
128
+ flex: 1 1 auto;
129
+ text-align: left;
130
+ margin-left: 10px;
131
+ min-width: 0;
203
132
  }
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 */
133
+ .conversation-preview-container .content .title {
134
+ font-style: normal;
135
+ font-weight: 700;
136
+ font-size: 14px;
137
+ line-height: 17px;
138
+ font-family: PingFangSC-Medium;
139
+ padding: 1px 0;
140
+ width: 100%;
213
141
  }
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;
142
+ [data-uikit-theme=light] .conversation-preview-container .content .title {
143
+ color: var(--uikit-theme-light-text-color-primary);
144
+ transition: background-color 0.3s ease-in-out;
222
145
  }
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 */
146
+ [data-uikit-theme=dark] .conversation-preview-container .content .title {
147
+ color: var(--uikit-theme-dark-text-color-primary);
148
+ transition: background-color 0.3s ease-in-out;
232
149
  }
233
-
234
- /**
235
- * Add the correct font weight in Chrome, Edge, and Safari.
236
- */
237
- b,
238
- strong {
239
- font-weight: bolder;
150
+ .conversation-preview-container .content .message {
151
+ overflow: hidden;
152
+ text-overflow: ellipsis;
153
+ white-space: nowrap;
154
+ font-family: PingFangSC-Medium;
155
+ font-style: normal;
156
+ font-weight: 400;
157
+ font-size: 12px;
158
+ line-height: 14px;
159
+ padding: 1px 0;
240
160
  }
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 */
161
+ [data-uikit-theme=light] .conversation-preview-container .content .message {
162
+ color: var(--uikit-theme-light-text-color-secondary);
163
+ transition: background-color 0.3s ease-in-out;
251
164
  }
252
-
253
- /**
254
- * Add the correct font size in all browsers.
255
- */
256
- small {
257
- font-size: 80%;
165
+ [data-uikit-theme=dark] .conversation-preview-container .content .message {
166
+ color: var(--uikit-theme-dark-text-color-secondary);
167
+ transition: background-color 0.3s ease-in-out;
258
168
  }
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;
169
+ .conversation-preview-container .external {
170
+ text-align: right;
171
+ flex: 0 0 auto;
172
+ display: flex;
173
+ flex-direction: column;
270
174
  }
271
-
272
- sub {
273
- bottom: -0.25em;
175
+ .conversation-preview-container .external .unread {
176
+ height: 19px;
177
+ padding: 1px 0;
274
178
  }
275
-
276
- sup {
277
- top: -0.5em;
179
+ .conversation-preview-container .external .time {
180
+ font-family: PingFangSC-Medium;
181
+ font-style: normal;
182
+ font-weight: 400;
183
+ font-size: 12px;
184
+ line-height: 14px;
185
+ padding: 1px 0;
278
186
  }
279
-
280
- /* Embedded content
281
- ========================================================================== */
282
- /**
283
- * Remove the border on images inside links in IE 10.
284
- */
285
- img {
286
- border-style: none;
187
+ [data-uikit-theme=light] .conversation-preview-container .external .time {
188
+ color: var(--uikit-theme-light-text-color-secondary);
189
+ transition: background-color 0.3s ease-in-out;
287
190
  }
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 */
191
+ [data-uikit-theme=dark] .conversation-preview-container .external .time {
192
+ color: var(--uikit-theme-dark-text-color-secondary);
193
+ transition: background-color 0.3s ease-in-out;
304
194
  }
305
-
306
- /**
307
- * Show the overflow in IE.
308
- * 1. Show the overflow in Edge.
309
- */
310
- button,
311
- input { /* 1 */
312
- overflow: visible;
195
+ .conversation-preview-container .external .more--hover {
196
+ display: flex;
197
+ justify-content: flex-end;
198
+ flex: 1 1;
313
199
  }
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;
200
+ .conversation-preview-container .external .more--hover .icon-more {
201
+ transform: scale(1.5);
322
202
  }
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;
203
+ .conversation-preview-container .external .more--hover .more-handle-box {
204
+ top: 0;
205
+ right: 0;
206
+ bottom: initial;
207
+ padding: 14px 0;
208
+ box-sizing: border-box;
209
+ text-align: start;
210
+ white-space: nowrap;
332
211
  }
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;
212
+ [data-uikit-theme=light] .conversation-preview-container .external .more--hover .more-handle-box {
213
+ background-color: var(--uikit-theme-light-dropdown-color-default);
214
+ box-shadow: 0 0 10px var(--uikit-theme-light-shadow-color);
215
+ transition: background-color 0.3s ease-in-out;
343
216
  }
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;
217
+ [data-uikit-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box {
218
+ background-color: var(--uikit-theme-dark-dropdown-color-default);
219
+ box-shadow: 0 0 10px var(--uikit-theme-dark-shadow-color);
220
+ transition: background-color 0.3s ease-in-out;
353
221
  }
354
-
355
- /**
356
- * Correct the padding in Firefox.
357
- */
358
- fieldset {
359
- padding: 0.35em 0.75em 0.625em;
222
+ .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item {
223
+ font-size: 16px;
224
+ font-family: PingFangSC-Medium;
225
+ line-height: 19px;
226
+ padding: 6px 16px;
227
+ cursor: pointer;
228
+ font-weight: 500;
229
+ box-sizing: border-box;
360
230
  }
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 */
231
+ [data-uikit-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item {
232
+ color: var(--uikit-theme-light-text-color-primary);
233
+ transition: background-color 0.3s ease-in-out;
375
234
  }
376
-
377
- /**
378
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
379
- */
380
- progress {
381
- vertical-align: baseline;
235
+ [data-uikit-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item {
236
+ color: var(--uikit-theme-dark-text-color-primary);
237
+ transition: background-color 0.3s ease-in-out;
382
238
  }
383
-
384
- /**
385
- * Remove the default vertical scrollbar in IE 10+.
386
- */
387
- textarea {
388
- overflow: auto;
239
+ [data-uikit-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item.delete {
240
+ color: var(--uikit-theme-light-text-color-error);
241
+ transition: background-color 0.3s ease-in-out;
389
242
  }
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 */
243
+ [data-uikit-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item.delete {
244
+ color: var(--uikit-theme-dark-text-color-error);
245
+ transition: background-color 0.3s ease-in-out;
399
246
  }
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;
247
+ [data-uikit-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
248
+ background-color: var(--uikit-theme-light-dropdown-color-hover);
249
+ transition: background-color 0.3s ease-in-out;
407
250
  }
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 */
251
+ [data-uikit-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
252
+ background-color: var(--uikit-theme-dark-dropdown-color-hover);
253
+ transition: background-color 0.3s ease-in-out;
416
254
  }
417
-
418
- /**
419
- * Remove the inner padding in Chrome and Safari on macOS.
420
- */
421
- [type=search]::-webkit-search-decoration {
422
- -webkit-appearance: none;
255
+ [data-uikit-theme=light] .conversation-preview-container:hover {
256
+ background-color: var(--uikit-theme-light-list-color-hover);
257
+ transition: background-color 0.3s ease-in-out;
423
258
  }
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 */
259
+ [data-uikit-theme=dark] .conversation-preview-container:hover {
260
+ background-color: var(--uikit-theme-dark-list-color-hover);
261
+ transition: background-color 0.3s ease-in-out;
432
262
  }
433
-
434
- /* Interactive
435
- ========================================================================== */
436
- /*
437
- * Add the correct display in Edge, IE 10+, and Firefox.
438
- */
439
- details {
440
- display: block;
263
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--pin {
264
+ transition: background-color 0.3s ease-in-out;
441
265
  }
442
-
443
- /*
444
- * Add the correct display in all browsers.
445
- */
446
- summary {
447
- display: list-item;
266
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--pin {
267
+ transition: background-color 0.3s ease-in-out;
448
268
  }
449
-
450
- /* Misc
451
- ========================================================================== */
452
- /**
453
- * Add the correct display in IE 10+.
454
- */
455
- template {
456
- display: none;
269
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--active {
270
+ background-color: var(--uikit-theme-light-list-color-active);
271
+ transition: background-color 0.3s ease-in-out;
457
272
  }
458
-
459
- /**
460
- * Add the correct display in IE 10.
461
- */
462
- [hidden] {
463
- display: none;
273
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--active {
274
+ background-color: var(--uikit-theme-dark-list-color-active);
275
+ transition: background-color 0.3s ease-in-out;
464
276
  }
465
-
466
- :root {
467
- -webkit-font-smoothing: antialiased;
468
- -moz-osx-font-smoothing: grayscale;
277
+ .conversation-preview-container.conversation-preview-content--unread .unread {
278
+ height: 13px;
279
+ border-radius: 16px;
280
+ display: flex;
281
+ justify-content: center;
282
+ align-items: center;
283
+ padding: 2px 5px 1px;
284
+ font-size: 11px;
285
+ font-weight: 700;
286
+ margin: 2px 0 2px auto;
287
+ color: #fff;
469
288
  }
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");
289
+ [data-uikit-theme=light] .conversation-preview-container.conversation-preview-content--unread .unread {
290
+ background-color: var(--uikit-theme-light-text-color-error);
291
+ transition: background-color 0.3s ease-in-out;
474
292
  }
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;
484
- }
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;
508
- }
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;
293
+ [data-uikit-theme=dark] .conversation-preview-container.conversation-preview-content--unread .unread {
294
+ background-color: var(--uikit-theme-dark-text-color-error);
295
+ transition: background-color 0.3s ease-in-out;
532
296
  }
533
- .tui-conversation {
534
- flex: 1;
535
- box-sizing: border-box;
536
- overflow: hidden;
537
- min-width: 0;
297
+ .tui-message-input {
538
298
  display: flex;
539
299
  flex-direction: column;
540
- position: relative;
541
- text-align: initial;
542
- }
543
- [data-chat-theme=light] .tui-conversation {
544
- background-color: var(--chat-theme-light-bg-primary);
545
- }
546
- [data-chat-theme=dark] .tui-conversation {
547
- background-color: var(--chat-theme-dark-bg-primary);
548
- }
549
- .tui-conversation .tui-conversation-header {
550
- display: flex;
551
- padding: 10px 20px;
552
300
  }
553
- .tui-conversation .tui-conversation-header .tui-conversation-create-icon {
301
+ .tui-message-input-main {
302
+ flex: 1;
554
303
  display: flex;
555
304
  align-items: center;
556
- justify-content: center;
557
- margin-left: 10px;
305
+ padding: 14px 12px;
306
+ gap: 12px;
558
307
  }
559
- .tui-conversation .no-result {
560
- padding: 0 20px;
308
+ .tui-message-input-main .input-box {
309
+ flex: 1;
561
310
  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 {
311
+ position: relative;
312
+ min-height: 20px;
313
+ max-height: 200px;
314
+ border-radius: 15px;
315
+ overflow: hidden;
577
316
  padding: 10px;
578
317
  }
579
- .tui-conversation-h5 .conversation-list-container .conversation-preview-container {
580
- padding: 0 10px;
318
+ .tui-message-input-main .input-box .input-visibility-content {
319
+ min-height: 20px;
320
+ word-break: break-all;
321
+ visibility: hidden;
322
+ max-width: -webkit-fill-available;
323
+ font-family: PingFangSC-Medium;
324
+ font-style: normal;
325
+ font-weight: 500;
326
+ font-size: 14px;
327
+ line-height: 17px;
328
+ padding: 1px 2px;
581
329
  }
582
- .message-default {
583
- width: 100%;
330
+ .tui-message-input-main .input-box textarea {
331
+ position: absolute;
332
+ top: 0;
333
+ left: 0;
334
+ width: -webkit-fill-available;
335
+ height: -webkit-fill-available;
584
336
  flex: 1;
585
- display: flex;
586
- align-items: center;
587
- cursor: pointer;
588
- font-family: SF Pro Text;
589
- font-size: 14px;
590
337
  font-family: PingFangSC-Medium;
591
338
  font-style: normal;
592
339
  font-weight: 500;
340
+ font-size: 14px;
593
341
  line-height: 17px;
342
+ margin: 9px;
343
+ resize: none;
344
+ border: none;
345
+ background: none;
594
346
  }
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;
347
+ [data-uikit-theme=light] .tui-message-input-main .input-box textarea {
348
+ color: var(--uikit-theme-light-text-color-primary);
349
+ transition: background-color 0.3s ease-in-out;
605
350
  }
606
- .message-default .content .name {
607
- display: inline-block;
608
- padding-bottom: 3px;
609
- max-width: 60%;
351
+ [data-uikit-theme=dark] .tui-message-input-main .input-box textarea {
352
+ color: var(--uikit-theme-dark-text-color-primary);
353
+ transition: background-color 0.3s ease-in-out;
610
354
  }
611
- [data-chat-theme=light] .message-default .content .name {
612
- color: var(--chat-theme-light-text-primary);
355
+ .tui-message-input-main .input-box textarea:focus, .tui-message-input-main .input-box textarea:active {
356
+ border: none;
357
+ outline: none;
613
358
  }
614
- [data-chat-theme=dark] .message-default .content .name {
615
- color: var(--chat-theme-dark-text-primary);
359
+ .tui-message-input-main .disabled {
360
+ display: none;
616
361
  }
617
-
618
- .in {
362
+ .tui-message-input-box {
619
363
  flex: 1;
620
364
  display: flex;
621
- flex-direction: row;
622
- justify-self: flex-start;
623
- gap: 10px;
365
+ align-items: center;
624
366
  }
625
- .in .content {
626
- align-items: flex-start;
627
- flex: 1;
367
+
368
+ ul li {
369
+ list-style: none;
628
370
  }
629
371
 
630
- .out {
631
- flex: 1;
632
- display: flex;
633
- gap: 10px;
634
- flex-direction: row-reverse;
635
- justify-self: flex-end;
372
+ .input-plugin-popup {
373
+ position: relative;
636
374
  }
637
- .out .content {
638
- align-items: flex-end;
639
- flex: 1;
375
+ .input-plugin-popup-box {
376
+ position: absolute;
377
+ z-index: 2;
378
+ bottom: 30px;
640
379
  }
641
380
 
642
- .tip {
643
- justify-self: center !important;
644
- width: auto;
381
+ .input-plugin-item {
382
+ font-style: normal;
383
+ font-weight: 500;
384
+ font-size: 16px;
385
+ font-family: PingFangSC-Medium;
386
+ line-height: 19px;
387
+ display: flex;
388
+ }
389
+ .input-plugin-item span {
390
+ padding: 0 17px;
645
391
  }
646
392
 
647
- .bubble {
648
- padding: 8px 16px;
393
+ .emoji-picker .face-list {
394
+ height: 120px;
395
+ width: 242px;
396
+ padding: 10px 5px;
397
+ display: flex;
398
+ flex-wrap: wrap;
399
+ overflow-y: auto;
649
400
  }
650
- .bubble-in {
651
- border-radius: 0px 16px 16px 16px;
401
+ .emoji-picker .face-list-item {
402
+ padding: 5px;
403
+ cursor: pointer;
404
+ user-select: none;
652
405
  }
653
- .bubble-in.group {
654
- border-radius: 0px 16px 16px 16px;
406
+ .emoji-picker .face-list-item img {
407
+ width: 20px;
655
408
  }
656
- .bubble-out {
657
- border-radius: 16px 16px 0 16px;
409
+ .emoji-picker .face-list-item .face-img {
410
+ width: 38px;
658
411
  }
659
-
660
- .message-status {
412
+ .emoji-picker .face-tab {
661
413
  display: flex;
662
- align-items: flex-end;
663
- align-self: flex-end;
414
+ align-items: center;
415
+ min-width: 265px;
664
416
  }
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;
417
+ .emoji-picker .face-tab-item {
418
+ cursor: pointer;
419
+ width: 24px;
420
+ padding: 10px;
673
421
  }
674
- [data-chat-theme=light] .message-status .time {
675
- color: var(--chat-theme-light-text-secondary);
422
+ .emoji-picker .face-tab-item img {
423
+ width: 100%;
676
424
  }
677
- [data-chat-theme=dark] .message-status .time {
678
- color: var(--chat-theme-dark-text-secondary);
425
+ .emoji-picker .emoji-plugin-right {
426
+ right: 0;
679
427
  }
680
428
 
681
- .message-image, .message-video {
429
+ .upload-picker {
682
430
  position: relative;
431
+ padding: 10px 16px;
432
+ min-width: 180px;
683
433
  }
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);
434
+ [data-uikit-theme=light] .upload-picker {
435
+ color: var(--uikit-theme-light-text-color-primary);
436
+ transition: background-color 0.3s ease-in-out;
691
437
  }
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);
438
+ [data-uikit-theme=dark] .upload-picker {
439
+ color: var(--uikit-theme-dark-text-color-primary);
440
+ transition: background-color 0.3s ease-in-out;
694
441
  }
695
-
696
- .message-text {
697
- display: flex;
442
+ [data-uikit-theme=light] .upload-picker:hover {
443
+ background-color: var(--uikit-theme-light-dropdown-color-hover);
444
+ transition: background-color 0.3s ease-in-out;
698
445
  }
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;
446
+ [data-uikit-theme=dark] .upload-picker:hover {
447
+ background-color: var(--uikit-theme-dark-dropdown-color-hover);
448
+ transition: background-color 0.3s ease-in-out;
707
449
  }
708
- .message-text-content-p {
709
- white-space: pre-wrap;
710
- display: inline;
711
- vertical-align: middle;
450
+ .upload-picker input {
451
+ position: absolute;
452
+ cursor: pointer;
453
+ left: 0;
454
+ top: 0;
455
+ opacity: 0;
456
+ width: 100%;
457
+ height: 100%;
712
458
  }
713
- [data-chat-theme=light] .message-text-content-p {
714
- color: var(--chat-theme-light-text-primary);
459
+
460
+ .input-quote {
461
+ padding: 7px 16px;
462
+ display: flex;
463
+ align-items: center;
715
464
  }
716
- [data-chat-theme=dark] .message-text-content-p {
717
- color: var(--chat-theme-dark-text-primary);
465
+ [data-uikit-theme=light] .input-quote {
466
+ background: var(--uikit-theme-light-bg-color-bubble-reciprocal);
467
+ transition: background-color 0.3s ease-in-out;
718
468
  }
719
- .message-text-content .message-status {
720
- display: inline-flex;
721
- float: right;
722
- clear: right;
469
+ [data-uikit-theme=dark] .input-quote {
470
+ background: var(--uikit-theme-dark-bg-color-bubble-reciprocal);
471
+ transition: background-color 0.3s ease-in-out;
723
472
  }
724
-
725
- .message-text,
726
- .message-tip {
727
- font-family: PingFangSC-Regular;
728
- font-style: normal;
473
+ .input-quote-content {
474
+ flex: 1;
475
+ background: #fff;
476
+ padding: 2px 14px;
477
+ position: relative;
478
+ display: flex;
479
+ flex-direction: column;
729
480
  font-weight: 500;
730
481
  font-size: 14px;
731
482
  line-height: 17px;
483
+ color: #000;
732
484
  }
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;
485
+ .input-quote-content::before {
486
+ content: "";
487
+ position: absolute;
488
+ width: 6px;
489
+ height: 100%;
490
+ background: #999;
491
+ top: 0;
492
+ left: 0;
742
493
  }
743
- .message-image img {
744
- max-width: 300px;
494
+ .input-quote-content span {
495
+ padding-top: 8px;
496
+ opacity: 0.6;
745
497
  }
746
- .message-image .img-h5 {
747
- max-width: 200px;
748
- max-height: 200px;
498
+ .input-quote .icon {
499
+ margin: 0 5px 0 16px;
749
500
  }
750
- .message-image .big-image {
751
- max-width: 90%;
501
+
502
+ .tui-forward {
503
+ border-radius: 16px;
504
+ display: flex;
505
+ flex-direction: column;
506
+ overflow: hidden;
507
+ width: 300px;
752
508
  max-height: 90%;
753
509
  }
754
-
755
- .message-video {
756
- max-width: 300px;
510
+ [data-uikit-theme=light] .tui-forward {
511
+ background-color: var(--uikit-theme-light-bg-color-operate);
512
+ transition: background-color 0.3s ease-in-out;
757
513
  }
758
- .message-video .snap-video {
759
- position: relative;
760
- height: 100%;
761
- border-radius: 10px;
514
+ [data-uikit-theme=dark] .tui-forward {
515
+ background-color: var(--uikit-theme-dark-bg-color-operate);
516
+ transition: background-color 0.3s ease-in-out;
762
517
  }
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;
518
+ .tui-forward-header {
519
+ display: flex;
520
+ align-items: center;
521
+ padding: 24px 20px;
776
522
  }
777
- .message-video video {
778
- width: 100%;
779
- height: 100%;
780
- border-radius: 10px;
523
+ [data-uikit-theme=light] .tui-forward-header {
524
+ color: var(--uikit-theme-light-text-color-primary);
525
+ transition: background-color 0.3s ease-in-out;
781
526
  }
782
- .message-video .play-video {
783
- max-width: 95%;
784
- max-height: 65%;
527
+ [data-uikit-theme=dark] .tui-forward-header {
528
+ color: var(--uikit-theme-dark-text-color-primary);
529
+ transition: background-color 0.3s ease-in-out;
785
530
  }
786
-
787
- .message-video.message-video-h5 {
788
- max-width: 200px;
789
- max-height: 200px;
531
+ .tui-forward-title {
532
+ padding: 0 16px;
533
+ font-style: normal;
534
+ font-weight: 700;
535
+ font-size: 14px;
790
536
  }
791
-
792
- .message-file {
537
+ .tui-forward-main {
538
+ padding: 0 20px;
539
+ max-height: calc(100vh - 200px);
540
+ overflow-y: auto;
541
+ }
542
+ .tui-forward-main .no-result {
543
+ font-size: 14px;
544
+ padding: 10px;
545
+ text-align: center;
546
+ }
547
+ [data-uikit-theme=light] .tui-forward-main .no-result {
548
+ color: var(--uikit-theme-light-text-color-secondary);
549
+ transition: background-color 0.3s ease-in-out;
550
+ }
551
+ [data-uikit-theme=dark] .tui-forward-main .no-result {
552
+ color: var(--uikit-theme-dark-text-color-secondary);
553
+ transition: background-color 0.3s ease-in-out;
554
+ }
555
+ .tui-forward-search {
556
+ padding: 10px 15px;
557
+ }
558
+ .tui-forward-list {
559
+ padding: 13px 0;
560
+ }
561
+ .tui-forward-list-title {
562
+ font-style: normal;
563
+ font-weight: 600;
564
+ font-size: 14px;
565
+ line-height: 20px;
566
+ }
567
+ .tui-forward-list-item {
568
+ padding: 6px 0;
569
+ font-style: normal;
570
+ font-weight: 400;
571
+ font-size: 14px;
572
+ line-height: 20px;
793
573
  display: flex;
794
- flex-direction: column;
795
- border: 1px solid #ddd;
574
+ justify-content: space-between;
575
+ align-items: center;
576
+ width: 100%;
796
577
  }
797
- .message-file-main {
578
+ .tui-forward-list-item .info {
798
579
  display: flex;
799
580
  align-items: center;
800
- padding: 12px;
801
- background: #FFFFFF;
802
- border-radius: 4px;
581
+ flex-shrink: 0;
803
582
  }
804
- .message-file-main .icon {
805
- margin-right: 7px;
583
+ .tui-forward-list-item .info-nick {
584
+ padding: 0 13px;
585
+ font-style: normal;
586
+ font-weight: 400;
587
+ font-size: 14px;
588
+ line-height: 20px;
589
+ min-width: 180px;
590
+ max-width: 300px;
591
+ overflow: hidden;
592
+ white-space: nowrap;
593
+ text-overflow: ellipsis;
594
+ width: 80%;
806
595
  }
807
- .message-file-footer {
596
+ .tui-forward-footer {
597
+ padding: 13px 10px;
808
598
  display: flex;
809
599
  justify-content: space-between;
810
- align-items: flex-end;
600
+ align-items: center;
811
601
  }
812
- .message-file-footer .time {
813
- padding-top: 10px;
602
+ [data-uikit-theme=light] .tui-forward-footer {
603
+ background-color: var(--uikit-theme-light-bg-color-operate);
604
+ transition: background-color 0.3s ease-in-out;
814
605
  }
815
- .message-file-size {
816
- padding-top: 10px;
817
- font-weight: 400;
818
- font-size: 12px;
819
- font-family: PingFangSC-Medium;
820
- line-height: 14px;
821
- color: #7A7A7A;
606
+ [data-uikit-theme=dark] .tui-forward-footer {
607
+ background-color: var(--uikit-theme-dark-bg-color-operate);
608
+ transition: background-color 0.3s ease-in-out;
822
609
  }
823
-
824
- .message-merger {
825
- display: flex;
826
- flex-direction: column;
827
- background: #ECEBEB;
610
+ .tui-forward-footer .button {
611
+ cursor: pointer;
612
+ background: #0365f9;
613
+ border-radius: 31px;
614
+ padding: 10px 21px;
615
+ font-style: normal;
616
+ font-weight: 400;
617
+ font-size: 14px;
618
+ line-height: 20px;
619
+ color: #fff;
620
+ border: none;
828
621
  }
829
- .message-merger h3 {
830
- padding-bottom: 4px;
831
- border-bottom: 1px solid #a1a1a1;
622
+ .tui-forward-footer-name {
623
+ flex: 1;
624
+ overflow: hidden;
625
+ word-break: break-all;
626
+ text-overflow: ellipsis;
627
+ display: -webkit-box;
628
+ -webkit-line-clamp: 3;
629
+ -webkit-box-orient: vertical;
832
630
  }
833
- .message-merger-list {
834
- opacity: 0.6;
631
+ [data-uikit-theme=light] .tui-forward-footer-name {
632
+ color: var(--uikit-theme-light-text-color-primary);
633
+ transition: background-color 0.3s ease-in-out;
835
634
  }
836
- .message-merger-item {
837
- padding-top: 4px;
635
+ [data-uikit-theme=dark] .tui-forward-footer-name {
636
+ color: var(--uikit-theme-dark-text-color-primary);
637
+ transition: background-color 0.3s ease-in-out;
838
638
  }
839
639
 
840
- .meesage-bubble-reply {
841
- padding: 8px 16px;
640
+ .transmitter {
641
+ padding: 0 10px;
842
642
  }
843
- [data-chat-theme=light] .meesage-bubble-reply {
844
- background-color: var(--chat-theme-light-bg-secondary);
643
+ .transmitter .icon-send {
644
+ transform: rotate(90deg);
845
645
  }
846
- [data-chat-theme=dark] .meesage-bubble-reply {
847
- background-color: var(--chat-theme-dark-bg-secondary);
646
+
647
+ [data-uikit-theme=light] .tui-message-input {
648
+ background-color: var(--uikit-theme-light-bg-color-operate);
649
+ transition: background-color 0.3s ease-in-out;
848
650
  }
849
- .meesage-bubble-reply-in {
850
- border-radius: 16px 16px 16px 0;
651
+ [data-uikit-theme=dark] .tui-message-input {
652
+ background-color: var(--uikit-theme-dark-bg-color-operate);
653
+ transition: background-color 0.3s ease-in-out;
851
654
  }
852
- .meesage-bubble-reply-out {
853
- border-radius: 16px 16px 0px 16px;
655
+ [data-uikit-theme=light] .tui-message-input .tui-kit-input-box--focus {
656
+ outline: 1px solid var(--uikit-theme-light-text-color-link);
657
+ transition: background-color 0.3s ease-in-out;
854
658
  }
855
- .meesage-bubble-reply .message-text {
856
- border: none !important;
659
+ [data-uikit-theme=dark] .tui-message-input .tui-kit-input-box--focus {
660
+ outline: 1px solid var(--uikit-theme-dark-text-color-link);
661
+ transition: background-color 0.3s ease-in-out;
857
662
  }
858
- .meesage-bubble-reply .bubble {
859
- padding: 0;
663
+ [data-uikit-theme=light] .tui-message-input .input-box {
664
+ background-color: var(--uikit-theme-light-bg-color-operate);
665
+ border: 1px solid var(--uikit-theme-light-stroke-color-primary);
666
+ transition: background-color 0.3s ease-in-out;
860
667
  }
861
- .meesage-bubble-reply .bubble-in {
862
- border-radius: 0;
668
+ [data-uikit-theme=dark] .tui-message-input .input-box {
669
+ background-color: var(--uikit-theme-dark-bg-color-operate);
670
+ border: 1px solid var(--uikit-theme-dark-stroke-color-primary);
671
+ transition: background-color 0.3s ease-in-out;
863
672
  }
864
- .meesage-bubble-reply-main {
865
- position: relative;
866
- padding: 10px 14px;
867
- margin-bottom: 10px;
673
+
674
+ .input-plugin-popup-box {
675
+ border-radius: 16px;
868
676
  }
869
- [data-chat-theme=light] .meesage-bubble-reply-main {
870
- background-color: var(--chat-theme-light-bg-primary);
677
+ [data-uikit-theme=light] .input-plugin-popup-box {
678
+ background-color: var(--uikit-theme-light-dropdown-color-default);
679
+ box-shadow: 0 0 10px 0 var(--uikit-theme-light-shadow-color);
680
+ transition: background-color 0.3s ease-in-out;
871
681
  }
872
- [data-chat-theme=dark] .meesage-bubble-reply-main {
873
- background-color: var(--chat-theme-dark-bg-primary);
682
+ [data-uikit-theme=dark] .input-plugin-popup-box {
683
+ background-color: var(--uikit-theme-dark-dropdown-color-default);
684
+ box-shadow: 0 0 10px 0 var(--uikit-theme-dark-shadow-color);
685
+ transition: background-color 0.3s ease-in-out;
874
686
  }
875
- .meesage-bubble-reply-main::before {
876
- content: "";
877
- position: absolute;
878
- width: 6px;
879
- height: 100%;
880
- top: 0;
881
- left: 0;
687
+
688
+ .input-icon {
689
+ width: 20px;
690
+ height: 20px;
882
691
  }
883
- [data-chat-theme=light] .meesage-bubble-reply-main::before {
884
- background-color: var(--chat-theme-light-bg-5);
692
+ [data-uikit-theme=light] .input-icon {
693
+ color: var(--uikit-theme-light-text-color-primary);
694
+ transition: background-color 0.3s ease-in-out;
885
695
  }
886
- [data-chat-theme=dark] .meesage-bubble-reply-main::before {
887
- background-color: var(--chat-theme-dark-bg-5);
696
+ [data-uikit-theme=dark] .input-icon {
697
+ color: var(--uikit-theme-dark-text-color-primary);
698
+ transition: background-color 0.3s ease-in-out;
888
699
  }
889
- .meesage-bubble-reply-main .title {
890
- font-weight: 500;
700
+ .message-default {
701
+ width: 100%;
702
+ flex: 1;
703
+ display: flex;
704
+ align-items: center;
705
+ cursor: pointer;
891
706
  font-size: 14px;
892
- padding-bottom: 10px;
707
+ font-family: PingFangSC-Medium;
708
+ font-style: normal;
709
+ font-weight: 500;
710
+ line-height: 17px;
711
+ }
712
+ .message-default .avatar {
713
+ width: 45px;
893
714
  }
894
- [data-chat-theme=light] .meesage-bubble-reply-main .title {
895
- color: var(--chat-theme-light-text-primary);
715
+ .message-default .avatar img {
716
+ width: 45px;
896
717
  }
897
- [data-chat-theme=dark] .meesage-bubble-reply-main .title {
898
- color: var(--chat-theme-dark-text-primary);
718
+ .message-default .content {
719
+ display: flex;
720
+ flex-direction: column;
721
+ align-items: flex-start;
899
722
  }
900
- .meesage-bubble-reply-main .message-context {
901
- opacity: 0.6;
723
+ .message-default .content .name {
724
+ display: inline-block;
725
+ padding-bottom: 3px;
726
+ max-width: 60%;
727
+ }
728
+ [data-uikit-theme=light] .message-default .content .name {
729
+ color: var(--uikit-theme-light-text-color-primary);
730
+ transition: background-color 0.3s ease-in-out;
731
+ }
732
+ [data-uikit-theme=dark] .message-default .content .name {
733
+ color: var(--uikit-theme-dark-text-color-primary);
734
+ transition: background-color 0.3s ease-in-out;
902
735
  }
903
736
 
904
- .meesage-bubble {
737
+ .in {
738
+ flex: 1;
905
739
  display: flex;
906
- align-items: flex-end;
740
+ flex-direction: row;
741
+ justify-self: flex-start;
742
+ gap: 10px;
907
743
  }
908
- .meesage-bubble-status {
909
- margin: 3px;
744
+ .in .content {
745
+ align-items: flex-start;
746
+ flex: 1;
910
747
  }
911
- .meesage-bubble-context {
748
+
749
+ .out {
750
+ flex: 1;
912
751
  display: flex;
913
- align-items: center;
914
752
  gap: 10px;
753
+ flex-direction: row-reverse;
754
+ justify-self: flex-end;
915
755
  }
916
- .meesage-bubble-context .message-context {
756
+ .out .content {
757
+ align-items: flex-end;
917
758
  flex: 1;
918
759
  }
919
760
 
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;
929
- }
930
- .icon-fail::before {
931
- position: absolute;
932
- content: "!";
933
- color: #FFFFFF;
934
- font-size: 12px;
935
- font-family: PingFangSC-Medium;
761
+ .tip {
762
+ justify-self: center !important;
763
+ width: auto;
936
764
  }
937
765
 
938
- .message-face {
939
- display: flex;
766
+ .bubble {
767
+ padding: 8px 16px;
768
+ }
769
+ .bubble-in {
770
+ border-radius: 0 16px 16px;
771
+ }
772
+ .bubble-in.group {
773
+ border-radius: 0 16px 16px;
774
+ }
775
+ .bubble-out {
776
+ border-radius: 16px 16px 0;
777
+ }
778
+
779
+ .message-status {
780
+ display: flex;
781
+ align-items: flex-end;
782
+ align-self: flex-end;
783
+ }
784
+ .message-status .time {
785
+ width: max-content;
786
+ font-weight: 400;
787
+ padding: 5px 0 0 10px;
788
+ font-size: 12px;
789
+ line-height: 14px;
790
+ text-align: right;
791
+ }
792
+ [data-uikit-theme=light] .message-status .time {
793
+ color: var(--uikit-theme-light-text-color-anti-secondary);
794
+ transition: background-color 0.3s ease-in-out;
795
+ }
796
+ [data-uikit-theme=dark] .message-status .time {
797
+ color: var(--uikit-theme-dark-text-color-anti-secondary);
798
+ transition: background-color 0.3s ease-in-out;
799
+ }
800
+ [data-uikit-theme=light] .bubble-in .message-status .time {
801
+ color: var(--uikit-theme-light-text-color-tertiary);
802
+ transition: background-color 0.3s ease-in-out;
803
+ }
804
+ [data-uikit-theme=dark] .bubble-in .message-status .time {
805
+ color: var(--uikit-theme-dark-text-color-tertiary);
806
+ transition: background-color 0.3s ease-in-out;
807
+ }
808
+
809
+ .message-image,
810
+ .message-video {
811
+ position: relative;
812
+ }
813
+ .message-image .message-status,
814
+ .message-video .message-status {
815
+ position: absolute;
816
+ bottom: 10px;
817
+ right: 10px;
818
+ }
819
+ [data-uikit-theme=light] .message-image .message-status .time,
820
+ [data-uikit-theme=light] .message-video .message-status .time {
821
+ color: var(--uikit-theme-light-text-color-primary);
822
+ transition: background-color 0.3s ease-in-out;
823
+ }
824
+ [data-uikit-theme=dark] .message-image .message-status .time,
825
+ [data-uikit-theme=dark] .message-video .message-status .time {
826
+ color: var(--uikit-theme-dark-text-color-primary);
827
+ transition: background-color 0.3s ease-in-out;
828
+ }
829
+
830
+ .message-text {
831
+ display: flex;
832
+ }
833
+ .message-text-content {
834
+ display: inline;
835
+ word-break: break-word;
836
+ font-weight: 500;
837
+ font-size: 14px;
838
+ }
839
+ .message-text-content-p {
840
+ white-space: pre-wrap;
841
+ display: inline;
842
+ vertical-align: middle;
843
+ }
844
+ .message-text-content .message-status {
845
+ display: inline-flex;
846
+ float: right;
847
+ clear: right;
848
+ }
849
+
850
+ .message-text,
851
+ .message-tip {
852
+ font-weight: 500;
853
+ font-size: 14px;
854
+ }
855
+ .message-text .text-img,
856
+ .message-tip .text-img {
857
+ width: 20px;
858
+ height: 20px;
859
+ vertical-align: middle;
860
+ }
861
+
862
+ .message-image {
863
+ background: transparent;
864
+ }
865
+ .message-image img {
866
+ max-width: 300px;
867
+ }
868
+ .message-image .img-h5 {
869
+ max-width: 200px;
870
+ max-height: 200px;
871
+ }
872
+ .message-image .big-image {
873
+ max-width: 90%;
874
+ max-height: 90%;
875
+ }
876
+
877
+ .message-video {
878
+ max-width: 300px;
879
+ }
880
+ .message-video .snap-video {
881
+ position: relative;
882
+ height: 100%;
883
+ border-radius: 10px;
884
+ }
885
+ .message-video .snap-video::before {
886
+ position: absolute;
887
+ z-index: 1;
888
+ content: "";
889
+ width: 0;
890
+ height: 0;
891
+ border: 15px solid transparent;
892
+ border-left: 20px solid #fff;
893
+ top: 0;
894
+ left: 0;
895
+ bottom: 0;
896
+ right: 0;
897
+ margin: auto;
898
+ }
899
+ .message-video video {
900
+ width: 100%;
901
+ height: 100%;
902
+ border-radius: 10px;
903
+ }
904
+ .message-video .play-video {
905
+ max-width: 95%;
906
+ max-height: 65%;
907
+ }
908
+
909
+ .message-video.message-video-h5 {
910
+ max-width: 200px;
911
+ max-height: 200px;
912
+ }
913
+
914
+ .message-file {
915
+ display: flex;
916
+ flex-direction: column;
917
+ border: 1px solid #ddd;
918
+ }
919
+ .message-file-main {
920
+ display: flex;
921
+ align-items: center;
922
+ padding: 12px;
923
+ background: #fff;
924
+ border-radius: 4px;
925
+ }
926
+ .message-file-main .icon {
927
+ margin-right: 7px;
928
+ }
929
+ .message-file-footer {
930
+ display: flex;
931
+ justify-content: space-between;
932
+ align-items: flex-end;
933
+ }
934
+ .message-file-footer .time {
935
+ padding-top: 10px;
936
+ }
937
+ .message-file-size {
938
+ padding-top: 10px;
939
+ font-weight: 400;
940
+ font-size: 12px;
941
+ font-family: PingFangSC-Medium;
942
+ line-height: 14px;
943
+ color: #7a7a7a;
944
+ }
945
+
946
+ .message-merger {
947
+ display: flex;
948
+ flex-direction: column;
949
+ background: #ecebeb;
950
+ }
951
+ .message-merger h3 {
952
+ padding-bottom: 4px;
953
+ border-bottom: 1px solid #a1a1a1;
954
+ }
955
+ .message-merger-list {
956
+ opacity: 0.6;
957
+ }
958
+ .message-merger-item {
959
+ padding-top: 4px;
960
+ }
961
+
962
+ .meesage-bubble-reply {
963
+ padding: 8px 16px;
964
+ }
965
+ [data-uikit-theme=light] .meesage-bubble-reply {
966
+ transition: background-color 0.3s ease-in-out;
967
+ }
968
+ [data-uikit-theme=dark] .meesage-bubble-reply {
969
+ transition: background-color 0.3s ease-in-out;
970
+ }
971
+ .meesage-bubble-reply-in {
972
+ border-radius: 16px 16px 16px 0;
973
+ }
974
+ .meesage-bubble-reply-out {
975
+ border-radius: 16px 16px 0;
976
+ }
977
+ .meesage-bubble-reply .message-text {
978
+ border: none !important;
979
+ }
980
+ .meesage-bubble-reply .bubble {
981
+ padding: 0;
982
+ }
983
+ .meesage-bubble-reply .bubble-in {
984
+ border-radius: 0;
985
+ }
986
+ .meesage-bubble-reply-main {
987
+ position: relative;
988
+ padding: 10px 14px;
989
+ margin-bottom: 10px;
990
+ }
991
+ [data-uikit-theme=light] .meesage-bubble-reply-main {
992
+ background-color: var(--uikit-theme-light-bg-color-operate);
993
+ transition: background-color 0.3s ease-in-out;
994
+ }
995
+ [data-uikit-theme=dark] .meesage-bubble-reply-main {
996
+ background-color: var(--uikit-theme-dark-bg-color-operate);
997
+ transition: background-color 0.3s ease-in-out;
998
+ }
999
+ .meesage-bubble-reply-main::before {
1000
+ content: "";
1001
+ position: absolute;
1002
+ width: 6px;
1003
+ height: 100%;
1004
+ top: 0;
1005
+ left: 0;
1006
+ }
1007
+ [data-uikit-theme=light] .meesage-bubble-reply-main::before {
1008
+ transition: background-color 0.3s ease-in-out;
1009
+ }
1010
+ [data-uikit-theme=dark] .meesage-bubble-reply-main::before {
1011
+ transition: background-color 0.3s ease-in-out;
1012
+ }
1013
+ .meesage-bubble-reply-main .title {
1014
+ font-weight: 500;
1015
+ font-size: 14px;
1016
+ padding-bottom: 10px;
1017
+ }
1018
+ [data-uikit-theme=light] .meesage-bubble-reply-main .title {
1019
+ color: var(--uikit-theme-light-text-color-primary);
1020
+ transition: background-color 0.3s ease-in-out;
1021
+ }
1022
+ [data-uikit-theme=dark] .meesage-bubble-reply-main .title {
1023
+ color: var(--uikit-theme-dark-text-color-primary);
1024
+ transition: background-color 0.3s ease-in-out;
1025
+ }
1026
+ .meesage-bubble-reply-main .message-context {
1027
+ opacity: 0.6;
1028
+ }
1029
+
1030
+ .meesage-bubble {
1031
+ display: flex;
1032
+ align-items: flex-end;
1033
+ }
1034
+ .meesage-bubble-status {
1035
+ margin: 3px;
1036
+ }
1037
+ .meesage-bubble-context {
1038
+ display: flex;
1039
+ align-items: center;
1040
+ gap: 10px;
1041
+ }
1042
+ .meesage-bubble-context .message-context {
1043
+ flex: 1;
1044
+ }
1045
+
1046
+ .icon-fail {
1047
+ width: 14px;
1048
+ height: 14px;
1049
+ border-radius: 14px;
1050
+ position: relative;
1051
+ background: #fa5151;
1052
+ display: inline-flex;
1053
+ justify-content: center;
1054
+ align-items: center;
1055
+ }
1056
+ .icon-fail::before {
1057
+ position: absolute;
1058
+ content: "!";
1059
+ color: #fff;
1060
+ font-size: 12px;
1061
+ font-family: PingFangSC-Medium;
1062
+ }
1063
+
1064
+ .message-face {
1065
+ display: flex;
940
1066
  flex-direction: column;
941
1067
  }
942
1068
  .message-face .img {
@@ -947,13 +1073,15 @@ template {
947
1073
  display: inline-block;
948
1074
  position: relative;
949
1075
  }
950
- .loading .img, .loading video {
1076
+ .loading .img,
1077
+ .loading video {
951
1078
  min-width: 60px;
952
1079
  min-height: 60px;
953
1080
  max-width: 300px;
954
1081
  border-radius: 10px;
955
1082
  }
956
- .loading .img-h5, .loading .video-h5 {
1083
+ .loading .img-h5,
1084
+ .loading .video-h5 {
957
1085
  min-width: 60px;
958
1086
  min-height: 60px;
959
1087
  max-width: 200px;
@@ -1021,12 +1149,29 @@ template {
1021
1149
  font-family: PingFangSC-Medium;
1022
1150
  line-height: 15px;
1023
1151
  }
1024
- .message-plugin-item:hover {
1025
- background: rgba(0, 110, 255, 0.1);
1026
- color: #147aff;
1152
+ [data-uikit-theme=light] .message-plugin-item {
1153
+ color: var(--uikit-theme-light-text-color-primary);
1154
+ transition: background-color 0.3s ease-in-out;
1155
+ }
1156
+ [data-uikit-theme=dark] .message-plugin-item {
1157
+ color: var(--uikit-theme-dark-text-color-primary);
1158
+ transition: background-color 0.3s ease-in-out;
1159
+ }
1160
+ [data-uikit-theme=light] .message-plugin-item:hover {
1161
+ background: var(--uikit-theme-light-dropdown-color-hover);
1162
+ transition: background-color 0.3s ease-in-out;
1027
1163
  }
1028
- .message-plugin-item .del {
1029
- color: #FF584C;
1164
+ [data-uikit-theme=dark] .message-plugin-item:hover {
1165
+ background: var(--uikit-theme-dark-dropdown-color-hover);
1166
+ transition: background-color 0.3s ease-in-out;
1167
+ }
1168
+ [data-uikit-theme=light] .message-plugin-item .del {
1169
+ color: var(--uikit-theme-light-text-color-error);
1170
+ transition: background-color 0.3s ease-in-out;
1171
+ }
1172
+ [data-uikit-theme=dark] .message-plugin-item .del {
1173
+ color: var(--uikit-theme-dark-text-color-error);
1174
+ transition: background-color 0.3s ease-in-out;
1030
1175
  }
1031
1176
 
1032
1177
  .message-custom {
@@ -1051,7 +1196,7 @@ template {
1051
1196
  }
1052
1197
 
1053
1198
  .message-revoke {
1054
- color: #999999;
1199
+ color: #999;
1055
1200
  }
1056
1201
 
1057
1202
  .message-audio {
@@ -1077,686 +1222,141 @@ template {
1077
1222
  }
1078
1223
  @keyframes playingAnimation {
1079
1224
  0% {
1080
- opacity: 1;
1081
- }
1082
- 50% {
1083
- opacity: 0.3;
1084
- }
1085
- 100% {
1086
- opacity: 1;
1087
- }
1088
- }
1089
-
1090
- .high-lighted {
1091
- animation: highLightedAnimation 1s ease-in-out forwards;
1092
- }
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
- }
1113
- }
1114
- .progress-box {
1115
- width: 100%;
1116
- height: 5px;
1117
- display: flex;
1118
- justify-content: flex-start;
1119
- }
1120
- .progress-box .progress {
1121
- 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);
1127
- }
1128
-
1129
- .website {
1130
- color: #147aff !important;
1131
- }
1132
-
1133
- [data-chat-theme=light] .message-text,
1134
- [data-chat-theme=light] .message-custom {
1135
- border: 1px solid var(--chat-theme-light-border-5);
1136
- }
1137
- [data-chat-theme=dark] .message-text,
1138
- [data-chat-theme=dark] .message-custom {
1139
- border: 1px solid var(--chat-theme-dark-border-5);
1140
- }
1141
-
1142
- [data-chat-theme=light] .bubble {
1143
- background-color: var(--chat-theme-light-bg-primary);
1144
- }
1145
- [data-chat-theme=dark] .bubble {
1146
- background-color: var(--chat-theme-dark-bg-primary);
1147
- }
1148
- [data-chat-theme=light] .bubble-out {
1149
- border: none;
1150
- background-color: var(--chat-theme-light-bg-secondary);
1151
- }
1152
- [data-chat-theme=dark] .bubble-out {
1153
- border: none;
1154
- background-color: var(--chat-theme-dark-bg-secondary);
1155
- }
1156
-
1157
- .meesage-bubble-reply-out .meesage-bubble-reply-main .message-text {
1158
- background: none;
1159
- }
1160
-
1161
- [data-chat-theme=light] .message-tip {
1162
- color: var(--chat-theme-light-text-secondary);
1163
- }
1164
- [data-chat-theme=dark] .message-tip {
1165
- color: var(--chat-theme-dark-text-secondary);
1166
- }
1167
-
1168
- .tip .bubble .edit {
1169
- color: #147aff;
1170
- padding: 3px;
1171
- }
1172
- .plugin {
1173
- display: flex;
1174
- align-items: center;
1175
- height: 100%;
1176
- padding: 0 8px;
1177
- gap: 8px;
1178
- }
1179
-
1180
- .plugin-popup {
1181
- height: 100%;
1182
- display: flex;
1183
- align-items: center;
1184
- position: relative;
1185
- }
1186
- .plugin-popup-box {
1187
- position: absolute;
1188
- z-index: 2;
1189
- bottom: 100%;
1190
- }
1191
-
1192
- .plugin-popup-box {
1193
- border-radius: 16px;
1194
- }
1195
- [data-chat-theme=light] .plugin-popup-box {
1196
- color: var(--chat-theme-light-text-primary);
1197
- }
1198
- [data-chat-theme=dark] .plugin-popup-box {
1199
- color: var(--chat-theme-dark-text-primary);
1200
- }
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);
1204
- }
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);
1208
- }
1209
- .tui-message-input {
1210
- display: flex;
1211
- flex-direction: column;
1212
- }
1213
- .tui-message-input-main {
1214
- flex: 1;
1215
- display: flex;
1216
- align-items: center;
1217
- padding: 14px 12px;
1218
- gap: 12px;
1219
- }
1220
- .tui-message-input-main .input-box {
1221
- flex: 1;
1222
- display: flex;
1223
- position: relative;
1224
- min-height: 20px;
1225
- max-height: 200px;
1226
- border-radius: 15px;
1227
- overflow: hidden;
1228
- padding: 10px;
1229
- }
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;
1241
- }
1242
- .tui-message-input-main .input-box textarea {
1243
- position: absolute;
1244
- top: 0;
1245
- 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;
1258
- }
1259
- [data-chat-theme=light] .tui-message-input-main .input-box textarea {
1260
- color: var(--chat-theme-light-text-primary);
1261
- }
1262
- [data-chat-theme=dark] .tui-message-input-main .input-box textarea {
1263
- color: var(--chat-theme-dark-text-primary);
1264
- }
1265
- .tui-message-input-main .input-box textarea:focus, .tui-message-input-main .input-box textarea:active {
1266
- border: none;
1267
- outline: none;
1268
- }
1269
- .tui-message-input-main .disabled {
1270
- display: none;
1271
- }
1272
- .tui-message-input-box {
1273
- flex: 1;
1274
- display: flex;
1275
- align-items: center;
1276
- }
1277
-
1278
- ul li {
1279
- list-style: none;
1280
- }
1281
-
1282
- .input-plugin-popup {
1283
- position: relative;
1284
- }
1285
- .input-plugin-popup-box {
1286
- position: absolute;
1287
- z-index: 2;
1288
- bottom: 30px;
1289
- }
1290
-
1291
- .input-plugin-item {
1292
- font-style: normal;
1293
- font-weight: 500;
1294
- font-size: 16px;
1295
- font-family: PingFangSC-Medium;
1296
- line-height: 19px;
1297
- display: flex;
1298
- }
1299
- .input-plugin-item span {
1300
- padding: 0 17px;
1301
- }
1302
-
1303
- .emoji-picker .face-list {
1304
- height: 120px;
1305
- width: 242px;
1306
- padding: 10px 5px;
1307
- display: flex;
1308
- flex-wrap: wrap;
1309
- overflow-y: auto;
1310
- }
1311
- .emoji-picker .face-list-item {
1312
- padding: 5px;
1313
- cursor: pointer;
1314
- user-select: none;
1315
- }
1316
- .emoji-picker .face-list-item img {
1317
- width: 20px;
1318
- }
1319
- .emoji-picker .face-list-item .face-img {
1320
- width: 38px;
1321
- }
1322
- .emoji-picker .face-tab {
1323
- display: flex;
1324
- align-items: center;
1325
- min-width: 265px;
1326
- }
1327
- .emoji-picker .face-tab-item {
1328
- cursor: pointer;
1329
- width: 24px;
1330
- padding: 10px;
1331
- }
1332
- .emoji-picker .face-tab-item img {
1333
- width: 100%;
1334
- }
1335
- .emoji-picker .emoji-plugin-right {
1336
- right: 0;
1337
- }
1338
-
1339
- .upload-picker {
1340
- position: relative;
1341
- padding: 10px 16px;
1342
- min-width: 180px;
1343
- }
1344
- .upload-picker:hover {
1345
- color: #147aff;
1346
- }
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%;
1355
- }
1356
-
1357
- .input-quote {
1358
- padding: 7px 16px;
1359
- background: #f9f9f9;
1360
- display: flex;
1361
- align-items: center;
1362
- }
1363
- .input-quote-content {
1364
- flex: 1;
1365
- background: #fff;
1366
- padding: 2px 14px;
1367
- 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;
1375
- }
1376
- .input-quote-content::before {
1377
- content: "";
1378
- position: absolute;
1379
- width: 6px;
1380
- height: 100%;
1381
- background: #999;
1382
- top: 0;
1383
- left: 0;
1384
- }
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;
1414
- }
1415
- .tui-forward-main {
1416
- padding: 0 20px;
1417
- max-height: calc(100vh - 200px);
1418
- overflow-y: auto;
1419
- }
1420
- .tui-forward-main .no-result {
1421
- font-family: PingFangSC-Medium;
1422
- 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;
1431
- }
1432
- .tui-forward-list {
1433
- padding: 13px 0;
1434
- }
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;
1441
- }
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%;
1453
- }
1454
- .tui-forward-list-item .info {
1455
- display: flex;
1456
- align-items: center;
1457
- flex-shrink: 0;
1458
- width: 100%;
1459
- }
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%;
1473
- }
1474
- .tui-forward-footer {
1475
- background: rgba(249, 249, 249, 0.94);
1476
- padding: 13px 10px;
1477
- display: flex;
1478
- justify-content: space-between;
1479
- align-items: center;
1480
- }
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 {
1495
- 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
- }
1503
-
1504
- .transmitter {
1505
- padding: 0 10px;
1506
- }
1507
- .transmitter .icon-send {
1508
- transform: rotate(90deg);
1509
- }
1510
-
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);
1526
- }
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);
1530
- }
1531
-
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;
1546
- position: relative;
1547
- cursor: pointer;
1548
- flex-shrink: 0;
1549
- }
1550
- .tui-kit-avatar.circle .avatar-image {
1551
- border-radius: 50%;
1552
- }
1553
- .tui-kit-avatar.square .avatar-image {
1554
- border-radius: 4px;
1555
- }
1556
- .tui-kit-avatar img {
1557
- width: 100%;
1558
- height: 100%;
1559
- }
1560
- .tui-kit-avatar:hover .tui-kit-avatar-edit {
1561
- display: flex;
1562
- }
1563
- .tui-kit-avatar-edit {
1564
- position: absolute;
1565
- top: 0;
1566
- 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;
1574
- }
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;
1589
- }
1590
- .tui-kit-avatar-list-item {
1591
- padding: 10px;
1592
- }
1593
- .tui-kit-avatar-list-item img {
1594
- width: 40px;
1595
- }
1596
- .conversation-list-container {
1597
- overflow-x: hidden;
1598
- height: 100%;
1599
- }
1600
-
1601
- .conversation-preview-container {
1602
- display: flex;
1603
- align-items: center;
1604
- border: none;
1605
- width: 100%;
1606
- height: 64px;
1607
- cursor: pointer;
1608
- line-height: 17px;
1609
- padding: 0 20px;
1610
- }
1611
- [data-chat-theme=light] .conversation-preview-container {
1612
- background-color: var(--chat-theme-light-bg-primary);
1613
- }
1614
- [data-chat-theme=dark] .conversation-preview-container {
1615
- background-color: var(--chat-theme-dark-bg-primary);
1616
- }
1617
- .conversation-preview-container .content {
1618
- flex: 1 1 auto;
1619
- text-align: left;
1620
- margin-left: 10px;
1621
- min-width: 0;
1622
- }
1623
- .conversation-preview-container .content .title {
1624
- font-style: normal;
1625
- font-weight: 700;
1626
- font-size: 14px;
1627
- 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
- }
1638
- .conversation-preview-container .content .message {
1639
- overflow: hidden;
1640
- text-overflow: ellipsis;
1641
- white-space: nowrap;
1642
- font-family: PingFangSC-Medium;
1643
- 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);
1651
- }
1652
- [data-chat-theme=dark] .conversation-preview-container .content .message {
1653
- color: var(--chat-theme-dark-text-secondary);
1654
- }
1655
- .conversation-preview-container .external {
1656
- text-align: right;
1657
- flex: 0 1 auto;
1658
- display: flex;
1659
- flex-direction: column;
1660
- }
1661
- .conversation-preview-container .external .unread {
1662
- height: 19px;
1663
- padding: 1px 0;
1664
- }
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;
1225
+ opacity: 1;
1226
+ }
1227
+ 50% {
1228
+ opacity: 0.3;
1229
+ }
1230
+ 100% {
1231
+ opacity: 1;
1232
+ }
1672
1233
  }
1673
- [data-chat-theme=light] .conversation-preview-container .external .time {
1674
- color: var(--chat-theme-light-text-secondary);
1234
+
1235
+ .high-lighted {
1236
+ animation: highLightedAnimation 1s ease-in-out forwards;
1675
1237
  }
1676
- [data-chat-theme=dark] .conversation-preview-container .external .time {
1677
- color: var(--chat-theme-dark-text-secondary);
1238
+
1239
+ @keyframes highLightedAnimation {
1240
+ 0% {
1241
+ opacity: 1;
1242
+ color: #ff9c19;
1243
+ }
1244
+ 25% {
1245
+ opacity: 0.3;
1246
+ }
1247
+ 50% {
1248
+ color: #ff9c19;
1249
+ opacity: 1;
1250
+ }
1251
+ 75% {
1252
+ opacity: 0.3;
1253
+ }
1254
+ 100% {
1255
+ color: #ff9c19;
1256
+ opacity: 1;
1257
+ }
1678
1258
  }
1679
- .conversation-preview-container .external .more--hover {
1259
+ .progress-box {
1260
+ width: 100%;
1261
+ height: 5px;
1680
1262
  display: flex;
1681
- justify-content: flex-end;
1682
- flex: 1 1;
1263
+ justify-content: flex-start;
1683
1264
  }
1684
- .conversation-preview-container .external .more--hover .icon-more {
1685
- transform: scale(1.5);
1265
+ .progress-box .progress {
1266
+ display: inline-block;
1267
+ width: 0;
1268
+ background: #147aff;
1269
+ height: 5px;
1270
+ border-radius: 2px;
1271
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
1686
1272
  }
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;
1273
+
1274
+ .website {
1275
+ color: #147aff !important;
1696
1276
  }
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;
1277
+
1278
+ [data-uikit-theme=light] .message-custom {
1279
+ border: 1px solid var(--uikit-theme-light-stroke-color-primary);
1280
+ transition: background-color 0.3s ease-in-out;
1705
1281
  }
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);
1282
+ [data-uikit-theme=dark] .message-custom {
1283
+ border: 1px solid var(--uikit-theme-dark-stroke-color-primary);
1284
+ transition: background-color 0.3s ease-in-out;
1708
1285
  }
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);
1286
+
1287
+ [data-uikit-theme=light] .bubble {
1288
+ background-color: var(--uikit-theme-light-bg-color-bubble-reciprocal);
1289
+ color: var(--uikit-theme-light-text-color-primary);
1290
+ transition: background-color 0.3s ease-in-out;
1711
1291
  }
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);
1292
+ [data-uikit-theme=dark] .bubble {
1293
+ background-color: var(--uikit-theme-dark-bg-color-bubble-reciprocal);
1294
+ color: var(--uikit-theme-dark-text-color-primary);
1295
+ transition: background-color 0.3s ease-in-out;
1714
1296
  }
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);
1297
+ [data-uikit-theme=light] .bubble-out {
1298
+ border: none;
1299
+ background-color: var(--uikit-theme-light-bg-color-bubble-own);
1300
+ color: var(--uikit-theme-light-text-color-anti-primary);
1301
+ transition: background-color 0.3s ease-in-out;
1717
1302
  }
1718
- [data-chat-theme=light] .conversation-preview-container:hover {
1719
- background-color: var(--chat-theme-light-bg-active);
1303
+ [data-uikit-theme=dark] .bubble-out {
1304
+ border: none;
1305
+ background-color: var(--uikit-theme-dark-bg-color-bubble-own);
1306
+ color: var(--uikit-theme-dark-text-color-anti-primary);
1307
+ transition: background-color 0.3s ease-in-out;
1720
1308
  }
1721
- [data-chat-theme=dark] .conversation-preview-container:hover {
1722
- background-color: var(--chat-theme-dark-bg-active);
1309
+
1310
+ .meesage-bubble-reply-out .meesage-bubble-reply-main .message-text {
1311
+ background: none;
1723
1312
  }
1724
- [data-chat-theme=light] .conversation-preview-container.conversation-preview-content--pin {
1725
- background-color: var(--chat-theme-light-bg-secondary);
1313
+
1314
+ [data-uikit-theme=light] .message-tip {
1315
+ color: var(--uikit-theme-light-text-color-secondary);
1316
+ transition: background-color 0.3s ease-in-out;
1726
1317
  }
1727
- [data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--pin {
1728
- background-color: var(--chat-theme-dark-bg-secondary);
1318
+ [data-uikit-theme=dark] .message-tip {
1319
+ color: var(--uikit-theme-dark-text-color-secondary);
1320
+ transition: background-color 0.3s ease-in-out;
1729
1321
  }
1730
- [data-chat-theme=light] .conversation-preview-container.conversation-preview-content--active {
1731
- background-color: var(--chat-theme-light-bg-active);
1322
+
1323
+ .tip .bubble .edit {
1324
+ color: #147aff;
1325
+ padding: 3px;
1732
1326
  }
1733
- [data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--active {
1734
- background-color: var(--chat-theme-dark-bg-active);
1327
+ .plugin {
1328
+ display: flex;
1329
+ align-items: center;
1330
+ height: 100%;
1331
+ padding: 0 8px;
1332
+ gap: 8px;
1735
1333
  }
1736
- [data-chat-theme=light] .conversation-preview-container.conversation-preview-content--active .title {
1737
- color: var(--chat-theme-light-status-info);
1334
+
1335
+ .plugin-popup {
1336
+ height: 100%;
1337
+ display: flex;
1338
+ align-items: center;
1339
+ position: relative;
1738
1340
  }
1739
- [data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--active .title {
1740
- color: var(--chat-theme-dark-status-info);
1341
+ .plugin-popup-box {
1342
+ position: absolute;
1343
+ z-index: 2;
1344
+ bottom: 100%;
1741
1345
  }
1742
- .conversation-preview-container.conversation-preview-content--unread .unread {
1743
- width: 16px;
1744
- height: 13px;
1346
+
1347
+ .plugin-popup-box {
1745
1348
  border-radius: 16px;
1746
- display: flex;
1747
- justify-content: center;
1748
- 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;
1349
+ overflow: hidden;
1754
1350
  }
1755
- [data-chat-theme=light] .conversation-preview-container.conversation-preview-content--unread .unread {
1756
- background-color: var(--chat-theme-light-status-danger);
1351
+ [data-uikit-theme=light] .plugin-popup-box {
1352
+ background-color: var(--uikit-theme-light-dropdown-color-default);
1353
+ box-shadow: 0 0 10px 0 var(--uikit-theme-light-shadow-color);
1354
+ transition: background-color 0.3s ease-in-out;
1757
1355
  }
1758
- [data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--unread .unread {
1759
- background-color: var(--chat-theme-dark-status-danger);
1356
+ [data-uikit-theme=dark] .plugin-popup-box {
1357
+ background-color: var(--uikit-theme-dark-dropdown-color-default);
1358
+ box-shadow: 0 0 10px 0 var(--uikit-theme-dark-shadow-color);
1359
+ transition: background-color 0.3s ease-in-out;
1760
1360
  }
1761
1361
  .tui-chat-header {
1762
1362
  padding: 16px 20px;
@@ -1765,11 +1365,13 @@ ul li {
1765
1365
  justify-content: space-between;
1766
1366
  align-items: center;
1767
1367
  }
1768
- [data-chat-theme=light] .tui-chat-header {
1769
- background-color: var(--chat-theme-light-bg-primary);
1368
+ [data-uikit-theme=light] .tui-chat-header {
1369
+ background-color: var(--uikit-theme-light-bg-color-operate);
1370
+ transition: background-color 0.3s ease-in-out;
1770
1371
  }
1771
- [data-chat-theme=dark] .tui-chat-header {
1772
- background-color: var(--chat-theme-dark-bg-primary);
1372
+ [data-uikit-theme=dark] .tui-chat-header {
1373
+ background-color: var(--uikit-theme-dark-bg-color-operate);
1374
+ transition: background-color 0.3s ease-in-out;
1773
1375
  }
1774
1376
  .tui-chat-header-left {
1775
1377
  display: flex;
@@ -1779,20 +1381,28 @@ ul li {
1779
1381
  flex: 1;
1780
1382
  padding: 0 8px;
1781
1383
  }
1384
+ .tui-chat-header .call-btn-container {
1385
+ display: flex;
1386
+ margin-right: 10px;
1387
+ }
1388
+ .tui-chat-header .call-btn-container .call-btn {
1389
+ margin-right: 16px;
1390
+ }
1782
1391
  .tui-chat-header-right .header-handle-more {
1783
1392
  padding: 10px 3px;
1784
1393
  }
1785
1394
  .tui-chat-header .title {
1786
- font-family: PingFangSC-Medium;
1787
1395
  font-style: normal;
1788
1396
  font-weight: 700;
1789
1397
  font-size: 14px;
1790
1398
  }
1791
- [data-chat-theme=light] .tui-chat-header .title {
1792
- color: var(--chat-theme-light-text-primary);
1399
+ [data-uikit-theme=light] .tui-chat-header .title {
1400
+ color: var(--uikit-theme-light-text-color-primary);
1401
+ transition: background-color 0.3s ease-in-out;
1793
1402
  }
1794
- [data-chat-theme=dark] .tui-chat-header .title {
1795
- color: var(--chat-theme-dark-text-primary);
1403
+ [data-uikit-theme=dark] .tui-chat-header .title {
1404
+ color: var(--uikit-theme-dark-text-color-primary);
1405
+ transition: background-color 0.3s ease-in-out;
1796
1406
  }
1797
1407
  .tui-chat-header .system {
1798
1408
  height: 32px;
@@ -1805,9 +1415,21 @@ ul li {
1805
1415
  display: flex;
1806
1416
  flex-direction: column;
1807
1417
  position: relative;
1808
- background: #FFFFFF;
1809
1418
  }
1810
- ul, li, div, p, label, span {
1419
+ [data-uikit-theme=light] .chat {
1420
+ background-color: var(--uikit-theme-light-bg-color-operate);
1421
+ transition: background-color 0.3s ease-in-out;
1422
+ }
1423
+ [data-uikit-theme=dark] .chat {
1424
+ background-color: var(--uikit-theme-dark-bg-color-operate);
1425
+ transition: background-color 0.3s ease-in-out;
1426
+ }
1427
+ ul,
1428
+ li,
1429
+ div,
1430
+ p,
1431
+ label,
1432
+ span {
1811
1433
  margin: 0;
1812
1434
  padding: 0;
1813
1435
  }
@@ -1819,16 +1441,17 @@ ul li {
1819
1441
  .message-list {
1820
1442
  flex: 1;
1821
1443
  height: 100%;
1822
- overflow-x: hidden;
1823
- overflow-y: auto;
1444
+ overflow: hidden auto;
1824
1445
  position: relative;
1825
1446
  padding: 0 20px;
1826
1447
  }
1827
- [data-chat-theme=light] .message-list {
1828
- background-color: var(--chat-theme-light-bg-primary);
1448
+ [data-uikit-theme=light] .message-list {
1449
+ background-color: var(--uikit-theme-light-bg-color-operate);
1450
+ transition: background-color 0.3s ease-in-out;
1829
1451
  }
1830
- [data-chat-theme=dark] .message-list {
1831
- background-color: var(--chat-theme-dark-bg-primary);
1452
+ [data-uikit-theme=dark] .message-list {
1453
+ background-color: var(--uikit-theme-dark-bg-color-operate);
1454
+ transition: background-color 0.3s ease-in-out;
1832
1455
  }
1833
1456
  .message-list.hide {
1834
1457
  opacity: 0;
@@ -1845,31 +1468,42 @@ ul li {
1845
1468
  font-weight: 500;
1846
1469
  line-height: 17px;
1847
1470
  }
1848
- [data-chat-theme=light] .message-list .no-more {
1849
- color: var(--chat-theme-light-text-secondary);
1471
+ [data-uikit-theme=light] .message-list .no-more {
1472
+ color: var(--uikit-theme-light-text-color-secondary);
1473
+ transition: background-color 0.3s ease-in-out;
1850
1474
  }
1851
- [data-chat-theme=dark] .message-list .no-more {
1852
- color: var(--chat-theme-dark-text-secondary);
1475
+ [data-uikit-theme=dark] .message-list .no-more {
1476
+ color: var(--uikit-theme-dark-text-color-secondary);
1477
+ transition: background-color 0.3s ease-in-out;
1853
1478
  }
1854
1479
  .message-list-time {
1855
- font-family: PingFangSC-Medium;
1856
1480
  font-size: 12px;
1857
1481
  font-weight: 400;
1858
1482
  line-height: 14px;
1859
1483
  padding: 10px;
1860
1484
  text-align: center;
1861
1485
  }
1862
- [data-chat-theme=light] .message-list-time {
1863
- color: var(--chat-theme-light-text-secondary);
1486
+ [data-uikit-theme=light] .message-list-time {
1487
+ color: var(--uikit-theme-light-text-color-secondary);
1488
+ transition: background-color 0.3s ease-in-out;
1864
1489
  }
1865
- [data-chat-theme=dark] .message-list-time {
1866
- color: var(--chat-theme-dark-text-secondary);
1490
+ [data-uikit-theme=dark] .message-list-time {
1491
+ color: var(--uikit-theme-dark-text-color-secondary);
1492
+ transition: background-color 0.3s ease-in-out;
1867
1493
  }
1868
1494
  .tui-profile {
1869
1495
  display: flex;
1870
1496
  flex-direction: column;
1871
1497
  align-items: center;
1872
1498
  }
1499
+ [data-uikit-theme=light] .tui-profile {
1500
+ color: var(--uikit-theme-light-text-color-primary);
1501
+ transition: background-color 0.3s ease-in-out;
1502
+ }
1503
+ [data-uikit-theme=dark] .tui-profile {
1504
+ color: var(--uikit-theme-dark-text-color-primary);
1505
+ transition: background-color 0.3s ease-in-out;
1506
+ }
1873
1507
  .tui-profile-header {
1874
1508
  box-sizing: border-box;
1875
1509
  width: 100%;
@@ -1900,7 +1534,6 @@ ul li {
1900
1534
  .tui-profile-nick {
1901
1535
  font-weight: 700;
1902
1536
  font-size: 24px;
1903
- font-family: PingFangSC-Medium;
1904
1537
  line-height: 29px;
1905
1538
  text-align: center;
1906
1539
  }
@@ -1908,15 +1541,18 @@ ul li {
1908
1541
  padding-left: 25px;
1909
1542
  }
1910
1543
  .tui-profile-ID {
1911
- padding: 6px 0;
1912
- margin: 0;
1544
+ margin: 6px 0;
1913
1545
  display: flex;
1914
1546
  align-items: center;
1915
- font-weight: 400;
1916
1547
  font-size: 12px;
1917
- font-family: PingFangSC-Medium;
1918
- line-height: 14px;
1919
- color: #666;
1548
+ }
1549
+ [data-uikit-theme=light] .tui-profile-ID {
1550
+ color: var(--uikit-theme-light-text-color-secondary);
1551
+ transition: background-color 0.3s ease-in-out;
1552
+ }
1553
+ [data-uikit-theme=dark] .tui-profile-ID {
1554
+ color: var(--uikit-theme-dark-text-color-secondary);
1555
+ transition: background-color 0.3s ease-in-out;
1920
1556
  }
1921
1557
  .tui-profile-ID h5 {
1922
1558
  margin: 0;
@@ -1934,17 +1570,19 @@ ul li {
1934
1570
  cursor: pointer;
1935
1571
  }
1936
1572
  .tui-profile-list-item h4 {
1937
- padding-bottom: 3px;
1938
- font-weight: 400;
1939
1573
  font-size: 16px;
1940
- font-family: PingFangSC-Medium;
1941
- line-height: 22px;
1942
1574
  margin: 10px 0;
1943
- color: rgba(0, 0, 0, 0.6);
1944
1575
  }
1945
1576
  .tui-profile-div-with-edit {
1946
- padding: 4px 0;
1947
- border-bottom: 1px solid #eee;
1577
+ height: auto !important;
1578
+ }
1579
+ [data-uikit-theme=light] .tui-profile-div-with-edit {
1580
+ border-bottom: 1px solid var(--uikit-theme-light-stroke-color-primary);
1581
+ transition: background-color 0.3s ease-in-out;
1582
+ }
1583
+ [data-uikit-theme=dark] .tui-profile-div-with-edit {
1584
+ border-bottom: 1px solid var(--uikit-theme-dark-stroke-color-primary);
1585
+ transition: background-color 0.3s ease-in-out;
1948
1586
  }
1949
1587
  .tui-profile-edit {
1950
1588
  border-bottom: none !important;
@@ -1964,11 +1602,13 @@ ul li {
1964
1602
  border: none !important;
1965
1603
  }
1966
1604
 
1967
- .tui-profile {
1968
- background: #ffffff;
1605
+ [data-uikit-theme=light] .tui-profile {
1606
+ background: var(--uikit-theme-light-bg-color-operate);
1607
+ transition: background-color 0.3s ease-in-out;
1969
1608
  }
1970
- .tui-profile-header {
1971
- background: #f9fafb;
1609
+ [data-uikit-theme=dark] .tui-profile {
1610
+ background: var(--uikit-theme-dark-bg-color-operate);
1611
+ transition: background-color 0.3s ease-in-out;
1972
1612
  }
1973
1613
  .conversation-search-result.no-result {
1974
1614
  padding: 0 20px;
@@ -1995,20 +1635,40 @@ ul li {
1995
1635
  display: flex;
1996
1636
  align-items: center;
1997
1637
  border-radius: 10px;
1998
- background: rgba(249, 249, 249, 0.94);
1999
1638
  padding: 0 8px;
2000
1639
  height: 36px;
2001
1640
  box-sizing: border-box;
2002
1641
  }
2003
- .tui-kit-input-box.tui-kit-input-box--focus {
2004
- outline: 1px solid #147aff;
1642
+ [data-uikit-theme=light] .tui-kit-input-box {
1643
+ background-color: var(--uikit-theme-light-bg-color-input);
1644
+ transition: background-color 0.3s ease-in-out;
1645
+ }
1646
+ [data-uikit-theme=dark] .tui-kit-input-box {
1647
+ background-color: var(--uikit-theme-dark-bg-color-input);
1648
+ transition: background-color 0.3s ease-in-out;
1649
+ }
1650
+ [data-uikit-theme=light] .tui-kit-input-box.tui-kit-input-box--focus {
1651
+ outline: 1px solid var(--uikit-theme-light-text-color-link);
1652
+ transition: background-color 0.3s ease-in-out;
1653
+ }
1654
+ [data-uikit-theme=dark] .tui-kit-input-box.tui-kit-input-box--focus {
1655
+ outline: 1px solid var(--uikit-theme-dark-text-color-link);
1656
+ transition: background-color 0.3s ease-in-out;
2005
1657
  }
2006
1658
  .tui-kit-input-box.tui-kit-input-border--bottom {
2007
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
2008
- background-color: #fff;
2009
1659
  outline: none;
2010
1660
  border-radius: 0;
2011
1661
  }
1662
+ [data-uikit-theme=light] .tui-kit-input-box.tui-kit-input-border--bottom {
1663
+ border-bottom: 1px solid var(--uikit-theme-light-stroke-color-primary);
1664
+ background-color: var(--uikit-theme-light-bg-color-operate);
1665
+ transition: background-color 0.3s ease-in-out;
1666
+ }
1667
+ [data-uikit-theme=dark] .tui-kit-input-box.tui-kit-input-border--bottom {
1668
+ border-bottom: 1px solid var(--uikit-theme-dark-stroke-color-primary);
1669
+ background-color: var(--uikit-theme-dark-bg-color-operate);
1670
+ transition: background-color 0.3s ease-in-out;
1671
+ }
2012
1672
  .tui-kit-input-box .tui-kit-input {
2013
1673
  margin-left: 6px;
2014
1674
  margin-right: auto;
@@ -2022,22 +1682,47 @@ ul li {
2022
1682
  box-sizing: border-box;
2023
1683
  font-size: 14px;
2024
1684
  }
1685
+ [data-uikit-theme=light] .tui-kit-input-box .tui-kit-input {
1686
+ color: var(--uikit-theme-light-text-color-primary);
1687
+ transition: background-color 0.3s ease-in-out;
1688
+ }
1689
+ [data-uikit-theme=dark] .tui-kit-input-box .tui-kit-input {
1690
+ color: var(--uikit-theme-dark-text-color-primary);
1691
+ transition: background-color 0.3s ease-in-out;
1692
+ }
2025
1693
  .tui-kit-input-box .tui-kit-input:focus {
2026
1694
  border: none;
2027
1695
  outline: none;
2028
1696
  }
2029
1697
  .tui-kit-input-box .tui-kit-input::placeholder {
2030
- font-weight: 400;
2031
- color: rgba(67, 60, 63, 0.6);
2032
1698
  padding: 2px 0;
2033
1699
  }
1700
+ [data-uikit-theme=light] .tui-kit-input-box .tui-kit-input::placeholder {
1701
+ color: var(--uikit-theme-light-text-color-secondary);
1702
+ transition: background-color 0.3s ease-in-out;
1703
+ }
1704
+ [data-uikit-theme=dark] .tui-kit-input-box .tui-kit-input::placeholder {
1705
+ color: var(--uikit-theme-dark-text-color-secondary);
1706
+ transition: background-color 0.3s ease-in-out;
1707
+ }
2034
1708
  .tui-manage {
2035
1709
  display: flex;
2036
1710
  flex-direction: column;
2037
1711
  width: 22%;
2038
1712
  max-width: 300px;
2039
1713
  min-width: 200px;
2040
- border-left: 1px solid #f9fafb;
1714
+ }
1715
+ [data-uikit-theme=light] .tui-manage {
1716
+ background-color: var(--uikit-theme-light-bg-color-operate);
1717
+ color: var(--uikit-theme-light-text-color-primary);
1718
+ border-left: 1px solid var(--uikit-theme-light-stroke-color-primary);
1719
+ transition: background-color 0.3s ease-in-out;
1720
+ }
1721
+ [data-uikit-theme=dark] .tui-manage {
1722
+ background-color: var(--uikit-theme-dark-bg-color-operate);
1723
+ color: var(--uikit-theme-dark-text-color-primary);
1724
+ border-left: 1px solid var(--uikit-theme-dark-stroke-color-primary);
1725
+ transition: background-color 0.3s ease-in-out;
2041
1726
  }
2042
1727
  .tui-manage .red {
2043
1728
  color: #ff584c !important;
@@ -2051,8 +1736,6 @@ ul li {
2051
1736
  margin-right: 10px;
2052
1737
  font-weight: 700;
2053
1738
  font-size: 14px;
2054
- font-family: PingFangSC-Medium;
2055
- line-height: 17px;
2056
1739
  }
2057
1740
  .tui-manage .tui-manage-container .tui-manage-info {
2058
1741
  display: flex;
@@ -2067,26 +1750,27 @@ ul li {
2067
1750
  text-align: center;
2068
1751
  font-weight: 700;
2069
1752
  font-size: 24px;
2070
- font-family: PingFangSC-Medium;
2071
- line-height: 29px;
2072
1753
  margin-bottom: 10px;
2073
1754
  }
2074
1755
  .tui-manage .tui-manage-container .tui-manage-info .info-id {
2075
- font-weight: 400;
2076
1756
  font-size: 12px;
2077
- font-family: PingFangSC-Medium;
2078
- line-height: 14px;
2079
1757
  color: #666;
2080
1758
  margin-bottom: 30px;
2081
1759
  text-align: center;
2082
1760
  }
2083
1761
  .tui-manage .tui-manage-container .tui-manage-handle .manage-handle-box {
2084
1762
  display: flex;
2085
- background: rgba(249, 249, 249, 0.94);
2086
1763
  align-items: center;
2087
1764
  justify-content: space-between;
2088
1765
  padding: 10px;
2089
- box-sizing: border-box;
1766
+ }
1767
+ [data-uikit-theme=light] .tui-manage .tui-manage-container .tui-manage-handle .manage-handle-box {
1768
+ background: var(--uikit-theme-light-bg-color-operate);
1769
+ transition: background-color 0.3s ease-in-out;
1770
+ }
1771
+ [data-uikit-theme=dark] .tui-manage .tui-manage-container .tui-manage-handle .manage-handle-box {
1772
+ background: var(--uikit-theme-dark-bg-color-operate);
1773
+ transition: background-color 0.3s ease-in-out;
2090
1774
  }
2091
1775
  .tui-manage .tui-manage-container .tui-manage-handle .manage-handle-box:nth-child(2) {
2092
1776
  margin-top: 10px;
@@ -2094,9 +1778,14 @@ ul li {
2094
1778
  }
2095
1779
  .tui-manage .tui-manage-container .tui-manage-handle .manage-handle-box .manage-handle-title {
2096
1780
  font-size: 16px;
2097
- font-family: PingFangSC-Medium;
2098
- line-height: 22px;
2099
- color: rgba(0, 0, 0, 0.6);
1781
+ }
1782
+ [data-uikit-theme=light] .tui-manage .tui-manage-container .tui-manage-handle .manage-handle-box .manage-handle-title {
1783
+ color: var(--uikit-theme-light-text-color-primary);
1784
+ transition: background-color 0.3s ease-in-out;
1785
+ }
1786
+ [data-uikit-theme=dark] .tui-manage .tui-manage-container .tui-manage-handle .manage-handle-box .manage-handle-title {
1787
+ color: var(--uikit-theme-dark-text-color-primary);
1788
+ transition: background-color 0.3s ease-in-out;
2100
1789
  }
2101
1790
 
2102
1791
  .tui-manage.tui-h5-manage {
@@ -2110,7 +1799,14 @@ ul li {
2110
1799
  max-width: 100%;
2111
1800
  min-width: 100%;
2112
1801
  z-index: 1;
2113
- background: #fff;
1802
+ }
1803
+ [data-uikit-theme=light] .tui-manage.tui-h5-manage {
1804
+ background: var(--uikit-theme-light-bg-color-operate);
1805
+ transition: background-color 0.3s ease-in-out;
1806
+ }
1807
+ [data-uikit-theme=dark] .tui-manage.tui-h5-manage {
1808
+ background: var(--uikit-theme-dark-bg-color-operate);
1809
+ transition: background-color 0.3s ease-in-out;
2114
1810
  }
2115
1811
  .popup {
2116
1812
  opacity: 0;
@@ -2144,18 +1840,37 @@ ul li {
2144
1840
  opacity: 0;
2145
1841
  }
2146
1842
 
2147
- .info {
2148
- background: #FFFFFF;
1843
+ [data-uikit-theme=light] .info {
1844
+ background-color: var(--uikit-theme-light-bg-color-operate);
1845
+ color: var(--uikit-theme-light-text-color-primary);
1846
+ transition: background-color 0.3s ease-in-out;
1847
+ }
1848
+ [data-uikit-theme=dark] .info {
1849
+ background-color: var(--uikit-theme-dark-bg-color-operate);
1850
+ color: var(--uikit-theme-dark-text-color-primary);
1851
+ transition: background-color 0.3s ease-in-out;
2149
1852
  }
2150
1853
 
2151
- .warn {
2152
- color: #FFFFFF;
2153
- background: #faad14;
1854
+ [data-uikit-theme=light] .warn {
1855
+ background-color: var(--uikit-theme-light-text-color-warning);
1856
+ color: #fff;
1857
+ transition: background-color 0.3s ease-in-out;
1858
+ }
1859
+ [data-uikit-theme=dark] .warn {
1860
+ background-color: var(--uikit-theme-dark-text-color-warning);
1861
+ color: #fff;
1862
+ transition: background-color 0.3s ease-in-out;
2154
1863
  }
2155
1864
 
2156
- .error {
2157
- color: #FFFFFF;
2158
- background: #ff4d4f;
1865
+ [data-uikit-theme=light] .error {
1866
+ background-color: var(--uikit-theme-light-text-color-error);
1867
+ color: #fff;
1868
+ transition: background-color 0.3s ease-in-out;
1869
+ }
1870
+ [data-uikit-theme=dark] .error {
1871
+ background-color: var(--uikit-theme-dark-text-color-error);
1872
+ color: #fff;
1873
+ transition: background-color 0.3s ease-in-out;
2159
1874
  }
2160
1875
  .div-with-edit {
2161
1876
  flex: 1;
@@ -2177,12 +1892,12 @@ ul li {
2177
1892
  position: relative;
2178
1893
  word-break: break-all;
2179
1894
  }
2180
- .div-with-edit .show:hover .icon-edit {
2181
- display: flex;
2182
- }
2183
1895
  .div-with-edit .show .icon-edit {
2184
1896
  display: none;
2185
1897
  }
1898
+ .div-with-edit .show:hover .icon-edit {
1899
+ display: flex;
1900
+ }
2186
1901
  .div-with-edit .icon {
2187
1902
  margin-left: 10px;
2188
1903
  width: 25px;
@@ -2193,9 +1908,16 @@ ul li {
2193
1908
  align-items: center;
2194
1909
  justify-content: space-between;
2195
1910
  position: relative;
2196
- border-bottom: 1px solid #EEEEEE;
2197
1911
  padding: 0 10px;
2198
1912
  }
1913
+ [data-uikit-theme=light] .div-with-edit .edit {
1914
+ border-bottom: 1px solid var(--uikit-theme-light-stroke-color-primary);
1915
+ transition: background-color 0.3s ease-in-out;
1916
+ }
1917
+ [data-uikit-theme=dark] .div-with-edit .edit {
1918
+ border-bottom: 1px solid var(--uikit-theme-dark-stroke-color-primary);
1919
+ transition: background-color 0.3s ease-in-out;
1920
+ }
2199
1921
  .div-with-edit .edit input {
2200
1922
  flex: 1;
2201
1923
  font-size: inherit;
@@ -2207,20 +1929,32 @@ ul li {
2207
1929
  }
2208
1930
  .div-with-edit .edit .select {
2209
1931
  position: absolute;
2210
- box-sizing: border-box;
2211
1932
  min-width: 100%;
2212
1933
  z-index: 2;
2213
- background: #FFFFFF;
2214
- box-shadow: 0 11px 20px 0 rgb(0, 0, 0);
2215
1934
  top: 100%;
2216
1935
  border-radius: 5px;
2217
1936
  padding: 10px 0;
2218
1937
  }
1938
+ [data-uikit-theme=light] .div-with-edit .edit .select {
1939
+ background: var(--uikit-theme-light-dropdown-color-default);
1940
+ box-shadow: 0 11px 20px 0 var(--uikit-theme-light-shadow-color);
1941
+ transition: background-color 0.3s ease-in-out;
1942
+ }
1943
+ [data-uikit-theme=dark] .div-with-edit .edit .select {
1944
+ background: var(--uikit-theme-dark-dropdown-color-default);
1945
+ box-shadow: 0 11px 20px 0 var(--uikit-theme-dark-shadow-color);
1946
+ transition: background-color 0.3s ease-in-out;
1947
+ }
2219
1948
  .div-with-edit .edit .select-list-item {
2220
1949
  padding: 7px 10px;
2221
1950
  }
2222
- .div-with-edit .edit .select-list-item:hover {
2223
- background: #f2f7ff;
1951
+ [data-uikit-theme=light] .div-with-edit .edit .select-list-item:hover {
1952
+ background: var(--uikit-theme-light-dropdown-color-hover);
1953
+ transition: background-color 0.3s ease-in-out;
1954
+ }
1955
+ [data-uikit-theme=dark] .div-with-edit .edit .select-list-item:hover {
1956
+ background: var(--uikit-theme-dark-dropdown-color-hover);
1957
+ transition: background-color 0.3s ease-in-out;
2224
1958
  }
2225
1959
  .tui-kit-icon {
2226
1960
  display: flex;
@@ -2331,10 +2065,16 @@ ul li {
2331
2065
  display: flex;
2332
2066
  flex-direction: column;
2333
2067
  position: relative;
2334
- border-right: 1px solid #F9FAFB;
2335
2068
  text-align: initial;
2336
- overflow-y: scroll;
2337
- overflow-x: hidden;
2069
+ overflow: hidden scroll;
2070
+ }
2071
+ [data-uikit-theme=light] .tui-contacts-list {
2072
+ color: var(--uikit-theme-light-text-color-primary);
2073
+ transition: background-color 0.3s ease-in-out;
2074
+ }
2075
+ [data-uikit-theme=dark] .tui-contacts-list {
2076
+ color: var(--uikit-theme-dark-text-color-primary);
2077
+ transition: background-color 0.3s ease-in-out;
2338
2078
  }
2339
2079
  .tui-contacts-list .tui-contacts-title {
2340
2080
  display: flex;
@@ -2343,6 +2083,7 @@ ul li {
2343
2083
  .tui-contacts-list .tui-contacts-list-title {
2344
2084
  display: flex;
2345
2085
  padding: 10px 20px;
2086
+ cursor: pointer;
2346
2087
  }
2347
2088
  .tui-contacts-list .tui-contacts-list-icon {
2348
2089
  display: flex;
@@ -2350,15 +2091,24 @@ ul li {
2350
2091
  justify-content: center;
2351
2092
  margin-right: 20px;
2352
2093
  }
2094
+ .tui-contacts-list .tui-contacts-list-icon .contacts-list-icon {
2095
+ font-size: 12px;
2096
+ }
2097
+ [data-uikit-theme=light] .tui-contacts-list .tui-contacts-list-icon .contacts-list-icon {
2098
+ color: var(--uikit-theme-light-text-color-primary);
2099
+ transition: background-color 0.3s ease-in-out;
2100
+ }
2101
+ [data-uikit-theme=dark] .tui-contacts-list .tui-contacts-list-icon .contacts-list-icon {
2102
+ color: var(--uikit-theme-dark-text-color-primary);
2103
+ transition: background-color 0.3s ease-in-out;
2104
+ }
2353
2105
  .tui-contacts-list .tui-contacts-list-item {
2354
2106
  align-items: center;
2355
2107
  cursor: pointer;
2356
2108
  display: flex;
2357
2109
  padding: 10px 20px;
2358
2110
  text-align: center;
2359
- font-family: PingFangSC-Medium;
2360
2111
  font-size: 14px;
2361
- line-height: 20px;
2362
2112
  }
2363
2113
  .tui-contacts-list .tui-contacts-list-item .tui-contacts-list-item-card {
2364
2114
  display: flex;
@@ -2371,6 +2121,11 @@ ul li {
2371
2121
  .tui-contacts-list .tui-contacts-list-item .tui-contacts-list-item-container {
2372
2122
  margin-left: 10px;
2373
2123
  }
2124
+ .tui-contacts-list .tui-contacts-list-item .text-ellipsis, .tui-contacts-list .tui-contacts-list-item .tui-contacts-list-item-name, .tui-contacts-list .tui-contacts-list-item .tui-contacts-list-item-text {
2125
+ overflow: hidden;
2126
+ text-overflow: ellipsis;
2127
+ white-space: nowrap;
2128
+ }
2374
2129
  .tui-contacts-list .tui-contacts-list-item .tui-contacts-list-item-text {
2375
2130
  color: #999;
2376
2131
  font-size: 12px;
@@ -2381,22 +2136,11 @@ ul li {
2381
2136
  font-size: 12px;
2382
2137
  text-align: left;
2383
2138
  }
2384
- .tui-contacts-list .tui-contacts-list-item .tui-contacts-list-item-name {
2385
- color: #000;
2386
- font-weight: 400;
2387
- text-align: left;
2388
- }
2389
- .tui-contacts-list .text-ellipsis, .tui-contacts-list .tui-contacts-list-item .tui-contacts-list-item-text, .tui-contacts-list .tui-contacts-list-item .tui-contacts-list-item-name {
2390
- overflow: hidden;
2391
- text-overflow: ellipsis;
2392
- white-space: nowrap;
2393
- }
2394
2139
  .tui-contacts-list .application-btn {
2395
2140
  width: 30px;
2396
2141
  height: 14px;
2397
2142
  padding: 5px;
2398
2143
  border-radius: 15px;
2399
- border: none;
2400
2144
  font-size: 10px;
2401
2145
  text-align: center;
2402
2146
  line-height: 14px;
@@ -2404,8 +2148,8 @@ ul li {
2404
2148
  cursor: pointer;
2405
2149
  -webkit-user-select: none;
2406
2150
  user-select: none;
2407
- border: 1px solid #006EFF;
2408
- background: #006EFF;
2151
+ border: 1px solid #006eff;
2152
+ background: #006eff;
2409
2153
  color: #fff;
2410
2154
  }
2411
2155
 
@@ -2423,10 +2167,17 @@ ul li {
2423
2167
  height: 100%;
2424
2168
  display: flex;
2425
2169
  padding: 60px;
2426
- box-sizing: border-box;
2427
2170
  flex-direction: column;
2428
2171
  overflow: hidden;
2429
2172
  }
2173
+ [data-uikit-theme=light] .tui-contact-info {
2174
+ background-color: var(--uikit-theme-light-bg-color-operate);
2175
+ transition: background-color 0.3s ease-in-out;
2176
+ }
2177
+ [data-uikit-theme=dark] .tui-contact-info {
2178
+ background-color: var(--uikit-theme-dark-bg-color-operate);
2179
+ transition: background-color 0.3s ease-in-out;
2180
+ }
2430
2181
  .tui-contact-info .tui-contact-info-header {
2431
2182
  padding-bottom: 15px;
2432
2183
  border-bottom: 1px solid #ddd;
@@ -2446,30 +2197,50 @@ ul li {
2446
2197
  font-size: 24px;
2447
2198
  padding: 15px;
2448
2199
  }
2200
+ [data-uikit-theme=light] .tui-contact-info .tui-contact-info-header .header-container .header-container-name {
2201
+ color: var(--uikit-theme-light-text-color-primary);
2202
+ transition: background-color 0.3s ease-in-out;
2203
+ }
2204
+ [data-uikit-theme=dark] .tui-contact-info .tui-contact-info-header .header-container .header-container-name {
2205
+ color: var(--uikit-theme-dark-text-color-primary);
2206
+ transition: background-color 0.3s ease-in-out;
2207
+ }
2449
2208
  .tui-contact-info .tui-contact-info-header .header-container .header-container-text {
2209
+ margin-top: 20px;
2450
2210
  font-size: 16px;
2451
- line-height: 50px;
2452
- font-weight: 400;
2453
- color: #999999;
2454
2211
  word-break: break-all;
2455
2212
  }
2213
+ [data-uikit-theme=light] .tui-contact-info .tui-contact-info-header .header-container .header-container-text {
2214
+ color: var(--uikit-theme-light-text-color-secondary);
2215
+ transition: background-color 0.3s ease-in-out;
2216
+ }
2217
+ [data-uikit-theme=dark] .tui-contact-info .tui-contact-info-header .header-container .header-container-text {
2218
+ color: var(--uikit-theme-dark-text-color-secondary);
2219
+ transition: background-color 0.3s ease-in-out;
2220
+ }
2456
2221
  .tui-contact-info .tui-contact-info-content {
2457
2222
  padding: 15px 0;
2458
2223
  overflow: hidden;
2459
2224
  }
2225
+ [data-uikit-theme=light] .tui-contact-info .tui-contact-info-content {
2226
+ color: var(--uikit-theme-light-text-color-secondary);
2227
+ transition: background-color 0.3s ease-in-out;
2228
+ }
2229
+ [data-uikit-theme=dark] .tui-contact-info .tui-contact-info-content {
2230
+ color: var(--uikit-theme-dark-text-color-secondary);
2231
+ transition: background-color 0.3s ease-in-out;
2232
+ }
2460
2233
  .tui-contact-info .tui-contact-info-content .content-item {
2461
2234
  display: flex;
2462
2235
  flex-direction: row;
2463
2236
  align-items: center;
2464
2237
  padding: 6px 0;
2465
2238
  font-size: 16px;
2466
- font-weight: 400;
2467
2239
  min-height: 56px;
2468
2240
  }
2469
2241
  .tui-contact-info .tui-contact-info-content .content-item-wording {
2470
2242
  padding: 6px 0;
2471
2243
  font-size: 16px;
2472
- font-weight: 400;
2473
2244
  min-height: 56px;
2474
2245
  }
2475
2246
  .tui-contact-info .tui-contact-info-content .content-item-wording-text {
@@ -2484,14 +2255,12 @@ ul li {
2484
2255
  width: 95%;
2485
2256
  }
2486
2257
  .tui-contact-info .tui-contact-info-content .content-item-label {
2487
- color: #999;
2488
2258
  margin-right: 5px;
2489
2259
  }
2490
2260
  .tui-contact-info .tui-contact-info-content .content-item-text {
2491
2261
  flex: 1;
2492
2262
  display: flex;
2493
2263
  flex-direction: row;
2494
- color: #333;
2495
2264
  overflow: hidden;
2496
2265
  }
2497
2266
  .tui-contact-info .tui-contact-info-content .content-btn-container {
@@ -2501,30 +2270,36 @@ ul li {
2501
2270
  }
2502
2271
  .tui-contact-info .tui-contact-info-content .content-btn-container .content-item-btn {
2503
2272
  margin: 15px;
2504
- width: 122px;
2505
- height: 26px;
2506
2273
  padding: 8px 20px;
2507
2274
  border-radius: 25px;
2508
2275
  border: none;
2509
2276
  font-size: 14px;
2510
2277
  text-align: center;
2511
- line-height: 26px;
2512
- font-weight: 400;
2513
2278
  letter-spacing: 0;
2514
2279
  min-width: 100px;
2515
2280
  cursor: pointer;
2516
2281
  -webkit-user-select: none;
2517
2282
  user-select: none;
2518
2283
  }
2519
- .tui-contact-info .tui-contact-info-content .content-btn-container .delete-btn {
2520
- border: 1px solid #e54545;
2521
- background: transparent;
2522
- color: #e54545;
2284
+ [data-uikit-theme=light] .tui-contact-info .tui-contact-info-content .content-btn-container .delete-btn {
2285
+ color: var(--uikit-theme-light-text-color-error);
2286
+ border: 1px solid;
2287
+ transition: background-color 0.3s ease-in-out;
2523
2288
  }
2524
- .tui-contact-info .tui-contact-info-content .content-btn-container .confirm-btn {
2525
- border: 1px solid #006eff;
2526
- background: #006eff;
2289
+ [data-uikit-theme=dark] .tui-contact-info .tui-contact-info-content .content-btn-container .delete-btn {
2290
+ color: var(--uikit-theme-dark-text-color-error);
2291
+ border: 1px solid;
2292
+ transition: background-color 0.3s ease-in-out;
2293
+ }
2294
+ [data-uikit-theme=light] .tui-contact-info .tui-contact-info-content .content-btn-container .confirm-btn {
2295
+ color: #fff;
2296
+ background-color: var(--uikit-theme-light-text-color-link);
2297
+ transition: background-color 0.3s ease-in-out;
2298
+ }
2299
+ [data-uikit-theme=dark] .tui-contact-info .tui-contact-info-content .content-btn-container .confirm-btn {
2527
2300
  color: #fff;
2301
+ background-color: var(--uikit-theme-dark-text-color-link);
2302
+ transition: background-color 0.3s ease-in-out;
2528
2303
  }
2529
2304
 
2530
2305
  .tui-contact-info-h5 {
@@ -2540,6 +2315,14 @@ ul li {
2540
2315
  text-align: initial;
2541
2316
  overflow: hidden;
2542
2317
  }
2318
+ [data-uikit-theme=light] .tui-contacts {
2319
+ background-color: var(--uikit-theme-light-bg-color-operate);
2320
+ transition: background-color 0.3s ease-in-out;
2321
+ }
2322
+ [data-uikit-theme=dark] .tui-contacts {
2323
+ background-color: var(--uikit-theme-dark-bg-color-operate);
2324
+ transition: background-color 0.3s ease-in-out;
2325
+ }
2543
2326
  .tui-contacts .tui-contacts-header {
2544
2327
  position: relative;
2545
2328
  display: flex;
@@ -2550,8 +2333,7 @@ ul li {
2550
2333
  width: 100%;
2551
2334
  }
2552
2335
  .tui-contacts .tui-contacts-add {
2553
- display: flex;
2554
- color: #147AFF;
2336
+ color: #147aff;
2555
2337
  font-size: 20px;
2556
2338
  align-items: center;
2557
2339
  cursor: pointer;
@@ -2565,22 +2347,33 @@ ul li {
2565
2347
  }
2566
2348
  .tui-contacts .tui-contacts-add-header {
2567
2349
  align-items: center;
2568
- background-color: #f9fafb;
2569
2350
  display: flex;
2570
2351
  flex-direction: row;
2571
2352
  padding: 16px 20px;
2572
2353
  text-align: center;
2573
2354
  margin-bottom: 10px;
2574
2355
  }
2356
+ [data-uikit-theme=light] .tui-contacts .tui-contacts-add-header {
2357
+ background-color: var(--uikit-theme-light-bg-color-operate);
2358
+ transition: background-color 0.3s ease-in-out;
2359
+ }
2360
+ [data-uikit-theme=dark] .tui-contacts .tui-contacts-add-header {
2361
+ background-color: var(--uikit-theme-dark-bg-color-operate);
2362
+ transition: background-color 0.3s ease-in-out;
2363
+ }
2575
2364
  .tui-contacts .tui-contacts-add-header .tui-contacts-add-header-title {
2576
- color: #000;
2577
- font-family: PingFangSC-Medium;
2578
2365
  font-size: 20px;
2579
2366
  font-weight: 600;
2580
- letter-spacing: -0.41px;
2581
- line-height: 32px;
2582
2367
  margin-left: 10px;
2583
2368
  }
2369
+ [data-uikit-theme=light] .tui-contacts .tui-contacts-add-header .tui-contacts-add-header-title {
2370
+ color: var(--uikit-theme-light-text-color-primary);
2371
+ transition: background-color 0.3s ease-in-out;
2372
+ }
2373
+ [data-uikit-theme=dark] .tui-contacts .tui-contacts-add-header .tui-contacts-add-header-title {
2374
+ color: var(--uikit-theme-dark-text-color-primary);
2375
+ transition: background-color 0.3s ease-in-out;
2376
+ }
2584
2377
  .tui-contacts .no-result {
2585
2378
  padding: 0 20px;
2586
2379
  display: flex;
@@ -2591,12 +2384,17 @@ ul li {
2591
2384
  margin: 100px auto 50px;
2592
2385
  }
2593
2386
  .tui-contacts .no-result-message {
2594
- color: #999999;
2595
- font-weight: 400;
2596
2387
  font-size: 16px;
2597
- font-family: PingFangSC-Medium;
2598
2388
  line-height: 22px;
2599
2389
  }
2390
+ [data-uikit-theme=light] .tui-contacts .no-result-message {
2391
+ color: var(--uikit-theme-light-text-color-secondary);
2392
+ transition: background-color 0.3s ease-in-out;
2393
+ }
2394
+ [data-uikit-theme=dark] .tui-contacts .no-result-message {
2395
+ color: var(--uikit-theme-dark-text-color-secondary);
2396
+ transition: background-color 0.3s ease-in-out;
2397
+ }
2600
2398
 
2601
2399
  .tui-contacts-h5 {
2602
2400
  min-width: 100%;