@memori.ai/memori-react 9.0.0-alpha.23 → 9.0.0-alpha.25

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 (285) hide show
  1. package/CHANGELOG.md +300 -1100
  2. package/dist/components/AgeVerificationModal/AgeVerificationModal.js +1 -3
  3. package/dist/components/AgeVerificationModal/AgeVerificationModal.js.map +1 -1
  4. package/dist/components/Auth/Auth.js +1 -3
  5. package/dist/components/Auth/Auth.js.map +1 -1
  6. package/dist/components/Chat/Chat.css +10 -1
  7. package/dist/components/Chat/Chat.js +1 -3
  8. package/dist/components/Chat/Chat.js.map +1 -1
  9. package/dist/components/ChatBubble/ChatBubble.css +103 -5
  10. package/dist/components/ChatBubble/ChatBubble.js +48 -8
  11. package/dist/components/ChatBubble/ChatBubble.js.map +1 -1
  12. package/dist/components/ChatHistoryDrawer/ChatHistory.js +1 -3
  13. package/dist/components/ChatHistoryDrawer/ChatHistory.js.map +1 -1
  14. package/dist/components/ChatHistoryDrawer/ChatResumeDrawer.css +33 -10
  15. package/dist/components/ChatHistoryDrawer/ChatResumeDrawer.js +2 -4
  16. package/dist/components/ChatHistoryDrawer/ChatResumeDrawer.js.map +1 -1
  17. package/dist/components/ChatInputs/ChatInputs.css +17 -52
  18. package/dist/components/ChatInputs/ChatInputs.js +1 -3
  19. package/dist/components/ChatInputs/ChatInputs.js.map +1 -1
  20. package/dist/components/ContentPreviewModal/ContentPreviewModal.css +3 -3
  21. package/dist/components/ContentPreviewModal/ContentPreviewModal.js +1 -3
  22. package/dist/components/ContentPreviewModal/ContentPreviewModal.js.map +1 -1
  23. package/dist/components/DateSelector/DateSelector.css +66 -3
  24. package/dist/components/DateSelector/DateSelector.js +5 -1
  25. package/dist/components/DateSelector/DateSelector.js.map +1 -1
  26. package/dist/components/ExpertsDrawer/ExpertsDrawer.js +1 -3
  27. package/dist/components/ExpertsDrawer/ExpertsDrawer.js.map +1 -1
  28. package/dist/components/FilePreview/FilePreview.css +94 -220
  29. package/dist/components/FilePreview/FilePreview.js +25 -71
  30. package/dist/components/FilePreview/FilePreview.js.map +1 -1
  31. package/dist/components/IconButton/IconButton.css +2 -11
  32. package/dist/components/KnownFacts/KnownFacts.css +3 -4
  33. package/dist/components/KnownFacts/KnownFacts.js +3 -5
  34. package/dist/components/KnownFacts/KnownFacts.js.map +1 -1
  35. package/dist/components/LoginDrawer/LoginDrawer.css +3 -7
  36. package/dist/components/LoginDrawer/LoginDrawer.js +51 -9
  37. package/dist/components/LoginDrawer/LoginDrawer.js.map +1 -1
  38. package/dist/components/MediaWidget/MediaItemWidget.css +77 -57
  39. package/dist/components/MediaWidget/MediaItemWidget.js +4 -4
  40. package/dist/components/MediaWidget/MediaItemWidget.js.map +1 -1
  41. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/styles.css +1 -1
  42. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +2 -5
  43. package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -1
  44. package/dist/components/MemoriWidget/MemoriWidget.css +0 -55
  45. package/dist/components/MemoriWidget/MemoriWidget.js +115 -117
  46. package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
  47. package/dist/components/MobileSessionPanel/MobileSessionPanel.css +20 -0
  48. package/dist/components/MobileSessionPanel/MobileSessionPanel.js +77 -117
  49. package/dist/components/MobileSessionPanel/MobileSessionPanel.js.map +1 -1
  50. package/dist/components/PositionPopover/PositionPopover.css +1 -1
  51. package/dist/components/SettingsDrawer/SettingsDrawer.js +1 -3
  52. package/dist/components/SettingsDrawer/SettingsDrawer.js.map +1 -1
  53. package/dist/components/StartPanel/StartPanel.css +12 -1
  54. package/dist/components/StartPanel/StartPanel.js +30 -7
  55. package/dist/components/StartPanel/StartPanel.js.map +1 -1
  56. package/dist/components/UploadButton/UploadButton.css +7 -7
  57. package/dist/components/UploadButton/UploadButton.js +3 -0
  58. package/dist/components/UploadButton/UploadButton.js.map +1 -1
  59. package/dist/components/UploadButton/UploadDocuments/UploadDocuments.js +15 -5
  60. package/dist/components/UploadButton/UploadDocuments/UploadDocuments.js.map +1 -1
  61. package/dist/components/UploadButton/UploadImages/UploadImages.js +1 -3
  62. package/dist/components/UploadButton/UploadImages/UploadImages.js.map +1 -1
  63. package/dist/components/WhyThisAnswer/WhyThisAnswer.js +1 -3
  64. package/dist/components/WhyThisAnswer/WhyThisAnswer.js.map +1 -1
  65. package/dist/components/layouts/HiddenChat.js +9 -1
  66. package/dist/components/layouts/HiddenChat.js.map +1 -1
  67. package/dist/components/layouts/WebsiteAssistant/WebsiteAssistant.js +84 -5
  68. package/dist/components/layouts/WebsiteAssistant/WebsiteAssistant.js.map +1 -1
  69. package/dist/components/layouts/WebsiteAssistant/website-assistant.css +36 -12
  70. package/dist/components/layouts/fullpage.css +1 -0
  71. package/dist/components/layouts/hidden-chat.css +29 -5
  72. package/dist/helpers/constants.d.ts +3 -2
  73. package/dist/helpers/constants.js +19 -20
  74. package/dist/helpers/constants.js.map +1 -1
  75. package/dist/helpers/error.js +2 -1
  76. package/dist/helpers/error.js.map +1 -1
  77. package/dist/helpers/positionPopover.d.ts +1 -0
  78. package/dist/helpers/positionPopover.js +7 -0
  79. package/dist/helpers/positionPopover.js.map +1 -1
  80. package/dist/helpers/usePressTooltip.d.ts +6 -1
  81. package/dist/helpers/usePressTooltip.js +16 -1
  82. package/dist/helpers/usePressTooltip.js.map +1 -1
  83. package/dist/helpers/utils.d.ts +2 -1
  84. package/dist/helpers/utils.js +7 -1
  85. package/dist/helpers/utils.js.map +1 -1
  86. package/dist/locales/de.json +8 -2
  87. package/dist/locales/en.json +6 -3
  88. package/dist/locales/es.json +6 -3
  89. package/dist/locales/fr.json +6 -3
  90. package/dist/locales/it.json +6 -3
  91. package/dist/styles.css +1 -1
  92. package/dist/version.d.ts +1 -1
  93. package/dist/version.js +1 -1
  94. package/esm/components/AgeVerificationModal/AgeVerificationModal.js +1 -3
  95. package/esm/components/AgeVerificationModal/AgeVerificationModal.js.map +1 -1
  96. package/esm/components/Auth/Auth.js +1 -3
  97. package/esm/components/Auth/Auth.js.map +1 -1
  98. package/esm/components/Chat/Chat.css +10 -1
  99. package/esm/components/Chat/Chat.js +1 -3
  100. package/esm/components/Chat/Chat.js.map +1 -1
  101. package/esm/components/ChatBubble/ChatBubble.css +103 -5
  102. package/esm/components/ChatBubble/ChatBubble.js +48 -8
  103. package/esm/components/ChatBubble/ChatBubble.js.map +1 -1
  104. package/esm/components/ChatHistoryDrawer/ChatHistory.js +1 -3
  105. package/esm/components/ChatHistoryDrawer/ChatHistory.js.map +1 -1
  106. package/esm/components/ChatHistoryDrawer/ChatResumeDrawer.css +33 -10
  107. package/esm/components/ChatHistoryDrawer/ChatResumeDrawer.js +2 -4
  108. package/esm/components/ChatHistoryDrawer/ChatResumeDrawer.js.map +1 -1
  109. package/esm/components/ChatInputs/ChatInputs.css +17 -52
  110. package/esm/components/ChatInputs/ChatInputs.js +1 -3
  111. package/esm/components/ChatInputs/ChatInputs.js.map +1 -1
  112. package/esm/components/ContentPreviewModal/ContentPreviewModal.css +3 -3
  113. package/esm/components/ContentPreviewModal/ContentPreviewModal.js +1 -3
  114. package/esm/components/ContentPreviewModal/ContentPreviewModal.js.map +1 -1
  115. package/esm/components/DateSelector/DateSelector.css +66 -3
  116. package/esm/components/DateSelector/DateSelector.js +5 -1
  117. package/esm/components/DateSelector/DateSelector.js.map +1 -1
  118. package/esm/components/ExpertsDrawer/ExpertsDrawer.js +1 -3
  119. package/esm/components/ExpertsDrawer/ExpertsDrawer.js.map +1 -1
  120. package/esm/components/FilePreview/FilePreview.css +94 -220
  121. package/esm/components/FilePreview/FilePreview.js +25 -71
  122. package/esm/components/FilePreview/FilePreview.js.map +1 -1
  123. package/esm/components/IconButton/IconButton.css +2 -11
  124. package/esm/components/KnownFacts/KnownFacts.css +3 -4
  125. package/esm/components/KnownFacts/KnownFacts.js +3 -5
  126. package/esm/components/KnownFacts/KnownFacts.js.map +1 -1
  127. package/esm/components/LoginDrawer/LoginDrawer.css +3 -7
  128. package/esm/components/LoginDrawer/LoginDrawer.js +51 -9
  129. package/esm/components/LoginDrawer/LoginDrawer.js.map +1 -1
  130. package/esm/components/MediaWidget/MediaItemWidget.css +77 -57
  131. package/esm/components/MediaWidget/MediaItemWidget.js +5 -5
  132. package/esm/components/MediaWidget/MediaItemWidget.js.map +1 -1
  133. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/styles.css +1 -1
  134. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +2 -5
  135. package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -1
  136. package/esm/components/MemoriWidget/MemoriWidget.css +0 -55
  137. package/esm/components/MemoriWidget/MemoriWidget.js +115 -117
  138. package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
  139. package/esm/components/MobileSessionPanel/MobileSessionPanel.css +20 -0
  140. package/esm/components/MobileSessionPanel/MobileSessionPanel.js +78 -118
  141. package/esm/components/MobileSessionPanel/MobileSessionPanel.js.map +1 -1
  142. package/esm/components/PositionPopover/PositionPopover.css +1 -1
  143. package/esm/components/SettingsDrawer/SettingsDrawer.js +1 -3
  144. package/esm/components/SettingsDrawer/SettingsDrawer.js.map +1 -1
  145. package/esm/components/StartPanel/StartPanel.css +12 -1
  146. package/esm/components/StartPanel/StartPanel.js +30 -7
  147. package/esm/components/StartPanel/StartPanel.js.map +1 -1
  148. package/esm/components/UploadButton/UploadButton.css +7 -7
  149. package/esm/components/UploadButton/UploadButton.js +4 -1
  150. package/esm/components/UploadButton/UploadButton.js.map +1 -1
  151. package/esm/components/UploadButton/UploadDocuments/UploadDocuments.js +17 -7
  152. package/esm/components/UploadButton/UploadDocuments/UploadDocuments.js.map +1 -1
  153. package/esm/components/UploadButton/UploadImages/UploadImages.js +1 -3
  154. package/esm/components/UploadButton/UploadImages/UploadImages.js.map +1 -1
  155. package/esm/components/WhyThisAnswer/WhyThisAnswer.js +1 -3
  156. package/esm/components/WhyThisAnswer/WhyThisAnswer.js.map +1 -1
  157. package/esm/components/layouts/HiddenChat.js +9 -1
  158. package/esm/components/layouts/HiddenChat.js.map +1 -1
  159. package/esm/components/layouts/WebsiteAssistant/WebsiteAssistant.js +85 -6
  160. package/esm/components/layouts/WebsiteAssistant/WebsiteAssistant.js.map +1 -1
  161. package/esm/components/layouts/WebsiteAssistant/website-assistant.css +36 -12
  162. package/esm/components/layouts/fullpage.css +1 -0
  163. package/esm/components/layouts/hidden-chat.css +29 -5
  164. package/esm/helpers/constants.d.ts +3 -2
  165. package/esm/helpers/constants.js +18 -19
  166. package/esm/helpers/constants.js.map +1 -1
  167. package/esm/helpers/error.js +2 -1
  168. package/esm/helpers/error.js.map +1 -1
  169. package/esm/helpers/positionPopover.d.ts +1 -0
  170. package/esm/helpers/positionPopover.js +6 -0
  171. package/esm/helpers/positionPopover.js.map +1 -1
  172. package/esm/helpers/usePressTooltip.d.ts +6 -1
  173. package/esm/helpers/usePressTooltip.js +17 -2
  174. package/esm/helpers/usePressTooltip.js.map +1 -1
  175. package/esm/helpers/utils.d.ts +2 -1
  176. package/esm/helpers/utils.js +6 -1
  177. package/esm/helpers/utils.js.map +1 -1
  178. package/esm/locales/de.json +8 -2
  179. package/esm/locales/en.json +6 -3
  180. package/esm/locales/es.json +6 -3
  181. package/esm/locales/fr.json +6 -3
  182. package/esm/locales/it.json +6 -3
  183. package/esm/styles.css +1 -1
  184. package/esm/version.d.ts +1 -1
  185. package/esm/version.js +1 -1
  186. package/package.json +4 -46
  187. package/src/components/AgeVerificationModal/AgeVerificationModal.tsx +0 -3
  188. package/src/components/Auth/Auth.tsx +0 -3
  189. package/src/components/Auth/__snapshots__/Auth.test.tsx.snap +1 -0
  190. package/src/components/BlockedMemoriBadge/__snapshots__/BlockedMemoriBadge.test.tsx.snap +5 -0
  191. package/src/components/Chat/Chat.css +10 -1
  192. package/src/components/Chat/Chat.tsx +0 -3
  193. package/src/components/Chat/__snapshots__/Chat.test.tsx.snap +1735 -1765
  194. package/src/components/ChatBubble/ChatBubble.css +103 -5
  195. package/src/components/ChatBubble/ChatBubble.test.tsx +33 -0
  196. package/src/components/ChatBubble/ChatBubble.tsx +524 -273
  197. package/src/components/ChatBubble/__snapshots__/ChatBubble.test.tsx.snap +655 -684
  198. package/src/components/ChatHistoryDrawer/ChatHistory.tsx +0 -3
  199. package/src/components/ChatHistoryDrawer/ChatResumeDrawer.css +33 -10
  200. package/src/components/ChatHistoryDrawer/ChatResumeDrawer.tsx +3 -6
  201. package/src/components/ChatInputs/ChatInputs.css +17 -52
  202. package/src/components/ChatInputs/ChatInputs.tsx +2 -4
  203. package/src/components/CompletionProviderStatus/__snapshots__/CompletionProviderStatus.test.tsx.snap +3 -0
  204. package/src/components/ContentPreviewModal/ContentPreviewModal.css +3 -3
  205. package/src/components/ContentPreviewModal/ContentPreviewModal.tsx +0 -3
  206. package/src/components/DateSelector/DateSelector.css +66 -3
  207. package/src/components/DateSelector/DateSelector.test.tsx +33 -4
  208. package/src/components/DateSelector/DateSelector.tsx +37 -11
  209. package/src/components/ExpertsDrawer/ExpertsDrawer.tsx +0 -3
  210. package/src/components/FeedbackButtons/__snapshots__/FeedbackButtons.test.tsx.snap +2 -1
  211. package/src/components/FilePreview/FilePreview.css +94 -220
  212. package/src/components/FilePreview/FilePreview.tsx +77 -124
  213. package/src/components/FilePreview/__snapshots__/FilePreview.test.tsx.snap +33 -81
  214. package/src/components/Header/ChatConsumptionDropdown.test.tsx +53 -86
  215. package/src/components/Header/__snapshots__/Header.test.tsx.snap +60 -44
  216. package/src/components/IconButton/IconButton.css +2 -11
  217. package/src/components/KnownFacts/KnownFacts.css +3 -4
  218. package/src/components/KnownFacts/KnownFacts.tsx +0 -5
  219. package/src/components/KnownFacts/__snapshots__/KnownFacts.test.tsx.snap +2 -6
  220. package/src/components/LoginDrawer/LoginDrawer.css +3 -7
  221. package/src/components/LoginDrawer/LoginDrawer.tsx +101 -54
  222. package/src/components/LoginDrawer/__snapshots__/LoginDrawer.test.tsx.snap +11 -33
  223. package/src/components/MediaWidget/MediaItemWidget.css +77 -57
  224. package/src/components/MediaWidget/MediaItemWidget.test.tsx +33 -0
  225. package/src/components/MediaWidget/MediaItemWidget.tsx +6 -12
  226. package/src/components/MediaWidget/__snapshots__/MediaItemWidget.test.tsx.snap +2 -0
  227. package/src/components/MediaWidget/__snapshots__/MediaWidget.test.tsx.snap +1 -1
  228. package/src/components/MemoriArtifactSystem/components/ArtifactActions/styles.css +1 -1
  229. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.tsx +0 -5
  230. package/src/components/MemoriWidget/MemoriUIProvider.contract.test.tsx +25 -7
  231. package/src/components/MemoriWidget/MemoriWidget.css +0 -55
  232. package/src/components/MemoriWidget/MemoriWidget.tsx +18 -12
  233. package/src/components/MobileSessionPanel/MobileSessionPanel.css +20 -0
  234. package/src/components/MobileSessionPanel/MobileSessionPanel.tsx +29 -68
  235. package/src/components/PositionPopover/PositionPopover.css +1 -1
  236. package/src/components/SettingsDrawer/SettingsDrawer.tsx +0 -3
  237. package/src/components/ShareButton/__snapshots__/ShareButton.test.tsx.snap +9 -9
  238. package/src/components/Snippet/__snapshots__/Snippet.test.tsx.snap +8 -0
  239. package/src/components/StartPanel/StartPanel.css +12 -1
  240. package/src/components/StartPanel/StartPanel.test.tsx +57 -0
  241. package/src/components/StartPanel/StartPanel.tsx +41 -4
  242. package/src/components/StartPanel/__snapshots__/StartPanel.test.tsx.snap +41 -6
  243. package/src/components/UploadButton/UploadButton.css +7 -7
  244. package/src/components/UploadButton/UploadButton.tsx +4 -0
  245. package/src/components/UploadButton/UploadDocuments/UploadDocuments.tsx +21 -8
  246. package/src/components/UploadButton/UploadImages/UploadImages.tsx +0 -3
  247. package/src/components/UploadButton/__snapshots__/UploadButton.test.tsx.snap +10 -12
  248. package/src/components/WhyThisAnswer/WhyThisAnswer.tsx +0 -3
  249. package/src/components/WhyThisAnswer/__snapshots__/WhyThisAnswer.test.tsx.snap +3 -9
  250. package/src/components/layouts/HiddenChat.tsx +9 -1
  251. package/src/components/layouts/WebsiteAssistant/WebsiteAssistant.tsx +103 -6
  252. package/src/components/layouts/WebsiteAssistant/__snapshots__/WebsiteAssistant.test.tsx.snap +63 -57
  253. package/src/components/layouts/WebsiteAssistant/website-assistant.css +36 -12
  254. package/src/components/layouts/__snapshots__/Chat.test.tsx.snap +7 -4
  255. package/src/components/layouts/__snapshots__/FullPage.test.tsx.snap +12 -8
  256. package/src/components/layouts/__snapshots__/HiddenChat.test.tsx.snap +7 -4
  257. package/src/components/layouts/__snapshots__/Totem.test.tsx.snap +10 -5
  258. package/src/components/layouts/__snapshots__/ZoomedFullBody.test.tsx.snap +6 -4
  259. package/src/components/layouts/fullpage.css +1 -0
  260. package/src/components/layouts/hidden-chat.css +29 -5
  261. package/src/components/layouts/layouts.stories.tsx +2 -2
  262. package/src/helpers/constants.ts +21 -20
  263. package/src/helpers/error.ts +2 -1
  264. package/src/helpers/positionPopover.test.ts +15 -0
  265. package/src/helpers/positionPopover.ts +16 -0
  266. package/src/helpers/usePressTooltip.test.ts +30 -0
  267. package/src/helpers/usePressTooltip.ts +31 -1
  268. package/src/helpers/utils.test.ts +14 -4
  269. package/src/helpers/utils.ts +6 -1
  270. package/src/index.tsx +1 -1
  271. package/src/locales/de.json +8 -2
  272. package/src/locales/en.json +6 -3
  273. package/src/locales/es.json +6 -3
  274. package/src/locales/fr.json +6 -3
  275. package/src/locales/it.json +6 -3
  276. package/src/styles.brandTokens.test.js +52 -0
  277. package/src/styles.css +27 -2
  278. package/src/version.ts +1 -1
  279. package/dist/context/widgetSurfaceContext.d.ts +0 -3
  280. package/dist/context/widgetSurfaceContext.js +0 -11
  281. package/dist/context/widgetSurfaceContext.js.map +0 -1
  282. package/esm/context/widgetSurfaceContext.d.ts +0 -3
  283. package/esm/context/widgetSurfaceContext.js +0 -7
  284. package/esm/context/widgetSurfaceContext.js.map +0 -1
  285. package/src/context/widgetSurfaceContext.tsx +0 -14
