@memori.ai/memori-react 7.28.0 → 7.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/components/AccountForm/AccountForm.d.ts +1 -0
  3. package/dist/components/AgeVerificationModal/AgeVerificationModal.d.ts +1 -0
  4. package/dist/components/AttachmentLinkModal/AttachmentLinkModal.d.ts +1 -0
  5. package/dist/components/Auth/Auth.d.ts +1 -0
  6. package/dist/components/Avatar/AvatarView/AvatarComponent/Shadow/DynamicShadow.d.ts +1 -0
  7. package/dist/components/Avatar/AvatarView/AvatarComponent/components/FullbodyAvatar/fullbodyAvatar.d.ts +1 -0
  8. package/dist/components/Avatar/AvatarView/AvatarComponent/components/controllers/AnimationController.d.ts +38 -0
  9. package/dist/components/Avatar/AvatarView/AvatarComponent/components/controllers/AnimationController.js +181 -0
  10. package/dist/components/Avatar/AvatarView/AvatarComponent/components/controllers/AnimationController.js.map +1 -0
  11. package/dist/components/Avatar/AvatarView/AvatarComponent/components/halfbodyAvatar.d.ts +1 -0
  12. package/dist/components/Avatar/AvatarView/AvatarComponent/components/loader.d.ts +1 -0
  13. package/dist/components/Blob/Blob.d.ts +1 -0
  14. package/dist/components/BlockedMemoriBadge/BlockedMemoriBadge.d.ts +1 -0
  15. package/dist/components/Chat/Chat.d.ts +1 -0
  16. package/dist/components/Chat/Chat.js +5 -3
  17. package/dist/components/Chat/Chat.js.map +1 -1
  18. package/dist/components/ChatBubble/VirtualizedContent/VirtualizedContent.d.ts +7 -0
  19. package/dist/components/ChatBubble/VirtualizedContent/VirtualizedContent.js +69 -0
  20. package/dist/components/ChatBubble/VirtualizedContent/VirtualizedContent.js.map +1 -0
  21. package/dist/components/ChatHistoryDrawer/ChatHistory.css +321 -0
  22. package/dist/components/ChatHistoryDrawer/ChatHistory.d.ts +15 -0
  23. package/dist/components/ChatHistoryDrawer/ChatHistory.js +109 -0
  24. package/dist/components/ChatHistoryDrawer/ChatHistory.js.map +1 -0
  25. package/dist/components/CompletionProviderStatus/CompletionProviderStatus.d.ts +1 -0
  26. package/dist/components/CustomGLBModelViewer/ModelViewer.d.ts +1 -0
  27. package/dist/components/ExpertsDrawer/ExpertsDrawer.d.ts +1 -0
  28. package/dist/components/FeedbackButtons/FeedbackButtons.d.ts +1 -0
  29. package/dist/components/FilePreview/FilePreview.d.ts +1 -0
  30. package/dist/components/Header/Header.d.ts +2 -0
  31. package/dist/components/Header/Header.js +4 -3
  32. package/dist/components/Header/Header.js.map +1 -1
  33. package/dist/components/KnownFacts/KnownFacts.d.ts +1 -0
  34. package/dist/components/LoginDrawer/LoginDrawer.d.ts +1 -0
  35. package/dist/components/MemoriWidget/MemoriWidget.d.ts +2 -1
  36. package/dist/components/MemoriWidget/MemoriWidget.js +173 -21
  37. package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
  38. package/dist/components/MicrophoneButton/MicrophoneButton.d.ts +1 -0
  39. package/dist/components/PositionDrawer/PositionDrawer.d.ts +1 -0
  40. package/dist/components/PoweredBy/PoweredBy.d.ts +1 -0
  41. package/dist/components/SettingsDrawer/SettingsDrawer.d.ts +1 -0
  42. package/dist/components/SignupForm/SignupForm.d.ts +1 -0
  43. package/dist/components/Snippet/Snippet.d.ts +1 -0
  44. package/dist/components/StartPanel/StartPanel.css +20 -21
  45. package/dist/components/StartPanel/StartPanel.js.map +1 -1
  46. package/dist/components/Typing/Typing.d.ts +1 -0
  47. package/dist/components/VenueWidget/VenueWidget.css +7 -0
  48. package/dist/components/VenueWidget/VenueWidget.d.ts +1 -0
  49. package/dist/components/VenueWidget/VenueWidget.js +1 -1
  50. package/dist/components/VenueWidget/VenueWidget.js.map +1 -1
  51. package/dist/components/WhyThisAnswer/WhyThisAnswer.d.ts +1 -0
  52. package/dist/components/icons/AI.d.ts +1 -0
  53. package/dist/components/icons/Alert.d.ts +1 -0
  54. package/dist/components/icons/Bug.d.ts +1 -0
  55. package/dist/components/icons/Chat.d.ts +6 -0
  56. package/dist/components/icons/Chat.js +6 -0
  57. package/dist/components/icons/Chat.js.map +1 -0
  58. package/dist/components/icons/ChevronLeft.d.ts +1 -0
  59. package/dist/components/icons/ChevronRight.d.ts +1 -0
  60. package/dist/components/icons/Clear.d.ts +1 -0
  61. package/dist/components/icons/Close.d.ts +1 -0
  62. package/dist/components/icons/Code.d.ts +1 -0
  63. package/dist/components/icons/Copy.d.ts +1 -0
  64. package/dist/components/icons/DeepThought.d.ts +1 -0
  65. package/dist/components/icons/Delete.d.ts +1 -0
  66. package/dist/components/icons/Download.d.ts +1 -0
  67. package/dist/components/icons/Edit.d.ts +1 -0
  68. package/dist/components/icons/Expand.d.ts +1 -0
  69. package/dist/components/icons/Eye.d.ts +1 -0
  70. package/dist/components/icons/EyeInvisible.d.ts +1 -0
  71. package/dist/components/icons/Facebook.d.ts +1 -0
  72. package/dist/components/icons/Feedback.d.ts +1 -0
  73. package/dist/components/icons/File.d.ts +1 -0
  74. package/dist/components/icons/FileExcel.d.ts +1 -0
  75. package/dist/components/icons/FilePdf.d.ts +1 -0
  76. package/dist/components/icons/FileWord.d.ts +1 -0
  77. package/dist/components/icons/Fullscreen.d.ts +1 -0
  78. package/dist/components/icons/FullscreenExit.d.ts +1 -0
  79. package/dist/components/icons/Group.d.ts +1 -0
  80. package/dist/components/icons/History.d.ts +7 -0
  81. package/dist/components/icons/History.js +6 -0
  82. package/dist/components/icons/History.js.map +1 -0
  83. package/dist/components/icons/Info.d.ts +1 -0
  84. package/dist/components/icons/Link.d.ts +1 -0
  85. package/dist/components/icons/Linkedin.d.ts +1 -0
  86. package/dist/components/icons/Loading.d.ts +1 -0
  87. package/dist/components/icons/Mail.d.ts +1 -0
  88. package/dist/components/icons/MapMarker.d.ts +1 -0
  89. package/dist/components/icons/Message.d.ts +1 -0
  90. package/dist/components/icons/Microphone.d.ts +1 -0
  91. package/dist/components/icons/Minus.d.ts +1 -0
  92. package/dist/components/icons/MinusCircle.d.ts +1 -0
  93. package/dist/components/icons/PaperClip.d.ts +1 -0
  94. package/dist/components/icons/Picture.d.ts +1 -0
  95. package/dist/components/icons/Plus.d.ts +1 -0
  96. package/dist/components/icons/QuestionHelp.d.ts +1 -0
  97. package/dist/components/icons/Refresh.d.ts +1 -0
  98. package/dist/components/icons/SelectIcon.d.ts +1 -0
  99. package/dist/components/icons/Send.d.ts +1 -0
  100. package/dist/components/icons/Setting.d.ts +1 -0
  101. package/dist/components/icons/Share.d.ts +1 -0
  102. package/dist/components/icons/Sound.d.ts +1 -0
  103. package/dist/components/icons/SoundDeactivated.d.ts +1 -0
  104. package/dist/components/icons/Telegram.d.ts +1 -0
  105. package/dist/components/icons/ThumbDown.d.ts +1 -0
  106. package/dist/components/icons/ThumbUp.d.ts +1 -0
  107. package/dist/components/icons/Translation.d.ts +1 -0
  108. package/dist/components/icons/Twitter.d.ts +1 -0
  109. package/dist/components/icons/User.d.ts +1 -0
  110. package/dist/components/icons/Warning.d.ts +1 -0
  111. package/dist/components/icons/WhatsApp.d.ts +1 -0
  112. package/dist/components/ui/Card.css +4 -0
  113. package/dist/components/ui/Card.js +3 -2
  114. package/dist/components/ui/Card.js.map +1 -1
  115. package/dist/components/ui/Select.d.ts +1 -0
  116. package/dist/helpers/message.js +1 -4
  117. package/dist/helpers/message.js.map +1 -1
  118. package/dist/helpers/utils.d.ts +1 -0
  119. package/dist/helpers/utils.js +18 -1
  120. package/dist/helpers/utils.js.map +1 -1
  121. package/dist/index.d.ts +1 -0
  122. package/dist/index.js +2 -2
  123. package/dist/index.js.map +1 -1
  124. package/dist/locales/de.json +11 -1
  125. package/dist/locales/en.json +11 -1
  126. package/dist/locales/es.json +11 -1
  127. package/dist/locales/fr.json +14 -2
  128. package/dist/locales/it.json +11 -1
  129. package/dist/styles.css +1 -0
  130. package/esm/components/AccountForm/AccountForm.d.ts +1 -0
  131. package/esm/components/AgeVerificationModal/AgeVerificationModal.d.ts +1 -0
  132. package/esm/components/AttachmentLinkModal/AttachmentLinkModal.d.ts +1 -0
  133. package/esm/components/Auth/Auth.d.ts +1 -0
  134. package/esm/components/Avatar/AvatarView/AvatarComponent/Shadow/DynamicShadow.d.ts +1 -0
  135. package/esm/components/Avatar/AvatarView/AvatarComponent/components/FullbodyAvatar/fullbodyAvatar.d.ts +1 -0
  136. package/esm/components/Avatar/AvatarView/AvatarComponent/components/controllers/AnimationController.d.ts +38 -0
  137. package/esm/components/Avatar/AvatarView/AvatarComponent/components/controllers/AnimationController.js +177 -0
  138. package/esm/components/Avatar/AvatarView/AvatarComponent/components/controllers/AnimationController.js.map +1 -0
  139. package/esm/components/Avatar/AvatarView/AvatarComponent/components/halfbodyAvatar.d.ts +1 -0
  140. package/esm/components/Avatar/AvatarView/AvatarComponent/components/loader.d.ts +1 -0
  141. package/esm/components/Blob/Blob.d.ts +1 -0
  142. package/esm/components/BlockedMemoriBadge/BlockedMemoriBadge.d.ts +1 -0
  143. package/esm/components/Chat/Chat.d.ts +1 -0
  144. package/esm/components/Chat/Chat.js +5 -3
  145. package/esm/components/Chat/Chat.js.map +1 -1
  146. package/esm/components/ChatBubble/VirtualizedContent/VirtualizedContent.d.ts +7 -0
  147. package/esm/components/ChatBubble/VirtualizedContent/VirtualizedContent.js +67 -0
  148. package/esm/components/ChatBubble/VirtualizedContent/VirtualizedContent.js.map +1 -0
  149. package/esm/components/ChatHistoryDrawer/ChatHistory.css +321 -0
  150. package/esm/components/ChatHistoryDrawer/ChatHistory.d.ts +15 -0
  151. package/esm/components/ChatHistoryDrawer/ChatHistory.js +106 -0
  152. package/esm/components/ChatHistoryDrawer/ChatHistory.js.map +1 -0
  153. package/esm/components/CompletionProviderStatus/CompletionProviderStatus.d.ts +1 -0
  154. package/esm/components/CustomGLBModelViewer/ModelViewer.d.ts +1 -0
  155. package/esm/components/ExpertsDrawer/ExpertsDrawer.d.ts +1 -0
  156. package/esm/components/FeedbackButtons/FeedbackButtons.d.ts +1 -0
  157. package/esm/components/FilePreview/FilePreview.d.ts +1 -0
  158. package/esm/components/Header/Header.d.ts +2 -0
  159. package/esm/components/Header/Header.js +4 -3
  160. package/esm/components/Header/Header.js.map +1 -1
  161. package/esm/components/KnownFacts/KnownFacts.d.ts +1 -0
  162. package/esm/components/LoginDrawer/LoginDrawer.d.ts +1 -0
  163. package/esm/components/MemoriWidget/MemoriWidget.d.ts +2 -1
  164. package/esm/components/MemoriWidget/MemoriWidget.js +173 -21
  165. package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
  166. package/esm/components/MicrophoneButton/MicrophoneButton.d.ts +1 -0
  167. package/esm/components/PositionDrawer/PositionDrawer.d.ts +1 -0
  168. package/esm/components/PoweredBy/PoweredBy.d.ts +1 -0
  169. package/esm/components/SettingsDrawer/SettingsDrawer.d.ts +1 -0
  170. package/esm/components/SignupForm/SignupForm.d.ts +1 -0
  171. package/esm/components/Snippet/Snippet.d.ts +1 -0
  172. package/esm/components/StartPanel/StartPanel.css +20 -21
  173. package/esm/components/StartPanel/StartPanel.js.map +1 -1
  174. package/esm/components/Typing/Typing.d.ts +1 -0
  175. package/esm/components/VenueWidget/VenueWidget.css +7 -0
  176. package/esm/components/VenueWidget/VenueWidget.d.ts +1 -0
  177. package/esm/components/VenueWidget/VenueWidget.js +1 -1
  178. package/esm/components/VenueWidget/VenueWidget.js.map +1 -1
  179. package/esm/components/WhyThisAnswer/WhyThisAnswer.d.ts +1 -0
  180. package/esm/components/icons/AI.d.ts +1 -0
  181. package/esm/components/icons/Alert.d.ts +1 -0
  182. package/esm/components/icons/Bug.d.ts +1 -0
  183. package/esm/components/icons/Chat.d.ts +6 -0
  184. package/esm/components/icons/Chat.js +4 -0
  185. package/esm/components/icons/Chat.js.map +1 -0
  186. package/esm/components/icons/ChevronLeft.d.ts +1 -0
  187. package/esm/components/icons/ChevronRight.d.ts +1 -0
  188. package/esm/components/icons/Clear.d.ts +1 -0
  189. package/esm/components/icons/Close.d.ts +1 -0
  190. package/esm/components/icons/Code.d.ts +1 -0
  191. package/esm/components/icons/Copy.d.ts +1 -0
  192. package/esm/components/icons/DeepThought.d.ts +1 -0
  193. package/esm/components/icons/Delete.d.ts +1 -0
  194. package/esm/components/icons/Download.d.ts +1 -0
  195. package/esm/components/icons/Edit.d.ts +1 -0
  196. package/esm/components/icons/Expand.d.ts +1 -0
  197. package/esm/components/icons/Eye.d.ts +1 -0
  198. package/esm/components/icons/EyeInvisible.d.ts +1 -0
  199. package/esm/components/icons/Facebook.d.ts +1 -0
  200. package/esm/components/icons/Feedback.d.ts +1 -0
  201. package/esm/components/icons/File.d.ts +1 -0
  202. package/esm/components/icons/FileExcel.d.ts +1 -0
  203. package/esm/components/icons/FilePdf.d.ts +1 -0
  204. package/esm/components/icons/FileWord.d.ts +1 -0
  205. package/esm/components/icons/Fullscreen.d.ts +1 -0
  206. package/esm/components/icons/FullscreenExit.d.ts +1 -0
  207. package/esm/components/icons/Group.d.ts +1 -0
  208. package/esm/components/icons/History.d.ts +7 -0
  209. package/esm/components/icons/History.js +4 -0
  210. package/esm/components/icons/History.js.map +1 -0
  211. package/esm/components/icons/Info.d.ts +1 -0
  212. package/esm/components/icons/Link.d.ts +1 -0
  213. package/esm/components/icons/Linkedin.d.ts +1 -0
  214. package/esm/components/icons/Loading.d.ts +1 -0
  215. package/esm/components/icons/Mail.d.ts +1 -0
  216. package/esm/components/icons/MapMarker.d.ts +1 -0
  217. package/esm/components/icons/Message.d.ts +1 -0
  218. package/esm/components/icons/Microphone.d.ts +1 -0
  219. package/esm/components/icons/Minus.d.ts +1 -0
  220. package/esm/components/icons/MinusCircle.d.ts +1 -0
  221. package/esm/components/icons/PaperClip.d.ts +1 -0
  222. package/esm/components/icons/Picture.d.ts +1 -0
  223. package/esm/components/icons/Plus.d.ts +1 -0
  224. package/esm/components/icons/QuestionHelp.d.ts +1 -0
  225. package/esm/components/icons/Refresh.d.ts +1 -0
  226. package/esm/components/icons/SelectIcon.d.ts +1 -0
  227. package/esm/components/icons/Send.d.ts +1 -0
  228. package/esm/components/icons/Setting.d.ts +1 -0
  229. package/esm/components/icons/Share.d.ts +1 -0
  230. package/esm/components/icons/Sound.d.ts +1 -0
  231. package/esm/components/icons/SoundDeactivated.d.ts +1 -0
  232. package/esm/components/icons/Telegram.d.ts +1 -0
  233. package/esm/components/icons/ThumbDown.d.ts +1 -0
  234. package/esm/components/icons/ThumbUp.d.ts +1 -0
  235. package/esm/components/icons/Translation.d.ts +1 -0
  236. package/esm/components/icons/Twitter.d.ts +1 -0
  237. package/esm/components/icons/User.d.ts +1 -0
  238. package/esm/components/icons/Warning.d.ts +1 -0
  239. package/esm/components/icons/WhatsApp.d.ts +1 -0
  240. package/esm/components/ui/Card.css +4 -0
  241. package/esm/components/ui/Card.js +3 -2
  242. package/esm/components/ui/Card.js.map +1 -1
  243. package/esm/components/ui/Select.d.ts +1 -0
  244. package/esm/helpers/message.js +1 -4
  245. package/esm/helpers/message.js.map +1 -1
  246. package/esm/helpers/utils.d.ts +1 -0
  247. package/esm/helpers/utils.js +16 -0
  248. package/esm/helpers/utils.js.map +1 -1
  249. package/esm/index.d.ts +1 -0
  250. package/esm/index.js +2 -2
  251. package/esm/index.js.map +1 -1
  252. package/esm/locales/de.json +11 -1
  253. package/esm/locales/en.json +11 -1
  254. package/esm/locales/es.json +11 -1
  255. package/esm/locales/fr.json +14 -2
  256. package/esm/locales/it.json +11 -1
  257. package/esm/styles.css +1 -0
  258. package/package.json +1 -1
  259. package/src/components/Chat/Chat.tsx +5 -2
  260. package/src/components/ChatHistoryDrawer/ChatHistory.css +321 -0
  261. package/src/components/ChatHistoryDrawer/ChatHistory.stories.tsx +290 -0
  262. package/src/components/ChatHistoryDrawer/ChatHistory.test.tsx +91 -0
  263. package/src/components/ChatHistoryDrawer/ChatHistory.tsx +369 -0
  264. package/src/components/ChatHistoryDrawer/__snapshots__/ChatHistory.test.tsx.snap +27 -0
  265. package/src/components/Header/Header.test.tsx +16 -1
  266. package/src/components/Header/Header.tsx +20 -0
  267. package/src/components/Header/__snapshots__/Header.test.tsx.snap +140 -0
  268. package/src/components/MemoriWidget/MemoriWidget.tsx +249 -16
  269. package/src/components/StartPanel/StartPanel.css +20 -21
  270. package/src/components/StartPanel/StartPanel.tsx +1 -0
  271. package/src/components/VenueWidget/VenueWidget.css +7 -0
  272. package/src/components/VenueWidget/VenueWidget.tsx +4 -4
  273. package/src/components/icons/Chat.tsx +30 -0
  274. package/src/components/icons/History.tsx +33 -0
  275. package/src/components/ui/Card.css +4 -0
  276. package/src/components/ui/Card.tsx +2 -1
  277. package/src/helpers/message.ts +0 -2
  278. package/src/helpers/utils.ts +23 -0
  279. package/src/index.stories.tsx +36 -9
  280. package/src/index.tsx +3 -0
  281. package/src/locales/de.json +11 -1
  282. package/src/locales/en.json +11 -1
  283. package/src/locales/es.json +11 -1
  284. package/src/locales/fr.json +14 -2
  285. package/src/locales/it.json +11 -1
  286. package/src/styles.css +1 -0