@@ -5,94 +5,92 @@ exports[`renders ChatBubble from user with avatar as react element unchanged 1`]
5
5
  <div
6
6
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user memori-chat--with-addon"
7
7
  >
8
- <div
9
- class="memori-media-widget"
10
- />
11
8
  <div
12
9
  class="memori-chat--bubble-message-row"
13
10
  >
14
11
  <div
15
- class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
12
+ class="memori-chat--user-block"
16
13
  >
17
14
  <div
18
- class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
15
+ class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
19
16
  >
20
17
  <div
21
- class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
18
+ class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
22
19
  >
23
20
  <div
24
- class="memori-expandable memori-chat--bubble-content"
21
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
25
22
  >
26
23
  <div
27
- class="memori-expandable__inner"
28
- style="max-height: 9999px;"
24
+ class="memori-expandable memori-chat--bubble-content"
29
25
  >
30
26
  <div
31
- class="memori-chat--bubble-content"
32
- dir="auto"
27
+ class="memori-expandable__inner"
28
+ style="max-height: 9999px;"
33
29
  >
34
- Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
30
+ <div
31
+ class="memori-chat--bubble-content"
32
+ dir="auto"
33
+ >
34
+ Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
35
+ </div>
35
36
  </div>
36
37
  </div>
37
38
  </div>
38
- </div>
39
- <div
40
- class="memori-chat--bubble-addon"
41
- >
42
- <span
43
- class="memori-tooltip"
39
+ <div
40
+ class="memori-chat--bubble-addon"
44
41
  >
45
42
  <span
46
- class="memori-tooltip__trigger"
47
- id="base-ui-:r21:"
43
+ class="memori-tooltip"
48
44
  >
49
45
  <span
50
- class="memori-chat--bubble-addon-tooltip-trigger"
46
+ class="memori-tooltip__trigger"
47
+ id="base-ui-:r21:"
51
48
  >
52
- <button
53
- aria-label="copy"
54
- class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
55
- tabindex="0"
56
- type="button"
49
+ <span
50
+ class="memori-chat--bubble-addon-tooltip-trigger"
57
51
  >
58
- <span
59
- class="memori-button__icon"
52
+ <button
53
+ aria-label="copy"
54
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
55
+ tabindex="0"
56
+ type="button"
60
57
  >
61
- <svg
62
- aria-hidden="true"
63
- class="lucide lucide-copy memori-share-button--copy-icon"
64
- fill="none"
65
- height="24"
66
- stroke="currentColor"
67
- stroke-linecap="round"
68
- stroke-linejoin="round"
69
- stroke-width="2"
70
- viewBox="0 0 24 24"
71
- width="24"
72
- xmlns="http://www.w3.org/2000/svg"
58
+ <span
59
+ class="memori-button__icon"
73
60
  >
74
- <rect
75
- height="14"
76
- rx="2"
77
- ry="2"
78
- width="14"
79
- x="8"
80
- y="8"
81
- />
82
- <path
83
- d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
84
- />
85
- </svg>
86
- </span>
87
- </button>
61
+ <svg
62
+ aria-hidden="true"
63
+ class="lucide lucide-copy memori-share-button--copy-icon"
64
+ fill="none"
65
+ height="24"
66
+ stroke="currentColor"
67
+ stroke-linecap="round"
68
+ stroke-linejoin="round"
69
+ stroke-width="2"
70
+ viewBox="0 0 24 24"
71
+ width="24"
72
+ xmlns="http://www.w3.org/2000/svg"
73
+ >
74
+ <rect
75
+ height="14"
76
+ rx="2"
77
+ ry="2"
78
+ width="14"
79
+ x="8"
80
+ y="8"
81
+ />
82
+ <path
83
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
84
+ />
85
+ </svg>
86
+ </span>
87
+ </button>
88
+ </span>
88
89
  </span>
89
90
  </span>
90
- </span>
91
+ </div>
91
92
  </div>
92
93
  </div>
93
- <div
94
- class="memori-media-widget"
95
- />
96
94
  </div>
97
95
  <div
98
96
  class="memori-chat--bubble-avatar"
@@ -111,94 +109,92 @@ exports[`renders ChatBubble from user with avatar unchanged 1`] = `
111
109
  <div
112
110
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user memori-chat--with-addon"
113
111
  >
114
- <div
115
- class="memori-media-widget"
116
- />
117
112
  <div
118
113
  class="memori-chat--bubble-message-row"
119
114
  >
120
115
  <div
121
- class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
116
+ class="memori-chat--user-block"
122
117
  >
123
118
  <div
124
- class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
119
+ class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
125
120
  >
126
121
  <div
127
- class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
122
+ class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
128
123
  >
129
124
  <div
130
- class="memori-expandable memori-chat--bubble-content"
125
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
131
126
  >
132
127
  <div
133
- class="memori-expandable__inner"
134
- style="max-height: 9999px;"
128
+ class="memori-expandable memori-chat--bubble-content"
135
129
  >
136
130
  <div
137
- class="memori-chat--bubble-content"
138
- dir="auto"
131
+ class="memori-expandable__inner"
132
+ style="max-height: 9999px;"
139
133
  >
140
- Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
134
+ <div
135
+ class="memori-chat--bubble-content"
136
+ dir="auto"
137
+ >
138
+ Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
139
+ </div>
141
140
  </div>
142
141
  </div>
143
142
  </div>
144
- </div>
145
- <div
146
- class="memori-chat--bubble-addon"
147
- >
148
- <span
149
- class="memori-tooltip"
143
+ <div
144
+ class="memori-chat--bubble-addon"
150
145
  >
151
146
  <span
152
- class="memori-tooltip__trigger"
153
- id="base-ui-:r1p:"
147
+ class="memori-tooltip"
154
148
  >
155
149
  <span
156
- class="memori-chat--bubble-addon-tooltip-trigger"
150
+ class="memori-tooltip__trigger"
151
+ id="base-ui-:r1p:"
157
152
  >
158
- <button
159
- aria-label="copy"
160
- class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
161
- tabindex="0"
162
- type="button"
153
+ <span
154
+ class="memori-chat--bubble-addon-tooltip-trigger"
163
155
  >
164
- <span
165
- class="memori-button__icon"
156
+ <button
157
+ aria-label="copy"
158
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
159
+ tabindex="0"
160
+ type="button"
166
161
  >
167
- <svg
168
- aria-hidden="true"
169
- class="lucide lucide-copy memori-share-button--copy-icon"
170
- fill="none"
171
- height="24"
172
- stroke="currentColor"
173
- stroke-linecap="round"
174
- stroke-linejoin="round"
175
- stroke-width="2"
176
- viewBox="0 0 24 24"
177
- width="24"
178
- xmlns="http://www.w3.org/2000/svg"
162
+ <span
163
+ class="memori-button__icon"
179
164
  >
180
- <rect
181
- height="14"
182
- rx="2"
183
- ry="2"
184
- width="14"
185
- x="8"
186
- y="8"
187
- />
188
- <path
189
- d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
190
- />
191
- </svg>
192
- </span>
193
- </button>
165
+ <svg
166
+ aria-hidden="true"
167
+ class="lucide lucide-copy memori-share-button--copy-icon"
168
+ fill="none"
169
+ height="24"
170
+ stroke="currentColor"
171
+ stroke-linecap="round"
172
+ stroke-linejoin="round"
173
+ stroke-width="2"
174
+ viewBox="0 0 24 24"
175
+ width="24"
176
+ xmlns="http://www.w3.org/2000/svg"
177
+ >
178
+ <rect
179
+ height="14"
180
+ rx="2"
181
+ ry="2"
182
+ width="14"
183
+ x="8"
184
+ y="8"
185
+ />
186
+ <path
187
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
188
+ />
189
+ </svg>
190
+ </span>
191
+ </button>
192
+ </span>
194
193
  </span>
195
194
  </span>
196
- </span>
195
+ </div>
197
196
  </div>
198
197
  </div>
199
- <div
200
- class="memori-media-widget"
201
- />
202
198
  </div>
203
199
  <picture
204
200
  class="memori-chat--bubble-avatar"
@@ -219,94 +215,92 @@ exports[`renders ChatBubble from user with custom avatar unchanged 1`] = `
219
215
  <div
220
216
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user memori-chat--with-addon"
221
217
  >
222
- <div
223
- class="memori-media-widget"
224
- />
225
218
  <div
226
219
  class="memori-chat--bubble-message-row"
227
220
  >
228
221
  <div
229
- class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
222
+ class="memori-chat--user-block"
230
223
  >
231
224
  <div
232
- class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
225
+ class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
233
226
  >
234
227
  <div
235
- class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
228
+ class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
236
229
  >
237
230
  <div
238
- class="memori-expandable memori-chat--bubble-content"
231
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
239
232
  >
240
233
  <div
241
- class="memori-expandable__inner"
242
- style="max-height: 9999px;"
234
+ class="memori-expandable memori-chat--bubble-content"
243
235
  >
244
236
  <div
245
- class="memori-chat--bubble-content"
246
- dir="auto"
237
+ class="memori-expandable__inner"
238
+ style="max-height: 9999px;"
247
239
  >
248
- Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
240
+ <div
241
+ class="memori-chat--bubble-content"
242
+ dir="auto"
243
+ >
244
+ Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
245
+ </div>
249
246
  </div>
250
247
  </div>
251
248
  </div>
252
- </div>
253
- <div
254
- class="memori-chat--bubble-addon"
255
- >
256
- <span
257
- class="memori-tooltip"
249
+ <div
250
+ class="memori-chat--bubble-addon"
258
251
  >
259
252
  <span
260
- class="memori-tooltip__trigger"
261
- id="base-ui-:r1t:"
253
+ class="memori-tooltip"
262
254
  >
263
255
  <span
264
- class="memori-chat--bubble-addon-tooltip-trigger"
256
+ class="memori-tooltip__trigger"
257
+ id="base-ui-:r1t:"
265
258
  >
266
- <button
267
- aria-label="copy"
268
- class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
269
- tabindex="0"
270
- type="button"
259
+ <span
260
+ class="memori-chat--bubble-addon-tooltip-trigger"
271
261
  >
272
- <span
273
- class="memori-button__icon"
262
+ <button
263
+ aria-label="copy"
264
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
265
+ tabindex="0"
266
+ type="button"
274
267
  >
275
- <svg
276
- aria-hidden="true"
277
- class="lucide lucide-copy memori-share-button--copy-icon"
278
- fill="none"
279
- height="24"
280
- stroke="currentColor"
281
- stroke-linecap="round"
282
- stroke-linejoin="round"
283
- stroke-width="2"
284
- viewBox="0 0 24 24"
285
- width="24"
286
- xmlns="http://www.w3.org/2000/svg"
268
+ <span
269
+ class="memori-button__icon"
287
270
  >