package/esm/index.js CHANGED
@@ -35,7 +35,7 @@ const getParsedContext = (context) => {
35
35
  }, {});
36
36
  return parsedContext;
37
37
  };
38
- const Memori = ({ ownerUserName, ownerUserID, memoriName, memoriID, integration, integrationID, tenantID, secretToken, sessionID, layout, customLayout, showShare, showCopyButton = true, showTranslationOriginal = false, showSettings, showTypingText = false, showClear = false, showOnlyLastMessages, showInputs = true, showDates = false, showContextPerLine = false, showUpload, showLogin, height = '100%', baseURL, apiURL = 'https://backend.memori.ai', engineURL = 'https://engine.memori.ai', tag, pin, context, initialQuestion, uiLang, spokenLang, multilingual, authToken, enableAudio, defaultSpeakerActive = true, disableTextEnteredEvents = false, onStateChange, additionalInfo, customMediaRenderer, additionalSettings, userAvatar, useMathFormatting = false, autoStart = false, applyVarsToRoot = false, }) => {
38
+ const Memori = ({ ownerUserName, ownerUserID, memoriName, memoriID, integration, integrationID, tenantID, secretToken, sessionID, layout, customLayout, showShare, showCopyButton = true, showTranslationOriginal = false, showSettings, showTypingText = false, showClear = false, showOnlyLastMessages, showInputs = true, showDates = false, showContextPerLine = false, showUpload, showLogin, height = '100%', baseURL, apiURL = 'https://backend.memori.ai', engineURL = 'https://engine.memori.ai', tag, pin, context, initialQuestion, showChatHistory = true, uiLang, spokenLang, multilingual, authToken, enableAudio, defaultSpeakerActive = true, disableTextEnteredEvents = false, onStateChange, additionalInfo, customMediaRenderer, additionalSettings, userAvatar, useMathFormatting = false, autoStart = false, applyVarsToRoot = false, }) => {
39
39
  var _a, _b, _c, _d;
40
40
  const [memori, setMemori] = useState();
41
41
  const [tenant, setTenant] = useState();
@@ -121,7 +121,7 @@ const Memori = ({ ownerUserName, ownerUserID, memoriName, memoriID, integration,
121
121
  : `https://${tenantID}`), apiURL: apiURL, engineURL: engineURL, memori: {
122
122
  ...memori,
123
123
  secretToken,
124
- }, ownerUserName: ownerUserName !== null && ownerUserName !== void 0 ? ownerUserName : memori.ownerUserName, ownerUserID: ownerUserID !== null && ownerUserID !== void 0 ? ownerUserID : memori.ownerUserID, tenantID: tenantID, memoriLang: spokenLang !== null && spokenLang !== void 0 ? spokenLang : (_d = (_c = memori.culture) === null || _c === void 0 ? void 0 : _c.split('-')) === null || _d === void 0 ? void 0 : _d[0], multilingual: multilingual, tenant: tenant, secret: secretToken, sessionID: sessionID, showShare: showShare, showCopyButton: showCopyButton, showTranslationOriginal: showTranslationOriginal, showSettings: showSettings, showTypingText: showTypingText, showClear: showClear, showOnlyLastMessages: showOnlyLastMessages, showInputs: showInputs, showDates: showDates, showContextPerLine: showContextPerLine, showLogin: showLogin !== null && showLogin !== void 0 ? showLogin : memori === null || memori === void 0 ? void 0 : memori.enableDeepThought, showUpload: showUpload, integration: layoutIntegration, initialContextVars: initialContextVars, initialQuestion: initialQuestionLayout, authToken: authToken, AZURE_COGNITIVE_SERVICES_TTS_KEY: speechKey, autoStart: layout === 'HIDDEN_CHAT' ? true : autoStart, enableAudio: enableAudio && !!speechKey, defaultSpeakerActive: defaultSpeakerActive, disableTextEnteredEvents: disableTextEnteredEvents, onStateChange: onStateChange, additionalInfo: additionalInfo, customMediaRenderer: customMediaRenderer, additionalSettings: additionalSettings, userAvatar: userAvatar, useMathFormatting: useMathFormatting, applyVarsToRoot: applyVarsToRoot, ...(tag && pin ? { personification: { tag, pin } } : {}) })) : (_jsx("div", { style: {
124
+ }, ownerUserName: ownerUserName !== null && ownerUserName !== void 0 ? ownerUserName : memori.ownerUserName, ownerUserID: ownerUserID !== null && ownerUserID !== void 0 ? ownerUserID : memori.ownerUserID, tenantID: tenantID, memoriLang: spokenLang !== null && spokenLang !== void 0 ? spokenLang : (_d = (_c = memori.culture) === null || _c === void 0 ? void 0 : _c.split('-')) === null || _d === void 0 ? void 0 : _d[0], multilingual: multilingual, showChatHistory: showChatHistory, tenant: tenant, secret: secretToken, sessionID: sessionID, showShare: showShare, showCopyButton: showCopyButton, showTranslationOriginal: showTranslationOriginal, showSettings: showSettings, showTypingText: showTypingText, showClear: showClear, showOnlyLastMessages: showOnlyLastMessages, showInputs: showInputs, showDates: showDates, showContextPerLine: showContextPerLine, showLogin: showLogin !== null && showLogin !== void 0 ? showLogin : memori === null || memori === void 0 ? void 0 : memori.enableDeepThought, showUpload: showUpload, integration: layoutIntegration, initialContextVars: initialContextVars, initialQuestion: initialQuestionLayout, authToken: authToken, AZURE_COGNITIVE_SERVICES_TTS_KEY: speechKey, autoStart: layout === 'HIDDEN_CHAT' ? true : autoStart, enableAudio: enableAudio && !!speechKey, defaultSpeakerActive: defaultSpeakerActive, disableTextEnteredEvents: disableTextEnteredEvents, onStateChange: onStateChange, additionalInfo: additionalInfo, customMediaRenderer: customMediaRenderer, additionalSettings: additionalSettings, userAvatar: userAvatar, useMathFormatting: useMathFormatting, applyVarsToRoot: applyVarsToRoot, ...(tag && pin ? { personification: { tag, pin } } : {}) })) : (_jsx("div", { style: {
125
125
  display: 'flex',
126
126
  alignItems: 'center',
127
127
  justifyContent: 'center',
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAA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AAC,SAAS,CAAC,GAAG,CAAC;IACjD,mBAAmB,EAAE,SAAS,CAAC,IAAI;IACnC,kBAAkB,EAAE,SAAS,CAAC,GAAG;IACjC,UAAU,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IAClE,iBAAiB,EAAE,SAAS,CAAC,IAAI;IACjC,SAAS,EAAE,SAAS,CAAC,IAAI;IACzB,eAAe,EAAE,SAAS,CAAC,IAAI;CAChC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -113,6 +113,11 @@
113
113
  "boardOfExperts": "Expertengremium",
114
114
  "showExpertsInTheBoard": "Experten in diesem Forum anzeigen",
115
115
  "expertsInTheBoard": "Experten in diesem Forum",
116
+ "chatHistory": "Chatverlauf",
117
+ "chatHistoryDescription": "Zeige den Chatverlauf mit diesem Agenten",
118
+ "loadingChatHistory": "Chatverlauf wird geladen...",
119
+ "noChatHistoryAvailable": "Kein Chatverlauf verfügbar",
120
+ "noResultsFound": "Keine Ergebnisse gefunden für "{{searchText}}"",
116
121
  "goToIntegrationsToCustomizeAvatar": "Um den Avatar anzupassen, gehen Sie zu „Teilen“ und passen Sie die öffentliche Seite an"
117
122
  },
118
123
  "write_and_speak": {
@@ -156,7 +161,12 @@
156
161
  "requirePositionHelp": "Zum Reden {{name}} Sie müssen entscheiden, ob Sie Ihre Position angeben oder nicht. ",
157
162
  "dontWantToProvidePosition": "Ich möchte meine Position nicht bekannt geben",
158
163
  "attachmentsLabel": "Bereichern Sie Ihre Botschaft",
159
- "iWantToTalkToIn": "Ich möchte mit reden {{name}} In"
164
+ "iWantToTalkToIn": "Ich möchte mit reden {{name}} In",
165
+ "message": "nachricht",
166
+ "messages": "nachrichten",
167
+ "latestFirst": "Neueste zuerst",
168
+ "oldestFirst": "Älteste zuerst",
169
+ "page": "Seite {{current}} von {{total}}"
160
170
  },
161
171
  "upload": {
162
172
  "loginRequired": "Login erforderlich",
@@ -113,6 +113,11 @@
113
113
  "boardOfExperts": "Board of experts",
114
114
  "showExpertsInTheBoard": "Show experts in this board",
115
115
  "expertsInTheBoard": "Experts in this board",
116
+ "chatHistory": "Chat history",
117
+ "chatHistoryDescription": "Show the chat history with this agent",
118
+ "loadingChatHistory": "Loading chat history...",
119
+ "noChatHistoryAvailable": "No chat history available",
120
+ "noResultsFound": "No results found for "{{searchText}}"",
116
121
  "goToIntegrationsToCustomizeAvatar": "To customize the avatar, go to Share and customize the public page"
117
122
  },
118
123
  "write_and_speak": {
@@ -168,7 +173,12 @@
168
173
  "requirePositionHelp": "To talk to {{name}} you have to decide whether to provide your position or not. This is because different answers that it can provide you may depend on where you are.",
169
174
  "dontWantToProvidePosition": "I don't want to provide my position",
170
175
  "attachmentsLabel": "Enrich your message",
171
- "iWantToTalkToIn": "I want to talk to {{name}} in"
176
+ "iWantToTalkToIn": "I want to talk to {{name}} in",
177
+ "message": "message",
178
+ "messages": "messages",
179
+ "latestFirst": "Latest first",
180
+ "oldestFirst": "Oldest first",
181
+ "page": "Page {{current}} of {{total}}"
172
182
  },
173
183
  "upload": {
174
184
  "loginRequired": "Login required",
@@ -113,6 +113,11 @@
113
113
  "boardOfExperts": "junta de expertos",
114
114
  "showExpertsInTheBoard": "Mostrar expertos en este foro",
115
115
  "expertsInTheBoard": "Expertos en este foro",
116
+ "chatHistory": "Historial de chat",
117
+ "chatHistoryDescription": "Mostrar el historial de chat con este agente",
118
+ "loadingChatHistory": "Cargando historial de chat...",
119
+ "noChatHistoryAvailable": "No hay historial de chat disponible",
120
+ "noResultsFound": "No se encontraron resultados para "{{searchText}}"",
116
121
  "goToIntegrationsToCustomizeAvatar": "Para personalizar el avatar, vaya a Compartir y personalice la página pública."
117
122
  },
118
123
  "write_and_speak": {
@@ -156,7 +161,12 @@
156
161
  "requirePositionHelp": "para hablar con {{name}} usted tiene que decidir si proporciona su puesto o no. ",
157
162
  "dontWantToProvidePosition": "No quiero proporcionar mi puesto.",
158
163
  "attachmentsLabel": "Enriquece tu mensaje",
159
- "iWantToTalkToIn": "quiero hablar con {{name}} en"
164
+ "iWantToTalkToIn": "quiero hablar con {{name}} en",
165
+ "message": "mensaje",
166
+ "messages": "mensajes",
167
+ "latestFirst": "Más recientes",
168
+ "oldestFirst": "Más antiguos",
169
+ "page": "Página {{current}} de {{total}}"
160
170
  },
161
171
  "upload": {
162
172
  "loginRequired": "Connexion requise",
@@ -112,13 +112,20 @@
112
112
  "boardOfExperts": "Conseil d'experts",
113
113
  "showExpertsInTheBoard": "Afficher les experts dans ce forum",
114
114
  "expertsInTheBoard": "Experts dans ce forum",
115
- "goToIntegrationsToCustomizeAvatar": "Pour personnaliser l'avatar, allez dans Partager et personnalisez la page publique"
115
+ "goToIntegrationsToCustomizeAvatar": "Pour personnaliser l'avatar, allez dans Partager et personnalisez la page publique",
116
+ "chatHistory": "Historique des discussions",
117
+ "chatHistoryDescription": "Afficher l'historique des discussions avec cet agent",
118
+ "loadingChatHistory": "Chargement de l'historique des discussions...",
119
+ "noChatHistoryAvailable": "Aucun historique des discussions disponible",
120
+ "noResultsFound": "Aucun résultat trouvé pour "{{searchText}}""
116
121
  },
117
122
  "write_and_speak": {
118
123
  "micButtonPopover": "Cliquez sur le bouton pour parler",
119
124
  "micButtonPopoverListening": "Cliquez sur le bouton pour arrêter de parler",
120
125
  "pageInstructExplanation": "Pour m'apprendre de nouvelles choses, cliquez sur le bouton INSTRUCTEZ-MOI pour commencer",
121
126
  "pageTryMeExplanation": "Pour me parler, cliquez sur le bouton START pour commencer",
127
+ "pagePrivacyExplanation": "Les conversations sont visibles par l'auteur de l'agent",
128
+ "pagePrivacyExplanationTooltip": "En commençant la conversation, nous vous informons que :\n\n- Toutes les conversations avec cet agent sont visibles par l'auteur de l'agent\n- Si vous utilisez la chat comme utilisateur anonyme, l'auteur pourra voir le contenu de la conversation et votre adresse IP\n- Si vous utilisez la chat comme utilisateur enregistré (connecté), l'auteur pourra voir le contenu de la conversation et votre nom d'utilisateur\n- L'auteur utilise ces informations pour améliorer les fonctionnalités de l'agent et pour vous fournir un meilleur service\n- En continuant la conversation, vous acceptez ces conditions.",
122
129
  "instructButton": "INSTRUCTEZ-MOI",
123
130
  "tryMeButton": "COMMENCER",
124
131
  "chatHistory": "Historique des discussions",
@@ -148,7 +155,12 @@
148
155
  "requirePositionHelp": "Pour parler à {{name}} vous devez décider si vous souhaitez ou non fournir votre poste. ",
149
156
  "dontWantToProvidePosition": "Je ne veux pas donner ma position",
150
157
  "attachmentsLabel": "Enrichissez votre message",
151
- "iWantToTalkToIn": "je veux parler à {{name}} dans"
158
+ "iWantToTalkToIn": "je veux parler à {{name}} dans",
159
+ "message": "message",
160
+ "messages": "messages",
161
+ "latestFirst": "Plus récent",
162
+ "oldestFirst": "Plus ancien",
163
+ "page": "Page {{current}} de {{total}}"
152
164
  },
153
165
  "upload": {
154
166
  "loginRequired": "Connexion requise",
@@ -113,6 +113,11 @@
113
113
  "boardOfExperts": "Gruppo di esperti",
114
114
  "showExpertsInTheBoard": "Mostra gli esperti di questo gruppo",
115
115
  "expertsInTheBoard": "Esperti di questo gruppo",
116
+ "chatHistory": "Cronologia chat",
117
+ "chatHistoryDescription": "Visualizza la cronologia delle chat con questo agente",
118
+ "loadingChatHistory": "Caricamento cronologia chat...",
119
+ "noChatHistoryAvailable": "Nessuna cronologia chat disponibile",
120
+ "noResultsFound": "Nessun risultato trovato per "{{searchText}}"",
116
121
  "goToIntegrationsToCustomizeAvatar": "Per personalizzare l'avatar, vai a Condividimi e configura la pagina pubblica"
117
122
  },
118
123
  "write_and_speak": {
@@ -167,7 +172,12 @@
167
172
  "requirePositionHelp": "Per parlare con {{name}} devi decidere se fornire o meno la tua posizione. Questo perchè diverse risposte che potrà fornirti potrebbero dipendere da dove ti trovi.",
168
173
  "dontWantToProvidePosition": "Non voglio fornire la mia posizione",
169
174
  "attachmentsLabel": "Arricchisci il tuo messaggio",
170
- "iWantToTalkToIn": "Voglio parlare con {{name}} in"
175
+ "iWantToTalkToIn": "Voglio parlare con {{name}} in",
176
+ "message": "messaggio",
177
+ "messages": "messaggi",
178
+ "latestFirst": "Più recenti",
179
+ "oldestFirst": "Più vecchi",
180
+ "page": "Pagina {{current}} di {{total}}"
171
181
  },
172
182
  "media": {
173
183
  "title": "Titolo",
package/esm/styles.css CHANGED
@@ -29,6 +29,7 @@
29
29
  @import url('./components/ChatTextArea/ChatTextArea.css');
30
30
  @import url('./components/CustomGLBModelViewer/ModelViewer.css');
31
31
  @import url('./components/SettingsDrawer/SettingsDrawer.css');
32
+ @import url('./components/ChatHistoryDrawer/ChatHistory.css');
32
33
  @import url('./components/ExpertsDrawer/ExpertsDrawer.css');
33
34
  @import url('./components/ExportHistoryButton/ExportHistoryButton.css');
34
35
  @import url('./components/FeedbackButtons/FeedbackButtons.css');
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "7.28.0",
2
+ "version": "7.29.0",
3
3
  "name": "@memori.ai/memori-react",
4
4
  "author": "Memori Srl",
5
5
  "main": "dist/index.js",
@@ -73,6 +73,7 @@ export interface Props {
73
73
  user?: User;
74
74
  experts?: ExpertReference[];
75
75
  useMathFormatting?: boolean;
76
+ isHistoryView?: boolean;
76
77
  showFunctionCache?: boolean;
77
78
  }
78
79
 
@@ -121,9 +122,11 @@ const Chat: React.FC<Props> = ({
121
122
  showUpload = false,
122
123
  experts,
123
124
  useMathFormatting = false,
125
+ isHistoryView = false,
124
126
  showFunctionCache = false,
125
127
  }) => {
126
128
  const scrollToBottom = () => {
129
+ if (isHistoryView) return;
127
130
  setTimeout(() => {
128
131
  let userMsgs = document.querySelectorAll(
129
132
  '.memori-chat--bubble-container.memori-chat--bubble-from-user'
@@ -132,8 +135,8 @@ const Chat: React.FC<Props> = ({
132
135
  }, 200);
133
136
  };
134
137
  useEffect(() => {
135
- !preview && scrollToBottom();
136
- }, [history, preview]);
138
+ !preview && !isHistoryView && scrollToBottom();
139
+ }, [history, preview, isHistoryView]);
137
140
 
138
141
  const onTextareaFocus = () => {
139
142
  stopListening();
@@ -0,0 +1,321 @@
1
+ .memori-chat-history-drawer--card {
2
+ max-height: 60vh;
3
+ border: 1px solid var(--memori-border);
4
+ border-radius: 0.75rem;
5
+ overflow-y: auto;
6
+ transition: all 0.2s ease-in-out;
7
+ }
8
+
9
+ .memori-chat-history-drawer--card:hover {
10
+ border-color: var(--memori-primary-light);
11
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
12
+ }
13
+
14
+ .memori-chat-history-drawer--content {
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: 1rem;
18
+ }
19
+
20
+ .memori-chat-history-drawer--card--header {
21
+ position: sticky;
22
+ z-index: 100;
23
+ top: 0px;
24
+ display: flex;
25
+ flex-direction: row;
26
+ align-items: center;
27
+ padding: 0px;
28
+ border-radius: 0.75rem 0.75rem 0 0;
29
+ background-color: #ffffff;
30
+ gap: 1rem;
31
+ }
32
+
33
+ .memori-chat-history-drawer--card--header--content {
34
+ display: flex;
35
+ width: 100%;
36
+ flex-direction: row;
37
+ align-items: center;
38
+ gap: 1rem;
39
+ }
40
+
41
+ .memori-chat-history-drawer--card--header--info {
42
+ display: flex;
43
+ width: 100%;
44
+ flex-direction: row;
45
+ align-items: center;
46
+ justify-content: space-between;
47
+ gap: 1rem;
48
+ }
49
+
50
+ .memori-chat-history-drawer--card--header--icon-wrapper {
51
+ display: flex;
52
+ width: 2.5rem;
53
+ height: 2.5rem;
54
+ align-items: center;
55
+ justify-content: center;
56
+ border-radius: 0.5rem;
57
+ background-color: var(--memori-primary-light);
58
+ transition: all 0.2s ease-in-out;
59
+ }
60
+
61
+ .memori-chat-history-drawer--card:hover .memori-chat-history-drawer--card--header--icon-wrapper {
62
+ transform: scale(1.05);
63
+ }
64
+
65
+ .memori-chat-history-drawer--card--header--icon {
66
+ color: var(--memori-primary);
67
+ }
68
+
69
+ .memori-chat-history-drawer--card--header--title-wrapper {
70
+ display: flex;
71
+ align-items: center;
72
+ gap: 0.5rem;
73
+ }
74
+
75
+ .memori-chat-history-drawer--card--header--title {
76
+ margin: 0;
77
+ color: var(--memori-color-text);
78
+ font-weight: 600;
79
+ }
80
+
81
+ .memori-chat-history-drawer--card--header--badge {
82
+ padding: 0.25rem 0.5rem;
83
+ border-radius: 9999px;
84
+ background-color: var(--memori-primary-light);
85
+ color: var(--memori-primary);
86
+ font-size: 0.75rem;
87
+ font-weight: 500;
88
+ letter-spacing: 0.025em;
89
+ }
90
+
91
+ .memori-chat-history-drawer--card--header--meta {
92
+ display: flex;
93
+ align-items: center;
94
+ margin-top: 0.25rem;
95
+ color: var(--memori-color-text-secondary);
96
+ font-size: 0.875rem;
97
+ gap: 1rem;
98
+ }
99
+
100
+ .memori-chat-history-drawer--card--header--meta--messages,
101
+ .memori-chat-history-drawer--card--header--meta--time {
102
+ display: flex;
103
+ align-items: center;
104
+ gap: 0.25rem;
105
+ }
106
+
107
+ .memori-chat-history-drawer--card--content {
108
+ display: flex;
109
+ flex-direction: column;
110
+ padding: 1rem;
111
+ border-top: 1px solid var(--memori-border);
112
+ background-color: var(--memori-background-alt);
113
+ gap: 1rem;
114
+ }
115
+
116
+ .memori-chat-history-drawer--card--content--messages {
117
+ display: flex;
118
+ flex-direction: column;
119
+ gap: 1rem;
120
+ }
121
+
122
+ .memori-chat-history-drawer--card--content--messages .memori-chat--cover {
123
+ display: none;
124
+ }
125
+ .memori-chat-history-drawer--card--content--messages .memori-chat--content {
126
+ padding: 0 !important;
127
+ mask-image: none !important;
128
+ }
129
+
130
+ .memori-chat-history-drawer--card--content--messages--user {
131
+ display: flex;
132
+ flex-direction: row;
133
+ justify-content: flex-start;
134
+ gap: 1rem;
135
+ }
136
+
137
+ .memori-chat-history-drawer--card--content--messages--assistant {
138
+ display: flex;
139
+ flex-direction: row;
140
+ justify-content: flex-end;
141
+ gap: 1rem;
142
+ }
143
+
144
+ .memori-chat-history-drawer--card--content--actions {
145
+ position: sticky;
146
+ bottom: 0;
147
+ display: flex;
148
+ width: 100%;
149
+ justify-content: center;
150
+ padding: 1rem;
151
+ border-top: 1px solid var(--memori-border);
152
+ margin-top: 1rem;
153
+ background-color: var(--memori-background-alt);
154
+ }
155
+
156
+ .memori-chat-history-drawer--card--content--resume-button {
157
+ padding: 0.75rem 1.5rem;
158
+ border-radius: 0.5rem;
159
+ -webkit-backdrop-filter: blur(10px);
160
+ backdrop-filter: blur(10px);
161
+ background-color: rgba(255, 255, 255, 0.6);
162
+ color: var(--memori-primary);
163
+ font-weight: 500;
164
+ transition: all 0.2s ease-in-out;
165
+ }
166
+
167
+ .memori-chat-history-drawer--card--content--resume-button:hover {
168
+ background-color: var(--memori-primary);
169
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.27), 0 2px 4px -1px rgba(0, 0, 0, 0.35);
170
+ color: var(--memori-primary-text);
171
+ transform: translateY(-1px);
172
+ }
173
+
174
+ .memori-chat-history-drawer--card--content--resume-button--content {
175
+ display: flex;
176
+ align-items: center;
177
+ gap: 0.5rem;
178
+ }
179
+
180
+ .memori-chat-history-drawer--card--content--resume-button--icon {
181
+ color: var(--memori-primary);
182
+ transition: transform 0.2s ease-in-out;
183
+ }
184
+
185
+ .memori-chat-history-drawer--card--content--resume-button:hover
186
+ .memori-chat-history-drawer--card--content--resume-button--icon {
187
+ color: #fff;
188
+ transform: scale(1.1);
189
+ }
190
+
191
+ .memori-chat-history-drawer--card--content--resume-button--text {
192
+ font-weight: 500;
193
+ }
194
+
195
+ /* Loading state */
196
+ .memori-chat-history-drawer--loading {
197
+ display: flex;
198
+ min-height: 80px;
199
+ flex-direction: column;
200
+ align-items: center;
201
+ justify-content: center;
202
+ padding: 2rem;
203
+ overflow-y: hidden;
204
+ }
205
+
206
+ .memori-chat-history-drawer--loading > div {
207
+ overflow-y: hidden !important;
208
+ }
209
+
210
+ .memori-chat-history-drawer--loading--spinner {
211
+ min-height: 80px !important;
212
+ }
213
+
214
+ .memori-chat-history-drawer--loading--text {
215
+ margin-top: 1rem;
216
+ color: var(--memori-color-text-secondary);
217
+ }
218
+
219
+ .memori-chat-history-drawer--card--header--meta--icon {
220
+ width: 1.25rem;
221
+ height: 1.25rem;
222
+ color: var(--memori-color-text-secondary);
223
+ }
224
+ /* Empty state */
225
+ .memori-chat-history-drawer--empty {
226
+ padding: 3rem 0;
227
+ text-align: center;
228
+ }
229
+
230
+ .memori-chat-history-drawer--empty--icon {
231
+ width: 3rem;
232
+ height: 3rem;
233
+ margin: 0 auto;
234
+ color: var(--memori-color-text-secondary);
235
+ }
236
+
237
+ .memori-chat-history-drawer--empty--text {
238
+ margin-top: 1rem;
239
+ color: var(--memori-color-text-secondary);
240
+ }
241
+
242
+ /* Error state */
243
+ .memori-chat-history-drawer--error {
244
+ padding: 1rem;
245
+ border-radius: 0.5rem;
246
+ background-color: var(--memori-color-error-light);
247
+ color: var(--memori-color-error);
248
+ }
249
+
250
+ /* No results state */
251
+ .memori-chat-history-drawer--no-results {
252
+ padding: 3rem 0;
253
+ color: var(--memori-color-text-secondary);
254
+ text-align: center;
255
+ }
256
+
257
+ /* Toolbar */
258
+ .memori-chat-history-drawer--toolbar {
259
+ display: flex;
260
+ margin-bottom: 1.5rem;
261
+ gap: 1rem;
262
+ }
263
+
264
+ .memori-chat-history-drawer--toolbar--search {
265
+ position: relative;
266
+ flex: 1;
267
+ }
268
+
269
+ .memori-chat-history-drawer--toolbar--search--input {
270
+ width: 100%;
271
+ padding: 0.5rem 1rem 0.5rem 2.5rem;
272
+ border: 1px solid var(--memori-border);
273
+ border-radius: 0.5rem;
274
+ }
275
+
276
+ .memori-chat-history-drawer--toolbar--search--input:focus {
277
+ border-color: var(--memori-primary);
278
+ box-shadow: 0 0 0 2px var(--memori-primary-light);
279
+ outline: none;
280
+ }
281
+
282
+ .memori-chat-history-drawer--toolbar--search--icon {
283
+ position: absolute;
284
+ top: 50%;
285
+ left: 0.75rem;
286
+ color: var(--memori-color-text-secondary);
287
+ transform: translateY(-50%);
288
+ }
289
+
290
+ .memori-chat-history-drawer--toolbar--search--icon svg {
291
+ width: 1.25rem;
292
+ height: 1.25rem;
293
+ }
294
+
295
+ .memori-chat-history-drawer--toolbar--sort-button {
296
+ color: var(--memori-primary);
297
+ white-space: nowrap;
298
+ }
299
+
300
+ /* Pagination */
301
+ .memori-chat-history-drawer--pagination {
302
+ display: flex;
303
+ align-items: center;
304
+ justify-content: space-between;
305
+ margin-top: 1.5rem;
306
+ }
307
+
308
+ .memori-chat-history-drawer--pagination--button {
309
+ width: 6rem;
310
+ }
311
+
312
+ .memori-chat-history-drawer--pagination--info {
313
+ color: var(--memori-primary);
314
+ font-size: 0.875rem;
315
+ }
316
+
317
+ /* Card selected state */
318
+ .memori-chat-history-drawer--card--selected {
319
+ border-color: var(--memori-primary);
320
+ box-shadow: 0 0 0 2px var(--memori-primary-light);
321
+ }