288
- <rect
289
- height="14"
290
- rx="2"
291
- ry="2"
292
- width="14"
293
- x="8"
294
- y="8"
295
- />
296
- <path
297
- d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
298
- />
299
- </svg>
300
- </span>
301
- </button>
271
+ <svg
272
+ aria-hidden="true"
273
+ class="lucide lucide-copy memori-share-button--copy-icon"
274
+ fill="none"
275
+ height="24"
276
+ stroke="currentColor"
277
+ stroke-linecap="round"
278
+ stroke-linejoin="round"
279
+ stroke-width="2"
280
+ viewBox="0 0 24 24"
281
+ width="24"
282
+ xmlns="http://www.w3.org/2000/svg"
283
+ >
284
+ <rect
285
+ height="14"
286
+ rx="2"
287
+ ry="2"
288
+ width="14"
289
+ x="8"
290
+ y="8"
291
+ />
292
+ <path
293
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
294
+ />
295
+ </svg>
296
+ </span>
297
+ </button>
298
+ </span>
302
299
  </span>
303
300
  </span>
304
- </span>
301
+ </div>
305
302
  </div>
306
303
  </div>
307
- <div
308
- class="memori-media-widget"
309
- />
310
304
  </div>
311
305
  <picture
312
306
  class="memori-chat--bubble-avatar"
@@ -3034,11 +3028,11 @@ M834 80h400000v40h-400000z"
3034
3028
  width="24"
3035
3029
  xmlns="http://www.w3.org/2000/svg"
3036
3030
  >
3037
- <polyline
3038
- points="16 18 22 12 16 6"
3031
+ <path
3032
+ d="m16 18 6-6-6-6"
3039
3033
  />
3040
- <polyline
3041
- points="8 6 2 12 8 18"
3034
+ <path
3035
+ d="m8 6-6 6 6 6"
3042
3036
  />
3043
3037
  </svg>
3044
3038
  </span>
@@ -3160,7 +3154,7 @@ Il valore della resistenza dei materiali
3160
3154
  >
3161
3155
  <span
3162
3156
  class="mord mathnormal"
3163
- style="margin-right:0.1076em;"
3157
+ style="margin-right:0.10764em;"
3164
3158
  >
3165
3159
  f
3166
3160
  </span>
@@ -3346,7 +3340,7 @@ Il valore della resistenza dei materiali
3346
3340
  >
3347
3341
  <span
3348
3342
  class="mord mathnormal"
3349
- style="margin-right:0.1076em;"
3343
+ style="margin-right:0.10764em;"
3350
3344
  >
3351
3345
  f
3352
3346
  </span>
@@ -3474,15 +3468,9 @@ Il valore della resistenza dei materiali
3474
3468
  >
3475
3469
  <span
3476
3470
  class="mord mathnormal"
3477
- style="margin-right:0.1389em;"
3478
- >
3479
- F
3480
- </span>
3481
- <span
3482
- class="mord mathnormal"
3483
- style="margin-right:0.0715em;"
3471
+ style="margin-right:0.07153em;"
3484
3472
  >
3485
- C
3473
+ FC
3486
3474
  </span>
3487
3475
  <span
3488
3476
  class="mspace newline"
@@ -3512,7 +3500,7 @@ Il valore della resistenza dei materiali
3512
3500
  >
3513
3501
  <span
3514
3502
  class="mord mathnormal"
3515
- style="margin-right:0.0556em;"
3503
+ style="margin-right:0.05556em;"
3516
3504
  >
3517
3505
  γ
3518
3506
  </span>
@@ -3541,7 +3529,7 @@ Il valore della resistenza dei materiali
3541
3529
  >
3542
3530
  <span
3543
3531
  class="mord mathnormal mtight"
3544
- style="margin-right:0.109em;"
3532
+ style="margin-right:0.10903em;"
3545
3533
  >
3546
3534
  M
3547
3535
  </span>
@@ -3596,7 +3584,7 @@ Il valore della resistenza dei materiali
3596
3584
  >
3597
3585
  <span
3598
3586
  class="mord mathnormal"
3599
- style="margin-right:0.1076em;"
3587
+ style="margin-right:0.10764em;"
3600
3588
  >
3601
3589
  f
3602
3590
  </span>
@@ -3715,15 +3703,9 @@ Il valore della resistenza dei materiali
3715
3703
  >
3716
3704
  <span
3717
3705
  class="mord mathnormal"
3718
- style="margin-right:0.1389em;"
3719
- >
3720
- F
3721
- </span>
3722
- <span
3723
- class="mord mathnormal"
3724
- style="margin-right:0.0715em;"
3706
+ style="margin-right:0.07153em;"
3725
3707
  >
3726
- C
3708
+ FC
3727
3709
  </span>
3728
3710
  </span>
3729
3711
  </span>
@@ -3754,7 +3736,7 @@ Il valore della resistenza dei materiali
3754
3736
  >
3755
3737
  <span
3756
3738
  class="mord mathnormal"
3757
- style="margin-right:0.1076em;"
3739
+ style="margin-right:0.10764em;"
3758
3740
  >
3759
3741
  f
3760
3742
  </span>
@@ -3783,7 +3765,7 @@ Il valore della resistenza dei materiali
3783
3765
  >
3784
3766
  <span
3785
3767
  class="mord mathnormal mtight"
3786
- style="margin-right:0.0315em;"
3768
+ style="margin-right:0.03148em;"
3787
3769
  >
3788
3770
  k
3789
3771
  </span>
@@ -3898,7 +3880,7 @@ Il valore della resistenza dei materiali
3898
3880
  >
3899
3881
  <span
3900
3882
  class="mord mathnormal"
3901
- style="margin-right:0.1076em;"
3883
+ style="margin-right:0.10764em;"
3902
3884
  >
3903
3885
  f
3904
3886
  </span>
@@ -3998,7 +3980,7 @@ Il valore della resistenza dei materiali
3998
3980
  >
3999
3981
  <span
4000
3982
  class="mord mathnormal"
4001
- style="margin-right:0.1076em;"
3983
+ style="margin-right:0.10764em;"
4002
3984
  >
4003
3985
  f
4004
3986
  </span>
@@ -4027,7 +4009,7 @@ Il valore della resistenza dei materiali
4027
4009
  >
4028
4010
  <span
4029
4011
  class="mord mathnormal mtight"
4030
- style="margin-right:0.0315em;"
4012
+ style="margin-right:0.03148em;"
4031
4013
  >
4032
4014
  k
4033
4015
  </span>
@@ -4094,15 +4076,9 @@ Il valore della resistenza dei materiali
4094
4076
  />
4095
4077
  <span
4096
4078
  class="mord mathnormal"
4097
- style="margin-right:0.1389em;"
4098
- >
4099
- F
4100
- </span>
4101
- <span
4102
- class="mord mathnormal"
4103
- style="margin-right:0.0715em;"
4079
+ style="margin-right:0.07153em;"
4104
4080
  >
4105
- C
4081
+ FC
4106
4082
  </span>
4107
4083
  </span>
4108
4084
  </span>
@@ -4150,7 +4126,7 @@ Il valore della resistenza dei materiali
4150
4126
  >
4151
4127
  <span
4152
4128
  class="mord mathnormal"
4153
- style="margin-right:0.0556em;"
4129
+ style="margin-right:0.05556em;"
4154
4130
  >
4155
4131
  γ
4156
4132
  </span>
@@ -4179,7 +4155,7 @@ Il valore della resistenza dei materiali
4179
4155
  >
4180
4156
  <span
4181
4157
  class="mord mathnormal mtight"
4182
- style="margin-right:0.109em;"
4158
+ style="margin-right:0.10903em;"
4183
4159
  >
4184
4160
  M
4185
4161
  </span>
@@ -4349,11 +4325,11 @@ Gli esiti delle prove devono essere attentamente analizzati per confermare le ca
4349
4325
  width="24"
4350
4326
  xmlns="http://www.w3.org/2000/svg"
4351
4327
  >
4352
- <polyline
4353
- points="16 18 22 12 16 6"
4328
+ <path
4329
+ d="m16 18 6-6-6-6"
4354
4330
  />
4355
- <polyline
4356
- points="8 6 2 12 8 18"
4331
+ <path
4332
+ d="m8 6-6 6 6 6"
4357
4333
  />
4358
4334
  </svg>
4359
4335
  </span>
@@ -4525,7 +4501,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
4525
4501
  >
4526
4502
  <span
4527
4503
  class="mord mathnormal"
4528
- style="margin-right:0.109em;"
4504
+ style="margin-right:0.10903em;"
4529
4505
  >
4530
4506
  M
4531
4507
  </span>
@@ -4779,7 +4755,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
4779
4755
  >
4780
4756
  <span
4781
4757
  class="mord mathnormal mtight"
4782
- style="margin-right:0.0077em;"
4758
+ style="margin-right:0.00773em;"
4783
4759
  >
4784
4760
  R
4785
4761
  </span>
@@ -4859,7 +4835,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
4859
4835
  >
4860
4836
  <span
4861
4837
  class="mord mathnormal mtight"
4862
- style="margin-right:0.0715em;"
4838
+ style="margin-right:0.07153em;"
4863
4839
  >
4864
4840
  C
4865
4841
  </span>
@@ -4995,7 +4971,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
4995
4971
  >
4996
4972
  <span
4997
4973
  class="mord mathnormal mtight"
4998
- style="margin-right:0.0502em;"
4974
+ style="margin-right:0.05017em;"
4999
4975
  >
5000
4976
  B
5001
4977
  </span>
@@ -5091,7 +5067,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
5091
5067
  >
5092
5068
  <span
5093
5069
  class="mord mathnormal mtight"
5094
- style="margin-right:0.0715em;"
5070
+ style="margin-right:0.07153em;"
5095
5071
  >
5096
5072
  C
5097
5073
  </span>
@@ -5187,7 +5163,7 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
5187
5163
  >
5188
5164
  <span
5189
5165
  class="mord mathnormal mtight"
5190
- style="margin-right:0.0077em;"
5166
+ style="margin-right:0.00773em;"
5191
5167
  >
5192
5168
  R
5193
5169
  </span>
@@ -5380,11 +5356,11 @@ exports[`renders ChatBubble with complex markdown and math 3 unchanged 1`] = `
5380
5356
  width="24"
5381
5357
  xmlns="http://www.w3.org/2000/svg"
5382
5358
  >
5383
- <polyline
5384
- points="16 18 22 12 16 6"
5359
+ <path
5360
+ d="m16 18 6-6-6-6"
5385
5361
  />
5386
- <polyline
5387
- points="8 6 2 12 8 18"
5362
+ <path
5363
+ d="m8 6-6 6 6 6"
5388
5364
  />
5389
5365
  </svg>
5390
5366
  </span>
@@ -5542,7 +5518,7 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5542
5518
  >
5543
5519
  <span
5544
5520
  class="mord mathnormal"
5545
- style="margin-right:0.0576em;"
5521
+ style="margin-right:0.05764em;"
5546
5522
  >
5547
5523
  E
5548
5524
  </span>
@@ -5571,7 +5547,7 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5571
5547
  >
5572
5548
  <span
5573
5549
  class="mord mathnormal mtight"
5574
- style="margin-right:0.0315em;"
5550
+ style="margin-right:0.03148em;"
5575
5551
  >
5576
5552
  k
5577
5553
  </span>
@@ -5668,7 +5644,7 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5668
5644
  />
5669
5645
  <span
5670
5646
  class="mord mathnormal"
5671
- style="margin-right:0.0359em;"
5647
+ style="margin-right:0.03588em;"
5672
5648
  >
5673
5649
  v
5674
5650
  </span>
@@ -5719,7 +5695,7 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5719
5695
  />
5720
5696
  <span
5721
5697
  class="mord mathnormal"
5722
- style="margin-right:0.1389em;"
5698
+ style="margin-right:0.13889em;"
5723
5699
  >
5724
5700
  F
5725
5701
  </span>
@@ -5771,7 +5747,7 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5771
5747
  </span>
5772
5748
  <span
5773
5749
  class="mord mathnormal"
5774
- style="margin-right:0.0359em;"
5750
+ style="margin-right:0.03588em;"
5775
5751
  >
5776
5752
  v
5777
5753
  </span>
@@ -5950,11 +5926,11 @@ exports[`renders ChatBubble with complex markdown and math 4 unchanged 1`] = `
5950
5926
  width="24"
5951
5927
  xmlns="http://www.w3.org/2000/svg"
5952
5928
  >
5953
- <polyline
5954
- points="16 18 22 12 16 6"
5929
+ <path
5930
+ d="m16 18 6-6-6-6"
5955
5931
  />
5956
- <polyline
5957
- points="8 6 2 12 8 18"
5932
+ <path
5933
+ d="m8 6-6 6 6 6"
5958
5934
  />
5959
5935
  </svg>
5960
5936
  </span>
@@ -6117,13 +6093,13 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6117
6093
  </span>
6118
6094
  <span
6119
6095
  class="mord mathnormal"
6120
- style="margin-right:0.0359em;"
6096
+ style="margin-right:0.03588em;"
6121
6097
  >
6122
6098
  q
6123
6099
  </span>
6124
6100
  <span
6125
6101
  class="mord mathnormal"
6126
- style="margin-right:0.0278em;"
6102
+ style="margin-right:0.02778em;"
6127
6103
  >
6128
6104
  r
6129
6105
  </span>
@@ -6422,13 +6398,13 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6422
6398
  </span>
6423
6399
  <span
6424
6400
  class="mord mathnormal"
6425
- style="margin-right:0.0359em;"
6401
+ style="margin-right:0.03588em;"
6426
6402
  >
6427
6403
  q
6428
6404
  </span>
6429
6405
  <span
6430
6406
  class="mord mathnormal"
6431
- style="margin-right:0.0278em;"
6407
+ style="margin-right:0.02778em;"
6432
6408
  >
6433
6409
  r
6434
6410
  </span>
@@ -6567,13 +6543,13 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6567
6543
  </span>
6568
6544
  <span
6569
6545
  class="mord mathnormal"
6570
- style="margin-right:0.0359em;"
6546
+ style="margin-right:0.03588em;"
6571
6547
  >
6572
6548
  q
6573
6549
  </span>
6574
6550
  <span
6575
6551
  class="mord mathnormal"
6576
- style="margin-right:0.0278em;"
6552
+ style="margin-right:0.02778em;"
6577
6553
  >
6578
6554
  r
6579
6555
  </span>
@@ -6636,13 +6612,13 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6636
6612
  </span>
6637
6613
  <span
6638
6614
  class="mord mathnormal"
6639
- style="margin-right:0.0359em;"
6615
+ style="margin-right:0.03588em;"
6640
6616
  >
6641
6617
  q
6642
6618
  </span>
6643
6619
  <span
6644
6620
  class="mord mathnormal"
6645
- style="margin-right:0.0278em;"
6621
+ style="margin-right:0.02778em;"
6646
6622
  >
6647
6623
  r
6648
6624
  </span>
@@ -6782,11 +6758,11 @@ exports[`renders ChatBubble with complex markdown and math 5 unchanged 1`] = `
6782
6758
  width="24"
6783
6759
  xmlns="http://www.w3.org/2000/svg"
6784
6760
  >
6785
- <polyline
6786
- points="16 18 22 12 16 6"
6761
+ <path
6762
+ d="m16 18 6-6-6-6"
6787
6763
  />
6788
- <polyline
6789
- points="8 6 2 12 8 18"
6764
+ <path
6765
+ d="m8 6-6 6 6 6"
6790
6766
  />
6791
6767
  </svg>
6792
6768
  </span>
@@ -7092,11 +7068,11 @@ Prendi la radice quadrata della somma per trovare l'ipotenusa: $ c = \\sqrt{a^2
7092
7068
  width="24"
7093
7069
  xmlns="http://www.w3.org/2000/svg"
7094
7070
  >
7095
- <polyline
7096
- points="16 18 22 12 16 6"
7071
+ <path
7072
+ d="m16 18 6-6-6-6"
7097
7073
  />
7098
- <polyline
7099
- points="8 6 2 12 8 18"
7074
+ <path
7075
+ d="m8 6-6 6 6 6"
7100
7076
  />
7101
7077
  </svg>
7102
7078
  </span>
@@ -7182,7 +7158,7 @@ exports[`renders ChatBubble with debug button unchanged 1`] = `
7182
7158
  class="memori-media-items"
7183
7159
  >
7184
7160
  <div
7185
- class="memori-media-items--grid memori-chat-scroll-item memori-media-items--agent"
7161
+ class="memori-media-items--grid memori-chat-scroll-item memori-media-items--agent memori-media-items--single"
7186
7162
  >
7187
7163
  <div
7188
7164
  class="memori-media-item"
@@ -7332,37 +7308,37 @@ exports[`renders ChatBubble with debug button unchanged 1`] = `
7332
7308
  xmlns="http://www.w3.org/2000/svg"
7333
7309
  >
7334
7310
  <path
7335
- d="m8 2 1.88 1.88"
7311
+ d="M12 20v-9"
7336
7312
  />
7337
7313
  <path
7338
- d="M14.12 3.88 16 2"
7314
+ d="M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z"
7339
7315
  />
7340
7316
  <path
7341
- d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1"
7317
+ d="M14.12 3.88 16 2"
7342
7318
  />
7343
7319
  <path
7344
- d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6"
7320
+ d="M21 21a4 4 0 0 0-3.81-4"
7345
7321
  />
7346
7322
  <path
7347
- d="M12 20v-9"
7323
+ d="M21 5a4 4 0 0 1-3.55 3.97"
7348
7324
  />
7349
7325
  <path
7350
- d="M6.53 9C4.6 8.8 3 7.1 3 5"
7326
+ d="M22 13h-4"
7351
7327
  />
7352
7328
  <path
7353
- d="M6 13H2"
7329
+ d="M3 21a4 4 0 0 1 3.81-4"
7354
7330
  />
7355
7331
  <path
7356
- d="M3 21c0-2.1 1.7-3.9 3.8-4"
7332
+ d="M3 5a4 4 0 0 0 3.55 3.97"
7357
7333
  />
7358
7334
  <path
7359
- d="M20.97 5c0 2.1-1.6 3.8-3.5 4"
7335
+ d="M6 13H2"
7360
7336
  />
7361
7337
  <path
7362
- d="M22 13h-4"
7338
+ d="m8 2 1.88 1.88"
7363
7339
  />
7364
7340
  <path
7365
- d="M17.2 17c2.1.1 3.8 1.9 3.8 4"
7341
+ d="M9 7.13V6a3 3 0 1 1 6 0v1.13"
7366
7342
  />
7367
7343
  </svg>
7368
7344
  </span>
@@ -7702,11 +7678,11 @@ exports[`renders ChatBubble with markdown and breakline unchanged 1`] = `
7702
7678
  width="24"
7703
7679
  xmlns="http://www.w3.org/2000/svg"
7704
7680
  >
7705
- <polyline
7706
- points="16 18 22 12 16 6"
7681
+ <path
7682
+ d="m16 18 6-6-6-6"
7707
7683
  />
7708
- <polyline
7709
- points="8 6 2 12 8 18"
7684
+ <path
7685
+ d="m8 6-6 6 6 6"
7710
7686
  />
7711
7687
  </svg>
7712
7688
  </span>
@@ -7861,11 +7837,11 @@ exports[`renders ChatBubble with markdown code unchanged 1`] = `
7861
7837
  width="24"
7862
7838
  xmlns="http://www.w3.org/2000/svg"
7863
7839
  >
7864
- <polyline
7865
- points="16 18 22 12 16 6"
7840
+ <path
7841
+ d="m16 18 6-6-6-6"
7866
7842
  />
7867
- <polyline
7868
- points="8 6 2 12 8 18"
7843
+ <path
7844
+ d="m8 6-6 6 6 6"
7869
7845
  />
7870
7846
  </svg>
7871
7847
  </span>
@@ -8078,11 +8054,11 @@ exports[`renders ChatBubble with markdown table unchanged 1`] = `
8078
8054
  width="24"
8079
8055
  xmlns="http://www.w3.org/2000/svg"
8080
8056
  >
8081
- <polyline
8082
- points="16 18 22 12 16 6"
8057
+ <path
8058
+ d="m16 18 6-6-6-6"
8083
8059
  />
8084
- <polyline
8085
- points="8 6 2 12 8 18"
8060
+ <path
8061
+ d="m8 6-6 6 6 6"
8086
8062
  />
8087
8063
  </svg>
8088
8064
  </span>
@@ -8458,11 +8434,11 @@ exports[`renders ChatBubble with markdown unchanged 1`] = `
8458
8434
  width="24"
8459
8435
  xmlns="http://www.w3.org/2000/svg"
8460
8436
  >
8461
- <polyline
8462
- points="16 18 22 12 16 6"
8437
+ <path
8438
+ d="m16 18 6-6-6-6"
8463
8439
  />
8464
- <polyline
8465
- points="8 6 2 12 8 18"
8440
+ <path
8441
+ d="m8 6-6 6 6 6"
8466
8442
  />
8467
8443
  </svg>
8468
8444
  </span>
@@ -8489,150 +8465,149 @@ exports[`renders ChatBubble with msg from BoE expert unchanged 1`] = `
8489
8465
  <div
8490
8466
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user memori-chat--with-addon"
8491
8467
  >
8492
- <div
8493
- class="memori-media-widget"
8494
- />
8495
8468
  <div
8496
8469
  class="memori-chat--bubble-message-row"
8497
8470
  >
8498
8471
  <div
8499
- class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
8472
+ class="memori-chat--user-block"
8500
8473
  >
8501
8474
  <div
8502
- class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
8475
+ class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
8503
8476
  >
8504
8477
  <div
8505
- class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon memori-chat--ai-generated"
8478
+ class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
8506
8479
  >
8507
8480
  <div
8508
- class="memori-expandable memori-chat--bubble-content"
8481
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon memori-chat--ai-generated"
8509
8482
  >
8510
8483
  <div
8511
- class="memori-expandable__inner"
8512
- style="max-height: 9999px;"
8484
+ class="memori-expandable memori-chat--bubble-content"
8513
8485
  >
8514
8486
  <div
8515
- class="memori-chat--bubble-content"
8516
- dir="auto"
8487
+ class="memori-expandable__inner"
8488
+ style="max-height: 9999px;"
8517
8489
  >
8518
- Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
8490
+ <div
8491
+ class="memori-chat--bubble-content"
8492
+ dir="auto"
8493
+ >
8494
+ Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
8495
+ </div>
8519
8496
  </div>
8520
8497
  </div>
8521
8498
  </div>
8522
- </div>
8523
- <div
8524
- class="memori-chat--bubble-addon"
8525
- >
8526
- <span
8527
- class="memori-tooltip"
8499
+ <div
8500
+ class="memori-chat--bubble-addon"
8528
8501
  >
8529
8502
  <span
8530
- class="memori-tooltip__trigger"
8531
- id="base-ui-:r1b:"
8503
+ class="memori-tooltip"
8532
8504
  >
8533
8505
  <span
8534
- class="memori-chat--bubble-addon-tooltip-trigger"
8506
+ class="memori-tooltip__trigger"
8507
+ id="base-ui-:r1b:"
8535
8508
  >
8536
- <button
8537
- aria-label="copy"
8538
- class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8539
- tabindex="0"
8540
- type="button"
8509
+ <span
8510
+ class="memori-chat--bubble-addon-tooltip-trigger"
8541
8511
  >
8542
- <span
8543
- class="memori-button__icon"
8512
+ <button
8513
+ aria-label="copy"
8514
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8515
+ tabindex="0"
8516
+ type="button"
8544
8517
  >
8545
- <svg
8546
- aria-hidden="true"
8547
- class="lucide lucide-copy memori-share-button--copy-icon"
8548
- fill="none"
8549
- height="24"
8550
- stroke="currentColor"
8551
- stroke-linecap="round"
8552
- stroke-linejoin="round"
8553
- stroke-width="2"
8554
- viewBox="0 0 24 24"
8555
- width="24"
8556
- xmlns="http://www.w3.org/2000/svg"
8518
+ <span
8519
+ class="memori-button__icon"
8557
8520
  >
8558
- <rect
8559
- height="14"
8560
- rx="2"
8561
- ry="2"
8562
- width="14"
8563
- x="8"
8564
- y="8"
8565
- />
8566
- <path
8567
- d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
8568
- />
8569
- </svg>
8570
- </span>
8571
- </button>
8521
+ <svg
8522
+ aria-hidden="true"
8523
+ class="lucide lucide-copy memori-share-button--copy-icon"
8524
+ fill="none"
8525
+ height="24"
8526
+ stroke="currentColor"
8527
+ stroke-linecap="round"
8528
+ stroke-linejoin="round"
8529
+ stroke-width="2"
8530
+ viewBox="0 0 24 24"
8531
+ width="24"
8532
+ xmlns="http://www.w3.org/2000/svg"
8533
+ >
8534
+ <rect
8535
+ height="14"
8536
+ rx="2"
8537
+ ry="2"
8538
+ width="14"
8539
+ x="8"
8540
+ y="8"
8541
+ />
8542
+ <path
8543
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
8544
+ />
8545
+ </svg>
8546
+ </span>
8547
+ </button>
8548
+ </span>
8572
8549
  </span>
8573
8550
  </span>
8574
- </span>
8575
- <span
8576
- class="memori-tooltip memori-chat--bubble-action-icon memori-chat--bubble-action-icon--ai"
8577
- >
8578
8551
  <span
8579
- class="memori-tooltip__trigger"
8580
- id="base-ui-:r1d:"
8552
+ class="memori-tooltip memori-chat--bubble-action-icon memori-chat--bubble-action-icon--ai"
8581
8553
  >
8582
8554
  <span
8583
- aria-label="generatedByAI"
8584
- class="memori-chat--bubble-addon-tooltip-trigger memori-chat--bubble-ai-icon"
8585
- role="img"
8555
+ class="memori-tooltip__trigger"
8556
+ id="base-ui-:r1d:"
8586
8557
  >
8587
- <svg
8588
- aria-hidden="true"
8589
- class="lucide lucide-bot"
8590
- fill="none"
8591
- height="24"
8592
- stroke="currentColor"
8593
- stroke-linecap="round"
8594
- stroke-linejoin="round"
8595
- stroke-width="2"
8596
- viewBox="0 0 24 24"
8597
- width="24"
8598
- xmlns="http://www.w3.org/2000/svg"
8558
+ <span
8559
+ aria-label="generatedByAI"
8560
+ class="memori-chat--bubble-addon-tooltip-trigger memori-chat--bubble-ai-icon"
8561
+ role="img"
8599
8562
  >
8600
- <path
8601
- d="M12 8V4H8"
8602
- />
8603
- <rect
8604
- height="12"
8605
- rx="2"
8606
- width="16"
8607
- x="4"
8608
- y="8"
8609
- />
8610
- <path
8611
- d="M2 14h2"
8612
- />
8613
- <path
8614
- d="M20 14h2"
8615
- />
8616
- <path
8617
- d="M15 13v2"
8618
- />
8619
- <path
8620
- d="M9 13v2"
8621
- />
8622
- </svg>
8563
+ <svg
8564
+ aria-hidden="true"
8565
+ class="lucide lucide-bot"
8566
+ fill="none"
8567
+ height="24"
8568
+ stroke="currentColor"
8569
+ stroke-linecap="round"
8570
+ stroke-linejoin="round"
8571
+ stroke-width="2"
8572
+ viewBox="0 0 24 24"
8573
+ width="24"
8574
+ xmlns="http://www.w3.org/2000/svg"
8575
+ >
8576
+ <path
8577
+ d="M12 8V4H8"
8578
+ />
8579
+ <rect
8580
+ height="12"
8581
+ rx="2"
8582
+ width="16"
8583
+ x="4"
8584
+ y="8"
8585
+ />
8586
+ <path
8587
+ d="M2 14h2"
8588
+ />
8589
+ <path
8590
+ d="M20 14h2"
8591
+ />
8592
+ <path
8593
+ d="M15 13v2"
8594
+ />
8595
+ <path
8596
+ d="M9 13v2"
8597
+ />
8598
+ </svg>
8599
+ </span>
8623
8600
  </span>
8624
8601
  </span>
8625
- </span>
8602
+ </div>
8626
8603
  </div>
8627
8604
  </div>
8628
- <div
8629
- class="memori-media-widget"
8630
- />
8631
8605
  </div>
8632
8606
  <div
8633
8607
  class="memori-chat--bubble-avatar"
8634
8608
  >
8635
8609
  <svg
8610
+ aria-hidden="true"
8636
8611
  class="lucide lucide-user"
8637
8612
  fill="none"
8638
8613
  height="24"
@@ -8664,150 +8639,149 @@ exports[`renders ChatBubble with msg generated by AI unchanged 1`] = `
8664
8639
  <div
8665
8640
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user memori-chat--with-addon"
8666
8641
  >
8667
- <div
8668
- class="memori-media-widget"
8669
- />
8670
8642
  <div
8671
8643
  class="memori-chat--bubble-message-row"
8672
8644
  >
8673
8645
  <div
8674
- class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
8646
+ class="memori-chat--user-block"
8675
8647
  >
8676
8648
  <div
8677
- class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
8649
+ class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
8678
8650
  >
8679
8651
  <div
8680
- class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon memori-chat--ai-generated"
8652
+ class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
8681
8653
  >
8682
8654
  <div
8683
- class="memori-expandable memori-chat--bubble-content"
8655
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon memori-chat--ai-generated"
8684
8656
  >
8685
8657
  <div
8686
- class="memori-expandable__inner"
8687
- style="max-height: 9999px;"
8658
+ class="memori-expandable memori-chat--bubble-content"
8688
8659
  >
8689
8660
  <div
8690
- class="memori-chat--bubble-content"
8691
- dir="auto"
8661
+ class="memori-expandable__inner"
8662
+ style="max-height: 9999px;"
8692
8663
  >
8693
- Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
8664
+ <div
8665
+ class="memori-chat--bubble-content"
8666
+ dir="auto"
8667
+ >
8668
+ Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
8669
+ </div>
8694
8670
  </div>
8695
8671
  </div>
8696
8672
  </div>
8697
- </div>
8698
- <div
8699
- class="memori-chat--bubble-addon"
8700
- >
8701
- <span
8702
- class="memori-tooltip"
8673
+ <div
8674
+ class="memori-chat--bubble-addon"
8703
8675
  >
8704
8676
  <span
8705
- class="memori-tooltip__trigger"
8706
- id="base-ui-:rn:"
8677
+ class="memori-tooltip"
8707
8678
  >
8708
8679
  <span
8709
- class="memori-chat--bubble-addon-tooltip-trigger"
8680
+ class="memori-tooltip__trigger"
8681
+ id="base-ui-:rn:"
8710
8682
  >
8711
- <button
8712
- aria-label="copy"
8713
- class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8714
- tabindex="0"
8715
- type="button"
8683
+ <span
8684
+ class="memori-chat--bubble-addon-tooltip-trigger"
8716
8685
  >
8717
- <span
8718
- class="memori-button__icon"
8686
+ <button
8687
+ aria-label="copy"
8688
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
8689
+ tabindex="0"
8690
+ type="button"
8719
8691
  >
8720
- <svg
8721
- aria-hidden="true"
8722
- class="lucide lucide-copy memori-share-button--copy-icon"
8723
- fill="none"
8724
- height="24"
8725
- stroke="currentColor"
8726
- stroke-linecap="round"
8727
- stroke-linejoin="round"
8728
- stroke-width="2"
8729
- viewBox="0 0 24 24"
8730
- width="24"
8731
- xmlns="http://www.w3.org/2000/svg"
8692
+ <span
8693
+ class="memori-button__icon"
8732
8694
  >
8733
- <rect
8734
- height="14"
8735
- rx="2"
8736
- ry="2"
8737
- width="14"
8738
- x="8"
8739
- y="8"
8740
- />
8741
- <path
8742
- d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
8743
- />
8744
- </svg>
8745
- </span>
8746
- </button>
8695
+ <svg
8696
+ aria-hidden="true"
8697
+ class="lucide lucide-copy memori-share-button--copy-icon"
8698
+ fill="none"
8699
+ height="24"
8700
+ stroke="currentColor"
8701
+ stroke-linecap="round"
8702
+ stroke-linejoin="round"
8703
+ stroke-width="2"
8704
+ viewBox="0 0 24 24"
8705
+ width="24"
8706
+ xmlns="http://www.w3.org/2000/svg"
8707
+ >
8708
+ <rect
8709
+ height="14"
8710
+ rx="2"
8711
+ ry="2"
8712
+ width="14"
8713
+ x="8"
8714
+ y="8"
8715
+ />
8716
+ <path
8717
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
8718
+ />
8719
+ </svg>
8720
+ </span>
8721
+ </button>
8722
+ </span>
8747
8723
  </span>
8748
8724
  </span>
8749
- </span>
8750
- <span
8751
- class="memori-tooltip memori-chat--bubble-action-icon memori-chat--bubble-action-icon--ai"
8752
- >
8753
8725
  <span
8754
- class="memori-tooltip__trigger"
8755
- id="base-ui-:rp:"
8726
+ class="memori-tooltip memori-chat--bubble-action-icon memori-chat--bubble-action-icon--ai"
8756
8727
  >
8757
8728
  <span
8758
- aria-label="generatedByAI"
8759
- class="memori-chat--bubble-addon-tooltip-trigger memori-chat--bubble-ai-icon"
8760
- role="img"
8729
+ class="memori-tooltip__trigger"
8730
+ id="base-ui-:rp:"
8761
8731
  >
8762
- <svg
8763
- aria-hidden="true"
8764
- class="lucide lucide-bot"
8765
- fill="none"
8766
- height="24"
8767
- stroke="currentColor"
8768
- stroke-linecap="round"
8769
- stroke-linejoin="round"
8770
- stroke-width="2"
8771
- viewBox="0 0 24 24"
8772
- width="24"
8773
- xmlns="http://www.w3.org/2000/svg"
8732
+ <span
8733
+ aria-label="generatedByAI"
8734
+ class="memori-chat--bubble-addon-tooltip-trigger memori-chat--bubble-ai-icon"
8735
+ role="img"
8774
8736
  >
8775
- <path
8776
- d="M12 8V4H8"
8777
- />
8778
- <rect
8779
- height="12"
8780
- rx="2"
8781
- width="16"
8782
- x="4"
8783
- y="8"
8784
- />
8785
- <path
8786
- d="M2 14h2"
8787
- />
8788
- <path
8789
- d="M20 14h2"
8790
- />
8791
- <path
8792
- d="M15 13v2"
8793
- />
8794
- <path
8795
- d="M9 13v2"
8796
- />
8797
- </svg>
8737
+ <svg
8738
+ aria-hidden="true"
8739
+ class="lucide lucide-bot"
8740
+ fill="none"
8741
+ height="24"
8742
+ stroke="currentColor"
8743
+ stroke-linecap="round"
8744
+ stroke-linejoin="round"
8745
+ stroke-width="2"
8746
+ viewBox="0 0 24 24"
8747
+ width="24"
8748
+ xmlns="http://www.w3.org/2000/svg"
8749
+ >
8750
+ <path
8751
+ d="M12 8V4H8"
8752
+ />
8753
+ <rect
8754
+ height="12"
8755
+ rx="2"
8756
+ width="16"
8757
+ x="4"
8758
+ y="8"
8759
+ />
8760
+ <path
8761
+ d="M2 14h2"
8762
+ />
8763
+ <path
8764
+ d="M20 14h2"
8765
+ />
8766
+ <path
8767
+ d="M15 13v2"
8768
+ />
8769
+ <path
8770
+ d="M9 13v2"
8771
+ />
8772
+ </svg>
8773
+ </span>
8798
8774
  </span>
8799
8775
  </span>
8800
- </span>
8776
+ </div>
8801
8777
  </div>
8802
8778
  </div>
8803
- <div
8804
- class="memori-media-widget"
8805
- />
8806
8779
  </div>
8807
8780
  <div
8808
8781
  class="memori-chat--bubble-avatar"
8809
8782
  >
8810
8783
  <svg
8784
+ aria-hidden="true"
8811
8785
  class="lucide lucide-user"
8812
8786
  fill="none"
8813
8787
  height="24"
@@ -8974,11 +8948,11 @@ exports[`renders ChatBubble with output code unchanged 1`] = `
8974
8948
  width="24"
8975
8949
  xmlns="http://www.w3.org/2000/svg"
8976
8950
  >
8977
- <polyline
8978
- points="16 18 22 12 16 6"
8951
+ <path
8952
+ d="m16 18 6-6-6-6"
8979
8953
  />
8980
- <polyline
8981
- points="8 6 2 12 8 18"
8954
+ <path
8955
+ d="m8 6-6 6 6 6"
8982
8956
  />
8983
8957
  </svg>
8984
8958
  </span>
@@ -9159,11 +9133,11 @@ end
9159
9133
  width="24"
9160
9134
  xmlns="http://www.w3.org/2000/svg"
9161
9135
  >
9162
- <polyline
9163
- points="16 18 22 12 16 6"
9136
+ <path
9137
+ d="m16 18 6-6-6-6"
9164
9138
  />
9165
- <polyline
9166
- points="8 6 2 12 8 18"
9139
+ <path
9140
+ d="m8 6-6 6 6 6"
9167
9141
  />
9168
9142
  </svg>
9169
9143
  </span>
@@ -9315,11 +9289,11 @@ Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
9315
9289
  width="24"
9316
9290
  xmlns="http://www.w3.org/2000/svg"
9317
9291
  >
9318
- <polyline
9319
- points="16 18 22 12 16 6"
9292
+ <path
9293
+ d="m16 18 6-6-6-6"
9320
9294
  />
9321
- <polyline
9322
- points="8 6 2 12 8 18"
9295
+ <path
9296
+ d="m8 6-6 6 6 6"
9323
9297
  />
9324
9298
  </svg>
9325
9299
  </span>
@@ -9464,11 +9438,11 @@ exports[`renders ChatBubble with reasoning unchanged 1`] = `
9464
9438
  width="24"
9465
9439
  xmlns="http://www.w3.org/2000/svg"
9466
9440
  >
9467
- <polyline
9468
- points="16 18 22 12 16 6"
9441
+ <path
9442
+ d="m16 18 6-6-6-6"
9469
9443
  />
9470
- <polyline
9471
- points="8 6 2 12 8 18"
9444
+ <path
9445
+ d="m8 6-6 6 6 6"
9472
9446
  />
9473
9447
  </svg>
9474
9448
  </span>
@@ -9613,11 +9587,11 @@ exports[`renders ChatBubble with translation and original unchanged 1`] = `
9613
9587
  width="24"
9614
9588
  xmlns="http://www.w3.org/2000/svg"
9615
9589
  >
9616
- <polyline
9617
- points="16 18 22 12 16 6"
9590
+ <path
9591
+ d="m16 18 6-6-6-6"
9618
9592
  />
9619
- <polyline
9620
- points="8 6 2 12 8 18"
9593
+ <path
9594
+ d="m8 6-6 6 6 6"
9621
9595
  />
9622
9596
  </svg>
9623
9597
  </span>
@@ -9700,99 +9674,98 @@ exports[`renders ChatBubble with user msg unchanged 1`] = `
9700
9674
  <div
9701
9675
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user memori-chat--with-addon"
9702
9676
  >
9703
- <div
9704
- class="memori-media-widget"
9705
- />
9706
9677
  <div
9707
9678
  class="memori-chat--bubble-message-row"
9708
9679
  >
9709
9680
  <div
9710
- class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
9681
+ class="memori-chat--user-block"
9711
9682
  >
9712
9683
  <div
9713
- class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
9684
+ class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
9714
9685
  >
9715
9686
  <div
9716
- class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
9687
+ class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
9717
9688
  >
9718
9689
  <div
9719
- class="memori-expandable memori-chat--bubble-content"
9690
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
9720
9691
  >
9721
9692
  <div
9722
- class="memori-expandable__inner"
9723
- style="max-height: 9999px;"
9693
+ class="memori-expandable memori-chat--bubble-content"
9724
9694
  >
9725
9695
  <div
9726
- class="memori-chat--bubble-content"
9727
- dir="auto"
9696
+ class="memori-expandable__inner"
9697
+ style="max-height: 9999px;"
9728
9698
  >
9729
- Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
9699
+ <div
9700
+ class="memori-chat--bubble-content"
9701
+ dir="auto"
9702
+ >
9703
+ Proin libero ante, dignissim sit amet turpis a, pretium condimentum dolor.
9704
+ </div>
9730
9705
  </div>
9731
9706
  </div>
9732
9707
  </div>
9733
- </div>
9734
- <div
9735
- class="memori-chat--bubble-addon"
9736
- >
9737
- <span
9738
- class="memori-tooltip"
9708
+ <div
9709
+ class="memori-chat--bubble-addon"
9739
9710
  >
9740
9711
  <span
9741
- class="memori-tooltip__trigger"
9742
- id="base-ui-:r9:"
9712
+ class="memori-tooltip"
9743
9713
  >
9744
9714
  <span
9745
- class="memori-chat--bubble-addon-tooltip-trigger"
9715
+ class="memori-tooltip__trigger"
9716
+ id="base-ui-:r9:"
9746
9717
  >
9747
- <button
9748
- aria-label="copy"
9749
- class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9750
- tabindex="0"
9751
- type="button"
9718
+ <span
9719
+ class="memori-chat--bubble-addon-tooltip-trigger"
9752
9720
  >
9753
- <span
9754
- class="memori-button__icon"
9721
+ <button
9722
+ aria-label="copy"
9723
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9724
+ tabindex="0"
9725
+ type="button"
9755
9726
  >
9756
- <svg
9757
- aria-hidden="true"
9758
- class="lucide lucide-copy memori-share-button--copy-icon"
9759
- fill="none"
9760
- height="24"
9761
- stroke="currentColor"
9762
- stroke-linecap="round"
9763
- stroke-linejoin="round"
9764
- stroke-width="2"
9765
- viewBox="0 0 24 24"
9766
- width="24"
9767
- xmlns="http://www.w3.org/2000/svg"
9727
+ <span
9728
+ class="memori-button__icon"
9768
9729
  >
9769
- <rect
9770
- height="14"
9771
- rx="2"
9772
- ry="2"
9773
- width="14"
9774
- x="8"
9775
- y="8"
9776
- />
9777
- <path
9778
- d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
9779
- />
9780
- </svg>
9781
- </span>
9782
- </button>
9730
+ <svg
9731
+ aria-hidden="true"
9732
+ class="lucide lucide-copy memori-share-button--copy-icon"
9733
+ fill="none"
9734
+ height="24"
9735
+ stroke="currentColor"
9736
+ stroke-linecap="round"
9737
+ stroke-linejoin="round"
9738
+ stroke-width="2"
9739
+ viewBox="0 0 24 24"
9740
+ width="24"
9741
+ xmlns="http://www.w3.org/2000/svg"
9742
+ >
9743
+ <rect
9744
+ height="14"
9745
+ rx="2"
9746
+ ry="2"
9747
+ width="14"
9748
+ x="8"
9749
+ y="8"
9750
+ />
9751
+ <path
9752
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
9753
+ />
9754
+ </svg>
9755
+ </span>
9756
+ </button>
9757
+ </span>
9783
9758
  </span>
9784
9759
  </span>
9785
- </span>
9760
+ </div>
9786
9761
  </div>
9787
9762
  </div>
9788
- <div
9789
- class="memori-media-widget"
9790
- />
9791
9763
  </div>
9792
9764
  <div
9793
9765
  class="memori-chat--bubble-avatar"
9794
9766
  >
9795
9767
  <svg
9768
+ aria-hidden="true"
9796
9769
  class="lucide lucide-user"
9797
9770
  fill="none"
9798
9771
  height="24"
@@ -9824,104 +9797,103 @@ exports[`renders ChatBubble with user msg with newlines unchanged 1`] = `
9824
9797
  <div
9825
9798
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user memori-chat--with-addon"
9826
9799
  >
9827
- <div
9828
- class="memori-media-widget"
9829
- />
9830
9800
  <div
9831
9801
  class="memori-chat--bubble-message-row"
9832
9802
  >
9833
9803
  <div
9834
- class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
9804
+ class="memori-chat--user-block"
9835
9805
  >
9836
9806
  <div
9837
- class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
9807
+ class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
9838
9808
  >
9839
9809
  <div
9840
- class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
9810
+ class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
9841
9811
  >
9842
9812
  <div
9843
- class="memori-expandable memori-chat--bubble-content"
9813
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
9844
9814
  >
9845
9815
  <div
9846
- class="memori-expandable__inner"
9847
- style="max-height: 9999px;"
9816
+ class="memori-expandable memori-chat--bubble-content"
9848
9817
  >
9849
9818
  <div
9850
- class="memori-chat--bubble-content"
9851
- dir="auto"
9819
+ class="memori-expandable__inner"
9820
+ style="max-height: 9999px;"
9852
9821
  >
9853
- Proin libero ante, dignissim sit amet.
9854
- <br />
9855
- Turpis a, pretium condimentum dolor.
9856
- <br />
9857
- <br />
9858
- [Vedi altro](https://memori.ai)
9822
+ <div
9823
+ class="memori-chat--bubble-content"
9824
+ dir="auto"
9825
+ >
9826
+ Proin libero ante, dignissim sit amet.
9827
+ <br />
9828
+ Turpis a, pretium condimentum dolor.
9829
+ <br />
9830
+ <br />
9831
+ [Vedi altro](https://memori.ai)
9832
+ </div>
9859
9833
  </div>
9860
9834
  </div>
9861
9835
  </div>
9862
- </div>
9863
- <div
9864
- class="memori-chat--bubble-addon"
9865
- >
9866
- <span
9867
- class="memori-tooltip"
9836
+ <div
9837
+ class="memori-chat--bubble-addon"
9868
9838
  >
9869
9839
  <span
9870
- class="memori-tooltip__trigger"
9871
- id="base-ui-:rd:"
9840
+ class="memori-tooltip"
9872
9841
  >
9873
9842
  <span
9874
- class="memori-chat--bubble-addon-tooltip-trigger"
9843
+ class="memori-tooltip__trigger"
9844
+ id="base-ui-:rd:"
9875
9845
  >
9876
- <button
9877
- aria-label="copy"
9878
- class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9879
- tabindex="0"
9880
- type="button"
9846
+ <span
9847
+ class="memori-chat--bubble-addon-tooltip-trigger"
9881
9848
  >
9882
- <span
9883
- class="memori-button__icon"
9849
+ <button
9850
+ aria-label="copy"
9851
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9852
+ tabindex="0"
9853
+ type="button"
9884
9854
  >
9885
- <svg
9886
- aria-hidden="true"
9887
- class="lucide lucide-copy memori-share-button--copy-icon"
9888
- fill="none"
9889
- height="24"
9890
- stroke="currentColor"
9891
- stroke-linecap="round"
9892
- stroke-linejoin="round"
9893
- stroke-width="2"
9894
- viewBox="0 0 24 24"
9895
- width="24"
9896
- xmlns="http://www.w3.org/2000/svg"
9855
+ <span
9856
+ class="memori-button__icon"
9897
9857
  >
9898
- <rect
9899
- height="14"
9900
- rx="2"
9901
- ry="2"
9902
- width="14"
9903
- x="8"
9904
- y="8"
9905
- />
9906
- <path
9907
- d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
9908
- />
9909
- </svg>
9910
- </span>
9911
- </button>
9858
+ <svg
9859
+ aria-hidden="true"
9860
+ class="lucide lucide-copy memori-share-button--copy-icon"
9861
+ fill="none"
9862
+ height="24"
9863
+ stroke="currentColor"
9864
+ stroke-linecap="round"
9865
+ stroke-linejoin="round"
9866
+ stroke-width="2"
9867
+ viewBox="0 0 24 24"
9868
+ width="24"
9869
+ xmlns="http://www.w3.org/2000/svg"
9870
+ >
9871
+ <rect
9872
+ height="14"
9873
+ rx="2"
9874
+ ry="2"
9875
+ width="14"
9876
+ x="8"
9877
+ y="8"
9878
+ />
9879
+ <path
9880
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
9881
+ />
9882
+ </svg>
9883
+ </span>
9884
+ </button>
9885
+ </span>
9912
9886
  </span>
9913
9887
  </span>
9914
- </span>
9888
+ </div>
9915
9889
  </div>
9916
9890
  </div>
9917
- <div
9918
- class="memori-media-widget"
9919
- />
9920
9891
  </div>
9921
9892
  <div
9922
9893
  class="memori-chat--bubble-avatar"
9923
9894
  >
9924
9895
  <svg
9896
+ aria-hidden="true"
9925
9897
  class="lucide lucide-user"
9926
9898
  fill="none"
9927
9899
  height="24"
@@ -9953,99 +9925,98 @@ exports[`shows copy button for user messages 1`] = `
9953
9925
  <div
9954
9926
  class="memori-chat--bubble-container memori-chat-scroll-item memori-chat--bubble-from-user memori-chat--with-addon"
9955
9927
  >
9956
- <div
9957
- class="memori-media-widget"
9958
- />
9959
9928
  <div
9960
9929
  class="memori-chat--bubble-message-row"
9961
9930
  >
9962
9931
  <div
9963
- class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
9932
+ class="memori-chat--user-block"
9964
9933
  >
9965
9934
  <div
9966
- class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
9935
+ class="memori-chat--bubble-shell memori-chat--bubble-shell--from-user"
9967
9936
  >
9968
9937
  <div
9969
- class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
9938
+ class="memori-chat--bubble-anchor memori-chat--bubble-anchor--from-user memori-chat--bubble-anchor--has-addon"
9970
9939
  >
9971
9940
  <div
9972
- class="memori-expandable memori-chat--bubble-content"
9941
+ class="memori-chat--bubble memori-chat--user-bubble memori-chat--with-addon"
9973
9942
  >
9974
9943
  <div
9975
- class="memori-expandable__inner"
9976
- style="max-height: 9999px;"
9944
+ class="memori-expandable memori-chat--bubble-content"
9977
9945
  >
9978
9946
  <div
9979
- class="memori-chat--bubble-content"
9980
- dir="auto"
9947
+ class="memori-expandable__inner"
9948
+ style="max-height: 9999px;"
9981
9949
  >
9982
- Mostra i pulsanti copia sul messaggio utente.
9950
+ <div
9951
+ class="memori-chat--bubble-content"
9952
+ dir="auto"
9953
+ >
9954
+ Mostra i pulsanti copia sul messaggio utente.
9955
+ </div>
9983
9956
  </div>
9984
9957
  </div>
9985
9958
  </div>
9986
- </div>
9987
- <div
9988
- class="memori-chat--bubble-addon"
9989
- >
9990
- <span
9991
- class="memori-tooltip"
9959
+ <div
9960
+ class="memori-chat--bubble-addon"
9992
9961
  >
9993
9962
  <span
9994
- class="memori-tooltip__trigger"
9995
- id="base-ui-:rh:"
9963
+ class="memori-tooltip"
9996
9964
  >
9997
9965
  <span
9998
- class="memori-chat--bubble-addon-tooltip-trigger"
9966
+ class="memori-tooltip__trigger"
9967
+ id="base-ui-:rh:"
9999
9968
  >
10000
- <button
10001
- aria-label="copy"
10002
- class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
10003
- tabindex="0"
10004
- type="button"
9969
+ <span
9970
+ class="memori-chat--bubble-addon-tooltip-trigger"
10005
9971
  >
10006
- <span
10007
- class="memori-button__icon"
9972
+ <button
9973
+ aria-label="copy"
9974
+ class="memori-button memori-button--ghost memori-button--sm memori-button--circle memori-button--icon-only memori-chat--bubble-action-button memori-share-button--copy-item"
9975
+ tabindex="0"
9976
+ type="button"
10008
9977
  >
10009
- <svg
10010
- aria-hidden="true"
10011
- class="lucide lucide-copy memori-share-button--copy-icon"
10012
- fill="none"
10013
- height="24"
10014
- stroke="currentColor"
10015
- stroke-linecap="round"
10016
- stroke-linejoin="round"
10017
- stroke-width="2"
10018
- viewBox="0 0 24 24"
10019
- width="24"
10020
- xmlns="http://www.w3.org/2000/svg"
9978
+ <span
9979
+ class="memori-button__icon"
10021
9980
  >
10022
- <rect
10023
- height="14"
10024
- rx="2"
10025
- ry="2"
10026
- width="14"
10027
- x="8"
10028
- y="8"
10029
- />
10030
- <path
10031
- d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
10032
- />
10033
- </svg>
10034
- </span>
10035
- </button>
9981
+ <svg
9982
+ aria-hidden="true"
9983
+ class="lucide lucide-copy memori-share-button--copy-icon"
9984
+ fill="none"
9985
+ height="24"
9986
+ stroke="currentColor"
9987
+ stroke-linecap="round"
9988
+ stroke-linejoin="round"
9989
+ stroke-width="2"
9990
+ viewBox="0 0 24 24"
9991
+ width="24"
9992
+ xmlns="http://www.w3.org/2000/svg"
9993
+ >
9994
+ <rect
9995
+ height="14"
9996
+ rx="2"
9997
+ ry="2"
9998
+ width="14"
9999
+ x="8"
10000
+ y="8"
10001
+ />
10002
+ <path
10003
+ d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
10004
+ />
10005
+ </svg>
10006
+ </span>
10007
+ </button>
10008
+ </span>
10036
10009
  </span>
10037
10010
  </span>
10038
- </span>
10011
+ </div>
10039
10012
  </div>
10040
10013
  </div>
10041
- <div
10042
- class="memori-media-widget"
10043
- />
10044
10014
  </div>
10045
10015
  <div
10046
10016
  class="memori-chat--bubble-avatar"
10047
10017
  >
10048
10018
  <svg
10019
+ aria-hidden="true"
10049
10020
  class="lucide lucide-user"
10050
10021
  fill="none"
10051
10022
  height="24"